@if ($message = Session::get('success')) @endif @if ($errors->any()) @endif
@csrf

{{$Name}}

@foreach($results as $index => $row) @endforeach
SNO Date From Date To Date Total Hrs Reason Status Remark Delete
{{$index + 1}} {{ date('Y-m-d', strtotime($row['EDate'])) }} {{ date('h:i A', strtotime($row['From_Time'])) }} {{ date('h:i A', strtotime($row['To_Time'])) }} {{ $row['Total'] }} {{ $row['Reason'] }} @if ($row['Flag_sts'] === 'Approved') {{ $row['Flag_sts'] }} @elseif ($row['Flag_sts'] === 'Requested') {{ $row['Flag_sts'] }} @else ($row['Flag_sts'] === 'Rejected') {{ $row['Flag_sts'] }} @endif {{ $row['Remarks'] }} @if($row['DEL_Type'] === '1')
@csrf svg
@else -- @endif