From 8b4318f9c325a35c34330a41517463ad6d6097d3 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 16:10:14 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- .../invoices/generate-invoice-dialog.tsx | 43 +++++++++++++++++-- 1 file changed, 40 insertions(+), 3 deletions(-) diff --git a/src/components/invoices/generate-invoice-dialog.tsx b/src/components/invoices/generate-invoice-dialog.tsx index 118d7ec..02d48ef 100644 --- a/src/components/invoices/generate-invoice-dialog.tsx +++ b/src/components/invoices/generate-invoice-dialog.tsx @@ -235,8 +235,27 @@ export function GenerateInvoiceDialog({ open, onOpenChange, clientId, clientName ) : ( <>
- -
+
+ +
+ + ยท + +
+
+
{cases.map((c) => (
+ {selectedIds.length > 1 && ( + + )} +
@@ -269,7 +304,9 @@ export function GenerateInvoiceDialog({ open, onOpenChange, clientId, clientName
-
Estimated total
+
+ {splitPerCase && selectedIds.length > 1 ? "Combined total" : "Estimated total"} +
{formatCurrency(total)}
{tax > 0 &&
{formatCurrency(subtotal)} + {formatCurrency(tax)} tax
}