@extends('admin.layout.master') @section('content') @include('flash-message')

{{__('obs.ot')}} {{__('obs.day')}} {{__('obs.request')}} {{__('obs.list')}}

@if (count($ot_day_requests)>0)
@csrf @if ($type==2) @endif @php $i=1; @endphp @foreach ($ot_day_requests as $data ) @if($type==2) @endif @endforeach
{{__('obs.sl')}} {{__('obs.code')}} {{__('obs.name')}} {{__('obs.designation')}} {{__('obs.date')}} {{__('obs.type')}}{{__('obs.leave')}} {{__('obs.date')}}{{__('obs.status')}} {{__('obs.action')}}
{{$i++}} {{$data->employee->emp_code}} {{$data->employee->emp_name}} {{$data->employee->fetch_designation ? $data->employee->fetch_designation->name : null}} {{date('d-m-Y',strtotime($data->date))}} @if ($data->type ==1) Adjust with Salary @elseif ($data->type ==2) Adjust with Leave @endif {{ $data->ot_day_adjust ? date('d-m-Y',strtotime($data->ot_day_adjust->leave_date)) : null}} @if ($data->is_verified ==1) Pending @elseif($data->is_verified ==2) @if($data->type ==2 && $data->adjust_status == 1) Not Adjusted @elseif($data->type ==2 && $data->adjust_status == 2) Adjusted @else Verified @endif @endif @if ($data->is_verified ==1) @endif @if(checkAuthPermission('payroll.data.delete')) @endif
@else

{{__('obs.no_data_found')}}

@endif
@endsection @section('script') @endsection