@extends($layout) @section('header_scripts') @stop @section('content')

{{getPhrase('select_details')}}

{{ getPhrase('general_instructions') }}

  • {{getPhrase('present')}}
  • {{getPhrase('absent')}}
  • {{getPhrase('leave')}}
{!! Form::open(array('url' => URL_STUDENT_ATTENDENCE_ADD.$userdata->slug, 'method' => 'POST')) !!} @if(!($role_name=='staff' || $role_name=='examiner'))
@include('common.year-selection-view')
@else
{{ Form::label('select_course', getphrase('select_course')) }} * {{Form::select('course_id',$courses, null, [ 'class' => 'form-control', 'id' =>'course_id' ])}}
{{ Form::label('class', getphrase('total_class')) }} * {{Form::select('total_class',$number_of_class, null, ['class'=>'form-control'])}}
{{ Form::label('attendance_date', getphrase('attendance_date')) }}
{{ Form::text('attendance_date', $value = date('Y/m/d') , $attributes = array('class'=>'form-control', 'placeholder' => '2015/7/17', 'id'=>'dp')) }}
@endif
{!! Form::close() !!}
@stop @section('footer_scripts') @include('attendance.scripts.js-scripts') @stop