@extends('AdminLte.template') @section('title') Approve Compensatory @endsection @section('ExternalCss') @parent @endsection @section('Content')
{{ Form::open(['action' => 'ApproveCompensatoryController@index','name' => 'approveCompForm','autocomplete' => 'off']) }}
Approve Compensatory Work
@php if(isset($fromDate)){ $fDate = $fromDate; }else{ $fDate = date('Y-m-d'); } if(isset($toDate)){ $tDate = $toDate; }else{ $tDate = date('Y-m-d'); } @endphp |
---|
Sr | Date | Employee Name | Status | Comment | Approver Comment | Action | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $i++ }} | {{\Helper::getDisplayDate($work->from_date)}} | {{$work->employee_name}} | {{$compStatus}} | {{$work->comment}} | {{$work->approver_comment}} | @php $btnDisableOrNot = ($work->status == 'rejected' || $work->status == 'cancelled' ) ? 'disabled': '' ; @endphp||||||||||||||||||
{{$compensatory->appends(['fromDate' => $fromDate, 'toDate' => $toDate,'empCompStatus'=>$empCompStatus,'employeeId'=>$employeeId])->links() }} | @else@endif |