From 1ba96ce43325c27498f81291add19e833ba9896d Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 18 Apr 2026 19:26:22 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/lib/invoice-pdf.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/invoice-pdf.ts b/src/lib/invoice-pdf.ts index 2fda269..b4bc7ad 100644 --- a/src/lib/invoice-pdf.ts +++ b/src/lib/invoice-pdf.ts @@ -370,7 +370,8 @@ export async function downloadInvoicePdf(input: InvoicePdfInput, filename: strin const multipleCases = input.groups.length > 1; for (const g of input.groups) { - if (multipleCases) drawCaseHeader(g); + // Always show the case name above its charges (per-case subtotal only when >1 case). + drawCaseHeader(g); for (const item of g.items) { const isNonBillable = item.billable === false;