From 5740bc35b1384c53a4f7b60149b5591b7f59ed3b Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 16 Apr 2021 18:17:46 -0400 Subject: [PATCH] LP1904036 billing history Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- .../app/staff/circ/patron/billing-history.component.html | 5 +++-- .../app/staff/circ/patron/billing-history.component.ts | 16 +++++++++++++++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/billing-history.component.html b/Open-ILS/src/eg2/src/app/staff/circ/patron/billing-history.component.html index 118ee19d8f..66e1e2449c 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/billing-history.component.html +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/billing-history.component.html @@ -95,6 +95,7 @@ +
Selected Paid:
-
{{selectedXactsInfo().paid | currency}}
+
{{selectedPaymentsInfo().paid | currency}}
@@ -137,7 +138,7 @@
- { + const row = this.paymentsGrid.context.getRowByIndex(id); + if (!row) { return; } + info.paid += Number(row.amount) * 100; + }); + + info.paid /= 100; + return info; + } + selectedXactsInfo(): {owed: number, billed: number, paid: number} { const info = {owed : 0, billed : 0, paid : 0}; -- 2.11.0