From 5b26323de627d6ad85a41fb6f6ae971c455339e5 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 12 Mar 2021 16:49:53 -0500 Subject: [PATCH] LP1904036 billing statement Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- .../circ/patron/bill-statement.component.html | 118 ++++++++++++++++----- .../staff/circ/patron/bill-statement.component.ts | 28 ++--- .../src/app/staff/circ/patron/bills.component.html | 6 +- .../src/app/staff/circ/patron/bills.component.ts | 25 +++++ .../app/staff/circ/patron/patron.component.html | 2 +- .../src/app/staff/circ/patron/patron.component.ts | 7 ++ .../perlmods/lib/OpenILS/Application/Circ/Money.pm | 34 ++++++ 7 files changed, 168 insertions(+), 52 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/bill-statement.component.html b/Open-ILS/src/eg2/src/app/staff/circ/patron/bill-statement.component.html index a6e807f3fc..f0e11a05a1 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/bill-statement.component.html +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/bill-statement.component.html @@ -1,56 +1,56 @@

Transaction: #{{xactId}}

-
+
Billing Location
-
{{entry.billingLocation}}
+
{{context.orgSn(statement.billing_location)}}
Total Billed
-
{{entry.xact.summary().total_owed() | currency}}
+
{{statement.summary.billing_total | currency}}
Title
-
{{entry.title}}
+
{{statement.title}}
Type
-
- Circulation - Grocery +
+ Circulation + Grocery
Total Paid / Credited
-
{{entry.xact.summary().total_paid() | currency}}
+
{{statement.payment_total | currency}}
Checked Out
- - {{entry.xact.xact_start() | date:'short'}} + + {{statement.xact.xact_start() | date:'short'}}
Started
-
{{entry.xact.xact_start() | date:'short'}}
+
{{statement.xact.xact_start() | date:'short'}}
Balance Due
-
{{entry.xact.summary().balance_owed() | currency}}
+
{{statement.balance_due | currency}}
Due Date
- - {{entry.xact.circulation().due_date() | date:'short'}} + + {{statement.xact.circulation().due_date() | date:'short'}}
Finished
-
{{entry.xact.xact_finish() | date:'short'}}
+
{{statement.xact.xact_finish() | date:'short'}}
Renewal?
- - + +
Checked In
- - {{entry.xact.circulation().checkin_time() | date:'short'}} + + {{statement.xact.circulation().checkin_time() | date:'short'}}
@@ -58,11 +58,77 @@
-