From: Bill Erickson Date: Wed, 14 Jul 2021 16:08:19 +0000 (-0400) Subject: LP1936233 Circ Groups tab continued X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6bea3b47313a0200086b6fdfd33df5a9af7864f1;p=working%2FEvergreen.git LP1936233 Circ Groups tab continued Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/eg2/src/app/staff/cat/item/recent-history.component.html b/Open-ILS/src/eg2/src/app/staff/cat/item/recent-history.component.html index b089e5799d..e794e3a98e 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/item/recent-history.component.html +++ b/Open-ILS/src/eg2/src/app/staff/cat/item/recent-history.component.html @@ -5,6 +5,78 @@ No Previous Circ Group
+

Previous Circ Group

+ + +
+
Total Circs
+
{{circInfo.prevCircSummary.num_circs()}}
+
+ +
+
Checkout Date
+
+ {{circInfo.prevCircSummary.start_time() | formatValue:'timestamp'}} +
+
+ +
+
Checkout Workstation
+
{{circInfo.prevCircSummary.checkout_workstation()}}
+
+ +
+
Last Renewed On
+
+ {{circInfo.prevCircSummary.last_renewal_time() | formatValue:'timestamp'}} +
+
+ +
+
Renewal Workstation
+
{{circInfo.prevCircSummary.last_renewal_workstation()}}
+
+ +
+
Stop Fines Reason
+
{{circInfo.prevCircSummary.last_stop_fines()}}
+
+ +
+
Stop Fines Time
+
+ {{circInfo.prevCircSummary.last_stop_fines_time() | formatValue:'timestamp'}} +
+
+ +
+
Checkin Time
+
+ {{circInfo.prevCircSummary.last_checkin_time() | formatValue:'timestamp'}} +
+
+ +
+
Checkin Scan Time
+
+ {{circInfo.prevCircSummary.last_checkin_scan_time() | formatValue:'timestamp'}} +
+
+ +
+
Checkin Workstation
+
{{circInfo.prevCircSummary.last_checkin_workstation()}}
+
@@ -12,11 +84,12 @@ No Recent Circ Group
+

Most Recent Circ Group

diff --git a/Open-ILS/src/eg2/src/app/staff/cat/item/summary.component.html b/Open-ILS/src/eg2/src/app/staff/cat/item/summary.component.html index 4d9065f3c0..b87b92b7b8 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/item/summary.component.html +++ b/Open-ILS/src/eg2/src/app/staff/cat/item/summary.component.html @@ -48,7 +48,7 @@
Due Date
- {{circInfo.currentCirc | egDueDatePipe}} + {{circInfo.currentCirc | egDueDate}}
diff --git a/Open-ILS/src/eg2/src/app/staff/share/circ/circ.service.ts b/Open-ILS/src/eg2/src/app/staff/share/circ/circ.service.ts index 314c748a5d..6a996850f4 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/circ/circ.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/circ/circ.service.ts @@ -1443,7 +1443,10 @@ export class CircService { return this.pcrud.retrieve('au', prevSummary.usr, {flesh : 1, flesh_fields : {au : ['card']}}) - .toPromise().then(user => response.prevCircUser = user); + .toPromise().then(user => { + response.prevCircUser = user; + return response; + }); } }); });