Files
ladill-frontdesk/resources/views/frontdesk/security/evacuation.blade.php
T
isaaccladandCursor 9e2d79936c
Deploy Ladill Frontdesk / deploy (push) Failing after 35s
Test / test (push) Failing after 2m45s
Initial Ladill Frontdesk release with deploy pipeline.
Visitor management app with SSO, kiosk, badges, reports, and Gitea CI deploy to frontdesk.ladill.com.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-27 20:37:15 +00:00

47 lines
1.7 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Emergency Evacuation Report · {{ $organization->name }}</title>
<style>
body { font-family: system-ui, sans-serif; margin: 2rem; color: #111; }
h1 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.meta { color: #666; margin-bottom: 2rem; }
table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid #ddd; padding: 0.5rem 0.75rem; text-align: left; font-size: 0.875rem; }
th { background: #f5f5f5; }
@media print { .no-print { display: none; } }
</style>
</head>
<body>
<button class="no-print" onclick="window.print()">Print report</button>
<h1>Emergency Evacuation Report</h1>
<p class="meta">{{ $organization->name }} · Generated {{ now()->format('M j, Y g:i A') }} · {{ $occupancy->count() }} occupants</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Host</th>
<th>Branch</th>
<th>Checked in</th>
<th>Phone</th>
</tr>
</thead>
<tbody>
@foreach ($occupancy as $visit)
<tr>
<td>{{ $visit->visitor->full_name }}</td>
<td>{{ ucfirst(str_replace('_', ' ', $visit->visitor_type)) }}</td>
<td>{{ $visit->host?->name ?? '—' }}</td>
<td>{{ $visit->branch?->name ?? '—' }}</td>
<td>{{ $visit->checked_in_at?->format('g:i A') }}</td>
<td>{{ $visit->visitor->phone ?? '—' }}</td>
</tr>
@endforeach
</tbody>
</table>
</body>
</html>