From: Jason Etheridge Date: Tue, 5 Apr 2022 22:53:08 +0000 (-0400) Subject: LP1859701 replace "totals" row in each grid with a totals section above each grid X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f5e8ef7a4ba364d4328732b70c52e2e18fc76dfb;p=evergreen%2Fpines.git 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 --- 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(); });