{{define "title"}}Result Reports — CpOne{{end}} {{define "header-title"}}Consolidated Result Reports{{end}} {{define "content"}} {{$proj := .CurrentProject}} {{/* Section 1: Current project */}}

Ongoing Project

{{if $proj.Label}}{{$proj.Label}}{{else}}MCU #{{$proj.McuID}}{{end}}

{{$proj.Number}} • {{$proj.CorporateName}} • {{$proj.StartDate | fmtDate}}{{$proj.EndDate | fmtDate}}

Ganti project
{{/* Section 2: Summary cards */}}

Total Patients

{{.Summary.Total}}

Peserta dalam project ini

Sudah Ada Report Hasil

{{.Summary.HasPDF}}

Laporan hasil sudah tersedia

{{/* Section 3: Filter form */}}
{{/* Section 4: Patient list */}}

Patient Result List

Data dari published_mcu_dashboard_sync

{{.VisibleCount}} / {{.TotalFiltered}} ditampilkan
{{if .FilteredRows}}
{{range .FilteredRows}}

{{.Name}}

{{.NIP}} • {{.Posisi}}

{{if .ReportDate}}

{{.ReportDate | fmtDate}}

{{end}}
{{if .FileUrl}} {{else}} No PDF {{end}}
{{end}}
{{if .HasMore}}
Memuat data berikutnya...
{{else}}
Semua data sudah ditampilkan
{{end}}
{{else}}
Belum ada data untuk project ini.
{{end}}
{{/* PDF Modal */}} {{end}} {{define "result-list-chunk"}} {{range .FilteredRows}} {{.NIP}} {{.Name}} {{.Posisi}} {{if .ReportDate}}{{.ReportDate | fmtDate}}{{else}}{{end}} {{if .FileUrl}} {{else}} {{end}} {{end}}
{{range .FilteredRows}}

{{.Name}}

{{.NIP}} • {{.Posisi}}

{{if .ReportDate}}

{{.ReportDate | fmtDate}}

{{end}}
{{if .FileUrl}} {{else}} No PDF {{end}}
{{end}}
{{if .HasMore}}
Memuat data berikutnya...
{{else}}
Semua data sudah ditampilkan
{{end}}
{{end}}