From: Bill Erickson Date: Tue, 18 Aug 2020 15:00:55 +0000 (-0400) Subject: LPXXX patron expire X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5d93da1851ed82c7254b29e77be55aa4577f56f8;p=working%2FEvergreen.git LPXXX patron expire Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/patron.service.ts b/Open-ILS/src/eg2/src/app/staff/circ/patron/patron.service.ts index e86b0993a3..0f1a8bbe56 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/patron.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/patron.service.ts @@ -68,6 +68,7 @@ export class PatronManagerService { this.auth.token(), id, PATRON_FLESH_FIELDS).toPromise() .then(patron => this.patron = patron) .then(_ => this.getPatronStats(id)) + .then(_ => this.setExpires()) .then(_ => this.loaded = true); } diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/summary.component.html b/Open-ILS/src/eg2/src/app/staff/circ/patron/summary.component.html index d1d0eb7978..a7e7cf84a7 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/summary.component.html +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/summary.component.html @@ -7,6 +7,12 @@ {{patronService.namePart(context.patron, 'second_given_name')}} +
+
+ Patron account will expire soon. Please renew. +
+
+
Profile
{{context.patron.profile().name()}}
@@ -43,7 +49,7 @@
Create Date
{{context.patron.create_date() | date:'shortDate'}}
-
+
Expire Date
{{context.patron.expire_date() | date:'shortDate'}}
@@ -52,10 +58,14 @@ -
+
Fines Owed
{{context.patronStats.fines.total_owed | currency}}
+ + +
Items Out
{{context.patronStats.checkouts.total_out}}