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

{{$Name}}

@foreach($results as $index => $row) @endforeach
SNO From Date To Date Total Days Reason Remark Status Delete
{{$index + 1}} {{ date('Y-m-d', strtotime($row->fromdate)) }} {{ date('Y-m-d', strtotime($row->todate)) }} {{ $row->leaveNo }} {{ $row->reason }} {{ $row->Remark }} @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 @if($row->Type === '1')
@csrf svg
@else -- @endif