@if (missing.length) {
Still needed: @for (m of missing; track m; let last = $last) { {{ label(m) }}{{ last ? '' : ', ' }} }
} @for (d of rows; track d.id) { } @empty { }
Type File Remarks Uploaded
{{ label(d.doc_type) }} {{ d.file_name }}
{{ size(d.size_bytes) }} · {{ d.sha256.slice(0, 12) }}…
{{ d.remarks || '-' }} {{ d.uploaded_at | date: 'dd MMM yyyy, HH:mm' }}
{{ d.uploaded_by }}
No documents attached yet.
@if (canUpload) {
Document type @for (t of types; track t.value) { {{ t.label }} } Remarks (order no., date…) PDF, JPEG or PNG, up to 5 MB. Stored with a SHA-256; never changed once attached.
}