{{-- Header & Breadcrumb --}}
{{-- Filter Section --}}
{{-- Print School Header (Visible in print) --}}
{{-- Report Data Table --}}
@if(isset($reportData) && $reportData->isNotEmpty())
@elseif(request()->has('from_date'))
Monthly Staff Attendance Summary Report
{{ $schoolProfile->school_name ?? config('app.name', 'Smart Shikkha') }}
@if(!empty($schoolProfile->address)){{ $schoolProfile->address }}
@endifMonthly Staff Attendance Summary Report | Period: {{ $fromDate->format('d M, Y') }} to {{ $toDate->format('d M, Y') }}
Monthly Summary: {{ $fromDate->format('d M, Y') }} to {{ $toDate->format('d M, Y') }}
| Primary ID | Secondary ID | Employee Name | Post | Total Days | Working Days | Present | Absent | Leave | Off/Holiday | Late (Days) | Expected Hours | Worked Hours | Shortage | Attendance % |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $primaryId }} | {{ $secondaryId }} | {{ $emp->name }} | {{ $post }} | {{ $data['total_days'] }} | {{ $data['working_days'] }} | {{ $data['present_days'] }} | @if($data['absent_days'] > 0) {{ $data['absent_days'] }} @else 0 @endif | @if($data['leave_days'] > 0) {{ $data['leave_days'] }} @else 0 @endif | {{ $data['off_days'] + $data['holiday_days'] }} | @if($data['late_days'] > 0) {{ $data['late_days'] }} ({{ $data['late_hours'] }}) @else 0 @endif | {{ $data['expected_hours'] }} | {{ $data['worked_hours'] }} | @if($data['shortage_minutes'] > 0) {{ $data['shortage_hours'] }} @else 0h 0m @endif | {{ $pct }}% |
| No monthly attendance data found for the selected criteria. | ||||||||||||||
No attendance data found for the selected criteria.
@endif