From 4ab686d2d2ea554c27c1ed99a8d8fb9f158e8875 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 17 Jul 2020 12:53:23 -0400 Subject: [PATCH] LPXXX volcopy misc Signed-off-by: Bill Erickson --- .../src/eg2/src/app/staff/cat/volcopy/volcopy.service.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.service.ts b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.service.ts index 9cfb6dfa25..855ba586ac 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/volcopy.service.ts @@ -209,19 +209,21 @@ export class VolCopyService { const copy = this.idl.create('acp'); copy.id(this.autoId--); copy.isnew(true); - copy.circ_lib(Number(options.circLib || vol.owning_lib())); - copy.call_number(vol); - copy.deposit(0); - copy.price(0); - copy.deposit_amount(0); + copy.call_number(vol); // fleshed + copy.price('0.00'); + copy.deposit_amount('0.00'); copy.fine_level(2); // Normal copy.loan_duration(2); // Normal copy.location(this.commonData.acp_default_location); // fleshed + copy.circ_lib(Number(options.circLib || vol.owning_lib())); + + copy.deposit('f'); copy.circulate('t'); copy.holdable('t'); copy.opac_visible('t'); copy.ref('f'); copy.mint_condition('t'); + copy.parts([]); copy.tags([]); copy.stat_cat_entries([]); -- 2.11.0