import{a as p}from"./chunk-ABXDWOZI.js";import"./chunk-4NGHU5PZ.js";import"./chunk-NWOU67BD.js";import"./chunk-TBSUMTHM.js";import"./chunk-CKJJI5MU.js";import"./chunk-TAT3HGQ4.js";import"./chunk-4SWKWV3M.js";import"./chunk-DY645AKB.js";import"./chunk-5I5ZFUTL.js";import"./chunk-QN66BDDM.js";import"./chunk-JBNKEIUX.js";import"./chunk-5SW267PH.js";import"./chunk-PU7DBJLZ.js";import"./chunk-3DDBG3AR.js";import"./chunk-5MLUVH77.js";import"./chunk-SMMBZMNL.js";import"./chunk-S5GA3KRV.js";import"./chunk-EFONMPAR.js";import"./chunk-YQXLYYOT.js";import"./chunk-6RITFGP2.js";import"./chunk-HGXDKXJP.js";import"./chunk-WQUXAKOL.js";import"./chunk-LYNKRDJC.js";import"./chunk-SKY4LXUD.js";import"./chunk-BZT47AWD.js";import"./chunk-5WQBRAHK.js";import"./chunk-4FTRQKHH.js";import"./chunk-BYXBJQAS.js";import"./chunk-TTWRMELT.js";import"./chunk-EMJ4QQUL.js";import"./chunk-QPCAJSKO.js";import"./chunk-QV67LFVX.js";import"./chunk-4O3FVBGX.js";import"./chunk-TGWIHQDX.js";import"./chunk-Q5KZV54I.js";import"./chunk-YHVRQUSB.js";import"./chunk-N7PBPSN6.js";import"./chunk-3Z7PXZF3.js";import"./chunk-43BLBOSI.js";import"./chunk-IWSLIKCG.js";import"./chunk-2DXJE6G7.js";import"./chunk-7RP244JU.js";import"./chunk-LHGSJXTX.js";import"./chunk-ZKNPBXGB.js";import{b as l}from"./chunk-S3ADKFO2.js";import"./chunk-I5MYHHJE.js";import{Fb as o,Ib as r,gb as s,lb as i}from"./chunk-CKLXM6EG.js";import"./chunk-TSRGIXR5.js";var m=class a{constructor(n){this.translate=n}floorsHeaders=["id","name","type.value","deposit","payment_interval.number_of_days","max_delay_percent","created_at","updated_at","status"];Field;ngOnInit(){this.Field=[{type:"input",title:"name",class:"col-2",controlName:"name"},{type:"dateWithOptions",title:"date_range",controlName:"date",fromControlName:"from",toControlName:"to",showQuickButtons:!0,class:"col-6",parentClass:"col-6"},{type:"select",title:"status",class:"col-3",options:[{name:this.translate.instant("yes"),id:1},{name:this.translate.instant("no"),id:0}],controlName:"status"},{type:"select",title:"payment_type_id",options:[{name:this.translate.instant("Deposit Billing"),id:"Deposit Billing"},{name:this.translate.instant("Without Deposit"),id:"Without Deposit"},{name:this.translate.instant("Advanced Payment"),id:"Advanced Payment"},{name:this.translate.instant("Deferred Payment"),id:"Deferred Payment"},{name:this.translate.instant("Periodic Payment"),id:"Periodic Payment"}],class:"col-3",controlName:"type"}]}titlesOfMenu=[{label:"show",action:"show",routerLink:"/finance/payment-types/show"},{label:"edit",action:"edit",routerLink:"/finance/payment-types/edit"},{label:"delete",action:"delete",permission:"delete payment-type"}];static \u0275fac=function(t){return new(t||a)(s(l))};static \u0275cmp=i({type:a,selectors:[["app-payment-types-list"]],decls:1,vars:13,consts:[["routeOfButton2","/finance/payment-types/add","titleOfButton2","add-payment-type","url","procurement/payment-type/index","translationPrefixx","payment_types","titleOfPage","payment_types","deleteRowUrl","procurement/payment-type/delete","deleteRowUrls","procurement/payment-type/delete","classesForTable","designOne","iconOfBtn2","fa-solid fa-plus","translationPrefix","payment_types",3,"ShowButton","Menu","showIconORTITLE","filterKeyData","ShowModal","headers","showMenubar","ShowButton3","showFilter","showBreadcrumb","filterSearchField"]],template:function(t,e){t&1&&r(0,"app-page-body",0),t&2&&o("ShowButton",!1)("Menu",e.titlesOfMenu)("showIconORTITLE",!0)("filterKeyData",e.floorsHeaders)("ShowModal",!1)("headers",e.floorsHeaders)("showMenubar",!0)("ShowButton3",!0)("showFilter",!0)("ShowButton",!0)("showBreadcrumb",!0)("filterKeyData",e.floorsHeaders)("filterSearchField",e.Field)},dependencies:[p],encapsulation:2})};export{m as PaymentTypesList};
