1(self.webpackChunkclient=self.webpackChunkclient||[]).push([[657],{95120:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return u}});var i=a(32362),s=a(31635),o=a(18657),n=a(65865),r=a(19571);let l=class extends o.lD{constructor(...e){super(...e),(0,i.A)(this,"view",void 0),(0,i.A)(this,"modelKey",void 0),(0,i.A)(this,"propKey",void 0),(0,i.A)(this,"data",void 0),(0,i.A)(this,"errorProp",void 0),(0,i.A)(this,"functions",void 0),(0,i.A)(this,"size",void 0),(0,i.A)(this,"defaultOptions",{})}get model(){return n.default.getModel(this.data,this.modelKey,this.options)}set model(e){n.default.setModel(this,this.modelKey,e)}get options(){return r.default.getOptions(this)}created(){n.default.initModel(this,this.modelKey,this.options)}};(0,s.Cg)([(0,o.kv)(),(0,s.Sn)("design:type",Object)],l.prototype,"view",void 0),(0,s.Cg)([(0,o.kv)(),(0,s.Sn)("design:type",String)],l.prototype,"modelKey",void 0),(0,s.Cg)([(0,o.kv)(),(0,s.Sn)("design:type",String)],l.prototype,"propKey",void 0),(0,s.Cg)([(0,o.pF)("value"),(0,s.Sn)("design:type",Object)],l.prototype,"data",void 0),(0,s.Cg)([(0,o.pF)("error"),(0,s.Sn)("design:type",Object)],l.prototype,"errorProp",void 0),(0,s.Cg)([(0,o.kv)(),(0,s.Sn)("design:type",Object)],l.prototype,"functions",void 0),(0,s.Cg)([(0,o.kv)(),(0,s.Sn)("design:type",String)],l.prototype,"size",void 0),l=(0,s.Cg)([(0,o.uA)({components:{}})],l);var d=l,u=(a(1750),(0,a(81656).A)(d,(function(){var e=this,t=e._self._c;e._self._setupProxy;return e.model?t("div",{staticClass:"elem-info card-base card-shadow--medium",class:e.view.class,style:{minWidth:e.options.minWidth||"140px"}},[t("span",{staticClass:"info-icon",class:e.model.color},[t("i",{staticClass:"fa",class:e.model.icon})]),t("div",{staticClass:"info-box"},[t("p",{staticClass:"size-h2"},[e._v(e._s(e.model.value)+" "),t("span",{staticClass:"size-h4"},[e._v(e._s(e.model.unit))])]),t("p",{staticClass:"text-muted"},[t("span",[e._v(e._s(e.$t(e.model.label)))])])])]):e._e()}),[],!1,null,null,null).exports)},8674:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return p}});var i=a(32362),s=(a(43689),a(27605),a(23555)),o=a.n(s),n=a(31635),r=a(18657),l=a(434),d=a(45125),u=a(63892),c=a(4707);r.lD.component(o().name,o());let f=class extends r.lD{constructor(...e){super(...e),(0,i.A)(this,"view",void 0),(0,i.A)(this,"data",void 0),(0,i.A)(this,"errorProp",void 0),(0,i.A)(this,"loadingList",void 0),(0,i.A)(this,"filterProp",void 0),(0,i.A)(this,"infoProp",void 0),(0,i.A)(this,"functions",void 0),(0,i.A)(this,"resized",void 0),(0,i.A)(this,"size",void 0)}refreshFunc(){this.$refs.list&&this.$refs.list.refreshFunc()}async listFunc(){this.$refs.list&&await this.$refs.list.listFunc()}getUrl(e,t){const a=e&&e.length>0?e[0]:c.L.account?c.L.account.logo:null;return a?u.default.getUrl(a,"_small",t.options,0):""}async deleteCart(e){try{await this.functions.deleteData(e,this.data,this.view)}catch(e){}}async selectChanged(e){await this.functions.postListData(e,this.data,this.view)}};(0,n.Cg)([(0,r.kv)({}),(0,n.Sn)("design:type",Object)],f.prototype,"view",void 0),(0,n.Cg)([(0,r.pF)("value"),(0,n.Sn)("design:type",Object)],f.prototype,"data",void 0),(0,n.Cg)([(0,r.pF)("error"),(0,n.Sn)("design:type",Object)],f.prototype,"errorProp",void 0),(0,n.Cg)([(0,r.pF)("loading"),(0,n.Sn)("design:type",Object)],f.prototype,"loadingList",void 0),(0,n.Cg)([(0,r.pF)("filter"),(0,n.Sn)("design:type",Object)],f.prototype,"filterProp",void 0),(0,n.Cg)([(0,r.pF)("info"),(0,n.Sn)("design:type",Object)],f.prototype,"infoProp",void 0),(0,n.Cg)([(0,r.kv)(),(0,n.Sn)("design:type",Object)],f.prototype,"functions",void 0),(0,n.Cg)([(0,r.kv)(),(0,n.Sn)("design:type",Number)],f.prototype,"resized",void 0),(0,n.Cg)([(0,r.kv)(),(0,n.Sn)("design:type",String)],f.prototype,"size",void 0),f=(0,n.Cg)([(0,r.uA)({components:{ElemCard:l.default,ElemInput:d.default}})],f);var m=f,p=(a(67804),(0,a(81656).A)(m,(function(){var e=this,t=e._self._c;e._self._setupProxy;return e.view?t("elem-card",{ref:"list",staticClass:"custom-carts",attrs:{card:"flex column elem-card-row","card-item":"flex",value:e.value,view:e.view,error:e.errorProp,functions:e.functions,filter:e.filterProp,info:e.infoProp,loading:e.loadingList},on:{"update:error":function(t){e.errorProp=t},"update:filter":function(t){e.filterProp=t},"update:info":function(t){e.infoProp=t},"update:loading":function(t){e.loadingList=t}},scopedSlots:e._u([{key:"default",fn:function(a){return[t("div",{staticClass:"custom-carts-item mb-20 flex col-12 card-shadow--small b-rad-4"},[t("div",{staticClass:"image"},[t("div",{staticClass:"bg",style:"background-image: url("+e.getUrl(a.item.files,e.view.card.files)+")"})]),t("div",{staticClass:"box grow flex column justify-center"},[t("div",{staticClass:"product-name"},[t("el-checkbox",{attrs:{size:"small"},on:{change:function(t){return e.selectChanged(a.item)}},model:{value:a.item.checked,callback:function(t){e.$set(a.item,"checked",t)},expression:"scope.item.checked"}}),e._v(" "),t("span",{staticClass:"product-title"},[e._v(" "+e._s(a.index+1)+". "+e._s(a.item.title))])],1),a.item.refDocNum?t("div",{directives:[{name:"html-text",rawName:"v-html-text",value:a.formatCell(e.view.card.refDocNum,a.item,a.index),expression:"scope.formatCell(view.card.refDocNum, scope.item, scope.index)"}],staticClass:"desc"}):e._e(),a.item.productType?t("div",{directives:[{name:"html-text",rawName:"v-html-text",value:a.formatCell(e.view.card.productType,a.item,a.index),expression:"scope.formatCell(view.card.productType, scope.item, scope.index)"}],staticClass:"desc"}):e._e(),a.item.subTypes?t("div",{directives:[{name:"html-text",rawName:"v-html-text",value:a.formatCell(e.view.card.subTypes,a.item,a.index),expression:"scope.formatCell(view.card.subTypes, scope.item, scope.index)"}],staticClass:"desc"}):e._e(),t("div",{directives:[{name:"html-text",rawName:"v-html-text",value:a.formatCell(e.view.card.currency,a.item,a.index),expression:"scope.formatCell(view.card.currency, scope.item, scope.index)"}],staticClass:"price"}),a.item.tax?t("div",{directives:[{name:"html-text",rawName:"v-html-text",value:a.formatCell(e.view.card.tax,a.item,a.index),expression:"scope.formatCell(view.card.tax, scope.item, scope.index)"}],staticClass:"tax"}):e._e(),void 0!==a.item.inventoryBalance?t("div",{directives:[{name:"html-text",rawName:"v-html-text",value:a.formatCell(e.view.card.inventoryBalance,a.item,a.index),expression:"scope.formatCell(view.card.inventoryBalance, scope.item, scope.index)"}],staticClass:"inventoryBalance"}):e._e()]),t("div",{staticClass:"box flex center text-center"},[t("div",[t("span",{staticClass:"ics"},[e._v("X")]),e._v(" "),t("elem-input",{staticClass:"themed ml-10",attrs:{value:a.item,view:e.view.card.qty,"model-key":e.view.card.qty.model,functions:e.functions},on:{"update:value":function(t){return e.$set(a,"item",t)}}})],1)]),t("div",{staticClass:"box flex align-center"},[t("div",{staticClass:"text-right box"},[t("button",{staticClass:"del-btn"}
1,[t("i",{staticClass:"fas fa-trash",on:{click:function(t){return t.stopPropagation(),e.deleteCart(a.item)}}})])])])])]}}],null,!1,488277384)}):e._e()}),[],!1,null,null,null).exports)},96903:function(e,t,a){"use strict";a.r(t),t.default={en:{"Add Location":"Add Location","Add Asset Location":"Add Asset Location","Edit Location":"Edit Location","Edit Asset Location":"Edit Asset Location","Edit Inventory Location":"Edit Inventory Location","Location Name":"Location Name","List Locations":"List Locations","List Asset Locations":"List Asset Locations","List Inventory Locations":"List Inventory Locations","View Location":"View Location","View Asset Location":"View Asset Location","View Inventory Location":"View Inventory Location"},zh:{"Add Location":"æ·»å å°ç¹","Add Asset Location":"æ·»å èµäº§å°ç¹","Edit Location":"æ´æ¹å°ç¹","Edit Asset Location":"æ´æ¹èµäº§å°ç¹","Edit Inventory Location":"æ´æ¹åºåå°ç¹","Location Name":"å°ç¹åç§°","List Locations":"ååºå°ç¹","List Asset Locations":"ååºèµäº§å°ç¹","List Inventory Locations":"ååºåºåå°ç¹","View Location":"æ¥çå°ç¹","View Asset Location":"æ¥çèµäº§å°ç¹","View Inventory Location":"æ¥çåºåå°ç¹"},ms:{"Add Location":"Tambah Lokasi","Add Asset Location":"Tambah Lokasi Aset","Edit Location":"Edit Lokasi","Edit Asset Location":"Edit Lokasi Aset","Edit Inventory Location":"Edit Lokasi Inventori","Location Name":"Nama lokasi","List Locations":"Senarai Lokasi","List Asset Locations":"Senarai Lokasi Aset","List Inventory Locations":"Senarai Lokasi Inventori","View Location":"Lihat Lokasi","View Asset Location":"Lihat Lokasi Aset","View Inventory Location":"Lihat Lokasi Inventori"}}},50533:function(e,t,a){"use strict";a.r(t),t.default={en:{"Add Debit Note":"Add Debit Note","Cancel Debit Note":"Cancel Debit Note","DN Date":"DN Date","DN #":"DN #","Debit Note is used to increase invoice amount.":"Debit Note is used to increase invoice amount.","Edit Debit Note":"Edit Debit Note","List Debit Notes":"List Debit Notes","Send Debit Note":"Send Debit Note","Submit Debit Note":"Submit Debit Note","Total amount will be added to the invoice.":"Total amount will be added to the invoice.","View Debit Note":"View Debit Note"},zh:{"Add Debit Note":"æ·»å åæ®","Cancel Debit Note":"åæ¶åæ®","DN Date":"åæ®æ¥æ","DN #":"åæ® #","Debit Note is used to increase invoice amount.":"åæ®ç¨äºå¢å å票éé¢ã","Edit Debit Note":"æ´æ¹åæ®","List Debit Notes":"ååºåæ®","Send Debit Note":"åéåæ®","Submit Debit Note":"æäº¤åæ®","Total amount will be added to the invoice.":"æ»éé¢å°æ·»å å°å票ã","View Debit Note":"æ¥çåæ®"},ms:{"Add Debit Note":"Tambah Nota Debit","Cancel Debit Note":"Batalkan Nota Debit","DN Date":"Tarikh Nota Debit","DN #":"Nota Debit #","Debit Note is used to increase invoice amount.":"Nota Debit digunakan untuk menambah jumlah invoice.","Edit Debit Note":"Edit Nota Debit","List Debit Notes":"Senaraikan Nota Debit","Send Debit Note":"Hantar Nota Debit","Submit Debit Note":"Serah Nota Debit","Total amount will be added to the invoice.":"Jumlah keseluruhan akan ditambah ke invoice.","View Debit Note":"Lihat Nota Debit"}}},1186:function(e,t,a){"use strict";a.r(t),t.default={en:{"Army Number":"Army Number",Awaiting:"Awaiting","BRN is a unique number given by SSM.":"BRN is a unique number given by SSM.","Business Registration No. (BRN)":"Business Registration No. (BRN)","Cannot issue consolidated E-Invoice for amount more than 10K.":"Cannot issue consolidated E-Invoice for amount more than 10K.",City:"City","Click here to view E-Invoice.":"Click here to view E-Invoice.","Click to validate TIN.":"Click to validate TIN.",Consolidated:"Consolidated","Doc. Date":"Doc. Date","Doc. Type":"Doc. Type","Due to e-invoice requirements, the optional field can only be selected on a proforma invoice.":"Due to e-invoice requirements, the optional field can only be selected on a proforma invoice.","Due to e-invoice requirements, the quantity field is editable only on proforma invoices.":"Due to e-invoice requirements, the quantity field is editable only on proforma
1invoices.",Enabled:"Enabled","E-Invoice":"E-Invoice","E-invoice can only be unselected in pricing item.":"E-invoice can only be unselected in pricing item.","Either ID or TIN Number is wrong.":"Either ID or TIN Number is wrong.","eInvoice status of each line item will also be changed!":"eInvoice status of each line item will also be changed!","Enter mobile phone number to get a SMS verification code.":"Enter mobile phone number to get a SMS verification code.","Full E-Invoice!":"Full E-Invoice!","Get Verification Code":"Get Verification Code","I am a Foreigner":"I am a Foreigner","IC Number":"IC Number","ID Type":"ID Type","If declined, no e-invoice will be provided.":"If declined, no e-invoice will be provided.","Industry Classification Code":"Industry Classification Code","Included in e-Invoice.":"Included in e-Invoice.",Invalid:"Invalid","Invalid Verification Code!":"Invalid Verification Code!","Issued Date":"Issued Date","List E-Invoices":"List E-Invoices","Must enter ID Type, ID Number and TIN Number first!":"Must enter ID Type, ID Number and TIN Number first!","Must enter BRN and TIN Number first!":"Must enter BRN and TIN Number first!","Must select captcha first!":"Must select captcha first!","Must validate TIN.":"Must validate TIN.","NO E-Invoice!":"NO E-Invoice!",None:"None","Notice: <ul><li>You confirm that the data entered is true and accurate.</li><li>You give your consent for us to use the data submitted for e-invoice purpose.</li><li>You agree not to hold us responsible on any liability or loss as a result of the e-invoicing process.</li></ul>":"Notice: <ul><li>You confirm that the data entered is true and accurate.</li><li>You give your consent for us to use the data submitted for e-invoice purpose.</li><li>You agree not to hold us responsible on any liability or loss as a result of the e-invoicing process.</li></ul>","Only if applicable.":"Only if applicable.","Only new BRN is allowed.":"Only new BRN is allowed.","Partial E-Invoice!":"Partial E-Invoice!","Passport Number":"Passport Number",Postcode:"Postcode","QR Code for your customer to update own e-Invoice info.":"QR Code for your customer to update own e-Invoice info.","Require Self-Billed E-Invoice":"Require Self-Billed E-Invoice","Sales & Service Tax Number (SST)":"Sales & Service Tax Number (SST)","Same as the above.":"Same as the above.","Self-Billed":"Self-Billed","Self-Billed E-Invoice":"Self-Billed E-Invoice","Submission ID":"Submission ID","Submit Verification Code":"Submit Verification Code",State:"State","Sub Type":"Sub Type","Tax Code":"Tax Code","Tax Identification Number (TIN)":"Tax Identification Number (TIN)","Tax Identification Number (TIN) - Validated":"Tax Identification Number (TIN) - Validated","TIN Validated":"TIN Validated","Tax Type":"Tax Type",Valid:"Valid","Validate TIN":"Validate TIN",Validated:"Validated","Validated Date":"Validated Date","Verification Code":"Verification Code","View E-Invoice":"View E-Invoice","Warning! This item is NOT included in E-Invoice.":"Warning! This item is NOT included in E-Invoice.","You are not registered!":"You are not registered!","Your e-invoice details have already been updated!":"Your e-invoice details have already been updated!"},zh:{"Army Number":"åç¼å·",Awaiting:"çå¾
","BRN is a unique number given by SSM.":"BRN æ¯ SSM ç»åºçç¼å·ã","Business Registration No. (BRN)":"åä¸ç»è®°å·ç (BRN)","Cannot issue consolidated E-Invoice for amount more than 10K.":"æ æ³ä¸ºè¶
è¿ 10,000 çéé¢å¼å
·åå¹¶çµåå票ã",City:"åå¸","Click here to view E-Invoice.":"å廿¤å¤æ¥ççµåå票ã","Click to validate TIN.":"å廿¤å¤éªè¯ TINã",Consolidated:"åå¹¶","Doc. Date":"ææ¡£æ¥æ","Doc. Type":"ææ¡£ç±»å","Due to e-invoice requirements, the optional field can only be selected on a proforma invoice.":"ç±äºçµååç¥¨è¦æ±ï¼å¯éåæ®µåªè½å¨å½¢å¼åç¥¨ä¸æ´æ¹ã","Due to e-invoice requirements, the quantity field is editable only on proforma invoices.":"ç±äºçµååç¥¨è¦æ±ï¼æ°éåæ®µåªè½å¨å½¢å¼åç¥¨ä¸æ´æ¹ã",Enabled:"å·²å¯ç¨","E-Invoice":"çµåå票","E-invoice can only be unselected in pricing item.":"åªè½åæ¶çµåå票å¨å®ä»·é¡¹æ¨¡åã","Either ID or TIN Number is wrong.":"è¯ä»¶å·æ TIN å·æè¯¯ã","eInvoice status of each line item will also be changed!":"æ¯ä¸ªé¡¹ç®ççµååç¥¨ç¶æä¹å°ååï¼","Enter mobile phone number to get a SMS verification code.":"è¾å
¥ææºå·ç è·åçä¿¡éªè¯ç ã","Full E-Invoice!":"å
¨é¢çµåå票ï¼","Get Verification Code":"è·åéªè¯ç ","I am a Foreigner":"ææ¯å¤å½äºº","IC Number":"身份è¯å·ç ","ID Type":"è¯ä»¶ç±»å","If declined, no e-invoice will be provided.":"妿æç»ï¼åä¸ä¼æä¾çµåå票ã","Industry Classification Code":"è¡ä¸å类代ç ","Included in e-Invoice.":"å
å«å¨çµåå票ä¸ã",Invalid:"é误","Invalid Verification Code!":"éªè¯ç é误ï¼","Issued Date":"åè¡æ¥æ","List E-Invoices":"ååºçµåå票","Must enter ID Type, ID Number and TIN Number first!":"å¿
é¡»å
è¾å
¥è¯ä»¶ç±»åã身份è¯å·ç åç¨å·ï¼","Must enter BRN and TIN Number first!":"å¿
é¡»å
è¾å
¥ BRN å TIN å·ç ï¼","Must select captcha first!":"å¿
é¡»å
éæ©éªè¯ç ï¼","Must val
1idate TIN.":"å¿
é¡»éªè¯ TINã","NO E-Invoice!":"没æçµåå票ï¼",None:"没æä»»ä½","Notice: <ul><li>You confirm that the data entered is true and accurate.</li><li>You give your consent for us to use the data submitted for e-invoice purpose.</li><li>You agree not to hold us responsible on any liability or loss as a result of the e-invoicing process.</li></ul>":"注æï¼<ul><li>æ¨ç¡®è®¤è¾å
¥çæ°æ®çå®åç¡®ã</li><li>æ¨åææä»¬å°æäº¤çæ°æ®ç¨äºçµåå票ç®çã</li><li>æ¨åæä¸è¦æ±æä»¬å¯¹å çµåå票æµç¨è产ççä»»ä½è´£ä»»ææå¤±è´è´£ã</li></ul>","Only if applicable.":"ä»
å¨éç¨çæ
åµä¸ã","Only new BRN is allowed.":"åªå
许æ°ç BRNã","Partial E-Invoice!":"é¨åçµåå票ï¼","Passport Number":"æ¤ç
§å·ç ",Postcode:"鮿¿ç¼ç ","QR Code for your customer to update own e-Invoice info.":"æ¨ç客æ·å¯ä»¥éè¿äºç»´ç æ´æ°èªå·±ççµåå票信æ¯ã","Require Self-Billed E-Invoice":"éè¦èªå¼çµåå票","Sales & Service Tax Number (SST)":"éå®åæå¡ç¨å· (SST)","Same as the above.":"åä¸é¢ä¸æ ·ã","Self-Billed":"èªå¼","Self-Billed E-Invoice":"èªå¼çµåå票","Submission ID":"æäº¤ID","Submit Verification Code":"æäº¤éªè¯ç ",State:"å·","Sub Type":"åç±»å","Tax Code":"ç¨æ³","Tax Identification Number (TIN)":"ç¨å· (TIN)","Tax Identification Number (TIN) - Validated":"ç¨å· (TIN) - å·²éªè¯","TIN Validated":"TIN å·²éªè¯","Tax Type":"ç¨ç§",Valid:"ææ","Validate TIN":"éªè¯ TIN",Validated:"å·²éªè¯","Validated Date":"éªè¯æ¥æ","Verification Code":"éªè¯ç ","View E-Invoice":"æ¥ççµåå票","Warning! This item is NOT included in E-Invoice.":"è¦åï¼æ¤é¡¹ç®æªå
å«å¨çµåå票ä¸ã","You are not registered!":"æ¨å°æªæ³¨åï¼","Your e-invoice details have already been updated!":"æ¨çé»åç¼ç¥¨è©³æ
å·²æ´æ°ï¼"},ms:{"Army Number":"Nombor Tentera",Awaiting:"Menunggu","BRN is a unique number given by SSM.":"BRN ialah nombor unik yang diberikan oleh SSM.","Business Registration No. (BRN)":"Nombor Pendaftaran Perniagaan (BRN)","Cannot issue consolidated E-Invoice for amount more than 10K.":"Tidak dapat mengeluarkan E-Invois terkumpul untuk jumlah lebih daripada 10K.",City:"Bandar","Click here to view E-Invoice.":"Klik di sini untuk melihat E-Invois.","Click to validate TIN.":"Klik untuk menyahpepijat TIN.",Consolidated:"Disatukan","Doc. Date":"Doc. Tarikh","Doc. Type":"Doc. Taip","Due to e-invoice requirements, the optional field can only be selected on a proforma invoice.":"Karena keperluan e-invois, bidang opsional hanya boleh dipilih pada proforma invoice.","Due to e-invoice requirements, the quantity field is editable only on proforma invoices.":"Karena keperluan e-invois, bidang kuantiti hanya boleh diedit pada proforma invoice.",Enabled:"Didayakan","E-Invoice":"E-Invois","E-invoice can only be unselected in pricing item.":"E-Invois hanya boleh tidak dipilih dalam item harga.","Either ID or TIN Number is wrong.":"Sama ada ID atau Nombor TIN adalah salah.","eInvoice status of each line item will also be changed!":"Status eInvois setiap item baris juga akan ditukar!","Enter mobile phone number to get a SMS verification code.":"Masukkan nombor telefon mudah alih untuk mendapatkan kod pengesahan SMS.","Full E-Invoice!":"E-Invois Penuh!","Get Verification Code":"Dapatkan Kod Pengesahan","I am a Foreigner":"Saya adalah warganegara asing","IC Number":"Nombor IC","ID Type":"Jenis Pengenalan","If declined, no e-invoice will be provided.":"Jika ditolak, tiada e-invois akan diberikan.","Industry Classification Code":"Kod Klasifikasi Industri","Included in e-Invoice.":"Termasuk dalam e-Invois.",Invalid:"Tidak Sah","Invalid Verification Code!":"Kod Pengesahan Tidak Sah!","Issued Date":"Tarikh Dikeluarkan","List E-Invoices":"Senaraikan E-Invois","Must enter ID Type, ID Number and TIN Number first!":"Mesti masukkan Jenis ID, Nombor ID dan Nombor TIN terlebih dahulu!","Must enter BRN and TIN Number first!":"Mesti masukkan BRN dan Nombor TIN dahulu!","Must select captcha first!":"Mesti pilih captcha dahulu!","Must val
1idate TIN.":"Mesti sahkan Nombor TIN.","Partial E-Invoice!":"E-Invois Separa!","NO E-Invoice!":"TIADA E-Invois!",None:"Tiada","Notice: <ul><li>You confirm that the data entered is true and accurate.</li><li>You give your consent for us to use the data submitted for e-invoice purpose.</li><li>You agree not to hold us responsible on any liability or loss as a result of the e-invoicing process.</li></ul>":"Notis: <ul><li>Anda mengesahkan bahawa data yang dimasukkan adalah benar dan tepat.</li><li>Anda memberikan kebenaran anda untuk kami menggunakan data yang diserahkan untuk tujuan e-invois.</li><li>Anda bersetuju untuk tidak bertanggungjawab ke atas sebarang liabiliti atau kerugian akibat daripada proses e-invois.</li></ul>","Only if applicable.":"Hanya jika berkenaan.","Only new BRN is allowed.":"Hanya BRN baharu dibenarkan.","Passport Number":"Nombor Pasport",Postcode:"Poskod","QR Code for your customer to update own e-Invoice info.":"Kod QR untuk pelanggan anda mengemas kini maklumat e-Invois sendiri.","Require Self-Billed E-Invoice":"Perlu E-Invois Bil Sendiri","Sales & Service Tax Number (SST)":"Nombor Cukai Jualan & Perkhidmatan (SST)","Same as the above.":"Sama seperti di atas.","Self-Billed":"Bil Sendiri","Self-Billed E-Invoice":"E-Invois Bil Sendiri",State:"Negeri","Sub Type":"Sub Jenis","Submission ID":"ID Penyerahan","Submit Verification Code":"Hantar Kod Pengesahan","Tax Code":"Kod Cukai","Tax Identification Number (TIN)":"Nombor Pengenalan Cukai (TIN)","Tax Identification Number (TIN) - Validated":"Nombor Pengenalan Cukai (TIN) - Disahkan","TIN Validated":"TIN Disahkan","Tax Type":"Jenis Cukai",Valid:"Sah","Validate TIN":"Sahkan TIN",Validated:"Disahkan","Validated Date":"Tarikh Disahkan","Verification Code":"Kod Pengesahan","View E-Invoice":"Lihat E-Invois","Warning! This item is NOT included in E-Invoice.":"Amaran! Item ini TIDAK termasuk dalam E-Invois.","You are not registered!":"Anda tidak berdaftar!","Your e-invoice details have already been updated!":"Butiran e-invois anda telah dikemas kini!"}}},55181:function(e,t,a){"use strict";a.r(t),t.default={en:{"Add E-Invoice Section":"Add E-Invoice Section","Add Emergency Contact Section":"Add Emergency Contact Section","Add Guardian Section":"Add Guardian Section","Add Additional Info. Section":"Add Additional Info. Section","Add Document Checklist Section":"Add Document Checklist Section","Add Sibling Section":"Add Sibling Section","Add Medical Info. Section":"Add Medical Info. Section","Add Other Sections":"Add Other Sections","Add Member Info. Section":"Add Member Info. Section","Add Student Info. Section":"Add Student Info. Section","Add Previous School Section":"Add Previous School Section","Add Enrollment Form":"Add Enrollment Form","Add (with default)":"Add (with default)","Added a section below!":"Added a section below!","Additional Prefix for Student ID. Max 5 characters.":"Additional Prefix for Student ID. Max 5 characters.","Click here to open this form for member to register.":"Click here to open this form for member to register.","Click here to open this form for parent/student to register.":"Click here to open this form for parent/student to register.","Click here to copy a link to this form for parent/student to register.":"Click here to copy a link to this form for parent/student to register.","Click here to copy a link to this form for member to register.":"Click here to copy a link to this form for member to register.","Data of the above field will be copied to member profile after registration is accepted.":"Data of the above field will be copied to member profile after registration is accepted.","Data of the above field will be copied to student profile after registration is accepted.":"Data of the above field will be copied to student profile after registration is accepted.","Delete Enrollment Form":"Delete Enrollment Form","Edit Enrollment Form":"Edit Enrollment Form","Enrollment closed date":"Enrollment closed date","Enrollment Form":"Enrollment Form","Enrollment form with the same title already exists!":"Enrollment form with the same title already exists!","Enter additional note if required.":"Enter additional note if required.","Enter title of section if required.":"Enter title of section if required.","Form #":"Form #","Form Name":"Form Name","Link To":"Link To","List Enrollment Forms":"List Enrollment Forms","Member IC":"Member IC","Member IC Picture":"Member IC Picture","Member Passport Picture":"Member Passport Picture","Member Passport No.":"Member Passport No.","Member Passport Expiry Date":"Member Passport Expiry Date","Member Picture":"Member Picture","Member Gender":"Member Gender","Member Birth Date":"Member Birth Date","Member Birth Place":"Member Birth Place","Member Citizenship":"Member Citizenship","Member Birth Certificate Number":"Member Birth Certificate Number","Member Birth Certificate":"Member Birth Certificate","Member Race":"Member Race","Member Religion":"Member Religion","Member Address":"Member Address","Member Mobile":"Member Mobile","Member Email"
1:"Member Email","Office Use Only":"Office Use Only","Once registrations exist, certain fields can no longer be edited.":"Once registrations exist, certain fields can no longer be edited.","Section Title":"Section Title","Student IC":"Student IC","Student IC Picture":"Student IC Picture","Student Passport Picture":"Student Passport Picture","Student Passport No.":"Student Passport No.","Student Passport Expiry Date":"Student Passport Expiry Date","Student Picture":"Student Picture","Student Gender":"Student Gender","Student Birth Date":"Student Birth Date","Student Birth Place":"Student Birth Place","Student Citizenship":"Student Citizenship","Student Birth Certificate Number":"Student Birth Certificate Number","Student Birth Certificate":"Student Birth Certificate","Student Prefix":"Student Prefix","Student Race":"Student Race","Student Religion":"Student Religion","Student Address":"Student Address","Student Mobile":"Student Mobile","Student Email":"Student Email",Unlink:"Unlink","View Enrollment Form":"View Enrollment Form","View Registration Form":"View Registration Form","Failed to copy!":"Failed to copy!"},zh:{"Add E-Invoice Section":"æ·»å çµåå票é¨å","Add Emergency Contact Section":"æ·»å ç´§æ¥è系人é¨å","Add Guardian Section":"æ·»å çæ¤äººé¨å","Add Additional Info. Section":"æ·»å éå ä¿¡æ¯é¨å","Add Document Checklist Section":"æ·»å æä»¶æ¸
åé¨å","Add Sibling Section":"æ·»å å
å¼å§å¦¹é¨å","Add Medical Info. Section":"æ·»å å»çä¿¡æ¯é¨å","Add Other Sections":"æ·»å å
¶ä»é¨å","Add Member Info. Section":"æ·»å ä¼åä¿¡æ¯é¨å","Add Student Info. Section":"æ·»å å¦çä¿¡æ¯é¨å","Add Previous School Section":"æ·»å 以å¾å¦æ ¡é¨å","Add Enrollment Form":"æ·»å ç»è®°è¡¨æ ¼","Add (with default)":"æ·»å ï¼é»è®¤ï¼","Added a section below!":"已添å ä¸ä¸ªé¨åï¼","Additional Prefix for Student ID. Max 5 characters.":"å¦çç¼å·çéå åç¼ãæå¤5个å符ã","Click here to open this form for member to register.":"å廿¤å¤æå¼æ¤è¡¨åï¼ä¾ä¼å注åã","Click here to open this form for parent/student to register.":"å廿¤å¤æå¼æ¤è¡¨æ ¼ï¼ä¾å®¶é¿/å¦ç注åã","Click here to copy a link to this form for parent/student to register.":"å廿¤å¤å¤å¶æ¤è¡¨åç龿¥ï¼ä»¥ä¾å®¶é¿/å¦ç注åã","Click here to copy a link to this form for member to register.":"å廿¤å¤å¤å¶æ¤è¡¨åç龿¥ï¼ä»¥ä¾ä¼å注åã","Data of the above field will be copied to member profile after registration is accepted.":"注å被æ¥ååï¼ä¸è¿°åæ®µçæ°æ®å°è¢«å¤å¶å°ä¼åèµæä¸ã","Data of the above field will be copied to student profile after registration is accepted.":"注å被æ¥ååï¼ä¸è¿°åæ®µçæ°æ®å°è¢«å¤å¶å°å¦çèµæä¸ã","Delete Enrollment Form":"å é¤ç»è®°è¡¨æ ¼","Edit Enrollment Form":"æ´æ¹ç»è®°è¡¨æ ¼","Enrollment closed date":"ç»è®°æªæ¢æ¥æ","Enrollment Form":"ç»è®°è¡¨æ ¼","Enrollment form with the same title already exists!":"åæ é¢çç»è®°è¡¨æ ¼å·²åå¨ï¼","Enter additional note if required.":"妿éè¦ï¼è¯·è¾å
¥éå æ³¨éã","Enter title of section if required.":"妿éè¦ï¼è¯·è¾å
¥é¨åæ é¢ã","Form #":"è¡¨æ ¼ #","Form Name":"è¡¨æ ¼åç§°","Link To":"龿¥å°","List Enrollment Forms":"ååºç»è®°è¡¨æ ¼","Member IC":"ä¼å身份è¯å·ç ","Member IC Picture":"ä¼å身份è¯å¾ç","Member Passport Picture":"ä¼åæ¤ç
§å¾ç","Member Passport No.":"ä¼åæ¤ç
§å·ç ","Member Passport Expiry Date":"ä¼åæ¤ç
§å°ææ¥","Member Picture":"ä¼åç
§ç","Member Gender":"ä¼åæ§å«","Member Birth Date":"ä¼ååºçæ¥æ","Member Birth Place":"ä¼ååºçå°ç¹","Member Citizenship":"ä¼åå
¬æ°æ","Member Birth Certificate Number":"ä¼ååºçè¯æå·ç ","Member Birth Certificate":"ä¼ååºçè¯","Member Race":"ä¼åç§æ","Member Religion":"ä¼å宿","Member Address":"ä¼åå°å","Member Mobile":"ä¼åææºå·ç ","Member Email":"ä¼åçµé®å°å","Office Use Only":"ä»
éåå
¬å®¤ä½¿ç¨","Once registrations exist, certain fields can no longer be edited.":"䏿¦å卿³¨åï¼æäºåæ®µå°æ æ³åæ´æ¹ã","Section Title":"é¨åæ é¢","Student IC":"å¦ç身份è¯å·ç ","Student IC Picture":"å¦ç身份è¯å¾ç","Student Passport Picture":"å¦çæ¤ç
§å¾ç","Student Passport No.":"å¦çæ¤ç
§å·ç ","Student Passport Expiry Date":"å¦çæ¤ç
§å°ææ¥","Student Picture":"å¦çç
§ç","Student Gender":"å¦çæ§å«","Student Birth Date":"å¦çåºçæ¥æ","Student Birth Place":"å¦çåºçå°","Student Citizenship":"å¦çå
¬æ°æ","Student Birth Certificate Number":"å¦çåºçè¯æå·ç ","Student Birth Certificate":"å¦çåºçè¯","Student Prefix":"å¦çåç¼","Student Race":"å¦çç§æ","Student Religion":"å¦ç宿","Student Address":"å¦çå°å","Student Mobile":"å¦çææºå·ç ","Student Email":"å¦ççµé®å°å",Unlink:"è§£é¤é¾æ¥","View Enrollment Form":"æ¥çç»è®°è¡¨æ ¼","View Registration Form":"æ¥ç注åè¡¨æ ¼","Failed to copy!":"å¤å¶å¤±è´¥ï¼"},ms:{"Add E-Invoice Section":"Tambah Seksyen E-Invoice","Add Emergency Contact Section":"Tambah Seksyen Hubungi Darurat","Add Guardian Section":"Tambah Seksyen Penjaga","Add Additional Info. Section":"Tambah Seksyen Maklumat Tambahan","Add Document Checklist Section":"Tambah Seksyen Senarai Semak Dokumen","Add Sibling Section":"Tambah Seksyen Adik beradik","Add Medical Info. Section":"Tambah Seksyen Maklumat Kesihatan","Add Other Sections":"Tambah Seksyen Lain","Add Member Info. Section":"Tambah Seksyen Maklumat Ahli","Add Student Info. Section":"Tambah Seksyen Maklumat Pelajar","Add Enrollment Form":"Tambah Borang Pendaftaran","Add (with default)":"Tambah (dengan lalai)","Added a section below!":"Tambah seksyen di bawah!","Additional Prefix for Student ID. Max 5 characters.":"Awalan tambahan untuk ID Pelajar. Maksimum 5 aksara.","Click here to open this form for member to register.":"Klik di sini untuk membuka borang ini untuk mendaftar ahli.","Click here to open this form for parent/student to register.":"Klik di sini untuk membuka borang ini untuk ibu bapa/pelajar mendaftar.","Click here to copy a link to this form for parent/student to register.":"Klik di sini untuk menyalin pautan ke borang ini untuk ibu bapa/pelajar mendaftar.","Click here to copy a link to this form for member to register.":"Klik di sini untuk menyalin pautan ke borang ini untuk ahli mendaftar.","Data of the above field will be copied to member profile after registration is accepted.":"Data medan di atas akan disalin ke profil ahli selepas pendaftaran diterima.","Data of the above field will be copied to student profile after registration is accepted.":"Data medan di atas akan disalin ke profil pelajar selepas pendaftaran diterima.","Delete Enrollment Form":"Padamkan Borang Pendaftaran","Edit Enrollment Form":"Edit Borang Pendaftaran","Enrollment closed date":"Tarikh tutup pendaftaran","Enrollment Form":"Borang Pendaftaran","Enrollment form with the same title already exists!":"Borang dengan tajuk yang sama sudah wujud!","Enter additional note if required.":"Masukkan nota tambahan jika perlu.","Enter title of section if required.":"Masukkan tajuk bahagian jika perlu.","Form #":"Borang #","Form Name":"Nama Borang","Link To":"Hubungan","List Enrollment Forms":"Senaraikan Borang Pendaftaran","Member IC":"IC No. Ahli","Member IC Picture":"Gambar IC Ahli","Member Passport Picture":"Gambar Passport Ahli","Member Passport No.":"No. Passport Ahli","Member Passport Expiry Date":"Tarikh Luput Passport Ahli","Member Picture":"Gambar Ahli","Member Gender":"Jantina Ahli","Member Birth Date":"Tarikh Lahir Ahli","Member Birth Place":"Tempat Lahir Ahli","Member Citizenship":"Kewarganegaraan Ahli","Member Birth Certificate Number":"Nombor Sijil Kelahiran Ahli","Member Birth Certificate":"Sijil Kelahiran Ahli","Member Race":"Bangsa Ahli","Member Religion":"Agama Ahli","Member Address":"Alamat Ahli","Member Mobile":"Nombor Bimbit Ahli","Member Email"
1:"Emel Ahli","Office Use Only":"Kegunaan Pejabat Sahaja","Once registrations exist, certain fields can no longer be edited.":"Setelah pendaftaran wujud, medan tertentu tidak boleh diedit lagi.","Section Title":"Tajuk Seksyen","Student IC":"IC No. Pelajar","Student IC Picture":"Gambar IC Pelajar","Student Passport Picture":"Gambar Passport Pelajar","Student Picture":"Gambar Pelajar","Student Gender":"Jantina Pelajar","Student Birth Date":"Tarikh Lahir Pelajar","Student Birth Place":"Tempat Lahir Pelajar","Student Citizenship":"Kewarganegaraan Pelajar","Student Birth Certificate Number":"Nombor Sijil Kelahiran Pelajar","Student Birth Certificate":"Sijil Kelahiran Pelajar","Student Prefix":"Awalan Pelajar","Student Race":"Bangsa Pelajar","Student Religion":"Agama Pelajar","Student Address":"Alamat Pelajar","Student Mobile":"Nombor Bimbit Pelajar","Student Email":"Emel Pelajar",Unlink:"Nyah Hubungan","View Enrollment Form":"Lihat Borang Pendaftaran","View Registration Form":"Lihat Borang Pendaftaran","Failed to copy!":"Gagal menyalin!"}}},42872:function(e,t,a){"use strict";a.r(t),t.default={en:{"Export Income Statement":"Export Income Statement","Gross Salary":"Gross Salary","Profit/Loss":"Profit/Loss",Revenues:"Revenues","Staff Cost":"Staff Cost","Statutory Contribution":"Statutory Contribution","Total Expenses":"Total Expenses","Total Claims":"Total Claims","Total Revenues":"Total Revenues","Total Staff Cost":"Total Staff Cost","Non Payroll Admin user cannot see Staff Cost and Profit/Loss":"Non Payroll Admin user cannot see Staff Cost and Profit/Loss"},zh:{"Export Income Statement":"è¾åºæç表","Gross Salary":"èªèµæ»é¢","Profit/Loss":"çå©/äºæ",Revenues:"æ¶å
¥","Staff Cost":"åå·¥ææ¬","Statutory Contribution":"æ³å®ä¾æ¬¾","Total Expenses":"æ¯åºæ»é¢","Total Claims":"ç´¢èµæ»é¢","Total Revenues":"æ¶å
¥æ»é¢","Total Staff Cost":"åå·¥ææ¬æ»é¢","Non Payroll Admin user cannot see Staff Cost and Profit/Loss":"éå·¥èµç®¡çåç¨æ·æ æ³æ¥çåå·¥ææ¬å婿¶¦/äºæ"},ms:{"Export Income Statement":"Eksport Penyata Pendapatan","Gross Salary":"Gaji Kasar","Profit/Loss":"Untung/Rugi",Revenues:"Hasil","Staff Cost":"Kos Kakitangan","Statutory Contribution":"Sumbangan Berkanun","Total Expenses":"Jumlah Perbelanjaan","Total Claims":"Jumlah Tuntutan","Total Revenues":"Jumlah Hasil","Total Staff Cost":"Jumlah Kos Kakitangan","Non Payroll Admin user cannot see Staff Cost and Profit/Loss":"Pengguna Bukan Pentadbir Gaji tidak dapat melihat Kos Kakitangan dan Untung/Rugi"}}},78366:function(e,t,a){"use strict";a.r(t),t.default={en:{App:"App","Code (Sent)":"Code (Sent)","List Mobiles":"List Mobiles","View Mobile":"View Mobile"},zh:{App:"åºç¨ç¨å¼","Code (Sent)":"代ç (å·²åé)","List Mobiles":"ååºææº","View Mobile":"æ¥çææº"},ms:{App:"Aplikasi","Code (Sent)":"Kod (Dihantar)","List Mobiles":"Senarai Bimbit","View Mobile":"Lihat Bimbit"}}},18090:function(e,t,a){"use strict";a.r(t),t.default={en:{"Add Tag":"Add Tag","Edit Tag":"Edit Tag","List Tags":"List Tags","View Tag":"View Tag"},zh:{"Add Tag":"æ·»å æ ç¾","Edit Tag":"æ´æ¹æ ç¾","List Tags":"ååºæ ç¾","View Tag":"æ¥çæ ç¾"},ms:{"Add Tag":"Tambah Tag","Edit Tag":"Edit Tag","List Tags":"Senarai Tag","View Tag":"Lihat Tag"}}},51196:function(e,t,a){"use strict";a.r(t),t.default={en:{"Add Event":"Add Event","Delete Event":"Delete Event","Delete Events":"Delete Events","Edit Event":"Edit Event","Event Ref.":"Event Ref.","Event Date":"Event Date","Event is in the past!":"Event is in the past!","Event Title":"Event Title","Event with the same title already exists!":"Event with the same title already exists!","Expire Events":"Expire Events","Expired events are only shown if searched by Expired status.":"Expired events are only shown if searched by Expired status.","Export Events":"Export Events","List Events":"List Events",Planned:"Planned","Recall Event":"Recall Event","Recipients cannot register after due date.":"Recipients cannot register after due date.","Reject Event":"Reject Event","Resend Event":"Resend Event","Revise Event":"Revise Event","Save as Draft":"Save as Draft","Save as Planned":"Save as Planned","Send Events":"Send Events","Send Event":"Send Event","Submit Event":"Submit Event","View Event":"View Event"},zh:{"Add Event":"æ·»å æ´»å¨","Delete Event":"å 餿´»å¨","Delete Events":"å 餿´»å¨","Edit Event":"æ´æ¹æ´»
1å¨","Event Ref.":"æ´»å¨åèå·","Event Date":"æ´»å¨æ¥æ","Event is in the past!":"æ´»å¨å·²è¿æï¼","Event Title":"æ´»å¨æ é¢","Event with the same title already exists!":"ååæ´»å¨å·²åå¨ï¼","Expire Events":"è¿ææ´»å¨","Expired events are only shown if searched by Expired status.":"ä»
æ¾ç¤ºè¿ææ´»å¨å¦ææç´¢è¿æç¶æã","Export Events":"è¾åºæ´»å¨","List Events":"ååºæ´»å¨",Planned:"计å","Recall Event":"æ¤éæ´»å¨","Recipients cannot register after due date.":"æªæ¢æ¥æè¿åï¼æ¶ä»¶äººä¸è½æ³¨åã","Reject Event":"æç»æ´»å¨","Resend Event":"éåæ´»å¨","Revise Event":"ä¿®æ¹æ´»å¨","Save as Draft":"ä¿å为è稿","Save as Planned":"å¦å为计å","Send Events":"åéæ´»å¨","Send Event":"åéæ´»å¨","Submit Event":"æäº¤æ´»å¨","View Event":"æ¥çæ´»å¨"},ms:{"Add Event":"Tambah Acara","Delete Event":"Padam Acara","Delete Events":"Padam Acara","Edit Event":"Edit Acara","Event Ref.":"Ruj. Acara","Event Date":"Tarikh Acara","Event is in the past!":"Acara telah berlalu!","Event Title":"Tajuk Acara","Event with the same title already exists!":"Acara dengan tajuk yang sama sudah wujud!","Expire Events":"Tamat Acara","Expired events are only shown if searched by Expired status.":"Acara Tamat hanya ditunjukkan jika dicari dengan status Tamat.","Export Events":"Eksport Acara","List Events":"Senarai Acara",Planned:"Terancang","Recall Event":"Tarik balik Acara","Recipients cannot register after due date.":"Penerima tidak boleh mendaftar selepas tarikh akhir.","Reject Event":"Tolak Acara","Resend Event":"Hantar Semula Acara","Revise Event":"Semak Acara","Save as Draft":"Simpan sebagai Draf","Save as Planned":"Simpan sebagai Terancang","Send Events":"Hantar Acara","Send Event":"Hantar Acara","Submit Event":"Serah Acara","View Event":"Lihat Acara"}}},26190:function(e,t,a){"use strict";a.r(t),t.default={en:{"Add Visitor":"Add Visitor","Additional Info.":"Additional Info.","Already in!":"Already in!","Edit Visitor":"Edit Visitor",In:"In","List Visitors":"List Visitors",Out:"Out","View Visitor":"View Visitor"},zh:{"Add Visitor":"æ·»å 访客","Additional Info.":"éå ä¿¡æ¯","Already in!":"å·²å
¥ï¼","Edit Visitor":"æ´æ¹è®¿å®¢",In:"å
¥","List Visitors":"ååºè®¿å®¢",Out:"åº","View Visitor":"æ¥ç访客"},ms:{"Add Visitor":"Tambah Pelawat","Additional Info.":"Maklumat tambahan","Already in!":"Sudah Masuk!","Edit Visitor":"Edit Pelawat",In:"Masuk","List Visitors":"Senaraikan Pelawat",Out:"Keluar","View Visitor":"Lihat Pelawat"}}},49014:function(e,t,a){"use strict";a.r(t),t.default={en:{"Asset Type":"Asset Type","Assigned To":"Assigned To","List Asset Tracking":"List Asset Tracking","Rented By":"Rented By","Returned By":"Returned By","Sold To":"Sold To","View Asset Tracking":"View Asset Tracking"},zh:{"Asset Type":"èµäº§ç±»å","Assigned To":"åé
ç»","List Asset Tracking":"ååºèµäº§è¿½è¸ª","Rented By":"ç§ç¨è
","Returned By":"å½è¿è
","Sold To":"åç»","View Asset Tracking":"æ¥çèµäº§è¿½è¸ª"},ms:{"Asset Type":"Jenis Aset","Assigned To":"Ditugaskan untuk","List Asset Tracking":"Senaraikan Penjejakan Aset","Rented By":"Disewa Oleh","Returned By":"Dikembalikan Oleh","Sold To":"Dijual kepada","View Asset Tracking":"Lihat Penjejakan Aset"}}},58592:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return r}});var i=a(32362),s=a(19571),o=a(17347),n=a(60904);class r{constructor(e,t){(0,i.A)(this,"functions",(e=>({formatLogUser:n.default.formatLogUser,sendAI:o.default.sendData,saveAIData:o.default.saveAIData,copyAllAccounts:n.default.copyAllAccounts,copySelectedAccounts:n.default.copySelectedAccounts}))),s.default.initService(e,t,this.functions(e))}}(0,i.A)(r,"apiPath","/api/comments")},6226:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return r}});var i=a(32362),s=(a(44114),a(19571)),o=a(17347),n=a(60904);class r{constructor(e,t){(0,i.A)(this,"functions",(e=>({formatLogUser:n.default.formatLogUser,formatTags:r.formatTags,sendAI:o.default.sendData,saveAIData:o.default.saveAIData}))),s.default.initService(e,t,this.functions(e))}static formatTags(e,t,a){const i=[];for(const t of e)switch(t.kind){case"Phone":i.push(`<a href="tel:${t.value}"><i class="fa fa-phone"></i> ${t.value}</a>`);break;case"Email":i.push(`<a href="mailto:${t.value}"><i class="fa fa-envelope"></i> ${t.value}</a>`);break;case"Facebook":i.push(`<a href="https://www.facebook.com/${t.value}" target="_blank"><i class="fab fa-facebook-square"></i> ${t.value}</a>`);break;case"Instagram":i.push(`<a href="https://www.instagram.com/${t.value}" target="_blank"><i class="fab fa-instagram-square"></i> ${t.value}</a>`);break;default:t.value&&i.push(t.value)}return i.join(" | ")}}},41036:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return D}});var i=a(32362),s=(a(44114),a(18657)),o=a(19571),n=a(11660),r=a(65865),l=a(60904),d=a(29972),u=a(23049),c=a(83280),f=a(6357),m=a(80510),p=a(1950),h=a(82802),b=a(44940),g=a(54751),v=a(34685),S=a(20268),y=a(24682);class D{constructor(e,t){(0,i.A)(this,"functions",(e=>({formatMemberSelect:S.default.formatMemberSelect,formatMembers:S.default.formatMembers,formatViewTitle:l.default.formatViewTitle,formatCheckList:c.default.formatCheckList,formatCheckListCompulsory:c.default.formatCompulsory,formatGroup:v.default.formatGroup,formatLogUser:l.default.formatLogUser,formatDeleted:D.formatDeleted,validateCheckListResponse:c.default.validateCheckListCompulsory,tabChanged:this.tabChanged.bind(e),showLogValues:this.showLogValues.bind(e),showAllLogValues:D.showAllLogValues,showLogDetails:this.showLogDetails.bind(e),showAllLogDetails:this.showAllLogDetails.bind(e),isDeleted:D.isDeleted,isNotEdit:D.isNotEdit,editLogSelected:D.editLogSelected,deleteDetailSelected:this.deleteDetailSelected.bind(e),deleteLogDetailSelected:this.deleteLogDetailSelected.bind(e),detailChanged:this.detailChanged.bind(e),logDetailChanged:this.logDetailChanged.bind(e),addDetails:this.addDetails.bind(e),addAllLogDetails:this.addAllLogDetails.bind(e),addLogDetails:this.addLogDetails.bind(e),saveDetails:this.saveDetails.bind(e),saveLogDetails:this.saveLogDetails.bind(e),saveAllLogDetails:this.saveAllLogDetails.bind(e),dailyFormatName:D.dailyFormatName,memberListFunc:this.memberListFunc.bind(e),dailyViewData:this.dailyViewData.bind(e),dailyAddData:this.dailyAddData.bind(e),postListData:this.postListData.bind(e),dailyStartChanged:this.dailyStartChanged.bind(e),dailyGroupsChanged:this.dailyGroupsChanged.bind(e),attendeeSelected:this.attendeeSelected.bind(e),viewPDF:this.viewPDF.bind(e),preListData:this.preListData.bind(e),yearSelected:this.yearSelected.bind(e),yearPopupSelected:this.yearPopupSelected.bind(e),selectMemberFunc:this.selectMemberFunc.bind(e),processAll:d.default.processAll,processSelected:d.default.processSelected,refreshAbsent:this.refreshAbsent.bind(e),processAllAbsent:this.processAllAbsent.bind(e),processSelectedAbsent:this.processSelectedAbsent.bind(e),downloadAll:D.downloadAll,downloadSelected:D.downloadSelected,resetErrorMessage:l.default.resetErrorMessage,formatAlertNameMobile:u.default.formatAlertNameMobile,listStats:this.listStats.bind(e),enableStats:u.default.enableStats}))),o.default.initService(e,t,this.functions(e))}static setRefAndValues(e,t,a){let i=!1;if(t&&(t.logRef=a),e)for(const t of e)n.default.isEmpty(t.value)&&n.default.isEmpty(t.files)||(i=!0),t.logRef=a;return i}static getPageDetails(e){return e?n.default.isEmpty(e.details)?e.logDetails||[]:e.details:[]}static initViewDetails(e,t){if(e){let a=!1;const i=D.getPageDetails(e);if(i&&i.length>0)for(const o of i)t&&s.lD.set(o,"hide",!0),s.lD.set(o,"hasValues",D.setRefAndValues(o.values,o,e)),o&&(!o.edit&&!o.deleted&&o.hasValues)&&(a=!0);s.lD.set(e,"showHideAll",a)}}static formatDeleted(e,t,a,i){const s=e&&"time"===a.model?r.default.formatTime(e,a):e;return s&&t.deleted?'<span class="el-deleted">'+s+"</span>":s}tabChanged(e,t,a){"Staff"===e?d.default.setQueryParams({memberType:"Staff"},this.$route,a):m.default.removeQueryParam(this.$route,["memberType"])}showLogValues(e,t,a){s.lD.set(t,"hide",a.args.hide);const i=o.default.getPageValue(this);if(i&&i[a.args.model]){const e=n.default.find(i[a.args.model],(e=>!e.deleted&&e.hasValues&&e.hide));s.lD.set(i,"hideAll",!!e)}}static showAllLogValues(e,t,a){const i=D.getPageDetails(t);if(i)for(const e of i)e&&e.values&&e.values.length>0&&s.lD.set(e,"hide",a.args.hide);s.lD.set(t,"hideAll",a.args.hide)}showLogDetails(e,t,a){s.lD.set(t,"show",a.args.show);const i=o.default.getPageView(this),r=o.default.getPageValue(this),l=o.default.findFormField(i?.tabs,"attendees","table");l?.setFilterProp&&l.setFilterProp("info","show",!!n.default.find(r?.attendees,(e=>
1e&&e.hasDetails&&e.show)))}showAllLogDetails(e,t,a){const i=o.default.getPageValue(this);for(const e of i?.attendees)e.hasDetails&&s.lD.set(e,"show",a.args.show);const n=o.default.getPageView(this),r=o.default.findFormField(n?.tabs,"attendees","table");r?.setFilterProp&&r.setFilterProp("info","show",a.args.show)}static isDeleted(e,t,a){return!!t&&(e.args.delete?!t.deleted:t.deleted)}static isNotEdit(e,t,a){return!t.edit}static setUnSend(e){const t=o.default.getPageView(e),a=o.default.getPageValue(e);let i=!1,s=!1,n=!1,r=!1;for(const e of a?.attendees)(e.unSave||"Saved"===e.status)&&(i=!0),e.unSave&&(n=!0,s=!0),r||(r=e&&e.hasDetails&&e.show);const l=o.default.findFormField(t?.tabs,"attendees","table");l?.setFilterProp&&(l.setFilterProp("info","unSend",i),l.setFilterProp("info","unSave",s),l.setFilterProp("info","show",r)),g.t.SetDirty(n)}static editLogSelected(e,t,a){s.lD.set(t,"edit",!0),s.lD.set(t,"hide",!1)}static deleteSelected(e,t){if(t&&e){const a=n.default.find(e,(e=>!e.deleted&&e.hasValues&&e.hide));s.lD.set(t,"hideAll",!!a)}t&&s.lD.set(t,"unSave",!0)}deleteDetailSelected(e,t,a){s.lD.set(t,"deleted",e.args.delete);const i=o.default.getPageValue(this);D.deleteSelected(i?.details,i),g.t.SetDirty(!0)}deleteLogDetailSelected(e,t,a,i,o){s.lD.set(t,"deleted",e.args.delete),D.deleteSelected(t.logRef?.details,t.logRef),D.setUnSend(this)}static detailChanged(e){s.lD.set(e,"unSave",!0)}detailChanged(e,t,a,i){const s=o.default.getPageValue(this);D.detailChanged(s),g.t.SetDirty(!0)}logDetailChanged(e,t,a,i,s){t?.logRef&&(D.detailChanged(t?.logRef),D.setUnSend(this))}static addDetails(e,t,a){if(e){const i=t[a]||[];if(e.details){for(const t of e.details)r.default.setUniqueId(t);i.unshift({kind:e.name,time:f.default.getNow(),values:r.default.cloneObject(e.details),edit:!0,added:!0,hide:!1})}else i.unshift({kind:e.name,time:f.default.getNow(),values:null,edit:!0,added:!0});s.lD.set(t,a,i),s.lD.set(t,"hasDetails",!n.default.isEmpty(i));for(const e of i)D.setRefAndValues(e?.values,e,t);const o=n.default.find(i,(e=>!e.deleted&&e.hasValues&&e.hide));s.lD.set(t,"hideAll",!!o),s.lD.set(t,"show",!0),s.lD.set(t,"unSave",!0)}}addDetails(e,t,a){const i=o.default.getPageValue(this);D.addDetails(e,i,"details"),g.t.SetDirty(!0)}addLogDetails(e,t,a){D.addDetails(e,t,"logDetails");const i=o.default.getPageValue(this),s=o.default.getPageView(this),r=o.default.findFormField(s?.tabs,"attendees","table");r?.setFilterProp&&(r.setFilterProp("info","hasDetails",!!n.default.find(i?.attendees,(e=>e&&!n.default.isEmpty(e.logDetails)))),r.setFilterProp("info","unSend",!0),r.setFilterProp("info","unSave",!0)),g.t.SetDirty(!0)}addAllLogDetails(e,t,a){const i=o.default.getPageValue(this);for(const t of i?.attendees)t&&t._selected&&D.addDetails(e,t,"logDetails");const s=o.default.getPageView(this),r=o.default.findFormField(s?.tabs,"attendees","table");r?.setFilterProp&&(r.setFilterProp("info","hasDetails",!!n.default.find(i?.attendees,(e=>e&&!n.default.isEmpty(e.logDetails)))),r.setFilterProp("info","unSend",!0),r.setFilterProp("info","unSave",!0)),g.t.SetDirty(!0)}static initEditDetails(e,t){if(e&&e.length>0)for(let a=0;a<e.length;a++)if(e[a]&&e[a].values&&e[a].values.length>0){s.lD.set(e[a],"hasValues",D.setRefAndValues(e[a].values,e[a],t));for(let t=0;t<e[a].values.length;t++)e[a].values[t]&&!e[a].values[t].value&&"Checkbox"===e[a].values[t].kind&&s.lD.set(e[a].values[t],"value",!1)}return e}static initSaveDetails(e){if(e&&e.length>0)for(let t=0;t<e.length;t++)if(delete e[t]?.logRef,e[t]&&e[t].values&&e[t].values.length>0)for(let a=0;a<e[t].values.length;a++)delete e[t].values[a].logRef,e[t].values[a]&&e[t].values[a].value&&"Long Text"===e[t].values[a].kind&&s.lD.set(e[t].values[a],"value",b.default.changeToHtml(e[t].values[a],"value"));return e}static createObj(e,t,a){return{account:r.default.getId(a.account),startDate:a.startDate,logDetails:D.initSaveDetails(t.logDetails||[]),status:t.status,members:[r.default.getId(t)],memberType:t.memberType||a.memberType,_action:e,_edit:!0}}static updateObj(e,t){const a=n.default.find(t,(t=>n.default.find(e.members,(e=>r.default.compareObject(e,t)))));a&&(e.error?(s.lD.set(a,"logDetails",D.initEditDetails(a.logDetails,a)),s.lD.set(a,"error",e.error)):(s.lD.set(a,"logDetails",D.initEditDetails(e.details,a)),s.lD.set(a,"hasDetail
1s",!n.default.isEmpty(a.logDetails)),s.lD.set(a,"status",e.status),s.lD.set(a,"inTime",e.inTime),s.lD.set(a,"outTime",e.outTime),s.lD.set(a,"show",!1),s.lD.set(a,"unSave",!1),s.lD.set(a,"error",void 0)))}async saveDetails(e,t,a,i){const s=o.default.getPageValue(this);this.form.validate((async e=>{if(e){const e={...s,details:D.initSaveDetails(s.details||[])};await this.functions.saveData(e,e,a),g.t.SetDirty(!1)}else o.default.toast(p.default.t("Validation Error!"),{type:"error"})}))}static async saveLogDetails(e,t,a){const i=await(0,h.default)({url:`${D.apiPath}/multi`,method:"post",data:{account:t.account,items:e}});let s=!1;for(const e of i?.items)e&&(D.updateObj(e,t?.attendees),e.error||(s=!0));D.setUnSend(a),s&&a.refreshFunc&&a.refreshFunc({noRefreshPage:!0,hideCurrentRow:!0})}async saveLogDetails(e,t,a,i){const s=o.default.getPageValue(this);let r=[];if(e?.logDetails&&e.logDetails.length>0)for(const t of e.logDetails)if(t&&!t.deleted&&t.values&&t.values.length>0)for(const e of t.values)e.compulsory&&("Checkbox"!==e.kind&&"Files"!==e.kind&&"Pictures"!==e.kind&&n.default.isEmpty(e.value)||("Files"===e.kind||"Pictures"===e.kind)&&n.default.isEmpty(e.files)||"Checkbox"===e.kind&&!1!==e.value&&!0!==e.value)&&r.push(e.label);if(n.default.isEmpty(r)){const i=t.unSave||"Saved"===t.status?D.createObj(a._action,e,s):null;i&&await D.saveLogDetails([i],s,this)}else o.default.toast(`${p.default.t("Validation Error!")}. ${p.default.t("Compulsory")}: ${r.join(", ")}`,{type:"error"})}async saveAllLogDetails(e,t,a,i){const s=o.default.getPageValue(this),n=[];for(const e of s?.attendees)"send"===a._action?(e.unSave||"Saved"===e.status)&&n.push(D.createObj(a._action,e,s)):e.unSave&&n.push(D.createObj(a._action,e,s));n&&n.length>0&&await D.saveLogDetails(n,s,this)}static isAbsent(e){return!!(e&&e.logDetails&&e.logDetails.length>0&&n.default.find(e.logDetails,(e=>e&&"Absent"===e.kind)))}static dailyFormatName(e,t,a){return`<span class="fa-stack">\n <i class="fa fa-user fa-stack-1x"></i>\n ${t.inTime||t.outTime||D.isAbsent(t)?"":'<i class="fa fa-ban fa-stack-2x color-danger"></i>'}\n ${t.inTime||t.outTime||!D.isAbsent(t)?"":'<i class="fa fa-ban fa-rotate-270 fa-stack-2x color-warning"></i>'}\n ${t.inTime&&!t.outTime?'<i class="far fa-circle fa-stack-2x color-success"></i>':""}\n </span> `+(t.alias?`${e} (${t.alias})`:e)}async memberListFunc(e,t,a,i){const l=o.default.getPageValue(this),d={...i,startDate:l?.startDate};n.default.isEmpty(l?.groups)||(d.search||(d.search={}),d.search.groups=r.default.getId(l?.groups));const u=await this.functions.listFunc(e,t,a,d);let c,f=!1,m=!1;if(u?.list?.value?.length>0)for(const e of u.list.value){const t=!n.default.isEmpty(e.logDetails);s.lD.set(e,"hasDetails",t),t&&(c=t),(e.unSave||"Saved"===e.status)&&(f=!0),e.unSave&&(m=!0),D.initViewDetails(e,!1)}return a?.setFilterProp&&(a.setFilterProp("info","hasDetails",c),a.setFilterProp("info","show",!1),a.setFilterProp("info","unSend",f),a.setFilterProp("info","unSave",m)),u}async dailyViewData(e,t,a){await this.viewData(e,t,a),D.initViewDetails(o.default.getPageValue(this),!1),g.t.SetDirty(!1)}async dailyAddData(e,t,a){a.args||(a.args={});const i=m.default.getQueryParam("memberType");i?a.args.memberType=i:delete a.args.memberType,await this.addData(e,t,a);const s=o.default.getPageValue(this);s?.startDate&&(s.savedStartDate=s.startDate),s?.groups&&(s.savedGroups=s.groups),g.t.SetDirty(!1)}async postListData(e,t){D.initViewDetails(o.default.getPageValue(this),!1),g.t.SetDirty(!1)}dailyStartChanged(e,t,a){m.default.checkChange((()=>{t.savedStartDate=t.startDate;const e=o.default.getPageView(this),a=o.default.findFormField(e?.tabs,"attendees","table");a?.refreshFunc&&a.refreshFunc({noRefreshPage:!0})}),(()=>{t.startDate=t.savedStartDate}))}dailyGroupsChanged(e,t,a){const i=()=>{t.savedGroups=r.default.cloneObject(t.groups);const e=o.default.getPageView(this),a=o.default.findFormField(e?.tabs,"attendees","table");a?.refreshFunc&&a.refreshFunc({noRefreshPage:!0})};n.default.filter(t.savedGroups||[],(e=>!n.default.find(t.groups||[],(t=>r.default.compareObject(e,t))))).length<=0?i():m.default.checkChange((()=>{i()}),(()=>{t.groups=t.savedGroups}))}attendeeSelected(e,t,a){const i=o.default.getPageView(this),s=o.default.getPageValue(this),r=o.default.findFormField(i?.tabs,"attendees","table");r?.setFilterProp&&r.setFilterProp("info","_selected",!!n.default.find(s?.attendees,(e=>e&&e._selected)))}async viewPDF(e,t,a){a.args||(a.args={}),a.args.startDate=t.startDate,await y.default.downloadFunc(`${D.apiPath}/print`,a.args||{},{type:"pdf",_action:a._action},e,a)}preListData(e){return e||(e={}),m.default.getQueryParam("year")&&!e.year&&(e.year=m.default.getQueryParam("year")),e}yearSelected(e,t,a){this.data&&this.data.list&&this.data.list.view&&(this.data.list.view.args||(this.data.list.view.args={}),this.data.list.view.args.year=e||"",d.default.setQueryParams({year:e||""},this.$route,a)),this.refreshFunc()}yearPopupSelected(e,t,a){this.popup?.view&&(this.popup?.view.args||(this.popup.view.args={}),this.popup.view.args.year=e||"",this.popup.view.refreshFunc&&"function"==typeof this.popup.view.refreshFunc&&this.popup.view.refreshFunc())}selectMemberFunc(e,t,a,i){return e&&t&&t.memberType&&(e.search||(e.search={}),e.search.memberType=t.memberType),this.functions.selectFunc(e,t,a,i)}refreshAbsent(e,t,a){this.popup?.view?.refreshFunc&&(this.popup?.view?.args||(this.popup.view.args={}),this.popup.view.args.startDate=e,this.popup?.view?.refreshFunc({}))}static getProcessAbsentArgs(e,t,a){t.fields=e=>({_id:void 0,members:e._id,startDate:t.table?.info?.startDate,logDetails:[{kind:t.table?.info?.checkType?.name,time:f.default.getNow()}],_noAlert:"Yes"!==r.default.getId(t.table?.info?.alert)||""})}async processAllAbsent(e,t,a,i,s,o){d.default.checkSelected(e,a,"_selected")||(a&&a.table&&(e=await a.table.setPageNumber(1)),D.getProcessAbsentArgs(this,a,"Add"),await d.default.processData("/api/dailyLogs",e,t,a,"","","",!0,!1,o))}async processSelectedAbsent(e,t,a,i,s,o){D.getProcessAbsentArgs(this,a,"Add");const n=a&&a.table?d.default.updateSelectedObjects(a.table.getSelectedItems(),e):e;await d.default.processData("/api/dailyLogs",n||e,t,a,"_selected","","",!0,!1,o)}async listStats(e,t,a,i){await u.default.listStats(this,e,t,a,i)}static getDownloadSetup(e){switch(e._action){default:case"download":return{ty:"daily-log",urlOnly:!1};case"downloadAttachment":return{ty:"daily-log-attachment",urlOnly:!0}}}static setDownloadArgs(e){e?.args||(e.args={}),e?.table?.info?.year&&(e.args.year=e.table.info.year),e?.table?.info?.memberType&&(e.args.memberType=e.table.info.memberType)}static async downloadAll(e,t,a,i,s,o){d.default.checkSelected(e,a,"_selected")||(a&&a.table&&(e=await a.table.setPageNumber(1)),D.setDownloadArgs(a),await d.default.processDownloadPrint(`${D.apiPath}/print`,e,t,a,"","",!0,null,D.getDownloadSetup(a).ty,D.getDownloadSetup(a).urlOnly,o))}static async downloadSelected(e,t,a,i,s,o){const n=a&&a.table?d.default.updateSelectedObjects(a.table.getSelectedItems(),e):e;D.setDownloadArgs(a),await d.default.processDownloadPrint(`${D.apiPath}/print`,n||e,t,a,"_selected","",!0,null,D.getDownloadSetup(a).ty,D.getDownloadSetup(a).urlOnly,o)}}(0,i.A)(D,"apiPath","/api/dailylogs")},93802:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return k}});var i=a(32362),s=a(82802),o=a(18657),n=a(19571),r=a(65865),l=a(29972),d=a(83280),u=a(60904),c=a(34685),f=a(20268),m=a(3942),p=a(37263),h=a(92364),b=a(23049),g=a(24682),v=a(44940),S=a(17347),y=a(11660),D=a(62844),w=a(1950),A=a(6357);class k{constructor(e,t){(0,i.A)(this,"functions",(e=>({saveData:this.saveData.bind(e),formatFiles:l.default.formatFileExists,formatListTitle:u.default.formatListTitle,formatViewTitle:u.default.formatViewTitle,checkListKindChanged:d.default.checkListKindChanged,formatKindHelp:d.default.formatKindHelp,showSchedulePopup:this.showSchedulePopup.bind(e),sendToChanged:u.default.sendToChanged,formatGroup:c.default.formatGroup,formatGroupStatus:c.default.formatGroupStatus,deleteGroups:c.default.deleteGroups,formatMemberSelect:f.default.formatMemberSelect,formatMembers:f.default.formatMembers,formatEInvoice:D.default.formatEInvoice,formatEInvoiceItem:m.default.formatEInvoiceItem,eInvoiceItemChanged:this.eInvoiceItemChanged.bind(e),formatTitleEInvoiceEnabled:k.formatTitleEInvoiceEnabled,addDefaultRow:l.default.addDefaultRow,deleteMembers:f.default.deleteMembers,memberTypeChanged:k.memberTypeChanged,payActiveChanged:this.getPaymentFooter.bind(e),resetPaymentFooter:this.resetPaymentFooter.bind(e),registerActiveChanged:this.registerActiveChanged.bind(e),formatMemberStatus:f.default.formatMemberStatus,formatMemberWithId:f.default.formatMemberWithId,formatEditLink:m.default.formatEditLink,formatAmou
1nt:m.default.formatAmount,formatDateTimeRange:k.formatDateTimeRange,formatLogUser:u.default.formatLogUser,resetErrorMessage:u.default.resetErrorMessage,mapChanged:k.mapChanged,addRegister:p.default.addRegister,saveRegister:p.default.saveRegister,validateSendTo:f.default.validateSendTo,processAll:l.default.processAll,processSelected:l.default.processSelected,processAllSchedule:this.processAllSchedule.bind(e),processSelectedSchedule:this.processSelectedSchedule.bind(e),copyAllAccounts:u.default.copyAllAccounts,copySelectedAccounts:u.default.copySelectedAccounts,viewPDF:k.viewPDF,viewRegPDF:p.default.viewRegPDF,uploadMemberIDFile:f.default.uploadMemberIDFile,validateCheckListResponse:d.default.validateCheckListOptional,validateAddCheckList:d.default.validateAddCheckList,listGroupPricing:this.listGroupPricing.bind(e),formatPricingDescription:h.default.formatPricingDescription,addPaymentItem:this.addPaymentItem.bind(e),addPackageItem:this.addPackageItem.bind(e),amountChanged:this.amountChanged.bind(e),qtyEnabledChanged:m.default.qtyEnabledChanged,qtyChanged:this.qtyChanged.bind(e),optionalChanged:this.optionalChanged.bind(e),optionChanged:this.optionChanged.bind(e),selectChanged:this.selectChanged.bind(e),calculateTotal:this.calculateTotal.bind(e),formatMemberPayerInfoWithId:m.default.formatMemberPayerInfoWithId,getEInvoiceEnableHelp:this.getEInvoiceEnableHelp.bind(e),billTypeChanged:m.default.billTypeChanged,showEditDetailPopup:this.showEditDetailPopup.bind(e),formatItemType:this.formatItemType.bind(e),formatCheckList:d.default.formatCheckList,formatCheckListCompulsory:d.default.formatOptional,formatAlertNameMobile:b.default.formatAlertNameMobile,listStats:this.listStats.bind(e),enableStats:b.default.enableStats,startDateTimeChanged:this.startDateTimeChanged.bind(e),endDateTimeChanged:this.endDateTimeChanged.bind(e),processRegistrationAll:l.default.processAll,processRegistrationSelected:l.default.processSelected,formatRegTitle:p.default.formatRegTitle,formatRegisteredName:p.default.formatRegisteredName,showViewRegistrationPopup:this.showViewRegistrationPopup.bind(e),viewRegistration:p.default.viewRegistration,getPayment:m.default.getPayment,useBillDaysChanged:m.default.useBillDaysChanged,useDueDaysChanged:m.default.useDueDaysChanged,viewInvoice:m.default.viewInvoice,sendAI:S.default.sendData,saveAIData:S.default.saveAIData}))),n.default.initService(e,t,this.functions(e))}async saveData(e,t,a,i,s,o){A.default.getMoment(t.startDate,"").isBefore(A.default.getMomentNow())?n.default.positionedConfirm(w.default.t("Are you sure?"),String(w.default.t("Event is in the past!")),{confirmButtonText:w.default.t("Continue"),cancelButtonText:w.default.t("Close"),type:"info"},o,(async()=>{await this.saveFunc(k.apiPath,a.args||{},e,a,null,this.refreshFunc)})):await this.saveFunc(k.apiPath,a.args||{},e,a,null,this.refreshFunc)}static async getEvent(e,t,a){return(0,s.default)({url:`${k.apiPath}/get`,method:"get",params:a.args})}showSchedulePopup(e,t,a){t.scheduled&&(o.lD.set(t,"sendType","Send Later"),o.lD.set(t,"scheduledTime",r.default.formatTime(t.scheduled,{format:{format:"HH:mm"}}))),l.default.showPopup(this,"popup",{...a,value:t})}static memberTypeChanged(e,t,a){o.lD.set(t,"members",[])}static formatDateTimeRange(e,t,a){return r.default.formatDateTimeRange(t.startDate,t.endDate,a)}static formatTitleEInvoiceEnabled(e,t,a,i){const s=u.default.formatListTitle(e,t,a,i);return D.default.formatEInvoiceEnabled(s,t,a,i)}calculateTotal(e,t,a,i,s,o){m.default.calculateTotal(this.data.page.value.pay,this.data.page.view,o)}static mapChanged(e,t){o.lD.set(t,"address",e.name)}async startDateTimeChanged(e,t,a){n.default.setStartDateTime(this.data&&this.data.page&&this.data.page.view?this.data.page.view.tabs:{},t),n.default.setEndDateTime(t)}async endDateTimeChanged(e,t,a){n.default.setEndDateTime(t)}async listGroupPricing(e,t,a,i){return await m.default.listGroupPricing(e,t,a,i),await this.functions.listFunc(e,t,a,i)}addPaymentItem(e,t,a,i,s,o){m.default.addPaymentItem(e,t,a,this.data.page.value.pay,"event",!1),m.default.calculateTotal(this.data.page.value.pay,this.data.page.view,o)}addPackageItem(e,t,a,i,s,o){if(e&&e.details&&e.details.length>0)for(const i of e.details)m.default.addPaymentItem(i,t,a,this.data.page.value.pay,"event",!1);m.default.calculateTotal(this.data.page.value.pay,this.data.page.view,o)}amountChanged(e,t,a,i,s,o){m.default.amountChanged(e,t,a),m.default.calculateTotal(this.data.page.value.pay,this.data.page.view,o)}qtyChanged(e,t,a,i,s,o){m.default.qtyChangedCheck(t,a,this.data.page.value.pay,o)&&(m.default.qtyChanged(e,t,a),m.default.calculateTotal(this.data.page.value.pay,this.data.page.view,o))}optionalChanged(e,t,a,i,s,o){m.default.optionalChanged(e,t,this.data.page.value?.pay,this.data.page.view,o)}optionChanged(e,t,a,i,s,o){m.default.calculateTotal(this.data.page.value.pay,this.data.page.view,o)}selectChanged(e,t,a,i,s,o){m.default.calculateTotal(this.data.page.value.pay,this.data.page.view,o)}async getPaymentFooter(e,t,a){if(t&&t.pay&&t.pay.active&&!t.pay.remarks){const e=await m.default.getPaymentFooter(t,"");if(e&&e.footer&&o.lD.set(t.pay,"remarks",v.default.removeHtml(e,"footer")),e.businessUnits){const a=y.default.find(e.businessUnits,(e=>e.selected));o.lD.set(t.pay,"businessUnitId",r.default.getId(a))}}}async resetPaymentFooter(e,t,a){const i=await m.default.getPaymentFooter(t,r.default.getId(t.pay.businessUnitId),!0);if(i&&i.footer&&o.lD.set(t.pay,"remarks",i.footer),i.businessUnits){const e=y.default.find(i.businessUnits,(e=>e.selected));o.lD.set(t.pay,"businessUnitId",r.default.getId(e)||"")}}registerActiveChanged(e,t,a){!e&&t.pay&&o.lD.set(t.pay,"active",!1)}async listStats(e,t,a,i){await b.default.listStats(this,e,t,a,i)}static async viewPDF(e,t,a){await g.default.downloadFunc(`${k.apiPath}/print`,a.args||{},{type:"pdf",_action:a._action},e,a)}showViewRegistrationPopup(e,t,a){const i=n.default.getPageView(this);e&&i&&i.popups&&i.popups.showViewRegistration&&l.default.showPopup(this,"editPopup",{...i.popups.showViewRegistration,value:t})}formatItemType(e,t,a,i){return e}eInvoiceItemChanged(e,t,a,i,s,o){D.default.eInvoiceItemChanged(e,t,a,this.data.page.value?.pay,o)}async processAllSchedule(e,t,a,i,s,o){const n=await l.default.processSchedule(this,e,t,a);n&&await l.default.processAll(e,t,{...a,func:"processAll",fields:()=>n},i,s,o)}async processSelectedSchedule(e,t,a,i,s,o){const n=await l.default.processSchedule(this,e,t,a);n&&await l.default.processSelected(e,t,{...a,func:"processSelected",fields:()=>n},i,s,o)}getEInvoiceEnableHelp(e,t,a,i){const s=n.default.getPageValue(this);return t.eInvoice||!0!==s?.pay?.eInvoiceEnabled?void 0:' <span class="text-bold color-danger">'+w.default.t("Warning! This item is NOT included in E-Invoice.")+"</span>"}
1showEditDetailPopup(e,t,a){m.default.showEditDetailPopup(this,e,t,a)}}(0,i.A)(k,"apiPath","/api/events")},31265:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return b}});var i=a(32362),s=a(18657),o=a(19571),n=a(65865),r=a(29972),l=a(83280),d=a(60904),u=a(34685),c=a(47677),f=a(23049),m=a(24682),p=a(20268),h=a(17347);class b{constructor(e,t){(0,i.A)(this,"functions",(e=>({formatFiles:r.default.formatFileExists,formatListTitle:d.default.formatListTitle,formatViewTitle:d.default.formatViewTitle,formatMemberSelect:p.default.formatMemberSelect,formatMembers:p.default.formatMembers,formatMemberStatus:p.default.formatMemberStatus,formatMemberWithType:p.default.formatMemberWithType,formatLogUser:d.default.formatLogUser,resetErrorMessage:d.default.resetErrorMessage,showSchedulePopup:this.showSchedulePopup.bind(e),sendToChanged:d.default.sendToChanged.bind(e),formatGroup:u.default.formatGroup,formatGroupStatus:u.default.formatGroupStatus,deleteGroups:u.default.deleteGroups,deleteMembers:p.default.deleteMembers,memberTypeChanged:this.memberTypeChanged.bind(e),validateSendTo:p.default.validateSendTo,processAll:r.default.processAll,processSelected:r.default.processSelected,processAllSchedule:this.processAllSchedule.bind(e),processSelectedSchedule:this.processSelectedSchedule.bind(e),copyAllAccounts:d.default.copyAllAccounts,copySelectedAccounts:d.default.copySelectedAccounts,downloadAll:r.default.downloadAll,downloadSelected:r.default.downloadSelected,viewPDF:this.viewPDF.bind(e),uploadMemberIDFile:p.default.uploadMemberIDFile,formatAlertNameMobile:f.default.formatAlertNameMobile,listStats:this.listStats.bind(e),enableStats:f.default.enableStats,formatCheckList:l.default.formatCheckList,formatCheckListCompulsory:l.default.formatOptional,showViewResponsePopup:this.showViewResponsePopup.bind(e),showEditResponsePopup:this.showEditResponsePopup.bind(e),refreshListResponses:this.refreshListResponses.bind(e),processResponseAll:r.default.processAll,processResponseSelected:r.default.processSelected,addDefaultRow:r.default.addDefaultRow,addResponse:c.default.addResponse,viewResponse:c.default.viewResponse,editResponse:c.default.editResponse,saveResponse:c.default.saveResponse,deleteResponse:c.default.deleteResponse,checkListKindChanged:l.default.checkListKindChanged,formatKindHelp:l.default.formatKindHelp,validateCheckListResponse:l.default.validateCheckListOptional,validateAddCheckList:l.default.validateAddCheckList,viewResponsePDF:c.default.viewResponsePDF,sendAI:h.default.sendData,saveAIData:h.default.saveAIData}))),o.default.initService(e,t,this.functions(e))}showSchedulePopup(e,t,a){t.scheduled&&(s.lD.set(t,"sendType","Send Later"),s.lD.set(t,"scheduledTime",n.default.formatTime(t.scheduled,{format:{format:"HH:mm"}}))),r.default.showPopup(this,"popup",{...a,value:t})}memberTypeChanged(e,t,a){if(t.memberTypes&&t.memberTypes.length>0){if(t.members&&t.members.length>0)for(let e=t.members.length-1;e>=0;e--)t.memberTypes.indexOf(t.members[e].memberType)<0&&t.members.splice(e,1)}else s.lD.set(t,"members",[]);t.response&&t.response.active&&(t.response.memberTypes=n.default.cloneObject(t.memberTypes))}async viewPDF(e,t,a){await m.default.downloadFunc(`${b.apiPath}/print`,a.args||{},{type:"pdf",_action:a._action},e,a)}async listStats(e,t,a,i){await f.default.listStats(this,e,t,a,i)}showViewResponsePopup(e,t,a){const i=o.default.getPageView(this);e&&i&&i.popups&&i.popups.showViewResponse&&r.default.showPopup(this,"editPopup",{...i.popups.showViewResponse,value:t})}showEditResponsePopup(e,t,a){const i=o.default.getPageView(this);e&&i&&i.popups&&i.popups.showEditResponse&&r.default.showPopup(this,"editPopup",{...i.popups.showEditResponse,value:t})}refreshListResponses(){const e=this.popup;return e&&e.view&&e.view.refreshFunc&&"function"==typeof e.view.refreshFunc&&e.view.refreshFunc(),!0}async processAllSchedule(e,t,a,i,s,o){const n=await r.default.processSchedule(this,e,t,a);n&&await r.default.processAll(e,t,{...a,func:"processAll",fields:()=>n},i,s,o)}async processSelectedSchedule(e,t,a,i,s,o){const n=await r.default.processSchedule(this,e,t,a);n&&await r.default.processSelected(e,t,{...a,func:"processSelected",fields:()=>n},i,s,o)}}(0,i.A)(b,"apiPath","/api/notifications")},85436:function(e,t,a){"use strict";a.r(t);var i=a(31601),s=a.n(i),o=a(76314),n=a.n(o)()(s());
1n.push([e.id,".elem-info{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:2px;padding:30px 25px}.elem-info .info-icon{-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;background-color:#23ae89;display:inline-block;text-align:center;border-radius:50%;line-height:70px;height:70px;width:70px;margin:0 15px 0 0;font-size:32px}.elem-info .info-box{font-size:14px;display:inline-block;vertical-align:top}.elem-info .info-box,.elem-info .info-box .size-h2{color:#000;line-height:1.42857;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.elem-info .info-box .size-h2{font-size:30px;margin:0}.elem-info .info-box .text-muted{font-size:14px;line-height:1.42857;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;color:#777;margin:0}",""]),t.default=n},42302:function(e,t,a){"use strict";a.r(t);var i=a(31601),s=a.n(i),o=a(76314),n=a.n(o)()(s());n.push([e.id,".custom-carts .custom-carts-item{background:#fff;padding:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.custom-carts .custom-carts-item .image{-webkit-box-sizing:border-box;box-sizing:border-box;height:150px;width:230px;background-color:#fff;margin-bottom:10px;margin-right:10px}.custom-carts .custom-carts-item .image .bg{background-color:#fff;background-size:contain;background-repeat:no-repeat;background-position:top;width:100%;height:100%}.custom-carts .custom-carts-item .box{padding-left:30px}.custom-carts .custom-carts-item .box .product-name{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.custom-carts .custom-carts-item .box .product-name .el-checkbox{font-size:16px}.custom-carts .custom-carts-item .box .product-name .product-title{padding-left:10px;font-weight:700;font-size:16px}.custom-carts .custom-carts-item .box .desc{margin-top:5px}.custom-carts .custom-carts-item .box .price{margin-top:10px;font-size:19px;color:#1c7ebb}.custom-carts .custom-carts-item .box .themed .el-input-number{width:100px}.custom-carts .custom-carts-item .box .themed .el-input-number>span{border-radius:0;background-color:#1c7ebb;color:#fff;border-color:rgba(243,247,250,.1)}.custom-carts .custom-carts-item .box .themed .el-input-number .el-input__inner{color:#1c7ebb;background-color:rgba(28,126,187,.1);border-color:#1c7ebb;border-radius:0;font-family:inherit;font-weight:700;padding-left:5px;padding-right:45px}.custom-carts .custom-carts-item .box .del-btn{margin-top:10px;color:#ec205f;padding:10px;text-align:center;font-family:inherit;font-size:20px;cursor:pointer;opacity:.5;border:none;background:transparent;outline:none;visibility:hidden}.custom-carts .custom-carts-item .box .del-btn:hover{opacity:1}.custom-carts .custom-carts-item:hover .del-btn{visibility:visible}@media(max-width:600px){.custom-carts .custom-carts-item{display:block;padding:10px}.custom-carts .custom-carts-item>.box{margin-bottom:10px;width:100%;display:block;clear:both;padding:0}}",""]),t.default=n},1750:function(e,t,a){var i=a(85436);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);(0,a(99548).A)("e2e311da",i,!0,{sourceMap:!1,shadowMode:!1})},67804:function(e,t,a){var i=a(42302);i.__esModule&&(i=i.default),"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);(0,a(99548).A)("4c09216c",i,!0,{sourceMap:!1,shadowMode:!1})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.