Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 19:26:22 +00:00
co-authored by renee-png
parent 30a347b596
commit 1ba96ce433
+2 -1
View File
@@ -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;