@extends('layouts.dashboard.superadminapp') @section('title', 'Employee Report') @section('styles') @endsection @section('content')
| Date | Employee ID | Employee Name | Shift | In Time 1 | Out Time 1 | In Time 2 | Out Time 2 | First Half | Second Half | Late In | Early Out | Work Hours | OT | Reason |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($report->date)->format('d-m-Y') }} | {{ $report->employee_id }} | {{ $report->employeeDetails->name ?? '-' }} | {{ $report->shift ?? '-' }} | {{ $report->in_spfid_1 ?? '-' }} | {{ $report->out_spfid_1 ?? '-' }} | {{ $report->in_spfid_2 ?? '-' }} | {{ $report->out_spfid_2 ?? '-' }} | @if($report->first_half) {{ $report->first_half }} @else - @endif | @if($report->second_half) {{ $report->second_half }} @else - @endif | @if($report->late_in && $report->late_in != '00:00:00') {{ $report->late_in }} @else - @endif | @if($report->early_out && $report->early_out != '00:00:00') {{ $report->early_out }} @else - @endif | {{ $report->work_hours ?? '-' }} | @if($report->over_time && $report->over_time > 0) {{ $report->over_time }} @else - @endif | {{ $report->reason ?? '-' }} |
| No attendance records found. Please select filters and try again. | ||||||||||||||
| Employee ID | Employee Name | Department | Leave Type | From Date | To Date | Days | Duration | Reason | Status | Requested On |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $leave->employee->employee_id ?? '-' }} | {{ $leave->employee_name ?? ($leave->employee->name ?? '-') }} | {{ $leave->department ?? '-' }} | @switch($leave->leave_type) @case('CL') CL @break @case('SL') SL @break @case('PL') PL @break @case('LOP') LOP @break @default {{ $leave->leave_type }} @endswitch | {{ $leave->leave_from ? \Carbon\Carbon::parse($leave->leave_from)->format('d-m-Y') : '-' }} | {{ $leave->leave_to ? \Carbon\Carbon::parse($leave->leave_to)->format('d-m-Y') : '-' }} | {{ $leave->number_of_days ?? '-' }} | {{ $leave->duration_type ?? 'Full Day' }} | {{ Str::limit($leave->reason, 50) ?? '-' }} | @if(strtolower($leave->status) == 'approved') Approved @elseif(strtolower($leave->status) == 'pending') Pending @elseif(strtolower($leave->status) == 'rejected') Rejected @else {{ $leave->status }} @endif | {{ $leave->requested_on ? \Carbon\Carbon::parse($leave->requested_on)->format('d-m-Y') : '-' }} |
| No leave records found. Please select filters and try again. | ||||||||||