From 3854265d8683f044b29310efb80d59433a5590ea Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 3 May 2021 15:12:53 -0400 Subject: [PATCH] LP1904036 Hold print template configs Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- .../app/staff/admin/server/print-template.component.ts | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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) { -- 2.11.0