LP1904036 template repairs
authorBill Erickson <berickxx@gmail.com>
Tue, 11 May 2021 15:51:54 +0000 (11:51 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 00:13:34 +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

index fc4a46a..30cf801 100644 (file)
@@ -43,6 +43,7 @@ export class CheckoutComponent implements OnInit, AfterViewInit {
     dueDate: string;
     dueDateOptions: 0 | 1 | 2 = 0; // auto date; specific date; session date
     printOnComplete = true;
+    strictBarcode = false;
 
     private copiesInFlight: {[barcode: string]: boolean} = {};
 
@@ -96,6 +97,9 @@ export class CheckoutComponent implements OnInit, AfterViewInit {
                 noPrint.includes('Checkout')
             );
         });
+
+        this.serverStore.getItem('circ.checkout.strict_barcode')
+        .then(strict => this.strictBarcode = strict);
     }
 
     ngAfterViewInit() {