From dff5fd4156c908813c396626271018a12d68fb2b Mon Sep 17 00:00:00 2001 From: Steve Dogiakos Date: Thu, 9 Apr 2026 16:19:34 -0600 Subject: [PATCH] fix: deposit slip total row now includes currency and coin The TOTAL row in the deposit slip grid was only showing the sum of check items (checksTotal) instead of the full deposit total which includes currency + coin - cash back. --- src/services/depositPdfService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/depositPdfService.js b/src/services/depositPdfService.js index fe5e168..4a9a302 100644 --- a/src/services/depositPdfService.js +++ b/src/services/depositPdfService.js @@ -387,7 +387,7 @@ function generateDepositSlip(account, deposit, items) { drawAmountRow(item.amount || 0, r); }); - drawAmountRow(checksTotal, totalRows); + drawAmountRow(depositTotal, totalRows); // ── Rotated left strip elements ───────────────────────────────────────── // All elements use rotate(90): text flows downward on the page, which reads