15 lines
885 B
HTML
15 lines
885 B
HTML
{{define "reports.html"}}
|
|
{{template "shell-start" .}}
|
|
<header class="page-head"><div><p class="eyebrow">ADMIN</p><h1>Reports</h1><p>Export team presence data for payroll or analysis.</p></div></header>
|
|
<section class="card report-card">
|
|
<div class="report-illustration">↧</div>
|
|
<div><p class="eyebrow">ATTENDANCE EXPORT</p><h2>Download presence records</h2><p class="muted">The UTF-8 CSV includes Gregorian and Persian dates, check-in/out time, location, and approved requests. It opens directly in Excel.</p></div>
|
|
<form method="get" action="/reports/attendance.csv" class="report-form">
|
|
<label>From<input type="date" name="start" value="{{.ReportStart}}" required></label>
|
|
<label>To<input type="date" name="end" value="{{.ReportEnd}}" required></label>
|
|
<button class="button primary">Download CSV</button>
|
|
</form>
|
|
</section>
|
|
{{template "shell-end" .}}
|
|
{{end}}
|