base commit

This commit is contained in:
Mekan1206
2026-07-30 17:24:40 +05:00
commit a794dacd39
345 changed files with 29597 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Employee List</title>
<style>
body { font-family: DejaVu Sans, sans-serif; font-size: 11px; color: #1e293b; }
h1 { color: #1d4ed8; }
table { width: 100%; border-collapse: collapse; margin-top: 16px; }
th, td { border: 1px solid #e2e8f0; padding: 6px 8px; text-align: left; }
th { background: #f1f5f9; }
.muted { color: #64748b; font-size: 10px; }
</style>
</head>
<body>
<h1>Employee Directory</h1>
<p class="muted">Generated {{ $generatedAt->format('Y-m-d H:i') }} · {{ config('hr.company_name') }}</p>
<table>
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Department</th>
<th>Position</th>
<th>Shift</th>
<th>Status</th>
<th>Phone</th>
</tr>
</thead>
<tbody>
@foreach ($employees as $employee)
<tr>
<td>{{ $employee->employee_number }}</td>
<td>{{ $employee->full_name }}</td>
<td>{{ $employee->department?->name }}</td>
<td>{{ $employee->position?->name }}</td>
<td>{{ $employee->shift?->name }}</td>
<td>{{ $employee->employment_status->label() }}</td>
<td>{{ $employee->phone }}</td>
</tr>
@endforeach
</tbody>
</table>
</body>
</html>