@if ($message = Session::get('success'))
{{ $message }}
@endif
| Emp Name |
Emp Code |
Designation |
Dept. |
Month |
OT Hour |
Hour Amount |
OT Day |
Day Amount |
Status |
Action |
@if(!empty($manual_ot))
@foreach ($manual_ot as $val)
| {{$val->get_emp_info->emp_name}} |
{{$val->get_emp_info->emp_code}} |
{{$val->get_emp_info->fetch_designation->name}} |
{{$val->get_emp_info->fetch_department->name}} |
{{$val->month}} |
{{$val->ot_hour}} |
{{$val->ot_hour_amount}} |
{{$val->ot_day}} |
{{$val->ot_day_amount}} |
{{
$val->approve_status == 2 ? 'Active' :
($val->approve_status == 1 ? 'Pending' :
($val->approve_status == 3 ? 'Rejected' :
($val->approve_status == 4 ? 'InActive' : '')))}}
|
{{-- @if($convey_val->approve_status != 2)
@endif
--}}
@if ($val->approve_status == 1)
@endif
@if ($val->approve_status == 1 && $val->approve_status != 2)
@endif
@if ($val->approve_status == 4 && $val->approve_status != 2)
@endif
@if ($val->approve_status == 1)
@endif
@if ($val->approve_status == 1 && $val->approve_status != 2)
@endif
|
@endforeach
@endif
@if(!empty($manual_ot))
{{ $manual_ot->appends(request()->query())->links("pagination::bootstrap-4")}}
@endif