Employee Report

Generated at: {{ now()->format('Y-m-d H:i') }}
Date range: {{ $summaryFrom ?? 'N/A' }} to {{ $summaryTo ?? 'N/A' }}
@forelse ($rows as $row) @php $status = 'Active'; if (! empty($row->leaving_date)) { $status = now()->toDateString() >= $row->leaving_date ? 'Inactive' : 'Active'; } @endphp @empty @endforelse
Emp ID Full Name Department Job Title Email Phone Joining Date Leaving Date Status
{{ $row->employee_code }} {{ trim(($row->first_name ?? '') . ' ' . ($row->last_name ?? '')) }} {{ $row->department }} {{ $row->job_title }} {{ $row->email }} {{ $row->phone }} {{ $row->joining_date }} {{ $row->leaving_date }} {{ $status }}
No records found.