From f5e8ef7a4ba364d4328732b70c52e2e18fc76dfb Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Tue, 5 Apr 2022 18:53:08 -0400 Subject: [PATCH] LP1859701 replace "totals" row in each grid with a totals section above each grid Signed-off-by: Jason Etheridge Signed-off-by: Jane Sandberg Signed-off-by: Michele Morgan --- .../local/cash-reports/cash-reports.component.html | 28 ++++++++++++++++++++++ .../local/cash-reports/cash-reports.component.ts | 22 ++++++++++++++--- 2 files changed, 47 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/cash-reports/cash-reports.component.html b/Open-ILS/src/eg2/src/app/staff/admin/local/cash-reports/cash-reports.component.html index 3a44eb8364..4191d6c3e6 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/cash-reports/cash-reports.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/cash-reports/cash-reports.component.html @@ -31,6 +31,18 @@
+
+
Total Cash Payments
+
{{deskTotals.formatted_cash_payment}}
+
+
+
Total Check Payments
+
{{deskTotals.formatted_check_payment}}
+
+
+
Total Credit Card Payments
+
{{deskTotals.formatted_credit_card_payment}}
+
+
+
Total Credit Payments
+
{{userTotals.formatted_credit_payment}}
+
+
+
Total Forgive Payments
+
{{userTotals.formatted_forgive_payment}}
+
+
+
Total Work Payments
+
{{userTotals.formatted_work_payment}}
+
+
+
Total Goods Payments
+
{{userTotals.formatted_goods_payment}}
+
{ result[index].user = userObject.usr(); result[index].usr(userObject.usr().usrname()) }); } - if(result.length > 0) { - result.push(dataForTotal); - } + //if(result.length > 0) { + // result.push(dataForTotal); + //} this[dataSource].data = result; this.eraseUserGrid(); }); -- 2.11.0