LP1904036 Update stats after checkout; quite warning
authorBill Erickson <berickxx@gmail.com>
Tue, 2 Mar 2021 23:01:41 +0000 (18:01 -0500)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 00:13:25 +0000 (20:13 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/circ/patron/checkout.component.ts
Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.ts

index 9a7abde..569b212 100644 (file)
@@ -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<number> {
index 9c6a9a3..a90d6e6 100644 (file)
@@ -223,7 +223,8 @@ export class HoldsGridComponent implements OnInit {
             cp_barcode: row => (row.cp_barcode == null) ? '' : row.cp_barcode,
             current_item: row => row.current_copy ? row.cp_barcode : '',
             requested_item: row => this.isCopyHold(row) ? row.cp_barcode : '',
-            ucard_barcode: row => row.ucard_barcode
+            ucard_barcode: row => row.ucard_barcode,
+            hold_status: row => row.hold_status // TODO labels
         };
     }