@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')
@include('common.year-selection-view')
@else
{{ Form::label('select_subject', getphrase('select_subject')) }} * {{Form::select('course_subject_id',$subjects, null, [ 'class' => 'form-control', 'id' =>'select_academic_year' ])}}
{{ 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