@if ($message = Session::get('success'))
@endif
{{$message}}
@endif
@if ($errors->any())
-
@foreach ($errors->all() as $error)
- {{ $error }} @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') @else -- @endif |
Total entries: