diff --git a/src/app/(app)/invoicing/page.tsx b/src/app/(app)/invoicing/page.tsx index b8e89da..9018f5a 100644 --- a/src/app/(app)/invoicing/page.tsx +++ b/src/app/(app)/invoicing/page.tsx @@ -29,6 +29,7 @@ import { matchesSearch, resolveInvoicePdfUrl, resolveInvoiceLineDefaults, + surplusQty, type InvoiceLineOverride, type InvoicingRow, } from "./view-model"; @@ -837,6 +838,7 @@ function SingleOrderQbModal({ const priceId = `invoice-price-${row.id}`; const included = includedRowIds.has(row.id); const label = itemLabel(row); + const surplus = surplusQty(row); return (