PageSourceSearch

https://smartlane.pk/build/assets/Configuration.e233b271.js

js smartlane.pk collected 2026-10-02 00:43:49 UTC 22,950 bytes, 1 lines download raw bytes

1import{P as k,_ as C,B as V,o as _,f as u,e as n,l as O,a as t,n as p,i,F as b,k as w,t as c,D as g,ak as v,b as y,h as m,v as f,E as h}from"./app.92a0a85e.js";/* empty css               */const U={id:"preloader"},P={class:"row pt-5"},A={class:"col-xl-2 col-lg-3"},N={class:"nav flex-column nav-tabs border-bottom-0"},D=["hidden"],W=["hidden"],B={class:"nav-item mb-3"},L={class:"tab-content col-xl-10 col-lg-9"},Y={class:"row justify-content-center"},z={class:"col-9"},M={class:"input-group mb-3"},I={class:"input-group-text text-capitalize text-center",style:{width:"15%"}},F=["onUpdate:modelValue","disabled"],T={class:"col"},j=["disabled"],q={class:"row justify-content-center"},E={class:"col-9"},G={class:"col-6 mb-3"},R={class:"m2-3"},K={class:"col-6 mb-3"},H={class:"m2-3"},J={class:"col-6 mb-3"},Q={class:"m2-3"},X={class:"col-6 mb-3"},Z={class:"form-check form-check-inline"},x=["checked"],ee={class:"form-check form-check-inline text-right"},te=["checked"],le={key:0,class:"col-6 mb-3"},oe={key:1,class:"col-6 mb-3"},se={class:"row"},ae={class:"col-6"},ne={class:"m2-3"},ie={class:"col-6"},re={class:"m2-3"},de={class:"col-6 mb-3"},_e={class:"col-6 mb-3"},ue={class:"form-check form-switch"},ge={key:0},ce={key:1},me={key:2,class:"col-6"},pe={key:0,id:"store_general_settings",class:"accordion"},fe={class:"accordion-item"},be={id:"collapseAirwayBill",class:"accordion-collapse collapse show","data-bs-parent":"#store_general_settings","aria-labelledby":"headingAirwayBill"},we={class:"accordion-body"},ve={key:0,class:"mb-3"},ye={class:"d-flex align-items-center mb-2"},he=["disabled"],Se={class:"accordion-item"},ke={id:"collapseOrderSetting",class:"accordion-collapse collapse","data-bs-parent":"#store_general_settings","aria-labelledby":"headingOrderSetting"},Ce={class:"accordion-body"},Ve={class:"mb-3"},Oe={class:"mb-3"},Ue={class:"accordion-item"},Pe={id:"collapseGeneralSetting",class:"accordion-collapse collapse","data-bs-parent":"#store_general_settings","aria-labelledby":"headingGeneralSetting"},$e={class:"accordion-body"},Ae={class:"mb-3"},Ne={class:"form-check mb-3"},De={class:"accordion-item"},We={id:"collapseParcelWeight",class:"accordion-collapse collapse","data-bs-parent":"#store_general_settings","aria-labelledby":"headingParcelWeight"},Be={class:"accordion-body"},Le={class:"form-label text-capitalize"},Ye={class:"d-flex align-items-center"},ze=["onUpdate:modelValue"],Me=["disabled","onUpdate:modelValue"],Ie={class:"accordion-item"},Fe={id:"collapseWallet",class:"accordion-collapse collapse","data-bs-parent":"#store_general_settings","aria-labelledby":"headingWallet"},Te={class:"accordion-body"},je={key:0,class:"mb-3"},qe={components:{"vue-json-pretty":k(()=>C(()=>import("./vue-json-pretty.0d82fa3e.js"),["assets/vue-json-pretty.0d82fa3e.js","assets/app.92a0a85e.js","assets/app.ecb3a5f2.css"]))},name:"Configuration",props:{key:Number,storeId:Number|String,brandId:Number|String,page_tab:String,storeInfo:Object,courier_list:Array},watch:{page_tab:function(o){o==="configuration"&&(this.get_store_status(),this.get_levels(),this.get_wallet_config(),this.set_store_general_setting())}},mounted(){},data(){return{configuration_inner_tab:"configuration_store_status_mapping",store_status_list:{},store_wallet_config:{account_freezed:0,on_hold_percentage:0,fixed_on_hold_amount:0,transaction_charge:50,transaction_days:[],wallet_level:{},limit_type:"level"},store_general_setting:{},store_general_setting_tab:"airway_bill_setting",days:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],level_list:[],loader:!1}},methods:{checkValue(o){let l=parseFloat(o.target.value);const e=o.target.name;l<0?l=.1:l>5&&(l=5),this.store_general_setting.parcel_weight[e].default_weight_value=l},set_store_general_setting(){var l;let o=this;o.store_general_setting=(l=this.storeInfo.general_setting)!=null?l:{},o.store_general_setting.hasOwnProperty("airway_bill")||(o.store_general_setting.airway_bill={custom_description_value:"",custom_description_allow:!1,cn_slip_product_option:"only_name"}),o.store_general_setting.hasOwnProperty("fallback_mandatory")||(o.store_general_setting.fallback_mandatory=!1),o.store_general_setting.hasOwnProperty("allow_duplicate_order")||(o.store_general_setting.allow_duplicate_order=!1),o.store_general_setting.hasOwnProperty("parcel_weight")||(o.store_general_setting.parcel_weight={}
1,o.courier_list.forEach(e=>{const a=e.code;o.store_general_setting.parcel_weight.hasOwnProperty(a)||(o.store_general_setting.parcel_weight[a]={default_weight_value:"",default_weight_allow:!1})})),o.store_general_setting.hasOwnProperty("wallet_account_setting")||(o.store_general_setting.wallet_account_setting={account_no:""}),o.store_general_setting.hasOwnProperty("finance_closing_date")||(o.store_general_setting.finance_closing_date="")},get_levels(){let o=this;axios.post("/api/settings/wallet_config/get_wallet_levels").then(l=>{o.level_list=l.data}).catch(l=>{})},get_wallet_config(){let o=this;o.loader=!0,axios.post("/api/store/wallet_config/get_wallet_config",{store_id:o.storeId}).then(l=>{o.loader=!1,Object.keys(l.data).length>0&&(o.store_wallet_config=l.data),o.store_wallet_config.account_freezed=o.store_wallet_config.account_freezed!=0,o.store_wallet_config.limit_type=o.store_wallet_config.wallet_level.hasOwnProperty("limit_type")?o.store_wallet_config.wallet_level.limit_type:"level"}).catch(l=>{o.loader=!1})},confirmation_alert(o,l,e,a,s,r,d){this.$swal.fire({text:l,icon:o,showCancelButton:!0,confirmButtonColor:"#3085d6",cancelButtonColor:"#d33",confirmButtonText:e}).then(S=>{S.isConfirmed&&s(a,r,d)})},get_store_status(){let o=this;o.loader=!0,axios.get("/api/store/configuration/store_status/get",{params:{store_id:o.storeId}}).then(l=>{o.loader=!1,o.store_status_list=l.data.data?l.data.data:[]}).catch(function(l){o.loader=!1})},save_status_mapping(o,l,e){let a=this;a.loader=!0,axios.post("/api/store/configuration/store_status/add_status",{store_id:a.storeId,data:o}).then(s=>{a.loader=!1,a.$swal.fire({icon:"success",text:e}),a.store_status_list={},a.get_store_status()}).catch(function(s){a.loader=!1,s.response.data.errors&&a.$swal.fire(s.response.data.message,"","error")})},save_store_wallet_configuration(o,l,e){let a=this,s=!0;$(".config_required").each(function(){$(this).val()==""||$(this).val()==" "||$(this).val()==null?($(this).addClass("border-2 border-danger"),s=!1):$(this).removeClass("border-2 border-danger")}),s?(o.store_id=a.storeId,o.wallet_level.limit_type=o.limit_type,a.loader=!0,axios.post("/api/store/wallet_config/save_wallet_config",o).then(r=>{a.loader=!1,a.$swal.fire({icon:"success",text:e}),a.store_status_list={},a.get_store_status(),a.get_levels(),a.get_wallet_config()}).catch(function(r){r.response.data.errors&&a.$swal.fire(r.response.data.message,"","error")})):a.$swal.fire("Please fill all required fields","","error")},save_store_general_setting(o,l,e){let a=this,s=!0,r=null;o.hasOwnProperty("airway_bill_setting")&&o.airway_bill_setting.custom_description_allow===!0&&(o.airway_bill_setting.custom_description_allow===""||o.airway_bill_setting.custom_description_allow===null||o.airway_bill_setting.custom_description_allow===0)&&(s=!1,r="Description should not be zero and empty"),o.hasOwnProperty("parcel_weight")&&(console.log(o.parcel_weight),Object.keys(o.parcel_weight).filter(d=>{o.parcel_weight[d].default_weight_allow===!0&&(o.parcel_weight[d].default_weight_value===""||o.parcel_weight[d].default_weight_value===null||o.parcel_weight[d].default_weight_value===0)&&(s=!1,r="Weight value should not be zero and empty")})),s?(a.loader=!0,axios.post("/management/store/save_general_setting",{store_id:a.storeId,general_setting:o}).then(d=>{a.loader=!1,a.$swal.fire({icon:"success",text:e}),a.store_status_list={},a.get_store_status()}).catch(function(d){d.response.data.errors&&a.$swal.fire(d.response.data.message,"","error")})):a.$swal.fire(r!=null?r:"Validation Error","","error")},NumbersOnly(o){o=o||window.event;var l=o.which?o.which:o.keyCode;if(l<48||l>57)o.preventDefault();else return!0}}},Re=Object.assign(qe,{setup(o){return(l,e)=>{const a=V("VueMultiselect");return _(),u(b,null,[n(t("div",U,e[29]||(e[29]=[t("div",{id:"loader"},null,-1)]),512),[[O,l.loader]]),t("div",P,[t("div",A,[t("ul",N,[t("li",{class:"nav-item mb-3",hidden:!l.userCan("store-status-mapping-view")},[t("a",{class:p(["nav-link border-bottom-0",[l.configuration_inner_tab==="configuration_store_status_mapping"?"active border-bottom-0 border-primary text-primary":"text-secondary"]]),onClick:e[0]||(e[0]=s=>l.configuration_inner_tab="configuration_store_status_mapping")},e[30]||(e[30]=[t("i",{class:"fa fa-link"},null,-1),i(" Store Status Mapping ")]),2)],8,D),t("li",{class:"nav-item mb-3",hidden:!l.userCan("store-wallet-config-view")},[t("a",{class:p(["nav-link border-bottom-0",[l.configuration_inner_tab==="store_wallet_configuration"?"active border-bottom-0 border-primary text-primary":"text-secondary"]]),onClick:e[1]||(e[1]=s=>l.configuration_inner_tab="store_wallet_configuration")},e[31]||(e[31]=[t("i",{class:"fa-solid fa-wallet"},null,-1),i(" Store Wallet Configuration ")]),2)],8,W),t("li",B,[t("a",{class:p(["nav-link border-bottom-0",[l.configuration_inner_tab==="configuration_store_general_setting"?"active border-bottom-0 border-primary text-primary":"text-secondary"]]),onClick:e[2]||(e[2]=s=>l.configuration_inner_tab="configuration_store_general_setting")},e[32]||(e[32]=[t("i",{class:"fa fa-gear"},null,-1),i(" Store General Setting ")]),2)])])]),t("div",L,[t("div",{id:"configuration_store_status_mapping",class:p(["tab-pane",[l.configuration_inner_tab==="configuration_store_status_mapping"?"active":"d-none"]])},[t("div",Y,[t("div",z,[(_(!0),u(b,null,w(l.store_status_list,s=>(_(),u("div",null,[t("div",M,[t("span",I,c(s.system_status.replace(/_/g," ")),1),n(t("input",{type:"text","onUpdate:modelValue":r=>
1s.store_status=r,class:"form-control form-control-sm px-4 rounded-end shadow-sm",disabled:!l.userCan("store-status-mapping-update")},null,8,F),[[g,s.store_status]])])]))),256)),t("div",T,[t("button",{class:"btn btn-sm btn-primary border-primary float-end col-2",disabled:!l.userCan("store-status-mapping-update"),onClick:e[3]||(e[3]=s=>l.confirmation_alert("warning","Are you sure? You want to save store status mapping.","Yes, Save it!",l.store_status_list,l.save_status_mapping,"store","Store status mapping has been saved successfully."))},e[33]||(e[33]=[t("i",{class:"fa fa-file-edit"},null,-1),i(" Save ")]),8,j)])])])],2),t("div",{id:"store_wallet_configuration",class:p(["tab-pane",[l.configuration_inner_tab==="store_wallet_configuration"?"active":"d-none"]])},[t("div",q,[t("div",E,[t("div",G,[e[34]||(e[34]=t("label",{for:"on_hold_amount"},"Fixed On-Hold Amount : ",-1)),e[35]||(e[35]=i()),t("b",R,c(l.store_wallet_config.fixed_on_hold_amount.toLocaleString("en-US")),1),n(t("input",{type:"number",class:"form-control form-control-sm config_required",id:"on_hold_amount","onUpdate:modelValue":e[4]||(e[4]=s=>l.store_wallet_config.fixed_on_hold_amount=s),placeholder:"Fixed on hold Amount"},null,512),[[g,l.store_wallet_config.fixed_on_hold_amount]])]),t("div",K,[e[36]||(e[36]=t("label",{for:"on_hold_amount"},"On-Hold Percentage : ",-1)),e[37]||(e[37]=i()),t("b",H,c(l.store_wallet_config.on_hold_percentage.toLocaleString("en-US")),1),n(t("input",{type:"number",class:"form-control form-control-sm config_required",id:"on_hold_amount","onUpdate:modelValue":e[5]||(e[5]=s=>l.store_wallet_config.on_hold_percentage=s),placeholder:"On hold Percentage"},null,512),[[g,l.store_wallet_config.on_hold_percentage]])]),t("div",J,[e[38]||(e[38]=t("label",{for:"transaction_charge"},"Transaction Charge : ",-1)),e[39]||(e[39]=i()),t("b",Q,c(l.store_wallet_config.transaction_charge.toLocaleString("en-US")),1),n(t("input",{type:"number",class:"form-control form-control-sm config_required",id:"transaction_charge","onUpdate:modelValue":e[6]||(e[6]=s=>l.store_wallet_config.transaction_charge=s),placeholder:"Transaction Charge"},null,512),[[g,l.store_wallet_config.transaction_charge]])]),t("div",X,[e[42]||(e[42]=t("label",{for:"limit_type",class:"me-5"},"Limit Type",-1)),t("div",Z,[n(t("input",{class:"form-check-input",type:"radio",name:"limit_type_value",id:"limit_type_value",value:"value",checked:l.store_wallet_config.limit_type==="value","onUpdate:modelValue":e[7]||(e[7]=s=>l.store_wallet_config.limit_type=s)},null,8,x),[[v,l.store_wallet_config.limit_type]]),e[40]||(e[40]=t("label",{class:"form-check-label",for:"limit_type_value"},"Value",-1))]),t("div",ee,[n(t("input",{class:"form-check-input",type:"radio",name:"limit_type_level",id:"limit_type_level",value:"level",checked:l.store_wallet_config.limit_type==="level","onUpdate:modelValue":e[8]||(e[8]=s=>l.store_wallet_config.limit_type=s)},null,8,te),[[v,l.store_wallet_config.limit_type]]),e[41]||(e[41]=t("label",{class:"form-check-label",for:"limit_type_level"},"Level",-1))])]),l.store_wallet_config.limit_type==="level"?(_(),u("div",le,[e[43]||(e[43]=t("label",{for:"status"},"Level",-1)),y(a,{class:"shadow-sm rounded",modelValue:l.store_wallet_config.wallet_level,"onUpdate:modelValue":e[9]||(e[9]=s=>l.store_wallet_config.wallet_level=s),options:l.level_list,placeholder:"Select Level",label:"name","track-by":"name","preselect-first":!0,"allow-empty":!1},null,8,["modelValue","options"])])):m("",!0),l.store_wallet_config.limit_type==="value"?(_(),u("div",oe,[t("div",se,[t("div",ae,[e[44]||(e[44]=t("label",{for:"daily_limit"},"Daily Limit : ",-1)),e[45]||(e[45]=i()),t("b",ne,c(l.store_wallet_config.wallet_level.hasOwnProperty("daily_limit")?l.store_wallet_config.wallet_level.daily_limit.toLocaleString("en-US"):""),1),n(t("input",{type:"number",class:"form-control form-control-sm config_required",id:"daily_limit","onUpdate:modelValue":e[10]||(e[10]=s=>l.store_wallet_config.wallet_level.daily_limit=s),placeholder:"Daily Limit"},null,512),[[g,l.store_wallet_config.wallet_level.daily_limit]])]),t("div",ie,[e[46]||(e[46]=t("label",{for:"monthly_limit"},"Monthly Limit : ",-1)),e[47]||(e[47]=i()),t("b",re,c(l.store_wallet_config.wallet_level.hasOwnProperty("monthly_limit")?l.store_wallet_config.wallet_level.monthly_limit.toLocaleStr
1ing("en-US"):""),1),n(t("input",{type:"number",class:"form-control form-control-sm config_required",id:"monthly_limit","onUpdate:modelValue":e[11]||(e[11]=s=>l.store_wallet_config.wallet_level.monthly_limit=s),placeholder:"Monthly Limit"},null,512),[[g,l.store_wallet_config.wallet_level.monthly_limit]])])])])):m("",!0),t("div",de,[e[48]||(e[48]=t("label",{for:"status"},"Days",-1)),y(a,{class:"shadow-sm rounded",modelValue:l.store_wallet_config.transaction_days,"onUpdate:modelValue":e[12]||(e[12]=s=>l.store_wallet_config.transaction_days=s),options:l.days,multiple:!0,placeholder:"Select Days",limit:2,"allow-empty":!1},null,8,["modelValue","options"])]),t("div",_e,[t("div",ue,[l.store_wallet_config.account_freezed==!0?(_(),u("span",ge,"Freezed")):(_(),u("span",ce,"Active")),n(t("input",{class:"form-check-input",type:"checkbox",role:"switch",name:"flexRadioDefault",id:"flexRadioDefault2","onUpdate:modelValue":e[13]||(e[13]=s=>l.store_wallet_config.account_freezed=s)},null,512),[[f,l.store_wallet_config.account_freezed]])])]),l.userCan("store-wallet-config-update")?(_(),u("div",me,[t("button",{class:"btn btn-sm btn-primary border-primary float-end col-2",onClick:e[14]||(e[14]=s=>l.confirmation_alert("warning","Are you sure? You want to save store wallet configuration.","Yes, Save it!",l.store_wallet_config,l.save_store_wallet_configuration,"store","Store wallet configuration has been saved successfully."))},e[49]||(e[49]=[t("i",{class:"fa fa-file-edit"},null,-1),i(" Save ")]))])):m("",!0)])])],2),l.configuration_inner_tab==="configuration_store_general_setting"&&l.store_general_setting?(_(),u("div",pe,[t("div",fe,[e[54]||(e[54]=t("h2",{class:"accordion-header",id:"headingAirwayBill"},[t("button",{class:"accordion-button",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapseAirwayBill","aria-expanded":"true","aria-controls":"collapseAirwayBill"},[t("i",{class:"fa fa-print me-2"}),i(" Airway Bill Setting ")])],-1)),t("div",be,[t("div",we,[l.store_general_setting.airway_bill?(_(),u("div",ve,[e[51]||(e[51]=t("label",{class:"form-label me-3"},"Custom Description",-1)),t("div",ye,[n(t("input",{type:"checkbox",class:"form-check-input me-2","onUpdate:modelValue":e[15]||(e[15]=s=>l.store_general_setting.airway_bill.custom_description_allow=s)},null,512),[[f,l.store_general_setting.airway_bill.custom_description_allow]]),n(t("input",{type:"text",class:"form-control",disabled:!l.store_general_setting.airway_bill.custom_description_allow,"onUpdate:modelValue":e[16]||(e[16]=s=>l.store_general_setting.airway_bill.custom_description_value=s),placeholder:"Custom Description"},null,8,he),[[g,l.store_general_setting.airway_bill.custom_description_value]])]),e[52]||(e[52]=t("label",{class:"form-label"},"CN Slip Product Option",-1)),n(t("select",{class:"form-control","onUpdate:modelValue":e[17]||(e[17]=s=>l.store_general_setting.airway_bill.cn_slip_product_option=s)},e[50]||(e[50]=[t("option",{value:"only_sku"},"Only SKU",-1),t("option",{value:"only_name"},"Only Name",-1),t("option",{value:"both"},"SKU and Name Both",-1)]),512),[[h,l.store_general_setting.airway_bill.cn_slip_product_option]])])):m("",!0),t("button",{class:"btn btn-sm btn-outline-primary mt-3",onClick:e[18]||(e[18]=s=>l.confirmation_alert("warning","Are you sure? You want to save configuration.","Yes, Save it!",l.store_general_setting,l.save_store_general_setting,"store","Store configuration has been saved successfully."))},e[53]||(e[53]=[t("i",{class:"fa fa-save me-1"},null,-1),i(" Save ")]))])])]),t("div",Se,[e[59]||(e[59]=t("h2",{class:"accordion-header",id:"headingOrderSetting"},[t("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapseOrderSetting","aria-expanded":"false","aria-controls":"collapseOrderSetting"},[t("i",{class:"fa fa-file-invoice me-2"}),i(" Order Setting ")])],-1)),t("div",ke,[t("div",Ce,[t("div",Ve,[e[56]||(e[56]=t("label",{class:"form-label"},"Allow Duplicate Order",-1)),n(t("select",{class:"form-control","onUpdate:modelValue":e[19]||(e[19]=s=>l.store_general_setting.allow_duplicate_order=s)},e[55]||(e[55]=[t("option",{value:"true"},"Yes",-1),t("option",{value:"false"}
1,"No",-1)]),512),[[h,l.store_general_setting.allow_duplicate_order]])]),t("div",Oe,[e[57]||(e[57]=t("label",{class:"form-label"},"Max Consignment Amount",-1)),n(t("input",{type:"text",class:"form-control","onUpdate:modelValue":e[20]||(e[20]=s=>l.store_general_setting.max_consignment_amount=s),onKeypress:e[21]||(e[21]=(...s)=>l.NumbersOnly&&l.NumbersOnly(...s)),placeholder:"Enter max amount"},null,544),[[g,l.store_general_setting.max_consignment_amount]])]),t("button",{class:"btn btn-sm btn-outline-primary mt-2",onClick:e[22]||(e[22]=s=>l.confirmation_alert("warning","Are you sure? You want to save configuration.","Yes, Save it!",l.store_general_setting,l.save_store_general_setting,"store","Store configuration has been saved successfully."))},e[58]||(e[58]=[t("i",{class:"fa fa-save me-1"},null,-1),i(" Save ")]))])])]),t("div",Ue,[e[63]||(e[63]=t("h2",{class:"accordion-header",id:"headingGeneralSetting"},[t("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapseGeneralSetting","aria-expanded":"false","aria-controls":"collapseGeneralSetting"},[t("i",{class:"fa fa-cogs me-2"}),i(" General Setting ")])],-1)),t("div",Pe,[t("div",$e,[t("div",Ae,[e[60]||(e[60]=t("label",{class:"form-label"},"Finance Closing Date",-1)),n(t("input",{type:"datetime-local",class:"form-control","onUpdate:modelValue":e[23]||(e[23]=s=>l.store_general_setting.finance_closing_date=s)},null,512),[[g,l.store_general_setting.finance_closing_date]])]),t("div",Ne,[n(t("input",{type:"checkbox",class:"form-check-input","onUpdate:modelValue":e[24]||(e[24]=s=>l.store_general_setting.fallback_mandatory=s)},null,512),[[f,l.store_general_setting.fallback_mandatory]]),e[61]||(e[61]=t("label",{class:"form-check-label"},"Courier Fallback Mandatory",-1))]),t("button",{class:"btn btn-sm btn-outline-primary mt-2",onClick:e[25]||(e[25]=s=>l.confirmation_alert("warning","Are you sure? You want to save configuration.","Yes, Save it!",l.store_general_setting,l.save_store_general_setting,"store","Store configuration has been saved successfully."))},e[62]||(e[62]=[t("i",{class:"fa fa-save me-1"},null,-1),i(" Save ")]))])])]),t("div",De,[e[65]||(e[65]=t("h2",{class:"accordion-header",id:"headingParcelWeight"},[t("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapseParcelWeight","aria-expanded":"false","aria-controls":"collapseParcelWeight"},[t("i",{class:"fa fa-weight-hanging me-2"}),i(" Parcel Weight Setting ")])],-1)),t("div",We,[t("div",Be,[(_(!0),u(b,null,w(l.store_general_setting.parcel_weight,(s,r)=>(_(),u("div",{class:"mb-3",key:r},[t("label",Le,c(r.replace(/_/g," ")),1),t("div",Ye,[n(t("input",{type:"checkbox",class:"form-check-input me-2","onUpdate:modelValue":d=>s.default_weight_allow=d},null,8,ze),[[f,s.default_weight_allow]]),n(t("input",{type:"number",class:"form-control",disabled:!s.default_weight_allow,"onUpdate:modelValue":d=>s.default_weight_value=d,min:"0.1",max:"5"},null,8,Me),[[g,s.default_weight_value]])])]))),128)),t("button",{class:"btn btn-sm btn-outline-primary mt-2",onClick:e[26]||(e[26]=s=>l.confirmation_alert("warning","Are you sure? You want to save configuration.","Yes, Save it!",l.store_general_setting,l.save_store_general_setting,"store","Store configuration has been saved successfully."))},e[64]||(e[64]=[t("i",{class:"fa fa-save me-1"},null,-1),i(" Save ")]))])])]),t("div",Ie,[e[68]||(e[68]=t("h2",{class:"accordion-header",id:"headingWallet"},[t("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapseWallet","aria-expanded":"false","aria-controls":"collapseWallet"},[t("i",{class:"fa fa-wallet me-2"}),i(" Wallet Setting ")])],-1)),t("div",Fe,[t("div",Te,[l.store_general_setting.wallet_account_setting?(_(),u("div",je,[e[66]||(e[66]=t("label",{class:"form-label"},"Account No",-1)),n(t("input",{type:"text",class:"form-control","onUpdate:modelValue":e[27]||(e[27]=s=>l.store_general_setting.wallet_account_setting.account_no=s),placeholder:"Wallet Account No"},null,512),[[g,l.store_general_setting.wallet_account_setting.account_no]])])):m("",!0),t("button",{class:"btn btn-sm btn-outline-primary mt-2",onClick:e[28]||(e[28]=s=>l.confirmation_alert("warning","Are you sure? You want to save configuration.","Yes, Save it!",l.store_general_setting,l.save_store_general_setting,"
1store","Store configuration has been saved successfully."))},e[67]||(e[67]=[t("i",{class:"fa fa-save me-1"},null,-1),i(" Save ")]))])])])])):m("",!0)])])],64)}}});export{Re as default};

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.