From 56bd0625cb2fb960da9bb18d9c6d443d19e765b1 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 2 Mar 2021 18:01:41 -0500 Subject: [PATCH] LP1904036 Update stats after checkout; quite warning Signed-off-by: Bill Erickson --- Open-ILS/src/eg2/src/app/staff/circ/patron/checkout.component.ts | 3 +++ Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.html | 2 +- Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.ts | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/checkout.component.ts b/Open-ILS/src/eg2/src/app/staff/circ/patron/checkout.component.ts index 9a7abdef70..569b21264f 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/checkout.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/checkout.component.ts @@ -210,6 +210,9 @@ export class CheckoutComponent implements OnInit, AfterViewInit { this.context.checkouts.unshift(entry); this.checkoutsGrid.reload(); + + // update summary data + this.context.refreshPatron(); } noncatPrompt(): Observable { diff --git a/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.html b/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.html index 5ddaf04b15..a86b0ac57d 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.html @@ -168,7 +168,7 @@ [hidden]="true"> - + diff --git a/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.ts b/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.ts index 091190a9ab..2a0b1e1824 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.ts @@ -199,7 +199,8 @@ export class HoldsGridComponent implements OnInit { this.cellTextGenerator = { title: row => row.title, cp_barcode: row => (row.cp_barcode == null) ? '' : row.cp_barcode, - patron_barcode: row => row.ucard_barcode + patron_barcode: row => row.ucard_barcode, + hold_status: row => row.hold_status // TODO labels }; } -- 2.11.0