import Pub from "@/components/business/commonModel";
import Pts from '~/components/business/commonModel/Pts';

export default class Botdcr {
    constructor() {
        this.data = {

			botdrrl1blk: "",
			botdrrl2blk: "",
			botcoll1blk: "",
			bodgrp: {
				rec: {
					inr: "",
					branchinr: "",
					matpertyp: "",			//  Days/Months or Years for Maturity Period		.bodgrp.rec.matpertyp
					ownref: "",			//  Reference		.bodgrp.rec.ownref
					nam: "",			//  Name		.bodgrp.rec.nam
					doctypcod: "",			//  Collection Condition		.bodgrp.rec.doctypcod
					docsta: "",			//  Document Set Status		.bodgrp.rec.docsta
					matdat: "",			//  Maturity Date		.bodgrp.rec.matdat
					matpercnt: "",			//  Tenor Specification		.bodgrp.rec.matpercnt
					matperbeg: "",			//  Start of Maturity Period MATBEG		.bodgrp.rec.matperbeg
					rcvdat: "",			//  Order Date		.bodgrp.rec.rcvdat
					predat: "",			//  Presentation Date		.bodgrp.rec.predat
					chato: "",			//  Our Charges to		.bodgrp.rec.chato
					focflg: "",			//  Free of Payment		.bodgrp.rec.focflg
					waicolcod: "",			//  Protest Instructions		.bodgrp.rec.waicolcod
					wairmtcod: "",			//  Waive Remitting Bank Charges		.bodgrp.rec.wairmtcod
					othins: "",			//  Defer Payment until		.bodgrp.rec.othins
					lescom: "",			//  Warehouse/Insurance		.bodgrp.rec.lescom
					ver: '',
				},
				cbs: {
					max: {
						cur: "",			//  Document Amount		.bodgrp.cbs.max.cur
						amt: "",			//  Document Amount		.bodgrp.cbs.max.amt
					},
					opn1: {
						cur: "",			//  Warehouse/Insurance		.bodgrp.cbs.opn1.cur
						amt: "0.00",			//  Open Amount		.bodgrp.cbs.opn1.amt
					},
					rsv: {
						cur: "",			//  Warehouse/Insurance		.bodgrp.cbs.opn1.cur
						amt: "",			//  Open Amount		.bodgrp.cbs.opn1.amt
					},
				},
				drr: {
					pts: new Pts().data,
				},
				col: {
					pts: new Pts().data,
				},
				dre: {
					pts: new Pts().data,
				},
				blk: {
					docpre:"",			// bodgrp.blk.docpre
					resrej: "",			//  Reason for Non-Payment/Non-Acceptance		.bodgrp.blk.resrej
					colins: "",			//  Collection Instructions		.bodgrp.blk.colins
					colinsflg: "",			//  Collection instructions modified		.bodgrp.blk.colinsflg
					dftins: "",			//  Draft Instructions		.bodgrp.blk.dftins
					proins: "",			//  Protest Instructions		.bodgrp.blk.proins
					othins: "",			//  Other Instructions		.bodgrp.blk.othins
					chgtxt: "",			//  Charges Text		.bodgrp.blk.chgtxt
					delins: "",			//  Delivery instructions		.bodgrp.blk.delins
				},
			},
			botp: {
				recget: {
					sdamod: {
						dadsnd: "",			//  Drag  Drop Sender		.botp.recget.sdamod.dadsnd
						seainf: "",			//  		.botp.recget.sdamod.seainf
					},
				},
				matp: {
					mattxtlab: "",			//  Label for MATTXT		.botp.matp.mattxtlab
				},
				docgrdm: {
					docdsclab: "",			//  Label of document description		.botp.docgrdm.docdsclab
					docgrd: [],				//docgrdm.docgrd	
				},
				drrp: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.botp.drrp.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.botp.drrp.ptsget.sdamod.dadsnd
						},
					},
				},
				colp: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.botp.colp.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.botp.colp.ptsget.sdamod.dadsnd
						},
					},
				},
				drep: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.botp.drep.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.botp.drep.ptsget.sdamod.dadsnd
						},
					},
				},
				ptsaddp: {
					ptsaddg: [],			//  		.botp.ptsaddp.ptsaddg
				},
			},
			rejtypsel: "",			//  		.rejtypsel
			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,

        }
    }
}