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

{{ getPhrase('attendance_for').' '.$role_name.' - '.$title }}

{{ getPhrase('date').' '.$submitted_data->attendance_date }}

  • Total: @{{total}}

    Present: @{{present}}

  • Absent: @{{absent}}

    Leave: @{{leave}}

{!! Form::open(array('url' => URL_STAFF_ATTENDENCE_UPDATE, 'method' => 'POST')) !!}
@foreach($staff as $record) @endforeach
{{ getPhrase('sno')}} {{ getPhrase('employee_id')}} {{ getPhrase('photo')}} {{ getPhrase('name')}} {{ getPhrase('attendance')}} {{ getPhrase('remarks')}} {{ getPhrase('notes')}}
{{ $sno++ }} {{ $record->employee_id }} {{ ucwords( $record->name ) }}
{{ Form::radio('attendance_code', 'P', $present, array( 'id'=>'present'.$record->id, 'name'=>'attendance_code['.$record->id.']', 'ng-click' => 'updateCount()', 'class' => 'attendance_code' )) }}
{{ Form::radio('attendance_code', 'A', $absent, array('id'=>'absent'.$record->id, 'name'=>'attendance_code['.$record->id.']', 'ng-click' => 'updateCount()' )) }}
{{ Form::radio('attendance_code', 'L', $leave, array('id'=>'leave'.$record->id, 'name'=>'attendance_code['.$record->id.']', 'ng-click' => 'updateCount()' )) }}
{{ Form::textarea('remarks', $remarks , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase('remarks'), 'rows'=>1, 'cols'=>15, 'name'=>'remarks['.$record->id.']')) }}
{{ Form::textarea('notes', $notes , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase('notes'), 'rows'=>1, 'cols'=>15, 'name'=>'notes['.$record->id.']')) }}
@endsection @section('footer_scripts') @include('staff-attendance.scripts.attendance-script') @stop