@extends('admin.include.main') @section('content')

Attendance Detail Of Staff(s)

{{$staff_attendance[0]->user->name}}     {{Carbon::today()->toDateString()}}
Absent ({{$absent->count()}})
@if($absent->isEmpty()) No Absent Today @endif @foreach($absent as $ab) {{$ab->staff->full_name.","}} @endforeach
Present({{$staff_attendance->count() - $absent->count()}})

Detail List Shown Below

@foreach($staff_attendance as $st) @endforeach
Full name Mobile no Status Change
{{$st->staff->staff_name}} {{$st->staff->staff_mobile}} @if($st->status == 'P' || $st->status == 'L') @else @endif
@endsection