From: Bill Erickson <berickxx@gmail.com>
Date: Mon, 3 May 2021 19:12:53 +0000 (-0400)
Subject: LP1904036 Hold print template configs
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3854265d8683f044b29310efb80d59433a5590ea;p=evergreen%2Fpines.git

LP1904036 Hold print template configs

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
---

diff --git a/Open-ILS/src/eg2/src/app/staff/admin/server/print-template.component.ts b/Open-ILS/src/eg2/src/app/staff/admin/server/print-template.component.ts
index 5e1361b080..0b27fd7417 100644
--- a/Open-ILS/src/eg2/src/app/staff/admin/server/print-template.component.ts
+++ b/Open-ILS/src/eg2/src/app/staff/admin/server/print-template.component.ts
@@ -50,7 +50,9 @@ export class PrintTemplateComponent implements OnInit {
     sampleData: any = {
         patron_address: {},
         holds_for_bib: {},
-        bills_current: {}
+        bills_current: {},
+        bills_payment: {},
+        hold_shelf_slip: {}
     };
 
     constructor(
@@ -153,6 +155,19 @@ export class PrintTemplateComponent implements OnInit {
                 copy_barcode: '3423482302394'
             }]
         };
+
+        this.sampleData.hold_shelf_slip = {
+            checkin: {
+                copy: samples.acp[0],
+                patron: samples.au[0],
+                hold: samples.ahr[0]
+            }
+        };
+
+        this.sampleData.hold_transit_slip =
+            Object.assign({}, this.sampleData.hold_shelf_slip);
+        this.sampleData.hold_transit_slip.checkin.destOrg =
+            this.org.list()[0];
     }
 
     onTabChange(evt: NgbTabChangeEvent) {