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.
This commit is contained in:
@@ -387,7 +387,7 @@ function generateDepositSlip(account, deposit, items) {
|
|||||||
drawAmountRow(item.amount || 0, r);
|
drawAmountRow(item.amount || 0, r);
|
||||||
});
|
});
|
||||||
|
|
||||||
drawAmountRow(checksTotal, totalRows);
|
drawAmountRow(depositTotal, totalRows);
|
||||||
|
|
||||||
// ── Rotated left strip elements ─────────────────────────────────────────
|
// ── Rotated left strip elements ─────────────────────────────────────────
|
||||||
// All elements use rotate(90): text flows downward on the page, which reads
|
// All elements use rotate(90): text flows downward on the page, which reads
|
||||||
|
|||||||
Reference in New Issue
Block a user