@if ($message = Session::get('alert')) @endif
@csrf

{{$NAME}}

Submit
@if(isset($results)) @foreach($results as $index => $row) @endforeach @endif
SNO DATE IN TIME OUT TIME HOURS SHIFT ATT STATUS LATE MINS DED MINS
{{ (int)$index + 1 }} {{ date('d-m-y', strtotime( $row['Edate'])) }} @if($row['InTime'] === '01-01-1900') {{ '-' }} @else {{ date('h:i', strtotime ($row['InTime'])) }} @endif @if ($row['OutTime'] === '01-01-1900') {{ '-' }} @else {{ date('h:i', strtotime ($row["OutTime"])) }} @endif @if($row['ShiftHrs'] === "") {{ "..." }} @else {{ $row['ShiftHrs'] }} @endif {{ $row['Shift'] }} {{ $row['Att_type'] }} {{ $row['Late_Mins'] }} {{ $row['Ded_mins'] }}
  @if(isset($att_count)) @foreach ($att_count as $att_counts) @endforeach @endif
ATTENDANCE STATUS DAYS
{{$att_counts['Att_type']}} {{$att_counts['Att_count']}}

Note:    *P- Half day,     P- Present,    AB- Absent,

LV- Leave ,    WO- Weekly off,     NH- National Holiday ,

*NH- NH Present,   NC- Punched but not closed,     OD- On-duty,

EL- Earned Leave,    CL- Casual Leave