Attendance Summary{{ date('d/m/Y', strtotime($employees[0]->start_date)) }} - {{ date('d/m/Y', strtotime($employees[0]->end_date)) }} |
@php
// Get the file path
$imagePath = public_path('storage/settings/companylogo/' . getcompanylogo());
// Check if the file exists
if (file_exists($imagePath)) {
// Read the image file
$imageContent = file_get_contents($imagePath);
// Encode image content to base64
$base64Image = 'data:image/png;base64,' . base64_encode($imageContent);
} else {
// Set base64Image to empty string if file doesn't exist
$base64Image = '';
}
@endphp
@if ($base64Image)
No image found @endif |
| Day | Tardiness | OT | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| No | User | Name | Total Days |
|
|
|
LI | EO | MP | Short | Workday | OT | Holiday | OT | Restday | OT | Request | AL | MC | MT | MR | CL | HL | EX | PT | AD | RL | LS | NPL | EL | ||||||||||||||
| {{ $employee->index }} | {{ $employee->employee_no }} | {{ $employee->personname }} | {{ $employee->total_days }} |
|
|
|
{{ $employee->li }} | {{ $employee->eo }} | {{ $employee->mp }} | {{ $employee->short }} | {{ $employee->workday }} | {{ $employee->workdayOvertimeHours }} | {{ $employee->holydayHours }} | {{ $employee->holydayOvertimeHours }} | {{ $employee->restday }} | {{ $employee->restdayOvertimeHours }} | {{ $employee->ot_approved }} | {{ $employee->annual_leave }} | {{ $employee->medical_leave }} | {{ $employee->maternity_leave }} | {{ $employee->marriage_leave }} | {{ $employee->compassionate_leave }} | {{ $employee->hospital_leave }} | {{ $employee->examination_leave }} | {{ $employee->paternity_leave }} | {{ $employee->advance_leave }} | {{ $employee->other_pay_leave }} | {{ $employee->line_shut_leave }} | {{ $employee->npl_leave }} | {{ $employee->emergency_leave }} | ||||||||||||||