import Pts from '~/components/business/commonModel/Pts'; import Pub from '~/components/business/commonModel/index.js'; export default class Litamc { constructor() { this.data = { number: '', oldledgrp:{ cbs:{ nom1:{ amt:"", // Original Data .oldledgrp.cbs.nom1.amt }, max:{ cur:"", // Currency .oldledgrp.cbs.max.cur amt:"", // Balance .oldledgrp.cbs.max.amt }, max2:{ cur:"", amt:"", }, }, rec:{ nomtop:"", // Amount Tolerance - Positive .oldledgrp.rec.nomtop nomton:"", // Amount Tolerance - Negative .oldledgrp.rec.nomton expdat:"", // Date of Expiry .oldledgrp.rec.expdat shpdat:"", // Shipment Date .oldledgrp.rec.shpdat prepers18:"", // Days of presentation period .oldledgrp.rec.prepers18 prepertxts18:"", // Presentation period text .oldledgrp.rec.prepertxts18 }, }, ledgrp: { blk: { addamtcov: '' }, rec: { inr: '', nomton: '0', expplc: '', cnfsta: '', opndat: '', nomtop: '0', revflg: '', partcon: '', dbtflg: '', shpdat: '', nam: '', redclsflg: '', nomspc: '', collflg: '', inctrf: '', lcrtyp: '', nonban: '', ownref: '', teskeyunc: '', preadvdt: '', avbby: '', apprul: '', shppar: '', cnfdat: '', shptrs: '', expdat: '', cnfdet: '', advdat: '', apprultxt: '', cnfflg: '', branchinr: '', }, cbs: { opn1: { cur: '', amt: '' }, opn2: { cur: '', amt: '0.00' }, max: { cur: '', amt: '' }, nom1: { cur: '', amt: '' }, cnf: { cur: '', amt: '' }, max2: { cur: '', amt: '0.00' } }, preadvflg: '', avbnam: '', iss: { pts: new Pts().data }, prb: { pts: new Pts().data }, ben: { pts: new Pts().data }, apl: { pts: new Pts().data }, oth: { pts: new Pts().data }, wrk: { pts: new Pts().data }, rmb: { pts: new Pts().data, }, drw: { pts: new Pts().data, }, avb: { pts: new Pts().data, }, adv: { pts: new Pts().data, }, con: { pts: new Pts().data, }, ini: { pts: new Pts().data, }, }, reqdat: '', letp: { usr: { extkey: '' }, letp0: { aammod: { addamtflg: '' }, cnftxt: '' }, aamp: { aammod: { addamtflg: '' } } }, setmod: new Pub().data.Setmod, mtabut: new Pub().data.Mtabut, trnmod: new Pub().data.Trnmod, liaall: new Pub().data.Liaall, liaccv: new Pub().data.Liaccv, docpan: new Pub().data.Docpan, }; } }