diff --git a/database/migrations/2021_12_10_121739_update_creater_version_506.php b/database/migrations/2021_12_10_121739_update_creater_version_506.php new file mode 100644 index 000000000..6894a40ef --- /dev/null +++ b/database/migrations/2021_12_10_121739_update_creater_version_506.php @@ -0,0 +1,27 @@ +s in u?h(u,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):u[s]=i,U=(u,s)=>{for(var i in s||(s={}))E.call(s,i)&&b(u,i,s[i]);if(V)for(var i of V(s))P.call(s,i)&&b(u,i,s[i]);return u},S=(u,s)=>z(u,L(s));import{g as Q,i as B,k as I,m as v,n as y,a2 as T,p as H,aQ as J,j as K,q as O,r as m,o as C,c as W,b as r,w as d,y as e,a0 as X,s as Y,z as Z,A as x,v as ee,x as ae,B as se,t as te}from"./vendor.e9042f2c.js";import{d as ne,m as oe,c as re}from"./main.c4ed6aa9.js";const le=["onSubmit"],ie=te("span",null,null,-1),pe={setup(u){const s=ne(),i=oe(),q=re(),{t:g}=Q();let p=B(!1),w=B(null),f=B([]);s.currentUser.avatar&&f.value.push({image:s.currentUser.avatar});const F=I(()=>({name:{required:v.withMessage(g("validation.required"),y)},email:{required:v.withMessage(g("validation.required"),y),email:v.withMessage(g("validation.email_incorrect"),T)},password:{minLength:v.withMessage(g("validation.password_length",{count:8}),H(8))},confirm_password:{sameAsPassword:v.withMessage(g("validation.password_incorrect"),J(t.password))}})),t=K({name:s.currentUser.name,email:s.currentUser.email,language:s.currentUserSettings.language||q.selectedCompanySettings.language,password:"",confirm_password:""}),o=O(F,I(()=>t));function M(l,a){w.value=a}function k(){w.value=null}async function G(){if(o.value.$touch(),o.value.$invalid)return!0;p.value=!0;let l={name:t.name,email:t.email};try{if(t.password!=null&&t.password!==void 0&&t.password!==""&&(l=S(U({},l),{password:t.password})),s.currentUserSettings.language!==t.language&&await s.updateUserSettings({settings:{language:t.language}}),(await s.updateCurrentUser(l)).data.data){if(p.value=!1,w.value){let $=new FormData;$.append("admin_avatar",w.value),await s.uploadAvatar($)}t.password="",t.confirm_password=""}}catch{return p.value=!1,!0}}return(l,a)=>{const $=m("BaseFileUploader"),c=m("BaseInputGroup"),_=m("BaseInput"),N=m("BaseMultiselect"),A=m("BaseInputGrid"),D=m("BaseIcon"),j=m("BaseButton"),R=m("BaseSettingCard");return C(),W("form",{class:"relative",onSubmit:se(G,["prevent"])},[r(R,{title:l.$t("settings.account_settings.account_settings"),description:l.$t("settings.account_settings.section_description")},{default:d(()=>[r(A,null,{default:d(()=>[r(c,{label:l.$tc("settings.account_settings.profile_picture")},{default:d(()=>[r($,{modelValue:e(f),"onUpdate:modelValue":a[0]||(a[0]=n=>X(f)?f.value=n:f=n),avatar:!0,accept:"image/*",onChange:M,onRemove:k},null,8,["modelValue"])]),_:1},8,["label"]),ie,r(c,{label:l.$tc("settings.account_settings.name"),error:e(o).name.$error&&e(o).name.$errors[0].$message,required:""},{default:d(()=>[r(_,{modelValue:e(t).name,"onUpdate:modelValue":a[1]||(a[1]=n=>e(t).name=n),invalid:e(o).name.$error,onInput:a[2]||(a[2]=n=>e(o).name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(c,{label:l.$tc("settings.account_settings.email"),error:e(o).email.$error&&e(o).email.$errors[0].$message,required:""},{default:d(()=>[r(_,{modelValue:e(t).email,"onUpdate:modelValue":a[3]||(a[3]=n=>e(t).email=n),invalid:e(o).email.$error,onInput:a[4]||(a[4]=n=>e(o).email.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(c,{error:e(o).password.$error&&e(o).password.$errors[0].$message,label:l.$tc("settings.account_settings.password")},{default:d(()=>[r(_,{modelValue:e(t).password,"onUpdate:modelValue":a[5]||(a[5]=n=>e(t).password=n),type:"password",onInput:a[6]||(a[6]=n=>e(o).password.$touch())},null,8,["modelValue"])]),_:1},8,["error","label"]),r(c,{label:l.$tc("settings.account_settings.confirm_password"),error:e(o).confirm_password.$error&&e(o).confirm_password.$errors[0].$message},{default:d(()=>[r(_,{modelValue:e(t).confirm_password,"onUpdate:modelValue":a[7]||(a[7]=n=>e(t).confirm_password=n),type:"password",onInput:a[8]||(a[8]=n=>e(o).confirm_password.$touch())},null,8,["modelValue"])]),_:1},8,["label","error"]),r(c,{label:l.$tc("settings.language")},{default:d(()=>[r(N,{modelValue:e(t).language,"onUpdate:modelValue":a[9]||(a[9]=n=>e(t).language=n),options:e(i).config.languages,label:"name","value-prop":"code","track-by":"code","open-direction":"top"},null,8,["modelValue","options"])]),_:1},8,["label"])]),_:1}),r(j,{loading:e(p),disabled:e(p),class:"mt-6"},{left:d(n=>[e(p)?x("",!0):(C(),Y(D,{key:0,name:"SaveIcon",class:Z(n.class)},null,8,["class"]))]),default:d(()=>[ee(" "+ae(l.$tc("settings.company_info.save")),1)]),_:1},8,["loading","disabled"])]),_:1},8,["title","description"])],40,le)}}};export{pe as default}; +var h=Object.defineProperty,z=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;var b=(u,s,i)=>s in u?h(u,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):u[s]=i,U=(u,s)=>{for(var i in s||(s={}))E.call(s,i)&&b(u,i,s[i]);if(V)for(var i of V(s))P.call(s,i)&&b(u,i,s[i]);return u},S=(u,s)=>z(u,L(s));import{g as Q,i as B,k as I,m as v,n as y,a2 as T,p as H,aQ as J,j as K,q as O,r as m,o as C,c as W,b as r,w as d,y as e,a0 as X,s as Y,z as Z,A as x,v as ee,x as ae,B as se,t as te}from"./vendor.e9042f2c.js";import{d as ne,m as oe,c as re}from"./main.f55cd568.js";const le=["onSubmit"],ie=te("span",null,null,-1),pe={setup(u){const s=ne(),i=oe(),q=re(),{t:g}=Q();let p=B(!1),w=B(null),f=B([]);s.currentUser.avatar&&f.value.push({image:s.currentUser.avatar});const F=I(()=>({name:{required:v.withMessage(g("validation.required"),y)},email:{required:v.withMessage(g("validation.required"),y),email:v.withMessage(g("validation.email_incorrect"),T)},password:{minLength:v.withMessage(g("validation.password_length",{count:8}),H(8))},confirm_password:{sameAsPassword:v.withMessage(g("validation.password_incorrect"),J(t.password))}})),t=K({name:s.currentUser.name,email:s.currentUser.email,language:s.currentUserSettings.language||q.selectedCompanySettings.language,password:"",confirm_password:""}),o=O(F,I(()=>t));function M(l,a){w.value=a}function k(){w.value=null}async function G(){if(o.value.$touch(),o.value.$invalid)return!0;p.value=!0;let l={name:t.name,email:t.email};try{if(t.password!=null&&t.password!==void 0&&t.password!==""&&(l=S(U({},l),{password:t.password})),s.currentUserSettings.language!==t.language&&await s.updateUserSettings({settings:{language:t.language}}),(await s.updateCurrentUser(l)).data.data){if(p.value=!1,w.value){let $=new FormData;$.append("admin_avatar",w.value),await s.uploadAvatar($)}t.password="",t.confirm_password=""}}catch{return p.value=!1,!0}}return(l,a)=>{const $=m("BaseFileUploader"),c=m("BaseInputGroup"),_=m("BaseInput"),N=m("BaseMultiselect"),A=m("BaseInputGrid"),D=m("BaseIcon"),j=m("BaseButton"),R=m("BaseSettingCard");return C(),W("form",{class:"relative",onSubmit:se(G,["prevent"])},[r(R,{title:l.$t("settings.account_settings.account_settings"),description:l.$t("settings.account_settings.section_description")},{default:d(()=>[r(A,null,{default:d(()=>[r(c,{label:l.$tc("settings.account_settings.profile_picture")},{default:d(()=>[r($,{modelValue:e(f),"onUpdate:modelValue":a[0]||(a[0]=n=>X(f)?f.value=n:f=n),avatar:!0,accept:"image/*",onChange:M,onRemove:k},null,8,["modelValue"])]),_:1},8,["label"]),ie,r(c,{label:l.$tc("settings.account_settings.name"),error:e(o).name.$error&&e(o).name.$errors[0].$message,required:""},{default:d(()=>[r(_,{modelValue:e(t).name,"onUpdate:modelValue":a[1]||(a[1]=n=>e(t).name=n),invalid:e(o).name.$error,onInput:a[2]||(a[2]=n=>e(o).name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(c,{label:l.$tc("settings.account_settings.email"),error:e(o).email.$error&&e(o).email.$errors[0].$message,required:""},{default:d(()=>[r(_,{modelValue:e(t).email,"onUpdate:modelValue":a[3]||(a[3]=n=>e(t).email=n),invalid:e(o).email.$error,onInput:a[4]||(a[4]=n=>e(o).email.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(c,{error:e(o).password.$error&&e(o).password.$errors[0].$message,label:l.$tc("settings.account_settings.password")},{default:d(()=>[r(_,{modelValue:e(t).password,"onUpdate:modelValue":a[5]||(a[5]=n=>e(t).password=n),type:"password",onInput:a[6]||(a[6]=n=>e(o).password.$touch())},null,8,["modelValue"])]),_:1},8,["error","label"]),r(c,{label:l.$tc("settings.account_settings.confirm_password"),error:e(o).confirm_password.$error&&e(o).confirm_password.$errors[0].$message},{default:d(()=>[r(_,{modelValue:e(t).confirm_password,"onUpdate:modelValue":a[7]||(a[7]=n=>e(t).confirm_password=n),type:"password",onInput:a[8]||(a[8]=n=>e(o).confirm_password.$touch())},null,8,["modelValue"])]),_:1},8,["label","error"]),r(c,{label:l.$tc("settings.language")},{default:d(()=>[r(N,{modelValue:e(t).language,"onUpdate:modelValue":a[9]||(a[9]=n=>e(t).language=n),options:e(i).config.languages,label:"name","value-prop":"code","track-by":"code","open-direction":"top"},null,8,["modelValue","options"])]),_:1},8,["label"])]),_:1}),r(j,{loading:e(p),disabled:e(p),class:"mt-6"},{left:d(n=>[e(p)?x("",!0):(C(),Y(D,{key:0,name:"SaveIcon",class:Z(n.class)},null,8,["class"]))]),default:d(()=>[ee(" "+ae(l.$tc("settings.company_info.save")),1)]),_:1},8,["loading","disabled"])]),_:1},8,["title","description"])],40,le)}}};export{pe as default}; diff --git a/public/build/assets/AstronautIcon.525a3bea.js b/public/build/assets/AstronautIcon.52e0dffc.js similarity index 97% rename from public/build/assets/AstronautIcon.525a3bea.js rename to public/build/assets/AstronautIcon.52e0dffc.js index c35dd1648..e26efa569 100644 --- a/public/build/assets/AstronautIcon.525a3bea.js +++ b/public/build/assets/AstronautIcon.52e0dffc.js @@ -1 +1 @@ -import{_ as e}from"./main.c4ed6aa9.js";import{o as l,c as d,R as i}from"./vendor.e9042f2c.js";const t={},p={width:"125",height:"110",viewBox:"0 0 125 110",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C=i('',2),o=[C];function r(n,a){return l(),d("svg",p,o)}var c=e(t,[["render",r]]);export{c as A}; +import{_ as e}from"./main.f55cd568.js";import{o as l,c as d,R as i}from"./vendor.e9042f2c.js";const t={},p={width:"125",height:"110",viewBox:"0 0 125 110",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C=i('',2),o=[C];function r(n,a){return l(),d("svg",p,o)}var f=e(t,[["render",r]]);export{f as A}; diff --git a/public/build/assets/BackupSetting.c93135a3.js b/public/build/assets/BackupSetting.7f4c0922.js similarity index 83% rename from public/build/assets/BackupSetting.c93135a3.js rename to public/build/assets/BackupSetting.7f4c0922.js index 1bf64132a..9acbb9468 100644 --- a/public/build/assets/BackupSetting.c93135a3.js +++ b/public/build/assets/BackupSetting.7f4c0922.js @@ -1 +1 @@ -var Y=Object.defineProperty,Z=Object.defineProperties;var ee=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var te=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;var U=(k,a,n)=>a in k?Y(k,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):k[a]=n,q=(k,a)=>{for(var n in a||(a={}))te.call(a,n)&&U(k,n,a[n]);if(L)for(var n of L(a))ae.call(a,n)&&U(k,n,a[n]);return k},x=(k,a)=>Z(k,ee(a));import{x as F,g as O,w as A,i as se}from"./main.c4ed6aa9.js";import{i as y,j as E,g as P,k as D,m as R,n as H,q as oe,r as c,o as G,s as X,w as o,t as w,v as $,x as C,y as t,b as s,z as J,A as ne,B as le,c as re,F as ce}from"./vendor.e9042f2c.js";const ie={class:"flex justify-between w-full"},de=["onSubmit"],ue={class:"p-6"},pe={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},me={setup(k){y(null),y(!1);let a=y(!1),n=y(!1);const S=E(["full","only-db","only-files"]),i=F(),l=O(),p=A(),{t:f}=P(),_=D(()=>l.active&&l.componentName==="BackupModal"),M=D(()=>p.disks.map(r=>x(q({},r),{name:r.name+" \u2014 ["+r.driver+"]"}))),V=D(()=>({currentBackupData:{option:{required:R.withMessage(f("validation.required"),H)},selected_disk:{required:R.withMessage(f("validation.required"),H)}}})),b=oe(V,D(()=>i));async function z(){if(b.value.currentBackupData.$touch(),b.value.currentBackupData.$invalid)return!0;let r={option:i.currentBackupData.option,file_disk_id:i.currentBackupData.selected_disk.id};try{a.value=!0,(await i.createBackup(r)).data&&(a.value=!1,l.refreshData&&l.refreshData(),l.closeModal())}catch{a.value=!1}}async function N(){n.value=!0;let r=await p.fetchDisks({limit:"all"});i.currentBackupData.selected_disk=r.data.data[0],n.value=!1}function I(){l.closeModal(),setTimeout(()=>{b.value.$reset(),i.$reset()})}return(r,B)=>{const e=c("BaseIcon"),d=c("BaseMultiselect"),m=c("BaseInputGroup"),u=c("BaseInputGrid"),h=c("BaseButton"),T=c("BaseModal");return G(),X(T,{show:t(_),onClose:I,onOpen:N},{header:o(()=>[w("div",ie,[$(C(t(l).title)+" ",1),s(e,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:I})])]),default:o(()=>[w("form",{onSubmit:le(z,["prevent"])},[w("div",ue,[s(u,{layout:"one-column"},{default:o(()=>[s(m,{label:r.$t("settings.backup.select_backup_type"),error:t(b).currentBackupData.option.$error&&t(b).currentBackupData.option.$errors[0].$message,horizontal:"",required:"",class:"py-2"},{default:o(()=>[s(d,{modelValue:t(i).currentBackupData.option,"onUpdate:modelValue":B[0]||(B[0]=v=>t(i).currentBackupData.option=v),options:t(S),"can-deselect":!1,placeholder:r.$t("settings.backup.select_backup_type"),searchable:""},null,8,["modelValue","options","placeholder"])]),_:1},8,["label","error"]),s(m,{label:r.$t("settings.disk.select_disk"),error:t(b).currentBackupData.selected_disk.$error&&t(b).currentBackupData.selected_disk.$errors[0].$message,horizontal:"",required:"",class:"py-2"},{default:o(()=>[s(d,{modelValue:t(i).currentBackupData.selected_disk,"onUpdate:modelValue":B[1]||(B[1]=v=>t(i).currentBackupData.selected_disk=v),"content-loading":t(n),options:t(M),searchable:!0,"allow-empty":!1,label:"name","value-prop":"id",placeholder:r.$t("settings.disk.select_disk"),"track-by":"id",object:""},null,8,["modelValue","content-loading","options","placeholder"])]),_:1},8,["label","error"])]),_:1})]),w("div",pe,[s(h,{class:"mr-3",variant:"primary-outline",type:"button",onClick:I},{default:o(()=>[$(C(r.$t("general.cancel")),1)]),_:1}),s(h,{loading:t(a),disabled:t(a),variant:"primary",type:"submit"},{left:o(v=>[t(a)?ne("",!0):(G(),X(e,{key:0,name:"SaveIcon",class:J(v.class)},null,8,["class"]))]),default:o(()=>[$(" "+C(r.$t("general.create")),1)]),_:1},8,["loading","disabled"])])],40,de)]),_:1},8,["show"])}}},ke={class:"grid my-14 md:grid-cols-3"},_e={class:"inline-block"},Be={setup(k){const a=se(),n=F(),S=O(),i=A(),{t:l}=P(),p=E({selected_disk:{driver:"local"}}),f=y("");let _=y(!0);const M=D(()=>[{key:"path",label:l("settings.backup.path"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"created_at",label:l("settings.backup.created_at"),tdClass:"font-medium text-gray-900"},{key:"size",label:l("settings.backup.size"),tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]),V=D(()=>i.disks.map(e=>x(q({},e),{name:e.name+" \u2014 ["+e.driver+"]"})));N();function b(e){a.openDialog({title:l("general.are_you_sure"),message:l("settings.backup.backup_confirm_delete"),yesLabel:l("general.ok"),noLabel:l("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async d=>{if(d){let m={disk:p.selected_disk.driver,file_disk_id:p.selected_disk.id,path:e.path},u=await n.removeBackup(m);if(u.data.success||u.data.backup)return f.value&&f.value.refresh(),!0}})}function z(){setTimeout(()=>{f.value.refresh()},100)}async function N(){_.value=!0;let e=await i.fetchDisks({limit:"all"});e.data.error,p.selected_disk=e.data.data.find(d=>d.set_as_default==0),_.value=!1}async function I({page:e,filter:d,sort:m}){let u={disk:p.selected_disk.driver,filed_disk_id:p.selected_disk.id};_.value=!0;let h=await n.fetchBackups(u);return _.value=!1,{data:h.data.backups,pagination:{totalPages:1,currentPage:1}}}async function r(){S.openModal({title:l("settings.backup.create_backup"),componentName:"BackupModal",refreshData:f.value&&f.value.refresh,size:"sm"})}async function B(e){_.value=!0,window.axios({method:"GET",url:"/api/v1/download-backup",responseType:"blob",params:{disk:p.selected_disk.driver,file_disk_id:p.selected_disk.id,path:e.path}}).then(d=>{const m=window.URL.createObjectURL(new Blob([d.data])),u=document.createElement("a");u.href=m,u.setAttribute("download",e.path.split("/")[1]),document.body.appendChild(u),u.click(),_.value=!1}).catch(d=>{_.value=!1})}return(e,d)=>{const m=c("BaseIcon"),u=c("BaseButton"),h=c("BaseMultiselect"),T=c("BaseInputGroup"),v=c("BaseDropdownItem"),K=c("BaseDropdown"),Q=c("BaseTable"),W=c("BaseSettingCard");return G(),re(ce,null,[s(me),s(W,{title:e.$tc("settings.backup.title",1),description:e.$t("settings.backup.description")},{action:o(()=>[s(u,{variant:"primary-outline",onClick:r},{left:o(g=>[s(m,{class:J(g.class),name:"PlusIcon"},null,8,["class"])]),default:o(()=>[$(" "+C(e.$t("settings.backup.new_backup")),1)]),_:1})]),default:o(()=>[w("div",ke,[s(T,{label:e.$t("settings.disk.select_disk"),"content-loading":t(_)},{default:o(()=>[s(h,{modelValue:t(p).selected_disk,"onUpdate:modelValue":d[0]||(d[0]=g=>t(p).selected_disk=g),"content-loading":t(_),options:t(V),"track-by":"id",placeholder:e.$t("settings.disk.select_disk"),label:"name",searchable:!0,object:"",class:"w-full","value-prop":"id",onSelect:z},null,8,["modelValue","content-loading","options","placeholder"])]),_:1},8,["label","content-loading"])]),s(Q,{ref:(g,j)=>{j.table=g,f.value=g},class:"mt-10","show-filter":!1,data:I,columns:t(M)},{"cell-actions":o(({row:g})=>[s(K,null,{activator:o(()=>[w("div",_e,[s(m,{name:"DotsHorizontalIcon",class:"text-gray-500"})])]),default:o(()=>[s(v,{onClick:j=>B(g.data)},{default:o(()=>[s(m,{name:"CloudDownloadIcon",class:"mr-3 text-gray-600"}),$(" "+C(e.$t("general.download")),1)]),_:2},1032,["onClick"]),s(v,{onClick:j=>b(g.data)},{default:o(()=>[s(m,{name:"TrashIcon",class:"mr-3 text-gray-600"}),$(" "+C(e.$t("general.delete")),1)]),_:2},1032,["onClick"])]),_:2},1024)]),_:1},8,["columns"])]),_:1},8,["title","description"])],64)}}};export{Be as default}; +var Y=Object.defineProperty,Z=Object.defineProperties;var ee=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var te=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;var U=(k,a,n)=>a in k?Y(k,a,{enumerable:!0,configurable:!0,writable:!0,value:n}):k[a]=n,q=(k,a)=>{for(var n in a||(a={}))te.call(a,n)&&U(k,n,a[n]);if(L)for(var n of L(a))ae.call(a,n)&&U(k,n,a[n]);return k},x=(k,a)=>Z(k,ee(a));import{x as F,g as O,w as A,i as se}from"./main.f55cd568.js";import{i as y,j as E,g as P,k as D,m as R,n as H,q as oe,r as c,o as G,s as X,w as o,t as w,v as $,x as C,y as t,b as s,z as J,A as ne,B as le,c as re,F as ce}from"./vendor.e9042f2c.js";const ie={class:"flex justify-between w-full"},de=["onSubmit"],ue={class:"p-6"},pe={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},me={setup(k){y(null),y(!1);let a=y(!1),n=y(!1);const S=E(["full","only-db","only-files"]),i=F(),l=O(),p=A(),{t:_}=P(),f=D(()=>l.active&&l.componentName==="BackupModal"),M=D(()=>p.disks.map(r=>x(q({},r),{name:r.name+" \u2014 ["+r.driver+"]"}))),V=D(()=>({currentBackupData:{option:{required:R.withMessage(_("validation.required"),H)},selected_disk:{required:R.withMessage(_("validation.required"),H)}}})),b=oe(V,D(()=>i));async function z(){if(b.value.currentBackupData.$touch(),b.value.currentBackupData.$invalid)return!0;let r={option:i.currentBackupData.option,file_disk_id:i.currentBackupData.selected_disk.id};try{a.value=!0,(await i.createBackup(r)).data&&(a.value=!1,l.refreshData&&l.refreshData(),l.closeModal())}catch{a.value=!1}}async function N(){n.value=!0;let r=await p.fetchDisks({limit:"all"});i.currentBackupData.selected_disk=r.data.data[0],n.value=!1}function I(){l.closeModal(),setTimeout(()=>{b.value.$reset(),i.$reset()})}return(r,B)=>{const e=c("BaseIcon"),d=c("BaseMultiselect"),m=c("BaseInputGroup"),u=c("BaseInputGrid"),h=c("BaseButton"),T=c("BaseModal");return G(),X(T,{show:t(f),onClose:I,onOpen:N},{header:o(()=>[w("div",ie,[$(C(t(l).title)+" ",1),s(e,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:I})])]),default:o(()=>[w("form",{onSubmit:le(z,["prevent"])},[w("div",ue,[s(u,{layout:"one-column"},{default:o(()=>[s(m,{label:r.$t("settings.backup.select_backup_type"),error:t(b).currentBackupData.option.$error&&t(b).currentBackupData.option.$errors[0].$message,horizontal:"",required:"",class:"py-2"},{default:o(()=>[s(d,{modelValue:t(i).currentBackupData.option,"onUpdate:modelValue":B[0]||(B[0]=v=>t(i).currentBackupData.option=v),options:t(S),"can-deselect":!1,placeholder:r.$t("settings.backup.select_backup_type"),searchable:""},null,8,["modelValue","options","placeholder"])]),_:1},8,["label","error"]),s(m,{label:r.$t("settings.disk.select_disk"),error:t(b).currentBackupData.selected_disk.$error&&t(b).currentBackupData.selected_disk.$errors[0].$message,horizontal:"",required:"",class:"py-2"},{default:o(()=>[s(d,{modelValue:t(i).currentBackupData.selected_disk,"onUpdate:modelValue":B[1]||(B[1]=v=>t(i).currentBackupData.selected_disk=v),"content-loading":t(n),options:t(M),searchable:!0,"allow-empty":!1,label:"name","value-prop":"id",placeholder:r.$t("settings.disk.select_disk"),"track-by":"id",object:""},null,8,["modelValue","content-loading","options","placeholder"])]),_:1},8,["label","error"])]),_:1})]),w("div",pe,[s(h,{class:"mr-3",variant:"primary-outline",type:"button",onClick:I},{default:o(()=>[$(C(r.$t("general.cancel")),1)]),_:1}),s(h,{loading:t(a),disabled:t(a),variant:"primary",type:"submit"},{left:o(v=>[t(a)?ne("",!0):(G(),X(e,{key:0,name:"SaveIcon",class:J(v.class)},null,8,["class"]))]),default:o(()=>[$(" "+C(r.$t("general.create")),1)]),_:1},8,["loading","disabled"])])],40,de)]),_:1},8,["show"])}}},ke={class:"grid my-14 md:grid-cols-3"},fe={class:"inline-block"},Be={setup(k){const a=se(),n=F(),S=O(),i=A(),{t:l}=P(),p=E({selected_disk:{driver:"local"}}),_=y("");let f=y(!0);const M=D(()=>[{key:"path",label:l("settings.backup.path"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"created_at",label:l("settings.backup.created_at"),tdClass:"font-medium text-gray-900"},{key:"size",label:l("settings.backup.size"),tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]),V=D(()=>i.disks.map(e=>x(q({},e),{name:e.name+" \u2014 ["+e.driver+"]"})));N();function b(e){a.openDialog({title:l("general.are_you_sure"),message:l("settings.backup.backup_confirm_delete"),yesLabel:l("general.ok"),noLabel:l("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async d=>{if(d){let m={disk:p.selected_disk.driver,file_disk_id:p.selected_disk.id,path:e.path},u=await n.removeBackup(m);if(u.data.success||u.data.backup)return _.value&&_.value.refresh(),!0}})}function z(){setTimeout(()=>{_.value.refresh()},100)}async function N(){f.value=!0;let e=await i.fetchDisks({limit:"all"});e.data.error,p.selected_disk=e.data.data.find(d=>d.set_as_default==0),f.value=!1}async function I({page:e,filter:d,sort:m}){let u={disk:p.selected_disk.driver,filed_disk_id:p.selected_disk.id};f.value=!0;let h=await n.fetchBackups(u);return f.value=!1,{data:h.data.backups,pagination:{totalPages:1,currentPage:1}}}async function r(){S.openModal({title:l("settings.backup.create_backup"),componentName:"BackupModal",refreshData:_.value&&_.value.refresh,size:"sm"})}async function B(e){f.value=!0,window.axios({method:"GET",url:"/api/v1/download-backup",responseType:"blob",params:{disk:p.selected_disk.driver,file_disk_id:p.selected_disk.id,path:e.path}}).then(d=>{const m=window.URL.createObjectURL(new Blob([d.data])),u=document.createElement("a");u.href=m,u.setAttribute("download",e.path.split("/")[1]),document.body.appendChild(u),u.click(),f.value=!1}).catch(d=>{f.value=!1})}return(e,d)=>{const m=c("BaseIcon"),u=c("BaseButton"),h=c("BaseMultiselect"),T=c("BaseInputGroup"),v=c("BaseDropdownItem"),K=c("BaseDropdown"),Q=c("BaseTable"),W=c("BaseSettingCard");return G(),re(ce,null,[s(me),s(W,{title:e.$tc("settings.backup.title",1),description:e.$t("settings.backup.description")},{action:o(()=>[s(u,{variant:"primary-outline",onClick:r},{left:o(g=>[s(m,{class:J(g.class),name:"PlusIcon"},null,8,["class"])]),default:o(()=>[$(" "+C(e.$t("settings.backup.new_backup")),1)]),_:1})]),default:o(()=>[w("div",ke,[s(T,{label:e.$t("settings.disk.select_disk"),"content-loading":t(f)},{default:o(()=>[s(h,{modelValue:t(p).selected_disk,"onUpdate:modelValue":d[0]||(d[0]=g=>t(p).selected_disk=g),"content-loading":t(f),options:t(V),"track-by":"id",placeholder:e.$t("settings.disk.select_disk"),label:"name",searchable:!0,object:"",class:"w-full","value-prop":"id",onSelect:z},null,8,["modelValue","content-loading","options","placeholder"])]),_:1},8,["label","content-loading"])]),s(Q,{ref:(g,j)=>{j.table=g,_.value=g},class:"mt-10","show-filter":!1,data:I,columns:t(M)},{"cell-actions":o(({row:g})=>[s(K,null,{activator:o(()=>[w("div",fe,[s(m,{name:"DotsHorizontalIcon",class:"text-gray-500"})])]),default:o(()=>[s(v,{onClick:j=>B(g.data)},{default:o(()=>[s(m,{name:"CloudDownloadIcon",class:"mr-3 text-gray-600"}),$(" "+C(e.$t("general.download")),1)]),_:2},1032,["onClick"]),s(v,{onClick:j=>b(g.data)},{default:o(()=>[s(m,{name:"TrashIcon",class:"mr-3 text-gray-600"}),$(" "+C(e.$t("general.delete")),1)]),_:2},1032,["onClick"])]),_:2},1024)]),_:1},8,["columns"])]),_:1},8,["title","description"])],64)}}};export{Be as default}; diff --git a/public/build/assets/BaseEditor.c48132eb.js b/public/build/assets/BaseEditor.8aef389c.js similarity index 99% rename from public/build/assets/BaseEditor.c48132eb.js rename to public/build/assets/BaseEditor.8aef389c.js index 1dbe07d94..8ba4e34ad 100644 --- a/public/build/assets/BaseEditor.c48132eb.js +++ b/public/build/assets/BaseEditor.8aef389c.js @@ -1,4 +1,4 @@ -var nc=Object.defineProperty,oc=Object.defineProperties;var ic=Object.getOwnPropertyDescriptors;var Mr=Object.getOwnPropertySymbols;var Ko=Object.prototype.hasOwnProperty,$o=Object.prototype.propertyIsEnumerable;var Uo=(e,t,r)=>t in e?nc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,S=(e,t)=>{for(var r in t||(t={}))Ko.call(t,r)&&Uo(e,r,t[r]);if(Mr)for(var r of Mr(t))$o.call(t,r)&&Uo(e,r,t[r]);return e},wt=(e,t)=>oc(e,ic(t));var Go=(e,t)=>{var r={};for(var n in e)Ko.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Mr)for(var n of Mr(e))t.indexOf(n)<0&&$o.call(e,n)&&(r[n]=e[n]);return r};import{b7 as sc,ad as ac,b8 as $e,i as Cr,M as sn,b3 as xr,a1 as ye,b9 as cc,ac as lc,b6 as uc,y as fc,aq as pc,j as dc,ba as hc,bb as mc,o as kt,c as Tt,t as _,R as vc,bc as gc,D as yc,aT as bc,r as ut,s as kc,w as an,b as q,z as V,A as Sc}from"./vendor.e9042f2c.js";import{_ as Dt}from"./main.c4ed6aa9.js";function ft(e){this.content=e}ft.prototype={constructor:ft,find:function(e){for(var t=0;t>1}};ft.from=function(e){if(e instanceof ft)return e;var t=[];if(e)for(var r in e)t.push(r,e[r]);return new ft(t)};var Yo=ft;function Xo(e,t,r){for(var n=0;;n++){if(n==e.childCount||n==t.childCount)return e.childCount==t.childCount?null:r;var o=e.child(n),i=t.child(n);if(o==i){r+=o.nodeSize;continue}if(!o.sameMarkup(i))return r;if(o.isText&&o.text!=i.text){for(var s=0;o.text[s]==i.text[s];s++)r++;return r}if(o.content.size||i.content.size){var a=Xo(o.content,i.content,r+1);if(a!=null)return a}r+=o.nodeSize}}function Qo(e,t,r,n){for(var o=e.childCount,i=t.childCount;;){if(o==0||i==0)return o==i?null:{a:r,b:n};var s=e.child(--o),a=t.child(--i),c=s.nodeSize;if(s==a){r-=c,n-=c;continue}if(!s.sameMarkup(a))return{a:r,b:n};if(s.isText&&s.text!=a.text){for(var l=0,u=Math.min(s.text.length,a.text.length);lt&&n(c,o+a,i,s)!==!1&&c.content.size){var u=a+1;c.nodesBetween(Math.max(0,t-u),Math.min(c.content.size,r-u),n,o+u)}a=l}};k.prototype.descendants=function(t){this.nodesBetween(0,this.size,t)};k.prototype.textBetween=function(t,r,n,o){var i="",s=!0;return this.nodesBetween(t,r,function(a,c){a.isText?(i+=a.text.slice(Math.max(t,c)-c,r-c),s=!n):a.isLeaf&&o?(i+=o,s=!n):!s&&a.isBlock&&(i+=n,s=!0)},0),i};k.prototype.append=function(t){if(!t.size)return this;if(!this.size)return t;var r=this.lastChild,n=t.firstChild,o=this.content.slice(),i=0;for(r.isText&&r.sameMarkup(n)&&(o[o.length-1]=r.withText(r.text+n.text),i=1);it)for(var i=0,s=0;st&&((sr)&&(a.isText?a=a.cut(Math.max(0,t-s),Math.min(a.text.length,r-s)):a=a.cut(Math.max(0,t-s-1),Math.min(a.content.size,r-s-1))),n.push(a),o+=a.nodeSize),s=c}return new k(n,o)};k.prototype.cutByIndex=function(t,r){return t==r?k.empty:t==0&&r==this.content.length?this:new k(this.content.slice(t,r))};k.prototype.replaceChild=function(t,r){var n=this.content[t];if(n==r)return this;var o=this.content.slice(),i=this.size+r.nodeSize-n.nodeSize;return o[t]=r,new k(o,i)};k.prototype.addToStart=function(t){return new k([t].concat(this.content),this.size+t.nodeSize)};k.prototype.addToEnd=function(t){return new k(this.content.concat(t),this.size+t.nodeSize)};k.prototype.eq=function(t){if(this.content.length!=t.content.length)return!1;for(var r=0;rthis.size||t<0)throw new RangeError("Position "+t+" outside of fragment ("+this+")");for(var n=0,o=0;;n++){var i=this.child(n),s=o+i.nodeSize;if(s>=t)return s==t||r>0?wr(n+1,s):wr(n,o);o=s}};k.prototype.toString=function(){return"<"+this.toStringInner()+">"};k.prototype.toStringInner=function(){return this.content.join(", ")};k.prototype.toJSON=function(){return this.content.length?this.content.map(function(t){return t.toJSON()}):null};k.fromJSON=function(t,r){if(!r)return k.empty;if(!Array.isArray(r))throw new RangeError("Invalid input for Fragment.fromJSON");return new k(r.map(t.nodeFromJSON))};k.fromArray=function(t){if(!t.length)return k.empty;for(var r,n=0,o=0;othis.type.rank&&(r||(r=t.slice(0,o)),r.push(this),n=!0),r&&r.push(i)}}return r||(r=t.slice()),n||r.push(this),r};R.prototype.removeFromSet=function(t){for(var r=0;r0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t};O.fromJSON=function(t,r){if(!r)return O.empty;var n=r.openStart||0,o=r.openEnd||0;if(typeof n!="number"||typeof o!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new O(k.fromJSON(t,r.content),n,o)};O.maxOpen=function(t,r){r===void 0&&(r=!0);for(var n=0,o=0,i=t.firstChild;i&&!i.isLeaf&&(r||!i.type.spec.isolating);i=i.firstChild)n++;for(var s=t.lastChild;s&&!s.isLeaf&&(r||!s.type.spec.isolating);s=s.lastChild)o++;return new O(t,n,o)};Object.defineProperties(O.prototype,Zo);function ti(e,t,r){var n=e.findIndex(t),o=n.index,i=n.offset,s=e.maybeChild(o),a=e.findIndex(r),c=a.index,l=a.offset;if(i==t||s.isText){if(l!=r&&!e.child(c).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(r))}if(o!=c)throw new RangeError("Removing non-flat range");return e.replaceChild(o,s.copy(ti(s.content,t-i-1,r-i-1)))}function ei(e,t,r,n){var o=e.findIndex(t),i=o.index,s=o.offset,a=e.maybeChild(i);if(s==t||a.isText)return n&&!n.canReplace(i,i,r)?null:e.cut(0,t).append(r).append(e.cut(t));var c=ei(a.content,t-s-1,r);return c&&e.replaceChild(i,a.copy(c))}O.empty=new O(k.empty,0,0);function Mc(e,t,r){if(r.openStart>e.depth)throw new Jt("Inserted content deeper than insertion position");if(e.depth-r.openStart!=t.depth-r.openEnd)throw new Jt("Inconsistent open depths");return ri(e,t,r,0)}function ri(e,t,r,n){var o=e.index(n),i=e.node(n);if(o==t.index(n)&&n=0&&e.isText&&e.sameMarkup(t[r])?t[r]=e.withText(t[r].text+e.text):t.push(e)}function Ue(e,t,r,n){var o=(t||e).node(r),i=0,s=t?t.index(r):o.childCount;e&&(i=e.index(r),e.depth>r?i++:e.textOffset&&(be(e.nodeAfter,n),i++));for(var a=i;ao&&ln(e,t,o+1),s=n.depth>o&&ln(r,n,o+1),a=[];return Ue(null,e,o,a),i&&s&&t.index(o)==r.index(o)?(ni(i,s),be(ke(i,oi(e,t,r,n,o+1)),a)):(i&&be(ke(i,Ar(e,t,o+1)),a),Ue(t,r,o,a),s&&be(ke(s,Ar(r,n,o+1)),a)),Ue(n,null,o,a),new k(a)}function Ar(e,t,r){var n=[];if(Ue(null,e,r,n),e.depth>r){var o=ln(e,t,r+1);be(ke(o,Ar(e,t,r+1)),n)}return Ue(t,null,r,n),new k(n)}function Cc(e,t){for(var r=t.depth-e.openStart,n=t.node(r),o=n.copy(e.content),i=r-1;i>=0;i--)o=t.node(i).copy(k.from(o));return{start:o.resolveNoCache(e.openStart+r),end:o.resolveNoCache(o.content.size-e.openEnd-r)}}var K=function(t,r,n){this.pos=t,this.path=r,this.depth=r.length/3-1,this.parentOffset=n},De={parent:{configurable:!0},doc:{configurable:!0},textOffset:{configurable:!0},nodeAfter:{configurable:!0},nodeBefore:{configurable:!0}};K.prototype.resolveDepth=function(t){return t==null?this.depth:t<0?this.depth+t:t};De.parent.get=function(){return this.node(this.depth)};De.doc.get=function(){return this.node(0)};K.prototype.node=function(t){return this.path[this.resolveDepth(t)*3]};K.prototype.index=function(t){return this.path[this.resolveDepth(t)*3+1]};K.prototype.indexAfter=function(t){return t=this.resolveDepth(t),this.index(t)+(t==this.depth&&!this.textOffset?0:1)};K.prototype.start=function(t){return t=this.resolveDepth(t),t==0?0:this.path[t*3-1]+1};K.prototype.end=function(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size};K.prototype.before=function(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]};K.prototype.after=function(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]+this.path[t*3].nodeSize};De.textOffset.get=function(){return this.pos-this.path[this.path.length-1]};De.nodeAfter.get=function(){var e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;var r=this.pos-this.path[this.path.length-1],n=e.child(t);return r?e.child(t).cut(r):n};De.nodeBefore.get=function(){var e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):e==0?null:this.parent.child(e-1)};K.prototype.posAtIndex=function(t,r){r=this.resolveDepth(r);for(var n=this.path[r*3],o=r==0?0:this.path[r*3-1]+1,i=0;i0;r--)if(this.start(r)<=t&&this.end(r)>=t)return r;return 0};K.prototype.blockRange=function(t,r){if(t===void 0&&(t=this),t.pos=0;n--)if(t.pos<=this.end(n)&&(!r||r(this.node(n))))return new Ge(this,t,n)};K.prototype.sameParent=function(t){return this.pos-this.parentOffset==t.pos-t.parentOffset};K.prototype.max=function(t){return t.pos>this.pos?t:this};K.prototype.min=function(t){return t.pos=0&&r<=t.content.size))throw new RangeError("Position "+r+" out of range");for(var n=[],o=0,i=r,s=t;;){var a=s.content.findIndex(i),c=a.index,l=a.offset,u=i-l;if(n.push(s,c,o+l),!u||(s=s.child(c),s.isText))break;i=u-1,o+=l+1}return new K(r,n,i)};K.resolveCached=function(t,r){for(var n=0;nt&&this.nodesBetween(t,r,function(i){return n.isInSet(i.marks)&&(o=!0),!o}),o};At.isBlock.get=function(){return this.type.isBlock};At.isTextblock.get=function(){return this.type.isTextblock};At.inlineContent.get=function(){return this.type.inlineContent};At.isInline.get=function(){return this.type.isInline};At.isText.get=function(){return this.type.isText};At.isLeaf.get=function(){return this.type.isLeaf};At.isAtom.get=function(){return this.type.isAtom};P.prototype.toString=function(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);var t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),ii(this.marks,t)};P.prototype.contentMatchAt=function(t){var r=this.type.contentMatch.matchFragment(this.content,0,t);if(!r)throw new Error("Called contentMatchAt on a node with invalid content");return r};P.prototype.canReplace=function(t,r,n,o,i){n===void 0&&(n=k.empty),o===void 0&&(o=0),i===void 0&&(i=n.childCount);var s=this.contentMatchAt(t).matchFragment(n,o,i),a=s&&s.matchFragment(this.content,r);if(!a||!a.validEnd)return!1;for(var c=o;c=0;r--)t=e[r].type.name+"("+t+")";return t}var pt=function(t){this.validEnd=t,this.next=[],this.wrapCache=[]},_r={inlineContent:{configurable:!0},defaultType:{configurable:!0},edgeCount:{configurable:!0}};pt.parse=function(t,r){var n=new Nr(t,r);if(n.next==null)return pt.empty;var o=ai(n);n.next&&n.err("Unexpected trailing text");var i=Ic(Dc(o));return Rc(i,n),i};pt.prototype.matchType=function(t){for(var r=0;r>1};pt.prototype.edge=function(t){var r=t<<1;if(r>=this.next.length)throw new RangeError("There's no "+t+"th edge in this content match");return{type:this.next[r],next:this.next[r+1]}};pt.prototype.toString=function(){var t=[];function r(n){t.push(n);for(var o=1;o"+t.indexOf(n.next[s+1]);return i}).join(` +var nc=Object.defineProperty,oc=Object.defineProperties;var ic=Object.getOwnPropertyDescriptors;var Mr=Object.getOwnPropertySymbols;var Ko=Object.prototype.hasOwnProperty,$o=Object.prototype.propertyIsEnumerable;var Uo=(e,t,r)=>t in e?nc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,S=(e,t)=>{for(var r in t||(t={}))Ko.call(t,r)&&Uo(e,r,t[r]);if(Mr)for(var r of Mr(t))$o.call(t,r)&&Uo(e,r,t[r]);return e},wt=(e,t)=>oc(e,ic(t));var Go=(e,t)=>{var r={};for(var n in e)Ko.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Mr)for(var n of Mr(e))t.indexOf(n)<0&&$o.call(e,n)&&(r[n]=e[n]);return r};import{b7 as sc,ad as ac,b8 as $e,i as Cr,M as sn,b3 as xr,a1 as ye,b9 as cc,ac as lc,b6 as uc,y as fc,aq as pc,j as dc,ba as hc,bb as mc,o as kt,c as Tt,t as _,R as vc,bc as gc,D as yc,aT as bc,r as ut,s as kc,w as an,b as q,z as V,A as Sc}from"./vendor.e9042f2c.js";import{_ as Dt}from"./main.f55cd568.js";function ft(e){this.content=e}ft.prototype={constructor:ft,find:function(e){for(var t=0;t>1}};ft.from=function(e){if(e instanceof ft)return e;var t=[];if(e)for(var r in e)t.push(r,e[r]);return new ft(t)};var Yo=ft;function Xo(e,t,r){for(var n=0;;n++){if(n==e.childCount||n==t.childCount)return e.childCount==t.childCount?null:r;var o=e.child(n),i=t.child(n);if(o==i){r+=o.nodeSize;continue}if(!o.sameMarkup(i))return r;if(o.isText&&o.text!=i.text){for(var s=0;o.text[s]==i.text[s];s++)r++;return r}if(o.content.size||i.content.size){var a=Xo(o.content,i.content,r+1);if(a!=null)return a}r+=o.nodeSize}}function Qo(e,t,r,n){for(var o=e.childCount,i=t.childCount;;){if(o==0||i==0)return o==i?null:{a:r,b:n};var s=e.child(--o),a=t.child(--i),c=s.nodeSize;if(s==a){r-=c,n-=c;continue}if(!s.sameMarkup(a))return{a:r,b:n};if(s.isText&&s.text!=a.text){for(var l=0,u=Math.min(s.text.length,a.text.length);lt&&n(c,o+a,i,s)!==!1&&c.content.size){var u=a+1;c.nodesBetween(Math.max(0,t-u),Math.min(c.content.size,r-u),n,o+u)}a=l}};k.prototype.descendants=function(t){this.nodesBetween(0,this.size,t)};k.prototype.textBetween=function(t,r,n,o){var i="",s=!0;return this.nodesBetween(t,r,function(a,c){a.isText?(i+=a.text.slice(Math.max(t,c)-c,r-c),s=!n):a.isLeaf&&o?(i+=o,s=!n):!s&&a.isBlock&&(i+=n,s=!0)},0),i};k.prototype.append=function(t){if(!t.size)return this;if(!this.size)return t;var r=this.lastChild,n=t.firstChild,o=this.content.slice(),i=0;for(r.isText&&r.sameMarkup(n)&&(o[o.length-1]=r.withText(r.text+n.text),i=1);it)for(var i=0,s=0;st&&((sr)&&(a.isText?a=a.cut(Math.max(0,t-s),Math.min(a.text.length,r-s)):a=a.cut(Math.max(0,t-s-1),Math.min(a.content.size,r-s-1))),n.push(a),o+=a.nodeSize),s=c}return new k(n,o)};k.prototype.cutByIndex=function(t,r){return t==r?k.empty:t==0&&r==this.content.length?this:new k(this.content.slice(t,r))};k.prototype.replaceChild=function(t,r){var n=this.content[t];if(n==r)return this;var o=this.content.slice(),i=this.size+r.nodeSize-n.nodeSize;return o[t]=r,new k(o,i)};k.prototype.addToStart=function(t){return new k([t].concat(this.content),this.size+t.nodeSize)};k.prototype.addToEnd=function(t){return new k(this.content.concat(t),this.size+t.nodeSize)};k.prototype.eq=function(t){if(this.content.length!=t.content.length)return!1;for(var r=0;rthis.size||t<0)throw new RangeError("Position "+t+" outside of fragment ("+this+")");for(var n=0,o=0;;n++){var i=this.child(n),s=o+i.nodeSize;if(s>=t)return s==t||r>0?wr(n+1,s):wr(n,o);o=s}};k.prototype.toString=function(){return"<"+this.toStringInner()+">"};k.prototype.toStringInner=function(){return this.content.join(", ")};k.prototype.toJSON=function(){return this.content.length?this.content.map(function(t){return t.toJSON()}):null};k.fromJSON=function(t,r){if(!r)return k.empty;if(!Array.isArray(r))throw new RangeError("Invalid input for Fragment.fromJSON");return new k(r.map(t.nodeFromJSON))};k.fromArray=function(t){if(!t.length)return k.empty;for(var r,n=0,o=0;othis.type.rank&&(r||(r=t.slice(0,o)),r.push(this),n=!0),r&&r.push(i)}}return r||(r=t.slice()),n||r.push(this),r};R.prototype.removeFromSet=function(t){for(var r=0;r0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t};O.fromJSON=function(t,r){if(!r)return O.empty;var n=r.openStart||0,o=r.openEnd||0;if(typeof n!="number"||typeof o!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new O(k.fromJSON(t,r.content),n,o)};O.maxOpen=function(t,r){r===void 0&&(r=!0);for(var n=0,o=0,i=t.firstChild;i&&!i.isLeaf&&(r||!i.type.spec.isolating);i=i.firstChild)n++;for(var s=t.lastChild;s&&!s.isLeaf&&(r||!s.type.spec.isolating);s=s.lastChild)o++;return new O(t,n,o)};Object.defineProperties(O.prototype,Zo);function ti(e,t,r){var n=e.findIndex(t),o=n.index,i=n.offset,s=e.maybeChild(o),a=e.findIndex(r),c=a.index,l=a.offset;if(i==t||s.isText){if(l!=r&&!e.child(c).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(r))}if(o!=c)throw new RangeError("Removing non-flat range");return e.replaceChild(o,s.copy(ti(s.content,t-i-1,r-i-1)))}function ei(e,t,r,n){var o=e.findIndex(t),i=o.index,s=o.offset,a=e.maybeChild(i);if(s==t||a.isText)return n&&!n.canReplace(i,i,r)?null:e.cut(0,t).append(r).append(e.cut(t));var c=ei(a.content,t-s-1,r);return c&&e.replaceChild(i,a.copy(c))}O.empty=new O(k.empty,0,0);function Mc(e,t,r){if(r.openStart>e.depth)throw new Jt("Inserted content deeper than insertion position");if(e.depth-r.openStart!=t.depth-r.openEnd)throw new Jt("Inconsistent open depths");return ri(e,t,r,0)}function ri(e,t,r,n){var o=e.index(n),i=e.node(n);if(o==t.index(n)&&n=0&&e.isText&&e.sameMarkup(t[r])?t[r]=e.withText(t[r].text+e.text):t.push(e)}function Ue(e,t,r,n){var o=(t||e).node(r),i=0,s=t?t.index(r):o.childCount;e&&(i=e.index(r),e.depth>r?i++:e.textOffset&&(be(e.nodeAfter,n),i++));for(var a=i;ao&&ln(e,t,o+1),s=n.depth>o&&ln(r,n,o+1),a=[];return Ue(null,e,o,a),i&&s&&t.index(o)==r.index(o)?(ni(i,s),be(ke(i,oi(e,t,r,n,o+1)),a)):(i&&be(ke(i,Ar(e,t,o+1)),a),Ue(t,r,o,a),s&&be(ke(s,Ar(r,n,o+1)),a)),Ue(n,null,o,a),new k(a)}function Ar(e,t,r){var n=[];if(Ue(null,e,r,n),e.depth>r){var o=ln(e,t,r+1);be(ke(o,Ar(e,t,r+1)),n)}return Ue(t,null,r,n),new k(n)}function Cc(e,t){for(var r=t.depth-e.openStart,n=t.node(r),o=n.copy(e.content),i=r-1;i>=0;i--)o=t.node(i).copy(k.from(o));return{start:o.resolveNoCache(e.openStart+r),end:o.resolveNoCache(o.content.size-e.openEnd-r)}}var K=function(t,r,n){this.pos=t,this.path=r,this.depth=r.length/3-1,this.parentOffset=n},De={parent:{configurable:!0},doc:{configurable:!0},textOffset:{configurable:!0},nodeAfter:{configurable:!0},nodeBefore:{configurable:!0}};K.prototype.resolveDepth=function(t){return t==null?this.depth:t<0?this.depth+t:t};De.parent.get=function(){return this.node(this.depth)};De.doc.get=function(){return this.node(0)};K.prototype.node=function(t){return this.path[this.resolveDepth(t)*3]};K.prototype.index=function(t){return this.path[this.resolveDepth(t)*3+1]};K.prototype.indexAfter=function(t){return t=this.resolveDepth(t),this.index(t)+(t==this.depth&&!this.textOffset?0:1)};K.prototype.start=function(t){return t=this.resolveDepth(t),t==0?0:this.path[t*3-1]+1};K.prototype.end=function(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size};K.prototype.before=function(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]};K.prototype.after=function(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]+this.path[t*3].nodeSize};De.textOffset.get=function(){return this.pos-this.path[this.path.length-1]};De.nodeAfter.get=function(){var e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;var r=this.pos-this.path[this.path.length-1],n=e.child(t);return r?e.child(t).cut(r):n};De.nodeBefore.get=function(){var e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):e==0?null:this.parent.child(e-1)};K.prototype.posAtIndex=function(t,r){r=this.resolveDepth(r);for(var n=this.path[r*3],o=r==0?0:this.path[r*3-1]+1,i=0;i0;r--)if(this.start(r)<=t&&this.end(r)>=t)return r;return 0};K.prototype.blockRange=function(t,r){if(t===void 0&&(t=this),t.pos=0;n--)if(t.pos<=this.end(n)&&(!r||r(this.node(n))))return new Ge(this,t,n)};K.prototype.sameParent=function(t){return this.pos-this.parentOffset==t.pos-t.parentOffset};K.prototype.max=function(t){return t.pos>this.pos?t:this};K.prototype.min=function(t){return t.pos=0&&r<=t.content.size))throw new RangeError("Position "+r+" out of range");for(var n=[],o=0,i=r,s=t;;){var a=s.content.findIndex(i),c=a.index,l=a.offset,u=i-l;if(n.push(s,c,o+l),!u||(s=s.child(c),s.isText))break;i=u-1,o+=l+1}return new K(r,n,i)};K.resolveCached=function(t,r){for(var n=0;nt&&this.nodesBetween(t,r,function(i){return n.isInSet(i.marks)&&(o=!0),!o}),o};At.isBlock.get=function(){return this.type.isBlock};At.isTextblock.get=function(){return this.type.isTextblock};At.inlineContent.get=function(){return this.type.inlineContent};At.isInline.get=function(){return this.type.isInline};At.isText.get=function(){return this.type.isText};At.isLeaf.get=function(){return this.type.isLeaf};At.isAtom.get=function(){return this.type.isAtom};P.prototype.toString=function(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);var t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),ii(this.marks,t)};P.prototype.contentMatchAt=function(t){var r=this.type.contentMatch.matchFragment(this.content,0,t);if(!r)throw new Error("Called contentMatchAt on a node with invalid content");return r};P.prototype.canReplace=function(t,r,n,o,i){n===void 0&&(n=k.empty),o===void 0&&(o=0),i===void 0&&(i=n.childCount);var s=this.contentMatchAt(t).matchFragment(n,o,i),a=s&&s.matchFragment(this.content,r);if(!a||!a.validEnd)return!1;for(var c=o;c=0;r--)t=e[r].type.name+"("+t+")";return t}var pt=function(t){this.validEnd=t,this.next=[],this.wrapCache=[]},_r={inlineContent:{configurable:!0},defaultType:{configurable:!0},edgeCount:{configurable:!0}};pt.parse=function(t,r){var n=new Nr(t,r);if(n.next==null)return pt.empty;var o=ai(n);n.next&&n.err("Unexpected trailing text");var i=Ic(Dc(o));return Rc(i,n),i};pt.prototype.matchType=function(t){for(var r=0;r>1};pt.prototype.edge=function(t){var r=t<<1;if(r>=this.next.length)throw new RangeError("There's no "+t+"th edge in this content match");return{type:this.next[r],next:this.next[r+1]}};pt.prototype.toString=function(){var t=[];function r(n){t.push(n);for(var o=1;o"+t.indexOf(n.next[s+1]);return i}).join(` `)};Object.defineProperties(pt.prototype,_r);pt.empty=new pt(!0);var Nr=function(t,r){this.string=t,this.nodeTypes=r,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()},si={next:{configurable:!0}};si.next.get=function(){return this.tokens[this.pos]};Nr.prototype.eat=function(t){return this.next==t&&(this.pos++||!0)};Nr.prototype.err=function(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")};Object.defineProperties(Nr.prototype,si);function ai(e){var t=[];do t.push(Tc(e));while(e.eat("|"));return t.length==1?t[0]:{type:"choice",exprs:t}}function Tc(e){var t=[];do t.push(Ac(e));while(e.next&&e.next!=")"&&e.next!="|");return t.length==1?t[0]:{type:"seq",exprs:t}}function Ac(e){for(var t=Ec(e);;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else if(e.eat("{"))t=_c(e,t);else break;return t}function ci(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");var t=Number(e.next);return e.pos++,t}function _c(e,t){var r=ci(e),n=r;return e.eat(",")&&(e.next!="}"?n=ci(e):n=-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:r,max:n,expr:t}}function Nc(e,t){var r=e.nodeTypes,n=r[t];if(n)return[n];var o=[];for(var i in r){var s=r[i];s.groups.indexOf(t)>-1&&o.push(s)}return o.length==0&&e.err("No node type or group '"+t+"' found"),o}function Ec(e){if(e.eat("(")){var t=ai(e);return e.eat(")")||e.err("Missing closing paren"),t}else if(/\W/.test(e.next))e.err("Unexpected token '"+e.next+"'");else{var r=Nc(e,e.next).map(function(n){return e.inline==null?e.inline=n.isInline:e.inline!=n.isInline&&e.err("Mixing inline and block content"),{type:"name",value:n}});return e.pos++,r.length==1?r[0]:{type:"choice",exprs:r}}}function Dc(e){var t=[[]];return o(i(e,0),r()),t;function r(){return t.push([])-1}function n(s,a,c){var l={term:c,to:a};return t[s].push(l),l}function o(s,a){s.forEach(function(c){return c.to=a})}function i(s,a){if(s.type=="choice")return s.exprs.reduce(function(M,y){return M.concat(i(y,a))},[]);if(s.type=="seq")for(var c=0;;c++){var l=i(s.exprs[c],a);if(c==s.exprs.length-1)return l;o(l,a=r())}else if(s.type=="star"){var u=r();return n(a,u),o(i(s.expr,u),u),[n(u)]}else if(s.type=="plus"){var f=r();return o(i(s.expr,a),f),o(i(s.expr,f),f),[n(f)]}else{if(s.type=="opt")return[n(a)].concat(i(s.expr,a));if(s.type=="range"){for(var p=a,d=0;d-1&&o[p+1];ui(e,f).forEach(function(h){d||o.push(u,d=[]),d.indexOf(h)==-1&&d.push(h)})}})});for(var i=t[n.join(",")]=new pt(n.indexOf(e.length-1)>-1),s=0;s-1};gt.prototype.allowsMarks=function(t){if(this.markSet==null)return!0;for(var r=0;r-1};var Se=function(t){this.spec={};for(var r in t)this.spec[r]=t[r];this.spec.nodes=Yo.from(t.nodes),this.spec.marks=Yo.from(t.marks),this.nodes=gt.compile(this.spec.nodes,this),this.marks=ie.compile(this.spec.marks,this);var n=Object.create(null);for(var o in this.nodes){if(o in this.marks)throw new RangeError(o+" can not be both a node and a mark");var i=this.nodes[o],s=i.spec.content||"",a=i.spec.marks;i.contentMatch=n[s]||(n[s]=pt.parse(s,this.nodes)),i.inlineContent=i.contentMatch.inlineContent,i.markSet=a=="_"?null:a?vi(this,a.split(" ")):a==""||!i.inlineContent?[]:null}for(var c in this.marks){var l=this.marks[c],u=l.spec.excludes;l.excluded=u==null?[l]:u==""?[]:vi(this,u.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached=Object.create(null),this.cached.wrappings=Object.create(null)};Se.prototype.node=function(t,r,n,o){if(typeof t=="string")t=this.nodeType(t);else if(t instanceof gt){if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}else throw new RangeError("Invalid node type: "+t);return t.createChecked(r,n,o)};Se.prototype.text=function(t,r){var n=this.nodes.text;return new wc(n,n.defaultAttrs,t,R.setFrom(r))};Se.prototype.mark=function(t,r){return typeof t=="string"&&(t=this.marks[t]),t.create(r)};Se.prototype.nodeFromJSON=function(t){return P.fromJSON(this,t)};Se.prototype.markFromJSON=function(t){return R.fromJSON(this,t)};Se.prototype.nodeType=function(t){var r=this.nodes[t];if(!r)throw new RangeError("Unknown node type: "+t);return r};function vi(e,t){for(var r=[],n=0;n-1)&&r.push(s=c)}if(!s)throw new SyntaxError("Unknown mark type: '"+t[n]+"'")}return r}var Lt=function(t,r){var n=this;this.schema=t,this.rules=r,this.tags=[],this.styles=[],r.forEach(function(o){o.tag?n.tags.push(o):o.style&&n.styles.push(o)}),this.normalizeLists=!this.tags.some(function(o){if(!/^(ul|ol)\b/.test(o.tag)||!o.node)return!1;var i=t.nodes[o.node];return i.contentMatch.matchType(i)})};Lt.prototype.parse=function(t,r){r===void 0&&(r={});var n=new J(this,r,!1);return n.addAll(t,null,r.from,r.to),n.finish()};Lt.prototype.parseSlice=function(t,r){r===void 0&&(r={});var n=new J(this,r,!0);return n.addAll(t,null,r.from,r.to),O.maxOpen(n.finish())};Lt.prototype.matchTag=function(t,r,n){for(var o=n?this.tags.indexOf(n)+1:0;ot.length&&(s.style.charCodeAt(t.length)!=61||s.style.slice(t.length+1)!=r))){if(s.getAttrs){var a=s.getAttrs(r);if(a===!1)continue;s.attrs=a}return s}}};Lt.schemaRules=function(t){var r=[];function n(c){for(var l=c.priority==null?50:c.priority,u=0;u=0;r--)if(t.eq(this.stashMarks[r]))return this.stashMarks.splice(r,1)[0]};Zt.prototype.applyPending=function(t){for(var r=0,n=this.pendingMarks;r=0;o--){var i=this.nodes[o],s=i.findWrapping(t);if(s&&(!r||r.length>s.length)&&(r=s,n=i,!s.length)||i.solid)break}if(!r)return!1;this.sync(n);for(var a=0;athis.open){for(;r>this.open;r--)this.nodes[r-1].content.push(this.nodes[r].finish(t));this.nodes.length=this.open+1}};J.prototype.finish=function(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)};J.prototype.sync=function(t){for(var r=this.open;r>=0;r--)if(this.nodes[r]==t){this.open=r;return}};mn.currentPos.get=function(){this.closeExtra();for(var e=0,t=this.open;t>=0;t--){for(var r=this.nodes[t].content,n=r.length-1;n>=0;n--)e+=r[n].nodeSize;t&&e++}return e};J.prototype.findAtPoint=function(t,r){if(this.find)for(var n=0;n-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);var n=t.split("/"),o=this.options.context,i=!this.isOpen&&(!o||o.parent.type==this.nodes[0].type),s=-(o?o.depth+1:0)+(i?0:1),a=function(c,l){for(;c>=0;c--){var u=n[c];if(u==""){if(c==n.length-1||c==0)continue;for(;l>=s;l--)if(a(c-1,l))return!0;return!1}else{var f=l>0||l==0&&i?r.nodes[l].type:o&&l>=s?o.node(l-s).type:null;if(!f||f.name!=u&&f.groups.indexOf(u)==-1)return!1;l--}}return!0};return a(n.length-1,this.open)};J.prototype.textblockFromContext=function(){var t=this.options.context;if(t)for(var r=t.depth;r>=0;r--){var n=t.node(r).contentMatchAt(t.indexAfter(r)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(var o in this.parser.schema.nodes){var i=this.parser.schema.nodes[o];if(i.isTextblock&&i.defaultAttrs)return i}};J.prototype.addPendingMark=function(t){var r=Vc(t,this.top.pendingMarks);r&&this.top.stashMarks.push(r),this.top.pendingMarks=t.addToSet(this.top.pendingMarks)};J.prototype.removePendingMark=function(t,r){for(var n=this.open;n>=0;n--){var o=this.nodes[n],i=o.pendingMarks.lastIndexOf(t);if(i>-1)o.pendingMarks=t.removeFromSet(o.pendingMarks);else{o.activeMarks=t.removeFromSet(o.activeMarks);var s=o.popFromStashMark(t);s&&o.type&&o.type.allowsMarkType(s.type)&&(o.activeMarks=s.addToSet(o.activeMarks))}if(o==r)break}};Object.defineProperties(J.prototype,mn);function Bc(e){for(var t=e.firstChild,r=null;t;t=t.nextSibling){var n=t.nodeType==1?t.nodeName.toLowerCase():null;n&&gi.hasOwnProperty(n)&&r?(r.appendChild(t),t=r):n=="li"?r=t:n&&(r=null)}}function zc(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function Lc(e){for(var t=/\s*([\w-]+)\s*:\s*([^;]+)/g,r,n=[];r=t.exec(e);)n.push(r[1],r[2].trim());return n}function bi(e){var t={};for(var r in e)t[r]=e[r];return t}function Fc(e,t){var r=t.schema.nodes,n=function(s){var a=r[s];if(!!a.allowsMarkType(e)){var c=[],l=function(u){c.push(u);for(var f=0;f=0;o--){var i=this.serializeMark(t.marks[o],t.isInline,r);i&&((i.contentDOM||i.dom).appendChild(n),n=i.dom)}return n};nt.prototype.serializeMark=function(t,r,n){n===void 0&&(n={});var o=this.marks[t.type.name];return o&&nt.renderSpec(vn(n),o(t,r))};nt.renderSpec=function(t,r,n){if(n===void 0&&(n=null),typeof r=="string")return{dom:t.createTextNode(r)};if(r.nodeType!=null)return{dom:r};if(r.dom&&r.dom.nodeType!=null)return r;var o=r[0],i=o.indexOf(" ");i>0&&(n=o.slice(0,i),o=o.slice(i+1));var s=null,a=n?t.createElementNS(n,o):t.createElement(o),c=r[1],l=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){l=2;for(var u in c)if(c[u]!=null){var f=u.indexOf(" ");f>0?a.setAttributeNS(u.slice(0,f),u.slice(f+1),c[u]):a.setAttribute(u,c[u])}}for(var p=l;pl)throw new RangeError("Content hole must be the only child of its parent node");return{dom:a,contentDOM:a}}else{var h=nt.renderSpec(t,d,n),v=h.dom,g=h.contentDOM;if(a.appendChild(v),g){if(s)throw new RangeError("Multiple content holes");s=g}}}return{dom:a,contentDOM:s}};nt.fromSchema=function(t){return t.cached.domSerializer||(t.cached.domSerializer=new nt(this.nodesFromSchema(t),this.marksFromSchema(t)))};nt.nodesFromSchema=function(t){var r=ki(t.nodes);return r.text||(r.text=function(n){return n.text}),r};nt.marksFromSchema=function(t){return ki(t.marks)};function ki(e){var t={};for(var r in e){var n=e[r].spec.toDOM;n&&(t[r]=n)}return t}function vn(e){return e.document||window.document}var Si=65535,Mi=Math.pow(2,16);function Hc(e,t){return e+t*Mi}function Ci(e){return e&Si}function jc(e){return(e-(e&Si))/Mi}var gn=function(t,r,n){r===void 0&&(r=!1),n===void 0&&(n=null),this.pos=t,this.deleted=r,this.recover=n},ot=function(t,r){r===void 0&&(r=!1),this.ranges=t,this.inverted=r};ot.prototype.recover=function(t){var r=0,n=Ci(t);if(!this.inverted)for(var o=0;ot)break;var l=this.ranges[a+i],u=this.ranges[a+s],f=c+l;if(t<=f){var p=l?t==c?-1:t==f?1:r:r,d=c+o+(p<0?0:u);if(n)return d;var h=t==(r<0?c:f)?null:Hc(a/3,t-c);return new gn(d,r<0?t!=c:t!=f,h)}o+=u-l}return n?t+o:new gn(t+o)};ot.prototype.touches=function(t,r){for(var n=0,o=Ci(r),i=this.inverted?2:1,s=this.inverted?1:2,a=0;at)break;var l=this.ranges[a+i],u=c+l;if(t<=u&&a==o*3)return!0;n+=this.ranges[a+s]-l}return!1};ot.prototype.forEach=function(t){for(var r=this.inverted?2:1,n=this.inverted?1:2,o=0,i=0;o=0;r--){var o=t.getMirror(r);this.appendMap(t.maps[r].invert(),o!=null&&o>r?n-o-1:null)}};dt.prototype.invert=function(){var t=new dt;return t.appendMappingInverted(this),t};dt.prototype.map=function(t,r){if(r===void 0&&(r=1),this.mirror)return this._map(t,r,!0);for(var n=this.from;ni&&c0};X.prototype.addStep=function(t,r){this.docs.push(this.doc),this.steps.push(t),this.mapping.appendMap(t.getMap()),this.doc=r};Object.defineProperties(X.prototype,yn);function Er(){throw new Error("Override me")}var bn=Object.create(null),ht=function(){};ht.prototype.apply=function(t){return Er()};ht.prototype.getMap=function(){return ot.empty};ht.prototype.invert=function(t){return Er()};ht.prototype.map=function(t){return Er()};ht.prototype.merge=function(t){return null};ht.prototype.toJSON=function(){return Er()};ht.fromJSON=function(t,r){if(!r||!r.stepType)throw new RangeError("Invalid input for Step.fromJSON");var n=bn[r.stepType];if(!n)throw new RangeError("No step type "+r.stepType+" defined");return n.fromJSON(t,r)};ht.jsonID=function(t,r){if(t in bn)throw new RangeError("Duplicate use of step JSON ID "+t);return bn[t]=r,r.prototype.jsonID=t,r};var yt=function(t,r){this.doc=t,this.failed=r};yt.ok=function(t){return new yt(t,null)};yt.fail=function(t){return new yt(null,t)};yt.fromReplace=function(t,r,n,o){try{return yt.ok(t.replace(r,n,o))}catch(i){if(i instanceof Jt)return yt.fail(i.message);throw i}};var te=function(e){function t(r,n,o,i){e.call(this),this.from=r,this.to=n,this.slice=o,this.structure=!!i}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.apply=function(n){return this.structure&&kn(n,this.from,this.to)?yt.fail("Structure replace would overwrite content"):yt.fromReplace(n,this.from,this.to,this.slice)},t.prototype.getMap=function(){return new ot([this.from,this.to-this.from,this.slice.size])},t.prototype.invert=function(n){return new t(this.from,this.from+this.slice.size,n.slice(this.from,this.to))},t.prototype.map=function(n){var o=n.mapResult(this.from,1),i=n.mapResult(this.to,-1);return o.deleted&&i.deleted?null:new t(o.pos,Math.max(o.pos,i.pos),this.slice)},t.prototype.merge=function(n){if(!(n instanceof t)||n.structure||this.structure)return null;if(this.from+this.slice.size==n.from&&!this.slice.openEnd&&!n.slice.openStart){var o=this.slice.size+n.slice.size==0?O.empty:new O(this.slice.content.append(n.slice.content),this.slice.openStart,n.slice.openEnd);return new t(this.from,this.to+(n.to-n.from),o,this.structure)}else if(n.to==this.from&&!this.slice.openStart&&!n.slice.openEnd){var i=this.slice.size+n.slice.size==0?O.empty:new O(n.slice.content.append(this.slice.content),n.slice.openStart,this.slice.openEnd);return new t(n.from,this.to,i,this.structure)}else return null},t.prototype.toJSON=function(){var n={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(n.slice=this.slice.toJSON()),this.structure&&(n.structure=!0),n},t.fromJSON=function(n,o){if(typeof o.from!="number"||typeof o.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new t(o.from,o.to,O.fromJSON(n,o.slice),!!o.structure)},t}(ht);ht.jsonID("replace",te);var St=function(e){function t(r,n,o,i,s,a,c){e.call(this),this.from=r,this.to=n,this.gapFrom=o,this.gapTo=i,this.slice=s,this.insert=a,this.structure=!!c}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.apply=function(n){if(this.structure&&(kn(n,this.from,this.gapFrom)||kn(n,this.gapTo,this.to)))return yt.fail("Structure gap-replace would overwrite content");var o=n.slice(this.gapFrom,this.gapTo);if(o.openStart||o.openEnd)return yt.fail("Gap is not a flat range");var i=this.slice.insertAt(this.insert,o.content);return i?yt.fromReplace(n,this.from,this.to,i):yt.fail("Content does not fit in gap")},t.prototype.getMap=function(){return new ot([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])},t.prototype.invert=function(n){var o=this.gapTo-this.gapFrom;return new t(this.from,this.from+this.slice.size+o,this.from+this.insert,this.from+this.insert+o,n.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)},t.prototype.map=function(n){var o=n.mapResult(this.from,1),i=n.mapResult(this.to,-1),s=n.map(this.gapFrom,-1),a=n.map(this.gapTo,1);return o.deleted&&i.deleted||si.pos?null:new t(o.pos,i.pos,s,a,this.slice,this.insert,this.structure)},t.prototype.toJSON=function(){var n={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(n.slice=this.slice.toJSON()),this.structure&&(n.structure=!0),n},t.fromJSON=function(n,o){if(typeof o.from!="number"||typeof o.to!="number"||typeof o.gapFrom!="number"||typeof o.gapTo!="number"||typeof o.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new t(o.from,o.to,o.gapFrom,o.gapTo,O.fromJSON(n,o.slice),o.insert,!!o.structure)},t}(ht);ht.jsonID("replaceAround",St);function kn(e,t,r){for(var n=e.resolve(t),o=r-t,i=n.depth;o>0&&i>0&&n.indexAfter(i)==n.node(i).childCount;)i--,o--;if(o>0)for(var s=n.node(i).maybeChild(n.indexAfter(i));o>0;){if(!s||s.isLeaf)return!0;s=s.firstChild,o--}return!1}function qc(e,t,r){return(t==0||e.canReplace(t,e.childCount))&&(r==e.childCount||e.canReplace(0,r))}function Pe(e){for(var t=e.parent,r=t.content.cutByIndex(e.startIndex,e.endIndex),n=e.depth;;--n){var o=e.$from.node(n),i=e.$from.index(n),s=e.$to.indexAfter(n);if(nt;f--)p||r.index(f)>0?(p=!0,l=k.from(r.node(f).copy(l)),u++):a--;for(var d=k.empty,h=0,v=o,g=!1;v>t;v--)g||n.after(v+1)=0;n--)r=k.from(t[n].type.create(t[n].attrs,r));var o=e.start,i=e.end;return this.step(new St(o,i,o,i,new O(r,0,0),t.length,!0))};X.prototype.setBlockType=function(e,t,r,n){var o=this;if(t===void 0&&(t=e),!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");var i=this.steps.length;return this.doc.nodesBetween(e,t,function(s,a){if(s.isTextblock&&!s.hasMarkup(r,n)&&Kc(o.doc,o.mapping.slice(i).map(a),r)){o.clearIncompatible(o.mapping.slice(i).map(a,1),r);var c=o.mapping.slice(i),l=c.map(a,1),u=c.map(a+s.nodeSize,1);return o.step(new St(l,u,l+1,u-1,new O(k.from(r.create(n,null,s.marks)),0,0),1,!0)),!1}}),this};function Kc(e,t,r){var n=e.resolve(t),o=n.index();return n.parent.canReplaceWith(o,o+1,r)}X.prototype.setNodeMarkup=function(e,t,r,n){var o=this.doc.nodeAt(e);if(!o)throw new RangeError("No node at given position");t||(t=o.type);var i=t.create(r,null,n||o.marks);if(o.isLeaf)return this.replaceWith(e,e+o.nodeSize,i);if(!t.validContent(o.content))throw new RangeError("Invalid content for node type "+t.name);return this.step(new St(e,e+o.nodeSize,e+1,e+o.nodeSize-1,new O(k.from(i),0,0),1,!0))};function ee(e,t,r,n){r===void 0&&(r=1);var o=e.resolve(t),i=o.depth-r,s=n&&n[n.length-1]||o.parent;if(i<0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!s.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(var a=o.depth-1,c=r-2;a>i;a--,c--){var l=o.node(a),u=o.index(a);if(l.type.spec.isolating)return!1;var f=l.content.cutByIndex(u,l.childCount),p=n&&n[c]||l;if(p!=l&&(f=f.replaceChild(0,p.type.create(p.attrs))),!l.canReplace(u+1,l.childCount)||!p.type.validContent(f))return!1}var d=o.indexAfter(i),h=n&&n[0];return o.node(i).canReplaceWith(d,d,h?h.type:o.node(i+1).type)}X.prototype.split=function(e,t,r){t===void 0&&(t=1);for(var n=this.doc.resolve(e),o=k.empty,i=k.empty,s=n.depth,a=n.depth-t,c=t-1;s>a;s--,c--){o=k.from(n.node(s).copy(o));var l=r&&r[c];i=k.from(l?l.type.create(l.attrs,i):n.node(s).copy(i))}return this.step(new te(e,e,new O(o.append(i),t,t),!0))};function Mn(e,t){var r=e.resolve(t),n=r.index();return $c(r.nodeBefore,r.nodeAfter)&&r.parent.canReplace(n,n+1)}function $c(e,t){return e&&t&&!e.isLeaf&&e.canAppend(t)}X.prototype.join=function(e,t){t===void 0&&(t=1);var r=new te(e-t,e+t,O.empty,!0);return this.step(r)};function Uc(e,t,r){var n=e.resolve(t);if(n.parent.canReplaceWith(n.index(),n.index(),r))return t;if(n.parentOffset==0)for(var o=n.depth-1;o>=0;o--){var i=n.index(o);if(n.node(o).canReplaceWith(i,i,r))return n.before(o+1);if(i>0)return null}if(n.parentOffset==n.parent.content.size)for(var s=n.depth-1;s>=0;s--){var a=n.indexAfter(s);if(n.node(s).canReplaceWith(a,a,r))return n.after(s+1);if(a=0;a--){var c=a==n.depth?0:n.pos<=(n.start(a+1)+n.end(a+1))/2?-1:1,l=n.index(a)+(c>0?1:0),u=n.node(a),f=!1;if(s==1)f=u.canReplace(l,l,o);else{var p=u.contentMatchAt(l).findWrapping(o.firstChild.type);f=p&&u.canReplaceWith(l,l,p[0])}if(f)return c==0?n.pos:c<0?n.before(a+1):n.after(a+1)}return null}function Cn(e,t,r){for(var n=[],o=0;o=i.pos?null:new t(o.pos,i.pos,this.mark)},t.prototype.merge=function(n){if(n instanceof t&&n.mark.eq(this.mark)&&this.from<=n.to&&this.to>=n.from)return new t(Math.min(this.from,n.from),Math.max(this.to,n.to),this.mark)},t.prototype.toJSON=function(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}},t.fromJSON=function(n,o){if(typeof o.from!="number"||typeof o.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new t(o.from,o.to,n.markFromJSON(o.mark))},t}(ht);ht.jsonID("addMark",xn);var Qe=function(e){function t(r,n,o){e.call(this),this.from=r,this.to=n,this.mark=o}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.apply=function(n){var o=this,i=n.slice(this.from,this.to),s=new O(Cn(i.content,function(a){return a.mark(o.mark.removeFromSet(a.marks))}),i.openStart,i.openEnd);return yt.fromReplace(n,this.from,this.to,s)},t.prototype.invert=function(){return new xn(this.from,this.to,this.mark)},t.prototype.map=function(n){var o=n.mapResult(this.from,1),i=n.mapResult(this.to,-1);return o.deleted&&i.deleted||o.pos>=i.pos?null:new t(o.pos,i.pos,this.mark)},t.prototype.merge=function(n){if(n instanceof t&&n.mark.eq(this.mark)&&this.from<=n.to&&this.to>=n.from)return new t(Math.min(this.from,n.from),Math.max(this.to,n.to),this.mark)},t.prototype.toJSON=function(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}},t.fromJSON=function(n,o){if(typeof o.from!="number"||typeof o.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new t(o.from,o.to,n.markFromJSON(o.mark))},t}(ht);ht.jsonID("removeMark",Qe);X.prototype.addMark=function(e,t,r){var n=this,o=[],i=[],s=null,a=null;return this.doc.nodesBetween(e,t,function(c,l,u){if(!!c.isInline){var f=c.marks;if(!r.isInSet(f)&&u.type.allowsMarkType(r.type)){for(var p=Math.max(l,e),d=Math.min(l+c.nodeSize,t),h=r.addToSet(f),v=0;v=0;p--)this.step(o[p]);return this};function Gc(e,t,r,n){if(r===void 0&&(r=t),n===void 0&&(n=O.empty),t==r&&!n.size)return null;var o=e.resolve(t),i=e.resolve(r);return wi(o,i,n)?new te(t,r,n):new It(o,i,n).fit()}X.prototype.replace=function(e,t,r){t===void 0&&(t=e),r===void 0&&(r=O.empty);var n=Gc(this.doc,e,t,r);return n&&this.step(n),this};X.prototype.replaceWith=function(e,t,r){return this.replace(e,t,new O(k.from(r),0,0))};X.prototype.delete=function(e,t){return this.replace(e,t,O.empty)};X.prototype.insert=function(e,t){return this.replaceWith(e,e,t)};function wi(e,t,r){return!r.openStart&&!r.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),r.content)}var It=function(t,r,n){this.$to=r,this.$from=t,this.unplaced=n,this.frontier=[];for(var o=0;o<=t.depth;o++){var i=t.node(o);this.frontier.push({type:i.type,match:i.contentMatchAt(t.indexAfter(o))})}this.placed=k.empty;for(var s=t.depth;s>0;s--)this.placed=k.from(t.node(s).copy(this.placed))},Ti={depth:{configurable:!0}};Ti.depth.get=function(){return this.frontier.length-1};It.prototype.fit=function(){for(;this.unplaced.size;){var t=this.findFittable();t?this.placeNodes(t):this.openMore()||this.dropNode()}var r=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,o=this.$from,i=this.close(r<0?this.$to:o.doc.resolve(r));if(!i)return null;for(var s=this.placed,a=o.depth,c=i.depth;a&&c&&s.childCount==1;)s=s.firstChild.content,a--,c--;var l=new O(s,a,c);if(r>-1)return new St(o.pos,r,this.$to.pos,this.$to.end(),l,n);if(l.size||o.pos!=this.$to.pos)return new te(o.pos,i.pos,l)};It.prototype.findFittable=function(){for(var t=1;t<=2;t++)for(var r=this.unplaced.openStart;r>=0;r--){var n=void 0,o=void 0;r?(o=On(this.unplaced.content,r-1).firstChild,n=o.content):n=this.unplaced.content;for(var i=n.firstChild,s=this.depth;s>=0;s--){var a=this.frontier[s],c=a.type,l=a.match,u=void 0,f=void 0;if(t==1&&(i?l.matchType(i.type)||(f=l.fillBefore(k.from(i),!1)):c.compatibleContent(o.type)))return{sliceDepth:r,frontierDepth:s,parent:o,inject:f};if(t==2&&i&&(u=l.findWrapping(i.type)))return{sliceDepth:r,frontierDepth:s,parent:o,wrap:u};if(o&&l.matchType(o.type))break}}};It.prototype.openMore=function(){var t=this.unplaced,r=t.content,n=t.openStart,o=t.openEnd,i=On(r,n);return!i.childCount||i.firstChild.isLeaf?!1:(this.unplaced=new O(r,n+1,Math.max(o,i.size+n>=r.size-o?n+1:0)),!0)};It.prototype.dropNode=function(){var t=this.unplaced,r=t.content,n=t.openStart,o=t.openEnd,i=On(r,n);if(i.childCount<=1&&n>0){var s=r.size-n<=n+i.size;this.unplaced=new O(Ze(r,n-1,1),n-1,s?n-1:o)}else this.unplaced=new O(Ze(r,n,1),n,o)};It.prototype.placeNodes=function(t){for(var r=t.sliceDepth,n=t.frontierDepth,o=t.parent,i=t.inject,s=t.wrap;this.depth>n;)this.closeFrontierNode();if(s)for(var a=0;a1||u==0||y.content.size)&&(h=I,p.push(Ai(y.mark(v.allowedMarks(y.marks)),f==1?u:0,f==l.childCount?M:-1)))}var m=f==l.childCount;m||(M=-1),this.placed=tr(this.placed,n,k.from(p)),this.frontier[n].match=h,m&&M<0&&o&&o.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(var D=0,x=l;D1&&i==this.$to.end(--o);)++i;return i};It.prototype.findCloseLevel=function(t){t:for(var r=Math.min(this.depth,t.depth);r>=0;r--){var n=this.frontier[r],o=n.match,i=n.type,s=r=0;c--){var l=this.frontier[c],u=l.match,f=l.type,p=wn(t,c,f,u,!0);if(!p||p.childCount)continue t}return{depth:r,fit:a,move:s?t.doc.resolve(t.after(r+1)):t}}}};It.prototype.close=function(t){var r=this.findCloseLevel(t);if(!r)return null;for(;this.depth>r.depth;)this.closeFrontierNode();r.fit.childCount&&(this.placed=tr(this.placed,r.depth,r.fit)),t=r.move;for(var n=r.depth+1;n<=t.depth;n++){var o=t.node(n),i=o.type.contentMatch.fillBefore(o.content,!0,t.index(n));this.openFrontierNode(o.type,o.attrs,i)}return t};It.prototype.openFrontierNode=function(t,r,n){var o=this.frontier[this.depth];o.match=o.match.matchType(t),this.placed=tr(this.placed,this.depth,k.from(t.create(r,n))),this.frontier.push({type:t,match:t.contentMatch})};It.prototype.closeFrontierNode=function(){var t=this.frontier.pop(),r=t.match.fillBefore(k.empty,!0);r.childCount&&(this.placed=tr(this.placed,this.frontier.length,r))};Object.defineProperties(It.prototype,Ti);function Ze(e,t,r){return t==0?e.cutByIndex(r):e.replaceChild(0,e.firstChild.copy(Ze(e.firstChild.content,t-1,r)))}function tr(e,t,r){return t==0?e.append(r):e.replaceChild(e.childCount-1,e.lastChild.copy(tr(e.lastChild.content,t-1,r)))}function On(e,t){for(var r=0;r1&&(n=n.replaceChild(0,Ai(n.firstChild,t-1,n.childCount==1?r-1:0))),t>0&&(n=e.type.contentMatch.fillBefore(n).append(n),r<=0&&(n=n.append(e.type.contentMatch.matchFragment(n).fillBefore(k.empty,!0)))),e.copy(n)}function wn(e,t,r,n,o){var i=e.node(t),s=o?e.indexAfter(t):e.index(t);if(s==i.childCount&&!r.compatibleContent(i.type))return null;var a=n.fillBefore(i.content,!0,s);return a&&!Yc(r,i.content,s)?a:null}function Yc(e,t,r){for(var n=r;n0;a--,c--){var l=n.node(a).type.spec;if(l.defining||l.isolating)break;i.indexOf(a)>-1?s=a:n.before(a)==c&&i.splice(1,0,-a)}for(var u=i.indexOf(s),f=[],p=r.openStart,d=r.content,h=0;;h++){var v=d.firstChild;if(f.push(v),h==r.openStart)break;d=v.content}p>0&&f[p-1].type.spec.defining&&n.node(u).type!=f[p-1].type?p-=1:p>=2&&f[p-1].isTextblock&&f[p-2].type.spec.defining&&n.node(u).type!=f[p-2].type&&(p-=2);for(var g=r.openStart;g>=0;g--){var M=(g+p+1)%(r.openStart+1),y=f[M];if(!!y)for(var I=0;I=0&&(this.replace(e,t,r),!(this.steps.length>W));$--){var U=i[$];U<0||(e=n.before(U),t=o.after(U))}return this};function _i(e,t,r,n,o){if(tn){var s=o.contentMatchAt(0),a=s.fillBefore(e).append(e);e=a.append(s.matchFragment(a).fillBefore(k.empty,!0))}return e}X.prototype.replaceRangeWith=function(e,t,r){if(!r.isInline&&e==t&&this.doc.resolve(e).parent.content.size){var n=Uc(this.doc,e,r.type);n!=null&&(e=t=n)}return this.replaceRange(e,t,new O(k.from(r),0,0))};X.prototype.deleteRange=function(e,t){for(var r=this.doc.resolve(e),n=this.doc.resolve(t),o=Ni(r,n),i=0;i0&&(a||r.node(s-1).canReplace(r.index(s-1),n.indexAfter(s-1))))return this.delete(r.before(s),n.after(s))}for(var c=1;c<=r.depth&&c<=n.depth;c++)if(e-r.start(c)==r.depth-c&&t>r.end(c)&&n.end(c)-t!=n.depth-c)return this.delete(r.before(c),t);return this.delete(e,t)};function Ni(e,t){for(var r=[],n=Math.min(e.depth,t.depth),o=n;o>=0;o--){var i=e.start(o);if(it.pos+(t.depth-o)||e.node(o).type.spec.isolating||t.node(o).type.spec.isolating)break;i==t.start(o)&&r.push(o)}return r}var Tn=Object.create(null),E=function(t,r,n){this.ranges=n||[new Xc(t.min(r),t.max(r))],this.$anchor=t,this.$head=r},se={anchor:{configurable:!0},head:{configurable:!0},from:{configurable:!0},to:{configurable:!0},$from:{configurable:!0},$to:{configurable:!0},empty:{configurable:!0}};se.anchor.get=function(){return this.$anchor.pos};se.head.get=function(){return this.$head.pos};se.from.get=function(){return this.$from.pos};se.to.get=function(){return this.$to.pos};se.$from.get=function(){return this.ranges[0].$from};se.$to.get=function(){return this.ranges[0].$to};se.empty.get=function(){for(var e=this.ranges,t=0;t=0;i--){var s=r<0?Be(t.node(0),t.node(i),t.before(i+1),t.index(i),r,n):Be(t.node(0),t.node(i),t.after(i+1),t.index(i)+1,r,n);if(s)return s}};E.near=function(t,r){return r===void 0&&(r=1),this.findFrom(t,r)||this.findFrom(t,-r)||new re(t.node(0))};E.atStart=function(t){return Be(t,t,0,0,1)||new re(t)};E.atEnd=function(t){return Be(t,t,t.content.size,t.childCount,-1)||new re(t)};E.fromJSON=function(t,r){if(!r||!r.type)throw new RangeError("Invalid input for Selection.fromJSON");var n=Tn[r.type];if(!n)throw new RangeError("No selection type "+r.type+" defined");return n.fromJSON(t,r)};E.jsonID=function(t,r){if(t in Tn)throw new RangeError("Duplicate use of selection JSON ID "+t);return Tn[t]=r,r.prototype.jsonID=t,r};E.prototype.getBookmark=function(){return z.between(this.$anchor,this.$head).getBookmark()};Object.defineProperties(E.prototype,se);E.prototype.visible=!0;var Xc=function(t,r){this.$from=t,this.$to=r},z=function(e){function t(n,o){o===void 0&&(o=n),e.call(this,n,o)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={$cursor:{configurable:!0}};return r.$cursor.get=function(){return this.$anchor.pos==this.$head.pos?this.$head:null},t.prototype.map=function(o,i){var s=o.resolve(i.map(this.head));if(!s.parent.inlineContent)return e.near(s);var a=o.resolve(i.map(this.anchor));return new t(a.parent.inlineContent?a:s,s)},t.prototype.replace=function(o,i){if(i===void 0&&(i=O.empty),e.prototype.replace.call(this,o,i),i==O.empty){var s=this.$from.marksAcross(this.$to);s&&o.ensureMarks(s)}},t.prototype.eq=function(o){return o instanceof t&&o.anchor==this.anchor&&o.head==this.head},t.prototype.getBookmark=function(){return new er(this.anchor,this.head)},t.prototype.toJSON=function(){return{type:"text",anchor:this.anchor,head:this.head}},t.fromJSON=function(o,i){if(typeof i.anchor!="number"||typeof i.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new t(o.resolve(i.anchor),o.resolve(i.head))},t.create=function(o,i,s){s===void 0&&(s=i);var a=o.resolve(i);return new this(a,s==i?a:o.resolve(s))},t.between=function(o,i,s){var a=o.pos-i.pos;if((!s||a)&&(s=a>=0?1:-1),!i.parent.inlineContent){var c=e.findFrom(i,s,!0)||e.findFrom(i,-s,!0);if(c)i=c.$head;else return e.near(i,s)}return o.parent.inlineContent||(a==0?o=i:(o=(e.findFrom(o,-s,!0)||e.findFrom(o,s,!0)).$anchor,o.pos0?0:1);o>0?s=0;s+=o){var a=t.child(s);if(a.isAtom){if(!i&&N.isSelectable(a))return N.create(e,r-(o<0?a.nodeSize:0))}else{var c=Be(e,a,r+o,o<0?a.childCount:0,o,i);if(c)return c}r+=a.nodeSize*o}}function Ei(e,t,r){var n=e.steps.length-1;if(!(n0},t.prototype.setStoredMarks=function(o){return this.storedMarks=o,this.updated|=Ir,this},t.prototype.ensureMarks=function(o){return R.sameSet(this.storedMarks||this.selection.$from.marks(),o)||this.setStoredMarks(o),this},t.prototype.addStoredMark=function(o){return this.ensureMarks(o.addToSet(this.storedMarks||this.selection.$head.marks()))},t.prototype.removeStoredMark=function(o){return this.ensureMarks(o.removeFromSet(this.storedMarks||this.selection.$head.marks()))},r.storedMarksSet.get=function(){return(this.updated&Ir)>0},t.prototype.addStep=function(o,i){e.prototype.addStep.call(this,o,i),this.updated=this.updated&~Ir,this.storedMarks=null},t.prototype.setTime=function(o){return this.time=o,this},t.prototype.replaceSelection=function(o){return this.selection.replace(this,o),this},t.prototype.replaceSelectionWith=function(o,i){var s=this.selection;return i!==!1&&(o=o.mark(this.storedMarks||(s.empty?s.$from.marks():s.$from.marksAcross(s.$to)||R.none))),s.replaceWith(this,o),this},t.prototype.deleteSelection=function(){return this.selection.replace(this),this},t.prototype.insertText=function(o,i,s){s===void 0&&(s=i);var a=this.doc.type.schema;if(i==null)return o?this.replaceSelectionWith(a.text(o),!0):this.deleteSelection();if(!o)return this.deleteRange(i,s);var c=this.storedMarks;if(!c){var l=this.doc.resolve(i);c=s==i?l.marks():l.marksAcross(this.doc.resolve(s))}return this.replaceRangeWith(i,s,a.text(o,c)),this.selection.empty||this.setSelection(E.near(this.selection.$to)),this},t.prototype.setMeta=function(o,i){return this.meta[typeof o=="string"?o:o.key]=i,this},t.prototype.getMeta=function(o){return this.meta[typeof o=="string"?o:o.key]},r.isGeneric.get=function(){for(var n in this.meta)return!1;return!0},t.prototype.scrollIntoView=function(){return this.updated|=Ii,this},r.scrolledIntoView.get=function(){return(this.updated&Ii)>0},Object.defineProperties(t.prototype,r),t}(X);function Ri(e,t){return!t||!e?e:e.bind(t)}var rr=function(t,r,n){this.name=t,this.init=Ri(r.init,n),this.apply=Ri(r.apply,n)},tl=[new rr("doc",{init:function(t){return t.doc||t.schema.topNodeType.createAndFill()},apply:function(t){return t.doc}}),new rr("selection",{init:function(t,r){return t.selection||E.atStart(r.doc)},apply:function(t){return t.selection}}),new rr("storedMarks",{init:function(t){return t.storedMarks||null},apply:function(t,r,n,o){return o.selection.$cursor?t.storedMarks:null}}),new rr("scrollToSelection",{init:function(){return 0},apply:function(t,r){return t.scrolledIntoView?r+1:r}})],An=function(t,r){var n=this;this.schema=t,this.fields=tl.concat(),this.plugins=[],this.pluginsByKey=Object.create(null),r&&r.forEach(function(o){if(n.pluginsByKey[o.key])throw new RangeError("Adding different instances of a keyed plugin ("+o.key+")");n.plugins.push(o),n.pluginsByKey[o.key]=o,o.spec.state&&n.fields.push(new rr(o.key,o.spec.state,o))})},mt=function(t){this.config=t},Rr={schema:{configurable:!0},plugins:{configurable:!0},tr:{configurable:!0}};Rr.schema.get=function(){return this.config.schema};Rr.plugins.get=function(){return this.config.plugins};mt.prototype.apply=function(t){return this.applyTransaction(t).state};mt.prototype.filterTransaction=function(t,r){r===void 0&&(r=-1);for(var n=0;n-1&&nr.splice(r,1)};Object.defineProperties(mt.prototype,Rr);var nr=[];function Pi(e,t,r){for(var n in e){var o=e[n];o instanceof Function?o=o.bind(t):n=="handleDOMEvents"&&(o=Pi(o,t,{})),r[n]=o}return r}var Rt=function(t){this.props={},t.props&&Pi(t.props,this,this.props),this.spec=t,this.key=t.key?t.key.key:Bi("plugin")};Rt.prototype.getState=function(t){return t[this.key]};var _n=Object.create(null);function Bi(e){return e in _n?e+"$"+ ++_n[e]:(_n[e]=0,e+"$")}var Wt=function(t){t===void 0&&(t="key"),this.key=Bi(t)};Wt.prototype.get=function(t){return t.config.pluginsByKey[this.key]};Wt.prototype.getState=function(t){return t[this.key]};var C={};if(typeof navigator!="undefined"&&typeof document!="undefined"){var Nn=/Edge\/(\d+)/.exec(navigator.userAgent),zi=/MSIE \d/.test(navigator.userAgent),En=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);C.mac=/Mac/.test(navigator.platform);var Dn=C.ie=!!(zi||En||Nn);C.ie_version=zi?document.documentMode||6:En?+En[1]:Nn?+Nn[1]:null,C.gecko=!Dn&&/gecko\/(\d+)/i.test(navigator.userAgent),C.gecko_version=C.gecko&&+(/Firefox\/(\d+)/.exec(navigator.userAgent)||[0,0])[1];var In=!Dn&&/Chrome\/(\d+)/.exec(navigator.userAgent);C.chrome=!!In,C.chrome_version=In&&+In[1],C.safari=!Dn&&/Apple Computer/.test(navigator.vendor),C.ios=C.safari&&(/Mobile\/\w+/.test(navigator.userAgent)||navigator.maxTouchPoints>2),C.android=/Android \d/.test(navigator.userAgent),C.webkit="webkitFontSmoothing"in document.documentElement.style,C.webkit_version=C.webkit&&+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]}var Pt=function(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t},Rn=function(e){var t=e.assignedSlot||e.parentNode;return t&&t.nodeType==11?t.host:t},Li=null,ne=function(e,t,r){var n=Li||(Li=document.createRange());return n.setEnd(e,r==null?e.nodeValue.length:r),n.setStart(e,t||0),n},Pr=function(e,t,r,n){return r&&(Fi(e,t,r,n,-1)||Fi(e,t,r,n,1))},el=/^(img|br|input|textarea|hr)$/i;function Fi(e,t,r,n,o){for(;;){if(e==r&&t==n)return!0;if(t==(o<0?0:Kt(e))){var i=e.parentNode;if(i.nodeType!=1||nl(e)||el.test(e.nodeName)||e.contentEditable=="false")return!1;t=Pt(e)+(o<0?0:1),e=i}else if(e.nodeType==1){if(e=e.childNodes[t+(o<0?-1:0)],e.contentEditable=="false")return!1;t=o<0?Kt(e):0}else return!1}}function Kt(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function rl(e,t,r){for(var n=t==0,o=t==Kt(e);n||o;){if(e==r)return!0;var i=Pt(e);if(e=e.parentNode,!e)return!1;n=n&&i==0,o=o&&i==Kt(e)}}function nl(e){for(var t,r=e;r&&!(t=r.pmViewDesc);r=r.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}var Pn=function(e){var t=e.isCollapsed;return t&&C.chrome&&e.rangeCount&&!e.getRangeAt(0).collapsed&&(t=!1),t};function ze(e,t){var r=document.createEvent("Event");return r.initEvent("keydown",!0,!0),r.keyCode=e,r.key=r.code=t,r}function ol(e){return{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function ae(e,t){return typeof e=="number"?e:e[t]}function il(e){var t=e.getBoundingClientRect(),r=t.width/e.offsetWidth||1,n=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*r,top:t.top,bottom:t.top+e.clientHeight*n}}function Vi(e,t,r){for(var n=e.someProp("scrollThreshold")||0,o=e.someProp("scrollMargin")||5,i=e.dom.ownerDocument,s=r||e.dom;s;s=Rn(s))if(s.nodeType==1){var a=s==i.body||s.nodeType!=1,c=a?ol(i):il(s),l=0,u=0;if(t.topc.bottom-ae(n,"bottom")&&(u=t.bottom-c.bottom+ae(o,"bottom")),t.leftc.right-ae(n,"right")&&(l=t.right-c.right+ae(o,"right")),l||u)if(a)i.defaultView.scrollBy(l,u);else{var f=s.scrollLeft,p=s.scrollTop;u&&(s.scrollTop+=u),l&&(s.scrollLeft+=l);var d=s.scrollLeft-f,h=s.scrollTop-p;t={left:t.left-d,top:t.top-h,right:t.right-d,bottom:t.bottom-h}}if(a)break}}function sl(e){for(var t=e.dom.getBoundingClientRect(),r=Math.max(0,t.top),n,o,i=(t.left+t.right)/2,s=r+1;s=r-20){n=a,o=c.top;break}}}return{refDOM:n,refTop:o,stack:Hi(e.dom)}}function Hi(e){for(var t=[],r=e.ownerDocument;e&&(t.push({dom:e,top:e.scrollTop,left:e.scrollLeft}),e!=r);e=Rn(e));return t}function al(e){var t=e.refDOM,r=e.refTop,n=e.stack,o=t?t.getBoundingClientRect().top:0;ji(n,o==0?0:o-r)}function ji(e,t){for(var r=0;r=a){s=Math.max(p.bottom,s),a=Math.min(p.top,a);var d=p.left>t.left?p.left-t.left:p.right=(p.left+p.right)/2?1:0));continue}}!r&&(t.left>=p.right&&t.top>=p.top||t.left>=p.left&&t.top>=p.bottom)&&(i=l+1)}}return r&&r.nodeType==3?ll(r,o):!r||n&&r.nodeType==1?{node:e,offset:i}:qi(r,o)}function ll(e,t){for(var r=e.nodeValue.length,n=document.createRange(),o=0;o=(i.left+i.right)/2?1:0)}}return{node:e,offset:0}}function Bn(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function ul(e,t){var r=e.parentNode;return r&&/^li$/i.test(r.nodeName)&&t.left(a.left+a.right)/2?1:-1}return e.docView.posFromDOM(o,i,s)}function pl(e,t,r,n){for(var o=-1,i=t;i!=e.dom;){var s=e.docView.nearestDesc(i,!0);if(!s)return null;if(s.node.isBlock&&s.parent){var a=s.dom.getBoundingClientRect();if(a.left>n.left||a.top>n.top)o=s.posBefore;else if(a.right-1?o:e.docView.posFromDOM(t,r)}function Ji(e,t,r){var n=e.childNodes.length;if(n&&r.topt.top&&s++}i==e.dom&&s==i.childNodes.length-1&&i.lastChild.nodeType==1&&t.top>i.lastChild.getBoundingClientRect().bottom?u=e.state.doc.content.size:(s==0||i.nodeType!=1||i.childNodes[s-1].nodeName!="BR")&&(u=pl(e,i,s,t))}u==null&&(u=fl(e,l,t));var v=e.docView.nearestDesc(l,!0);return{pos:u,inside:v?v.posAtStart-v.border:-1}}function ce(e,t){var r=e.getClientRects();return r.length?r[t<0?0:r.length-1]:e.getBoundingClientRect()}var hl=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function Wi(e,t,r){var n=e.docView.domFromPos(t,r<0?-1:1),o=n.node,i=n.offset,s=C.webkit||C.gecko;if(o.nodeType==3)if(s&&(hl.test(o.nodeValue)||(r<0?!i:i==o.nodeValue.length))){var a=ce(ne(o,i,i),r);if(C.gecko&&i&&/\s/.test(o.nodeValue[i-1])&&i=0&&i==o.nodeValue.length?(u--,p=1):r<0?u--:f++,or(ce(ne(o,u,f),p),p<0)}if(!e.state.doc.resolve(t).parent.inlineContent){if(i&&(r<0||i==Kt(o))){var d=o.childNodes[i-1];if(d.nodeType==1)return zn(d.getBoundingClientRect(),!1)}if(i=0)}if(i&&(r<0||i==Kt(o))){var v=o.childNodes[i-1],g=v.nodeType==3?ne(v,Kt(v)-(s?0:1)):v.nodeType==1&&(v.nodeName!="BR"||!v.nextSibling)?v:null;if(g)return or(ce(g,1),!1)}if(i=0)}function or(e,t){if(e.width==0)return e;var r=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:r,right:r}}function zn(e,t){if(e.height==0)return e;var r=t?e.top:e.bottom;return{top:r,bottom:r,left:e.left,right:e.right}}function Ki(e,t,r){var n=e.state,o=e.root.activeElement;n!=t&&e.updateState(t),o!=e.dom&&e.focus();try{return r()}finally{n!=t&&e.updateState(n),o!=e.dom&&o&&o.focus()}}function ml(e,t,r){var n=t.selection,o=r=="up"?n.$from:n.$to;return Ki(e,t,function(){for(var i=e.docView.domFromPos(o.pos,r=="up"?-1:1),s=i.node;;){var a=e.docView.nearestDesc(s,!0);if(!a)break;if(a.node.isBlock){s=a.dom;break}s=a.dom.parentNode}for(var c=Wi(e,o.pos,1),l=s.firstChild;l;l=l.nextSibling){var u=void 0;if(l.nodeType==1)u=l.getClientRects();else if(l.nodeType==3)u=ne(l,0,l.nodeValue.length).getClientRects();else continue;for(var f=0;fp.top&&(r=="up"?p.bottomc.bottom-1))return!1}}return!0})}var vl=/[\u0590-\u08ac]/;function gl(e,t,r){var n=t.selection,o=n.$head;if(!o.parent.isTextblock)return!1;var i=o.parentOffset,s=!i,a=i==o.parent.content.size,c=e.root.getSelection();return!vl.test(o.parent.textContent)||!c.modify?r=="left"||r=="backward"?s:a:Ki(e,t,function(){var l=c.getRangeAt(0),u=c.focusNode,f=c.focusOffset,p=c.caretBidiLevel;c.modify("move",r,"character");var d=o.depth?e.docView.domAfterPos(o.before()):e.dom,h=!d.contains(c.focusNode.nodeType==1?c.focusNode:c.focusNode.parentNode)||u==c.focusNode&&f==c.focusOffset;return c.removeAllRanges(),c.addRange(l),p!=null&&(c.caretBidiLevel=p),h})}var $i=null,Ui=null,Gi=!1;function yl(e,t,r){return $i==t&&Ui==r?Gi:($i=t,Ui=r,Gi=r=="up"||r=="down"?ml(e,t,r):gl(e,t,r))}var Ft=0,Yi=1,ir=2,le=3,j=function(t,r,n,o){this.parent=t,this.children=r,this.dom=n,n.pmViewDesc=this,this.contentDOM=o,this.dirty=Ft},$t={beforePosition:{configurable:!0},size:{configurable:!0},border:{configurable:!0},posBefore:{configurable:!0},posAtStart:{configurable:!0},posAfter:{configurable:!0},posAtEnd:{configurable:!0},contentLost:{configurable:!0},domAtom:{configurable:!0}};j.prototype.matchesWidget=function(){return!1};j.prototype.matchesMark=function(){return!1};j.prototype.matchesNode=function(){return!1};j.prototype.matchesHack=function(t){return!1};$t.beforePosition.get=function(){return!1};j.prototype.parseRule=function(){return null};j.prototype.stopEvent=function(){return!1};$t.size.get=function(){for(var e=0,t=0;tPt(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))c=t.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(r==0)for(var l=t;;l=l.parentNode){if(l==this.dom){c=!1;break}if(l.parentNode.firstChild!=l)break}if(c==null&&r==t.childNodes.length)for(var u=t;;u=u.parentNode){if(u==this.dom){c=!0;break}if(u.parentNode.lastChild!=u)break}}return(c==null?n>0:c)?this.posAtEnd:this.posAtStart};j.prototype.nearestDesc=function(t,r){for(var n=!0,o=t;o;o=o.parentNode){var i=this.getDesc(o);if(i&&(!r||i.node))if(n&&i.nodeDOM&&!(i.nodeDOM.nodeType==1?i.nodeDOM.contains(t.nodeType==1?t:t.parentNode):i.nodeDOM==t))n=!1;else return i}};j.prototype.getDesc=function(t){for(var r=t.pmViewDesc,n=r;n;n=n.parent)if(n==this)return r};j.prototype.posFromDOM=function(t,r,n){for(var o=t;o;o=o.parentNode){var i=this.getDesc(o);if(i)return i.localPosFromDOM(t,r,n)}return-1};j.prototype.descAt=function(t){for(var r=0,n=0;r=t:a>t)&&(a>t||o+1>=this.children.length||!this.children[o+1].beforePosition))return s.domFromPos(t-n-s.border,r);n=a}};j.prototype.parseRange=function(t,r,n){if(n===void 0&&(n=0),this.children.length==0)return{node:this.contentDOM,from:t,to:r,fromOffset:0,toOffset:this.contentDOM.childNodes.length};for(var o=-1,i=-1,s=n,a=0;;a++){var c=this.children[a],l=s+c.size;if(o==-1&&t<=l){var u=s+c.border;if(t>=u&&r<=l-c.border&&c.node&&c.contentDOM&&this.contentDOM.contains(c.contentDOM))return c.parseRange(t,r,u);t=s;for(var f=a;f>0;f--){var p=this.children[f-1];if(p.size&&p.dom.parentNode==this.contentDOM&&!p.emptyChildAt(1)){o=Pt(p.dom)+1;break}t-=p.size}o==-1&&(o=0)}if(o>-1&&(l>r||a==this.children.length-1)){r=l;for(var d=a+1;dc&&sn in e?Xe(e,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[n]=a,G=(e,n)=>{for(var a in n||(n={}))$e.call(n,a)&&qe(e,a,n[a]);if(Be)for(var a of Be(n))_e.call(n,a)&&qe(e,a,n[a]);return e},Te=(e,n)=>Ye(e,Ze(n));import{b5 as H,i as M,k as w,D as re,b6 as Ce,r as De,o as I,s as el,w as ll,b as al,c as B,z as O,B as ve,A as E,F as ae,H as se,W as C,v as tl,x as Q,t as P}from"./vendor.e9042f2c.js";import{_ as nl}from"./main.c4ed6aa9.js";function F(e){return[null,void 0,!1].indexOf(e)!==-1}function rl(e,n,a){const{object:i,valueProp:o,mode:v}=H(e),f=a.iv,g=p=>{f.value=c(p);const b=t(p);n.emit("change",b),n.emit("input",b),n.emit("update:modelValue",b)},t=p=>i.value||F(p)?p:Array.isArray(p)?p.map(b=>b[o.value]):p[o.value],c=p=>F(p)?v.value==="single"?{}:[]:p;return{update:g}}function sl(e,n){const{value:a,modelValue:i,mode:o,valueProp:v}=H(e),f=M(o.value!=="single"?[]:{}),g=n.expose!==void 0?i:a,t=w(()=>o.value==="single"?f.value[v.value]:f.value.map(p=>p[v.value])),c=w(()=>o.value!=="single"?f.value.map(p=>p[v.value]).join(","):f.value[v.value]);return{iv:f,internalValue:f,ev:g,externalValue:g,textValue:c,plainValue:t}}function ul(e,n,a){const{preserveSearch:i}=H(e),o=M(e.initialSearch)||M(null),v=M(null),f=()=>{i.value||(o.value="")},g=c=>{o.value=c.target.value},t=c=>{n.emit("paste",c)};return re(o,c=>{n.emit("search-change",c)}),{search:o,input:v,clearSearch:f,handleSearchInput:g,handlePaste:t}}function ol(e,n,a){const{groupSelect:i,mode:o,groups:v}=H(e),f=M(null),g=c=>{c===void 0||c!==null&&c.disabled||v.value&&c&&c.group&&(o.value==="single"||!i.value)||(f.value=c)};return{pointer:f,setPointer:g,clearPointer:()=>{g(null)}}}function Ee(e,n=!0){return n?String(e).toLowerCase().trim():String(e).normalize("NFD").replace(/\p{Diacritic}/gu,"").toLowerCase().trim()}function il(e){return Object.prototype.toString.call(e)==="[object Object]"}function cl(e,n){const a=n.slice().sort();return e.length===n.length&&e.slice().sort().every(function(i,o){return i===a[o]})}function dl(e,n,a){const{options:i,mode:o,trackBy:v,limit:f,hideSelected:g,createTag:t,label:c,appendNewTag:p,multipleLabel:b,object:q,loading:V,delay:D,resolveOnLoad:m,minChars:s,filterResults:x,clearOnSearch:Z,clearOnSelect:k,valueProp:d,canDeselect:R,max:L,strict:U,closeOnSelect:X,groups:$,groupLabel:ue,groupOptions:A,groupHideEmpty:pe,groupSelect:fe}=H(e),S=a.iv,z=a.ev,T=a.search,_=a.clearSearch,ee=a.update,ge=a.pointer,oe=a.clearPointer,K=a.blur,te=a.deactivate,r=M([]),h=M([]),j=M(!1),N=w(()=>{if($.value){let l=h.value||[],u=[];return l.forEach(y=>{ke(y[A.value]).forEach(J=>{u.push(Object.assign({},J,y.disabled?{disabled:!0}:{}))})}),u}else{let l=ke(h.value||[]);return r.value.length&&(l=l.concat(r.value)),l}}),Oe=w(()=>$.value?Je((h.value||[]).map(l=>{const u=ke(l[A.value]);return Te(G({},l),{group:!0,[A.value]:Se(u,!1).map(y=>Object.assign({},y,l.disabled?{disabled:!0}:{})),__VISIBLE__:Se(u).map(y=>Object.assign({},y,l.disabled?{disabled:!0}:{}))})})):[]),ie=w(()=>{let l=N.value;return me.value.length&&(l=me.value.concat(l)),l=Se(l),f.value>0&&(l=l.slice(0,f.value)),l}),be=w(()=>{switch(o.value){case"single":return!F(S.value[d.value]);case"multiple":case"tags":return!F(S.value)&&S.value.length>0}}),Ve=w(()=>b!==void 0&&b.value!==void 0?b.value(S.value):S.value&&S.value.length>1?`${S.value.length} options selected`:"1 option selected"),Re=w(()=>!N.value.length&&!j.value&&!me.value.length),je=w(()=>N.value.length>0&&ie.value.length==0&&(T.value&&$.value||!$.value)),me=w(()=>t.value===!1||!T.value?[]:ze(T.value)!==-1?[]:[{[d.value]:T.value,[c.value]:T.value,[v.value]:T.value}]),Ge=w(()=>{switch(o.value){case"single":return null;case"multiple":case"tags":return[]}}),xe=w(()=>V.value||j.value),ne=l=>{switch(typeof l!="object"&&(l=W(l)),o.value){case"single":ee(l);break;case"multiple":case"tags":ee(S.value.concat(l));break}n.emit("select",Le(l),l)},le=l=>{switch(typeof l!="object"&&(l=W(l)),o.value){case"single":Ie();break;case"tags":case"multiple":ee(Array.isArray(l)?S.value.filter(u=>l.map(y=>y[d.value]).indexOf(u[d.value])===-1):S.value.filter(u=>u[d.value]!=l[d.value]));break}n.emit("deselect",Le(l),l)},Le=l=>q.value?l:l[d.value],Pe=l=>{le(l)},Ae=(l,u)=>{if(u.button!==0){u.preventDefault();return}Pe(l)},Ie=()=>{n.emit("clear"),ee(Ge.value)},Y=l=>{if(l.group!==void 0)return o.value==="single"?!1:Fe(l[A.value])&&l[A.value].length;switch(o.value){case"single":return!F(S.value)&&S.value[d.value]==l[d.value];case"tags":case"multiple":return!F(S.value)&&S.value.map(u=>u[d.value]).indexOf(l[d.value])!==-1}},he=l=>l.disabled===!0,ye=()=>L===void 0||L.value===-1||!be.value&&L.value>0?!1:S.value.length>=L.value,Me=l=>{if(!he(l)){switch(o.value){case"single":if(Y(l)){R.value&&le(l);return}K(),ne(l);break;case"multiple":if(Y(l)){le(l);return}if(ye())return;ne(l),k.value&&_(),g.value&&oe(),X.value&&K();break;case"tags":if(Y(l)){le(l);return}if(ye())return;W(l[d.value])===void 0&&t.value&&(n.emit("tag",l[d.value]),p.value&&Ke(l),_()),k.value&&_(),ne(l),g.value&&oe(),X.value&&K();break}X.value&&te()}},Ne=l=>{if(!(he(l)||o.value==="single"||!fe.value)){switch(o.value){case"multiple":case"tags":He(l[A.value])?le(l[A.value]):ne(l[A.value].filter(u=>S.value.map(y=>y[d.value]).indexOf(u[d.value])===-1).filter(u=>!u.disabled).filter((u,y)=>S.value.length+1+y<=L.value||L.value===-1));break}X.value&&te()}},He=l=>l.find(u=>!Y(u)&&!u.disabled)===void 0,Fe=l=>l.find(u=>!Y(u))===void 0,W=l=>N.value[N.value.map(u=>String(u[d.value])).indexOf(String(l))],ze=(l,u=!0)=>N.value.map(y=>y[v.value]).indexOf(l),We=l=>["tags","multiple"].indexOf(o.value)!==-1&&g.value&&Y(l),Ke=l=>{r.value.push(l)},Je=l=>pe.value?l.filter(u=>T.value?u.__VISIBLE__.length:u[A.value].length):l.filter(u=>T.value?u.__VISIBLE__.length:!0),Se=(l,u=!0)=>{let y=l;return T.value&&x.value&&(y=y.filter(J=>Ee(J[v.value],U.value).indexOf(Ee(T.value,U.value))!==-1)),g.value&&u&&(y=y.filter(J=>!We(J))),y},ke=l=>{let u=l;return il(u)&&(u=Object.keys(u).map(y=>{let J=u[y];return{[d.value]:y,[v.value]:J,[c.value]:J}})),u=u.map(y=>typeof y=="object"?y:{[d.value]:y,[v.value]:y,[c.value]:y}),u},ce=()=>{F(z.value)||(S.value=de(z.value))},we=l=>{j.value=!0,i.value(T.value).then(u=>{h.value=u,typeof l=="function"&&l(u),j.value=!1})},Qe=()=>{if(!!be.value)if(o.value==="single"){let l=W(S.value[d.value])[c.value];S.value[c.value]=l,q.value&&(z.value[c.value]=l)}else S.value.forEach((l,u)=>{let y=W(S.value[u][d.value])[c.value];S.value[u][c.value]=y,q.value&&(z.value[u][c.value]=y)})},Ue=l=>{we(l)},de=l=>F(l)?o.value==="single"?{}:[]:q.value?l:o.value==="single"?W(l)||{}:l.filter(u=>!!W(u)).map(u=>W(u));if(o.value!=="single"&&!F(z.value)&&!Array.isArray(z.value))throw new Error(`v-model must be an array when using "${o.value}" mode`);return i&&typeof i.value=="function"?m.value?we(ce):q.value==!0&&ce():(h.value=i.value,ce()),D.value>-1&&re(T,l=>{l.length{l==T.value&&i.value(T.value).then(u=>{l==T.value&&(h.value=u,ge.value=ie.value.filter(y=>y.disabled!==!0)[0]||null,j.value=!1)})},D.value))},{flush:"sync"}),re(z,l=>{if(F(l)){S.value=de(l);return}switch(o.value){case"single":(q.value?l[d.value]!=S.value[d.value]:l!=S.value[d.value])&&(S.value=de(l));break;case"multiple":case"tags":cl(q.value?l.map(u=>u[d.value]):l,S.value.map(u=>u[d.value]))||(S.value=de(l));break}},{deep:!0}),typeof e.options!="function"&&re(i,(l,u)=>{h.value=e.options,Object.keys(S.value).length||ce(),Qe()}),{fo:ie,filteredOptions:ie,hasSelected:be,multipleLabelText:Ve,eo:N,extendedOptions:N,fg:Oe,filteredGroups:Oe,noOptions:Re,noResults:je,resolving:j,busy:xe,select:ne,deselect:le,remove:Pe,clear:Ie,isSelected:Y,isDisabled:he,isMax:ye,getOption:W,handleOptionClick:Me,handleGroupClick:Ne,handleTagRemove:Ae,refreshOptions:Ue,resolveOptions:we}}function vl(e,n,a){const{valueProp:i,showOptions:o,searchable:v,groupLabel:f,groups:g,mode:t,groupSelect:c}=H(e),p=a.fo,b=a.fg,q=a.handleOptionClick,V=a.handleGroupClick,D=a.search,m=a.pointer,s=a.setPointer,x=a.clearPointer,Z=a.multiselect,k=w(()=>p.value.filter(r=>!r.disabled)),d=w(()=>b.value.filter(r=>!r.disabled)),R=w(()=>t.value!=="single"&&c.value),L=w(()=>m.value&&m.value.group),U=w(()=>K(m.value)),X=w(()=>{const r=L.value?m.value:K(m.value),h=d.value.map(N=>N[f.value]).indexOf(r[f.value]);let j=d.value[h-1];return j===void 0&&(j=ue.value),j}),$=w(()=>{let r=d.value.map(h=>h.label).indexOf(L.value?m.value[f.value]:K(m.value)[f.value])+1;return d.value.length<=r&&(r=0),d.value[r]}),ue=w(()=>[...d.value].slice(-1)[0]),A=w(()=>m.value.__VISIBLE__.filter(r=>!r.disabled)[0]),pe=w(()=>{const r=U.value.__VISIBLE__.filter(h=>!h.disabled);return r[r.map(h=>h[i.value]).indexOf(m.value[i.value])-1]}),fe=w(()=>{const r=K(m.value).__VISIBLE__.filter(h=>!h.disabled);return r[r.map(h=>h[i.value]).indexOf(m.value[i.value])+1]}),S=w(()=>[...X.value.__VISIBLE__.filter(r=>!r.disabled)].slice(-1)[0]),z=w(()=>[...ue.value.__VISIBLE__.filter(r=>!r.disabled)].slice(-1)[0]),T=r=>{if(!!m.value)return r.group?m.value[f.value]==r[f.value]:m.value[i.value]==r[i.value]},_=()=>{s(k.value[0]||null)},ee=()=>{!m.value||m.value.disabled===!0||(L.value?V(m.value):q(m.value))},ge=()=>{if(m.value===null)s((g.value&&R.value?d.value[0]:k.value[0])||null);else if(g.value&&R.value){let r=L.value?A.value:fe.value;r===void 0&&(r=$.value),s(r||null)}else{let r=k.value.map(h=>h[i.value]).indexOf(m.value[i.value])+1;k.value.length<=r&&(r=0),s(k.value[r]||null)}Ce(()=>{te()})},oe=()=>{if(m.value===null){let r=k.value[k.value.length-1];g.value&&R.value&&(r=z.value,r===void 0&&(r=ue.value)),s(r||null)}else if(g.value&&R.value){let r=L.value?S.value:pe.value;r===void 0&&(r=L.value?X.value:U.value),s(r||null)}else{let r=k.value.map(h=>h[i.value]).indexOf(m.value[i.value])-1;r<0&&(r=k.value.length-1),s(k.value[r]||null)}Ce(()=>{te()})},K=r=>d.value.find(h=>h.__VISIBLE__.map(j=>j[i.value]).indexOf(r[i.value])!==-1),te=()=>{let r=Z.value.querySelector("[data-pointed]");if(!r)return;let h=r.parentElement.parentElement;g.value&&(h=L.value?r.parentElement.parentElement.parentElement:r.parentElement.parentElement.parentElement.parentElement),r.offsetTop+r.offsetHeight>h.clientHeight+h.scrollTop&&(h.scrollTop=r.offsetTop+r.offsetHeight-h.clientHeight),r.offsetTop{v.value&&(r.length&&o.value?_():x())}),{pointer:m,canPointGroups:R,isPointed:T,setPointerFirst:_,selectPointer:ee,forwardPointer:ge,backwardPointer:oe}}function pl(e,n,a){const{disabled:i}=H(e),o=M(!1);return{isOpen:o,open:()=>{o.value||i.value||(o.value=!0,n.emit("open"))},close:()=>{!o.value||(o.value=!1,n.emit("close"))}}}function fl(e,n,a){const{searchable:i,disabled:o}=H(e),v=a.input,f=a.open,g=a.close,t=a.clearSearch,c=M(null),p=M(!1),b=w(()=>i.value||o.value?-1:0),q=()=>{i.value&&v.value.blur(),c.value.blur()},V=()=>{i.value&&!o.value&&v.value.focus()},D=()=>{o.value||(p.value=!0,f())},m=()=>{p.value=!1,setTimeout(()=>{p.value||(g(),t())},1)};return{multiselect:c,tabindex:b,isActive:p,blur:q,handleFocus:V,activate:D,deactivate:m,handleCaretClick:()=>{p.value?(m(),q()):D()}}}function gl(e,n,a){const{mode:i,addTagOn:o,createTag:v,openDirection:f,searchable:g,showOptions:t,valueProp:c,groups:p}=H(e),b=a.iv,q=a.update,V=a.search,D=a.setPointer,m=a.selectPointer,s=a.backwardPointer,x=a.forwardPointer,Z=a.blur,k=a.fo,d=()=>{i.value==="tags"&&!t.value&&v.value&&g.value&&!p.value&&D(k.value[k.value.map(L=>L[c.value]).indexOf(V.value)])};return{handleKeydown:L=>{switch(L.keyCode){case 8:if(i.value==="single"||g.value&&[null,""].indexOf(V.value)===-1||b.value.length===0)return;q([...b.value].slice(0,-1));break;case 13:if(L.preventDefault(),i.value==="tags"&&o.value.indexOf("enter")===-1&&v.value)return;d(),m();break;case 32:if(g.value&&i.value!=="tags"&&!v.value||i.value==="tags"&&(o.value.indexOf("space")===-1&&v.value||!v.value))return;L.preventDefault(),d(),m();break;case 9:case 186:case 188:if(i.value!=="tags")return;const U={9:"tab",186:";",188:","};if(o.value.indexOf(U[L.keyCode])===-1||!v.value)return;d(),m(),L.preventDefault();break;case 27:Z();break;case 38:if(L.preventDefault(),!t.value)return;f.value==="top"?x():s();break;case 40:if(L.preventDefault(),!t.value)return;f.value==="top"?s():x();break}},preparePointer:d}}function bl(e,n,a){const i=H(e),{disabled:o,openDirection:v,showOptions:f,invalid:g}=i,t=a.isOpen,c=a.isPointed,p=a.isSelected,b=a.isDisabled,q=a.isActive,V=a.canPointGroups,D=a.resolving,m=a.fo,s=G({container:"multiselect",containerDisabled:"is-disabled",containerOpen:"is-open",containerOpenTop:"is-open-top",containerActive:"is-active",containerInvalid:"is-invalid",containerInvalidActive:"is-invalid-active",singleLabel:"multiselect-single-label",multipleLabel:"multiselect-multiple-label",search:"multiselect-search",tags:"multiselect-tags",tag:"multiselect-tag",tagDisabled:"is-disabled",tagRemove:"multiselect-tag-remove",tagRemoveIcon:"multiselect-tag-remove-icon",tagsSearchWrapper:"multiselect-tags-search-wrapper",tagsSearch:"multiselect-tags-search",tagsSearchCopy:"multiselect-tags-search-copy",placeholder:"multiselect-placeholder",caret:"multiselect-caret",caretOpen:"is-open",clear:"multiselect-clear",clearIcon:"multiselect-clear-icon",spinner:"multiselect-spinner",dropdown:"multiselect-dropdown",dropdownTop:"is-top",dropdownHidden:"is-hidden",options:"multiselect-options",optionsTop:"is-top",group:"multiselect-group",groupLabel:"multiselect-group-label",groupLabelPointable:"is-pointable",groupLabelPointed:"is-pointed",groupLabelSelected:"is-selected",groupLabelDisabled:"is-disabled",groupLabelSelectedPointed:"is-selected is-pointed",groupLabelSelectedDisabled:"is-selected is-disabled",groupOptions:"multiselect-group-options",option:"multiselect-option",optionPointed:"is-pointed",optionSelected:"is-selected",optionDisabled:"is-disabled",optionSelectedPointed:"is-selected is-pointed",optionSelectedDisabled:"is-selected is-disabled",noOptions:"multiselect-no-options",noResults:"multiselect-no-results",fakeInput:"multiselect-fake-input",spacer:"multiselect-spacer"},i.classes.value),x=w(()=>!!(t.value&&f.value&&(!D.value||D.value&&m.value.length)));return{classList:w(()=>({container:[s.container].concat(o.value?s.containerDisabled:[]).concat(x.value&&v.value==="top"?s.containerOpenTop:[]).concat(x.value&&v.value!=="top"?s.containerOpen:[]).concat(q.value?s.containerActive:[]).concat(g.value?s.containerInvalid:[]),spacer:s.spacer,singleLabel:s.singleLabel,multipleLabel:s.multipleLabel,search:s.search,tags:s.tags,tag:[s.tag].concat(o.value?s.tagDisabled:[]),tagRemove:s.tagRemove,tagRemoveIcon:s.tagRemoveIcon,tagsSearchWrapper:s.tagsSearchWrapper,tagsSearch:s.tagsSearch,tagsSearchCopy:s.tagsSearchCopy,placeholder:s.placeholder,caret:[s.caret].concat(t.value?s.caretOpen:[]),clear:s.clear,clearIcon:s.clearIcon,spinner:s.spinner,dropdown:[s.dropdown].concat(v.value==="top"?s.dropdownTop:[]).concat(!t.value||!f.value||!x.value?s.dropdownHidden:[]),options:[s.options].concat(v.value==="top"?s.optionsTop:[]),group:s.group,groupLabel:k=>{let d=[s.groupLabel];return c(k)?d.push(p(k)?s.groupLabelSelectedPointed:s.groupLabelPointed):p(k)&&V.value?d.push(b(k)?s.groupLabelSelectedDisabled:s.groupLabelSelected):b(k)&&d.push(s.groupLabelDisabled),V.value&&d.push(s.groupLabelPointable),d},groupOptions:s.groupOptions,option:(k,d)=>{let R=[s.option];return c(k)?R.push(p(k)?s.optionSelectedPointed:s.optionPointed):p(k)?R.push(b(k)?s.optionSelectedDisabled:s.optionSelected):(b(k)||d&&b(d))&&R.push(s.optionDisabled),R},noOptions:s.noOptions,noResults:s.noResults,fakeInput:s.fakeInput})),showDropdown:x}}const ml={name:"BaseMultiselect",props:{preserveSearch:{type:Boolean,default:!1},initialSearch:{type:String,default:null},contentLoading:{type:Boolean,default:!1},value:{required:!1},modelValue:{required:!1},options:{type:[Array,Object,Function],required:!1,default:()=>[]},id:{type:[String,Number],required:!1},name:{type:[String,Number],required:!1,default:"multiselect"},disabled:{type:Boolean,required:!1,default:!1},label:{type:String,required:!1,default:"label"},trackBy:{type:String,required:!1,default:"label"},valueProp:{type:String,required:!1,default:"value"},placeholder:{type:String,required:!1,default:null},mode:{type:String,required:!1,default:"single"},searchable:{type:Boolean,required:!1,default:!1},limit:{type:Number,required:!1,default:-1},hideSelected:{type:Boolean,required:!1,default:!0},createTag:{type:Boolean,required:!1,default:!1},appendNewTag:{type:Boolean,required:!1,default:!0},caret:{type:Boolean,required:!1,default:!0},loading:{type:Boolean,required:!1,default:!1},noOptionsText:{type:String,required:!1,default:"The list is empty"},noResultsText:{type:String,required:!1,default:"No results found"},multipleLabel:{type:Function,required:!1},object:{type:Boolean,required:!1,default:!1},delay:{type:Number,required:!1,default:-1},minChars:{type:Number,required:!1,default:0},resolveOnLoad:{type:Boolean,required:!1,default:!0},filterResults:{type:Boolean,required:!1,default:!0},clearOnSearch:{type:Boolean,required:!1,default:!1},clearOnSelect:{type:Boolean,required:!1,default:!0},canDeselect:{type:Boolean,required:!1,default:!0},canClear:{type:Boolean,required:!1,default:!1},max:{type:Number,required:!1,default:-1},showOptions:{type:Boolean,required:!1,default:!0},addTagOn:{type:Array,required:!1,default:()=>["enter"]},required:{type:Boolean,required:!1,default:!1},openDirection:{type:String,required:!1,default:"bottom"},nativeSupport:{type:Boolean,required:!1,default:!1},invalid:{type:Boolean,required:!1,default:!1},classes:{type:Object,required:!1,default:()=>({container:"p-0 relative mx-auto w-full flex items-center justify-end box-border cursor-pointer border border-gray-200 rounded-md bg-white text-sm leading-snug outline-none max-h-10",containerDisabled:"cursor-default bg-gray-200 bg-opacity-50 !text-gray-400",containerOpen:"",containerOpenTop:"",containerActive:"ring-1 ring-primary-400 border-primary-400",containerInvalid:"border-red-400 ring-red-400 focus:ring-red-400 focus:border-red-400",containerInvalidActive:"ring-1 border-red-400 ring-red-400",singleLabel:"flex items-center h-full absolute left-0 top-0 pointer-events-none bg-transparent leading-snug pl-3.5",multipleLabel:"flex items-center h-full absolute left-0 top-0 pointer-events-none bg-transparent leading-snug pl-3.5",search:"w-full absolute inset-0 outline-none appearance-none box-border border-0 text-sm font-sans bg-white rounded-md pl-3.5",tags:"flex-grow flex-shrink flex flex-wrap mt-1 pl-2",tag:"bg-primary-500 text-white text-sm font-semibold py-0.5 pl-2 rounded mr-1 mb-1 flex items-center whitespace-nowrap",tagDisabled:"pr-2 !bg-gray-400 text-white",tagRemove:"flex items-center justify-center p-1 mx-0.5 rounded-sm hover:bg-black hover:bg-opacity-10 group",tagRemoveIcon:"bg-multiselect-remove text-white bg-center bg-no-repeat opacity-30 inline-block w-3 h-3 group-hover:opacity-60",tagsSearchWrapper:"inline-block relative mx-1 mb-1 flex-grow flex-shrink h-full",tagsSearch:"absolute inset-0 border-0 focus:outline-none !shadow-none !focus:shadow-none appearance-none p-0 text-sm font-sans box-border w-full",tagsSearchCopy:"invisible whitespace-pre-wrap inline-block h-px",placeholder:"flex items-center h-full absolute left-0 top-0 pointer-events-none bg-transparent leading-snug pl-3.5 text-gray-400 text-sm",caret:"bg-multiselect-caret bg-center bg-no-repeat w-5 h-5 py-px box-content z-5 relative mr-1 opacity-40 flex-shrink-0 flex-grow-0 transition-transform transform",caretOpen:"rotate-180 pointer-events-auto",clear:"pr-3.5 relative z-10 opacity-40 transition duration-300 flex-shrink-0 flex-grow-0 flex hover:opacity-80",clearIcon:"bg-multiselect-remove bg-center bg-no-repeat w-2.5 h-4 py-px box-content inline-block",spinner:"bg-multiselect-spinner bg-center bg-no-repeat w-4 h-4 z-10 mr-3.5 animate-spin flex-shrink-0 flex-grow-0",dropdown:"max-h-60 shadow-lg absolute -left-px -right-px -bottom-1 transform translate-y-full border border-gray-300 mt-1 overflow-y-auto z-50 bg-white flex flex-col rounded-md",dropdownTop:"-translate-y-full -top-2 bottom-auto flex-col-reverse rounded-md",dropdownHidden:"hidden",options:"flex flex-col p-0 m-0 list-none",optionsTop:"flex-col-reverse",group:"p-0 m-0",groupLabel:"flex text-sm box-border items-center justify-start text-left py-1 px-3 font-semibold bg-gray-200 cursor-default leading-normal",groupLabelPointable:"cursor-pointer",groupLabelPointed:"bg-gray-300 text-gray-700",groupLabelSelected:"bg-primary-600 text-white",groupLabelDisabled:"bg-gray-100 text-gray-300 cursor-not-allowed",groupLabelSelectedPointed:"bg-primary-600 text-white opacity-90",groupLabelSelectedDisabled:"text-primary-100 bg-primary-600 bg-opacity-50 cursor-not-allowed",groupOptions:"p-0 m-0",option:"flex items-center justify-start box-border text-left cursor-pointer text-sm leading-snug py-2 px-3",optionPointed:"text-gray-800 bg-gray-100",optionSelected:"text-white bg-primary-500",optionDisabled:"text-gray-300 cursor-not-allowed",optionSelectedPointed:"text-white bg-primary-500 opacity-90",optionSelectedDisabled:"text-primary-100 bg-primary-500 bg-opacity-50 cursor-not-allowed",noOptions:"py-2 px-3 text-gray-600 bg-white",noResults:"py-2 px-3 text-gray-600 bg-white",fakeInput:"bg-transparent absolute left-0 right-0 -bottom-px w-full h-px border-0 p-0 appearance-none outline-none text-transparent",spacer:"h-9 py-px box-content"})},strict:{type:Boolean,required:!1,default:!0},closeOnSelect:{type:Boolean,required:!1,default:!0},autocomplete:{type:String,required:!1},groups:{type:Boolean,required:!1,default:!1},groupLabel:{type:String,required:!1,default:"label"},groupOptions:{type:String,required:!1,default:"options"},groupHideEmpty:{type:Boolean,required:!1,default:!1},groupSelect:{type:Boolean,required:!1,default:!0},inputType:{type:String,required:!1,default:"text"}},emits:["open","close","select","deselect","input","search-change","tag","update:modelValue","change","clear"],setup(e,n){const a=sl(e,n),i=ol(e),o=pl(e,n),v=ul(e,n),f=rl(e,n,{iv:a.iv}),g=fl(e,n,{input:v.input,open:o.open,close:o.close,clearSearch:v.clearSearch}),t=dl(e,n,{ev:a.ev,iv:a.iv,search:v.search,clearSearch:v.clearSearch,update:f.update,pointer:i.pointer,clearPointer:i.clearPointer,blur:g.blur,deactivate:g.deactivate}),c=vl(e,n,{fo:t.fo,fg:t.fg,handleOptionClick:t.handleOptionClick,handleGroupClick:t.handleGroupClick,search:v.search,pointer:i.pointer,setPointer:i.setPointer,clearPointer:i.clearPointer,multiselect:g.multiselect}),p=gl(e,n,{iv:a.iv,update:f.update,search:v.search,setPointer:i.setPointer,selectPointer:c.selectPointer,backwardPointer:c.backwardPointer,forwardPointer:c.forwardPointer,blur:g.blur,fo:t.fo}),b=bl(e,n,{isOpen:o.isOpen,isPointed:c.isPointed,canPointGroups:c.canPointGroups,isSelected:t.isSelected,isDisabled:t.isDisabled,isActive:g.isActive,resolving:t.resolving,fo:t.fo});return G(G(G(G(G(G(G(G(G(G({},a),o),g),i),f),v),t),c),p),b)}},hl=["id","tabindex"],yl=["type","modelValue","value","autocomplete"],Sl=["onMousedown"],kl=["type","modelValue","value","autocomplete"],wl={class:"w-full overflow-y-auto"},Ol=["data-pointed","onMouseenter","onClick"],Ll=["data-pointed","onMouseenter","onClick"],Pl=["data-pointed","onMouseenter","onClick"],Il=["innerHTML"],Bl=["innerHTML"],ql=["value"],Tl=["name","value"],Cl=["name","value"];function Dl(e,n,a,i,o,v){const f=De("BaseContentPlaceholdersBox"),g=De("BaseContentPlaceholders");return a.contentLoading?(I(),el(g,{key:0},{default:ll(()=>[al(f,{rounded:!0,class:"w-full",style:{height:"40px"}})]),_:1})):(I(),B("div",{key:1,id:a.id,ref:"multiselect",tabindex:e.tabindex,class:O(e.classList.container),onFocusin:n[6]||(n[6]=(...t)=>e.activate&&e.activate(...t)),onFocusout:n[7]||(n[7]=(...t)=>e.deactivate&&e.deactivate(...t)),onKeydown:n[8]||(n[8]=(...t)=>e.handleKeydown&&e.handleKeydown(...t)),onFocus:n[9]||(n[9]=(...t)=>e.handleFocus&&e.handleFocus(...t))},[a.mode!=="tags"&&a.searchable&&!a.disabled?(I(),B("input",{key:0,ref:"input",type:a.inputType,modelValue:e.search,value:e.search,class:O(e.classList.search),autocomplete:a.autocomplete,onInput:n[0]||(n[0]=(...t)=>e.handleSearchInput&&e.handleSearchInput(...t)),onPaste:n[1]||(n[1]=ve((...t)=>e.handlePaste&&e.handlePaste(...t),["stop"]))},null,42,yl)):E("",!0),a.mode=="tags"?(I(),B("div",{key:1,class:O(e.classList.tags)},[(I(!0),B(ae,null,se(e.iv,(t,c,p)=>C(e.$slots,"tag",{option:t,handleTagRemove:e.handleTagRemove,disabled:a.disabled},()=>[(I(),B("span",{key:p,class:O(e.classList.tag)},[tl(Q(t[a.label])+" ",1),a.disabled?E("",!0):(I(),B("span",{key:0,class:O(e.classList.tagRemove),onMousedown:ve(b=>e.handleTagRemove(t,b),["stop"])},[P("span",{class:O(e.classList.tagRemoveIcon)},null,2)],42,Sl))],2))])),256)),P("div",{class:O(e.classList.tagsSearchWrapper)},[P("span",{class:O(e.classList.tagsSearchCopy)},Q(e.search),3),a.searchable&&!a.disabled?(I(),B("input",{key:0,ref:"input",type:a.inputType,modelValue:e.search,value:e.search,class:O(e.classList.tagsSearch),autocomplete:a.autocomplete,style:{"box-shadow":"none !important"},onInput:n[2]||(n[2]=(...t)=>e.handleSearchInput&&e.handleSearchInput(...t)),onPaste:n[3]||(n[3]=ve((...t)=>e.handlePaste&&e.handlePaste(...t),["stop"]))},null,42,kl)):E("",!0)],2)],2)):E("",!0),a.mode=="single"&&e.hasSelected&&!e.search&&e.iv?C(e.$slots,"singlelabel",{key:2,value:e.iv},()=>[P("div",{class:O(e.classList.singleLabel)},Q(e.iv[a.label]),3)]):E("",!0),a.mode=="multiple"&&e.hasSelected&&!e.search?C(e.$slots,"multiplelabel",{key:3,values:e.iv},()=>[P("div",{class:O(e.classList.multipleLabel)},Q(e.multipleLabelText),3)]):E("",!0),a.placeholder&&!e.hasSelected&&!e.search?C(e.$slots,"placeholder",{key:4},()=>[P("div",{class:O(e.classList.placeholder)},Q(a.placeholder),3)]):E("",!0),e.busy?C(e.$slots,"spinner",{key:5},()=>[P("span",{class:O(e.classList.spinner)},null,2)]):E("",!0),e.hasSelected&&!a.disabled&&a.canClear&&!e.busy?C(e.$slots,"clear",{key:6,clear:e.clear},()=>[P("span",{class:O(e.classList.clear),onMousedown:n[4]||(n[4]=(...t)=>e.clear&&e.clear(...t))},[P("span",{class:O(e.classList.clearIcon)},null,2)],34)]):E("",!0),a.caret?C(e.$slots,"caret",{key:7},()=>[P("span",{class:O(e.classList.caret),onMousedown:n[5]||(n[5]=ve((...t)=>e.handleCaretClick&&e.handleCaretClick(...t),["prevent","stop"]))},null,34)]):E("",!0),P("div",{class:O(e.classList.dropdown),tabindex:"-1"},[P("div",wl,[C(e.$slots,"beforelist",{options:e.fo}),P("ul",{class:O(e.classList.options)},[a.groups?(I(!0),B(ae,{key:0},se(e.fg,(t,c,p)=>(I(),B("li",{key:p,class:O(e.classList.group)},[P("div",{class:O(e.classList.groupLabel(t)),"data-pointed":e.isPointed(t),onMouseenter:b=>e.setPointer(t),onClick:b=>e.handleGroupClick(t)},[C(e.$slots,"grouplabel",{group:t},()=>[P("span",null,Q(t[a.groupLabel]),1)])],42,Ol),P("ul",{class:O(e.classList.groupOptions)},[(I(!0),B(ae,null,se(t.__VISIBLE__,(b,q,V)=>(I(),B("li",{key:V,class:O(e.classList.option(b,t)),"data-pointed":e.isPointed(b),onMouseenter:D=>e.setPointer(b),onClick:D=>e.handleOptionClick(b)},[C(e.$slots,"option",{option:b,search:e.search},()=>[P("span",null,Q(b[a.label]),1)])],42,Ll))),128))],2)],2))),128)):(I(!0),B(ae,{key:1},se(e.fo,(t,c,p)=>(I(),B("li",{key:p,class:O(e.classList.option(t)),"data-pointed":e.isPointed(t),onMouseenter:b=>e.setPointer(t),onClick:b=>e.handleOptionClick(t)},[C(e.$slots,"option",{option:t,search:e.search},()=>[P("span",null,Q(t[a.label]),1)])],42,Pl))),128))],2),e.noOptions?C(e.$slots,"nooptions",{key:0},()=>[P("div",{class:O(e.classList.noOptions),innerHTML:a.noOptionsText},null,10,Il)]):E("",!0),e.noResults?C(e.$slots,"noresults",{key:1},()=>[P("div",{class:O(e.classList.noResults),innerHTML:a.noResultsText},null,10,Bl)]):E("",!0),C(e.$slots,"afterlist",{options:e.fo})]),C(e.$slots,"action")],2),a.required?(I(),B("input",{key:8,class:O(e.classList.fakeInput),tabindex:"-1",value:e.textValue,required:""},null,10,ql)):E("",!0),a.nativeSupport?(I(),B(ae,{key:9},[a.mode=="single"?(I(),B("input",{key:0,type:"hidden",name:a.name,value:e.plainValue!==void 0?e.plainValue:""},null,8,Tl)):(I(!0),B(ae,{key:1},se(e.plainValue,(t,c)=>(I(),B("input",{key:c,type:"hidden",name:`${a.name}[]`,value:t},null,8,Cl))),128))],64)):E("",!0),P("div",{class:O(e.classList.spacer)},null,2)],42,hl))}var jl=nl(ml,[["render",Dl]]);export{jl as default}; +var Xe=Object.defineProperty,Ye=Object.defineProperties;var Ze=Object.getOwnPropertyDescriptors;var Be=Object.getOwnPropertySymbols;var $e=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable;var qe=(e,n,a)=>n in e?Xe(e,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[n]=a,G=(e,n)=>{for(var a in n||(n={}))$e.call(n,a)&&qe(e,a,n[a]);if(Be)for(var a of Be(n))_e.call(n,a)&&qe(e,a,n[a]);return e},Te=(e,n)=>Ye(e,Ze(n));import{b5 as H,i as M,k as w,D as re,b6 as Ce,r as De,o as I,s as el,w as ll,b as al,c as B,z as O,B as ve,A as E,F as ae,H as se,W as C,v as tl,x as Q,t as P}from"./vendor.e9042f2c.js";import{_ as nl}from"./main.f55cd568.js";function F(e){return[null,void 0,!1].indexOf(e)!==-1}function rl(e,n,a){const{object:i,valueProp:o,mode:v}=H(e),f=a.iv,g=p=>{f.value=c(p);const b=t(p);n.emit("change",b),n.emit("input",b),n.emit("update:modelValue",b)},t=p=>i.value||F(p)?p:Array.isArray(p)?p.map(b=>b[o.value]):p[o.value],c=p=>F(p)?v.value==="single"?{}:[]:p;return{update:g}}function sl(e,n){const{value:a,modelValue:i,mode:o,valueProp:v}=H(e),f=M(o.value!=="single"?[]:{}),g=n.expose!==void 0?i:a,t=w(()=>o.value==="single"?f.value[v.value]:f.value.map(p=>p[v.value])),c=w(()=>o.value!=="single"?f.value.map(p=>p[v.value]).join(","):f.value[v.value]);return{iv:f,internalValue:f,ev:g,externalValue:g,textValue:c,plainValue:t}}function ul(e,n,a){const{preserveSearch:i}=H(e),o=M(e.initialSearch)||M(null),v=M(null),f=()=>{i.value||(o.value="")},g=c=>{o.value=c.target.value},t=c=>{n.emit("paste",c)};return re(o,c=>{n.emit("search-change",c)}),{search:o,input:v,clearSearch:f,handleSearchInput:g,handlePaste:t}}function ol(e,n,a){const{groupSelect:i,mode:o,groups:v}=H(e),f=M(null),g=c=>{c===void 0||c!==null&&c.disabled||v.value&&c&&c.group&&(o.value==="single"||!i.value)||(f.value=c)};return{pointer:f,setPointer:g,clearPointer:()=>{g(null)}}}function Ee(e,n=!0){return n?String(e).toLowerCase().trim():String(e).normalize("NFD").replace(/\p{Diacritic}/gu,"").toLowerCase().trim()}function il(e){return Object.prototype.toString.call(e)==="[object Object]"}function cl(e,n){const a=n.slice().sort();return e.length===n.length&&e.slice().sort().every(function(i,o){return i===a[o]})}function dl(e,n,a){const{options:i,mode:o,trackBy:v,limit:f,hideSelected:g,createTag:t,label:c,appendNewTag:p,multipleLabel:b,object:q,loading:V,delay:D,resolveOnLoad:m,minChars:s,filterResults:x,clearOnSearch:Z,clearOnSelect:k,valueProp:d,canDeselect:R,max:L,strict:U,closeOnSelect:X,groups:$,groupLabel:ue,groupOptions:A,groupHideEmpty:pe,groupSelect:fe}=H(e),S=a.iv,z=a.ev,T=a.search,_=a.clearSearch,ee=a.update,ge=a.pointer,oe=a.clearPointer,K=a.blur,te=a.deactivate,r=M([]),h=M([]),j=M(!1),N=w(()=>{if($.value){let l=h.value||[],u=[];return l.forEach(y=>{ke(y[A.value]).forEach(J=>{u.push(Object.assign({},J,y.disabled?{disabled:!0}:{}))})}),u}else{let l=ke(h.value||[]);return r.value.length&&(l=l.concat(r.value)),l}}),Oe=w(()=>$.value?Je((h.value||[]).map(l=>{const u=ke(l[A.value]);return Te(G({},l),{group:!0,[A.value]:Se(u,!1).map(y=>Object.assign({},y,l.disabled?{disabled:!0}:{})),__VISIBLE__:Se(u).map(y=>Object.assign({},y,l.disabled?{disabled:!0}:{}))})})):[]),ie=w(()=>{let l=N.value;return me.value.length&&(l=me.value.concat(l)),l=Se(l),f.value>0&&(l=l.slice(0,f.value)),l}),be=w(()=>{switch(o.value){case"single":return!F(S.value[d.value]);case"multiple":case"tags":return!F(S.value)&&S.value.length>0}}),Ve=w(()=>b!==void 0&&b.value!==void 0?b.value(S.value):S.value&&S.value.length>1?`${S.value.length} options selected`:"1 option selected"),Re=w(()=>!N.value.length&&!j.value&&!me.value.length),je=w(()=>N.value.length>0&&ie.value.length==0&&(T.value&&$.value||!$.value)),me=w(()=>t.value===!1||!T.value?[]:ze(T.value)!==-1?[]:[{[d.value]:T.value,[c.value]:T.value,[v.value]:T.value}]),Ge=w(()=>{switch(o.value){case"single":return null;case"multiple":case"tags":return[]}}),xe=w(()=>V.value||j.value),ne=l=>{switch(typeof l!="object"&&(l=W(l)),o.value){case"single":ee(l);break;case"multiple":case"tags":ee(S.value.concat(l));break}n.emit("select",Le(l),l)},le=l=>{switch(typeof l!="object"&&(l=W(l)),o.value){case"single":Ie();break;case"tags":case"multiple":ee(Array.isArray(l)?S.value.filter(u=>l.map(y=>y[d.value]).indexOf(u[d.value])===-1):S.value.filter(u=>u[d.value]!=l[d.value]));break}n.emit("deselect",Le(l),l)},Le=l=>q.value?l:l[d.value],Pe=l=>{le(l)},Ae=(l,u)=>{if(u.button!==0){u.preventDefault();return}Pe(l)},Ie=()=>{n.emit("clear"),ee(Ge.value)},Y=l=>{if(l.group!==void 0)return o.value==="single"?!1:Fe(l[A.value])&&l[A.value].length;switch(o.value){case"single":return!F(S.value)&&S.value[d.value]==l[d.value];case"tags":case"multiple":return!F(S.value)&&S.value.map(u=>u[d.value]).indexOf(l[d.value])!==-1}},he=l=>l.disabled===!0,ye=()=>L===void 0||L.value===-1||!be.value&&L.value>0?!1:S.value.length>=L.value,Me=l=>{if(!he(l)){switch(o.value){case"single":if(Y(l)){R.value&&le(l);return}K(),ne(l);break;case"multiple":if(Y(l)){le(l);return}if(ye())return;ne(l),k.value&&_(),g.value&&oe(),X.value&&K();break;case"tags":if(Y(l)){le(l);return}if(ye())return;W(l[d.value])===void 0&&t.value&&(n.emit("tag",l[d.value]),p.value&&Ke(l),_()),k.value&&_(),ne(l),g.value&&oe(),X.value&&K();break}X.value&&te()}},Ne=l=>{if(!(he(l)||o.value==="single"||!fe.value)){switch(o.value){case"multiple":case"tags":He(l[A.value])?le(l[A.value]):ne(l[A.value].filter(u=>S.value.map(y=>y[d.value]).indexOf(u[d.value])===-1).filter(u=>!u.disabled).filter((u,y)=>S.value.length+1+y<=L.value||L.value===-1));break}X.value&&te()}},He=l=>l.find(u=>!Y(u)&&!u.disabled)===void 0,Fe=l=>l.find(u=>!Y(u))===void 0,W=l=>N.value[N.value.map(u=>String(u[d.value])).indexOf(String(l))],ze=(l,u=!0)=>N.value.map(y=>y[v.value]).indexOf(l),We=l=>["tags","multiple"].indexOf(o.value)!==-1&&g.value&&Y(l),Ke=l=>{r.value.push(l)},Je=l=>pe.value?l.filter(u=>T.value?u.__VISIBLE__.length:u[A.value].length):l.filter(u=>T.value?u.__VISIBLE__.length:!0),Se=(l,u=!0)=>{let y=l;return T.value&&x.value&&(y=y.filter(J=>Ee(J[v.value],U.value).indexOf(Ee(T.value,U.value))!==-1)),g.value&&u&&(y=y.filter(J=>!We(J))),y},ke=l=>{let u=l;return il(u)&&(u=Object.keys(u).map(y=>{let J=u[y];return{[d.value]:y,[v.value]:J,[c.value]:J}})),u=u.map(y=>typeof y=="object"?y:{[d.value]:y,[v.value]:y,[c.value]:y}),u},ce=()=>{F(z.value)||(S.value=de(z.value))},we=l=>{j.value=!0,i.value(T.value).then(u=>{h.value=u,typeof l=="function"&&l(u),j.value=!1})},Qe=()=>{if(!!be.value)if(o.value==="single"){let l=W(S.value[d.value])[c.value];S.value[c.value]=l,q.value&&(z.value[c.value]=l)}else S.value.forEach((l,u)=>{let y=W(S.value[u][d.value])[c.value];S.value[u][c.value]=y,q.value&&(z.value[u][c.value]=y)})},Ue=l=>{we(l)},de=l=>F(l)?o.value==="single"?{}:[]:q.value?l:o.value==="single"?W(l)||{}:l.filter(u=>!!W(u)).map(u=>W(u));if(o.value!=="single"&&!F(z.value)&&!Array.isArray(z.value))throw new Error(`v-model must be an array when using "${o.value}" mode`);return i&&typeof i.value=="function"?m.value?we(ce):q.value==!0&&ce():(h.value=i.value,ce()),D.value>-1&&re(T,l=>{l.length{l==T.value&&i.value(T.value).then(u=>{l==T.value&&(h.value=u,ge.value=ie.value.filter(y=>y.disabled!==!0)[0]||null,j.value=!1)})},D.value))},{flush:"sync"}),re(z,l=>{if(F(l)){S.value=de(l);return}switch(o.value){case"single":(q.value?l[d.value]!=S.value[d.value]:l!=S.value[d.value])&&(S.value=de(l));break;case"multiple":case"tags":cl(q.value?l.map(u=>u[d.value]):l,S.value.map(u=>u[d.value]))||(S.value=de(l));break}},{deep:!0}),typeof e.options!="function"&&re(i,(l,u)=>{h.value=e.options,Object.keys(S.value).length||ce(),Qe()}),{fo:ie,filteredOptions:ie,hasSelected:be,multipleLabelText:Ve,eo:N,extendedOptions:N,fg:Oe,filteredGroups:Oe,noOptions:Re,noResults:je,resolving:j,busy:xe,select:ne,deselect:le,remove:Pe,clear:Ie,isSelected:Y,isDisabled:he,isMax:ye,getOption:W,handleOptionClick:Me,handleGroupClick:Ne,handleTagRemove:Ae,refreshOptions:Ue,resolveOptions:we}}function vl(e,n,a){const{valueProp:i,showOptions:o,searchable:v,groupLabel:f,groups:g,mode:t,groupSelect:c}=H(e),p=a.fo,b=a.fg,q=a.handleOptionClick,V=a.handleGroupClick,D=a.search,m=a.pointer,s=a.setPointer,x=a.clearPointer,Z=a.multiselect,k=w(()=>p.value.filter(r=>!r.disabled)),d=w(()=>b.value.filter(r=>!r.disabled)),R=w(()=>t.value!=="single"&&c.value),L=w(()=>m.value&&m.value.group),U=w(()=>K(m.value)),X=w(()=>{const r=L.value?m.value:K(m.value),h=d.value.map(N=>N[f.value]).indexOf(r[f.value]);let j=d.value[h-1];return j===void 0&&(j=ue.value),j}),$=w(()=>{let r=d.value.map(h=>h.label).indexOf(L.value?m.value[f.value]:K(m.value)[f.value])+1;return d.value.length<=r&&(r=0),d.value[r]}),ue=w(()=>[...d.value].slice(-1)[0]),A=w(()=>m.value.__VISIBLE__.filter(r=>!r.disabled)[0]),pe=w(()=>{const r=U.value.__VISIBLE__.filter(h=>!h.disabled);return r[r.map(h=>h[i.value]).indexOf(m.value[i.value])-1]}),fe=w(()=>{const r=K(m.value).__VISIBLE__.filter(h=>!h.disabled);return r[r.map(h=>h[i.value]).indexOf(m.value[i.value])+1]}),S=w(()=>[...X.value.__VISIBLE__.filter(r=>!r.disabled)].slice(-1)[0]),z=w(()=>[...ue.value.__VISIBLE__.filter(r=>!r.disabled)].slice(-1)[0]),T=r=>{if(!!m.value)return r.group?m.value[f.value]==r[f.value]:m.value[i.value]==r[i.value]},_=()=>{s(k.value[0]||null)},ee=()=>{!m.value||m.value.disabled===!0||(L.value?V(m.value):q(m.value))},ge=()=>{if(m.value===null)s((g.value&&R.value?d.value[0]:k.value[0])||null);else if(g.value&&R.value){let r=L.value?A.value:fe.value;r===void 0&&(r=$.value),s(r||null)}else{let r=k.value.map(h=>h[i.value]).indexOf(m.value[i.value])+1;k.value.length<=r&&(r=0),s(k.value[r]||null)}Ce(()=>{te()})},oe=()=>{if(m.value===null){let r=k.value[k.value.length-1];g.value&&R.value&&(r=z.value,r===void 0&&(r=ue.value)),s(r||null)}else if(g.value&&R.value){let r=L.value?S.value:pe.value;r===void 0&&(r=L.value?X.value:U.value),s(r||null)}else{let r=k.value.map(h=>h[i.value]).indexOf(m.value[i.value])-1;r<0&&(r=k.value.length-1),s(k.value[r]||null)}Ce(()=>{te()})},K=r=>d.value.find(h=>h.__VISIBLE__.map(j=>j[i.value]).indexOf(r[i.value])!==-1),te=()=>{let r=Z.value.querySelector("[data-pointed]");if(!r)return;let h=r.parentElement.parentElement;g.value&&(h=L.value?r.parentElement.parentElement.parentElement:r.parentElement.parentElement.parentElement.parentElement),r.offsetTop+r.offsetHeight>h.clientHeight+h.scrollTop&&(h.scrollTop=r.offsetTop+r.offsetHeight-h.clientHeight),r.offsetTop{v.value&&(r.length&&o.value?_():x())}),{pointer:m,canPointGroups:R,isPointed:T,setPointerFirst:_,selectPointer:ee,forwardPointer:ge,backwardPointer:oe}}function pl(e,n,a){const{disabled:i}=H(e),o=M(!1);return{isOpen:o,open:()=>{o.value||i.value||(o.value=!0,n.emit("open"))},close:()=>{!o.value||(o.value=!1,n.emit("close"))}}}function fl(e,n,a){const{searchable:i,disabled:o}=H(e),v=a.input,f=a.open,g=a.close,t=a.clearSearch,c=M(null),p=M(!1),b=w(()=>i.value||o.value?-1:0),q=()=>{i.value&&v.value.blur(),c.value.blur()},V=()=>{i.value&&!o.value&&v.value.focus()},D=()=>{o.value||(p.value=!0,f())},m=()=>{p.value=!1,setTimeout(()=>{p.value||(g(),t())},1)};return{multiselect:c,tabindex:b,isActive:p,blur:q,handleFocus:V,activate:D,deactivate:m,handleCaretClick:()=>{p.value?(m(),q()):D()}}}function gl(e,n,a){const{mode:i,addTagOn:o,createTag:v,openDirection:f,searchable:g,showOptions:t,valueProp:c,groups:p}=H(e),b=a.iv,q=a.update,V=a.search,D=a.setPointer,m=a.selectPointer,s=a.backwardPointer,x=a.forwardPointer,Z=a.blur,k=a.fo,d=()=>{i.value==="tags"&&!t.value&&v.value&&g.value&&!p.value&&D(k.value[k.value.map(L=>L[c.value]).indexOf(V.value)])};return{handleKeydown:L=>{switch(L.keyCode){case 8:if(i.value==="single"||g.value&&[null,""].indexOf(V.value)===-1||b.value.length===0)return;q([...b.value].slice(0,-1));break;case 13:if(L.preventDefault(),i.value==="tags"&&o.value.indexOf("enter")===-1&&v.value)return;d(),m();break;case 32:if(g.value&&i.value!=="tags"&&!v.value||i.value==="tags"&&(o.value.indexOf("space")===-1&&v.value||!v.value))return;L.preventDefault(),d(),m();break;case 9:case 186:case 188:if(i.value!=="tags")return;const U={9:"tab",186:";",188:","};if(o.value.indexOf(U[L.keyCode])===-1||!v.value)return;d(),m(),L.preventDefault();break;case 27:Z();break;case 38:if(L.preventDefault(),!t.value)return;f.value==="top"?x():s();break;case 40:if(L.preventDefault(),!t.value)return;f.value==="top"?s():x();break}},preparePointer:d}}function bl(e,n,a){const i=H(e),{disabled:o,openDirection:v,showOptions:f,invalid:g}=i,t=a.isOpen,c=a.isPointed,p=a.isSelected,b=a.isDisabled,q=a.isActive,V=a.canPointGroups,D=a.resolving,m=a.fo,s=G({container:"multiselect",containerDisabled:"is-disabled",containerOpen:"is-open",containerOpenTop:"is-open-top",containerActive:"is-active",containerInvalid:"is-invalid",containerInvalidActive:"is-invalid-active",singleLabel:"multiselect-single-label",multipleLabel:"multiselect-multiple-label",search:"multiselect-search",tags:"multiselect-tags",tag:"multiselect-tag",tagDisabled:"is-disabled",tagRemove:"multiselect-tag-remove",tagRemoveIcon:"multiselect-tag-remove-icon",tagsSearchWrapper:"multiselect-tags-search-wrapper",tagsSearch:"multiselect-tags-search",tagsSearchCopy:"multiselect-tags-search-copy",placeholder:"multiselect-placeholder",caret:"multiselect-caret",caretOpen:"is-open",clear:"multiselect-clear",clearIcon:"multiselect-clear-icon",spinner:"multiselect-spinner",dropdown:"multiselect-dropdown",dropdownTop:"is-top",dropdownHidden:"is-hidden",options:"multiselect-options",optionsTop:"is-top",group:"multiselect-group",groupLabel:"multiselect-group-label",groupLabelPointable:"is-pointable",groupLabelPointed:"is-pointed",groupLabelSelected:"is-selected",groupLabelDisabled:"is-disabled",groupLabelSelectedPointed:"is-selected is-pointed",groupLabelSelectedDisabled:"is-selected is-disabled",groupOptions:"multiselect-group-options",option:"multiselect-option",optionPointed:"is-pointed",optionSelected:"is-selected",optionDisabled:"is-disabled",optionSelectedPointed:"is-selected is-pointed",optionSelectedDisabled:"is-selected is-disabled",noOptions:"multiselect-no-options",noResults:"multiselect-no-results",fakeInput:"multiselect-fake-input",spacer:"multiselect-spacer"},i.classes.value),x=w(()=>!!(t.value&&f.value&&(!D.value||D.value&&m.value.length)));return{classList:w(()=>({container:[s.container].concat(o.value?s.containerDisabled:[]).concat(x.value&&v.value==="top"?s.containerOpenTop:[]).concat(x.value&&v.value!=="top"?s.containerOpen:[]).concat(q.value?s.containerActive:[]).concat(g.value?s.containerInvalid:[]),spacer:s.spacer,singleLabel:s.singleLabel,multipleLabel:s.multipleLabel,search:s.search,tags:s.tags,tag:[s.tag].concat(o.value?s.tagDisabled:[]),tagRemove:s.tagRemove,tagRemoveIcon:s.tagRemoveIcon,tagsSearchWrapper:s.tagsSearchWrapper,tagsSearch:s.tagsSearch,tagsSearchCopy:s.tagsSearchCopy,placeholder:s.placeholder,caret:[s.caret].concat(t.value?s.caretOpen:[]),clear:s.clear,clearIcon:s.clearIcon,spinner:s.spinner,dropdown:[s.dropdown].concat(v.value==="top"?s.dropdownTop:[]).concat(!t.value||!f.value||!x.value?s.dropdownHidden:[]),options:[s.options].concat(v.value==="top"?s.optionsTop:[]),group:s.group,groupLabel:k=>{let d=[s.groupLabel];return c(k)?d.push(p(k)?s.groupLabelSelectedPointed:s.groupLabelPointed):p(k)&&V.value?d.push(b(k)?s.groupLabelSelectedDisabled:s.groupLabelSelected):b(k)&&d.push(s.groupLabelDisabled),V.value&&d.push(s.groupLabelPointable),d},groupOptions:s.groupOptions,option:(k,d)=>{let R=[s.option];return c(k)?R.push(p(k)?s.optionSelectedPointed:s.optionPointed):p(k)?R.push(b(k)?s.optionSelectedDisabled:s.optionSelected):(b(k)||d&&b(d))&&R.push(s.optionDisabled),R},noOptions:s.noOptions,noResults:s.noResults,fakeInput:s.fakeInput})),showDropdown:x}}const ml={name:"BaseMultiselect",props:{preserveSearch:{type:Boolean,default:!1},initialSearch:{type:String,default:null},contentLoading:{type:Boolean,default:!1},value:{required:!1},modelValue:{required:!1},options:{type:[Array,Object,Function],required:!1,default:()=>[]},id:{type:[String,Number],required:!1},name:{type:[String,Number],required:!1,default:"multiselect"},disabled:{type:Boolean,required:!1,default:!1},label:{type:String,required:!1,default:"label"},trackBy:{type:String,required:!1,default:"label"},valueProp:{type:String,required:!1,default:"value"},placeholder:{type:String,required:!1,default:null},mode:{type:String,required:!1,default:"single"},searchable:{type:Boolean,required:!1,default:!1},limit:{type:Number,required:!1,default:-1},hideSelected:{type:Boolean,required:!1,default:!0},createTag:{type:Boolean,required:!1,default:!1},appendNewTag:{type:Boolean,required:!1,default:!0},caret:{type:Boolean,required:!1,default:!0},loading:{type:Boolean,required:!1,default:!1},noOptionsText:{type:String,required:!1,default:"The list is empty"},noResultsText:{type:String,required:!1,default:"No results found"},multipleLabel:{type:Function,required:!1},object:{type:Boolean,required:!1,default:!1},delay:{type:Number,required:!1,default:-1},minChars:{type:Number,required:!1,default:0},resolveOnLoad:{type:Boolean,required:!1,default:!0},filterResults:{type:Boolean,required:!1,default:!0},clearOnSearch:{type:Boolean,required:!1,default:!1},clearOnSelect:{type:Boolean,required:!1,default:!0},canDeselect:{type:Boolean,required:!1,default:!0},canClear:{type:Boolean,required:!1,default:!1},max:{type:Number,required:!1,default:-1},showOptions:{type:Boolean,required:!1,default:!0},addTagOn:{type:Array,required:!1,default:()=>["enter"]},required:{type:Boolean,required:!1,default:!1},openDirection:{type:String,required:!1,default:"bottom"},nativeSupport:{type:Boolean,required:!1,default:!1},invalid:{type:Boolean,required:!1,default:!1},classes:{type:Object,required:!1,default:()=>({container:"p-0 relative mx-auto w-full flex items-center justify-end box-border cursor-pointer border border-gray-200 rounded-md bg-white text-sm leading-snug outline-none max-h-10",containerDisabled:"cursor-default bg-gray-200 bg-opacity-50 !text-gray-400",containerOpen:"",containerOpenTop:"",containerActive:"ring-1 ring-primary-400 border-primary-400",containerInvalid:"border-red-400 ring-red-400 focus:ring-red-400 focus:border-red-400",containerInvalidActive:"ring-1 border-red-400 ring-red-400",singleLabel:"flex items-center h-full absolute left-0 top-0 pointer-events-none bg-transparent leading-snug pl-3.5",multipleLabel:"flex items-center h-full absolute left-0 top-0 pointer-events-none bg-transparent leading-snug pl-3.5",search:"w-full absolute inset-0 outline-none appearance-none box-border border-0 text-sm font-sans bg-white rounded-md pl-3.5",tags:"flex-grow flex-shrink flex flex-wrap mt-1 pl-2",tag:"bg-primary-500 text-white text-sm font-semibold py-0.5 pl-2 rounded mr-1 mb-1 flex items-center whitespace-nowrap",tagDisabled:"pr-2 !bg-gray-400 text-white",tagRemove:"flex items-center justify-center p-1 mx-0.5 rounded-sm hover:bg-black hover:bg-opacity-10 group",tagRemoveIcon:"bg-multiselect-remove text-white bg-center bg-no-repeat opacity-30 inline-block w-3 h-3 group-hover:opacity-60",tagsSearchWrapper:"inline-block relative mx-1 mb-1 flex-grow flex-shrink h-full",tagsSearch:"absolute inset-0 border-0 focus:outline-none !shadow-none !focus:shadow-none appearance-none p-0 text-sm font-sans box-border w-full",tagsSearchCopy:"invisible whitespace-pre-wrap inline-block h-px",placeholder:"flex items-center h-full absolute left-0 top-0 pointer-events-none bg-transparent leading-snug pl-3.5 text-gray-400 text-sm",caret:"bg-multiselect-caret bg-center bg-no-repeat w-5 h-5 py-px box-content z-5 relative mr-1 opacity-40 flex-shrink-0 flex-grow-0 transition-transform transform",caretOpen:"rotate-180 pointer-events-auto",clear:"pr-3.5 relative z-10 opacity-40 transition duration-300 flex-shrink-0 flex-grow-0 flex hover:opacity-80",clearIcon:"bg-multiselect-remove bg-center bg-no-repeat w-2.5 h-4 py-px box-content inline-block",spinner:"bg-multiselect-spinner bg-center bg-no-repeat w-4 h-4 z-10 mr-3.5 animate-spin flex-shrink-0 flex-grow-0",dropdown:"max-h-60 shadow-lg absolute -left-px -right-px -bottom-1 transform translate-y-full border border-gray-300 mt-1 overflow-y-auto z-50 bg-white flex flex-col rounded-md",dropdownTop:"-translate-y-full -top-2 bottom-auto flex-col-reverse rounded-md",dropdownHidden:"hidden",options:"flex flex-col p-0 m-0 list-none",optionsTop:"flex-col-reverse",group:"p-0 m-0",groupLabel:"flex text-sm box-border items-center justify-start text-left py-1 px-3 font-semibold bg-gray-200 cursor-default leading-normal",groupLabelPointable:"cursor-pointer",groupLabelPointed:"bg-gray-300 text-gray-700",groupLabelSelected:"bg-primary-600 text-white",groupLabelDisabled:"bg-gray-100 text-gray-300 cursor-not-allowed",groupLabelSelectedPointed:"bg-primary-600 text-white opacity-90",groupLabelSelectedDisabled:"text-primary-100 bg-primary-600 bg-opacity-50 cursor-not-allowed",groupOptions:"p-0 m-0",option:"flex items-center justify-start box-border text-left cursor-pointer text-sm leading-snug py-2 px-3",optionPointed:"text-gray-800 bg-gray-100",optionSelected:"text-white bg-primary-500",optionDisabled:"text-gray-300 cursor-not-allowed",optionSelectedPointed:"text-white bg-primary-500 opacity-90",optionSelectedDisabled:"text-primary-100 bg-primary-500 bg-opacity-50 cursor-not-allowed",noOptions:"py-2 px-3 text-gray-600 bg-white",noResults:"py-2 px-3 text-gray-600 bg-white",fakeInput:"bg-transparent absolute left-0 right-0 -bottom-px w-full h-px border-0 p-0 appearance-none outline-none text-transparent",spacer:"h-9 py-px box-content"})},strict:{type:Boolean,required:!1,default:!0},closeOnSelect:{type:Boolean,required:!1,default:!0},autocomplete:{type:String,required:!1},groups:{type:Boolean,required:!1,default:!1},groupLabel:{type:String,required:!1,default:"label"},groupOptions:{type:String,required:!1,default:"options"},groupHideEmpty:{type:Boolean,required:!1,default:!1},groupSelect:{type:Boolean,required:!1,default:!0},inputType:{type:String,required:!1,default:"text"}},emits:["open","close","select","deselect","input","search-change","tag","update:modelValue","change","clear"],setup(e,n){const a=sl(e,n),i=ol(e),o=pl(e,n),v=ul(e,n),f=rl(e,n,{iv:a.iv}),g=fl(e,n,{input:v.input,open:o.open,close:o.close,clearSearch:v.clearSearch}),t=dl(e,n,{ev:a.ev,iv:a.iv,search:v.search,clearSearch:v.clearSearch,update:f.update,pointer:i.pointer,clearPointer:i.clearPointer,blur:g.blur,deactivate:g.deactivate}),c=vl(e,n,{fo:t.fo,fg:t.fg,handleOptionClick:t.handleOptionClick,handleGroupClick:t.handleGroupClick,search:v.search,pointer:i.pointer,setPointer:i.setPointer,clearPointer:i.clearPointer,multiselect:g.multiselect}),p=gl(e,n,{iv:a.iv,update:f.update,search:v.search,setPointer:i.setPointer,selectPointer:c.selectPointer,backwardPointer:c.backwardPointer,forwardPointer:c.forwardPointer,blur:g.blur,fo:t.fo}),b=bl(e,n,{isOpen:o.isOpen,isPointed:c.isPointed,canPointGroups:c.canPointGroups,isSelected:t.isSelected,isDisabled:t.isDisabled,isActive:g.isActive,resolving:t.resolving,fo:t.fo});return G(G(G(G(G(G(G(G(G(G({},a),o),g),i),f),v),t),c),p),b)}},hl=["id","tabindex"],yl=["type","modelValue","value","autocomplete"],Sl=["onMousedown"],kl=["type","modelValue","value","autocomplete"],wl={class:"w-full overflow-y-auto"},Ol=["data-pointed","onMouseenter","onClick"],Ll=["data-pointed","onMouseenter","onClick"],Pl=["data-pointed","onMouseenter","onClick"],Il=["innerHTML"],Bl=["innerHTML"],ql=["value"],Tl=["name","value"],Cl=["name","value"];function Dl(e,n,a,i,o,v){const f=De("BaseContentPlaceholdersBox"),g=De("BaseContentPlaceholders");return a.contentLoading?(I(),el(g,{key:0},{default:ll(()=>[al(f,{rounded:!0,class:"w-full",style:{height:"40px"}})]),_:1})):(I(),B("div",{key:1,id:a.id,ref:"multiselect",tabindex:e.tabindex,class:O(e.classList.container),onFocusin:n[6]||(n[6]=(...t)=>e.activate&&e.activate(...t)),onFocusout:n[7]||(n[7]=(...t)=>e.deactivate&&e.deactivate(...t)),onKeydown:n[8]||(n[8]=(...t)=>e.handleKeydown&&e.handleKeydown(...t)),onFocus:n[9]||(n[9]=(...t)=>e.handleFocus&&e.handleFocus(...t))},[a.mode!=="tags"&&a.searchable&&!a.disabled?(I(),B("input",{key:0,ref:"input",type:a.inputType,modelValue:e.search,value:e.search,class:O(e.classList.search),autocomplete:a.autocomplete,onInput:n[0]||(n[0]=(...t)=>e.handleSearchInput&&e.handleSearchInput(...t)),onPaste:n[1]||(n[1]=ve((...t)=>e.handlePaste&&e.handlePaste(...t),["stop"]))},null,42,yl)):E("",!0),a.mode=="tags"?(I(),B("div",{key:1,class:O(e.classList.tags)},[(I(!0),B(ae,null,se(e.iv,(t,c,p)=>C(e.$slots,"tag",{option:t,handleTagRemove:e.handleTagRemove,disabled:a.disabled},()=>[(I(),B("span",{key:p,class:O(e.classList.tag)},[tl(Q(t[a.label])+" ",1),a.disabled?E("",!0):(I(),B("span",{key:0,class:O(e.classList.tagRemove),onMousedown:ve(b=>e.handleTagRemove(t,b),["stop"])},[P("span",{class:O(e.classList.tagRemoveIcon)},null,2)],42,Sl))],2))])),256)),P("div",{class:O(e.classList.tagsSearchWrapper)},[P("span",{class:O(e.classList.tagsSearchCopy)},Q(e.search),3),a.searchable&&!a.disabled?(I(),B("input",{key:0,ref:"input",type:a.inputType,modelValue:e.search,value:e.search,class:O(e.classList.tagsSearch),autocomplete:a.autocomplete,style:{"box-shadow":"none !important"},onInput:n[2]||(n[2]=(...t)=>e.handleSearchInput&&e.handleSearchInput(...t)),onPaste:n[3]||(n[3]=ve((...t)=>e.handlePaste&&e.handlePaste(...t),["stop"]))},null,42,kl)):E("",!0)],2)],2)):E("",!0),a.mode=="single"&&e.hasSelected&&!e.search&&e.iv?C(e.$slots,"singlelabel",{key:2,value:e.iv},()=>[P("div",{class:O(e.classList.singleLabel)},Q(e.iv[a.label]),3)]):E("",!0),a.mode=="multiple"&&e.hasSelected&&!e.search?C(e.$slots,"multiplelabel",{key:3,values:e.iv},()=>[P("div",{class:O(e.classList.multipleLabel)},Q(e.multipleLabelText),3)]):E("",!0),a.placeholder&&!e.hasSelected&&!e.search?C(e.$slots,"placeholder",{key:4},()=>[P("div",{class:O(e.classList.placeholder)},Q(a.placeholder),3)]):E("",!0),e.busy?C(e.$slots,"spinner",{key:5},()=>[P("span",{class:O(e.classList.spinner)},null,2)]):E("",!0),e.hasSelected&&!a.disabled&&a.canClear&&!e.busy?C(e.$slots,"clear",{key:6,clear:e.clear},()=>[P("span",{class:O(e.classList.clear),onMousedown:n[4]||(n[4]=(...t)=>e.clear&&e.clear(...t))},[P("span",{class:O(e.classList.clearIcon)},null,2)],34)]):E("",!0),a.caret?C(e.$slots,"caret",{key:7},()=>[P("span",{class:O(e.classList.caret),onMousedown:n[5]||(n[5]=ve((...t)=>e.handleCaretClick&&e.handleCaretClick(...t),["prevent","stop"]))},null,34)]):E("",!0),P("div",{class:O(e.classList.dropdown),tabindex:"-1"},[P("div",wl,[C(e.$slots,"beforelist",{options:e.fo}),P("ul",{class:O(e.classList.options)},[a.groups?(I(!0),B(ae,{key:0},se(e.fg,(t,c,p)=>(I(),B("li",{key:p,class:O(e.classList.group)},[P("div",{class:O(e.classList.groupLabel(t)),"data-pointed":e.isPointed(t),onMouseenter:b=>e.setPointer(t),onClick:b=>e.handleGroupClick(t)},[C(e.$slots,"grouplabel",{group:t},()=>[P("span",null,Q(t[a.groupLabel]),1)])],42,Ol),P("ul",{class:O(e.classList.groupOptions)},[(I(!0),B(ae,null,se(t.__VISIBLE__,(b,q,V)=>(I(),B("li",{key:V,class:O(e.classList.option(b,t)),"data-pointed":e.isPointed(b),onMouseenter:D=>e.setPointer(b),onClick:D=>e.handleOptionClick(b)},[C(e.$slots,"option",{option:b,search:e.search},()=>[P("span",null,Q(b[a.label]),1)])],42,Ll))),128))],2)],2))),128)):(I(!0),B(ae,{key:1},se(e.fo,(t,c,p)=>(I(),B("li",{key:p,class:O(e.classList.option(t)),"data-pointed":e.isPointed(t),onMouseenter:b=>e.setPointer(t),onClick:b=>e.handleOptionClick(t)},[C(e.$slots,"option",{option:t,search:e.search},()=>[P("span",null,Q(t[a.label]),1)])],42,Pl))),128))],2),e.noOptions?C(e.$slots,"nooptions",{key:0},()=>[P("div",{class:O(e.classList.noOptions),innerHTML:a.noOptionsText},null,10,Il)]):E("",!0),e.noResults?C(e.$slots,"noresults",{key:1},()=>[P("div",{class:O(e.classList.noResults),innerHTML:a.noResultsText},null,10,Bl)]):E("",!0),C(e.$slots,"afterlist",{options:e.fo})]),C(e.$slots,"action")],2),a.required?(I(),B("input",{key:8,class:O(e.classList.fakeInput),tabindex:"-1",value:e.textValue,required:""},null,10,ql)):E("",!0),a.nativeSupport?(I(),B(ae,{key:9},[a.mode=="single"?(I(),B("input",{key:0,type:"hidden",name:a.name,value:e.plainValue!==void 0?e.plainValue:""},null,8,Tl)):(I(!0),B(ae,{key:1},se(e.plainValue,(t,c)=>(I(),B("input",{key:c,type:"hidden",name:`${a.name}[]`,value:t},null,8,Cl))),128))],64)):E("",!0),P("div",{class:O(e.classList.spacer)},null,2)],42,hl))}var jl=nl(ml,[["render",Dl]]);export{jl as default}; diff --git a/public/build/assets/BaseTable.794f86e1.js b/public/build/assets/BaseTable.794f86e1.js new file mode 100644 index 000000000..a43cdacc1 --- /dev/null +++ b/public/build/assets/BaseTable.794f86e1.js @@ -0,0 +1 @@ +import{h as O,r as T,o as i,c as s,t as c,z as u,x as h,A as m,b as k,F as C,H as P,v as _,j as N,i as F,k as A,D as J,M as K,W as L,y as f,w as Q,l as U,s as X}from"./vendor.e9042f2c.js";import{_ as Z,S as $}from"./main.f55cd568.js";function V(a,t){if(!t||a===null||typeof a!="object")return a;const[e,n]=t.split(/\.(.+)/);return V(a[e],n)}function ee(a,t){return t.reduce((e,n)=>(e[n]=a[n],e),{})}class te{constructor(t,e){this.data=t,this.columns=e}getValue(t){return V(this.data,t)}getColumn(t){return this.columns.find(e=>e.key===t)}getSortableValue(t){const e=this.getColumn(t).dataType;let n=this.getValue(t);if(n==null)return"";if(n instanceof String&&(n=n.toLowerCase()),e.startsWith("date")){const b=e.replace("date:","");return O(n,b).format("YYYYMMDDHHmmss")}return e==="numeric"?n:n.toString()}}class ae{constructor(t){const e=ee(t,["key","label","thClass","tdClass","sortBy","sortable","hidden","dataType"]);for(const n in e)this[n]=t[n];e.dataType||(this.dataType="string"),e.sortable===void 0&&(this.sortable=!0)}getFilterFieldName(){return this.filterOn||this.key}isSortable(){return this.sortable}getSortPredicate(t,e){const n=this.getSortFieldName(),l=e.find(g=>g.key===n).dataType;return l.startsWith("date")||l==="numeric"?(g,d)=>{const p=g.getSortableValue(n),x=d.getSortableValue(n);return t==="desc"?x{const p=g.getSortableValue(n),x=d.getSortableValue(n);return t==="desc"?x.localeCompare(p):p.localeCompare(x)}}getSortFieldName(){return this.sortBy||this.key}}const ne={props:{pagination:{type:Object,default:()=>({})}},computed:{pages(){return this.pagination.totalPages===void 0?[]:this.pageLinks()},hasFirst(){return this.pagination.currentPage>=4||this.pagination.totalPages<10},hasLast(){return this.pagination.currentPage<=this.pagination.totalPages-3||this.pagination.totalPages<10},hasFirstEllipsis(){return this.pagination.currentPage>=4&&this.pagination.totalPages>=10},hasLastEllipsis(){return this.pagination.currentPage<=this.pagination.totalPages-3&&this.pagination.totalPages>=10},shouldShowPagination(){return this.pagination.totalPages===void 0||this.pagination.count===0?!1:this.pagination.totalPages>1}},methods:{isActive(a){return(this.pagination.currentPage||1)===a},pageClicked(a){a==="..."||a===this.pagination.currentPage||a>this.pagination.totalPages||a<1||this.$emit("pageChange",a)},pageLinks(){const a=[];let t=2,e=this.pagination.totalPages-1;this.pagination.totalPages>=10&&(t=Math.max(1,this.pagination.currentPage-2),e=Math.min(this.pagination.currentPage+2,this.pagination.totalPages));for(let n=t;n<=e;n++)a.push(n);return a}}},re={key:0,class:"flex items-center justify-between px-4 py-3 bg-white border-t border-gray-200 sm:px-6"},ie={class:"flex justify-between flex-1 sm:hidden"},se={class:"hidden sm:flex-1 sm:flex sm:items-center sm:justify-between"},le={class:"text-sm text-gray-700"},oe=_(" Showing "+h(" ")+" "),de={key:0,class:"font-medium"},ge=_(" "+h(" ")+" to "+h(" ")+" "),ce={key:1,class:"font-medium"},ue={key:0},he={key:1},fe=_(" "+h(" ")+" of "+h(" ")+" "),ye={key:2,class:"font-medium"},me=_(" "+h(" ")+" results "),pe={class:"relative z-0 inline-flex -space-x-px rounded-md shadow-sm","aria-label":"Pagination"},be=c("span",{class:"sr-only"},"Previous",-1),xe={key:1,class:"relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300"},ve=["onClick"],ke={key:2,class:"relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300"},Ce=c("span",{class:"sr-only"},"Next",-1);function Pe(a,t,e,n,b,l){const g=T("BaseIcon");return l.shouldShowPagination?(i(),s("div",re,[c("div",ie,[c("a",{href:"#",class:u([{"disabled cursor-normal pointer-events-none !bg-gray-100 !text-gray-400":e.pagination.currentPage===1},"relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"]),onClick:t[0]||(t[0]=d=>l.pageClicked(e.pagination.currentPage-1))}," Previous ",2),c("a",{href:"#",class:u([{"disabled cursor-default pointer-events-none !bg-gray-100 !text-gray-400":e.pagination.currentPage===e.pagination.totalPages},"relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"]),onClick:t[1]||(t[1]=d=>l.pageClicked(e.pagination.currentPage+1))}," Next ",2)]),c("div",se,[c("div",null,[c("p",le,[oe,e.pagination.limit&&e.pagination.currentPage?(i(),s("span",de,h(e.pagination.currentPage*e.pagination.limit-(e.pagination.limit-1)),1)):m("",!0),ge,e.pagination.limit&&e.pagination.currentPage?(i(),s("span",ce,[e.pagination.currentPage*e.pagination.limit<=e.pagination.totalCount?(i(),s("span",ue,h(e.pagination.currentPage*e.pagination.limit),1)):(i(),s("span",he,h(e.pagination.totalCount),1))])):m("",!0),fe,e.pagination.totalCount?(i(),s("span",ye,h(e.pagination.totalCount),1)):m("",!0),me])]),c("div",null,[c("nav",pe,[c("a",{href:"#",class:u([{"disabled cursor-normal pointer-events-none !bg-gray-100 !text-gray-400":e.pagination.currentPage===1},"relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-l-md hover:bg-gray-50"]),onClick:t[2]||(t[2]=d=>l.pageClicked(e.pagination.currentPage-1))},[be,k(g,{name:"ChevronLeftIcon"})],2),l.hasFirst?(i(),s("a",{key:0,href:"#","aria-current":"page",class:u([{"z-10 bg-primary-50 border-primary-500 text-primary-600":l.isActive(1),"bg-white border-gray-300 text-gray-500 hover:bg-gray-50":!l.isActive(1)},"relative inline-flex items-center px-4 py-2 text-sm font-medium border"]),onClick:t[3]||(t[3]=d=>l.pageClicked(1))}," 1 ",2)):m("",!0),l.hasFirstEllipsis?(i(),s("span",xe," ... ")):m("",!0),(i(!0),s(C,null,P(l.pages,d=>(i(),s("a",{key:d,href:"#",class:u([{"z-10 bg-primary-50 border-primary-500 text-primary-600":l.isActive(d),"bg-white border-gray-300 text-gray-500 hover:bg-gray-50":!l.isActive(d),disabled:d==="..."},"relative items-center hidden px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 hover:bg-gray-50 md:inline-flex"]),onClick:p=>l.pageClicked(d)},h(d),11,ve))),128)),l.hasLastEllipsis?(i(),s("span",ke," ... ")):m("",!0),l.hasLast?(i(),s("a",{key:3,href:"#","aria-current":"page",class:u([{"z-10 bg-primary-50 border-primary-500 text-primary-600":l.isActive(e.pagination.totalPages),"bg-white border-gray-300 text-gray-500 hover:bg-gray-50":!l.isActive(e.pagination.totalPages)},"relative inline-flex items-center px-4 py-2 text-sm font-medium border"]),onClick:t[4]||(t[4]=d=>l.pageClicked(e.pagination.totalPages))},h(e.pagination.totalPages),3)):m("",!0),c("a",{href:"#",class:u(["relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-r-md hover:bg-gray-50",{"disabled cursor-default pointer-events-none !bg-gray-100 !text-gray-400":e.pagination.currentPage===e.pagination.totalPages}]),onClick:t[5]||(t[5]=d=>l.pageClicked(e.pagination.currentPage+1))},[Ce,k(g,{name:"ChevronRightIcon"})],2)])])])])):m("",!0)}var _e=Z(ne,[["render",Pe]]);const we={class:"flex flex-col"},Se={class:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8 pb-4 lg:pb-0"},Te={class:"inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8"},Ne={class:"relative overflow-hidden bg-white border-b border-gray-200 shadow sm:rounded-lg"},Be=["onClick"],Fe={key:0,class:"asc-direction"},Ae={key:1,class:"desc-direction"},Le={key:0},Ve={key:1},De={key:0,class:"absolute top-0 left-0 z-10 flex items-center justify-center w-full h-full bg-white bg-opacity-60"},Ie={key:1,class:"text-center text-gray-500 pb-2 flex h-[160px] justify-center items-center flex-col"},Me={class:"block mt-1"},Re={props:{columns:{type:Array,required:!0},data:{type:[Array,Function],required:!0},sortBy:{type:String,default:""},sortOrder:{type:String,default:""},tableClass:{type:String,default:"min-w-full divide-y divide-gray-200"},theadClass:{type:String,default:"bg-gray-50"},tbodyClass:{type:String,default:""},noResultsMessage:{type:String,default:"No Results Found"},loading:{type:Boolean,default:!1},loadingType:{type:String,default:"placeholder",validator:function(a){return["placeholder","spinner"].indexOf(a)!==-1}},placeholderCount:{type:Number,default:3}},setup(a,{expose:t}){const e=a;let n=N([]),b=F(!1),l=N(e.columns.map(r=>new ae(r))),g=N({fieldName:"",order:""}),d=F("");const p=A(()=>Array.isArray(e.data)),x=A(()=>{if(!p.value||g.fieldName===""||l.length===0)return n.value;const r=D(g.fieldName);return r?[...n.value].sort(r.getSortPredicate(g.order,l)):n.value});function D(r){return l.find(o=>o.key===r)}function I(r){let o="whitespace-nowrap px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider";return r.defaultThClass&&(o=r.defaultThClass),r.sortable?o=`${o} cursor-pointer`:o=`${o} pointer-events-none`,r.thClass&&(o=`${o} ${r.thClass}`),o}function B(r){let o="px-6 py-4 text-sm text-gray-500 whitespace-nowrap";return r.defaultTdClass&&(o=r.defaultTdClass),r.tdClass&&(o=`${o} ${r.tdClass}`),o}function M(r){let o="w-full";return r.placeholderClass&&(o=`${o} ${r.placeholderClass}`),o}function z(){return d.value=null,e.data}async function E(){const r=d.value&&d.value.currentPage||1;b.value=!0;const o=await e.data({sort:g,page:r});return b.value=!1,d.value=o.pagination,o.data}function R(r){g.fieldName!==r.key?(g.fieldName=r.key,g.order="asc"):g.order=g.order==="asc"?"desc":"asc",p.value||w()}async function w(){const r=p.value?z():await E();n.value=r.map(o=>new te(o,l))}async function j(r){d.value.currentPage=r,await w()}async function H(){await w()}function Y(r,o){return U.exports.get(r,o)}return p.value&&J(()=>e.data,()=>{w()}),K(async()=>{await w()}),t({refresh:H}),(r,o)=>{const W=T("base-content-placeholders-text"),q=T("base-content-placeholders"),G=T("BaseIcon");return i(),s("div",we,[c("div",Se,[c("div",Te,[c("div",Ne,[L(r.$slots,"header"),c("table",{class:u(a.tableClass)},[c("thead",{class:u(a.theadClass)},[c("tr",null,[(i(!0),s(C,null,P(f(l),y=>(i(),s("th",{key:y.key,class:u([I(y),{"text-bold text-black":f(g).fieldName===y.key}]),onClick:v=>R(y)},[_(h(y.label)+" ",1),f(g).fieldName===y.key&&f(g).order==="asc"?(i(),s("span",Fe," \u2191 ")):m("",!0),f(g).fieldName===y.key&&f(g).order==="desc"?(i(),s("span",Ae," \u2193 ")):m("",!0)],10,Be))),128))])],2),a.loadingType==="placeholder"&&(a.loading||f(b))?(i(),s("tbody",Le,[(i(!0),s(C,null,P(a.placeholderCount,y=>(i(),s("tr",{key:y,class:u(y%2==0?"bg-white":"bg-gray-50")},[(i(!0),s(C,null,P(a.columns,v=>(i(),s("td",{key:v.key,class:u(["",B(v)])},[k(q,{class:u(M(v)),rounded:!0},{default:Q(()=>[k(W,{class:"w-full h-6",lines:1})]),_:2},1032,["class"])],2))),128))],2))),128))])):(i(),s("tbody",Ve,[(i(!0),s(C,null,P(f(x),(y,v)=>(i(),s("tr",{key:v,class:u(v%2==0?"bg-white":"bg-gray-50")},[(i(!0),s(C,null,P(a.columns,S=>(i(),s("td",{key:S.key,class:u(["",B(S)])},[L(r.$slots,"cell-"+S.key,{row:y},()=>[_(h(Y(y.data,S.key)),1)])],2))),128))],2))),128))]))],2),a.loadingType==="spinner"&&(a.loading||f(b))?(i(),s("div",De,[k($,{class:"w-10 h-10 text-primary-500"})])):!a.loading&&!f(b)&&f(x)&&f(x).length===0?(i(),s("div",Ie,[k(G,{name:"ExclamationCircleIcon",class:"w-6 h-6 text-gray-400"}),c("span",Me,h(a.noResultsMessage),1)])):m("",!0),f(d)?(i(),X(_e,{key:2,pagination:f(d),onPageChange:j},null,8,["pagination"])):m("",!0)])])])])}}};export{Re as default}; diff --git a/public/build/assets/BaseTable.812948c7.js b/public/build/assets/BaseTable.812948c7.js deleted file mode 100644 index d3c33dbcc..000000000 --- a/public/build/assets/BaseTable.812948c7.js +++ /dev/null @@ -1 +0,0 @@ -import{h as O,r as T,o as i,c as s,t as c,z as u,x as h,A as m,b as k,F as C,H as P,v as _,j as N,i as F,k as A,D as J,M as K,W as L,y,w as Q,l as U,s as X}from"./vendor.e9042f2c.js";import{_ as Z,S as $}from"./main.c4ed6aa9.js";function V(a,t){if(!t||a===null||typeof a!="object")return a;const[e,n]=t.split(/\.(.+)/);return V(a[e],n)}function ee(a,t){return t.reduce((e,n)=>(e[n]=a[n],e),{})}class te{constructor(t,e){this.data=t,this.columns=e}getValue(t){return V(this.data,t)}getColumn(t){return this.columns.find(e=>e.key===t)}getSortableValue(t){const e=this.getColumn(t).dataType;let n=this.getValue(t);if(n==null)return"";if(n instanceof String&&(n=n.toLowerCase()),e.startsWith("date")){const b=e.replace("date:","");return O(n,b).format("YYYYMMDDHHmmss")}return e==="numeric"?n:n.toString()}}class ae{constructor(t){const e=ee(t,["key","label","thClass","tdClass","sortBy","sortable","hidden","dataType"]);for(const n in e)this[n]=t[n];e.dataType||(this.dataType="string"),e.sortable===void 0&&(this.sortable=!0)}getFilterFieldName(){return this.filterOn||this.key}isSortable(){return this.sortable}getSortPredicate(t,e){const n=this.getSortFieldName(),l=e.find(g=>g.key===n).dataType;return l.startsWith("date")||l==="numeric"?(g,d)=>{const p=g.getSortableValue(n),x=d.getSortableValue(n);return t==="desc"?x{const p=g.getSortableValue(n),x=d.getSortableValue(n);return t==="desc"?x.localeCompare(p):p.localeCompare(x)}}getSortFieldName(){return this.sortBy||this.key}}const ne={props:{pagination:{type:Object,default:()=>({})}},computed:{pages(){return this.pagination.totalPages===void 0?[]:this.pageLinks()},hasFirst(){return this.pagination.currentPage>=4||this.pagination.totalPages<10},hasLast(){return this.pagination.currentPage<=this.pagination.totalPages-3||this.pagination.totalPages<10},hasFirstEllipsis(){return this.pagination.currentPage>=4&&this.pagination.totalPages>=10},hasLastEllipsis(){return this.pagination.currentPage<=this.pagination.totalPages-3&&this.pagination.totalPages>=10},shouldShowPagination(){return this.pagination.totalPages===void 0||this.pagination.count===0?!1:this.pagination.totalPages>1}},methods:{isActive(a){return(this.pagination.currentPage||1)===a},pageClicked(a){a==="..."||a===this.pagination.currentPage||a>this.pagination.totalPages||a<1||this.$emit("pageChange",a)},pageLinks(){const a=[];let t=2,e=this.pagination.totalPages-1;this.pagination.totalPages>=10&&(t=Math.max(1,this.pagination.currentPage-2),e=Math.min(this.pagination.currentPage+2,this.pagination.totalPages));for(let n=t;n<=e;n++)a.push(n);return a}}},re={key:0,class:"flex items-center justify-between px-4 py-3 bg-white border-t border-gray-200 sm:px-6"},ie={class:"flex justify-between flex-1 sm:hidden"},se={class:"hidden sm:flex-1 sm:flex sm:items-center sm:justify-between"},le={class:"text-sm text-gray-700"},oe=_(" Showing "+h(" ")+" "),de={key:0,class:"font-medium"},ge=_(" "+h(" ")+" to "+h(" ")+" "),ce={key:1,class:"font-medium"},ue={key:0},he={key:1},ye=_(" "+h(" ")+" of "+h(" ")+" "),fe={key:2,class:"font-medium"},me=_(" "+h(" ")+" results "),pe={class:"relative z-0 inline-flex -space-x-px rounded-md shadow-sm","aria-label":"Pagination"},be=c("span",{class:"sr-only"},"Previous",-1),xe={key:1,class:"relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300"},ve=["onClick"],ke={key:2,class:"relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300"},Ce=c("span",{class:"sr-only"},"Next",-1);function Pe(a,t,e,n,b,l){const g=T("BaseIcon");return l.shouldShowPagination?(i(),s("div",re,[c("div",ie,[c("a",{href:"#",class:u([{"disabled cursor-normal pointer-events-none !bg-gray-100 !text-gray-400":e.pagination.currentPage===1},"relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"]),onClick:t[0]||(t[0]=d=>l.pageClicked(e.pagination.currentPage-1))}," Previous ",2),c("a",{href:"#",class:u([{"disabled cursor-default pointer-events-none !bg-gray-100 !text-gray-400":e.pagination.currentPage===e.pagination.totalPages},"relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"]),onClick:t[1]||(t[1]=d=>l.pageClicked(e.pagination.currentPage+1))}," Next ",2)]),c("div",se,[c("div",null,[c("p",le,[oe,e.pagination.limit&&e.pagination.currentPage?(i(),s("span",de,h(e.pagination.currentPage*e.pagination.limit-(e.pagination.limit-1)),1)):m("",!0),ge,e.pagination.limit&&e.pagination.currentPage?(i(),s("span",ce,[e.pagination.currentPage*e.pagination.limit<=e.pagination.totalCount?(i(),s("span",ue,h(e.pagination.currentPage*e.pagination.limit),1)):(i(),s("span",he,h(e.pagination.totalCount),1))])):m("",!0),ye,e.pagination.totalCount?(i(),s("span",fe,h(e.pagination.totalCount),1)):m("",!0),me])]),c("div",null,[c("nav",pe,[c("a",{href:"#",class:u([{"disabled cursor-normal pointer-events-none !bg-gray-100 !text-gray-400":e.pagination.currentPage===1},"relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-l-md hover:bg-gray-50"]),onClick:t[2]||(t[2]=d=>l.pageClicked(e.pagination.currentPage-1))},[be,k(g,{name:"ChevronLeftIcon"})],2),l.hasFirst?(i(),s("a",{key:0,href:"#","aria-current":"page",class:u([{"z-10 bg-primary-50 border-primary-500 text-primary-600":l.isActive(1),"bg-white border-gray-300 text-gray-500 hover:bg-gray-50":!l.isActive(1)},"relative inline-flex items-center px-4 py-2 text-sm font-medium border"]),onClick:t[3]||(t[3]=d=>l.pageClicked(1))}," 1 ",2)):m("",!0),l.hasFirstEllipsis?(i(),s("span",xe," ... ")):m("",!0),(i(!0),s(C,null,P(l.pages,d=>(i(),s("a",{key:d,href:"#",class:u([{"z-10 bg-primary-50 border-primary-500 text-primary-600":l.isActive(d),"bg-white border-gray-300 text-gray-500 hover:bg-gray-50":!l.isActive(d),disabled:d==="..."},"relative items-center hidden px-4 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 hover:bg-gray-50 md:inline-flex"]),onClick:p=>l.pageClicked(d)},h(d),11,ve))),128)),l.hasLastEllipsis?(i(),s("span",ke," ... ")):m("",!0),l.hasLast?(i(),s("a",{key:3,href:"#","aria-current":"page",class:u([{"z-10 bg-primary-50 border-primary-500 text-primary-600":l.isActive(e.pagination.totalPages),"bg-white border-gray-300 text-gray-500 hover:bg-gray-50":!l.isActive(e.pagination.totalPages)},"relative inline-flex items-center px-4 py-2 text-sm font-medium border"]),onClick:t[4]||(t[4]=d=>l.pageClicked(e.pagination.totalPages))},h(e.pagination.totalPages),3)):m("",!0),c("a",{href:"#",class:u(["relative inline-flex items-center px-2 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-r-md hover:bg-gray-50",{"disabled cursor-default pointer-events-none !bg-gray-100 !text-gray-400":e.pagination.currentPage===e.pagination.totalPages}]),onClick:t[5]||(t[5]=d=>l.pageClicked(e.pagination.currentPage+1))},[Ce,k(g,{name:"ChevronRightIcon"})],2)])])])])):m("",!0)}var _e=Z(ne,[["render",Pe]]);const we={class:"flex flex-col"},Se={class:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8 pb-4 lg:pb-0"},Te={class:"inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8"},Ne={class:"relative overflow-hidden bg-white border-b border-gray-200 shadow sm:rounded-lg"},Be=["onClick"],Fe={key:0,class:"asc-direction"},Ae={key:1,class:"desc-direction"},Le={key:0},Ve={key:1},De={key:0,class:"absolute top-0 left-0 z-10 flex items-center justify-center w-full h-full bg-white bg-opacity-60"},Ie={key:1,class:"text-center text-gray-500 pb-2 flex h-[160px] justify-center items-center flex-col"},Me={class:"block mt-1"},Re={props:{columns:{type:Array,required:!0},data:{type:[Array,Function],required:!0},sortBy:{type:String,default:""},sortOrder:{type:String,default:""},tableClass:{type:String,default:"min-w-full divide-y divide-gray-200"},theadClass:{type:String,default:"bg-gray-50"},tbodyClass:{type:String,default:""},noResultsMessage:{type:String,default:"No Results Found"},loading:{type:Boolean,default:!1},loadingType:{type:String,default:"placeholder",validator:function(a){return["placeholder","spinner"].indexOf(a)!==-1}},placeholderCount:{type:Number,default:3}},setup(a,{expose:t}){const e=a;let n=N([]),b=F(!1),l=N(e.columns.map(r=>new ae(r))),g=N({fieldName:"",order:""}),d=F("");const p=A(()=>Array.isArray(e.data)),x=A(()=>{if(!p.value||g.fieldName===""||l.length===0)return n.value;const r=D(g.fieldName);return r?[...n.value].sort(r.getSortPredicate(g.order,l)):n.value});function D(r){return l.find(o=>o.key===r)}function I(r){let o="whitespace-nowrap px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider";return r.defaultThClass&&(o=r.defaultThClass),r.sortable?o=`${o} cursor-pointer`:o=`${o} pointer-events-none`,r.thClass&&(o=`${o} ${r.thClass}`),o}function B(r){let o="px-6 py-4 text-sm text-gray-500 whitespace-nowrap";return r.defaultTdClass&&(o=r.defaultTdClass),r.tdClass&&(o=`${o} ${r.tdClass}`),o}function M(r){let o="w-full";return r.placeholderClass&&(o=`${o} ${r.placeholderClass}`),o}function z(){return d.value=null,e.data}async function E(){const r=d.value&&d.value.currentPage||1;b.value=!0;const o=await e.data({sort:g,page:r});return b.value=!1,d.value=o.pagination,o.data}function R(r){g.fieldName!==r.key?(g.fieldName=r.key,g.order="asc"):g.order=g.order==="asc"?"desc":"asc",p.value||w()}async function w(){const r=p.value?z():await E();n.value=r.map(o=>new te(o,l))}async function j(r){d.value.currentPage=r,await w()}async function H(){await w()}function Y(r,o){return U.exports.get(r,o)}return p.value&&J(()=>e.data,()=>{w()}),K(async()=>{await w()}),t({refresh:H}),(r,o)=>{const W=T("base-content-placeholders-text"),q=T("base-content-placeholders"),G=T("BaseIcon");return i(),s("div",we,[c("div",Se,[c("div",Te,[c("div",Ne,[L(r.$slots,"header"),c("table",{class:u(a.tableClass)},[c("thead",{class:u(a.theadClass)},[c("tr",null,[(i(!0),s(C,null,P(y(l),f=>(i(),s("th",{key:f.key,class:u([I(f),{"text-bold text-black":y(g).fieldName===f.key}]),onClick:v=>R(f)},[_(h(f.label)+" ",1),y(g).fieldName===f.key&&y(g).order==="asc"?(i(),s("span",Fe," \u2191 ")):m("",!0),y(g).fieldName===f.key&&y(g).order==="desc"?(i(),s("span",Ae," \u2193 ")):m("",!0)],10,Be))),128))])],2),a.loadingType==="placeholder"&&(a.loading||y(b))?(i(),s("tbody",Le,[(i(!0),s(C,null,P(a.placeholderCount,f=>(i(),s("tr",{key:f,class:u(f%2==0?"bg-white":"bg-gray-50")},[(i(!0),s(C,null,P(a.columns,v=>(i(),s("td",{key:v.key,class:u(["",B(v)])},[k(q,{class:u(M(v)),rounded:!0},{default:Q(()=>[k(W,{class:"w-full h-6",lines:1})]),_:2},1032,["class"])],2))),128))],2))),128))])):(i(),s("tbody",Ve,[(i(!0),s(C,null,P(y(x),(f,v)=>(i(),s("tr",{key:v,class:u(v%2==0?"bg-white":"bg-gray-50")},[(i(!0),s(C,null,P(a.columns,S=>(i(),s("td",{key:S.key,class:u(["",B(S)])},[L(r.$slots,"cell-"+S.key,{row:f},()=>[_(h(Y(f.data,S.key)),1)])],2))),128))],2))),128))]))],2),a.loadingType==="spinner"&&(a.loading||y(b))?(i(),s("div",De,[k($,{class:"w-10 h-10 text-primary-500"})])):!a.loading&&!y(b)&&y(x)&&y(x).length===0?(i(),s("div",Ie,[k(G,{name:"ExclamationCircleIcon",class:"w-6 h-6 text-gray-400"}),c("span",Me,h(a.noResultsMessage),1)])):m("",!0),y(d)?(i(),X(_e,{key:2,pagination:y(d),onPageChange:j},null,8,["pagination"])):m("",!0)])])])])}}};export{Re as default}; diff --git a/public/build/assets/CategoryModal.c0ece4af.js b/public/build/assets/CategoryModal.c0ece4af.js deleted file mode 100644 index d91bbb726..000000000 --- a/public/build/assets/CategoryModal.c0ece4af.js +++ /dev/null @@ -1 +0,0 @@ -import{g as k,i as q,k as g,m as y,n as N,p as j,a4 as D,q as G,r as i,o as B,s as b,w as r,t as m,v,x as C,y as e,b as n,z as L,A as T,B as z}from"./vendor.e9042f2c.js";import{s as A,g as E}from"./main.c4ed6aa9.js";const U={class:"flex justify-between w-full"},X=["onSubmit"],F={class:"p-8 sm:p-6"},H={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid border-modal-bg"},P={setup(J){const t=A(),u=E(),{t:p}=k();let c=q(!1);const h=g(()=>({currentCategory:{name:{required:y.withMessage(p("validation.required"),N),minLength:y.withMessage(p("validation.name_min_length",{count:3}),j(3))},description:{maxLength:y.withMessage(p("validation.description_maxlength",{count:255}),D(255))}}})),a=G(h,g(()=>t)),w=g(()=>u.active&&u.componentName==="CategoryModal");async function I(){if(a.value.currentCategory.$touch(),a.value.currentCategory.$invalid)return!0;const s=t.isEdit?t.updateCategory:t.addCategory;c.value=!0,await s(t.currentCategory),c.value=!1,u.refreshData&&u.refreshData(),d()}function d(){u.closeModal(),setTimeout(()=>{t.$reset(),a.value.$reset()},300)}return(s,o)=>{const f=i("BaseIcon"),x=i("BaseInput"),_=i("BaseInputGroup"),V=i("BaseTextarea"),M=i("BaseInputGrid"),$=i("BaseButton"),S=i("BaseModal");return B(),b(S,{show:e(w),onClose:d},{header:r(()=>[m("div",U,[v(C(e(u).title)+" ",1),n(f,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:d})])]),default:r(()=>[m("form",{action:"",onSubmit:z(I,["prevent"])},[m("div",F,[n(M,{layout:"one-column"},{default:r(()=>[n(_,{label:s.$t("expenses.category"),error:e(a).currentCategory.name.$error&&e(a).currentCategory.name.$errors[0].$message,required:""},{default:r(()=>[n(x,{modelValue:e(t).currentCategory.name,"onUpdate:modelValue":o[0]||(o[0]=l=>e(t).currentCategory.name=l),invalid:e(a).currentCategory.name.$error,type:"text",onInput:o[1]||(o[1]=l=>e(a).currentCategory.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),n(_,{label:s.$t("expenses.description"),error:e(a).currentCategory.description.$error&&e(a).currentCategory.description.$errors[0].$message},{default:r(()=>[n(V,{modelValue:e(t).currentCategory.description,"onUpdate:modelValue":o[2]||(o[2]=l=>e(t).currentCategory.description=l),rows:"4",cols:"50",onInput:o[3]||(o[3]=l=>e(a).currentCategory.description.$touch())},null,8,["modelValue"])]),_:1},8,["label","error"])]),_:1})]),m("div",H,[n($,{type:"button",variant:"primary-outline",class:"mr-3 text-sm",onClick:d},{default:r(()=>[v(C(s.$t("general.cancel")),1)]),_:1}),n($,{loading:e(c),disabled:e(c),variant:"primary",type:"submit"},{left:r(l=>[e(c)?T("",!0):(B(),b(f,{key:0,name:"SaveIcon",class:L(l.class)},null,8,["class"]))]),default:r(()=>[v(" "+C(e(t).isEdit?s.$t("general.update"):s.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,X)]),_:1},8,["show"])}}};export{P as _}; diff --git a/public/build/assets/CategoryModal.d7852af2.js b/public/build/assets/CategoryModal.d7852af2.js new file mode 100644 index 000000000..94ba0a238 --- /dev/null +++ b/public/build/assets/CategoryModal.d7852af2.js @@ -0,0 +1 @@ +import{g as k,i as q,k as g,m as y,n as N,p as j,a4 as D,q as G,r as i,o as B,s as b,w as r,t as m,v as f,x as v,y as e,b as n,z as L,A as T,B as z}from"./vendor.e9042f2c.js";import{s as A,g as E}from"./main.f55cd568.js";const U={class:"flex justify-between w-full"},X=["onSubmit"],F={class:"p-8 sm:p-6"},H={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid border-modal-bg"},P={setup(J){const t=A(),u=E(),{t:p}=k();let c=q(!1);const h=g(()=>({currentCategory:{name:{required:y.withMessage(p("validation.required"),N),minLength:y.withMessage(p("validation.name_min_length",{count:3}),j(3))},description:{maxLength:y.withMessage(p("validation.description_maxlength",{count:255}),D(255))}}})),a=G(h,g(()=>t)),w=g(()=>u.active&&u.componentName==="CategoryModal");async function I(){if(a.value.currentCategory.$touch(),a.value.currentCategory.$invalid)return!0;const s=t.isEdit?t.updateCategory:t.addCategory;c.value=!0,await s(t.currentCategory),c.value=!1,u.refreshData&&u.refreshData(),d()}function d(){u.closeModal(),setTimeout(()=>{t.$reset(),a.value.$reset()},300)}return(s,o)=>{const C=i("BaseIcon"),x=i("BaseInput"),_=i("BaseInputGroup"),V=i("BaseTextarea"),M=i("BaseInputGrid"),$=i("BaseButton"),S=i("BaseModal");return B(),b(S,{show:e(w),onClose:d},{header:r(()=>[m("div",U,[f(v(e(u).title)+" ",1),n(C,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:d})])]),default:r(()=>[m("form",{action:"",onSubmit:z(I,["prevent"])},[m("div",F,[n(M,{layout:"one-column"},{default:r(()=>[n(_,{label:s.$t("expenses.category"),error:e(a).currentCategory.name.$error&&e(a).currentCategory.name.$errors[0].$message,required:""},{default:r(()=>[n(x,{modelValue:e(t).currentCategory.name,"onUpdate:modelValue":o[0]||(o[0]=l=>e(t).currentCategory.name=l),invalid:e(a).currentCategory.name.$error,type:"text",onInput:o[1]||(o[1]=l=>e(a).currentCategory.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),n(_,{label:s.$t("expenses.description"),error:e(a).currentCategory.description.$error&&e(a).currentCategory.description.$errors[0].$message},{default:r(()=>[n(V,{modelValue:e(t).currentCategory.description,"onUpdate:modelValue":o[2]||(o[2]=l=>e(t).currentCategory.description=l),rows:"4",cols:"50",onInput:o[3]||(o[3]=l=>e(a).currentCategory.description.$touch())},null,8,["modelValue"])]),_:1},8,["label","error"])]),_:1})]),m("div",H,[n($,{type:"button",variant:"primary-outline",class:"mr-3 text-sm",onClick:d},{default:r(()=>[f(v(s.$t("general.cancel")),1)]),_:1}),n($,{loading:e(c),disabled:e(c),variant:"primary",type:"submit"},{left:r(l=>[e(c)?T("",!0):(B(),b(C,{key:0,name:"SaveIcon",class:L(l.class)},null,8,["class"]))]),default:r(()=>[f(" "+v(e(t).isEdit?s.$t("general.update"):s.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,X)]),_:1},8,["show"])}}};export{P as _}; diff --git a/public/build/assets/CompanyInfoSettings.b53bbfc6.js b/public/build/assets/CompanyInfoSettings.b6bf55cb.js similarity index 99% rename from public/build/assets/CompanyInfoSettings.b53bbfc6.js rename to public/build/assets/CompanyInfoSettings.b6bf55cb.js index d5ed64f28..9547ef4ae 100644 --- a/public/build/assets/CompanyInfoSettings.b53bbfc6.js +++ b/public/build/assets/CompanyInfoSettings.b6bf55cb.js @@ -1 +1 @@ -var te=Object.defineProperty;var A=Object.getOwnPropertySymbols;var oe=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable;var L=(f,s,d)=>s in f?te(f,s,{enumerable:!0,configurable:!0,writable:!0,value:d}):f[s]=d,T=(f,s)=>{for(var d in s||(s={}))oe.call(s,d)&&L(f,d,s[d]);if(A)for(var d of A(s))se.call(s,d)&&L(f,d,s[d]);return f};import{C as ne,g as R,i as h,j as E,k as F,m as I,n as N,aQ as le,q as J,r as i,o as S,s as k,w as r,t as m,x as v,y as e,b as o,v as z,z as O,A as j,B as Q,am as de,p as re,c as H,a0 as ie,F as me}from"./vendor.e9042f2c.js";import{c as K,g as P,m as W}from"./main.c4ed6aa9.js";const ue={class:"flex justify-between w-full"},ce={class:"px-6 pt-6"},pe={class:"font-medium text-lg text-left"},_e={class:"mt-2 text-sm leading-snug text-gray-500",style:{"max-width":"680px"}},fe=["onSubmit"],ye={class:"p-4 sm:p-6 space-y-4"},ge={class:"z-0 flex justify-end p-4 bg-gray-50 border-modal-bg"},ve={setup(f){const s=K(),d=P(),D=W(),B=ne(),{t:M}=R();let u=h(!1);const a=E({id:s.selectedCompany.id,name:null}),b=F(()=>d.active&&d.componentName==="DeleteCompanyModal"),V={formData:{name:{required:I.withMessage(M("validation.required"),N),sameAsName:I.withMessage(M("validation.company_name_not_same"),le(s.selectedCompany.name))}}},p=J(V,{formData:a},{$scope:!1});async function U(){if(p.value.$touch(),p.value.$invalid)return!0;const g=s.companies[0];u.value=!0;try{const y=await s.deleteCompany(a);console.log(y.data.success),y.data.success&&(C(),await s.setSelectedCompany(g),B.push("/admin/dashboard"),await D.setIsAppLoaded(!1),await D.bootstrap()),u.value=!1}catch{u.value=!1}}function _(){a.id=null,a.name="",p.value.$reset()}function C(){d.closeModal(),setTimeout(()=>{_(),p.value.$reset()},300)}return(g,y)=>{const q=i("BaseInput"),l=i("BaseInputGroup"),t=i("BaseButton"),x=i("BaseIcon"),c=i("BaseModal");return S(),k(c,{show:e(b),onClose:C},{default:r(()=>[m("div",ue,[m("div",ce,[m("h6",pe,v(e(d).title),1),m("p",_e,v(g.$t("settings.company_info.delete_company_modal_desc",{company:e(s).selectedCompany.name})),1)])]),m("form",{action:"",onSubmit:Q(U,["prevent"])},[m("div",ye,[o(l,{label:g.$t("settings.company_info.delete_company_modal_label",{company:e(s).selectedCompany.name}),error:e(p).formData.name.$error&&e(p).formData.name.$errors[0].$message,required:""},{default:r(()=>[o(q,{modelValue:e(a).name,"onUpdate:modelValue":y[0]||(y[0]=$=>e(a).name=$),invalid:e(p).formData.name.$error,onInput:y[1]||(y[1]=$=>e(p).formData.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),m("div",ge,[o(t,{class:"mr-3 text-sm",variant:"primary-outline",outline:"",type:"button",onClick:C},{default:r(()=>[z(v(g.$t("general.cancel")),1)]),_:1}),o(t,{loading:e(u),disabled:e(u),variant:"danger",type:"submit"},{left:r($=>[e(u)?j("",!0):(S(),k(x,{key:0,name:"TrashIcon",class:O($.class)},null,8,["class"]))]),default:r(()=>[z(" "+v(g.$t("general.delete")),1)]),_:1},8,["loading","disabled"])])],40,fe)]),_:1},8,["show"])}}},be=["onSubmit"],$e={key:0,class:"py-5"},Be={class:"text-lg leading-6 font-medium text-gray-900"},Ve={class:"mt-2 max-w-xl text-sm text-gray-500"},Ce={class:"mt-5"},Se={setup(f){const s=K(),d=W(),D=P(),{t:B}=R(),M=de("utils");let u=h(!1);const a=E({name:null,logo:null,address:{address_street_1:"",address_street_2:"",website:"",country_id:null,state:"",city:"",phone:"",zip:""}});M.mergeSettings(a,T({},s.selectedCompany));let b=h([]),V=h(null),p=h(null);a.logo&&b.value.push({image:a.logo});const U=F(()=>({name:{required:I.withMessage(B("validation.required"),N),minLength:I.withMessage(B("validation.name_min_length"),re(3))},address:{country_id:{required:I.withMessage(B("validation.required"),N)}}})),_=J(U,F(()=>a));d.fetchCountries();function C(l,t,x,c){p.value=c.name,V.value=t}function g(){V.value=null}async function y(){if(_.value.$touch(),_.value.$invalid)return!0;if(u.value=!0,(await s.updateCompany(a)).data.data){if(V.value){let t=new FormData;t.append("company_logo",JSON.stringify({name:p.value,data:V.value})),await s.updateCompanyLogo(t)}u.value=!1}u.value=!1}function q(l){D.openModal({title:B("settings.company_info.are_you_absolutely_sure"),componentName:"DeleteCompanyModal",size:"sm"})}return(l,t)=>{const x=i("BaseFileUploader"),c=i("BaseInputGroup"),$=i("BaseInputGrid"),w=i("BaseInput"),X=i("BaseMultiselect"),G=i("BaseTextarea"),Y=i("BaseIcon"),Z=i("BaseButton"),ee=i("BaseDivider"),ae=i("BaseSettingCard");return S(),H(me,null,[m("form",{onSubmit:Q(y,["prevent"])},[o(ae,{title:l.$t("settings.company_info.company_info"),description:l.$t("settings.company_info.section_description")},{default:r(()=>[o($,{class:"mt-5"},{default:r(()=>[o(c,{label:l.$tc("settings.company_info.company_logo")},{default:r(()=>[o(x,{modelValue:e(b),"onUpdate:modelValue":t[0]||(t[0]=n=>ie(b)?b.value=n:b=n),base64:"",onChange:C,onRemove:g},null,8,["modelValue"])]),_:1},8,["label"])]),_:1}),o($,{class:"mt-5"},{default:r(()=>[o(c,{label:l.$tc("settings.company_info.company_name"),error:e(_).name.$error&&e(_).name.$errors[0].$message,required:""},{default:r(()=>[o(w,{modelValue:e(a).name,"onUpdate:modelValue":t[1]||(t[1]=n=>e(a).name=n),invalid:e(_).name.$error,onBlur:t[2]||(t[2]=n=>e(_).name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),o(c,{label:l.$tc("settings.company_info.phone")},{default:r(()=>[o(w,{modelValue:e(a).address.phone,"onUpdate:modelValue":t[3]||(t[3]=n=>e(a).address.phone=n)},null,8,["modelValue"])]),_:1},8,["label"]),o(c,{label:l.$tc("settings.company_info.country"),error:e(_).address.country_id.$error&&e(_).address.country_id.$errors[0].$message,required:""},{default:r(()=>[o(X,{modelValue:e(a).address.country_id,"onUpdate:modelValue":t[4]||(t[4]=n=>e(a).address.country_id=n),label:"name",invalid:e(_).address.country_id.$error,options:e(d).countries,"value-prop":"id","can-deselect":!0,"can-clear":!1,searchable:"","track-by":"name"},null,8,["modelValue","invalid","options"])]),_:1},8,["label","error"]),o(c,{label:l.$tc("settings.company_info.state")},{default:r(()=>[o(w,{modelValue:e(a).address.state,"onUpdate:modelValue":t[5]||(t[5]=n=>e(a).address.state=n),name:"state",type:"text"},null,8,["modelValue"])]),_:1},8,["label"]),o(c,{label:l.$tc("settings.company_info.city")},{default:r(()=>[o(w,{modelValue:e(a).address.city,"onUpdate:modelValue":t[6]||(t[6]=n=>e(a).address.city=n),type:"text"},null,8,["modelValue"])]),_:1},8,["label"]),o(c,{label:l.$tc("settings.company_info.zip")},{default:r(()=>[o(w,{modelValue:e(a).address.zip,"onUpdate:modelValue":t[7]||(t[7]=n=>e(a).address.zip=n)},null,8,["modelValue"])]),_:1},8,["label"]),m("div",null,[o(c,{label:l.$tc("settings.company_info.address")},{default:r(()=>[o(G,{modelValue:e(a).address.address_street_1,"onUpdate:modelValue":t[8]||(t[8]=n=>e(a).address.address_street_1=n),rows:"2"},null,8,["modelValue"])]),_:1},8,["label"]),o(G,{modelValue:e(a).address.address_street_2,"onUpdate:modelValue":t[9]||(t[9]=n=>e(a).address.address_street_2=n),rows:"2",row:2,class:"mt-2"},null,8,["modelValue"])])]),_:1}),o(Z,{loading:e(u),disabled:e(u),type:"submit",class:"mt-6"},{left:r(n=>[e(u)?j("",!0):(S(),k(Y,{key:0,class:O(n.class),name:"SaveIcon"},null,8,["class"]))]),default:r(()=>[z(" "+v(l.$tc("settings.company_info.save")),1)]),_:1},8,["loading","disabled"]),e(s).companies.length!==1?(S(),H("div",$e,[o(ee,{class:"my-4"}),m("h3",Be,v(l.$tc("settings.company_info.delete_company")),1),m("div",Ve,[m("p",null,v(l.$tc("settings.company_info.delete_company_description")),1)]),m("div",Ce,[m("button",{type:"button",class:"inline-flex items-center justify-center px-4 py-2 border border-transparent font-medium rounded-md text-red-700 bg-red-100 hover:bg-red-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:text-sm",onClick:q},v(l.$tc("general.delete")),1)])])):j("",!0)]),_:1},8,["title","description"])],40,be),o(ve)],64)}}};export{Se as default}; +var te=Object.defineProperty;var A=Object.getOwnPropertySymbols;var oe=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable;var L=(f,s,d)=>s in f?te(f,s,{enumerable:!0,configurable:!0,writable:!0,value:d}):f[s]=d,T=(f,s)=>{for(var d in s||(s={}))oe.call(s,d)&&L(f,d,s[d]);if(A)for(var d of A(s))se.call(s,d)&&L(f,d,s[d]);return f};import{C as ne,g as R,i as h,j as E,k as F,m as I,n as N,aQ as le,q as J,r as i,o as S,s as k,w as r,t as m,x as v,y as e,b as o,v as z,z as O,A as j,B as Q,am as de,p as re,c as H,a0 as ie,F as me}from"./vendor.e9042f2c.js";import{c as K,g as P,m as W}from"./main.f55cd568.js";const ue={class:"flex justify-between w-full"},ce={class:"px-6 pt-6"},pe={class:"font-medium text-lg text-left"},_e={class:"mt-2 text-sm leading-snug text-gray-500",style:{"max-width":"680px"}},fe=["onSubmit"],ye={class:"p-4 sm:p-6 space-y-4"},ge={class:"z-0 flex justify-end p-4 bg-gray-50 border-modal-bg"},ve={setup(f){const s=K(),d=P(),D=W(),B=ne(),{t:M}=R();let u=h(!1);const a=E({id:s.selectedCompany.id,name:null}),b=F(()=>d.active&&d.componentName==="DeleteCompanyModal"),V={formData:{name:{required:I.withMessage(M("validation.required"),N),sameAsName:I.withMessage(M("validation.company_name_not_same"),le(s.selectedCompany.name))}}},p=J(V,{formData:a},{$scope:!1});async function U(){if(p.value.$touch(),p.value.$invalid)return!0;const g=s.companies[0];u.value=!0;try{const y=await s.deleteCompany(a);console.log(y.data.success),y.data.success&&(C(),await s.setSelectedCompany(g),B.push("/admin/dashboard"),await D.setIsAppLoaded(!1),await D.bootstrap()),u.value=!1}catch{u.value=!1}}function _(){a.id=null,a.name="",p.value.$reset()}function C(){d.closeModal(),setTimeout(()=>{_(),p.value.$reset()},300)}return(g,y)=>{const q=i("BaseInput"),l=i("BaseInputGroup"),t=i("BaseButton"),x=i("BaseIcon"),c=i("BaseModal");return S(),k(c,{show:e(b),onClose:C},{default:r(()=>[m("div",ue,[m("div",ce,[m("h6",pe,v(e(d).title),1),m("p",_e,v(g.$t("settings.company_info.delete_company_modal_desc",{company:e(s).selectedCompany.name})),1)])]),m("form",{action:"",onSubmit:Q(U,["prevent"])},[m("div",ye,[o(l,{label:g.$t("settings.company_info.delete_company_modal_label",{company:e(s).selectedCompany.name}),error:e(p).formData.name.$error&&e(p).formData.name.$errors[0].$message,required:""},{default:r(()=>[o(q,{modelValue:e(a).name,"onUpdate:modelValue":y[0]||(y[0]=$=>e(a).name=$),invalid:e(p).formData.name.$error,onInput:y[1]||(y[1]=$=>e(p).formData.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),m("div",ge,[o(t,{class:"mr-3 text-sm",variant:"primary-outline",outline:"",type:"button",onClick:C},{default:r(()=>[z(v(g.$t("general.cancel")),1)]),_:1}),o(t,{loading:e(u),disabled:e(u),variant:"danger",type:"submit"},{left:r($=>[e(u)?j("",!0):(S(),k(x,{key:0,name:"TrashIcon",class:O($.class)},null,8,["class"]))]),default:r(()=>[z(" "+v(g.$t("general.delete")),1)]),_:1},8,["loading","disabled"])])],40,fe)]),_:1},8,["show"])}}},be=["onSubmit"],$e={key:0,class:"py-5"},Be={class:"text-lg leading-6 font-medium text-gray-900"},Ve={class:"mt-2 max-w-xl text-sm text-gray-500"},Ce={class:"mt-5"},Se={setup(f){const s=K(),d=W(),D=P(),{t:B}=R(),M=de("utils");let u=h(!1);const a=E({name:null,logo:null,address:{address_street_1:"",address_street_2:"",website:"",country_id:null,state:"",city:"",phone:"",zip:""}});M.mergeSettings(a,T({},s.selectedCompany));let b=h([]),V=h(null),p=h(null);a.logo&&b.value.push({image:a.logo});const U=F(()=>({name:{required:I.withMessage(B("validation.required"),N),minLength:I.withMessage(B("validation.name_min_length"),re(3))},address:{country_id:{required:I.withMessage(B("validation.required"),N)}}})),_=J(U,F(()=>a));d.fetchCountries();function C(l,t,x,c){p.value=c.name,V.value=t}function g(){V.value=null}async function y(){if(_.value.$touch(),_.value.$invalid)return!0;if(u.value=!0,(await s.updateCompany(a)).data.data){if(V.value){let t=new FormData;t.append("company_logo",JSON.stringify({name:p.value,data:V.value})),await s.updateCompanyLogo(t)}u.value=!1}u.value=!1}function q(l){D.openModal({title:B("settings.company_info.are_you_absolutely_sure"),componentName:"DeleteCompanyModal",size:"sm"})}return(l,t)=>{const x=i("BaseFileUploader"),c=i("BaseInputGroup"),$=i("BaseInputGrid"),w=i("BaseInput"),X=i("BaseMultiselect"),G=i("BaseTextarea"),Y=i("BaseIcon"),Z=i("BaseButton"),ee=i("BaseDivider"),ae=i("BaseSettingCard");return S(),H(me,null,[m("form",{onSubmit:Q(y,["prevent"])},[o(ae,{title:l.$t("settings.company_info.company_info"),description:l.$t("settings.company_info.section_description")},{default:r(()=>[o($,{class:"mt-5"},{default:r(()=>[o(c,{label:l.$tc("settings.company_info.company_logo")},{default:r(()=>[o(x,{modelValue:e(b),"onUpdate:modelValue":t[0]||(t[0]=n=>ie(b)?b.value=n:b=n),base64:"",onChange:C,onRemove:g},null,8,["modelValue"])]),_:1},8,["label"])]),_:1}),o($,{class:"mt-5"},{default:r(()=>[o(c,{label:l.$tc("settings.company_info.company_name"),error:e(_).name.$error&&e(_).name.$errors[0].$message,required:""},{default:r(()=>[o(w,{modelValue:e(a).name,"onUpdate:modelValue":t[1]||(t[1]=n=>e(a).name=n),invalid:e(_).name.$error,onBlur:t[2]||(t[2]=n=>e(_).name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),o(c,{label:l.$tc("settings.company_info.phone")},{default:r(()=>[o(w,{modelValue:e(a).address.phone,"onUpdate:modelValue":t[3]||(t[3]=n=>e(a).address.phone=n)},null,8,["modelValue"])]),_:1},8,["label"]),o(c,{label:l.$tc("settings.company_info.country"),error:e(_).address.country_id.$error&&e(_).address.country_id.$errors[0].$message,required:""},{default:r(()=>[o(X,{modelValue:e(a).address.country_id,"onUpdate:modelValue":t[4]||(t[4]=n=>e(a).address.country_id=n),label:"name",invalid:e(_).address.country_id.$error,options:e(d).countries,"value-prop":"id","can-deselect":!0,"can-clear":!1,searchable:"","track-by":"name"},null,8,["modelValue","invalid","options"])]),_:1},8,["label","error"]),o(c,{label:l.$tc("settings.company_info.state")},{default:r(()=>[o(w,{modelValue:e(a).address.state,"onUpdate:modelValue":t[5]||(t[5]=n=>e(a).address.state=n),name:"state",type:"text"},null,8,["modelValue"])]),_:1},8,["label"]),o(c,{label:l.$tc("settings.company_info.city")},{default:r(()=>[o(w,{modelValue:e(a).address.city,"onUpdate:modelValue":t[6]||(t[6]=n=>e(a).address.city=n),type:"text"},null,8,["modelValue"])]),_:1},8,["label"]),o(c,{label:l.$tc("settings.company_info.zip")},{default:r(()=>[o(w,{modelValue:e(a).address.zip,"onUpdate:modelValue":t[7]||(t[7]=n=>e(a).address.zip=n)},null,8,["modelValue"])]),_:1},8,["label"]),m("div",null,[o(c,{label:l.$tc("settings.company_info.address")},{default:r(()=>[o(G,{modelValue:e(a).address.address_street_1,"onUpdate:modelValue":t[8]||(t[8]=n=>e(a).address.address_street_1=n),rows:"2"},null,8,["modelValue"])]),_:1},8,["label"]),o(G,{modelValue:e(a).address.address_street_2,"onUpdate:modelValue":t[9]||(t[9]=n=>e(a).address.address_street_2=n),rows:"2",row:2,class:"mt-2"},null,8,["modelValue"])])]),_:1}),o(Z,{loading:e(u),disabled:e(u),type:"submit",class:"mt-6"},{left:r(n=>[e(u)?j("",!0):(S(),k(Y,{key:0,class:O(n.class),name:"SaveIcon"},null,8,["class"]))]),default:r(()=>[z(" "+v(l.$tc("settings.company_info.save")),1)]),_:1},8,["loading","disabled"]),e(s).companies.length!==1?(S(),H("div",$e,[o(ee,{class:"my-4"}),m("h3",Be,v(l.$tc("settings.company_info.delete_company")),1),m("div",Ve,[m("p",null,v(l.$tc("settings.company_info.delete_company_description")),1)]),m("div",Ce,[m("button",{type:"button",class:"inline-flex items-center justify-center px-4 py-2 border border-transparent font-medium rounded-md text-red-700 bg-red-100 hover:bg-red-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:text-sm",onClick:q},v(l.$tc("general.delete")),1)])])):j("",!0)]),_:1},8,["title","description"])],40,be),o(ve)],64)}}};export{Se as default}; diff --git a/public/build/assets/Create.e22d53ee.js b/public/build/assets/Create.71646428.js similarity index 99% rename from public/build/assets/Create.e22d53ee.js rename to public/build/assets/Create.71646428.js index d83259da4..19f132136 100644 --- a/public/build/assets/Create.e22d53ee.js +++ b/public/build/assets/Create.71646428.js @@ -1 +1 @@ -var ee=Object.defineProperty;var q=Object.getOwnPropertySymbols;var te=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable;var D=(C,t,c)=>t in C?ee(C,t,{enumerable:!0,configurable:!0,writable:!0,value:c}):C[t]=c,j=(C,t)=>{for(var c in t||(t={}))te.call(t,c)&&D(C,c,t[c]);if(q)for(var c of q(t))ne.call(t,c)&&D(C,c,t[c]);return C};import{g as oe,C as le,u as re,i as G,k as h,m as b,n as N,p as P,a2 as se,a3 as ae,a4 as B,q as ie,r as m,o as $,s as S,w as a,t as p,b as o,z as T,v as A,x as _,y as e,A as w,c as E,B as ue}from"./vendor.e9042f2c.js";import{k as de,l as me,m as ce}from"./main.c4ed6aa9.js";import{_ as pe}from"./CreateCustomFields.b3e72776.js";const ge=["onSubmit"],be={class:"flex items-center justify-end"},Ce={class:"grid grid-cols-5 gap-4 mb-8"},_e={class:"col-span-5 text-lg font-semibold text-left lg:col-span-1"},fe={class:"grid grid-cols-5 gap-4 mb-8"},$e={class:"col-span-5 text-lg font-semibold text-left lg:col-span-1"},Ve={class:"space-y-6"},ye={class:"flex items-center justify-start mb-6 md:justify-end md:mb-0"},ve={class:"p-1"},he={key:0,class:"grid grid-cols-5 gap-4 mb-8"},Be={class:"col-span-5 text-lg font-semibold text-left lg:col-span-1"},we={class:"space-y-6"},Me={class:"grid grid-cols-5 gap-2 mb-8"},Ie={key:0,class:"col-span-5 text-lg font-semibold text-left lg:col-span-1"},Ue={class:"col-span-5 lg:col-span-4"},Fe={setup(C){const t=de(),c=me(),M=ce(),k="customFields",{t:g}=oe(),H=le(),R=re();let r=G(!1);const V=G(!1),f=h(()=>R.name==="customers.edit");let J=h(()=>t.isFetchingInitialSettings);const z=h(()=>f.value?g("customers.edit_customer"):g("customers.new_customer")),K=h(()=>({currentCustomer:{name:{required:b.withMessage(g("validation.required"),N),minLength:b.withMessage(g("validation.name_min_length",{count:3}),P(3))},prefix:{minLength:b.withMessage(g("validation.name_min_length",{count:3}),P(3))},currency_id:{required:b.withMessage(g("validation.required"),N)},email:{email:b.withMessage(g("validation.email_incorrect"),se)},website:{url:b.withMessage(g("validation.invalid_url"),ae)},billing:{address_street_1:{maxLength:b.withMessage(g("validation.address_maxlength",{count:255}),B(255))},address_street_2:{maxLength:b.withMessage(g("validation.address_maxlength",{count:255}),B(255))}},shipping:{address_street_1:{maxLength:b.withMessage(g("validation.address_maxlength",{count:255}),B(255))},address_street_2:{maxLength:b.withMessage(g("validation.address_maxlength",{count:255}),B(255))}}}})),i=ie(K,t,{$scope:k});t.resetCurrentCustomer(),t.fetchCustomerInitialSettings(f.value);async function O(){if(i.value.$touch(),i.value.$invalid)return!0;V.value=!0;let s=j({},t.currentCustomer),n=null;try{n=await(f.value?t.updateCustomer:t.addCustomer)(s)}catch{V.value=!1;return}H.push(`/admin/customers/${n.data.data.id}/view`)}return(s,n)=>{const y=m("BaseBreadcrumbItem"),Q=m("BaseBreadcrumb-item"),W=m("BaseBreadcrumb"),F=m("BaseIcon"),L=m("BaseButton"),X=m("BasePageHeader"),d=m("BaseInput"),u=m("BaseInputGroup"),I=m("BaseMultiselect"),U=m("BaseInputGrid"),x=m("BaseDivider"),v=m("BaseTextarea"),Y=m("BaseCard"),Z=m("BasePage");return $(),S(Z,null,{default:a(()=>[p("form",{onSubmit:ue(O,["prevent"])},[o(X,{title:e(z)},{actions:a(()=>[p("div",be,[o(L,{type:"submit",loading:V.value,disabled:V.value},{left:a(l=>[o(F,{name:"SaveIcon",class:T(l.class)},null,8,["class"])]),default:a(()=>[A(" "+_(e(f)?s.$t("customers.update_customer"):s.$t("customers.save_customer")),1)]),_:1},8,["loading","disabled"])])]),default:a(()=>[o(W,null,{default:a(()=>[o(y,{title:s.$t("general.home"),to:"dashboard"},null,8,["title"]),o(y,{title:s.$tc("customers.customer",2),to:"/admin/customers"},null,8,["title"]),o(Q,{title:e(z),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),o(Y,{class:"mt-5"},{default:a(()=>[p("div",Ce,[p("h6",_e,_(s.$t("customers.basic_info")),1),o(U,{class:"col-span-5 lg:col-span-4"},{default:a(()=>[o(u,{label:s.$t("customers.display_name"),required:"",error:e(i).currentCustomer.name.$error&&e(i).currentCustomer.name.$errors[0].$message,"content-loading":e(r)},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.name,"onUpdate:modelValue":n[0]||(n[0]=l=>e(t).currentCustomer.name=l),"content-loading":e(r),type:"text",name:"name",class:"",invalid:e(i).currentCustomer.name.$error,onInput:n[1]||(n[1]=l=>e(i).currentCustomer.name.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","error","content-loading"]),o(u,{label:s.$t("customers.primary_contact_name"),"content-loading":e(r)},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.contact_name,"onUpdate:modelValue":n[2]||(n[2]=l=>e(t).currentCustomer.contact_name=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"]),o(u,{error:e(i).currentCustomer.email.$error&&e(i).currentCustomer.email.$errors[0].$message,"content-loading":e(r),label:s.$t("customers.email")},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.email,"onUpdate:modelValue":n[3]||(n[3]=l=>e(t).currentCustomer.email=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",name:"email",invalid:e(i).currentCustomer.email.$error,onInput:n[4]||(n[4]=l=>e(i).currentCustomer.email.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["error","content-loading","label"]),o(u,{label:s.$t("customers.phone"),"content-loading":e(r)},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.phone,"onUpdate:modelValue":n[5]||(n[5]=l=>e(t).currentCustomer.phone=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",name:"phone"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"]),o(u,{label:s.$t("customers.primary_currency"),"content-loading":e(r),error:e(i).currentCustomer.currency_id.$error&&e(i).currentCustomer.currency_id.$errors[0].$message,required:""},{default:a(()=>[o(I,{modelValue:e(t).currentCustomer.currency_id,"onUpdate:modelValue":n[6]||(n[6]=l=>e(t).currentCustomer.currency_id=l),"value-prop":"id",label:"name","track-by":"name","content-loading":e(r),options:e(M).currencies,searchable:"","can-deselect":!1,placeholder:s.$t("customers.select_currency"),invalid:e(i).currentCustomer.currency_id.$error,class:"w-full"},null,8,["modelValue","content-loading","options","placeholder","invalid"])]),_:1},8,["label","content-loading","error"]),o(u,{error:e(i).currentCustomer.website.$error&&e(i).currentCustomer.website.$errors[0].$message,label:s.$t("customers.website"),"content-loading":e(r)},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.website,"onUpdate:modelValue":n[7]||(n[7]=l=>e(t).currentCustomer.website=l),"content-loading":e(r),type:"url",onInput:n[8]||(n[8]=l=>e(i).currentCustomer.website.$touch())},null,8,["modelValue","content-loading"])]),_:1},8,["error","label","content-loading"]),o(u,{label:s.$t("customers.prefix"),error:e(i).currentCustomer.prefix.$error&&e(i).currentCustomer.prefix.$errors[0].$message,"content-loading":e(r)},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.prefix,"onUpdate:modelValue":n[9]||(n[9]=l=>e(t).currentCustomer.prefix=l),"content-loading":e(r),type:"text",name:"name",class:"",invalid:e(i).currentCustomer.prefix.$error,onInput:n[10]||(n[10]=l=>e(i).currentCustomer.prefix.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","error","content-loading"])]),_:1})]),o(x,{class:"mb-5 md:mb-8"}),p("div",fe,[p("h6",$e,_(s.$t("customers.billing_address")),1),e(t).currentCustomer.billing?($(),S(U,{key:0,class:"col-span-5 lg:col-span-4"},{default:a(()=>[o(u,{label:s.$t("customers.name"),"content-loading":e(r)},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.billing.name,"onUpdate:modelValue":n[11]||(n[11]=l=>e(t).currentCustomer.billing.name=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",class:"w-full",name:"address_name"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"]),o(u,{label:s.$t("customers.country"),"content-loading":e(r)},{default:a(()=>[o(I,{modelValue:e(t).currentCustomer.billing.country_id,"onUpdate:modelValue":n[12]||(n[12]=l=>e(t).currentCustomer.billing.country_id=l),"value-prop":"id",label:"name","track-by":"name","resolve-on-load":"",searchable:"","content-loading":e(r),options:e(M).countries,placeholder:s.$t("general.select_country"),class:"w-full"},null,8,["modelValue","content-loading","options","placeholder"])]),_:1},8,["label","content-loading"]),o(u,{label:s.$t("customers.state"),"content-loading":e(r)},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.billing.state,"onUpdate:modelValue":n[13]||(n[13]=l=>e(t).currentCustomer.billing.state=l),"content-loading":e(r),name:"billing.state",type:"text"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"]),o(u,{"content-loading":e(r),label:s.$t("customers.city")},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.billing.city,"onUpdate:modelValue":n[14]||(n[14]=l=>e(t).currentCustomer.billing.city=l),"content-loading":e(r),name:"billing.city",type:"text"},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label"]),o(u,{label:s.$t("customers.address"),error:e(i).currentCustomer.billing.address_street_1.$error&&e(i).currentCustomer.billing.address_street_1.$errors[0].$message||e(i).currentCustomer.billing.address_street_2.$error&&e(i).currentCustomer.billing.address_street_2.$errors[0].$message,"content-loading":e(r)},{default:a(()=>[o(v,{modelValue:e(t).currentCustomer.billing.address_street_1,"onUpdate:modelValue":n[15]||(n[15]=l=>e(t).currentCustomer.billing.address_street_1=l),modelModifiers:{trim:!0},"content-loading":e(r),placeholder:s.$t("general.street_1"),type:"text",name:"billing_street1","container-class":"mt-3",onInput:n[16]||(n[16]=l=>e(i).currentCustomer.billing.address_street_1.$touch())},null,8,["modelValue","content-loading","placeholder"]),o(v,{modelValue:e(t).currentCustomer.billing.address_street_2,"onUpdate:modelValue":n[17]||(n[17]=l=>e(t).currentCustomer.billing.address_street_2=l),modelModifiers:{trim:!0},"content-loading":e(r),placeholder:s.$t("general.street_2"),type:"text",class:"mt-3",name:"billing_street2","container-class":"mt-3",onInput:n[18]||(n[18]=l=>e(i).currentCustomer.billing.address_street_2.$touch())},null,8,["modelValue","content-loading","placeholder"])]),_:1},8,["label","error","content-loading"]),p("div",Ve,[o(u,{"content-loading":e(r),label:s.$t("customers.phone"),class:"text-left"},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.billing.phone,"onUpdate:modelValue":n[19]||(n[19]=l=>e(t).currentCustomer.billing.phone=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",name:"phone"},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label"]),o(u,{label:s.$t("customers.zip_code"),"content-loading":e(r),class:"mt-2 text-left"},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.billing.zip,"onUpdate:modelValue":n[20]||(n[20]=l=>e(t).currentCustomer.billing.zip=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",name:"zip"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"])])]),_:1})):w("",!0)]),o(x,{class:"mb-5 md:mb-8"}),p("div",ye,[p("div",ve,[o(L,{type:"button","content-loading":e(r),size:"sm",variant:"primary-outline",onClick:n[21]||(n[21]=l=>e(t).copyAddress(!0))},{left:a(l=>[o(F,{name:"DocumentDuplicateIcon",class:T(l.class)},null,8,["class"])]),default:a(()=>[A(" "+_(s.$t("customers.copy_billing_address")),1)]),_:1},8,["content-loading"])])]),e(t).currentCustomer.shipping?($(),E("div",he,[p("h6",Be,_(s.$t("customers.shipping_address")),1),o(U,{class:"col-span-5 lg:col-span-4"},{default:a(()=>[o(u,{"content-loading":e(r),label:s.$t("customers.name")},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.shipping.name,"onUpdate:modelValue":n[22]||(n[22]=l=>e(t).currentCustomer.shipping.name=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",name:"address_name"},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label"]),o(u,{label:s.$t("customers.country"),"content-loading":e(r)},{default:a(()=>[o(I,{modelValue:e(t).currentCustomer.shipping.country_id,"onUpdate:modelValue":n[23]||(n[23]=l=>e(t).currentCustomer.shipping.country_id=l),"value-prop":"id",label:"name","track-by":"name","resolve-on-load":"",searchable:"","content-loading":e(r),options:e(M).countries,placeholder:s.$t("general.select_country"),class:"w-full"},null,8,["modelValue","content-loading","options","placeholder"])]),_:1},8,["label","content-loading"]),o(u,{label:s.$t("customers.state"),"content-loading":e(r)},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.shipping.state,"onUpdate:modelValue":n[24]||(n[24]=l=>e(t).currentCustomer.shipping.state=l),"content-loading":e(r),name:"shipping.state",type:"text"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"]),o(u,{"content-loading":e(r),label:s.$t("customers.city")},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.shipping.city,"onUpdate:modelValue":n[25]||(n[25]=l=>e(t).currentCustomer.shipping.city=l),"content-loading":e(r),name:"shipping.city",type:"text"},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label"]),o(u,{label:s.$t("customers.address"),"content-loading":e(r),error:e(i).currentCustomer.shipping.address_street_1.$error&&e(i).currentCustomer.shipping.address_street_1.$errors[0].$message||e(i).currentCustomer.shipping.address_street_2.$error&&e(i).currentCustomer.shipping.address_street_2.$errors[0].$message},{default:a(()=>[o(v,{modelValue:e(t).currentCustomer.shipping.address_street_1,"onUpdate:modelValue":n[26]||(n[26]=l=>e(t).currentCustomer.shipping.address_street_1=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",placeholder:s.$t("general.street_1"),name:"shipping_street1",onInput:n[27]||(n[27]=l=>e(i).currentCustomer.shipping.address_street_1.$touch())},null,8,["modelValue","content-loading","placeholder"]),o(v,{modelValue:e(t).currentCustomer.shipping.address_street_2,"onUpdate:modelValue":n[28]||(n[28]=l=>e(t).currentCustomer.shipping.address_street_2=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",placeholder:s.$t("general.street_2"),name:"shipping_street2",class:"mt-3","container-class":"mt-3",onInput:n[29]||(n[29]=l=>e(i).currentCustomer.shipping.address_street_2.$touch())},null,8,["modelValue","content-loading","placeholder"])]),_:1},8,["label","content-loading","error"]),p("div",we,[o(u,{"content-loading":e(r),label:s.$t("customers.phone"),class:"text-left"},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.shipping.phone,"onUpdate:modelValue":n[30]||(n[30]=l=>e(t).currentCustomer.shipping.phone=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",name:"phone"},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label"]),o(u,{label:s.$t("customers.zip_code"),"content-loading":e(r),class:"mt-2 text-left"},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.shipping.zip,"onUpdate:modelValue":n[31]||(n[31]=l=>e(t).currentCustomer.shipping.zip=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",name:"zip"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"])])]),_:1})])):w("",!0),e(c).customFields.length>0?($(),S(x,{key:1,class:"mb-5 md:mb-8"})):w("",!0),p("div",Me,[e(c).customFields.length>0?($(),E("h6",Ie,_(s.$t("settings.custom_fields.title")),1)):w("",!0),p("div",Ue,[o(pe,{type:"Customer",store:e(t),"store-prop":"currentCustomer","is-edit":e(f),"is-loading":e(J),"custom-field-scope":k},null,8,["store","is-edit","is-loading"])])])]),_:1})],40,ge)]),_:1})}}};export{Fe as default}; +var ee=Object.defineProperty;var q=Object.getOwnPropertySymbols;var te=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable;var D=(C,t,c)=>t in C?ee(C,t,{enumerable:!0,configurable:!0,writable:!0,value:c}):C[t]=c,j=(C,t)=>{for(var c in t||(t={}))te.call(t,c)&&D(C,c,t[c]);if(q)for(var c of q(t))ne.call(t,c)&&D(C,c,t[c]);return C};import{g as oe,C as le,u as re,i as G,k as h,m as b,n as N,p as P,a2 as se,a3 as ae,a4 as B,q as ie,r as m,o as $,s as S,w as a,t as p,b as o,z as T,v as A,x as _,y as e,A as w,c as E,B as ue}from"./vendor.e9042f2c.js";import{k as de,l as me,m as ce}from"./main.f55cd568.js";import{_ as pe}from"./CreateCustomFields.31e45d63.js";const ge=["onSubmit"],be={class:"flex items-center justify-end"},Ce={class:"grid grid-cols-5 gap-4 mb-8"},_e={class:"col-span-5 text-lg font-semibold text-left lg:col-span-1"},fe={class:"grid grid-cols-5 gap-4 mb-8"},$e={class:"col-span-5 text-lg font-semibold text-left lg:col-span-1"},Ve={class:"space-y-6"},ye={class:"flex items-center justify-start mb-6 md:justify-end md:mb-0"},ve={class:"p-1"},he={key:0,class:"grid grid-cols-5 gap-4 mb-8"},Be={class:"col-span-5 text-lg font-semibold text-left lg:col-span-1"},we={class:"space-y-6"},Me={class:"grid grid-cols-5 gap-2 mb-8"},Ie={key:0,class:"col-span-5 text-lg font-semibold text-left lg:col-span-1"},Ue={class:"col-span-5 lg:col-span-4"},Fe={setup(C){const t=de(),c=me(),M=ce(),k="customFields",{t:g}=oe(),H=le(),R=re();let r=G(!1);const V=G(!1),f=h(()=>R.name==="customers.edit");let J=h(()=>t.isFetchingInitialSettings);const z=h(()=>f.value?g("customers.edit_customer"):g("customers.new_customer")),K=h(()=>({currentCustomer:{name:{required:b.withMessage(g("validation.required"),N),minLength:b.withMessage(g("validation.name_min_length",{count:3}),P(3))},prefix:{minLength:b.withMessage(g("validation.name_min_length",{count:3}),P(3))},currency_id:{required:b.withMessage(g("validation.required"),N)},email:{email:b.withMessage(g("validation.email_incorrect"),se)},website:{url:b.withMessage(g("validation.invalid_url"),ae)},billing:{address_street_1:{maxLength:b.withMessage(g("validation.address_maxlength",{count:255}),B(255))},address_street_2:{maxLength:b.withMessage(g("validation.address_maxlength",{count:255}),B(255))}},shipping:{address_street_1:{maxLength:b.withMessage(g("validation.address_maxlength",{count:255}),B(255))},address_street_2:{maxLength:b.withMessage(g("validation.address_maxlength",{count:255}),B(255))}}}})),i=ie(K,t,{$scope:k});t.resetCurrentCustomer(),t.fetchCustomerInitialSettings(f.value);async function O(){if(i.value.$touch(),i.value.$invalid)return!0;V.value=!0;let s=j({},t.currentCustomer),n=null;try{n=await(f.value?t.updateCustomer:t.addCustomer)(s)}catch{V.value=!1;return}H.push(`/admin/customers/${n.data.data.id}/view`)}return(s,n)=>{const y=m("BaseBreadcrumbItem"),Q=m("BaseBreadcrumb-item"),W=m("BaseBreadcrumb"),F=m("BaseIcon"),L=m("BaseButton"),X=m("BasePageHeader"),d=m("BaseInput"),u=m("BaseInputGroup"),I=m("BaseMultiselect"),U=m("BaseInputGrid"),x=m("BaseDivider"),v=m("BaseTextarea"),Y=m("BaseCard"),Z=m("BasePage");return $(),S(Z,null,{default:a(()=>[p("form",{onSubmit:ue(O,["prevent"])},[o(X,{title:e(z)},{actions:a(()=>[p("div",be,[o(L,{type:"submit",loading:V.value,disabled:V.value},{left:a(l=>[o(F,{name:"SaveIcon",class:T(l.class)},null,8,["class"])]),default:a(()=>[A(" "+_(e(f)?s.$t("customers.update_customer"):s.$t("customers.save_customer")),1)]),_:1},8,["loading","disabled"])])]),default:a(()=>[o(W,null,{default:a(()=>[o(y,{title:s.$t("general.home"),to:"dashboard"},null,8,["title"]),o(y,{title:s.$tc("customers.customer",2),to:"/admin/customers"},null,8,["title"]),o(Q,{title:e(z),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),o(Y,{class:"mt-5"},{default:a(()=>[p("div",Ce,[p("h6",_e,_(s.$t("customers.basic_info")),1),o(U,{class:"col-span-5 lg:col-span-4"},{default:a(()=>[o(u,{label:s.$t("customers.display_name"),required:"",error:e(i).currentCustomer.name.$error&&e(i).currentCustomer.name.$errors[0].$message,"content-loading":e(r)},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.name,"onUpdate:modelValue":n[0]||(n[0]=l=>e(t).currentCustomer.name=l),"content-loading":e(r),type:"text",name:"name",class:"",invalid:e(i).currentCustomer.name.$error,onInput:n[1]||(n[1]=l=>e(i).currentCustomer.name.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","error","content-loading"]),o(u,{label:s.$t("customers.primary_contact_name"),"content-loading":e(r)},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.contact_name,"onUpdate:modelValue":n[2]||(n[2]=l=>e(t).currentCustomer.contact_name=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"]),o(u,{error:e(i).currentCustomer.email.$error&&e(i).currentCustomer.email.$errors[0].$message,"content-loading":e(r),label:s.$t("customers.email")},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.email,"onUpdate:modelValue":n[3]||(n[3]=l=>e(t).currentCustomer.email=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",name:"email",invalid:e(i).currentCustomer.email.$error,onInput:n[4]||(n[4]=l=>e(i).currentCustomer.email.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["error","content-loading","label"]),o(u,{label:s.$t("customers.phone"),"content-loading":e(r)},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.phone,"onUpdate:modelValue":n[5]||(n[5]=l=>e(t).currentCustomer.phone=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",name:"phone"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"]),o(u,{label:s.$t("customers.primary_currency"),"content-loading":e(r),error:e(i).currentCustomer.currency_id.$error&&e(i).currentCustomer.currency_id.$errors[0].$message,required:""},{default:a(()=>[o(I,{modelValue:e(t).currentCustomer.currency_id,"onUpdate:modelValue":n[6]||(n[6]=l=>e(t).currentCustomer.currency_id=l),"value-prop":"id",label:"name","track-by":"name","content-loading":e(r),options:e(M).currencies,searchable:"","can-deselect":!1,placeholder:s.$t("customers.select_currency"),invalid:e(i).currentCustomer.currency_id.$error,class:"w-full"},null,8,["modelValue","content-loading","options","placeholder","invalid"])]),_:1},8,["label","content-loading","error"]),o(u,{error:e(i).currentCustomer.website.$error&&e(i).currentCustomer.website.$errors[0].$message,label:s.$t("customers.website"),"content-loading":e(r)},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.website,"onUpdate:modelValue":n[7]||(n[7]=l=>e(t).currentCustomer.website=l),"content-loading":e(r),type:"url",onInput:n[8]||(n[8]=l=>e(i).currentCustomer.website.$touch())},null,8,["modelValue","content-loading"])]),_:1},8,["error","label","content-loading"]),o(u,{label:s.$t("customers.prefix"),error:e(i).currentCustomer.prefix.$error&&e(i).currentCustomer.prefix.$errors[0].$message,"content-loading":e(r)},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.prefix,"onUpdate:modelValue":n[9]||(n[9]=l=>e(t).currentCustomer.prefix=l),"content-loading":e(r),type:"text",name:"name",class:"",invalid:e(i).currentCustomer.prefix.$error,onInput:n[10]||(n[10]=l=>e(i).currentCustomer.prefix.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","error","content-loading"])]),_:1})]),o(x,{class:"mb-5 md:mb-8"}),p("div",fe,[p("h6",$e,_(s.$t("customers.billing_address")),1),e(t).currentCustomer.billing?($(),S(U,{key:0,class:"col-span-5 lg:col-span-4"},{default:a(()=>[o(u,{label:s.$t("customers.name"),"content-loading":e(r)},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.billing.name,"onUpdate:modelValue":n[11]||(n[11]=l=>e(t).currentCustomer.billing.name=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",class:"w-full",name:"address_name"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"]),o(u,{label:s.$t("customers.country"),"content-loading":e(r)},{default:a(()=>[o(I,{modelValue:e(t).currentCustomer.billing.country_id,"onUpdate:modelValue":n[12]||(n[12]=l=>e(t).currentCustomer.billing.country_id=l),"value-prop":"id",label:"name","track-by":"name","resolve-on-load":"",searchable:"","content-loading":e(r),options:e(M).countries,placeholder:s.$t("general.select_country"),class:"w-full"},null,8,["modelValue","content-loading","options","placeholder"])]),_:1},8,["label","content-loading"]),o(u,{label:s.$t("customers.state"),"content-loading":e(r)},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.billing.state,"onUpdate:modelValue":n[13]||(n[13]=l=>e(t).currentCustomer.billing.state=l),"content-loading":e(r),name:"billing.state",type:"text"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"]),o(u,{"content-loading":e(r),label:s.$t("customers.city")},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.billing.city,"onUpdate:modelValue":n[14]||(n[14]=l=>e(t).currentCustomer.billing.city=l),"content-loading":e(r),name:"billing.city",type:"text"},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label"]),o(u,{label:s.$t("customers.address"),error:e(i).currentCustomer.billing.address_street_1.$error&&e(i).currentCustomer.billing.address_street_1.$errors[0].$message||e(i).currentCustomer.billing.address_street_2.$error&&e(i).currentCustomer.billing.address_street_2.$errors[0].$message,"content-loading":e(r)},{default:a(()=>[o(v,{modelValue:e(t).currentCustomer.billing.address_street_1,"onUpdate:modelValue":n[15]||(n[15]=l=>e(t).currentCustomer.billing.address_street_1=l),modelModifiers:{trim:!0},"content-loading":e(r),placeholder:s.$t("general.street_1"),type:"text",name:"billing_street1","container-class":"mt-3",onInput:n[16]||(n[16]=l=>e(i).currentCustomer.billing.address_street_1.$touch())},null,8,["modelValue","content-loading","placeholder"]),o(v,{modelValue:e(t).currentCustomer.billing.address_street_2,"onUpdate:modelValue":n[17]||(n[17]=l=>e(t).currentCustomer.billing.address_street_2=l),modelModifiers:{trim:!0},"content-loading":e(r),placeholder:s.$t("general.street_2"),type:"text",class:"mt-3",name:"billing_street2","container-class":"mt-3",onInput:n[18]||(n[18]=l=>e(i).currentCustomer.billing.address_street_2.$touch())},null,8,["modelValue","content-loading","placeholder"])]),_:1},8,["label","error","content-loading"]),p("div",Ve,[o(u,{"content-loading":e(r),label:s.$t("customers.phone"),class:"text-left"},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.billing.phone,"onUpdate:modelValue":n[19]||(n[19]=l=>e(t).currentCustomer.billing.phone=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",name:"phone"},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label"]),o(u,{label:s.$t("customers.zip_code"),"content-loading":e(r),class:"mt-2 text-left"},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.billing.zip,"onUpdate:modelValue":n[20]||(n[20]=l=>e(t).currentCustomer.billing.zip=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",name:"zip"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"])])]),_:1})):w("",!0)]),o(x,{class:"mb-5 md:mb-8"}),p("div",ye,[p("div",ve,[o(L,{type:"button","content-loading":e(r),size:"sm",variant:"primary-outline",onClick:n[21]||(n[21]=l=>e(t).copyAddress(!0))},{left:a(l=>[o(F,{name:"DocumentDuplicateIcon",class:T(l.class)},null,8,["class"])]),default:a(()=>[A(" "+_(s.$t("customers.copy_billing_address")),1)]),_:1},8,["content-loading"])])]),e(t).currentCustomer.shipping?($(),E("div",he,[p("h6",Be,_(s.$t("customers.shipping_address")),1),o(U,{class:"col-span-5 lg:col-span-4"},{default:a(()=>[o(u,{"content-loading":e(r),label:s.$t("customers.name")},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.shipping.name,"onUpdate:modelValue":n[22]||(n[22]=l=>e(t).currentCustomer.shipping.name=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",name:"address_name"},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label"]),o(u,{label:s.$t("customers.country"),"content-loading":e(r)},{default:a(()=>[o(I,{modelValue:e(t).currentCustomer.shipping.country_id,"onUpdate:modelValue":n[23]||(n[23]=l=>e(t).currentCustomer.shipping.country_id=l),"value-prop":"id",label:"name","track-by":"name","resolve-on-load":"",searchable:"","content-loading":e(r),options:e(M).countries,placeholder:s.$t("general.select_country"),class:"w-full"},null,8,["modelValue","content-loading","options","placeholder"])]),_:1},8,["label","content-loading"]),o(u,{label:s.$t("customers.state"),"content-loading":e(r)},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.shipping.state,"onUpdate:modelValue":n[24]||(n[24]=l=>e(t).currentCustomer.shipping.state=l),"content-loading":e(r),name:"shipping.state",type:"text"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"]),o(u,{"content-loading":e(r),label:s.$t("customers.city")},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.shipping.city,"onUpdate:modelValue":n[25]||(n[25]=l=>e(t).currentCustomer.shipping.city=l),"content-loading":e(r),name:"shipping.city",type:"text"},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label"]),o(u,{label:s.$t("customers.address"),"content-loading":e(r),error:e(i).currentCustomer.shipping.address_street_1.$error&&e(i).currentCustomer.shipping.address_street_1.$errors[0].$message||e(i).currentCustomer.shipping.address_street_2.$error&&e(i).currentCustomer.shipping.address_street_2.$errors[0].$message},{default:a(()=>[o(v,{modelValue:e(t).currentCustomer.shipping.address_street_1,"onUpdate:modelValue":n[26]||(n[26]=l=>e(t).currentCustomer.shipping.address_street_1=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",placeholder:s.$t("general.street_1"),name:"shipping_street1",onInput:n[27]||(n[27]=l=>e(i).currentCustomer.shipping.address_street_1.$touch())},null,8,["modelValue","content-loading","placeholder"]),o(v,{modelValue:e(t).currentCustomer.shipping.address_street_2,"onUpdate:modelValue":n[28]||(n[28]=l=>e(t).currentCustomer.shipping.address_street_2=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",placeholder:s.$t("general.street_2"),name:"shipping_street2",class:"mt-3","container-class":"mt-3",onInput:n[29]||(n[29]=l=>e(i).currentCustomer.shipping.address_street_2.$touch())},null,8,["modelValue","content-loading","placeholder"])]),_:1},8,["label","content-loading","error"]),p("div",we,[o(u,{"content-loading":e(r),label:s.$t("customers.phone"),class:"text-left"},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.shipping.phone,"onUpdate:modelValue":n[30]||(n[30]=l=>e(t).currentCustomer.shipping.phone=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",name:"phone"},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label"]),o(u,{label:s.$t("customers.zip_code"),"content-loading":e(r),class:"mt-2 text-left"},{default:a(()=>[o(d,{modelValue:e(t).currentCustomer.shipping.zip,"onUpdate:modelValue":n[31]||(n[31]=l=>e(t).currentCustomer.shipping.zip=l),modelModifiers:{trim:!0},"content-loading":e(r),type:"text",name:"zip"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"])])]),_:1})])):w("",!0),e(c).customFields.length>0?($(),S(x,{key:1,class:"mb-5 md:mb-8"})):w("",!0),p("div",Me,[e(c).customFields.length>0?($(),E("h6",Ie,_(s.$t("settings.custom_fields.title")),1)):w("",!0),p("div",Ue,[o(pe,{type:"Customer",store:e(t),"store-prop":"currentCustomer","is-edit":e(f),"is-loading":e(J),"custom-field-scope":k},null,8,["store","is-edit","is-loading"])])])]),_:1})],40,ge)]),_:1})}}};export{Fe as default}; diff --git a/public/build/assets/Create.dbd8614d.js b/public/build/assets/Create.a4bc47df.js similarity index 97% rename from public/build/assets/Create.dbd8614d.js rename to public/build/assets/Create.a4bc47df.js index 21b976517..b791b8e5a 100644 --- a/public/build/assets/Create.dbd8614d.js +++ b/public/build/assets/Create.a4bc47df.js @@ -1 +1 @@ -import{u as le,C as ie,g as ue,i as U,k as _,m as p,n as y,b4 as ce,a4 as D,aU as de,O as pe,q as me,r as u,o as E,c as xe,b as r,w as o,t as V,y as e,s as w,z as S,v as $,x as b,A as M,a0 as ge,B as _e,F as ye}from"./vendor.e9042f2c.js";import{k as fe,c as ve,z as Ee,s as $e,l as be,g as he,m as Be}from"./main.c4ed6aa9.js";import{_ as Ce}from"./CreateCustomFields.b3e72776.js";import{_ as Ve}from"./CategoryModal.c0ece4af.js";import{_ as we}from"./ExchangeRateConverter.723e246f.js";const Se=["onSubmit"],Me={class:"hidden md:block"},Ie={class:"block md:hidden"},Re={setup(qe){const P=fe(),I=ve(),n=Ee(),R=$e(),j=be(),N=he(),g=le(),G=ie(),{t:c}=ue(),q=Be();let m=U(!1),i=U(!1);const k="newExpense",z=_(()=>({currentExpense:{expense_category_id:{required:p.withMessage(c("validation.required"),y)},expense_date:{required:p.withMessage(c("validation.required"),y)},amount:{required:p.withMessage(c("validation.required"),y),minValue:p.withMessage(c("validation.price_minvalue"),ce(.1)),maxLength:p.withMessage(c("validation.price_maxlength"),D(20))},notes:{maxLength:p.withMessage(c("validation.description_maxlength"),D(65e3))},currency_id:{required:p.withMessage(c("validation.required"),y)},exchange_rate:{required:de(function(){return p.withMessage(c("validation.required"),y),n.showExchangeRate}),decimal:p.withMessage(c("validation.valid_exchange_rate"),pe)}}})),l=me(z,n,{$scope:k}),h=_({get:()=>n.currentExpense.amount/100,set:t=>{n.currentExpense.amount=Math.round(t*100)}}),d=_(()=>g.name==="expenses.edit"),F=_(()=>d.value?c("expenses.edit_expense"):c("expenses.new_expense")),T=_(()=>d.value?`/expenses/${g.params.id}/download-receipt`:"");n.resetCurrentExpenseData(),j.resetCustomFields(),Q();function A(t,a){n.currentExpense.attachment_receipt=a}function L(){n.currentExpense.attachment_receipt=null}function H(){N.openModal({title:c("settings.expense_category.add_category"),componentName:"CategoryModal",size:"sm"})}function O(t){n.currentExpense.selectedCurrency=q.currencies.find(a=>a.id===t)}async function J(t){return(await R.fetchCategories({search:t})).data.data}async function K(t){return(await P.fetchCustomers({search:t})).data.data}async function Q(){d.value||(n.currentExpense.currency_id=I.selectedCompanyCurrency.id,n.currentExpense.selectedCurrency=I.selectedCompanyCurrency),i.value=!0,await n.fetchPaymentModes({limit:"all"}),d.value?(await n.fetchExpense(g.params.id),n.currentExpense.currency_id=n.currentExpense.selectedCurrency.id):g.query.customer&&(n.currentExpense.customer_id=g.query.customer),i.value=!1}async function W(){if(l.value.$touch(),l.value.$invalid)return;m.value=!0;let t=n.currentExpense;try{d.value?await n.updateExpense({id:g.params.id,data:t}):await n.addExpense(t),m.value=!1,G.push("/admin/expenses")}catch(a){console.error(a),m.value=!1;return}}return(t,a)=>{const B=u("BaseBreadcrumbItem"),X=u("BaseBreadcrumb"),f=u("BaseIcon"),C=u("BaseButton"),Y=u("BasePageHeader"),Z=u("BaseSelectAction"),v=u("BaseMultiselect"),x=u("BaseInputGroup"),ee=u("BaseDatePicker"),ne=u("BaseMoney"),te=u("BaseTextarea"),ae=u("BaseFileUploader"),re=u("BaseInputGrid"),se=u("BaseCard"),oe=u("BasePage");return E(),xe(ye,null,[r(Ve),r(oe,{class:"relative"},{default:o(()=>[V("form",{action:"",onSubmit:_e(W,["prevent"])},[r(Y,{title:e(F),class:"mb-5"},{actions:o(()=>[e(d)&&e(n).currentExpense.attachment_receipt?(E(),w(C,{key:0,href:e(T),tag:"a",variant:"primary-outline",type:"button",class:"mr-2"},{left:o(s=>[r(f,{name:"DownloadIcon",class:S(s.class)},null,8,["class"])]),default:o(()=>[$(" "+b(t.$t("expenses.download_receipt")),1)]),_:1},8,["href"])):M("",!0),V("div",Me,[r(C,{loading:e(m),"content-loading":e(i),disabled:e(m),variant:"primary",type:"submit"},{left:o(s=>[e(m)?M("",!0):(E(),w(f,{key:0,name:"SaveIcon",class:S(s.class)},null,8,["class"]))]),default:o(()=>[$(" "+b(e(d)?t.$t("expenses.update_expense"):t.$t("expenses.save_expense")),1)]),_:1},8,["loading","content-loading","disabled"])])]),default:o(()=>[r(X,null,{default:o(()=>[r(B,{title:t.$t("general.home"),to:"/admin/dashboard"},null,8,["title"]),r(B,{title:t.$tc("expenses.expense",2),to:"/admin/expenses"},null,8,["title"]),r(B,{title:e(F),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),r(se,null,{default:o(()=>[r(re,null,{default:o(()=>[r(x,{label:t.$t("expenses.category"),error:e(l).currentExpense.expense_category_id.$error&&e(l).currentExpense.expense_category_id.$errors[0].$message,"content-loading":e(i),required:""},{default:o(()=>[r(v,{modelValue:e(n).currentExpense.expense_category_id,"onUpdate:modelValue":a[0]||(a[0]=s=>e(n).currentExpense.expense_category_id=s),"content-loading":e(i),"value-prop":"id",label:"name","track-by":"id",options:J,"filter-results":!1,"resolve-on-load":"",delay:500,searchable:"",invalid:e(l).currentExpense.expense_category_id.$error,placeholder:t.$t("expenses.categories.select_a_category"),onInput:a[1]||(a[1]=s=>e(l).currentExpense.expense_category_id.$touch())},{action:o(()=>[r(Z,{onClick:H},{default:o(()=>[r(f,{name:"PlusIcon",class:"h-4 mr-2 -ml-2 text-center text-primary-400"}),$(" "+b(t.$t("settings.expense_category.add_new_category")),1)]),_:1})]),_:1},8,["modelValue","content-loading","invalid","placeholder"])]),_:1},8,["label","error","content-loading"]),r(x,{label:t.$t("expenses.expense_date"),error:e(l).currentExpense.expense_date.$error&&e(l).currentExpense.expense_date.$errors[0].$message,"content-loading":e(i),required:""},{default:o(()=>[r(ee,{modelValue:e(n).currentExpense.expense_date,"onUpdate:modelValue":a[2]||(a[2]=s=>e(n).currentExpense.expense_date=s),"content-loading":e(i),"calendar-button":!0,invalid:e(l).currentExpense.expense_date.$error,onInput:a[3]||(a[3]=s=>e(l).currentExpense.expense_date.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","error","content-loading"]),r(x,{label:t.$t("expenses.amount"),error:e(l).currentExpense.amount.$error&&e(l).currentExpense.amount.$errors[0].$message,"content-loading":e(i),required:""},{default:o(()=>[r(ne,{key:e(n).currentExpense.selectedCurrency,modelValue:e(h),"onUpdate:modelValue":a[4]||(a[4]=s=>ge(h)?h.value=s:null),class:"focus:border focus:border-solid focus:border-primary-500",invalid:e(l).currentExpense.amount.$error,currency:e(n).currentExpense.selectedCurrency,onInput:a[5]||(a[5]=s=>e(l).currentExpense.amount.$touch())},null,8,["modelValue","invalid","currency"])]),_:1},8,["label","error","content-loading"]),r(x,{label:t.$t("expenses.currency"),"content-loading":e(i),error:e(l).currentExpense.currency_id.$error&&e(l).currentExpense.currency_id.$errors[0].$message,required:""},{default:o(()=>[r(v,{modelValue:e(n).currentExpense.currency_id,"onUpdate:modelValue":[a[6]||(a[6]=s=>e(n).currentExpense.currency_id=s),O],"value-prop":"id",label:"name","track-by":"name","content-loading":e(i),options:e(q).currencies,searchable:"","can-deselect":!1,placeholder:t.$t("customers.select_currency"),invalid:e(l).currentExpense.currency_id.$error,class:"w-full"},null,8,["modelValue","content-loading","options","placeholder","invalid"])]),_:1},8,["label","content-loading","error"]),r(we,{store:e(n),"store-prop":"currentExpense",v:e(l).currentExpense,"is-loading":e(i),"is-edit":e(d),"customer-currency":e(n).currentExpense.currency_id},null,8,["store","v","is-loading","is-edit","customer-currency"]),r(x,{"content-loading":e(i),label:t.$t("expenses.customer")},{default:o(()=>[r(v,{modelValue:e(n).currentExpense.customer_id,"onUpdate:modelValue":a[7]||(a[7]=s=>e(n).currentExpense.customer_id=s),"content-loading":e(i),"value-prop":"id",label:"name","track-by":"id",options:K,"filter-results":!1,"resolve-on-load":"",delay:500,searchable:"",placeholder:t.$t("customers.select_a_customer")},null,8,["modelValue","content-loading","placeholder"])]),_:1},8,["content-loading","label"]),r(x,{"content-loading":e(i),label:t.$t("payments.payment_mode")},{default:o(()=>[r(v,{modelValue:e(n).currentExpense.payment_method_id,"onUpdate:modelValue":a[8]||(a[8]=s=>e(n).currentExpense.payment_method_id=s),"content-loading":e(i),label:"name","value-prop":"id","track-by":"name",options:e(n).paymentModes,placeholder:t.$t("payments.select_payment_mode"),searchable:""},null,8,["modelValue","content-loading","options","placeholder"])]),_:1},8,["content-loading","label"]),r(x,{"content-loading":e(i),label:t.$t("expenses.note"),error:e(l).currentExpense.notes.$error&&e(l).currentExpense.notes.$errors[0].$message},{default:o(()=>[r(te,{modelValue:e(n).currentExpense.notes,"onUpdate:modelValue":a[9]||(a[9]=s=>e(n).currentExpense.notes=s),"content-loading":e(i),row:4,rows:"4",onInput:a[10]||(a[10]=s=>e(l).currentExpense.notes.$touch())},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label","error"]),r(x,{label:t.$t("expenses.receipt")},{default:o(()=>[r(ae,{modelValue:e(n).currentExpense.receiptFiles,"onUpdate:modelValue":a[11]||(a[11]=s=>e(n).currentExpense.receiptFiles=s),accept:"image/*,.doc,.docx,.pdf,.csv,.xlsx,.xls",onChange:A,onRemove:L},null,8,["modelValue"])]),_:1},8,["label"]),r(Ce,{"is-edit":e(d),class:"col-span-2","is-loading":e(i),type:"Expense",store:e(n),"store-prop":"currentExpense","custom-field-scope":k},null,8,["is-edit","is-loading","store"]),V("div",Ie,[r(C,{loading:e(m),tabindex:6,variant:"primary",type:"submit",class:"flex justify-center w-full"},{left:o(s=>[e(m)?M("",!0):(E(),w(f,{key:0,name:"SaveIcon",class:S(s.class)},null,8,["class"]))]),default:o(()=>[$(" "+b(e(d)?t.$t("expenses.update_expense"):t.$t("expenses.save_expense")),1)]),_:1},8,["loading"])])]),_:1})]),_:1})],40,Se)]),_:1})],64)}}};export{Re as default}; +import{u as le,C as ie,g as ue,i as U,k as _,m as p,n as y,b4 as ce,a4 as D,aU as de,O as pe,q as me,r as u,o as E,c as xe,b as r,w as o,t as V,y as e,s as w,z as S,v as $,x as b,A as M,a0 as ge,B as _e,F as ye}from"./vendor.e9042f2c.js";import{k as fe,c as ve,z as Ee,s as $e,l as be,g as he,m as Be}from"./main.f55cd568.js";import{_ as Ce}from"./CreateCustomFields.31e45d63.js";import{_ as Ve}from"./CategoryModal.d7852af2.js";import{_ as we}from"./ExchangeRateConverter.2eb3213d.js";const Se=["onSubmit"],Me={class:"hidden md:block"},Ie={class:"block md:hidden"},Re={setup(qe){const P=fe(),I=ve(),n=Ee(),R=$e(),j=be(),N=he(),g=le(),G=ie(),{t:c}=ue(),q=Be();let m=U(!1),i=U(!1);const k="newExpense",z=_(()=>({currentExpense:{expense_category_id:{required:p.withMessage(c("validation.required"),y)},expense_date:{required:p.withMessage(c("validation.required"),y)},amount:{required:p.withMessage(c("validation.required"),y),minValue:p.withMessage(c("validation.price_minvalue"),ce(.1)),maxLength:p.withMessage(c("validation.price_maxlength"),D(20))},notes:{maxLength:p.withMessage(c("validation.description_maxlength"),D(65e3))},currency_id:{required:p.withMessage(c("validation.required"),y)},exchange_rate:{required:de(function(){return p.withMessage(c("validation.required"),y),n.showExchangeRate}),decimal:p.withMessage(c("validation.valid_exchange_rate"),pe)}}})),l=me(z,n,{$scope:k}),h=_({get:()=>n.currentExpense.amount/100,set:t=>{n.currentExpense.amount=Math.round(t*100)}}),d=_(()=>g.name==="expenses.edit"),F=_(()=>d.value?c("expenses.edit_expense"):c("expenses.new_expense")),T=_(()=>d.value?`/expenses/${g.params.id}/download-receipt`:"");n.resetCurrentExpenseData(),j.resetCustomFields(),Q();function A(t,a){n.currentExpense.attachment_receipt=a}function L(){n.currentExpense.attachment_receipt=null}function H(){N.openModal({title:c("settings.expense_category.add_category"),componentName:"CategoryModal",size:"sm"})}function O(t){n.currentExpense.selectedCurrency=q.currencies.find(a=>a.id===t)}async function J(t){return(await R.fetchCategories({search:t})).data.data}async function K(t){return(await P.fetchCustomers({search:t})).data.data}async function Q(){d.value||(n.currentExpense.currency_id=I.selectedCompanyCurrency.id,n.currentExpense.selectedCurrency=I.selectedCompanyCurrency),i.value=!0,await n.fetchPaymentModes({limit:"all"}),d.value?(await n.fetchExpense(g.params.id),n.currentExpense.currency_id=n.currentExpense.selectedCurrency.id):g.query.customer&&(n.currentExpense.customer_id=g.query.customer),i.value=!1}async function W(){if(l.value.$touch(),l.value.$invalid)return;m.value=!0;let t=n.currentExpense;try{d.value?await n.updateExpense({id:g.params.id,data:t}):await n.addExpense(t),m.value=!1,G.push("/admin/expenses")}catch(a){console.error(a),m.value=!1;return}}return(t,a)=>{const B=u("BaseBreadcrumbItem"),X=u("BaseBreadcrumb"),f=u("BaseIcon"),C=u("BaseButton"),Y=u("BasePageHeader"),Z=u("BaseSelectAction"),v=u("BaseMultiselect"),x=u("BaseInputGroup"),ee=u("BaseDatePicker"),ne=u("BaseMoney"),te=u("BaseTextarea"),ae=u("BaseFileUploader"),re=u("BaseInputGrid"),se=u("BaseCard"),oe=u("BasePage");return E(),xe(ye,null,[r(Ve),r(oe,{class:"relative"},{default:o(()=>[V("form",{action:"",onSubmit:_e(W,["prevent"])},[r(Y,{title:e(F),class:"mb-5"},{actions:o(()=>[e(d)&&e(n).currentExpense.attachment_receipt?(E(),w(C,{key:0,href:e(T),tag:"a",variant:"primary-outline",type:"button",class:"mr-2"},{left:o(s=>[r(f,{name:"DownloadIcon",class:S(s.class)},null,8,["class"])]),default:o(()=>[$(" "+b(t.$t("expenses.download_receipt")),1)]),_:1},8,["href"])):M("",!0),V("div",Me,[r(C,{loading:e(m),"content-loading":e(i),disabled:e(m),variant:"primary",type:"submit"},{left:o(s=>[e(m)?M("",!0):(E(),w(f,{key:0,name:"SaveIcon",class:S(s.class)},null,8,["class"]))]),default:o(()=>[$(" "+b(e(d)?t.$t("expenses.update_expense"):t.$t("expenses.save_expense")),1)]),_:1},8,["loading","content-loading","disabled"])])]),default:o(()=>[r(X,null,{default:o(()=>[r(B,{title:t.$t("general.home"),to:"/admin/dashboard"},null,8,["title"]),r(B,{title:t.$tc("expenses.expense",2),to:"/admin/expenses"},null,8,["title"]),r(B,{title:e(F),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),r(se,null,{default:o(()=>[r(re,null,{default:o(()=>[r(x,{label:t.$t("expenses.category"),error:e(l).currentExpense.expense_category_id.$error&&e(l).currentExpense.expense_category_id.$errors[0].$message,"content-loading":e(i),required:""},{default:o(()=>[r(v,{modelValue:e(n).currentExpense.expense_category_id,"onUpdate:modelValue":a[0]||(a[0]=s=>e(n).currentExpense.expense_category_id=s),"content-loading":e(i),"value-prop":"id",label:"name","track-by":"id",options:J,"filter-results":!1,"resolve-on-load":"",delay:500,searchable:"",invalid:e(l).currentExpense.expense_category_id.$error,placeholder:t.$t("expenses.categories.select_a_category"),onInput:a[1]||(a[1]=s=>e(l).currentExpense.expense_category_id.$touch())},{action:o(()=>[r(Z,{onClick:H},{default:o(()=>[r(f,{name:"PlusIcon",class:"h-4 mr-2 -ml-2 text-center text-primary-400"}),$(" "+b(t.$t("settings.expense_category.add_new_category")),1)]),_:1})]),_:1},8,["modelValue","content-loading","invalid","placeholder"])]),_:1},8,["label","error","content-loading"]),r(x,{label:t.$t("expenses.expense_date"),error:e(l).currentExpense.expense_date.$error&&e(l).currentExpense.expense_date.$errors[0].$message,"content-loading":e(i),required:""},{default:o(()=>[r(ee,{modelValue:e(n).currentExpense.expense_date,"onUpdate:modelValue":a[2]||(a[2]=s=>e(n).currentExpense.expense_date=s),"content-loading":e(i),"calendar-button":!0,invalid:e(l).currentExpense.expense_date.$error,onInput:a[3]||(a[3]=s=>e(l).currentExpense.expense_date.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","error","content-loading"]),r(x,{label:t.$t("expenses.amount"),error:e(l).currentExpense.amount.$error&&e(l).currentExpense.amount.$errors[0].$message,"content-loading":e(i),required:""},{default:o(()=>[r(ne,{key:e(n).currentExpense.selectedCurrency,modelValue:e(h),"onUpdate:modelValue":a[4]||(a[4]=s=>ge(h)?h.value=s:null),class:"focus:border focus:border-solid focus:border-primary-500",invalid:e(l).currentExpense.amount.$error,currency:e(n).currentExpense.selectedCurrency,onInput:a[5]||(a[5]=s=>e(l).currentExpense.amount.$touch())},null,8,["modelValue","invalid","currency"])]),_:1},8,["label","error","content-loading"]),r(x,{label:t.$t("expenses.currency"),"content-loading":e(i),error:e(l).currentExpense.currency_id.$error&&e(l).currentExpense.currency_id.$errors[0].$message,required:""},{default:o(()=>[r(v,{modelValue:e(n).currentExpense.currency_id,"onUpdate:modelValue":[a[6]||(a[6]=s=>e(n).currentExpense.currency_id=s),O],"value-prop":"id",label:"name","track-by":"name","content-loading":e(i),options:e(q).currencies,searchable:"","can-deselect":!1,placeholder:t.$t("customers.select_currency"),invalid:e(l).currentExpense.currency_id.$error,class:"w-full"},null,8,["modelValue","content-loading","options","placeholder","invalid"])]),_:1},8,["label","content-loading","error"]),r(we,{store:e(n),"store-prop":"currentExpense",v:e(l).currentExpense,"is-loading":e(i),"is-edit":e(d),"customer-currency":e(n).currentExpense.currency_id},null,8,["store","v","is-loading","is-edit","customer-currency"]),r(x,{"content-loading":e(i),label:t.$t("expenses.customer")},{default:o(()=>[r(v,{modelValue:e(n).currentExpense.customer_id,"onUpdate:modelValue":a[7]||(a[7]=s=>e(n).currentExpense.customer_id=s),"content-loading":e(i),"value-prop":"id",label:"name","track-by":"id",options:K,"filter-results":!1,"resolve-on-load":"",delay:500,searchable:"",placeholder:t.$t("customers.select_a_customer")},null,8,["modelValue","content-loading","placeholder"])]),_:1},8,["content-loading","label"]),r(x,{"content-loading":e(i),label:t.$t("payments.payment_mode")},{default:o(()=>[r(v,{modelValue:e(n).currentExpense.payment_method_id,"onUpdate:modelValue":a[8]||(a[8]=s=>e(n).currentExpense.payment_method_id=s),"content-loading":e(i),label:"name","value-prop":"id","track-by":"name",options:e(n).paymentModes,placeholder:t.$t("payments.select_payment_mode"),searchable:""},null,8,["modelValue","content-loading","options","placeholder"])]),_:1},8,["content-loading","label"]),r(x,{"content-loading":e(i),label:t.$t("expenses.note"),error:e(l).currentExpense.notes.$error&&e(l).currentExpense.notes.$errors[0].$message},{default:o(()=>[r(te,{modelValue:e(n).currentExpense.notes,"onUpdate:modelValue":a[9]||(a[9]=s=>e(n).currentExpense.notes=s),"content-loading":e(i),row:4,rows:"4",onInput:a[10]||(a[10]=s=>e(l).currentExpense.notes.$touch())},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label","error"]),r(x,{label:t.$t("expenses.receipt")},{default:o(()=>[r(ae,{modelValue:e(n).currentExpense.receiptFiles,"onUpdate:modelValue":a[11]||(a[11]=s=>e(n).currentExpense.receiptFiles=s),accept:"image/*,.doc,.docx,.pdf,.csv,.xlsx,.xls",onChange:A,onRemove:L},null,8,["modelValue"])]),_:1},8,["label"]),r(Ce,{"is-edit":e(d),class:"col-span-2","is-loading":e(i),type:"Expense",store:e(n),"store-prop":"currentExpense","custom-field-scope":k},null,8,["is-edit","is-loading","store"]),V("div",Ie,[r(C,{loading:e(m),tabindex:6,variant:"primary",type:"submit",class:"flex justify-center w-full"},{left:o(s=>[e(m)?M("",!0):(E(),w(f,{key:0,name:"SaveIcon",class:S(s.class)},null,8,["class"]))]),default:o(()=>[$(" "+b(e(d)?t.$t("expenses.update_expense"):t.$t("expenses.save_expense")),1)]),_:1},8,["loading"])])]),_:1})]),_:1})],40,Se)]),_:1})],64)}}};export{Re as default}; diff --git a/public/build/assets/Create.f2f272b3.js b/public/build/assets/Create.af358409.js similarity index 96% rename from public/build/assets/Create.f2f272b3.js rename to public/build/assets/Create.af358409.js index a786919e2..b7cb79143 100644 --- a/public/build/assets/Create.f2f272b3.js +++ b/public/build/assets/Create.af358409.js @@ -1 +1 @@ -var ce=Object.defineProperty;var E=Object.getOwnPropertySymbols;var de=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable;var F=(_,s,c)=>s in _?ce(_,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):_[s]=c,G=(_,s)=>{for(var c in s||(s={}))de.call(s,c)&&F(_,c,s[c]);if(E)for(var c of E(s))ye.call(s,c)&&F(_,c,s[c]);return _};import{u as pe,C as _e,am as ve,g as fe,i as M,j as Pe,k as S,m as I,n as w,aZ as ge,aU as be,O as Be,q as $e,ac as he,b3 as Ie,r as m,o as k,c as Ce,b as o,w as l,t as C,y as e,s as R,z,A as L,v as q,x as g,a0 as Se,B as Ve,F as Me}from"./vendor.e9042f2c.js";import{_ as we}from"./ExchangeRateConverter.723e246f.js";import{o as qe,u as ke,k as Ne,l as Ue,c as je,g as Ae,f as De,m as xe}from"./main.c4ed6aa9.js";import{_ as Ee}from"./SelectNotePopup.957765bc.js";import{_ as Fe}from"./CreateCustomFields.b3e72776.js";import{_ as Ge}from"./PaymentModeModal.dee8838b.js";import"./NoteModal.ce9830bd.js";const Re=["onSubmit"],ze={class:"absolute left-3.5"},Le={class:"relative w-full"},He={class:"relative mt-6"},Te={class:"z-20 float-right text-sm font-semibold leading-5 text-primary-400"},Oe={class:"mb-4 text-sm font-medium text-primary-800"},tt={setup(_){const s=pe(),c=_e(),t=qe();ke();const H=Ne();Ue(),je();const T=Ae(),N=De();xe();const U=ve("utils"),{t:p}=fe();let b=M(!1),V=M(!1),v=M([]);const f=M(null),j="newEstimate",O=Pe(["customer","company","customerCustom","payment","paymentCustom"]),$=S({get:()=>t.currentPayment.amount/100,set:a=>{t.currentPayment.amount=Math.round(a*100)}}),u=S(()=>t.isFetchingInitialData),d=S(()=>s.name==="payments.edit"),A=S(()=>d.value?p("payments.edit_payment"):p("payments.new_payment")),Z=S(()=>({currentPayment:{customer_id:{required:I.withMessage(p("validation.required"),w)},payment_date:{required:I.withMessage(p("validation.required"),w)},amount:{required:I.withMessage(p("validation.required"),w),between:I.withMessage(p("validation.payment_greater_than_due_amount"),ge(0,t.currentPayment.maxPayableAmount))},exchange_rate:{required:be(function(){return I.withMessage(p("validation.required"),w),t.showExchangeRate}),decimal:I.withMessage(p("validation.valid_exchange_rate"),Be)}}})),i=$e(Z,t,{$scope:j});he(()=>{t.currentPayment.customer_id&&X(t.currentPayment.customer_id),s.query.customer&&(t.currentPayment.customer_id=s.query.customer)}),t.resetCurrentPayment(),s.query.customer&&(t.currentPayment.customer_id=s.query.customer),t.fetchPaymentInitialData(d.value),s.params.id&&!d.value&&Q();async function J(){T.openModal({title:p("settings.payment_modes.add_payment_mode"),componentName:"PaymentModeModal"})}function K(a){t.currentPayment.notes=""+a.notes}async function Q(){var n;let a=await N.fetchInvoice((n=s==null?void 0:s.params)==null?void 0:n.id);t.currentPayment.customer_id=a.data.data.customer.id,t.currentPayment.invoice_id=a.data.data.id}async function W(a){a&&(f.value=v.value.find(n=>n.id===a),$.value=f.value.due_amount/100,t.currentPayment.maxPayableAmount=f.value.due_amount)}function X(a){if(a){let n={customer_id:a,status:"DUE",limit:"all"};d.value&&(n.status=""),V.value=!0,Promise.all([N.fetchInvoices(n),H.fetchCustomer(a)]).then(async([y,B])=>{y&&(v.value=[...y.data.data]),B&&B.data&&(t.currentPayment.selectedCustomer=B.data.data,t.currentPayment.customer=B.data.data,t.currentPayment.currency=B.data.data.currency),t.currentPayment.invoice_id&&(f.value=v.value.find(P=>P.id===t.currentPayment.invoice_id),t.currentPayment.maxPayableAmount=f.value.due_amount+t.currentPayment.amount,$.value===0&&($.value=f.value.due_amount/100)),d.value&&(v.value=v.value.filter(P=>P.due_amount>0||P.id==t.currentPayment.invoice_id)),V.value=!1}).catch(y=>{V.value=!1,console.error(y,"error")})}}Ie(()=>{t.resetCurrentPayment(),v.value=[]});async function Y(){if(i.value.$touch(),i.value.$invalid)return!1;b.value=!0;let a=G({},t.currentPayment),n=null;try{n=await(d.value?t.updatePayment:t.addPayment)(a),c.push(`/admin/payments/${n.data.data.id}/view`)}catch{b.value=!1}}function ee(a){let n={userId:a};s.params.id&&(n.model_id=s.params.id),t.currentPayment.invoice_id=f.value=null,t.currentPayment.amount=0,v.value=[],t.getNextNumber(n,!0)}return(a,n)=>{const y=m("BaseBreadcrumbItem"),B=m("BaseBreadcrumb"),P=m("BaseIcon"),D=m("BaseButton"),te=m("BasePageHeader"),ae=m("BaseDatePicker"),h=m("BaseInputGroup"),ne=m("BaseInput"),oe=m("BaseCustomerSelectInput"),x=m("BaseMultiselect"),re=m("BaseMoney"),se=m("BaseSelectAction"),le=m("BaseInputGrid"),ue=m("BaseCustomInput"),me=m("BaseCard"),ie=m("BasePage");return k(),Ce(Me,null,[o(Ge),o(ie,{class:"relative payment-create"},{default:l(()=>[C("form",{action:"",onSubmit:Ve(Y,["prevent"])},[o(te,{title:e(A),class:"mb-5"},{actions:l(()=>[o(D,{loading:e(b),disabled:e(b),variant:"primary",type:"submit",class:"hidden sm:flex"},{left:l(r=>[e(b)?L("",!0):(k(),R(P,{key:0,name:"SaveIcon",class:z(r.class)},null,8,["class"]))]),default:l(()=>[q(" "+g(e(d)?a.$t("payments.update_payment"):a.$t("payments.save_payment")),1)]),_:1},8,["loading","disabled"])]),default:l(()=>[o(B,null,{default:l(()=>[o(y,{title:a.$t("general.home"),to:"/admin/dashboard"},null,8,["title"]),o(y,{title:a.$tc("payments.payment",2),to:"/admin/payments"},null,8,["title"]),o(y,{title:e(A),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),o(me,null,{default:l(()=>[o(le,null,{default:l(()=>[o(h,{label:a.$t("payments.date"),"content-loading":e(u),required:"",error:e(i).currentPayment.payment_date.$error&&e(i).currentPayment.payment_date.$errors[0].$message},{default:l(()=>[o(ae,{modelValue:e(t).currentPayment.payment_date,"onUpdate:modelValue":[n[0]||(n[0]=r=>e(t).currentPayment.payment_date=r),n[1]||(n[1]=r=>e(i).currentPayment.payment_date.$touch())],"content-loading":e(u),"calendar-button":!0,"calendar-button-icon":"calendar",invalid:e(i).currentPayment.payment_date.$error},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),o(h,{label:a.$t("payments.payment_number"),"content-loading":e(u),required:""},{default:l(()=>[o(ne,{modelValue:e(t).currentPayment.payment_number,"onUpdate:modelValue":n[2]||(n[2]=r=>e(t).currentPayment.payment_number=r),"content-loading":e(u)},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"]),o(h,{label:a.$t("payments.customer"),error:e(i).currentPayment.customer_id.$error&&e(i).currentPayment.customer_id.$errors[0].$message,"content-loading":e(u),required:""},{default:l(()=>[o(oe,{modelValue:e(t).currentPayment.customer_id,"onUpdate:modelValue":[n[3]||(n[3]=r=>e(t).currentPayment.customer_id=r),n[4]||(n[4]=r=>ee(e(t).currentPayment.customer_id))],"content-loading":e(u),invalid:e(i).currentPayment.customer_id.$error,placeholder:a.$t("customers.select_a_customer"),"fetch-all":e(d),"show-action":""},null,8,["modelValue","content-loading","invalid","placeholder","fetch-all"])]),_:1},8,["label","error","content-loading"]),o(h,{"content-loading":e(u),label:a.$t("payments.invoice"),"help-text":f.value?`Due Amount: ${e(t).currentPayment.maxPayableAmount/100}`:""},{default:l(()=>[o(x,{modelValue:e(t).currentPayment.invoice_id,"onUpdate:modelValue":n[5]||(n[5]=r=>e(t).currentPayment.invoice_id=r),"content-loading":e(u),"value-prop":"id","track-by":"invoice_number",label:"invoice_number",options:e(v),loading:e(V),placeholder:a.$t("invoices.select_invoice"),onSelect:W},{singlelabel:l(({value:r})=>[C("div",ze,g(r.invoice_number)+" ("+g(e(U).formatMoney(r.total,r.customer.currency))+") ",1)]),option:l(({option:r})=>[q(g(r.invoice_number)+" ("+g(e(U).formatMoney(r.total,r.customer.currency))+") ",1)]),_:1},8,["modelValue","content-loading","options","loading","placeholder"])]),_:1},8,["content-loading","label","help-text"]),o(h,{label:a.$t("payments.amount"),"content-loading":e(u),error:e(i).currentPayment.amount.$error&&e(i).currentPayment.amount.$errors[0].$message,required:""},{default:l(()=>[C("div",Le,[o(re,{key:e(t).currentPayment.currency,modelValue:e($),"onUpdate:modelValue":[n[6]||(n[6]=r=>Se($)?$.value=r:null),n[7]||(n[7]=r=>e(i).currentPayment.amount.$touch())],currency:e(t).currentPayment.currency,"content-loading":e(u),invalid:e(i).currentPayment.amount.$error},null,8,["modelValue","currency","content-loading","invalid"])])]),_:1},8,["label","content-loading","error"]),o(h,{"content-loading":e(u),label:a.$t("payments.payment_mode")},{default:l(()=>[o(x,{modelValue:e(t).currentPayment.payment_method_id,"onUpdate:modelValue":n[8]||(n[8]=r=>e(t).currentPayment.payment_method_id=r),"content-loading":e(u),label:"name","value-prop":"id","track-by":"name",options:e(t).paymentModes,placeholder:a.$t("payments.select_payment_mode"),searchable:""},{action:l(()=>[o(se,{onClick:J},{default:l(()=>[o(P,{name:"PlusIcon",class:"h-4 mr-2 -ml-2 text-center text-primary-400"}),q(" "+g(a.$t("settings.payment_modes.add_payment_mode")),1)]),_:1})]),_:1},8,["modelValue","content-loading","options","placeholder"])]),_:1},8,["content-loading","label"]),o(we,{store:e(t),"store-prop":"currentPayment",v:e(i).currentPayment,"is-loading":e(u),"is-edit":e(d),"customer-currency":e(t).currentPayment.currency_id},null,8,["store","v","is-loading","is-edit","customer-currency"])]),_:1}),o(Fe,{type:"Payment","is-edit":e(d),"is-loading":e(u),store:e(t),"store-prop":"currentPayment","custom-field-scope":j,class:"mt-6"},null,8,["is-edit","is-loading","store"]),C("div",He,[C("div",Te,[o(Ee,{type:"Payment",onSelect:K})]),C("label",Oe,g(a.$t("estimates.notes")),1),o(ue,{modelValue:e(t).currentPayment.notes,"onUpdate:modelValue":n[9]||(n[9]=r=>e(t).currentPayment.notes=r),"content-loading":e(u),fields:e(O),class:"mt-1"},null,8,["modelValue","content-loading","fields"])]),o(D,{loading:e(b),"content-loading":e(u),variant:"primary",type:"submit",class:"flex justify-center w-full mt-4 sm:hidden md:hidden"},{left:l(r=>[e(b)?L("",!0):(k(),R(P,{key:0,name:"SaveIcon",class:z(r.class)},null,8,["class"]))]),default:l(()=>[q(" "+g(e(d)?a.$t("payments.update_payment"):a.$t("payments.save_payment")),1)]),_:1},8,["loading","content-loading"])]),_:1})],40,Re)]),_:1})],64)}}};export{tt as default}; +var ce=Object.defineProperty;var E=Object.getOwnPropertySymbols;var de=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable;var F=(_,s,c)=>s in _?ce(_,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):_[s]=c,G=(_,s)=>{for(var c in s||(s={}))de.call(s,c)&&F(_,c,s[c]);if(E)for(var c of E(s))ye.call(s,c)&&F(_,c,s[c]);return _};import{u as pe,C as _e,am as ve,g as fe,i as M,j as Pe,k as S,m as I,n as w,aZ as ge,aU as be,O as Be,q as $e,ac as he,b3 as Ie,r as m,o as k,c as Ce,b as o,w as l,t as C,y as e,s as R,z,A as L,v as q,x as g,a0 as Se,B as Ve,F as Me}from"./vendor.e9042f2c.js";import{_ as we}from"./ExchangeRateConverter.2eb3213d.js";import{o as qe,u as ke,k as Ne,l as Ue,c as je,g as Ae,f as De,m as xe}from"./main.f55cd568.js";import{_ as Ee}from"./SelectNotePopup.8c3a3989.js";import{_ as Fe}from"./CreateCustomFields.31e45d63.js";import{_ as Ge}from"./PaymentModeModal.83905526.js";import"./NoteModal.0435aa4f.js";const Re=["onSubmit"],ze={class:"absolute left-3.5"},Le={class:"relative w-full"},He={class:"relative mt-6"},Te={class:"z-20 float-right text-sm font-semibold leading-5 text-primary-400"},Oe={class:"mb-4 text-sm font-medium text-primary-800"},tt={setup(_){const s=pe(),c=_e(),t=qe();ke();const H=Ne();Ue(),je();const T=Ae(),N=De();xe();const U=ve("utils"),{t:p}=fe();let b=M(!1),V=M(!1),v=M([]);const f=M(null),j="newEstimate",O=Pe(["customer","company","customerCustom","payment","paymentCustom"]),$=S({get:()=>t.currentPayment.amount/100,set:a=>{t.currentPayment.amount=Math.round(a*100)}}),u=S(()=>t.isFetchingInitialData),d=S(()=>s.name==="payments.edit"),A=S(()=>d.value?p("payments.edit_payment"):p("payments.new_payment")),Z=S(()=>({currentPayment:{customer_id:{required:I.withMessage(p("validation.required"),w)},payment_date:{required:I.withMessage(p("validation.required"),w)},amount:{required:I.withMessage(p("validation.required"),w),between:I.withMessage(p("validation.payment_greater_than_due_amount"),ge(0,t.currentPayment.maxPayableAmount))},exchange_rate:{required:be(function(){return I.withMessage(p("validation.required"),w),t.showExchangeRate}),decimal:I.withMessage(p("validation.valid_exchange_rate"),Be)}}})),i=$e(Z,t,{$scope:j});he(()=>{t.currentPayment.customer_id&&X(t.currentPayment.customer_id),s.query.customer&&(t.currentPayment.customer_id=s.query.customer)}),t.resetCurrentPayment(),s.query.customer&&(t.currentPayment.customer_id=s.query.customer),t.fetchPaymentInitialData(d.value),s.params.id&&!d.value&&Q();async function J(){T.openModal({title:p("settings.payment_modes.add_payment_mode"),componentName:"PaymentModeModal"})}function K(a){t.currentPayment.notes=""+a.notes}async function Q(){var n;let a=await N.fetchInvoice((n=s==null?void 0:s.params)==null?void 0:n.id);t.currentPayment.customer_id=a.data.data.customer.id,t.currentPayment.invoice_id=a.data.data.id}async function W(a){a&&(f.value=v.value.find(n=>n.id===a),$.value=f.value.due_amount/100,t.currentPayment.maxPayableAmount=f.value.due_amount)}function X(a){if(a){let n={customer_id:a,status:"DUE",limit:"all"};d.value&&(n.status=""),V.value=!0,Promise.all([N.fetchInvoices(n),H.fetchCustomer(a)]).then(async([y,B])=>{y&&(v.value=[...y.data.data]),B&&B.data&&(t.currentPayment.selectedCustomer=B.data.data,t.currentPayment.customer=B.data.data,t.currentPayment.currency=B.data.data.currency),t.currentPayment.invoice_id&&(f.value=v.value.find(P=>P.id===t.currentPayment.invoice_id),t.currentPayment.maxPayableAmount=f.value.due_amount+t.currentPayment.amount,$.value===0&&($.value=f.value.due_amount/100)),d.value&&(v.value=v.value.filter(P=>P.due_amount>0||P.id==t.currentPayment.invoice_id)),V.value=!1}).catch(y=>{V.value=!1,console.error(y,"error")})}}Ie(()=>{t.resetCurrentPayment(),v.value=[]});async function Y(){if(i.value.$touch(),i.value.$invalid)return!1;b.value=!0;let a=G({},t.currentPayment),n=null;try{n=await(d.value?t.updatePayment:t.addPayment)(a),c.push(`/admin/payments/${n.data.data.id}/view`)}catch{b.value=!1}}function ee(a){let n={userId:a};s.params.id&&(n.model_id=s.params.id),t.currentPayment.invoice_id=f.value=null,t.currentPayment.amount=0,v.value=[],t.getNextNumber(n,!0)}return(a,n)=>{const y=m("BaseBreadcrumbItem"),B=m("BaseBreadcrumb"),P=m("BaseIcon"),D=m("BaseButton"),te=m("BasePageHeader"),ae=m("BaseDatePicker"),h=m("BaseInputGroup"),ne=m("BaseInput"),oe=m("BaseCustomerSelectInput"),x=m("BaseMultiselect"),re=m("BaseMoney"),se=m("BaseSelectAction"),le=m("BaseInputGrid"),ue=m("BaseCustomInput"),me=m("BaseCard"),ie=m("BasePage");return k(),Ce(Me,null,[o(Ge),o(ie,{class:"relative payment-create"},{default:l(()=>[C("form",{action:"",onSubmit:Ve(Y,["prevent"])},[o(te,{title:e(A),class:"mb-5"},{actions:l(()=>[o(D,{loading:e(b),disabled:e(b),variant:"primary",type:"submit",class:"hidden sm:flex"},{left:l(r=>[e(b)?L("",!0):(k(),R(P,{key:0,name:"SaveIcon",class:z(r.class)},null,8,["class"]))]),default:l(()=>[q(" "+g(e(d)?a.$t("payments.update_payment"):a.$t("payments.save_payment")),1)]),_:1},8,["loading","disabled"])]),default:l(()=>[o(B,null,{default:l(()=>[o(y,{title:a.$t("general.home"),to:"/admin/dashboard"},null,8,["title"]),o(y,{title:a.$tc("payments.payment",2),to:"/admin/payments"},null,8,["title"]),o(y,{title:e(A),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),o(me,null,{default:l(()=>[o(le,null,{default:l(()=>[o(h,{label:a.$t("payments.date"),"content-loading":e(u),required:"",error:e(i).currentPayment.payment_date.$error&&e(i).currentPayment.payment_date.$errors[0].$message},{default:l(()=>[o(ae,{modelValue:e(t).currentPayment.payment_date,"onUpdate:modelValue":[n[0]||(n[0]=r=>e(t).currentPayment.payment_date=r),n[1]||(n[1]=r=>e(i).currentPayment.payment_date.$touch())],"content-loading":e(u),"calendar-button":!0,"calendar-button-icon":"calendar",invalid:e(i).currentPayment.payment_date.$error},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),o(h,{label:a.$t("payments.payment_number"),"content-loading":e(u),required:""},{default:l(()=>[o(ne,{modelValue:e(t).currentPayment.payment_number,"onUpdate:modelValue":n[2]||(n[2]=r=>e(t).currentPayment.payment_number=r),"content-loading":e(u)},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"]),o(h,{label:a.$t("payments.customer"),error:e(i).currentPayment.customer_id.$error&&e(i).currentPayment.customer_id.$errors[0].$message,"content-loading":e(u),required:""},{default:l(()=>[o(oe,{modelValue:e(t).currentPayment.customer_id,"onUpdate:modelValue":[n[3]||(n[3]=r=>e(t).currentPayment.customer_id=r),n[4]||(n[4]=r=>ee(e(t).currentPayment.customer_id))],"content-loading":e(u),invalid:e(i).currentPayment.customer_id.$error,placeholder:a.$t("customers.select_a_customer"),"fetch-all":e(d),"show-action":""},null,8,["modelValue","content-loading","invalid","placeholder","fetch-all"])]),_:1},8,["label","error","content-loading"]),o(h,{"content-loading":e(u),label:a.$t("payments.invoice"),"help-text":f.value?`Due Amount: ${e(t).currentPayment.maxPayableAmount/100}`:""},{default:l(()=>[o(x,{modelValue:e(t).currentPayment.invoice_id,"onUpdate:modelValue":n[5]||(n[5]=r=>e(t).currentPayment.invoice_id=r),"content-loading":e(u),"value-prop":"id","track-by":"invoice_number",label:"invoice_number",options:e(v),loading:e(V),placeholder:a.$t("invoices.select_invoice"),onSelect:W},{singlelabel:l(({value:r})=>[C("div",ze,g(r.invoice_number)+" ("+g(e(U).formatMoney(r.total,r.customer.currency))+") ",1)]),option:l(({option:r})=>[q(g(r.invoice_number)+" ("+g(e(U).formatMoney(r.total,r.customer.currency))+") ",1)]),_:1},8,["modelValue","content-loading","options","loading","placeholder"])]),_:1},8,["content-loading","label","help-text"]),o(h,{label:a.$t("payments.amount"),"content-loading":e(u),error:e(i).currentPayment.amount.$error&&e(i).currentPayment.amount.$errors[0].$message,required:""},{default:l(()=>[C("div",Le,[o(re,{key:e(t).currentPayment.currency,modelValue:e($),"onUpdate:modelValue":[n[6]||(n[6]=r=>Se($)?$.value=r:null),n[7]||(n[7]=r=>e(i).currentPayment.amount.$touch())],currency:e(t).currentPayment.currency,"content-loading":e(u),invalid:e(i).currentPayment.amount.$error},null,8,["modelValue","currency","content-loading","invalid"])])]),_:1},8,["label","content-loading","error"]),o(h,{"content-loading":e(u),label:a.$t("payments.payment_mode")},{default:l(()=>[o(x,{modelValue:e(t).currentPayment.payment_method_id,"onUpdate:modelValue":n[8]||(n[8]=r=>e(t).currentPayment.payment_method_id=r),"content-loading":e(u),label:"name","value-prop":"id","track-by":"name",options:e(t).paymentModes,placeholder:a.$t("payments.select_payment_mode"),searchable:""},{action:l(()=>[o(se,{onClick:J},{default:l(()=>[o(P,{name:"PlusIcon",class:"h-4 mr-2 -ml-2 text-center text-primary-400"}),q(" "+g(a.$t("settings.payment_modes.add_payment_mode")),1)]),_:1})]),_:1},8,["modelValue","content-loading","options","placeholder"])]),_:1},8,["content-loading","label"]),o(we,{store:e(t),"store-prop":"currentPayment",v:e(i).currentPayment,"is-loading":e(u),"is-edit":e(d),"customer-currency":e(t).currentPayment.currency_id},null,8,["store","v","is-loading","is-edit","customer-currency"])]),_:1}),o(Fe,{type:"Payment","is-edit":e(d),"is-loading":e(u),store:e(t),"store-prop":"currentPayment","custom-field-scope":j,class:"mt-6"},null,8,["is-edit","is-loading","store"]),C("div",He,[C("div",Te,[o(Ee,{type:"Payment",onSelect:K})]),C("label",Oe,g(a.$t("estimates.notes")),1),o(ue,{modelValue:e(t).currentPayment.notes,"onUpdate:modelValue":n[9]||(n[9]=r=>e(t).currentPayment.notes=r),"content-loading":e(u),fields:e(O),class:"mt-1"},null,8,["modelValue","content-loading","fields"])]),o(D,{loading:e(b),"content-loading":e(u),variant:"primary",type:"submit",class:"flex justify-center w-full mt-4 sm:hidden md:hidden"},{left:l(r=>[e(b)?L("",!0):(k(),R(P,{key:0,name:"SaveIcon",class:z(r.class)},null,8,["class"]))]),default:l(()=>[q(" "+g(e(d)?a.$t("payments.update_payment"):a.$t("payments.save_payment")),1)]),_:1},8,["loading","content-loading"])]),_:1})],40,Re)]),_:1})],64)}}};export{tt as default}; diff --git a/public/build/assets/Create.0352a236.js b/public/build/assets/Create.bccdc9c0.js similarity index 97% rename from public/build/assets/Create.0352a236.js rename to public/build/assets/Create.bccdc9c0.js index b189239c4..818a56db0 100644 --- a/public/build/assets/Create.0352a236.js +++ b/public/build/assets/Create.bccdc9c0.js @@ -1 +1 @@ -var oe=Object.defineProperty,se=Object.defineProperties;var le=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var re=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;var q=(u,e,r)=>e in u?oe(u,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[e]=r,b=(u,e)=>{for(var r in e||(e={}))re.call(e,r)&&q(u,r,e[r]);if(P)for(var r of P(e))ie.call(e,r)&&q(u,r,e[r]);return u},h=(u,e)=>se(u,le(e));import{g as me,u as ue,C as ce,i as x,k as p,m as T,n as de,p as pe,a4 as _e,q as ge,r as s,o as w,s as M,w as l,b as o,y as t,t as N,a0 as z,v as A,x as E,A as j,z as Ie,B as fe}from"./vendor.e9042f2c.js";import{p as ve,q as Be,g as be,c as $e,d as ye,e as Ve}from"./main.c4ed6aa9.js";import{_ as Se}from"./ItemUnitModal.acaecec7.js";const he=["onSubmit"],Ce={setup(u){const e=ve(),r=Be(),$=be(),G=$e(),{t:_}=me(),y=ue(),L=ce(),D=ye(),I=x(!1),V=x(G.selectedCompanySettings.tax_per_item);let i=x(!1);e.$reset(),O();const v=p({get:()=>e.currentItem.price/100,set:n=>{e.currentItem.price=Math.round(n*100)}}),S=p({get:()=>{var n,a;return(a=(n=e==null?void 0:e.currentItem)==null?void 0:n.taxes)==null?void 0:a.map(d=>{if(d)return h(b({},d),{tax_type_id:d.id,tax_name:d.name+" ("+d.percent+"%)"})})},set:n=>{e.currentItem.taxes=n}}),B=p(()=>y.name==="items.edit"),C=p(()=>B.value?_("items.edit_item"):_("items.new_item")),R=p(()=>r.taxTypes.map(n=>h(b({},n),{tax_type_id:n.id,tax_name:n.name+" ("+n.percent+"%)"}))),Y=p(()=>V.value==="YES"),H=p(()=>({currentItem:{name:{required:T.withMessage(_("validation.required"),de),minLength:T.withMessage(_("validation.name_min_length",{count:3}),pe(3))},description:{maxLength:T.withMessage(_("validation.description_maxlength"),_e(65e3))}}})),c=ge(H,e);async function F(){$.openModal({title:_("settings.customization.items.add_item_unit"),componentName:"ItemUnitModal",size:"sm"})}async function O(){if(i.value=!0,await e.fetchItemUnits({limit:"all"}),D.hasAbilities(Ve.VIEW_TAX_TYPE)&&await r.fetchTaxTypes({limit:"all"}),B.value){let n=y.params.id;await e.fetchItem(n),e.currentItem.tax_per_item===1?V.value="YES":V.value="NO"}i.value=!1}async function W(){if(c.value.currentItem.$touch(),c.value.currentItem.$invalid)return!1;I.value=!0;try{let a=b({id:y.params.id},e.currentItem);e.currentItem&&e.currentItem.taxes&&(a.taxes=e.currentItem.taxes.map(g=>({tax_type_id:g.tax_type_id,amount:v.value*g.percent,percent:g.percent,name:g.name,collective_tax:0}))),await(B.value?e.updateItem:e.addItem)(a),I.value=!1,L.push("/admin/items"),n()}catch{I.value=!1;return}function n(){$.closeModal(),setTimeout(()=>{e.resetCurrentItem(),$.$reset(),c.value.$reset()},300)}}return(n,a)=>{const d=s("BaseBreadcrumbItem"),g=s("BaseBreadcrumb"),X=s("BasePageHeader"),J=s("BaseInput"),f=s("BaseInputGroup"),K=s("BaseMoney"),U=s("BaseIcon"),Q=s("BaseSelectAction"),k=s("BaseMultiselect"),Z=s("BaseTextarea"),ee=s("BaseButton"),te=s("BaseInputGrid"),ne=s("BaseCard"),ae=s("BasePage");return w(),M(ae,null,{default:l(()=>[o(X,{title:t(C)},{default:l(()=>[o(g,null,{default:l(()=>[o(d,{title:n.$t("general.home"),to:"dashboard"},null,8,["title"]),o(d,{title:n.$tc("items.item",2),to:"/admin/items"},null,8,["title"]),o(d,{title:t(C),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),o(Se),N("form",{class:"grid lg:grid-cols-2 mt-6",action:"submit",onSubmit:fe(W,["prevent"])},[o(ne,{class:"w-full"},{default:l(()=>[o(te,{layout:"one-column"},{default:l(()=>[o(f,{label:n.$t("items.name"),"content-loading":t(i),required:"",error:t(c).currentItem.name.$error&&t(c).currentItem.name.$errors[0].$message},{default:l(()=>[o(J,{modelValue:t(e).currentItem.name,"onUpdate:modelValue":a[0]||(a[0]=m=>t(e).currentItem.name=m),"content-loading":t(i),invalid:t(c).currentItem.name.$error,onInput:a[1]||(a[1]=m=>t(c).currentItem.name.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),o(f,{label:n.$t("items.price"),"content-loading":t(i)},{default:l(()=>[o(K,{modelValue:t(v),"onUpdate:modelValue":a[2]||(a[2]=m=>z(v)?v.value=m:null),"content-loading":t(i)},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"]),o(f,{"content-loading":t(i),label:n.$t("items.unit")},{default:l(()=>[o(k,{modelValue:t(e).currentItem.unit_id,"onUpdate:modelValue":a[3]||(a[3]=m=>t(e).currentItem.unit_id=m),"content-loading":t(i),label:"name",options:t(e).itemUnits,"value-prop":"id","can-deselect":!1,"can-clear":!1,placeholder:n.$t("items.select_a_unit"),searchable:"","track-by":"name"},{action:l(()=>[o(Q,{onClick:F},{default:l(()=>[o(U,{name:"PlusIcon",class:"h-4 mr-2 -ml-2 text-center text-primary-400"}),A(" "+E(n.$t("settings.customization.items.add_item_unit")),1)]),_:1})]),_:1},8,["modelValue","content-loading","options","placeholder"])]),_:1},8,["content-loading","label"]),t(Y)?(w(),M(f,{key:0,label:n.$t("items.taxes"),"content-loading":t(i)},{default:l(()=>[o(k,{modelValue:t(S),"onUpdate:modelValue":a[4]||(a[4]=m=>z(S)?S.value=m:null),"content-loading":t(i),options:t(R),mode:"tags",label:"tax_name",class:"w-full","value-prop":"id","can-deselect":!1,"can-clear":!1,searchable:"","track-by":"tax_name",object:""},null,8,["modelValue","content-loading","options"])]),_:1},8,["label","content-loading"])):j("",!0),o(f,{label:n.$t("items.description"),"content-loading":t(i),error:t(c).currentItem.description.$error&&t(c).currentItem.description.$errors[0].$message},{default:l(()=>[o(Z,{modelValue:t(e).currentItem.description,"onUpdate:modelValue":a[5]||(a[5]=m=>t(e).currentItem.description=m),"content-loading":t(i),name:"description",row:2,rows:"2",onInput:a[6]||(a[6]=m=>t(c).currentItem.description.$touch())},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading","error"]),N("div",null,[o(ee,{"content-loading":t(i),type:"submit",loading:I.value},{left:l(m=>[I.value?j("",!0):(w(),M(U,{key:0,name:"SaveIcon",class:Ie(m.class)},null,8,["class"]))]),default:l(()=>[A(" "+E(t(B)?n.$t("items.update_item"):n.$t("items.save_item")),1)]),_:1},8,["content-loading","loading"])])]),_:1})]),_:1})],40,he)]),_:1})}}};export{Ce as default}; +var oe=Object.defineProperty,se=Object.defineProperties;var le=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var re=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;var q=(u,e,r)=>e in u?oe(u,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[e]=r,b=(u,e)=>{for(var r in e||(e={}))re.call(e,r)&&q(u,r,e[r]);if(P)for(var r of P(e))ie.call(e,r)&&q(u,r,e[r]);return u},h=(u,e)=>se(u,le(e));import{g as me,u as ue,C as ce,i as x,k as p,m as T,n as de,p as pe,a4 as _e,q as ge,r as s,o as w,s as M,w as l,b as o,y as t,t as N,a0 as z,v as A,x as E,A as j,z as Ie,B as fe}from"./vendor.e9042f2c.js";import{p as ve,q as Be,g as be,c as $e,d as ye,e as Ve}from"./main.f55cd568.js";import{_ as Se}from"./ItemUnitModal.cb16f673.js";const he=["onSubmit"],Ce={setup(u){const e=ve(),r=Be(),$=be(),G=$e(),{t:_}=me(),y=ue(),L=ce(),D=ye(),I=x(!1),V=x(G.selectedCompanySettings.tax_per_item);let i=x(!1);e.$reset(),O();const v=p({get:()=>e.currentItem.price/100,set:n=>{e.currentItem.price=Math.round(n*100)}}),S=p({get:()=>{var n,a;return(a=(n=e==null?void 0:e.currentItem)==null?void 0:n.taxes)==null?void 0:a.map(d=>{if(d)return h(b({},d),{tax_type_id:d.id,tax_name:d.name+" ("+d.percent+"%)"})})},set:n=>{e.currentItem.taxes=n}}),B=p(()=>y.name==="items.edit"),C=p(()=>B.value?_("items.edit_item"):_("items.new_item")),R=p(()=>r.taxTypes.map(n=>h(b({},n),{tax_type_id:n.id,tax_name:n.name+" ("+n.percent+"%)"}))),Y=p(()=>V.value==="YES"),H=p(()=>({currentItem:{name:{required:T.withMessage(_("validation.required"),de),minLength:T.withMessage(_("validation.name_min_length",{count:3}),pe(3))},description:{maxLength:T.withMessage(_("validation.description_maxlength"),_e(65e3))}}})),c=ge(H,e);async function F(){$.openModal({title:_("settings.customization.items.add_item_unit"),componentName:"ItemUnitModal",size:"sm"})}async function O(){if(i.value=!0,await e.fetchItemUnits({limit:"all"}),D.hasAbilities(Ve.VIEW_TAX_TYPE)&&await r.fetchTaxTypes({limit:"all"}),B.value){let n=y.params.id;await e.fetchItem(n),e.currentItem.tax_per_item===1?V.value="YES":V.value="NO"}i.value=!1}async function W(){if(c.value.currentItem.$touch(),c.value.currentItem.$invalid)return!1;I.value=!0;try{let a=b({id:y.params.id},e.currentItem);e.currentItem&&e.currentItem.taxes&&(a.taxes=e.currentItem.taxes.map(g=>({tax_type_id:g.tax_type_id,amount:v.value*g.percent,percent:g.percent,name:g.name,collective_tax:0}))),await(B.value?e.updateItem:e.addItem)(a),I.value=!1,L.push("/admin/items"),n()}catch{I.value=!1;return}function n(){$.closeModal(),setTimeout(()=>{e.resetCurrentItem(),$.$reset(),c.value.$reset()},300)}}return(n,a)=>{const d=s("BaseBreadcrumbItem"),g=s("BaseBreadcrumb"),X=s("BasePageHeader"),J=s("BaseInput"),f=s("BaseInputGroup"),K=s("BaseMoney"),U=s("BaseIcon"),Q=s("BaseSelectAction"),k=s("BaseMultiselect"),Z=s("BaseTextarea"),ee=s("BaseButton"),te=s("BaseInputGrid"),ne=s("BaseCard"),ae=s("BasePage");return w(),M(ae,null,{default:l(()=>[o(X,{title:t(C)},{default:l(()=>[o(g,null,{default:l(()=>[o(d,{title:n.$t("general.home"),to:"dashboard"},null,8,["title"]),o(d,{title:n.$tc("items.item",2),to:"/admin/items"},null,8,["title"]),o(d,{title:t(C),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),o(Se),N("form",{class:"grid lg:grid-cols-2 mt-6",action:"submit",onSubmit:fe(W,["prevent"])},[o(ne,{class:"w-full"},{default:l(()=>[o(te,{layout:"one-column"},{default:l(()=>[o(f,{label:n.$t("items.name"),"content-loading":t(i),required:"",error:t(c).currentItem.name.$error&&t(c).currentItem.name.$errors[0].$message},{default:l(()=>[o(J,{modelValue:t(e).currentItem.name,"onUpdate:modelValue":a[0]||(a[0]=m=>t(e).currentItem.name=m),"content-loading":t(i),invalid:t(c).currentItem.name.$error,onInput:a[1]||(a[1]=m=>t(c).currentItem.name.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),o(f,{label:n.$t("items.price"),"content-loading":t(i)},{default:l(()=>[o(K,{modelValue:t(v),"onUpdate:modelValue":a[2]||(a[2]=m=>z(v)?v.value=m:null),"content-loading":t(i)},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"]),o(f,{"content-loading":t(i),label:n.$t("items.unit")},{default:l(()=>[o(k,{modelValue:t(e).currentItem.unit_id,"onUpdate:modelValue":a[3]||(a[3]=m=>t(e).currentItem.unit_id=m),"content-loading":t(i),label:"name",options:t(e).itemUnits,"value-prop":"id","can-deselect":!1,"can-clear":!1,placeholder:n.$t("items.select_a_unit"),searchable:"","track-by":"name"},{action:l(()=>[o(Q,{onClick:F},{default:l(()=>[o(U,{name:"PlusIcon",class:"h-4 mr-2 -ml-2 text-center text-primary-400"}),A(" "+E(n.$t("settings.customization.items.add_item_unit")),1)]),_:1})]),_:1},8,["modelValue","content-loading","options","placeholder"])]),_:1},8,["content-loading","label"]),t(Y)?(w(),M(f,{key:0,label:n.$t("items.taxes"),"content-loading":t(i)},{default:l(()=>[o(k,{modelValue:t(S),"onUpdate:modelValue":a[4]||(a[4]=m=>z(S)?S.value=m:null),"content-loading":t(i),options:t(R),mode:"tags",label:"tax_name",class:"w-full","value-prop":"id","can-deselect":!1,"can-clear":!1,searchable:"","track-by":"tax_name",object:""},null,8,["modelValue","content-loading","options"])]),_:1},8,["label","content-loading"])):j("",!0),o(f,{label:n.$t("items.description"),"content-loading":t(i),error:t(c).currentItem.description.$error&&t(c).currentItem.description.$errors[0].$message},{default:l(()=>[o(Z,{modelValue:t(e).currentItem.description,"onUpdate:modelValue":a[5]||(a[5]=m=>t(e).currentItem.description=m),"content-loading":t(i),name:"description",row:2,rows:"2",onInput:a[6]||(a[6]=m=>t(c).currentItem.description.$touch())},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading","error"]),N("div",null,[o(ee,{"content-loading":t(i),type:"submit",loading:I.value},{left:l(m=>[I.value?j("",!0):(w(),M(U,{key:0,name:"SaveIcon",class:Ie(m.class)},null,8,["class"]))]),default:l(()=>[A(" "+E(t(B)?n.$t("items.update_item"):n.$t("items.save_item")),1)]),_:1},8,["content-loading","loading"])])]),_:1})]),_:1})],40,he)]),_:1})}}};export{Ce as default}; diff --git a/public/build/assets/Create.f5ac9ce5.js b/public/build/assets/Create.e26371fe.js similarity index 98% rename from public/build/assets/Create.f5ac9ce5.js rename to public/build/assets/Create.e26371fe.js index 01a47a869..6d460048f 100644 --- a/public/build/assets/Create.f5ac9ce5.js +++ b/public/build/assets/Create.e26371fe.js @@ -1 +1 @@ -var W=Object.defineProperty,X=Object.defineProperties;var Y=Object.getOwnPropertyDescriptors;var S=Object.getOwnPropertySymbols;var Z=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var k=(m,a,o)=>a in m?W(m,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):m[a]=o,G=(m,a)=>{for(var o in a||(a={}))Z.call(a,o)&&k(m,o,a[o]);if(S)for(var o of S(a))x.call(a,o)&&k(m,o,a[o]);return m},L=(m,a)=>X(m,Y(a));import{g as ee,u as ae,C as te,i as w,k as V,m as p,n as $,p as N,a2 as oe,aU as se,q as ne,r as d,o as b,s as h,w as i,b as s,y as e,t as q,c as re,H as le,V as ue,F as ie,z as de,A as me,v as ce,x as pe,B as ge}from"./vendor.e9042f2c.js";import{A as fe,c as ve}from"./main.c4ed6aa9.js";const $e=["onSubmit"],De={class:"grid grid-cols-12"},Be={class:"space-y-6"},Ve={setup(m){const a=fe(),{t:o}=ee(),y=ae(),P=te(),j=ve();let g=w(!1),l=w(!1);w([]);let I=w([]);const f=V(()=>y.name==="users.edit"),U=V(()=>f.value?o("users.edit_user"):o("users.new_user")),A=V(()=>({userData:{name:{required:p.withMessage(o("validation.required"),$),minLength:p.withMessage(o("validation.name_min_length",{count:3}),N(3))},email:{required:p.withMessage(o("validation.required"),$),email:p.withMessage(o("validation.email_incorrect"),oe)},password:{required:se(function(){return p.withMessage(o("validation.required"),$),!f.value}),minLength:p.withMessage(o("validation.password_min_length",{count:8}),N(8))},companies:{required:p.withMessage(o("validation.required"),$)}}})),E={role:{required:p.withMessage(o("validation.required"),$)}},n=ne(A,a,{$scope:!0});F(),a.resetUserData();async function F(){var u;l.value=!0;try{f.value&&await a.fetchUser(y.params.id);let t=await j.fetchUserCompanies();((u=t==null?void 0:t.data)==null?void 0:u.data)&&(I.value=t.data.data.map(c=>(c.role=null,c)))}catch{l.value=!1}l.value=!1}async function H(){if(n.value.$touch(),n.value.$invalid)return!0;try{g.value=!0;let u=L(G({},a.userData),{companies:a.userData.companies.map(c=>({role:c.role,id:c.id}))});await(f.value?a.updateUser:a.addUser)(u),P.push("/admin/users"),g.value=!1}catch{g.value=!1}}return(u,t)=>{const c=d("BaseBreadcrumbItem"),R=d("BaseBreadcrumb"),z=d("BasePageHeader"),D=d("BaseInput"),v=d("BaseInputGroup"),M=d("BaseMultiselect"),T=d("BaseInputGrid"),J=d("BaseIcon"),K=d("BaseButton"),O=d("BaseCard"),Q=d("BasePage");return b(),h(Q,null,{default:i(()=>[s(z,{title:e(U)},{default:i(()=>[s(R,null,{default:i(()=>[s(c,{title:u.$t("general.home"),to:"dashboard"},null,8,["title"]),s(c,{title:u.$tc("users.user",2),to:"/admin/users"},null,8,["title"]),s(c,{title:e(U),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),q("form",{action:"",autocomplete:"off",onSubmit:ge(H,["prevent"])},[q("div",De,[s(O,{class:"mt-6 col-span-12 md:col-span-8"},{default:i(()=>[s(T,{layout:"one-column"},{default:i(()=>[s(v,{"content-loading":e(l),label:u.$t("users.name"),error:e(n).userData.name.$error&&e(n).userData.name.$errors[0].$message,required:""},{default:i(()=>[s(D,{modelValue:e(a).userData.name,"onUpdate:modelValue":t[0]||(t[0]=r=>e(a).userData.name=r),modelModifiers:{trim:!0},"content-loading":e(l),invalid:e(n).userData.name.$error,onInput:t[1]||(t[1]=r=>e(n).userData.name.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["content-loading","label","error"]),s(v,{"content-loading":e(l),label:u.$t("users.email"),error:e(n).userData.email.$error&&e(n).userData.email.$errors[0].$message,required:""},{default:i(()=>[s(D,{modelValue:e(a).userData.email,"onUpdate:modelValue":t[2]||(t[2]=r=>e(a).userData.email=r),modelModifiers:{trim:!0},type:"email","content-loading":e(l),invalid:e(n).userData.email.$error,onInput:t[3]||(t[3]=r=>e(n).userData.email.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["content-loading","label","error"]),s(v,{"content-loading":e(l),label:u.$t("users.companies"),error:e(n).userData.companies.$error&&e(n).userData.companies.$errors[0].$message,required:""},{default:i(()=>[s(M,{modelValue:e(a).userData.companies,"onUpdate:modelValue":t[4]||(t[4]=r=>e(a).userData.companies=r),mode:"tags",object:!0,autocomplete:"new-password",label:"name",options:e(I),"value-prop":"id",invalid:e(n).userData.companies.$error,"content-loading":e(l),searchable:"","can-deselect":!1,class:"w-full"},null,8,["modelValue","options","invalid","content-loading"])]),_:1},8,["content-loading","label","error"]),(b(!0),re(ie,null,le(e(a).userData.companies,(r,B)=>(b(),h(e(ue),{key:B,state:r,rules:E},{default:i(({v:_})=>[q("div",Be,[s(v,{"content-loading":e(l),label:u.$t("users.select_company_role",{company:r.name}),error:_.role.$error&&_.role.$errors[0].$message,required:""},{default:i(()=>[s(M,{modelValue:e(a).userData.companies[B].role,"onUpdate:modelValue":C=>e(a).userData.companies[B].role=C,"value-prop":"name","track-by":"id",autocomplete:"off","content-loading":e(l),label:"name",options:e(a).userData.companies[B].roles,"can-deselect":!1,invalid:_.role.$invalid,onChange:C=>_.role.$touch()},null,8,["modelValue","onUpdate:modelValue","content-loading","options","invalid","onChange"])]),_:2},1032,["content-loading","label","error"])])]),_:2},1032,["state"]))),128)),s(v,{"content-loading":e(l),label:u.$tc("users.password"),error:e(n).userData.password.$error&&e(n).userData.password.$errors[0].$message,required:!e(f)},{default:i(()=>[s(D,{modelValue:e(a).userData.password,"onUpdate:modelValue":t[5]||(t[5]=r=>e(a).userData.password=r),name:"new-password",autocomplete:"new-password","content-loading":e(l),type:"password",invalid:e(n).userData.password.$error,onInput:t[6]||(t[6]=r=>e(n).userData.password.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["content-loading","label","error","required"]),s(v,{"content-loading":e(l),label:u.$t("users.phone")},{default:i(()=>[s(D,{modelValue:e(a).userData.phone,"onUpdate:modelValue":t[7]||(t[7]=r=>e(a).userData.phone=r),modelModifiers:{trim:!0},"content-loading":e(l)},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label"])]),_:1}),s(K,{"content-loading":e(l),type:"submit",loading:e(g),disabled:e(g),class:"mt-6"},{left:i(r=>[e(g)?me("",!0):(b(),h(J,{key:0,name:"SaveIcon",class:de(r.class)},null,8,["class"]))]),default:i(()=>[ce(" "+pe(e(f)?u.$t("users.update_user"):u.$t("users.save_user")),1)]),_:1},8,["content-loading","loading","disabled"])]),_:1})])],40,$e)]),_:1})}}};export{Ve as default}; +var W=Object.defineProperty,X=Object.defineProperties;var Y=Object.getOwnPropertyDescriptors;var S=Object.getOwnPropertySymbols;var Z=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var k=(m,a,o)=>a in m?W(m,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):m[a]=o,G=(m,a)=>{for(var o in a||(a={}))Z.call(a,o)&&k(m,o,a[o]);if(S)for(var o of S(a))x.call(a,o)&&k(m,o,a[o]);return m},L=(m,a)=>X(m,Y(a));import{g as ee,u as ae,C as te,i as w,k as V,m as p,n as $,p as N,a2 as oe,aU as se,q as ne,r as d,o as b,s as h,w as i,b as s,y as e,t as q,c as re,H as le,V as ue,F as ie,z as de,A as me,v as ce,x as pe,B as ge}from"./vendor.e9042f2c.js";import{A as fe,c as ve}from"./main.f55cd568.js";const $e=["onSubmit"],De={class:"grid grid-cols-12"},Be={class:"space-y-6"},Ve={setup(m){const a=fe(),{t:o}=ee(),y=ae(),P=te(),j=ve();let g=w(!1),l=w(!1);w([]);let I=w([]);const f=V(()=>y.name==="users.edit"),U=V(()=>f.value?o("users.edit_user"):o("users.new_user")),A=V(()=>({userData:{name:{required:p.withMessage(o("validation.required"),$),minLength:p.withMessage(o("validation.name_min_length",{count:3}),N(3))},email:{required:p.withMessage(o("validation.required"),$),email:p.withMessage(o("validation.email_incorrect"),oe)},password:{required:se(function(){return p.withMessage(o("validation.required"),$),!f.value}),minLength:p.withMessage(o("validation.password_min_length",{count:8}),N(8))},companies:{required:p.withMessage(o("validation.required"),$)}}})),E={role:{required:p.withMessage(o("validation.required"),$)}},n=ne(A,a,{$scope:!0});F(),a.resetUserData();async function F(){var u;l.value=!0;try{f.value&&await a.fetchUser(y.params.id);let t=await j.fetchUserCompanies();((u=t==null?void 0:t.data)==null?void 0:u.data)&&(I.value=t.data.data.map(c=>(c.role=null,c)))}catch{l.value=!1}l.value=!1}async function H(){if(n.value.$touch(),n.value.$invalid)return!0;try{g.value=!0;let u=L(G({},a.userData),{companies:a.userData.companies.map(c=>({role:c.role,id:c.id}))});await(f.value?a.updateUser:a.addUser)(u),P.push("/admin/users"),g.value=!1}catch{g.value=!1}}return(u,t)=>{const c=d("BaseBreadcrumbItem"),R=d("BaseBreadcrumb"),z=d("BasePageHeader"),D=d("BaseInput"),v=d("BaseInputGroup"),M=d("BaseMultiselect"),T=d("BaseInputGrid"),J=d("BaseIcon"),K=d("BaseButton"),O=d("BaseCard"),Q=d("BasePage");return b(),h(Q,null,{default:i(()=>[s(z,{title:e(U)},{default:i(()=>[s(R,null,{default:i(()=>[s(c,{title:u.$t("general.home"),to:"dashboard"},null,8,["title"]),s(c,{title:u.$tc("users.user",2),to:"/admin/users"},null,8,["title"]),s(c,{title:e(U),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),q("form",{action:"",autocomplete:"off",onSubmit:ge(H,["prevent"])},[q("div",De,[s(O,{class:"mt-6 col-span-12 md:col-span-8"},{default:i(()=>[s(T,{layout:"one-column"},{default:i(()=>[s(v,{"content-loading":e(l),label:u.$t("users.name"),error:e(n).userData.name.$error&&e(n).userData.name.$errors[0].$message,required:""},{default:i(()=>[s(D,{modelValue:e(a).userData.name,"onUpdate:modelValue":t[0]||(t[0]=r=>e(a).userData.name=r),modelModifiers:{trim:!0},"content-loading":e(l),invalid:e(n).userData.name.$error,onInput:t[1]||(t[1]=r=>e(n).userData.name.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["content-loading","label","error"]),s(v,{"content-loading":e(l),label:u.$t("users.email"),error:e(n).userData.email.$error&&e(n).userData.email.$errors[0].$message,required:""},{default:i(()=>[s(D,{modelValue:e(a).userData.email,"onUpdate:modelValue":t[2]||(t[2]=r=>e(a).userData.email=r),modelModifiers:{trim:!0},type:"email","content-loading":e(l),invalid:e(n).userData.email.$error,onInput:t[3]||(t[3]=r=>e(n).userData.email.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["content-loading","label","error"]),s(v,{"content-loading":e(l),label:u.$t("users.companies"),error:e(n).userData.companies.$error&&e(n).userData.companies.$errors[0].$message,required:""},{default:i(()=>[s(M,{modelValue:e(a).userData.companies,"onUpdate:modelValue":t[4]||(t[4]=r=>e(a).userData.companies=r),mode:"tags",object:!0,autocomplete:"new-password",label:"name",options:e(I),"value-prop":"id",invalid:e(n).userData.companies.$error,"content-loading":e(l),searchable:"","can-deselect":!1,class:"w-full"},null,8,["modelValue","options","invalid","content-loading"])]),_:1},8,["content-loading","label","error"]),(b(!0),re(ie,null,le(e(a).userData.companies,(r,B)=>(b(),h(e(ue),{key:B,state:r,rules:E},{default:i(({v:_})=>[q("div",Be,[s(v,{"content-loading":e(l),label:u.$t("users.select_company_role",{company:r.name}),error:_.role.$error&&_.role.$errors[0].$message,required:""},{default:i(()=>[s(M,{modelValue:e(a).userData.companies[B].role,"onUpdate:modelValue":C=>e(a).userData.companies[B].role=C,"value-prop":"name","track-by":"id",autocomplete:"off","content-loading":e(l),label:"name",options:e(a).userData.companies[B].roles,"can-deselect":!1,invalid:_.role.$invalid,onChange:C=>_.role.$touch()},null,8,["modelValue","onUpdate:modelValue","content-loading","options","invalid","onChange"])]),_:2},1032,["content-loading","label","error"])])]),_:2},1032,["state"]))),128)),s(v,{"content-loading":e(l),label:u.$tc("users.password"),error:e(n).userData.password.$error&&e(n).userData.password.$errors[0].$message,required:!e(f)},{default:i(()=>[s(D,{modelValue:e(a).userData.password,"onUpdate:modelValue":t[5]||(t[5]=r=>e(a).userData.password=r),name:"new-password",autocomplete:"new-password","content-loading":e(l),type:"password",invalid:e(n).userData.password.$error,onInput:t[6]||(t[6]=r=>e(n).userData.password.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["content-loading","label","error","required"]),s(v,{"content-loading":e(l),label:u.$t("users.phone")},{default:i(()=>[s(D,{modelValue:e(a).userData.phone,"onUpdate:modelValue":t[7]||(t[7]=r=>e(a).userData.phone=r),modelModifiers:{trim:!0},"content-loading":e(l)},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label"])]),_:1}),s(K,{"content-loading":e(l),type:"submit",loading:e(g),disabled:e(g),class:"mt-6"},{left:i(r=>[e(g)?me("",!0):(b(),h(J,{key:0,name:"SaveIcon",class:de(r.class)},null,8,["class"]))]),default:i(()=>[ce(" "+pe(e(f)?u.$t("users.update_user"):u.$t("users.save_user")),1)]),_:1},8,["content-loading","loading","disabled"])]),_:1})])],40,$e)]),_:1})}}};export{Ve as default}; diff --git a/public/build/assets/CreateCustomFields.b3e72776.js b/public/build/assets/CreateCustomFields.31e45d63.js similarity index 97% rename from public/build/assets/CreateCustomFields.b3e72776.js rename to public/build/assets/CreateCustomFields.31e45d63.js index 3934e012f..103fa6ea8 100644 --- a/public/build/assets/CreateCustomFields.b3e72776.js +++ b/public/build/assets/CreateCustomFields.31e45d63.js @@ -1 +1 @@ -var D=Object.defineProperty,I=Object.defineProperties;var g=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var q=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var f=(e,t,r)=>t in e?D(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_=(e,t)=>{for(var r in t||(t={}))q.call(t,r)&&f(e,r,t[r]);if(y)for(var r of y(t))h.call(t,r)&&f(e,r,t[r]);return e},v=(e,t)=>I(e,g(t));import{g as w,m as V,aU as j,q as F,k as T,aJ as L,r as E,o as n,s as m,w as P,an as A,y as c,f as S,D as x,c as b,b as O,F as R,H as k,A as B,h as C}from"./vendor.e9042f2c.js";import{n as i,l as Y}from"./main.c4ed6aa9.js";function $(e){switch(e){case"./types/DateTimeType.vue":return i(()=>import("./DateTimeType.885ed58f.js"),["assets/DateTimeType.885ed58f.js","assets/vendor.e9042f2c.js"]);case"./types/DateType.vue":return i(()=>import("./DateType.7fd6d385.js"),["assets/DateType.7fd6d385.js","assets/vendor.e9042f2c.js"]);case"./types/DropdownType.vue":return i(()=>import("./DropdownType.84b4a057.js"),["assets/DropdownType.84b4a057.js","assets/vendor.e9042f2c.js"]);case"./types/InputType.vue":return i(()=>import("./InputType.abbc9e84.js"),["assets/InputType.abbc9e84.js","assets/vendor.e9042f2c.js"]);case"./types/NumberType.vue":return i(()=>import("./NumberType.bae67e72.js"),["assets/NumberType.bae67e72.js","assets/vendor.e9042f2c.js"]);case"./types/PhoneType.vue":return i(()=>import("./PhoneType.f1778217.js"),["assets/PhoneType.f1778217.js","assets/vendor.e9042f2c.js"]);case"./types/SwitchType.vue":return i(()=>import("./SwitchType.56df61e7.js"),["assets/SwitchType.56df61e7.js","assets/vendor.e9042f2c.js"]);case"./types/TextAreaType.vue":return i(()=>import("./TextAreaType.a1bccab5.js"),["assets/TextAreaType.a1bccab5.js","assets/vendor.e9042f2c.js"]);case"./types/TimeType.vue":return i(()=>import("./TimeType.82e5beb3.js"),["assets/TimeType.82e5beb3.js","assets/vendor.e9042f2c.js"]);case"./types/UrlType.vue":return i(()=>import("./UrlType.803fb838.js"),["assets/UrlType.803fb838.js","assets/vendor.e9042f2c.js"]);default:return new Promise(function(t,r){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}const M={props:{field:{type:Object,required:!0},customFieldScope:{type:String,required:!0},index:{type:Number,required:!0},store:{type:Object,required:!0},storeProp:{type:String,required:!0}},setup(e){const t=e,{t:r}=w(),d={value:{required:V.withMessage(r("validation.required"),j(t.field.is_required))}},a=F(d,T(()=>t.field),{$scope:t.customFieldScope}),o=T(()=>t.field.type?L(()=>$(`./types/${t.field.type}Type.vue`)):!1);return(u,s)=>{const l=E("BaseInputGroup");return n(),m(l,{label:e.field.label,required:!!e.field.is_required,error:c(a).value.$error&&c(a).value.$errors[0].$message},{default:P(()=>[(n(),m(A(c(o)),{modelValue:e.field.value,"onUpdate:modelValue":s[0]||(s[0]=p=>e.field.value=p),options:e.field.options,invalid:c(a).value.$error,placeholder:e.field.placeholder},null,8,["modelValue","options","invalid","placeholder"]))]),_:1},8,["label","required","error"])}}},H={key:0},J={props:{store:{type:Object,required:!0},storeProp:{type:String,required:!0},isEdit:{type:Boolean,default:!1},type:{type:String,default:null},gridLayout:{type:String,default:"two-column"},isLoading:{type:Boolean,default:null},customFieldScope:{type:String,required:!0}},setup(e){const t=e,r=Y();a();function d(){t.isEdit&&t.store[t.storeProp].fields.forEach(o=>{const u=t.store[t.storeProp].customFields.findIndex(s=>s.id===o.custom_field_id);if(u>-1){let s=o.default_answer;s&&o.custom_field.type==="DateTime"&&(s=C(o.default_answer,"YYYY-MM-DD HH:mm:ss").format("YYYY-MM-DD HH:mm")),t.store[t.storeProp].customFields[u]=v(_({},o),{id:o.custom_field_id,value:s,label:o.custom_field.label,options:o.custom_field.options,is_required:o.custom_field.is_required,placeholder:o.custom_field.placeholder,order:o.custom_field.order})}})}async function a(){let u=(await r.fetchCustomFields({type:t.type,limit:"all"})).data.data;u.map(s=>s.value=s.default_answer),t.store[t.storeProp].customFields=S.sortBy(u,s=>s.order),d()}return x(()=>t.store[t.storeProp].fields,o=>{d()}),(o,u)=>{const s=E("BaseInputGrid");return e.store[e.storeProp]&&e.store[e.storeProp].customFields.length>0&&!e.isLoading?(n(),b("div",H,[O(s,{layout:e.gridLayout},{default:P(()=>[(n(!0),b(R,null,k(e.store[e.storeProp].customFields,(l,p)=>(n(),m(M,{key:l.id,"custom-field-scope":e.customFieldScope,store:e.store,"store-prop":e.storeProp,index:p,field:l},null,8,["custom-field-scope","store","store-prop","index","field"]))),128))]),_:1},8,["layout"])])):B("",!0)}}};export{J as _}; +var D=Object.defineProperty,I=Object.defineProperties;var g=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var q=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var f=(e,t,r)=>t in e?D(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_=(e,t)=>{for(var r in t||(t={}))q.call(t,r)&&f(e,r,t[r]);if(y)for(var r of y(t))h.call(t,r)&&f(e,r,t[r]);return e},v=(e,t)=>I(e,g(t));import{g as w,m as V,aU as j,q as F,k as T,aJ as L,r as E,o as n,s as m,w as P,an as A,y as c,f as S,D as x,c as b,b as O,F as R,H as k,A as B,h as C}from"./vendor.e9042f2c.js";import{n as i,l as Y}from"./main.f55cd568.js";function $(e){switch(e){case"./types/DateTimeType.vue":return i(()=>import("./DateTimeType.885ed58f.js"),["assets/DateTimeType.885ed58f.js","assets/vendor.e9042f2c.js"]);case"./types/DateType.vue":return i(()=>import("./DateType.7fd6d385.js"),["assets/DateType.7fd6d385.js","assets/vendor.e9042f2c.js"]);case"./types/DropdownType.vue":return i(()=>import("./DropdownType.84b4a057.js"),["assets/DropdownType.84b4a057.js","assets/vendor.e9042f2c.js"]);case"./types/InputType.vue":return i(()=>import("./InputType.abbc9e84.js"),["assets/InputType.abbc9e84.js","assets/vendor.e9042f2c.js"]);case"./types/NumberType.vue":return i(()=>import("./NumberType.bae67e72.js"),["assets/NumberType.bae67e72.js","assets/vendor.e9042f2c.js"]);case"./types/PhoneType.vue":return i(()=>import("./PhoneType.f1778217.js"),["assets/PhoneType.f1778217.js","assets/vendor.e9042f2c.js"]);case"./types/SwitchType.vue":return i(()=>import("./SwitchType.56df61e7.js"),["assets/SwitchType.56df61e7.js","assets/vendor.e9042f2c.js"]);case"./types/TextAreaType.vue":return i(()=>import("./TextAreaType.a1bccab5.js"),["assets/TextAreaType.a1bccab5.js","assets/vendor.e9042f2c.js"]);case"./types/TimeType.vue":return i(()=>import("./TimeType.82e5beb3.js"),["assets/TimeType.82e5beb3.js","assets/vendor.e9042f2c.js"]);case"./types/UrlType.vue":return i(()=>import("./UrlType.803fb838.js"),["assets/UrlType.803fb838.js","assets/vendor.e9042f2c.js"]);default:return new Promise(function(t,r){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}const M={props:{field:{type:Object,required:!0},customFieldScope:{type:String,required:!0},index:{type:Number,required:!0},store:{type:Object,required:!0},storeProp:{type:String,required:!0}},setup(e){const t=e,{t:r}=w(),d={value:{required:V.withMessage(r("validation.required"),j(t.field.is_required))}},a=F(d,T(()=>t.field),{$scope:t.customFieldScope}),o=T(()=>t.field.type?L(()=>$(`./types/${t.field.type}Type.vue`)):!1);return(u,s)=>{const l=E("BaseInputGroup");return n(),m(l,{label:e.field.label,required:!!e.field.is_required,error:c(a).value.$error&&c(a).value.$errors[0].$message},{default:P(()=>[(n(),m(A(c(o)),{modelValue:e.field.value,"onUpdate:modelValue":s[0]||(s[0]=p=>e.field.value=p),options:e.field.options,invalid:c(a).value.$error,placeholder:e.field.placeholder},null,8,["modelValue","options","invalid","placeholder"]))]),_:1},8,["label","required","error"])}}},H={key:0},J={props:{store:{type:Object,required:!0},storeProp:{type:String,required:!0},isEdit:{type:Boolean,default:!1},type:{type:String,default:null},gridLayout:{type:String,default:"two-column"},isLoading:{type:Boolean,default:null},customFieldScope:{type:String,required:!0}},setup(e){const t=e,r=Y();a();function d(){t.isEdit&&t.store[t.storeProp].fields.forEach(o=>{const u=t.store[t.storeProp].customFields.findIndex(s=>s.id===o.custom_field_id);if(u>-1){let s=o.default_answer;s&&o.custom_field.type==="DateTime"&&(s=C(o.default_answer,"YYYY-MM-DD HH:mm:ss").format("YYYY-MM-DD HH:mm")),t.store[t.storeProp].customFields[u]=v(_({},o),{id:o.custom_field_id,value:s,label:o.custom_field.label,options:o.custom_field.options,is_required:o.custom_field.is_required,placeholder:o.custom_field.placeholder,order:o.custom_field.order})}})}async function a(){let u=(await r.fetchCustomFields({type:t.type,limit:"all"})).data.data;u.map(s=>s.value=s.default_answer),t.store[t.storeProp].customFields=S.sortBy(u,s=>s.order),d()}return x(()=>t.store[t.storeProp].fields,o=>{d()}),(o,u)=>{const s=E("BaseInputGrid");return e.store[e.storeProp]&&e.store[e.storeProp].customFields.length>0&&!e.isLoading?(n(),b("div",H,[O(s,{layout:e.gridLayout},{default:P(()=>[(n(!0),b(R,null,k(e.store[e.storeProp].customFields,(l,p)=>(n(),m(M,{key:l.id,"custom-field-scope":e.customFieldScope,store:e.store,"store-prop":e.storeProp,index:p,field:l},null,8,["custom-field-scope","store","store-prop","index","field"]))),128))]),_:1},8,["layout"])])):B("",!0)}}};export{J as _}; diff --git a/public/build/assets/CustomFieldsSetting.1476b628.js b/public/build/assets/CustomFieldsSetting.1476b628.js deleted file mode 100644 index f9b7d2bcf..000000000 --- a/public/build/assets/CustomFieldsSetting.1476b628.js +++ /dev/null @@ -1 +0,0 @@ -var ie=Object.defineProperty;var W=Object.getOwnPropertySymbols;var de=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable;var Z=(m,n,e)=>n in m?ie(m,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):m[n]=e,ee=(m,n)=>{for(var e in n||(n={}))de.call(n,e)&&Z(m,e,n[e]);if(W)for(var e of W(n))me.call(n,e)&&Z(m,e,n[e]);return m};import{g as H,u as ce,am as te,r as d,o as C,s as F,w as u,b as l,y as t,v as D,x as $,A as M,i as x,c as z,a_ as pe,B as se,j as le,k as h,aJ as _e,m as k,n as A,aV as fe,q as ye,t as O,a0 as oe,H as ve,z as G,F as Ce,an as be,a5 as ge}from"./vendor.e9042f2c.js";import{i as Fe,u as Te,l as K,d as ae,g as Y,e as P,n as T}from"./main.c4ed6aa9.js";const we={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(m){const n=m,e=Fe();Te();const{t:i}=H(),v=K();ce();const f=ae(),c=Y();te("utils");async function p(b){await v.fetchCustomField(b),c.openModal({title:i("settings.custom_fields.edit_custom_field"),componentName:"CustomFieldModal",size:"sm",data:b,refreshData:n.loadData})}async function V(b){e.openDialog({title:i("general.are_you_sure"),message:i("settings.custom_fields.custom_field_confirm_delete"),yesLabel:i("general.ok"),noLabel:i("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async g=>{g&&(await v.deleteCustomFields(b),n.loadData&&n.loadData())})}return(b,g)=>{const y=d("BaseIcon"),I=d("BaseDropdownItem"),B=d("BaseDropdown");return C(),F(B,null,{activator:u(()=>[l(y,{name:"DotsHorizontalIcon",class:"h-5 text-gray-500"})]),default:u(()=>[t(f).hasAbilities(t(P).EDIT_CUSTOM_FIELDS)?(C(),F(I,{key:0,onClick:g[0]||(g[0]=o=>p(m.row.id))},{default:u(()=>[l(y,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),D(" "+$(b.$t("general.edit")),1)]),_:1})):M("",!0),t(f).hasAbilities(t(P).DELETE_CUSTOM_FIELDS)?(C(),F(I,{key:1,onClick:g[1]||(g[1]=o=>V(m.row.id))},{default:u(()=>[l(y,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),D(" "+$(b.$t("general.delete")),1)]),_:1})):M("",!0)]),_:1})}}},$e={class:"flex items-center mt-1"},Ie={emits:["onAdd"],setup(m,{emit:n}){const e=x(null);function i(){if(e.value==null||e.value==""||e.value==null)return!0;n("onAdd",e.value),e.value=null}return(v,f)=>{const c=d("BaseInput"),p=d("BaseIcon");return C(),z("div",$e,[l(c,{modelValue:e.value,"onUpdate:modelValue":f[0]||(f[0]=V=>e.value=V),type:"text",class:"w-full md:w-96",placeholder:v.$t("settings.custom_fields.press_enter_to_add"),onClick:i,onKeydown:pe(se(i,["prevent","stop"]),["enter"])},null,8,["modelValue","placeholder","onKeydown"]),l(p,{name:"PlusCircleIcon",class:"ml-1 text-primary-500 cursor-pointer",onClick:i})])}}};function Be(m){switch(m){case"../../custom-fields/types/DateTimeType.vue":return T(()=>import("./DateTimeType.885ed58f.js"),["assets/DateTimeType.885ed58f.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/DateType.vue":return T(()=>import("./DateType.7fd6d385.js"),["assets/DateType.7fd6d385.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/DropdownType.vue":return T(()=>import("./DropdownType.84b4a057.js"),["assets/DropdownType.84b4a057.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/InputType.vue":return T(()=>import("./InputType.abbc9e84.js"),["assets/InputType.abbc9e84.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/NumberType.vue":return T(()=>import("./NumberType.bae67e72.js"),["assets/NumberType.bae67e72.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/PhoneType.vue":return T(()=>import("./PhoneType.f1778217.js"),["assets/PhoneType.f1778217.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/SwitchType.vue":return T(()=>import("./SwitchType.56df61e7.js"),["assets/SwitchType.56df61e7.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/TextAreaType.vue":return T(()=>import("./TextAreaType.a1bccab5.js"),["assets/TextAreaType.a1bccab5.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/TimeType.vue":return T(()=>import("./TimeType.82e5beb3.js"),["assets/TimeType.82e5beb3.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/UrlType.vue":return T(()=>import("./UrlType.803fb838.js"),["assets/UrlType.803fb838.js","assets/vendor.e9042f2c.js"]);default:return new Promise(function(n,e){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(e.bind(null,new Error("Unknown variable dynamic import: "+m)))})}}const De={class:"flex justify-between w-full"},he=["onSubmit"],Ve={class:"overflow-y-auto max-h-[550px]"},Se={class:"px-4 md:px-8 py-8 overflow-y-auto sm:p-6"},Ee={class:"z-0 flex justify-end p-4 border-t border-solid border-gray-light border-modal-bg"},qe={setup(m){const n=Y(),e=K(),{t:i}=H();let v=x(!1);const f=le(["Customer","Invoice","Estimate","Expense","Payment"]),c=le([{label:"Text",value:"Input"},{label:"Textarea",value:"TextArea"},{label:"Phone",value:"Phone"},{label:"URL",value:"Url"},{label:"Number",value:"Number"},{label:"Select Field",value:"Dropdown"},{label:"Switch Toggle",value:"Switch"},{label:"Date",value:"Date"},{label:"Time",value:"Time"},{label:"Date & Time",value:"DateTime"}]);let p=x(c[0]);const V=h(()=>n.active&&n.componentName==="CustomFieldModal"),b=h(()=>p.value&&p.value.label==="Switch Toggle"),g=h(()=>p.value&&p.value.label==="Select Field"),y=h(()=>e.currentCustomField.type?_e(()=>Be(`../../custom-fields/types/${e.currentCustomField.type}Type.vue`)):!1),I=h({get:()=>e.currentCustomField.is_required===1,set:s=>{const a=s?1:0;e.currentCustomField.is_required=a}}),B=h(()=>({currentCustomField:{type:{required:k.withMessage(i("validation.required"),A)},name:{required:k.withMessage(i("validation.required"),A)},label:{required:k.withMessage(i("validation.required"),A)},model_type:{required:k.withMessage(i("validation.required"),A)},order:{required:k.withMessage(i("validation.required"),A),numeric:k.withMessage(i("validation.numbers_only"),fe)},type:{required:k.withMessage(i("validation.required"),A)}}})),o=ye(B,h(()=>e));function S(){e.isEdit?p.value=c.find(s=>s.value==e.currentCustomField.type):(e.currentCustomField.model_type=f[0],e.currentCustomField.type=c[0].value)}async function L(){if(o.value.currentCustomField.$touch(),o.value.currentCustomField.$invalid)return!0;v.value=!0;let s=ee({},e.currentCustomField);if(e.currentCustomField.options&&(s.options=e.currentCustomField.options.map(E=>E.name)),s.type=="Time"&&typeof s.default_answer=="object"){let E=s&&s.default_answer&&s.default_answer.HH?s.default_answer.HH:null,q=s&&s.default_answer&&s.default_answer.mm?s.default_answer.mm:null;s&&s.default_answer&&s.default_answer.ss&&s.default_answer.ss,s.default_answer=`${E}:${q}`}await(e.isEdit?e.updateCustomField:e.addCustomField)(s),v.value=!1,n.refreshData&&n.refreshData(),R()}function j(s){e.currentCustomField.options=[{name:s},...e.currentCustomField.options]}function _(s){if(e.isEdit&&e.currentCustomField.in_use)return;e.currentCustomField.options[s].name===e.currentCustomField.default_answer&&(e.currentCustomField.default_answer=null),e.currentCustomField.options.splice(s,1)}function N(s){e.currentCustomField.type=s.value}function R(){n.closeModal(),setTimeout(()=>{e.resetCurrentCustomField(),o.value.$reset()},300)}return(s,a)=>{const E=d("BaseIcon"),q=d("BaseInput"),w=d("BaseInputGroup"),J=d("BaseMultiselect"),re=d("BaseSwitch"),ne=d("BaseInputGrid"),X=d("BaseButton"),ue=d("BaseModal");return C(),F(ue,{show:t(V),onOpen:S},{header:u(()=>[O("div",De,[D($(t(n).title)+" ",1),l(E,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:R})])]),default:u(()=>[O("form",{action:"",onSubmit:se(L,["prevent"])},[O("div",Ve,[O("div",Se,[l(ne,{layout:"one-column"},{default:u(()=>[l(w,{label:s.$t("settings.custom_fields.name"),required:"",error:t(o).currentCustomField.name.$error&&t(o).currentCustomField.name.$errors[0].$message},{default:u(()=>[l(q,{ref:(r,U)=>{U.name=r},modelValue:t(e).currentCustomField.name,"onUpdate:modelValue":a[0]||(a[0]=r=>t(e).currentCustomField.name=r),invalid:t(o).currentCustomField.name.$error,onInput:a[1]||(a[1]=r=>t(o).currentCustomField.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),l(w,{label:s.$t("settings.custom_fields.model"),error:t(o).currentCustomField.model_type.$error&&t(o).currentCustomField.model_type.$errors[0].$message,"help-text":t(e).currentCustomField.in_use?s.$t("settings.custom_fields.model_in_use"):"",required:""},{default:u(()=>[l(J,{modelValue:t(e).currentCustomField.model_type,"onUpdate:modelValue":a[2]||(a[2]=r=>t(e).currentCustomField.model_type=r),options:t(f),"can-deselect":!1,invalid:t(o).currentCustomField.model_type.$error,searchable:!0,disabled:t(e).currentCustomField.in_use,onInput:a[3]||(a[3]=r=>t(o).currentCustomField.model_type.$touch())},null,8,["modelValue","options","invalid","disabled"])]),_:1},8,["label","error","help-text"]),l(w,{class:"flex items-center space-x-4",label:s.$t("settings.custom_fields.required")},{default:u(()=>[l(re,{modelValue:t(I),"onUpdate:modelValue":a[4]||(a[4]=r=>oe(I)?I.value=r:null)},null,8,["modelValue"])]),_:1},8,["label"]),l(w,{label:s.$t("settings.custom_fields.type"),error:t(o).currentCustomField.type.$error&&t(o).currentCustomField.type.$errors[0].$message,"help-text":t(e).currentCustomField.in_use?s.$t("settings.custom_fields.type_in_use"):"",required:""},{default:u(()=>[l(J,{modelValue:t(p),"onUpdate:modelValue":[a[5]||(a[5]=r=>oe(p)?p.value=r:p=r),N],options:t(c),invalid:t(o).currentCustomField.type.$error,disabled:t(e).currentCustomField.in_use,searchable:!0,"can-deselect":!1,object:""},null,8,["modelValue","options","invalid","disabled"])]),_:1},8,["label","error","help-text"]),l(w,{label:s.$t("settings.custom_fields.label"),required:"",error:t(o).currentCustomField.label.$error&&t(o).currentCustomField.label.$errors[0].$message},{default:u(()=>[l(q,{modelValue:t(e).currentCustomField.label,"onUpdate:modelValue":a[6]||(a[6]=r=>t(e).currentCustomField.label=r),invalid:t(o).currentCustomField.label.$error,onInput:a[7]||(a[7]=r=>t(o).currentCustomField.label.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),t(g)?(C(),F(w,{key:0,label:s.$t("settings.custom_fields.options")},{default:u(()=>[l(Ie,{onOnAdd:j}),(C(!0),z(Ce,null,ve(t(e).currentCustomField.options,(r,U)=>(C(),z("div",{key:U,class:"flex items-center mt-5"},[l(q,{modelValue:r.name,"onUpdate:modelValue":Q=>r.name=Q,class:"w-64"},null,8,["modelValue","onUpdate:modelValue"]),l(E,{name:"MinusCircleIcon",class:G(["ml-1 cursor-pointer",t(e).currentCustomField.in_use?"text-gray-300":"text-red-300"]),onClick:Q=>_(U)},null,8,["class","onClick"])]))),128))]),_:1},8,["label"])):M("",!0),l(w,{label:s.$t("settings.custom_fields.default_value"),class:"relative"},{default:u(()=>[(C(),F(be(t(y)),{modelValue:t(e).currentCustomField.default_answer,"onUpdate:modelValue":a[8]||(a[8]=r=>t(e).currentCustomField.default_answer=r),options:t(e).currentCustomField.options,"default-date-time":t(e).currentCustomField.dateTimeValue},null,8,["modelValue","options","default-date-time"]))]),_:1},8,["label"]),t(b)?M("",!0):(C(),F(w,{key:1,label:s.$t("settings.custom_fields.placeholder")},{default:u(()=>[l(q,{modelValue:t(e).currentCustomField.placeholder,"onUpdate:modelValue":a[9]||(a[9]=r=>t(e).currentCustomField.placeholder=r)},null,8,["modelValue"])]),_:1},8,["label"])),l(w,{label:s.$t("settings.custom_fields.order"),error:t(o).currentCustomField.order.$error&&t(o).currentCustomField.order.$errors[0].$message,required:""},{default:u(()=>[l(q,{modelValue:t(e).currentCustomField.order,"onUpdate:modelValue":a[10]||(a[10]=r=>t(e).currentCustomField.order=r),type:"number",invalid:t(o).currentCustomField.order.$error,onInput:a[11]||(a[11]=r=>t(o).currentCustomField.order.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),_:1})])]),O("div",Ee,[l(X,{class:"mr-3",type:"button",variant:"primary-outline",onClick:R},{default:u(()=>[D($(s.$t("general.cancel")),1)]),_:1}),l(X,{variant:"primary",loading:t(v),disabled:t(v),type:"submit"},{left:u(r=>[t(v)?M("",!0):(C(),F(E,{key:0,class:G(r.class),name:"SaveIcon"},null,8,["class"]))]),default:u(()=>[D(" "+$(t(e).isEdit?s.$t("general.update"):s.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,he)]),_:1},8,["show"])}}},ke={class:"text-xs text-gray-500"},Pe={setup(m){const n=Y(),e=K(),i=ae(),v=te("utils"),{t:f}=H(),c=x(null),p=h(()=>[{key:"name",label:f("settings.custom_fields.name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"model_type",label:f("settings.custom_fields.model")},{key:"type",label:f("settings.custom_fields.type")},{key:"is_required",label:f("settings.custom_fields.required")},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]);async function V({page:y,filter:I,sort:B}){let o={orderByField:B.fieldName||"created_at",orderBy:B.order||"desc",page:y},S=await e.fetchCustomFields(o);return{data:S.data.data,pagination:{totalPages:S.data.meta.last_page,currentPage:y,limit:5,totalCount:S.data.meta.total}}}function b(){n.openModal({title:f("settings.custom_fields.add_custom_field"),componentName:"CustomFieldModal",size:"sm",refreshData:c.value&&c.value.refresh})}async function g(){c.value&&c.value.refresh()}return(y,I)=>{const B=d("BaseIcon"),o=d("BaseButton"),S=d("BaseBadge"),L=d("BaseTable"),j=d("BaseSettingCard");return C(),F(j,{title:y.$t("settings.menu_title.custom_fields"),description:y.$t("settings.custom_fields.section_description")},{action:u(()=>[t(i).hasAbilities(t(P).CREATE_CUSTOM_FIELDS)?(C(),F(o,{key:0,variant:"primary-outline",onClick:b},{left:u(_=>[l(B,{class:G(_.class),name:"PlusIcon"},null,8,["class"]),D(" "+$(y.$t("settings.custom_fields.add_custom_field")),1)]),_:1})):M("",!0)]),default:u(()=>[l(qe),l(L,{ref:(_,N)=>{N.table=_,c.value=_},data:V,columns:t(p),class:"mt-16"},ge({"cell-name":u(({row:_})=>[D($(_.data.name)+" ",1),O("span",ke," ("+$(_.data.slug)+")",1)]),"cell-is_required":u(({row:_})=>[l(S,{"bg-color":t(v).getBadgeStatusColor(_.data.is_required?"YES":"NO").bgColor,color:t(v).getBadgeStatusColor(_.data.is_required?"YES":"NO").color},{default:u(()=>[D($(_.data.is_required?y.$t("settings.custom_fields.yes"):y.$t("settings.custom_fields.no").replace("_"," ")),1)]),_:2},1032,["bg-color","color"])]),_:2},[t(i).hasAbilities([t(P).DELETE_CUSTOM_FIELDS,t(P).EDIT_CUSTOM_FIELDS])?{name:"cell-actions",fn:u(({row:_})=>[l(we,{row:_.data,table:c.value,"load-data":g},null,8,["row","table"])])}:void 0]),1032,["columns"])]),_:1},8,["title","description"])}}};export{Pe as default}; diff --git a/public/build/assets/CustomFieldsSetting.f64b000e.js b/public/build/assets/CustomFieldsSetting.f64b000e.js new file mode 100644 index 000000000..7ef5a7df6 --- /dev/null +++ b/public/build/assets/CustomFieldsSetting.f64b000e.js @@ -0,0 +1 @@ +var ie=Object.defineProperty;var W=Object.getOwnPropertySymbols;var de=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable;var Z=(m,n,e)=>n in m?ie(m,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):m[n]=e,ee=(m,n)=>{for(var e in n||(n={}))de.call(n,e)&&Z(m,e,n[e]);if(W)for(var e of W(n))me.call(n,e)&&Z(m,e,n[e]);return m};import{g as H,u as ce,am as te,r as d,o as C,s as F,w as u,b as l,y as t,v as D,x as $,A as M,i as x,c as z,a_ as pe,B as se,j as le,k as h,aJ as _e,m as k,n as A,aV as fe,q as ye,t as O,a0 as oe,H as ve,z as G,F as Ce,an as be,a5 as ge}from"./vendor.e9042f2c.js";import{i as Fe,u as Te,l as K,d as ae,g as Y,e as P,n as T}from"./main.f55cd568.js";const we={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(m){const n=m,e=Fe();Te();const{t:i}=H(),v=K();ce();const f=ae(),c=Y();te("utils");async function p(b){await v.fetchCustomField(b),c.openModal({title:i("settings.custom_fields.edit_custom_field"),componentName:"CustomFieldModal",size:"sm",data:b,refreshData:n.loadData})}async function V(b){e.openDialog({title:i("general.are_you_sure"),message:i("settings.custom_fields.custom_field_confirm_delete"),yesLabel:i("general.ok"),noLabel:i("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async g=>{g&&(await v.deleteCustomFields(b),n.loadData&&n.loadData())})}return(b,g)=>{const y=d("BaseIcon"),I=d("BaseDropdownItem"),B=d("BaseDropdown");return C(),F(B,null,{activator:u(()=>[l(y,{name:"DotsHorizontalIcon",class:"h-5 text-gray-500"})]),default:u(()=>[t(f).hasAbilities(t(P).EDIT_CUSTOM_FIELDS)?(C(),F(I,{key:0,onClick:g[0]||(g[0]=o=>p(m.row.id))},{default:u(()=>[l(y,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),D(" "+$(b.$t("general.edit")),1)]),_:1})):M("",!0),t(f).hasAbilities(t(P).DELETE_CUSTOM_FIELDS)?(C(),F(I,{key:1,onClick:g[1]||(g[1]=o=>V(m.row.id))},{default:u(()=>[l(y,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),D(" "+$(b.$t("general.delete")),1)]),_:1})):M("",!0)]),_:1})}}},$e={class:"flex items-center mt-1"},Ie={emits:["onAdd"],setup(m,{emit:n}){const e=x(null);function i(){if(e.value==null||e.value==""||e.value==null)return!0;n("onAdd",e.value),e.value=null}return(v,f)=>{const c=d("BaseInput"),p=d("BaseIcon");return C(),z("div",$e,[l(c,{modelValue:e.value,"onUpdate:modelValue":f[0]||(f[0]=V=>e.value=V),type:"text",class:"w-full md:w-96",placeholder:v.$t("settings.custom_fields.press_enter_to_add"),onClick:i,onKeydown:pe(se(i,["prevent","stop"]),["enter"])},null,8,["modelValue","placeholder","onKeydown"]),l(p,{name:"PlusCircleIcon",class:"ml-1 text-primary-500 cursor-pointer",onClick:i})])}}};function Be(m){switch(m){case"../../custom-fields/types/DateTimeType.vue":return T(()=>import("./DateTimeType.885ed58f.js"),["assets/DateTimeType.885ed58f.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/DateType.vue":return T(()=>import("./DateType.7fd6d385.js"),["assets/DateType.7fd6d385.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/DropdownType.vue":return T(()=>import("./DropdownType.84b4a057.js"),["assets/DropdownType.84b4a057.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/InputType.vue":return T(()=>import("./InputType.abbc9e84.js"),["assets/InputType.abbc9e84.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/NumberType.vue":return T(()=>import("./NumberType.bae67e72.js"),["assets/NumberType.bae67e72.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/PhoneType.vue":return T(()=>import("./PhoneType.f1778217.js"),["assets/PhoneType.f1778217.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/SwitchType.vue":return T(()=>import("./SwitchType.56df61e7.js"),["assets/SwitchType.56df61e7.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/TextAreaType.vue":return T(()=>import("./TextAreaType.a1bccab5.js"),["assets/TextAreaType.a1bccab5.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/TimeType.vue":return T(()=>import("./TimeType.82e5beb3.js"),["assets/TimeType.82e5beb3.js","assets/vendor.e9042f2c.js"]);case"../../custom-fields/types/UrlType.vue":return T(()=>import("./UrlType.803fb838.js"),["assets/UrlType.803fb838.js","assets/vendor.e9042f2c.js"]);default:return new Promise(function(n,e){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(e.bind(null,new Error("Unknown variable dynamic import: "+m)))})}}const De={class:"flex justify-between w-full"},he=["onSubmit"],Ve={class:"overflow-y-auto max-h-[550px]"},Se={class:"px-4 md:px-8 py-8 overflow-y-auto sm:p-6"},Ee={class:"z-0 flex justify-end p-4 border-t border-solid border-gray-light border-modal-bg"},qe={setup(m){const n=Y(),e=K(),{t:i}=H();let v=x(!1);const f=le(["Customer","Invoice","Estimate","Expense","Payment"]),c=le([{label:"Text",value:"Input"},{label:"Textarea",value:"TextArea"},{label:"Phone",value:"Phone"},{label:"URL",value:"Url"},{label:"Number",value:"Number"},{label:"Select Field",value:"Dropdown"},{label:"Switch Toggle",value:"Switch"},{label:"Date",value:"Date"},{label:"Time",value:"Time"},{label:"Date & Time",value:"DateTime"}]);let p=x(c[0]);const V=h(()=>n.active&&n.componentName==="CustomFieldModal"),b=h(()=>p.value&&p.value.label==="Switch Toggle"),g=h(()=>p.value&&p.value.label==="Select Field"),y=h(()=>e.currentCustomField.type?_e(()=>Be(`../../custom-fields/types/${e.currentCustomField.type}Type.vue`)):!1),I=h({get:()=>e.currentCustomField.is_required===1,set:s=>{const a=s?1:0;e.currentCustomField.is_required=a}}),B=h(()=>({currentCustomField:{type:{required:k.withMessage(i("validation.required"),A)},name:{required:k.withMessage(i("validation.required"),A)},label:{required:k.withMessage(i("validation.required"),A)},model_type:{required:k.withMessage(i("validation.required"),A)},order:{required:k.withMessage(i("validation.required"),A),numeric:k.withMessage(i("validation.numbers_only"),fe)},type:{required:k.withMessage(i("validation.required"),A)}}})),o=ye(B,h(()=>e));function S(){e.isEdit?p.value=c.find(s=>s.value==e.currentCustomField.type):(e.currentCustomField.model_type=f[0],e.currentCustomField.type=c[0].value,p.value=c[0])}async function L(){if(o.value.currentCustomField.$touch(),o.value.currentCustomField.$invalid)return!0;v.value=!0;let s=ee({},e.currentCustomField);if(e.currentCustomField.options&&(s.options=e.currentCustomField.options.map(E=>E.name)),s.type=="Time"&&typeof s.default_answer=="object"){let E=s&&s.default_answer&&s.default_answer.HH?s.default_answer.HH:null,q=s&&s.default_answer&&s.default_answer.mm?s.default_answer.mm:null;s&&s.default_answer&&s.default_answer.ss&&s.default_answer.ss,s.default_answer=`${E}:${q}`}await(e.isEdit?e.updateCustomField:e.addCustomField)(s),v.value=!1,n.refreshData&&n.refreshData(),R()}function j(s){e.currentCustomField.options=[{name:s},...e.currentCustomField.options]}function _(s){if(e.isEdit&&e.currentCustomField.in_use)return;e.currentCustomField.options[s].name===e.currentCustomField.default_answer&&(e.currentCustomField.default_answer=null),e.currentCustomField.options.splice(s,1)}function N(s){e.currentCustomField.type=s.value}function R(){n.closeModal(),setTimeout(()=>{e.resetCurrentCustomField(),o.value.$reset()},300)}return(s,a)=>{const E=d("BaseIcon"),q=d("BaseInput"),w=d("BaseInputGroup"),J=d("BaseMultiselect"),re=d("BaseSwitch"),ne=d("BaseInputGrid"),X=d("BaseButton"),ue=d("BaseModal");return C(),F(ue,{show:t(V),onOpen:S},{header:u(()=>[O("div",De,[D($(t(n).title)+" ",1),l(E,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:R})])]),default:u(()=>[O("form",{action:"",onSubmit:se(L,["prevent"])},[O("div",Ve,[O("div",Se,[l(ne,{layout:"one-column"},{default:u(()=>[l(w,{label:s.$t("settings.custom_fields.name"),required:"",error:t(o).currentCustomField.name.$error&&t(o).currentCustomField.name.$errors[0].$message},{default:u(()=>[l(q,{ref:(r,U)=>{U.name=r},modelValue:t(e).currentCustomField.name,"onUpdate:modelValue":a[0]||(a[0]=r=>t(e).currentCustomField.name=r),invalid:t(o).currentCustomField.name.$error,onInput:a[1]||(a[1]=r=>t(o).currentCustomField.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),l(w,{label:s.$t("settings.custom_fields.model"),error:t(o).currentCustomField.model_type.$error&&t(o).currentCustomField.model_type.$errors[0].$message,"help-text":t(e).currentCustomField.in_use?s.$t("settings.custom_fields.model_in_use"):"",required:""},{default:u(()=>[l(J,{modelValue:t(e).currentCustomField.model_type,"onUpdate:modelValue":a[2]||(a[2]=r=>t(e).currentCustomField.model_type=r),options:t(f),"can-deselect":!1,invalid:t(o).currentCustomField.model_type.$error,searchable:!0,disabled:t(e).currentCustomField.in_use,onInput:a[3]||(a[3]=r=>t(o).currentCustomField.model_type.$touch())},null,8,["modelValue","options","invalid","disabled"])]),_:1},8,["label","error","help-text"]),l(w,{class:"flex items-center space-x-4",label:s.$t("settings.custom_fields.required")},{default:u(()=>[l(re,{modelValue:t(I),"onUpdate:modelValue":a[4]||(a[4]=r=>oe(I)?I.value=r:null)},null,8,["modelValue"])]),_:1},8,["label"]),l(w,{label:s.$t("settings.custom_fields.type"),error:t(o).currentCustomField.type.$error&&t(o).currentCustomField.type.$errors[0].$message,"help-text":t(e).currentCustomField.in_use?s.$t("settings.custom_fields.type_in_use"):"",required:""},{default:u(()=>[l(J,{modelValue:t(p),"onUpdate:modelValue":[a[5]||(a[5]=r=>oe(p)?p.value=r:p=r),N],options:t(c),invalid:t(o).currentCustomField.type.$error,disabled:t(e).currentCustomField.in_use,searchable:!0,"can-deselect":!1,object:""},null,8,["modelValue","options","invalid","disabled"])]),_:1},8,["label","error","help-text"]),l(w,{label:s.$t("settings.custom_fields.label"),required:"",error:t(o).currentCustomField.label.$error&&t(o).currentCustomField.label.$errors[0].$message},{default:u(()=>[l(q,{modelValue:t(e).currentCustomField.label,"onUpdate:modelValue":a[6]||(a[6]=r=>t(e).currentCustomField.label=r),invalid:t(o).currentCustomField.label.$error,onInput:a[7]||(a[7]=r=>t(o).currentCustomField.label.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),t(g)?(C(),F(w,{key:0,label:s.$t("settings.custom_fields.options")},{default:u(()=>[l(Ie,{onOnAdd:j}),(C(!0),z(Ce,null,ve(t(e).currentCustomField.options,(r,U)=>(C(),z("div",{key:U,class:"flex items-center mt-5"},[l(q,{modelValue:r.name,"onUpdate:modelValue":Q=>r.name=Q,class:"w-64"},null,8,["modelValue","onUpdate:modelValue"]),l(E,{name:"MinusCircleIcon",class:G(["ml-1 cursor-pointer",t(e).currentCustomField.in_use?"text-gray-300":"text-red-300"]),onClick:Q=>_(U)},null,8,["class","onClick"])]))),128))]),_:1},8,["label"])):M("",!0),l(w,{label:s.$t("settings.custom_fields.default_value"),class:"relative"},{default:u(()=>[(C(),F(be(t(y)),{modelValue:t(e).currentCustomField.default_answer,"onUpdate:modelValue":a[8]||(a[8]=r=>t(e).currentCustomField.default_answer=r),options:t(e).currentCustomField.options,"default-date-time":t(e).currentCustomField.dateTimeValue},null,8,["modelValue","options","default-date-time"]))]),_:1},8,["label"]),t(b)?M("",!0):(C(),F(w,{key:1,label:s.$t("settings.custom_fields.placeholder")},{default:u(()=>[l(q,{modelValue:t(e).currentCustomField.placeholder,"onUpdate:modelValue":a[9]||(a[9]=r=>t(e).currentCustomField.placeholder=r)},null,8,["modelValue"])]),_:1},8,["label"])),l(w,{label:s.$t("settings.custom_fields.order"),error:t(o).currentCustomField.order.$error&&t(o).currentCustomField.order.$errors[0].$message,required:""},{default:u(()=>[l(q,{modelValue:t(e).currentCustomField.order,"onUpdate:modelValue":a[10]||(a[10]=r=>t(e).currentCustomField.order=r),type:"number",invalid:t(o).currentCustomField.order.$error,onInput:a[11]||(a[11]=r=>t(o).currentCustomField.order.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),_:1})])]),O("div",Ee,[l(X,{class:"mr-3",type:"button",variant:"primary-outline",onClick:R},{default:u(()=>[D($(s.$t("general.cancel")),1)]),_:1}),l(X,{variant:"primary",loading:t(v),disabled:t(v),type:"submit"},{left:u(r=>[t(v)?M("",!0):(C(),F(E,{key:0,class:G(r.class),name:"SaveIcon"},null,8,["class"]))]),default:u(()=>[D(" "+$(t(e).isEdit?s.$t("general.update"):s.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,he)]),_:1},8,["show"])}}},ke={class:"text-xs text-gray-500"},Pe={setup(m){const n=Y(),e=K(),i=ae(),v=te("utils"),{t:f}=H(),c=x(null),p=h(()=>[{key:"name",label:f("settings.custom_fields.name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"model_type",label:f("settings.custom_fields.model")},{key:"type",label:f("settings.custom_fields.type")},{key:"is_required",label:f("settings.custom_fields.required")},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]);async function V({page:y,filter:I,sort:B}){let o={orderByField:B.fieldName||"created_at",orderBy:B.order||"desc",page:y},S=await e.fetchCustomFields(o);return{data:S.data.data,pagination:{totalPages:S.data.meta.last_page,currentPage:y,limit:5,totalCount:S.data.meta.total}}}function b(){n.openModal({title:f("settings.custom_fields.add_custom_field"),componentName:"CustomFieldModal",size:"sm",refreshData:c.value&&c.value.refresh})}async function g(){c.value&&c.value.refresh()}return(y,I)=>{const B=d("BaseIcon"),o=d("BaseButton"),S=d("BaseBadge"),L=d("BaseTable"),j=d("BaseSettingCard");return C(),F(j,{title:y.$t("settings.menu_title.custom_fields"),description:y.$t("settings.custom_fields.section_description")},{action:u(()=>[t(i).hasAbilities(t(P).CREATE_CUSTOM_FIELDS)?(C(),F(o,{key:0,variant:"primary-outline",onClick:b},{left:u(_=>[l(B,{class:G(_.class),name:"PlusIcon"},null,8,["class"]),D(" "+$(y.$t("settings.custom_fields.add_custom_field")),1)]),_:1})):M("",!0)]),default:u(()=>[l(qe),l(L,{ref:(_,N)=>{N.table=_,c.value=_},data:V,columns:t(p),class:"mt-16"},ge({"cell-name":u(({row:_})=>[D($(_.data.name)+" ",1),O("span",ke," ("+$(_.data.slug)+")",1)]),"cell-is_required":u(({row:_})=>[l(S,{"bg-color":t(v).getBadgeStatusColor(_.data.is_required?"YES":"NO").bgColor,color:t(v).getBadgeStatusColor(_.data.is_required?"YES":"NO").color},{default:u(()=>[D($(_.data.is_required?y.$t("settings.custom_fields.yes"):y.$t("settings.custom_fields.no").replace("_"," ")),1)]),_:2},1032,["bg-color","color"])]),_:2},[t(i).hasAbilities([t(P).DELETE_CUSTOM_FIELDS,t(P).EDIT_CUSTOM_FIELDS])?{name:"cell-actions",fn:u(({row:_})=>[l(we,{row:_.data,table:c.value,"load-data":g},null,8,["row","table"])])}:void 0]),1032,["columns"])]),_:1},8,["title","description"])}}};export{Pe as default}; diff --git a/public/build/assets/CustomerIndexDropdown.421e91b3.js b/public/build/assets/CustomerIndexDropdown.37892b71.js similarity index 80% rename from public/build/assets/CustomerIndexDropdown.421e91b3.js rename to public/build/assets/CustomerIndexDropdown.37892b71.js index 42d2c3889..be38ca775 100644 --- a/public/build/assets/CustomerIndexDropdown.421e91b3.js +++ b/public/build/assets/CustomerIndexDropdown.37892b71.js @@ -1 +1 @@ -import{k as C,u as S,i as b,d as x,e as g}from"./main.c4ed6aa9.js";import{g as E,u as T,C as $,am as j,r as i,o as a,s,w as t,y as e,b as n,v as p,x as f,A as y}from"./vendor.e9042f2c.js";const V={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:()=>{}}},setup(l){const w=l,_=C();S();const D=b(),m=x(),{t:u}=E(),h=T();$(),j("utils");function B(r){D.openDialog({title:u("general.are_you_sure"),message:u("customers.confirm_delete",1),yesLabel:u("general.ok"),noLabel:u("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(c=>{c&&_.deleteCustomer({ids:[r]}).then(o=>{if(o.data.success)return w.loadData&&w.loadData(),!0})})}return(r,c)=>{const o=i("BaseIcon"),k=i("BaseButton"),d=i("BaseDropdownItem"),v=i("router-link"),I=i("BaseDropdown");return a(),s(I,{"content-loading":e(_).isFetchingViewData},{activator:t(()=>[e(h).name==="customers.view"?(a(),s(k,{key:0,variant:"primary"},{default:t(()=>[n(o,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(a(),s(o,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:t(()=>[e(m).hasAbilities(e(g).EDIT_CUSTOMER)?(a(),s(v,{key:0,to:`/admin/customers/${l.row.id}/edit`},{default:t(()=>[n(d,null,{default:t(()=>[n(o,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),p(" "+f(r.$t("general.edit")),1)]),_:1})]),_:1},8,["to"])):y("",!0),e(h).name!=="customers.view"&&e(m).hasAbilities(e(g).VIEW_CUSTOMER)?(a(),s(v,{key:1,to:`customers/${l.row.id}/view`},{default:t(()=>[n(d,null,{default:t(()=>[n(o,{name:"EyeIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),p(" "+f(r.$t("general.view")),1)]),_:1})]),_:1},8,["to"])):y("",!0),e(m).hasAbilities(e(g).DELETE_CUSTOMER)?(a(),s(d,{key:2,onClick:c[0]||(c[0]=N=>B(l.row.id))},{default:t(()=>[n(o,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),p(" "+f(r.$t("general.delete")),1)]),_:1})):y("",!0)]),_:1},8,["content-loading"])}}};export{V as _}; +import{k as C,u as S,i as b,d as x,e as g}from"./main.f55cd568.js";import{g as E,u as T,C as $,am as j,r as i,o as a,s,w as t,y as e,b as n,v as f,x as p,A as y}from"./vendor.e9042f2c.js";const V={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:()=>{}}},setup(l){const w=l,_=C();S();const D=b(),m=x(),{t:u}=E(),h=T();$(),j("utils");function B(r){D.openDialog({title:u("general.are_you_sure"),message:u("customers.confirm_delete",1),yesLabel:u("general.ok"),noLabel:u("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(c=>{c&&_.deleteCustomer({ids:[r]}).then(o=>{if(o.data.success)return w.loadData&&w.loadData(),!0})})}return(r,c)=>{const o=i("BaseIcon"),k=i("BaseButton"),d=i("BaseDropdownItem"),v=i("router-link"),I=i("BaseDropdown");return a(),s(I,{"content-loading":e(_).isFetchingViewData},{activator:t(()=>[e(h).name==="customers.view"?(a(),s(k,{key:0,variant:"primary"},{default:t(()=>[n(o,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(a(),s(o,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:t(()=>[e(m).hasAbilities(e(g).EDIT_CUSTOMER)?(a(),s(v,{key:0,to:`/admin/customers/${l.row.id}/edit`},{default:t(()=>[n(d,null,{default:t(()=>[n(o,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),f(" "+p(r.$t("general.edit")),1)]),_:1})]),_:1},8,["to"])):y("",!0),e(h).name!=="customers.view"&&e(m).hasAbilities(e(g).VIEW_CUSTOMER)?(a(),s(v,{key:1,to:`customers/${l.row.id}/view`},{default:t(()=>[n(d,null,{default:t(()=>[n(o,{name:"EyeIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),f(" "+p(r.$t("general.view")),1)]),_:1})]),_:1},8,["to"])):y("",!0),e(m).hasAbilities(e(g).DELETE_CUSTOMER)?(a(),s(d,{key:2,onClick:c[0]||(c[0]=N=>B(l.row.id))},{default:t(()=>[n(o,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),f(" "+p(r.$t("general.delete")),1)]),_:1})):y("",!0)]),_:1},8,["content-loading"])}}};export{V as _}; diff --git a/public/build/assets/CustomizationSetting.65372f56.js b/public/build/assets/CustomizationSetting.cb490a99.js similarity index 99% rename from public/build/assets/CustomizationSetting.65372f56.js rename to public/build/assets/CustomizationSetting.cb490a99.js index 35b46299b..710bccbab 100644 --- a/public/build/assets/CustomizationSetting.65372f56.js +++ b/public/build/assets/CustomizationSetting.cb490a99.js @@ -1 +1 @@ -var ut=Object.defineProperty,rt=Object.defineProperties;var dt=Object.getOwnPropertyDescriptors;var et=Object.getOwnPropertySymbols;var ct=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable;var st=(v,o,i)=>o in v?ut(v,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):v[o]=i,x=(v,o)=>{for(var i in o||(o={}))ct.call(o,i)&&st(v,i,o[i]);if(et)for(var i of et(o))_t.call(o,i)&&st(v,i,o[i]);return v},W=(v,o)=>rt(v,dt(o));import{c as N,m as Z,f as pt,j as gt,o as yt,p as ft,g as vt,i as bt}from"./main.c4ed6aa9.js";import{g as P,i as z,k as F,D as St,G as at,a9 as $t,r as d,o as $,c as D,t as c,x as b,b as t,w as r,B as Y,z as G,v as E,F as A,H as Bt,s as k,y as e,A as R,am as M,j as T,m as J,aU as nt,aV as it,q as ot,a0 as H}from"./vendor.e9042f2c.js";import{D as ht,d as zt}from"./DragIcon.9fdb0cc4.js";import{_ as Vt}from"./ItemUnitModal.acaecec7.js";const It={class:"text-gray-900 text-lg font-medium"},xt={class:"mt-1 text-sm text-gray-500"},wt={class:"overflow-x-auto"},Ct={class:"w-full mt-6 table-fixed"},Dt=c("colgroup",null,[c("col",{style:{width:"4%"}}),c("col",{style:{width:"45%"}}),c("col",{style:{width:"27%"}}),c("col",{style:{width:"24%"}})],-1),Ut=c("thead",null,[c("tr",null,[c("th",{class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-left text-gray-700 border-t border-b border-gray-200 border-solid"}),c("th",{class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-left text-gray-700 border-t border-b border-gray-200 border-solid"}," Component "),c("th",{class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-left text-gray-700 border-t border-b border-gray-200 border-solid"}," Parameter "),c("th",{class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-left text-gray-700 border-t border-b border-gray-200 border-solid"})])],-1),Ft={class:"relative"},Et={class:"text-gray-300 cursor-move handle align-middle"},kt={class:"px-5 py-4"},Nt={class:"block text-sm not-italic font-medium text-primary-800 whitespace-nowrap mr-2 min-w-[200px]"},Mt={class:"text-xs text-gray-500 mt-1"},Tt={class:"px-5 py-4 text-left align-middle"},Gt={class:"px-5 py-4 text-right align-middle pt-10"},qt=E(" Remove "),At={colspan:"2",class:"px-5 py-4"},Rt={class:"px-5 py-4 text-right align-middle",colspan:"2"},tt={props:{type:{type:String,required:!0},typeStore:{type:Object,required:!0},defaultSeries:{type:String,default:"INV"}},setup(v){const o=v,{t:i}=P(),p=N(),g=Z(),u=z([]),a=z(!1),m=z([{label:i("settings.customization.series"),description:i("settings.customization.series_description"),name:"SERIES",paramLabel:i("settings.customization.series_param_label"),value:o.defaultSeries,inputDisabled:!1,inputType:"text",allowMultiple:!1},{label:i("settings.customization.sequence"),description:i("settings.customization.sequence_description"),name:"SEQUENCE",paramLabel:i("settings.customization.sequence_param_label"),value:"6",inputDisabled:!1,inputType:"number",allowMultiple:!1},{label:i("settings.customization.delimiter"),description:i("settings.customization.delimiter_description"),name:"DELIMITER",paramLabel:i("settings.customization.delimiter_param_label"),value:"-",inputDisabled:!1,inputType:"text",allowMultiple:!0},{label:i("settings.customization.customer_series"),description:i("settings.customization.customer_series_description"),name:"CUSTOMER_SERIES",paramLabel:"",value:"",inputDisabled:!0,inputType:"text",allowMultiple:!1},{label:i("settings.customization.customer_sequence"),description:i("settings.customization.customer_sequence_description"),name:"CUSTOMER_SEQUENCE",paramLabel:i("settings.customization.customer_sequence_param_label"),value:"6",inputDisabled:!1,inputType:"number",allowMultiple:!1},{label:i("settings.customization.date_format"),description:i("settings.customization.date_format_description"),name:"DATE_FORMAT",paramLabel:i("settings.customization.date_format_param_label"),value:"Y",inputDisabled:!1,inputType:"text",allowMultiple:!0},{label:i("settings.customization.random_sequence"),description:i("settings.customization.random_sequence_description"),name:"RANDOM_SEQUENCE",paramLabel:i("settings.customization.random_sequence_param_label"),value:"6",inputDisabled:!1,inputType:"number",allowMultiple:!1}]),s=F(()=>m.value.filter(function(f){return!u.value.some(function(V){return f.allowMultiple?!1:f.name==V.name})})),_=z(""),n=z(!1),l=z(!1),y=F(()=>{let f="";return u.value.forEach(V=>{let q=`{{${V.name}`;V.value&&(q+=`:${V.value}`),f+=`${q}}}`}),f});St(u,f=>{U()}),B();async function B(){let f={format:p.selectedCompanySettings[`${o.type}_number_format`]};l.value=!0,(await g.fetchPlaceholders(f)).data.placeholders.forEach(q=>{var O;let X=m.value.find(K=>K.name===q.name);const Q=(O=q.value)!=null?O:"";u.value.push(W(x({},X),{value:Q,id:at.raw()}))}),l.value=!1,U()}function C(f){return u.value.find(V=>V.name===f.name)}function h(f){C(f)&&!f.allowMultiple||(u.value.push(W(x({},f),{id:at.raw()})),U())}function S(f){u.value=u.value.filter(function(V){return f.id!==V.id})}function w(f,V){switch(V.name){case"SERIES":f.length>=4&&(f=f.substring(0,4));break;case"DELIMITER":f.length>=1&&(f=f.substring(0,1));break}setTimeout(()=>{V.value=f,U()},100)}const U=$t(()=>{j()},500);async function j(){if(!y.value){_.value="";return}let f={key:o.type,format:y.value};n.value=!0;let V=await o.typeStore.getNextNumber(f);n.value=!1,V.data&&(_.value=V.data.nextNumber)}async function lt(){if(n.value||l.value)return;a.value=!0;let f={settings:{}};return f.settings[o.type+"_number_format"]=y.value,await p.updateCompanySettings({data:f,message:`settings.customization.${o.type}s.${o.type}_settings_updated`}),a.value=!1,!0}return(f,V)=>{const q=d("BaseInput"),X=d("BaseInputGroup"),Q=d("BaseIcon"),O=d("BaseButton"),K=d("BaseDropdownItem"),mt=d("BaseDropdown");return $(),D(A,null,[c("h6",It,b(f.$t(`settings.customization.${v.type}s.${v.type}_number_format`)),1),c("p",xt,b(f.$t(`settings.customization.${v.type}s.${v.type}_number_format_description`)),1),c("div",wt,[c("table",Ct,[Dt,Ut,t(e(zt),{modelValue:u.value,"onUpdate:modelValue":V[1]||(V[1]=I=>u.value=I),class:"divide-y divide-gray-200","item-key":"id",tag:"tbody",handle:".handle",filter:".ignore-element"},{item:r(({element:I})=>[c("tr",Ft,[c("td",Et,[t(ht)]),c("td",kt,[c("label",Nt,b(I.label),1),c("p",Mt,b(I.description),1)]),c("td",Tt,[t(X,{label:I.paramLabel,class:"lg:col-span-3",required:""},{default:r(()=>[t(q,{modelValue:I.value,"onUpdate:modelValue":[L=>I.value=L,L=>w(L,I)],disabled:I.inputDisabled,type:I.inputType},null,8,["modelValue","onUpdate:modelValue","disabled","type"])]),_:2},1032,["label"])]),c("td",Gt,[t(O,{variant:"white",onClick:Y(L=>S(I),["prevent"])},{left:r(L=>[t(Q,{name:"XIcon",class:G(["!sm:m-0",L.class])},null,8,["class"])]),default:r(()=>[qt]),_:2},1032,["onClick"])])])]),footer:r(()=>[c("tr",null,[c("td",At,[t(X,{label:f.$t(`settings.customization.${v.type}s.preview_${v.type}_number`)},{default:r(()=>[t(q,{modelValue:_.value,"onUpdate:modelValue":V[0]||(V[0]=I=>_.value=I),disabled:"",loading:n.value},null,8,["modelValue","loading"])]),_:1},8,["label"])]),c("td",Rt,[t(mt,{"wrapper-class":"flex items-center justify-end mt-5"},{activator:r(()=>[t(O,{variant:"primary-outline"},{left:r(I=>[t(Q,{class:G(I.class),name:"PlusIcon"},null,8,["class"])]),default:r(()=>[E(" "+b(f.$t("settings.customization.add_new_component")),1)]),_:1})]),default:r(()=>[($(!0),D(A,null,Bt(e(s),I=>($(),k(K,{key:I.label,onClick:Y(L=>h(I),["prevent"])},{default:r(()=>[E(b(I.label),1)]),_:2},1032,["onClick"]))),128))]),_:1})])])]),_:1},8,["modelValue"])])]),t(O,{loading:a.value,disabled:a.value,variant:"primary",type:"submit",class:"mt-4",onClick:lt},{left:r(I=>[a.value?R("",!0):($(),k(Q,{key:0,class:G(I.class),name:"SaveIcon"},null,8,["class"]))]),default:r(()=>[E(" "+b(f.$t("settings.customization.save")),1)]),_:1},8,["loading","disabled"])],64)}}},Lt={setup(v){const o=pt();return(i,p)=>($(),k(tt,{type:"invoice","type-store":e(o),"default-series":"INV"},null,8,["type-store"]))}},Yt={class:"text-gray-900 text-lg font-medium"},Ot={class:"mt-1 text-sm text-gray-500"},Pt={setup(v){const{t:o,tm:i}=P(),p=N(),g=Z(),u=M("utils"),a=T({retrospective_edits:null});u.mergeSettings(a,x({},p.selectedCompanySettings)),F(()=>g.config.retrospective_edits.map(s=>(s.title=o(s.key),s)));async function m(){let s={settings:x({},a)};return await p.updateCompanySettings({data:s,message:"settings.customization.invoices.invoice_settings_updated"}),!0}return(s,_)=>{const n=d("BaseRadio"),l=d("BaseInputGroup");return $(),D(A,null,[c("h6",Yt,b(s.$tc("settings.customization.invoices.retrospective_edits")),1),c("p",Ot,b(s.$t("settings.customization.invoices.retrospective_edits_description")),1),t(l,{required:""},{default:r(()=>[t(n,{id:"allow",modelValue:e(a).retrospective_edits,"onUpdate:modelValue":[_[0]||(_[0]=y=>e(a).retrospective_edits=y),m],label:s.$t("settings.customization.invoices.allow"),size:"sm",name:"filter",value:"allow",class:"mt-2"},null,8,["modelValue","label"]),t(n,{id:"disable_on_invoice_partial_paid",modelValue:e(a).retrospective_edits,"onUpdate:modelValue":[_[1]||(_[1]=y=>e(a).retrospective_edits=y),m],label:s.$t("settings.customization.invoices.disable_on_invoice_partial_paid"),size:"sm",name:"filter",value:"disable_on_invoice_partial_paid",class:"mt-2"},null,8,["modelValue","label"]),t(n,{id:"disable_on_invoice_paid",modelValue:e(a).retrospective_edits,"onUpdate:modelValue":[_[2]||(_[2]=y=>e(a).retrospective_edits=y),m],label:s.$t("settings.customization.invoices.disable_on_invoice_paid"),size:"sm",name:"filter",value:"disable_on_invoice_paid",class:"my-2"},null,8,["modelValue","label"]),t(n,{id:"disable_on_invoice_sent",modelValue:e(a).retrospective_edits,"onUpdate:modelValue":[_[3]||(_[3]=y=>e(a).retrospective_edits=y),m],label:s.$t("settings.customization.invoices.disable_on_invoice_sent"),size:"sm",name:"filter",value:"disable_on_invoice_sent"},null,8,["modelValue","label"])]),_:1})],64)}}},jt=["onSubmit"],Qt={class:"text-gray-900 text-lg font-medium"},Ht={class:"mt-1 text-sm text-gray-500 mb-2"},Xt={class:"w-full sm:w-1/2 md:w-1/4 lg:w-1/5"},Jt={setup(v){const{t:o}=P(),i=N(),p=M("utils");let g=z(!1);const u=T({invoice_set_due_date_automatically:null,invoice_due_date_days:null});p.mergeSettings(u,x({},i.selectedCompanySettings));const a=F({get:()=>u.invoice_set_due_date_automatically==="YES",set:async n=>{const l=n?"YES":"NO";u.invoice_set_due_date_automatically=l}}),m=F(()=>({dueDateSettings:{invoice_due_date_days:{required:J.withMessage(o("validation.required"),nt(a.value)),numeric:J.withMessage(o("validation.numbers_only"),it)}}})),s=ot(m,{dueDateSettings:u});async function _(){if(s.value.dueDateSettings.$touch(),s.value.dueDateSettings.$invalid)return!1;g.value=!0;let n={settings:x({},u)};return a.value||delete n.settings.invoice_due_date_days,await i.updateCompanySettings({data:n,message:"settings.customization.invoices.invoice_settings_updated"}),g.value=!1,!0}return(n,l)=>{const y=d("BaseSwitchSection"),B=d("BaseInput"),C=d("BaseInputGroup"),h=d("BaseIcon"),S=d("BaseButton");return $(),D("form",{onSubmit:Y(_,["prevent"])},[c("h6",Qt,b(n.$t("settings.customization.invoices.due_date")),1),c("p",Ht,b(n.$t("settings.customization.invoices.due_date_description")),1),t(y,{modelValue:e(a),"onUpdate:modelValue":l[0]||(l[0]=w=>H(a)?a.value=w:null),title:n.$t("settings.customization.invoices.set_due_date_automatically"),description:n.$t("settings.customization.invoices.set_due_date_automatically_description")},null,8,["modelValue","title","description"]),e(a)?($(),k(C,{key:0,label:n.$t("settings.customization.invoices.due_date_days"),error:e(s).dueDateSettings.invoice_due_date_days.$error&&e(s).dueDateSettings.invoice_due_date_days.$errors[0].$message,class:"mt-2 mb-4"},{default:r(()=>[c("div",Xt,[t(B,{modelValue:e(u).invoice_due_date_days,"onUpdate:modelValue":l[1]||(l[1]=w=>e(u).invoice_due_date_days=w),invalid:e(s).dueDateSettings.invoice_due_date_days.$error,type:"number",onInput:l[2]||(l[2]=w=>e(s).dueDateSettings.invoice_due_date_days.$touch())},null,8,["modelValue","invalid"])])]),_:1},8,["label","error"])):R("",!0),t(S,{loading:e(g),disabled:e(g),variant:"primary",type:"submit",class:"mt-4"},{left:r(w=>[e(g)?R("",!0):($(),k(h,{key:0,class:G(w.class),name:"SaveIcon"},null,8,["class"]))]),default:r(()=>[E(" "+b(n.$t("settings.customization.save")),1)]),_:1},8,["loading","disabled"])],40,jt)}}},Kt=["onSubmit"],Wt={class:"text-gray-900 text-lg font-medium"},Zt={class:"mt-1 text-sm text-gray-500 mb-2"},te={setup(v){const o=N(),i=M("utils"),p=z(["customer","customerCustom","invoice","invoiceCustom","company"]),g=z(["billing","customer","customerCustom","invoiceCustom"]),u=z(["shipping","customer","customerCustom","invoiceCustom"]),a=z(["company","invoiceCustom"]);let m=z(!1);const s=T({invoice_mail_body:null,invoice_company_address_format:null,invoice_shipping_address_format:null,invoice_billing_address_format:null});i.mergeSettings(s,x({},o.selectedCompanySettings));async function _(){m.value=!0;let n={settings:x({},s)};return await o.updateCompanySettings({data:n,message:"settings.customization.invoices.invoice_settings_updated"}),m.value=!1,!0}return(n,l)=>{const y=d("BaseCustomInput"),B=d("BaseInputGroup"),C=d("BaseIcon"),h=d("BaseButton");return $(),D("form",{onSubmit:Y(_,["prevent"])},[c("h6",Wt,b(n.$t("settings.customization.invoices.default_formats")),1),c("p",Zt,b(n.$t("settings.customization.invoices.default_formats_description")),1),t(B,{label:n.$t("settings.customization.invoices.default_invoice_email_body"),class:"mt-6 mb-4"},{default:r(()=>[t(y,{modelValue:e(s).invoice_mail_body,"onUpdate:modelValue":l[0]||(l[0]=S=>e(s).invoice_mail_body=S),fields:p.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(B,{label:n.$t("settings.customization.invoices.company_address_format"),class:"mt-6 mb-4"},{default:r(()=>[t(y,{modelValue:e(s).invoice_company_address_format,"onUpdate:modelValue":l[1]||(l[1]=S=>e(s).invoice_company_address_format=S),fields:a.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(B,{label:n.$t("settings.customization.invoices.shipping_address_format"),class:"mt-6 mb-4"},{default:r(()=>[t(y,{modelValue:e(s).invoice_shipping_address_format,"onUpdate:modelValue":l[2]||(l[2]=S=>e(s).invoice_shipping_address_format=S),fields:u.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(B,{label:n.$t("settings.customization.invoices.billing_address_format"),class:"mt-6 mb-4"},{default:r(()=>[t(y,{modelValue:e(s).invoice_billing_address_format,"onUpdate:modelValue":l[3]||(l[3]=S=>e(s).invoice_billing_address_format=S),fields:g.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(h,{loading:e(m),disabled:e(m),variant:"primary",type:"submit",class:"mt-4"},{left:r(S=>[e(m)?R("",!0):($(),k(C,{key:0,class:G(S.class),name:"SaveIcon"},null,8,["class"]))]),default:r(()=>[E(" "+b(n.$t("settings.customization.save")),1)]),_:1},8,["loading","disabled"])],40,Kt)}}},ee={class:"divide-y divide-gray-200"},se={setup(v){const o=M("utils"),i=N(),p=T({invoice_email_attachment:null});o.mergeSettings(p,x({},i.selectedCompanySettings));const g=F({get:()=>p.invoice_email_attachment==="YES",set:async u=>{const a=u?"YES":"NO";let m={settings:{invoice_email_attachment:a}};p.invoice_email_attachment=a,await i.updateCompanySettings({data:m,message:"general.setting_updated"})}});return(u,a)=>{const m=d("BaseDivider"),s=d("BaseSwitchSection");return $(),D(A,null,[t(Lt),t(m,{class:"my-8"}),t(Jt),t(m,{class:"my-8"}),t(Pt),t(m,{class:"my-8"}),t(te),t(m,{class:"mt-6 mb-2"}),c("ul",ee,[t(s,{modelValue:e(g),"onUpdate:modelValue":a[0]||(a[0]=_=>H(g)?g.value=_:null),title:u.$t("settings.customization.invoices.invoice_email_attachment"),description:u.$t("settings.customization.invoices.invoice_email_attachment_setting_description")},null,8,["modelValue","title","description"])])],64)}}},ae={setup(v){const o=gt();return(i,p)=>($(),k(tt,{type:"estimate","type-store":e(o),"default-series":"EST"},null,8,["type-store"]))}},ne=["onSubmit"],ie={class:"text-gray-900 text-lg font-medium"},oe={class:"mt-1 text-sm text-gray-500 mb-2"},le={class:"w-full sm:w-1/2 md:w-1/4 lg:w-1/5"},me={setup(v){const{t:o}=P(),i=N(),p=M("utils");let g=z(!1);const u=T({estimate_set_expiry_date_automatically:null,estimate_expiry_date_days:null});p.mergeSettings(u,x({},i.selectedCompanySettings));const a=F({get:()=>u.estimate_set_expiry_date_automatically==="YES",set:async n=>{const l=n?"YES":"NO";u.estimate_set_expiry_date_automatically=l}}),m=F(()=>({expiryDateSettings:{estimate_expiry_date_days:{required:J.withMessage(o("validation.required"),nt(a.value)),numeric:J.withMessage(o("validation.numbers_only"),it)}}})),s=ot(m,{expiryDateSettings:u});async function _(){if(s.value.expiryDateSettings.$touch(),s.value.expiryDateSettings.$invalid)return!1;g.value=!0;let n={settings:x({},u)};return a.value||delete n.settings.estimate_expiry_date_days,await i.updateCompanySettings({data:n,message:"settings.customization.estimates.estimate_settings_updated"}),g.value=!1,!0}return(n,l)=>{const y=d("BaseSwitchSection"),B=d("BaseInput"),C=d("BaseInputGroup"),h=d("BaseIcon"),S=d("BaseButton");return $(),D("form",{onSubmit:Y(_,["prevent"])},[c("h6",ie,b(n.$t("settings.customization.estimates.expiry_date")),1),c("p",oe,b(n.$t("settings.customization.estimates.expiry_date_description")),1),t(y,{modelValue:e(a),"onUpdate:modelValue":l[0]||(l[0]=w=>H(a)?a.value=w:null),title:n.$t("settings.customization.estimates.set_expiry_date_automatically"),description:n.$t("settings.customization.estimates.set_expiry_date_automatically_description")},null,8,["modelValue","title","description"]),e(a)?($(),k(C,{key:0,label:n.$t("settings.customization.estimates.expiry_date_days"),error:e(s).expiryDateSettings.estimate_expiry_date_days.$error&&e(s).expiryDateSettings.estimate_expiry_date_days.$errors[0].$message,class:"mt-2 mb-4"},{default:r(()=>[c("div",le,[t(B,{modelValue:e(u).estimate_expiry_date_days,"onUpdate:modelValue":l[1]||(l[1]=w=>e(u).estimate_expiry_date_days=w),invalid:e(s).expiryDateSettings.estimate_expiry_date_days.$error,type:"number",onInput:l[2]||(l[2]=w=>e(s).expiryDateSettings.estimate_expiry_date_days.$touch())},null,8,["modelValue","invalid"])])]),_:1},8,["label","error"])):R("",!0),t(S,{loading:e(g),disabled:e(g),variant:"primary",type:"submit",class:"mt-4"},{left:r(w=>[e(g)?R("",!0):($(),k(h,{key:0,class:G(w.class),name:"SaveIcon"},null,8,["class"]))]),default:r(()=>[E(" "+b(n.$t("settings.customization.save")),1)]),_:1},8,["loading","disabled"])],40,ne)}}},ue=["onSubmit"],re={class:"text-gray-900 text-lg font-medium"},de={class:"mt-1 text-sm text-gray-500 mb-2"},ce={setup(v){const o=N(),i=M("utils"),p=z(["customer","customerCustom","estimate","estimateCustom","company"]),g=z(["billing","customer","customerCustom","estimateCustom"]),u=z(["shipping","customer","customerCustom","estimateCustom"]),a=z(["company","estimateCustom"]);let m=z(!1);const s=T({estimate_mail_body:null,estimate_company_address_format:null,estimate_shipping_address_format:null,estimate_billing_address_format:null});i.mergeSettings(s,x({},o.selectedCompanySettings));async function _(){m.value=!0;let n={settings:x({},s)};return await o.updateCompanySettings({data:n,message:"settings.customization.estimates.estimate_settings_updated"}),m.value=!1,!0}return(n,l)=>{const y=d("BaseCustomInput"),B=d("BaseInputGroup"),C=d("BaseIcon"),h=d("BaseButton");return $(),D("form",{onSubmit:Y(_,["prevent"])},[c("h6",re,b(n.$t("settings.customization.estimates.default_formats")),1),c("p",de,b(n.$t("settings.customization.estimates.default_formats_description")),1),t(B,{label:n.$t("settings.customization.estimates.default_estimate_email_body"),class:"mt-6 mb-4"},{default:r(()=>[t(y,{modelValue:e(s).estimate_mail_body,"onUpdate:modelValue":l[0]||(l[0]=S=>e(s).estimate_mail_body=S),fields:p.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(B,{label:n.$t("settings.customization.estimates.company_address_format"),class:"mt-6 mb-4"},{default:r(()=>[t(y,{modelValue:e(s).estimate_company_address_format,"onUpdate:modelValue":l[1]||(l[1]=S=>e(s).estimate_company_address_format=S),fields:a.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(B,{label:n.$t("settings.customization.estimates.shipping_address_format"),class:"mt-6 mb-4"},{default:r(()=>[t(y,{modelValue:e(s).estimate_shipping_address_format,"onUpdate:modelValue":l[2]||(l[2]=S=>e(s).estimate_shipping_address_format=S),fields:u.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(B,{label:n.$t("settings.customization.estimates.billing_address_format"),class:"mt-6 mb-4"},{default:r(()=>[t(y,{modelValue:e(s).estimate_billing_address_format,"onUpdate:modelValue":l[3]||(l[3]=S=>e(s).estimate_billing_address_format=S),fields:g.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(h,{loading:e(m),disabled:e(m),variant:"primary",type:"submit",class:"mt-4"},{left:r(S=>[e(m)?R("",!0):($(),k(C,{key:0,class:G(S.class),name:"SaveIcon"},null,8,["class"]))]),default:r(()=>[E(" "+b(n.$t("settings.customization.save")),1)]),_:1},8,["loading","disabled"])],40,ue)}}},_e={class:"text-gray-900 text-lg font-medium"},pe={class:"mt-1 text-sm text-gray-500"},ge={setup(v){const{t:o,tm:i}=P(),p=N(),g=Z(),u=M("utils"),a=T({estimate_convert_action:null});u.mergeSettings(a,x({},p.selectedCompanySettings)),F(()=>g.config.estimate_convert_action.map(s=>(s.title=o(s.key),s)));async function m(){let s={settings:x({},a)};return await p.updateCompanySettings({data:s,message:"settings.customization.estimates.estimate_settings_updated"}),!0}return(s,_)=>{const n=d("BaseRadio"),l=d("BaseInputGroup");return $(),D(A,null,[c("h6",_e,b(s.$tc("settings.customization.estimates.convert_estimate_options")),1),c("p",pe,b(s.$t("settings.customization.estimates.convert_estimate_description")),1),t(l,{required:""},{default:r(()=>[t(n,{id:"no_action",modelValue:e(a).estimate_convert_action,"onUpdate:modelValue":[_[0]||(_[0]=y=>e(a).estimate_convert_action=y),m],label:s.$t("settings.customization.estimates.no_action"),size:"sm",name:"filter",value:"no_action",class:"mt-2"},null,8,["modelValue","label"]),t(n,{id:"delete_estimate",modelValue:e(a).estimate_convert_action,"onUpdate:modelValue":[_[1]||(_[1]=y=>e(a).estimate_convert_action=y),m],label:s.$t("settings.customization.estimates.delete_estimate"),size:"sm",name:"filter",value:"delete_estimate",class:"my-2"},null,8,["modelValue","label"]),t(n,{id:"mark_estimate_as_accepted",modelValue:e(a).estimate_convert_action,"onUpdate:modelValue":[_[2]||(_[2]=y=>e(a).estimate_convert_action=y),m],label:s.$t("settings.customization.estimates.mark_estimate_as_accepted"),size:"sm",name:"filter",value:"mark_estimate_as_accepted"},null,8,["modelValue","label"])]),_:1})],64)}}},ye={class:"divide-y divide-gray-200"},fe={setup(v){const o=M("utils"),i=N(),p=T({estimate_email_attachment:null});o.mergeSettings(p,x({},i.selectedCompanySettings));const g=F({get:()=>p.estimate_email_attachment==="YES",set:async u=>{const a=u?"YES":"NO";let m={settings:{estimate_email_attachment:a}};p.estimate_email_attachment=a,await i.updateCompanySettings({data:m,message:"general.setting_updated"})}});return(u,a)=>{const m=d("BaseDivider"),s=d("BaseSwitchSection");return $(),D(A,null,[t(ae),t(m,{class:"my-8"}),t(me),t(m,{class:"my-8"}),t(ge),t(m,{class:"my-8"}),t(ce),t(m,{class:"mt-6 mb-2"}),c("ul",ye,[t(s,{modelValue:e(g),"onUpdate:modelValue":a[0]||(a[0]=_=>H(g)?g.value=_:null),title:u.$t("settings.customization.estimates.estimate_email_attachment"),description:u.$t("settings.customization.estimates.estimate_email_attachment_setting_description")},null,8,["modelValue","title","description"])])],64)}}},ve={setup(v){const o=yt();return(i,p)=>($(),k(tt,{type:"payment","type-store":e(o),"default-series":"PAY"},null,8,["type-store"]))}},be=["onSubmit"],Se={class:"text-gray-900 text-lg font-medium"},$e={class:"mt-1 text-sm text-gray-500 mb-2"},Be={setup(v){const o=N(),i=M("utils"),p=z(["customer","customerCustom","company","payment","paymentCustom"]),g=z(["billing","customer","customerCustom","paymentCustom"]),u=z(["company","paymentCustom"]);let a=z(!1);const m=T({payment_mail_body:null,payment_company_address_format:null,payment_from_customer_address_format:null});i.mergeSettings(m,x({},o.selectedCompanySettings));async function s(){a.value=!0;let _={settings:x({},m)};return await o.updateCompanySettings({data:_,message:"settings.customization.payments.payment_settings_updated"}),a.value=!1,!0}return(_,n)=>{const l=d("BaseCustomInput"),y=d("BaseInputGroup"),B=d("BaseIcon"),C=d("BaseButton");return $(),D("form",{onSubmit:Y(s,["prevent"])},[c("h6",Se,b(_.$t("settings.customization.payments.default_formats")),1),c("p",$e,b(_.$t("settings.customization.payments.default_formats_description")),1),t(y,{label:_.$t("settings.customization.payments.default_payment_email_body"),class:"mt-6 mb-4"},{default:r(()=>[t(l,{modelValue:e(m).payment_mail_body,"onUpdate:modelValue":n[0]||(n[0]=h=>e(m).payment_mail_body=h),fields:p.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(y,{label:_.$t("settings.customization.payments.company_address_format"),class:"mt-6 mb-4"},{default:r(()=>[t(l,{modelValue:e(m).payment_company_address_format,"onUpdate:modelValue":n[1]||(n[1]=h=>e(m).payment_company_address_format=h),fields:u.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(y,{label:_.$t("settings.customization.payments.from_customer_address_format"),class:"mt-6 mb-4"},{default:r(()=>[t(l,{modelValue:e(m).payment_from_customer_address_format,"onUpdate:modelValue":n[2]||(n[2]=h=>e(m).payment_from_customer_address_format=h),fields:g.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(C,{loading:e(a),disabled:e(a),variant:"primary",type:"submit",class:"mt-4"},{left:r(h=>[e(a)?R("",!0):($(),k(B,{key:0,class:G(h.class),name:"SaveIcon"},null,8,["class"]))]),default:r(()=>[E(" "+b(_.$t("settings.customization.save")),1)]),_:1},8,["loading","disabled"])],40,be)}}},he={class:"divide-y divide-gray-200"},ze={setup(v){const o=M("utils"),i=N(),p=T({payment_email_attachment:null});o.mergeSettings(p,x({},i.selectedCompanySettings));const g=F({get:()=>p.payment_email_attachment==="YES",set:async u=>{const a=u?"YES":"NO";let m={settings:{payment_email_attachment:a}};p.payment_email_attachment=a,await i.updateCompanySettings({data:m,message:"general.setting_updated"})}});return(u,a)=>{const m=d("BaseDivider"),s=d("BaseSwitchSection");return $(),D(A,null,[t(ve),t(m,{class:"my-8"}),t(Be),t(m,{class:"mt-6 mb-2"}),c("ul",he,[t(s,{modelValue:e(g),"onUpdate:modelValue":a[0]||(a[0]=_=>H(g)?g.value=_:null),title:u.$t("settings.customization.payments.payment_email_attachment"),description:u.$t("settings.customization.payments.payment_email_attachment_setting_description")},null,8,["modelValue","title","description"])])],64)}}},Ve={class:"flex flex-wrap justify-end mt-2 lg:flex-nowrap"},Ie={class:"inline-block"},xe={setup(v){const{t:o}=P(),i=z(null),p=ft(),g=vt(),u=bt(),a=F(()=>[{key:"name",label:o("settings.customization.items.unit_name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]);async function m({page:l,filter:y,sort:B}){let C={orderByField:B.fieldName||"created_at",orderBy:B.order||"desc",page:l},h=await p.fetchItemUnits(C);return{data:h.data.data,pagination:{totalPages:h.data.meta.last_page,currentPage:l,totalCount:h.data.meta.total,limit:5}}}async function s(){g.openModal({title:o("settings.customization.items.add_item_unit"),componentName:"ItemUnitModal",refreshData:i.value.refresh,size:"sm"})}async function _(l){p.fetchItemUnit(l.data.id),g.openModal({title:o("settings.customization.items.edit_item_unit"),componentName:"ItemUnitModal",id:l.data.id,data:l.data,refreshData:i.value&&i.value.refresh})}function n(l){u.openDialog({title:o("general.are_you_sure"),message:o("settings.customization.items.item_unit_confirm_delete"),yesLabel:o("general.yes"),noLabel:o("general.no"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async y=>{y&&(await p.deleteItemUnit(l.data.id),i.value&&i.value.refresh())})}return(l,y)=>{const B=d("BaseIcon"),C=d("BaseButton"),h=d("BaseDropdownItem"),S=d("BaseDropdown"),w=d("BaseTable");return $(),D(A,null,[t(Vt),c("div",Ve,[t(C,{variant:"primary-outline",onClick:s},{left:r(U=>[t(B,{class:G(U.class),name:"PlusIcon"},null,8,["class"])]),default:r(()=>[E(" "+b(l.$t("settings.customization.items.add_item_unit")),1)]),_:1})]),t(w,{ref:(U,j)=>{j.table=U,i.value=U},class:"mt-10",data:m,columns:e(a)},{"cell-actions":r(({row:U})=>[t(S,null,{activator:r(()=>[c("div",Ie,[t(B,{name:"DotsHorizontalIcon",class:"text-gray-500"})])]),default:r(()=>[t(h,{onClick:j=>_(U)},{default:r(()=>[t(B,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),E(" "+b(l.$t("general.edit")),1)]),_:2},1032,["onClick"]),t(h,{onClick:j=>n(U)},{default:r(()=>[t(B,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),E(" "+b(l.$t("general.delete")),1)]),_:2},1032,["onClick"])]),_:2},1024)]),_:1},8,["columns"])],64)}}},we={class:"relative"},ke={setup(v){return(o,i)=>{const p=d("BaseTab"),g=d("BaseTabGroup"),u=d("BaseCard");return $(),D("div",we,[t(u,{"container-class":"px-4 py-5 sm:px-8 sm:py-2"},{default:r(()=>[t(g,null,{default:r(()=>[t(p,{"tab-panel-container":"py-4 mt-px",title:o.$t("settings.customization.invoices.title")},{default:r(()=>[t(se)]),_:1},8,["title"]),t(p,{"tab-panel-container":"py-4 mt-px",title:o.$t("settings.customization.estimates.title")},{default:r(()=>[t(fe)]),_:1},8,["title"]),t(p,{"tab-panel-container":"py-4 mt-px",title:o.$t("settings.customization.payments.title")},{default:r(()=>[t(ze)]),_:1},8,["title"]),t(p,{"tab-panel-container":"py-4 mt-px",title:o.$t("settings.customization.items.title")},{default:r(()=>[t(xe)]),_:1},8,["title"])]),_:1})]),_:1})])}}};export{ke as default}; +var ut=Object.defineProperty,rt=Object.defineProperties;var dt=Object.getOwnPropertyDescriptors;var et=Object.getOwnPropertySymbols;var ct=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable;var st=(v,o,i)=>o in v?ut(v,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):v[o]=i,x=(v,o)=>{for(var i in o||(o={}))ct.call(o,i)&&st(v,i,o[i]);if(et)for(var i of et(o))_t.call(o,i)&&st(v,i,o[i]);return v},W=(v,o)=>rt(v,dt(o));import{c as N,m as Z,f as pt,j as gt,o as yt,p as ft,g as vt,i as bt}from"./main.f55cd568.js";import{g as P,i as z,k as F,D as St,G as at,a9 as $t,r as d,o as $,c as D,t as c,x as b,b as t,w as r,B as Y,z as G,v as E,F as A,H as Bt,s as k,y as e,A as R,am as M,j as T,m as J,aU as nt,aV as it,q as ot,a0 as H}from"./vendor.e9042f2c.js";import{D as ht,d as zt}from"./DragIcon.0cd95723.js";import{_ as Vt}from"./ItemUnitModal.cb16f673.js";const It={class:"text-gray-900 text-lg font-medium"},xt={class:"mt-1 text-sm text-gray-500"},wt={class:"overflow-x-auto"},Ct={class:"w-full mt-6 table-fixed"},Dt=c("colgroup",null,[c("col",{style:{width:"4%"}}),c("col",{style:{width:"45%"}}),c("col",{style:{width:"27%"}}),c("col",{style:{width:"24%"}})],-1),Ut=c("thead",null,[c("tr",null,[c("th",{class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-left text-gray-700 border-t border-b border-gray-200 border-solid"}),c("th",{class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-left text-gray-700 border-t border-b border-gray-200 border-solid"}," Component "),c("th",{class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-left text-gray-700 border-t border-b border-gray-200 border-solid"}," Parameter "),c("th",{class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-left text-gray-700 border-t border-b border-gray-200 border-solid"})])],-1),Ft={class:"relative"},Et={class:"text-gray-300 cursor-move handle align-middle"},kt={class:"px-5 py-4"},Nt={class:"block text-sm not-italic font-medium text-primary-800 whitespace-nowrap mr-2 min-w-[200px]"},Mt={class:"text-xs text-gray-500 mt-1"},Tt={class:"px-5 py-4 text-left align-middle"},Gt={class:"px-5 py-4 text-right align-middle pt-10"},qt=E(" Remove "),At={colspan:"2",class:"px-5 py-4"},Rt={class:"px-5 py-4 text-right align-middle",colspan:"2"},tt={props:{type:{type:String,required:!0},typeStore:{type:Object,required:!0},defaultSeries:{type:String,default:"INV"}},setup(v){const o=v,{t:i}=P(),p=N(),g=Z(),u=z([]),a=z(!1),m=z([{label:i("settings.customization.series"),description:i("settings.customization.series_description"),name:"SERIES",paramLabel:i("settings.customization.series_param_label"),value:o.defaultSeries,inputDisabled:!1,inputType:"text",allowMultiple:!1},{label:i("settings.customization.sequence"),description:i("settings.customization.sequence_description"),name:"SEQUENCE",paramLabel:i("settings.customization.sequence_param_label"),value:"6",inputDisabled:!1,inputType:"number",allowMultiple:!1},{label:i("settings.customization.delimiter"),description:i("settings.customization.delimiter_description"),name:"DELIMITER",paramLabel:i("settings.customization.delimiter_param_label"),value:"-",inputDisabled:!1,inputType:"text",allowMultiple:!0},{label:i("settings.customization.customer_series"),description:i("settings.customization.customer_series_description"),name:"CUSTOMER_SERIES",paramLabel:"",value:"",inputDisabled:!0,inputType:"text",allowMultiple:!1},{label:i("settings.customization.customer_sequence"),description:i("settings.customization.customer_sequence_description"),name:"CUSTOMER_SEQUENCE",paramLabel:i("settings.customization.customer_sequence_param_label"),value:"6",inputDisabled:!1,inputType:"number",allowMultiple:!1},{label:i("settings.customization.date_format"),description:i("settings.customization.date_format_description"),name:"DATE_FORMAT",paramLabel:i("settings.customization.date_format_param_label"),value:"Y",inputDisabled:!1,inputType:"text",allowMultiple:!0},{label:i("settings.customization.random_sequence"),description:i("settings.customization.random_sequence_description"),name:"RANDOM_SEQUENCE",paramLabel:i("settings.customization.random_sequence_param_label"),value:"6",inputDisabled:!1,inputType:"number",allowMultiple:!1}]),s=F(()=>m.value.filter(function(f){return!u.value.some(function(V){return f.allowMultiple?!1:f.name==V.name})})),_=z(""),n=z(!1),l=z(!1),y=F(()=>{let f="";return u.value.forEach(V=>{let q=`{{${V.name}`;V.value&&(q+=`:${V.value}`),f+=`${q}}}`}),f});St(u,f=>{U()}),B();async function B(){let f={format:p.selectedCompanySettings[`${o.type}_number_format`]};l.value=!0,(await g.fetchPlaceholders(f)).data.placeholders.forEach(q=>{var O;let X=m.value.find(K=>K.name===q.name);const Q=(O=q.value)!=null?O:"";u.value.push(W(x({},X),{value:Q,id:at.raw()}))}),l.value=!1,U()}function C(f){return u.value.find(V=>V.name===f.name)}function h(f){C(f)&&!f.allowMultiple||(u.value.push(W(x({},f),{id:at.raw()})),U())}function S(f){u.value=u.value.filter(function(V){return f.id!==V.id})}function w(f,V){switch(V.name){case"SERIES":f.length>=4&&(f=f.substring(0,4));break;case"DELIMITER":f.length>=1&&(f=f.substring(0,1));break}setTimeout(()=>{V.value=f,U()},100)}const U=$t(()=>{j()},500);async function j(){if(!y.value){_.value="";return}let f={key:o.type,format:y.value};n.value=!0;let V=await o.typeStore.getNextNumber(f);n.value=!1,V.data&&(_.value=V.data.nextNumber)}async function lt(){if(n.value||l.value)return;a.value=!0;let f={settings:{}};return f.settings[o.type+"_number_format"]=y.value,await p.updateCompanySettings({data:f,message:`settings.customization.${o.type}s.${o.type}_settings_updated`}),a.value=!1,!0}return(f,V)=>{const q=d("BaseInput"),X=d("BaseInputGroup"),Q=d("BaseIcon"),O=d("BaseButton"),K=d("BaseDropdownItem"),mt=d("BaseDropdown");return $(),D(A,null,[c("h6",It,b(f.$t(`settings.customization.${v.type}s.${v.type}_number_format`)),1),c("p",xt,b(f.$t(`settings.customization.${v.type}s.${v.type}_number_format_description`)),1),c("div",wt,[c("table",Ct,[Dt,Ut,t(e(zt),{modelValue:u.value,"onUpdate:modelValue":V[1]||(V[1]=I=>u.value=I),class:"divide-y divide-gray-200","item-key":"id",tag:"tbody",handle:".handle",filter:".ignore-element"},{item:r(({element:I})=>[c("tr",Ft,[c("td",Et,[t(ht)]),c("td",kt,[c("label",Nt,b(I.label),1),c("p",Mt,b(I.description),1)]),c("td",Tt,[t(X,{label:I.paramLabel,class:"lg:col-span-3",required:""},{default:r(()=>[t(q,{modelValue:I.value,"onUpdate:modelValue":[L=>I.value=L,L=>w(L,I)],disabled:I.inputDisabled,type:I.inputType},null,8,["modelValue","onUpdate:modelValue","disabled","type"])]),_:2},1032,["label"])]),c("td",Gt,[t(O,{variant:"white",onClick:Y(L=>S(I),["prevent"])},{left:r(L=>[t(Q,{name:"XIcon",class:G(["!sm:m-0",L.class])},null,8,["class"])]),default:r(()=>[qt]),_:2},1032,["onClick"])])])]),footer:r(()=>[c("tr",null,[c("td",At,[t(X,{label:f.$t(`settings.customization.${v.type}s.preview_${v.type}_number`)},{default:r(()=>[t(q,{modelValue:_.value,"onUpdate:modelValue":V[0]||(V[0]=I=>_.value=I),disabled:"",loading:n.value},null,8,["modelValue","loading"])]),_:1},8,["label"])]),c("td",Rt,[t(mt,{"wrapper-class":"flex items-center justify-end mt-5"},{activator:r(()=>[t(O,{variant:"primary-outline"},{left:r(I=>[t(Q,{class:G(I.class),name:"PlusIcon"},null,8,["class"])]),default:r(()=>[E(" "+b(f.$t("settings.customization.add_new_component")),1)]),_:1})]),default:r(()=>[($(!0),D(A,null,Bt(e(s),I=>($(),k(K,{key:I.label,onClick:Y(L=>h(I),["prevent"])},{default:r(()=>[E(b(I.label),1)]),_:2},1032,["onClick"]))),128))]),_:1})])])]),_:1},8,["modelValue"])])]),t(O,{loading:a.value,disabled:a.value,variant:"primary",type:"submit",class:"mt-4",onClick:lt},{left:r(I=>[a.value?R("",!0):($(),k(Q,{key:0,class:G(I.class),name:"SaveIcon"},null,8,["class"]))]),default:r(()=>[E(" "+b(f.$t("settings.customization.save")),1)]),_:1},8,["loading","disabled"])],64)}}},Lt={setup(v){const o=pt();return(i,p)=>($(),k(tt,{type:"invoice","type-store":e(o),"default-series":"INV"},null,8,["type-store"]))}},Yt={class:"text-gray-900 text-lg font-medium"},Ot={class:"mt-1 text-sm text-gray-500"},Pt={setup(v){const{t:o,tm:i}=P(),p=N(),g=Z(),u=M("utils"),a=T({retrospective_edits:null});u.mergeSettings(a,x({},p.selectedCompanySettings)),F(()=>g.config.retrospective_edits.map(s=>(s.title=o(s.key),s)));async function m(){let s={settings:x({},a)};return await p.updateCompanySettings({data:s,message:"settings.customization.invoices.invoice_settings_updated"}),!0}return(s,_)=>{const n=d("BaseRadio"),l=d("BaseInputGroup");return $(),D(A,null,[c("h6",Yt,b(s.$tc("settings.customization.invoices.retrospective_edits")),1),c("p",Ot,b(s.$t("settings.customization.invoices.retrospective_edits_description")),1),t(l,{required:""},{default:r(()=>[t(n,{id:"allow",modelValue:e(a).retrospective_edits,"onUpdate:modelValue":[_[0]||(_[0]=y=>e(a).retrospective_edits=y),m],label:s.$t("settings.customization.invoices.allow"),size:"sm",name:"filter",value:"allow",class:"mt-2"},null,8,["modelValue","label"]),t(n,{id:"disable_on_invoice_partial_paid",modelValue:e(a).retrospective_edits,"onUpdate:modelValue":[_[1]||(_[1]=y=>e(a).retrospective_edits=y),m],label:s.$t("settings.customization.invoices.disable_on_invoice_partial_paid"),size:"sm",name:"filter",value:"disable_on_invoice_partial_paid",class:"mt-2"},null,8,["modelValue","label"]),t(n,{id:"disable_on_invoice_paid",modelValue:e(a).retrospective_edits,"onUpdate:modelValue":[_[2]||(_[2]=y=>e(a).retrospective_edits=y),m],label:s.$t("settings.customization.invoices.disable_on_invoice_paid"),size:"sm",name:"filter",value:"disable_on_invoice_paid",class:"my-2"},null,8,["modelValue","label"]),t(n,{id:"disable_on_invoice_sent",modelValue:e(a).retrospective_edits,"onUpdate:modelValue":[_[3]||(_[3]=y=>e(a).retrospective_edits=y),m],label:s.$t("settings.customization.invoices.disable_on_invoice_sent"),size:"sm",name:"filter",value:"disable_on_invoice_sent"},null,8,["modelValue","label"])]),_:1})],64)}}},jt=["onSubmit"],Qt={class:"text-gray-900 text-lg font-medium"},Ht={class:"mt-1 text-sm text-gray-500 mb-2"},Xt={class:"w-full sm:w-1/2 md:w-1/4 lg:w-1/5"},Jt={setup(v){const{t:o}=P(),i=N(),p=M("utils");let g=z(!1);const u=T({invoice_set_due_date_automatically:null,invoice_due_date_days:null});p.mergeSettings(u,x({},i.selectedCompanySettings));const a=F({get:()=>u.invoice_set_due_date_automatically==="YES",set:async n=>{const l=n?"YES":"NO";u.invoice_set_due_date_automatically=l}}),m=F(()=>({dueDateSettings:{invoice_due_date_days:{required:J.withMessage(o("validation.required"),nt(a.value)),numeric:J.withMessage(o("validation.numbers_only"),it)}}})),s=ot(m,{dueDateSettings:u});async function _(){if(s.value.dueDateSettings.$touch(),s.value.dueDateSettings.$invalid)return!1;g.value=!0;let n={settings:x({},u)};return a.value||delete n.settings.invoice_due_date_days,await i.updateCompanySettings({data:n,message:"settings.customization.invoices.invoice_settings_updated"}),g.value=!1,!0}return(n,l)=>{const y=d("BaseSwitchSection"),B=d("BaseInput"),C=d("BaseInputGroup"),h=d("BaseIcon"),S=d("BaseButton");return $(),D("form",{onSubmit:Y(_,["prevent"])},[c("h6",Qt,b(n.$t("settings.customization.invoices.due_date")),1),c("p",Ht,b(n.$t("settings.customization.invoices.due_date_description")),1),t(y,{modelValue:e(a),"onUpdate:modelValue":l[0]||(l[0]=w=>H(a)?a.value=w:null),title:n.$t("settings.customization.invoices.set_due_date_automatically"),description:n.$t("settings.customization.invoices.set_due_date_automatically_description")},null,8,["modelValue","title","description"]),e(a)?($(),k(C,{key:0,label:n.$t("settings.customization.invoices.due_date_days"),error:e(s).dueDateSettings.invoice_due_date_days.$error&&e(s).dueDateSettings.invoice_due_date_days.$errors[0].$message,class:"mt-2 mb-4"},{default:r(()=>[c("div",Xt,[t(B,{modelValue:e(u).invoice_due_date_days,"onUpdate:modelValue":l[1]||(l[1]=w=>e(u).invoice_due_date_days=w),invalid:e(s).dueDateSettings.invoice_due_date_days.$error,type:"number",onInput:l[2]||(l[2]=w=>e(s).dueDateSettings.invoice_due_date_days.$touch())},null,8,["modelValue","invalid"])])]),_:1},8,["label","error"])):R("",!0),t(S,{loading:e(g),disabled:e(g),variant:"primary",type:"submit",class:"mt-4"},{left:r(w=>[e(g)?R("",!0):($(),k(h,{key:0,class:G(w.class),name:"SaveIcon"},null,8,["class"]))]),default:r(()=>[E(" "+b(n.$t("settings.customization.save")),1)]),_:1},8,["loading","disabled"])],40,jt)}}},Kt=["onSubmit"],Wt={class:"text-gray-900 text-lg font-medium"},Zt={class:"mt-1 text-sm text-gray-500 mb-2"},te={setup(v){const o=N(),i=M("utils"),p=z(["customer","customerCustom","invoice","invoiceCustom","company"]),g=z(["billing","customer","customerCustom","invoiceCustom"]),u=z(["shipping","customer","customerCustom","invoiceCustom"]),a=z(["company","invoiceCustom"]);let m=z(!1);const s=T({invoice_mail_body:null,invoice_company_address_format:null,invoice_shipping_address_format:null,invoice_billing_address_format:null});i.mergeSettings(s,x({},o.selectedCompanySettings));async function _(){m.value=!0;let n={settings:x({},s)};return await o.updateCompanySettings({data:n,message:"settings.customization.invoices.invoice_settings_updated"}),m.value=!1,!0}return(n,l)=>{const y=d("BaseCustomInput"),B=d("BaseInputGroup"),C=d("BaseIcon"),h=d("BaseButton");return $(),D("form",{onSubmit:Y(_,["prevent"])},[c("h6",Wt,b(n.$t("settings.customization.invoices.default_formats")),1),c("p",Zt,b(n.$t("settings.customization.invoices.default_formats_description")),1),t(B,{label:n.$t("settings.customization.invoices.default_invoice_email_body"),class:"mt-6 mb-4"},{default:r(()=>[t(y,{modelValue:e(s).invoice_mail_body,"onUpdate:modelValue":l[0]||(l[0]=S=>e(s).invoice_mail_body=S),fields:p.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(B,{label:n.$t("settings.customization.invoices.company_address_format"),class:"mt-6 mb-4"},{default:r(()=>[t(y,{modelValue:e(s).invoice_company_address_format,"onUpdate:modelValue":l[1]||(l[1]=S=>e(s).invoice_company_address_format=S),fields:a.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(B,{label:n.$t("settings.customization.invoices.shipping_address_format"),class:"mt-6 mb-4"},{default:r(()=>[t(y,{modelValue:e(s).invoice_shipping_address_format,"onUpdate:modelValue":l[2]||(l[2]=S=>e(s).invoice_shipping_address_format=S),fields:u.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(B,{label:n.$t("settings.customization.invoices.billing_address_format"),class:"mt-6 mb-4"},{default:r(()=>[t(y,{modelValue:e(s).invoice_billing_address_format,"onUpdate:modelValue":l[3]||(l[3]=S=>e(s).invoice_billing_address_format=S),fields:g.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(h,{loading:e(m),disabled:e(m),variant:"primary",type:"submit",class:"mt-4"},{left:r(S=>[e(m)?R("",!0):($(),k(C,{key:0,class:G(S.class),name:"SaveIcon"},null,8,["class"]))]),default:r(()=>[E(" "+b(n.$t("settings.customization.save")),1)]),_:1},8,["loading","disabled"])],40,Kt)}}},ee={class:"divide-y divide-gray-200"},se={setup(v){const o=M("utils"),i=N(),p=T({invoice_email_attachment:null});o.mergeSettings(p,x({},i.selectedCompanySettings));const g=F({get:()=>p.invoice_email_attachment==="YES",set:async u=>{const a=u?"YES":"NO";let m={settings:{invoice_email_attachment:a}};p.invoice_email_attachment=a,await i.updateCompanySettings({data:m,message:"general.setting_updated"})}});return(u,a)=>{const m=d("BaseDivider"),s=d("BaseSwitchSection");return $(),D(A,null,[t(Lt),t(m,{class:"my-8"}),t(Jt),t(m,{class:"my-8"}),t(Pt),t(m,{class:"my-8"}),t(te),t(m,{class:"mt-6 mb-2"}),c("ul",ee,[t(s,{modelValue:e(g),"onUpdate:modelValue":a[0]||(a[0]=_=>H(g)?g.value=_:null),title:u.$t("settings.customization.invoices.invoice_email_attachment"),description:u.$t("settings.customization.invoices.invoice_email_attachment_setting_description")},null,8,["modelValue","title","description"])])],64)}}},ae={setup(v){const o=gt();return(i,p)=>($(),k(tt,{type:"estimate","type-store":e(o),"default-series":"EST"},null,8,["type-store"]))}},ne=["onSubmit"],ie={class:"text-gray-900 text-lg font-medium"},oe={class:"mt-1 text-sm text-gray-500 mb-2"},le={class:"w-full sm:w-1/2 md:w-1/4 lg:w-1/5"},me={setup(v){const{t:o}=P(),i=N(),p=M("utils");let g=z(!1);const u=T({estimate_set_expiry_date_automatically:null,estimate_expiry_date_days:null});p.mergeSettings(u,x({},i.selectedCompanySettings));const a=F({get:()=>u.estimate_set_expiry_date_automatically==="YES",set:async n=>{const l=n?"YES":"NO";u.estimate_set_expiry_date_automatically=l}}),m=F(()=>({expiryDateSettings:{estimate_expiry_date_days:{required:J.withMessage(o("validation.required"),nt(a.value)),numeric:J.withMessage(o("validation.numbers_only"),it)}}})),s=ot(m,{expiryDateSettings:u});async function _(){if(s.value.expiryDateSettings.$touch(),s.value.expiryDateSettings.$invalid)return!1;g.value=!0;let n={settings:x({},u)};return a.value||delete n.settings.estimate_expiry_date_days,await i.updateCompanySettings({data:n,message:"settings.customization.estimates.estimate_settings_updated"}),g.value=!1,!0}return(n,l)=>{const y=d("BaseSwitchSection"),B=d("BaseInput"),C=d("BaseInputGroup"),h=d("BaseIcon"),S=d("BaseButton");return $(),D("form",{onSubmit:Y(_,["prevent"])},[c("h6",ie,b(n.$t("settings.customization.estimates.expiry_date")),1),c("p",oe,b(n.$t("settings.customization.estimates.expiry_date_description")),1),t(y,{modelValue:e(a),"onUpdate:modelValue":l[0]||(l[0]=w=>H(a)?a.value=w:null),title:n.$t("settings.customization.estimates.set_expiry_date_automatically"),description:n.$t("settings.customization.estimates.set_expiry_date_automatically_description")},null,8,["modelValue","title","description"]),e(a)?($(),k(C,{key:0,label:n.$t("settings.customization.estimates.expiry_date_days"),error:e(s).expiryDateSettings.estimate_expiry_date_days.$error&&e(s).expiryDateSettings.estimate_expiry_date_days.$errors[0].$message,class:"mt-2 mb-4"},{default:r(()=>[c("div",le,[t(B,{modelValue:e(u).estimate_expiry_date_days,"onUpdate:modelValue":l[1]||(l[1]=w=>e(u).estimate_expiry_date_days=w),invalid:e(s).expiryDateSettings.estimate_expiry_date_days.$error,type:"number",onInput:l[2]||(l[2]=w=>e(s).expiryDateSettings.estimate_expiry_date_days.$touch())},null,8,["modelValue","invalid"])])]),_:1},8,["label","error"])):R("",!0),t(S,{loading:e(g),disabled:e(g),variant:"primary",type:"submit",class:"mt-4"},{left:r(w=>[e(g)?R("",!0):($(),k(h,{key:0,class:G(w.class),name:"SaveIcon"},null,8,["class"]))]),default:r(()=>[E(" "+b(n.$t("settings.customization.save")),1)]),_:1},8,["loading","disabled"])],40,ne)}}},ue=["onSubmit"],re={class:"text-gray-900 text-lg font-medium"},de={class:"mt-1 text-sm text-gray-500 mb-2"},ce={setup(v){const o=N(),i=M("utils"),p=z(["customer","customerCustom","estimate","estimateCustom","company"]),g=z(["billing","customer","customerCustom","estimateCustom"]),u=z(["shipping","customer","customerCustom","estimateCustom"]),a=z(["company","estimateCustom"]);let m=z(!1);const s=T({estimate_mail_body:null,estimate_company_address_format:null,estimate_shipping_address_format:null,estimate_billing_address_format:null});i.mergeSettings(s,x({},o.selectedCompanySettings));async function _(){m.value=!0;let n={settings:x({},s)};return await o.updateCompanySettings({data:n,message:"settings.customization.estimates.estimate_settings_updated"}),m.value=!1,!0}return(n,l)=>{const y=d("BaseCustomInput"),B=d("BaseInputGroup"),C=d("BaseIcon"),h=d("BaseButton");return $(),D("form",{onSubmit:Y(_,["prevent"])},[c("h6",re,b(n.$t("settings.customization.estimates.default_formats")),1),c("p",de,b(n.$t("settings.customization.estimates.default_formats_description")),1),t(B,{label:n.$t("settings.customization.estimates.default_estimate_email_body"),class:"mt-6 mb-4"},{default:r(()=>[t(y,{modelValue:e(s).estimate_mail_body,"onUpdate:modelValue":l[0]||(l[0]=S=>e(s).estimate_mail_body=S),fields:p.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(B,{label:n.$t("settings.customization.estimates.company_address_format"),class:"mt-6 mb-4"},{default:r(()=>[t(y,{modelValue:e(s).estimate_company_address_format,"onUpdate:modelValue":l[1]||(l[1]=S=>e(s).estimate_company_address_format=S),fields:a.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(B,{label:n.$t("settings.customization.estimates.shipping_address_format"),class:"mt-6 mb-4"},{default:r(()=>[t(y,{modelValue:e(s).estimate_shipping_address_format,"onUpdate:modelValue":l[2]||(l[2]=S=>e(s).estimate_shipping_address_format=S),fields:u.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(B,{label:n.$t("settings.customization.estimates.billing_address_format"),class:"mt-6 mb-4"},{default:r(()=>[t(y,{modelValue:e(s).estimate_billing_address_format,"onUpdate:modelValue":l[3]||(l[3]=S=>e(s).estimate_billing_address_format=S),fields:g.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(h,{loading:e(m),disabled:e(m),variant:"primary",type:"submit",class:"mt-4"},{left:r(S=>[e(m)?R("",!0):($(),k(C,{key:0,class:G(S.class),name:"SaveIcon"},null,8,["class"]))]),default:r(()=>[E(" "+b(n.$t("settings.customization.save")),1)]),_:1},8,["loading","disabled"])],40,ue)}}},_e={class:"text-gray-900 text-lg font-medium"},pe={class:"mt-1 text-sm text-gray-500"},ge={setup(v){const{t:o,tm:i}=P(),p=N(),g=Z(),u=M("utils"),a=T({estimate_convert_action:null});u.mergeSettings(a,x({},p.selectedCompanySettings)),F(()=>g.config.estimate_convert_action.map(s=>(s.title=o(s.key),s)));async function m(){let s={settings:x({},a)};return await p.updateCompanySettings({data:s,message:"settings.customization.estimates.estimate_settings_updated"}),!0}return(s,_)=>{const n=d("BaseRadio"),l=d("BaseInputGroup");return $(),D(A,null,[c("h6",_e,b(s.$tc("settings.customization.estimates.convert_estimate_options")),1),c("p",pe,b(s.$t("settings.customization.estimates.convert_estimate_description")),1),t(l,{required:""},{default:r(()=>[t(n,{id:"no_action",modelValue:e(a).estimate_convert_action,"onUpdate:modelValue":[_[0]||(_[0]=y=>e(a).estimate_convert_action=y),m],label:s.$t("settings.customization.estimates.no_action"),size:"sm",name:"filter",value:"no_action",class:"mt-2"},null,8,["modelValue","label"]),t(n,{id:"delete_estimate",modelValue:e(a).estimate_convert_action,"onUpdate:modelValue":[_[1]||(_[1]=y=>e(a).estimate_convert_action=y),m],label:s.$t("settings.customization.estimates.delete_estimate"),size:"sm",name:"filter",value:"delete_estimate",class:"my-2"},null,8,["modelValue","label"]),t(n,{id:"mark_estimate_as_accepted",modelValue:e(a).estimate_convert_action,"onUpdate:modelValue":[_[2]||(_[2]=y=>e(a).estimate_convert_action=y),m],label:s.$t("settings.customization.estimates.mark_estimate_as_accepted"),size:"sm",name:"filter",value:"mark_estimate_as_accepted"},null,8,["modelValue","label"])]),_:1})],64)}}},ye={class:"divide-y divide-gray-200"},fe={setup(v){const o=M("utils"),i=N(),p=T({estimate_email_attachment:null});o.mergeSettings(p,x({},i.selectedCompanySettings));const g=F({get:()=>p.estimate_email_attachment==="YES",set:async u=>{const a=u?"YES":"NO";let m={settings:{estimate_email_attachment:a}};p.estimate_email_attachment=a,await i.updateCompanySettings({data:m,message:"general.setting_updated"})}});return(u,a)=>{const m=d("BaseDivider"),s=d("BaseSwitchSection");return $(),D(A,null,[t(ae),t(m,{class:"my-8"}),t(me),t(m,{class:"my-8"}),t(ge),t(m,{class:"my-8"}),t(ce),t(m,{class:"mt-6 mb-2"}),c("ul",ye,[t(s,{modelValue:e(g),"onUpdate:modelValue":a[0]||(a[0]=_=>H(g)?g.value=_:null),title:u.$t("settings.customization.estimates.estimate_email_attachment"),description:u.$t("settings.customization.estimates.estimate_email_attachment_setting_description")},null,8,["modelValue","title","description"])])],64)}}},ve={setup(v){const o=yt();return(i,p)=>($(),k(tt,{type:"payment","type-store":e(o),"default-series":"PAY"},null,8,["type-store"]))}},be=["onSubmit"],Se={class:"text-gray-900 text-lg font-medium"},$e={class:"mt-1 text-sm text-gray-500 mb-2"},Be={setup(v){const o=N(),i=M("utils"),p=z(["customer","customerCustom","company","payment","paymentCustom"]),g=z(["billing","customer","customerCustom","paymentCustom"]),u=z(["company","paymentCustom"]);let a=z(!1);const m=T({payment_mail_body:null,payment_company_address_format:null,payment_from_customer_address_format:null});i.mergeSettings(m,x({},o.selectedCompanySettings));async function s(){a.value=!0;let _={settings:x({},m)};return await o.updateCompanySettings({data:_,message:"settings.customization.payments.payment_settings_updated"}),a.value=!1,!0}return(_,n)=>{const l=d("BaseCustomInput"),y=d("BaseInputGroup"),B=d("BaseIcon"),C=d("BaseButton");return $(),D("form",{onSubmit:Y(s,["prevent"])},[c("h6",Se,b(_.$t("settings.customization.payments.default_formats")),1),c("p",$e,b(_.$t("settings.customization.payments.default_formats_description")),1),t(y,{label:_.$t("settings.customization.payments.default_payment_email_body"),class:"mt-6 mb-4"},{default:r(()=>[t(l,{modelValue:e(m).payment_mail_body,"onUpdate:modelValue":n[0]||(n[0]=h=>e(m).payment_mail_body=h),fields:p.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(y,{label:_.$t("settings.customization.payments.company_address_format"),class:"mt-6 mb-4"},{default:r(()=>[t(l,{modelValue:e(m).payment_company_address_format,"onUpdate:modelValue":n[1]||(n[1]=h=>e(m).payment_company_address_format=h),fields:u.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(y,{label:_.$t("settings.customization.payments.from_customer_address_format"),class:"mt-6 mb-4"},{default:r(()=>[t(l,{modelValue:e(m).payment_from_customer_address_format,"onUpdate:modelValue":n[2]||(n[2]=h=>e(m).payment_from_customer_address_format=h),fields:g.value},null,8,["modelValue","fields"])]),_:1},8,["label"]),t(C,{loading:e(a),disabled:e(a),variant:"primary",type:"submit",class:"mt-4"},{left:r(h=>[e(a)?R("",!0):($(),k(B,{key:0,class:G(h.class),name:"SaveIcon"},null,8,["class"]))]),default:r(()=>[E(" "+b(_.$t("settings.customization.save")),1)]),_:1},8,["loading","disabled"])],40,be)}}},he={class:"divide-y divide-gray-200"},ze={setup(v){const o=M("utils"),i=N(),p=T({payment_email_attachment:null});o.mergeSettings(p,x({},i.selectedCompanySettings));const g=F({get:()=>p.payment_email_attachment==="YES",set:async u=>{const a=u?"YES":"NO";let m={settings:{payment_email_attachment:a}};p.payment_email_attachment=a,await i.updateCompanySettings({data:m,message:"general.setting_updated"})}});return(u,a)=>{const m=d("BaseDivider"),s=d("BaseSwitchSection");return $(),D(A,null,[t(ve),t(m,{class:"my-8"}),t(Be),t(m,{class:"mt-6 mb-2"}),c("ul",he,[t(s,{modelValue:e(g),"onUpdate:modelValue":a[0]||(a[0]=_=>H(g)?g.value=_:null),title:u.$t("settings.customization.payments.payment_email_attachment"),description:u.$t("settings.customization.payments.payment_email_attachment_setting_description")},null,8,["modelValue","title","description"])])],64)}}},Ve={class:"flex flex-wrap justify-end mt-2 lg:flex-nowrap"},Ie={class:"inline-block"},xe={setup(v){const{t:o}=P(),i=z(null),p=ft(),g=vt(),u=bt(),a=F(()=>[{key:"name",label:o("settings.customization.items.unit_name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]);async function m({page:l,filter:y,sort:B}){let C={orderByField:B.fieldName||"created_at",orderBy:B.order||"desc",page:l},h=await p.fetchItemUnits(C);return{data:h.data.data,pagination:{totalPages:h.data.meta.last_page,currentPage:l,totalCount:h.data.meta.total,limit:5}}}async function s(){g.openModal({title:o("settings.customization.items.add_item_unit"),componentName:"ItemUnitModal",refreshData:i.value.refresh,size:"sm"})}async function _(l){p.fetchItemUnit(l.data.id),g.openModal({title:o("settings.customization.items.edit_item_unit"),componentName:"ItemUnitModal",id:l.data.id,data:l.data,refreshData:i.value&&i.value.refresh})}function n(l){u.openDialog({title:o("general.are_you_sure"),message:o("settings.customization.items.item_unit_confirm_delete"),yesLabel:o("general.yes"),noLabel:o("general.no"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async y=>{y&&(await p.deleteItemUnit(l.data.id),i.value&&i.value.refresh())})}return(l,y)=>{const B=d("BaseIcon"),C=d("BaseButton"),h=d("BaseDropdownItem"),S=d("BaseDropdown"),w=d("BaseTable");return $(),D(A,null,[t(Vt),c("div",Ve,[t(C,{variant:"primary-outline",onClick:s},{left:r(U=>[t(B,{class:G(U.class),name:"PlusIcon"},null,8,["class"])]),default:r(()=>[E(" "+b(l.$t("settings.customization.items.add_item_unit")),1)]),_:1})]),t(w,{ref:(U,j)=>{j.table=U,i.value=U},class:"mt-10",data:m,columns:e(a)},{"cell-actions":r(({row:U})=>[t(S,null,{activator:r(()=>[c("div",Ie,[t(B,{name:"DotsHorizontalIcon",class:"text-gray-500"})])]),default:r(()=>[t(h,{onClick:j=>_(U)},{default:r(()=>[t(B,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),E(" "+b(l.$t("general.edit")),1)]),_:2},1032,["onClick"]),t(h,{onClick:j=>n(U)},{default:r(()=>[t(B,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),E(" "+b(l.$t("general.delete")),1)]),_:2},1032,["onClick"])]),_:2},1024)]),_:1},8,["columns"])],64)}}},we={class:"relative"},ke={setup(v){return(o,i)=>{const p=d("BaseTab"),g=d("BaseTabGroup"),u=d("BaseCard");return $(),D("div",we,[t(u,{"container-class":"px-4 py-5 sm:px-8 sm:py-2"},{default:r(()=>[t(g,null,{default:r(()=>[t(p,{"tab-panel-container":"py-4 mt-px",title:o.$t("settings.customization.invoices.title")},{default:r(()=>[t(se)]),_:1},8,["title"]),t(p,{"tab-panel-container":"py-4 mt-px",title:o.$t("settings.customization.estimates.title")},{default:r(()=>[t(fe)]),_:1},8,["title"]),t(p,{"tab-panel-container":"py-4 mt-px",title:o.$t("settings.customization.payments.title")},{default:r(()=>[t(ze)]),_:1},8,["title"]),t(p,{"tab-panel-container":"py-4 mt-px",title:o.$t("settings.customization.items.title")},{default:r(()=>[t(xe)]),_:1},8,["title"])]),_:1})]),_:1})])}}};export{ke as default}; diff --git a/public/build/assets/Dashboard.05893f44.js b/public/build/assets/Dashboard.93a0a8a7.js similarity index 98% rename from public/build/assets/Dashboard.05893f44.js rename to public/build/assets/Dashboard.93a0a8a7.js index 64e24fd7a..f3571e798 100644 --- a/public/build/assets/Dashboard.05893f44.js +++ b/public/build/assets/Dashboard.93a0a8a7.js @@ -1 +1 @@ -import{_ as v,b as I,c as H,d as B,e as m}from"./main.c4ed6aa9.js";import{o as d,c as b,t as e,r as l,s as C,w as c,b as t,W as j,x as u,an as L,z as F,am as M,y as o,v as g,i as E,D as N,g as O,k as P,a5 as A,u as Z,C as W,M as z}from"./vendor.e9042f2c.js";import{_ as R}from"./LineChart.1e4f5d60.js";import{_ as q}from"./InvoiceIndexDropdown.d1c989d3.js";import{_ as U}from"./EstimateIndexDropdown.16bd4994.js";const Y={},G={width:"50",height:"50",viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},J=e("circle",{cx:"25",cy:"25",r:"25",fill:"#FDE4E5"},null,-1),K=e("path",{d:"M27.2031 23.6016C28.349 23.9401 29.2083 24.6562 29.7812 25.75C30.3802 26.8438 30.4714 27.9766 30.0547 29.1484C29.7422 30.0078 29.2083 30.6979 28.4531 31.2188C27.6979 31.7135 26.8516 31.974 25.9141 32V33.875C25.9141 34.0573 25.849 34.2005 25.7188 34.3047C25.6146 34.4349 25.4714 34.5 25.2891 34.5H24.0391C23.8568 34.5 23.7005 34.4349 23.5703 34.3047C23.4661 34.2005 23.4141 34.0573 23.4141 33.875V32C22.1641 32 21.0443 31.6094 20.0547 30.8281C19.8984 30.6979 19.8073 30.5417 19.7812 30.3594C19.7552 30.1771 19.8203 30.0208 19.9766 29.8906L21.3047 28.5625C21.5651 28.3281 21.8255 28.3021 22.0859 28.4844C22.4766 28.7448 22.9193 28.875 23.4141 28.875H25.9922C26.3307 28.875 26.6042 28.7708 26.8125 28.5625C27.0469 28.3281 27.1641 28.0417 27.1641 27.7031C27.1641 27.1302 26.8906 26.7656 26.3438 26.6094L22.3203 25.4375C21.4349 25.1771 20.6927 24.7083 20.0938 24.0312C19.4948 23.3542 19.1432 22.5729 19.0391 21.6875C18.9349 20.4115 19.2995 19.3177 20.1328 18.4062C20.9922 17.4688 22.0599 17 23.3359 17H23.4141V15.125C23.4141 14.9427 23.4661 14.7995 23.5703 14.6953C23.7005 14.5651 23.8568 14.5 24.0391 14.5H25.2891C25.4714 14.5 25.6146 14.5651 25.7188 14.6953C25.849 14.7995 25.9141 14.9427 25.9141 15.125V17C27.1641 17 28.2839 17.3906 29.2734 18.1719C29.4297 18.3021 29.5208 18.4583 29.5469 18.6406C29.5729 18.8229 29.5078 18.9792 29.3516 19.1094L28.0234 20.4375C27.763 20.6719 27.5026 20.6979 27.2422 20.5156C26.8516 20.2552 26.4089 20.125 25.9141 20.125H23.3359C22.9974 20.125 22.7109 20.2422 22.4766 20.4766C22.2682 20.6849 22.1641 20.9583 22.1641 21.2969C22.1641 21.5312 22.2422 21.7526 22.3984 21.9609C22.5547 22.1693 22.75 22.3125 22.9844 22.3906L27.2031 23.6016Z",fill:"#FB7178"},null,-1),Q=[J,K];function X(r,s){return d(),b("svg",G,Q)}var ee=v(Y,[["render",X]]);const te={},se={width:"50",height:"50",viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oe=e("circle",{cx:"25",cy:"25",r:"25",fill:"#EAF1FB"},null,-1),ae=e("path",{d:"M28.2656 23.0547C27.3021 24.0182 26.1302 24.5 24.75 24.5C23.3698 24.5 22.1849 24.0182 21.1953 23.0547C20.2318 22.0651 19.75 20.8802 19.75 19.5C19.75 18.1198 20.2318 16.9479 21.1953 15.9844C22.1849 14.9948 23.3698 14.5 24.75 14.5C26.1302 14.5 27.3021 14.9948 28.2656 15.9844C29.2552 16.9479 29.75 18.1198 29.75 19.5C29.75 20.8802 29.2552 22.0651 28.2656 23.0547ZM28.2656 25.75C29.6979 25.75 30.9219 26.2708 31.9375 27.3125C32.9792 28.3281 33.5 29.5521 33.5 30.9844V32.625C33.5 33.1458 33.3177 33.5885 32.9531 33.9531C32.5885 34.3177 32.1458 34.5 31.625 34.5H17.875C17.3542 34.5 16.9115 34.3177 16.5469 33.9531C16.1823 33.5885 16 33.1458 16 32.625V30.9844C16 29.5521 16.5078 28.3281 17.5234 27.3125C18.5651 26.2708 19.8021 25.75 21.2344 25.75H21.8984C22.8099 26.1667 23.7604 26.375 24.75 26.375C25.7396 26.375 26.6901 26.1667 27.6016 25.75H28.2656Z",fill:"#5851D8"},null,-1),ne=[oe,ae];function le(r,s){return d(),b("svg",se,ne)}var ce=v(te,[["render",le]]);const re={},ie={width:"50",height:"50",viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},de=e("circle",{cx:"25",cy:"25",r:"25",fill:"#EAF1FB"},null,-1),_e=e("path",{d:"M28.25 24.5V27H20.75V24.5H28.25ZM31.7266 18.6016C31.9089 18.7839 32 19.0052 32 19.2656V19.5H27V14.5H27.2344C27.4948 14.5 27.7161 14.5911 27.8984 14.7734L31.7266 18.6016ZM25.75 19.8125C25.75 20.0729 25.8411 20.2943 26.0234 20.4766C26.2057 20.6589 26.4271 20.75 26.6875 20.75H32V33.5625C32 33.8229 31.9089 34.0443 31.7266 34.2266C31.5443 34.4089 31.3229 34.5 31.0625 34.5H17.9375C17.6771 34.5 17.4557 34.4089 17.2734 34.2266C17.0911 34.0443 17 33.8229 17 33.5625V15.4375C17 15.1771 17.0911 14.9557 17.2734 14.7734C17.4557 14.5911 17.6771 14.5 17.9375 14.5H25.75V19.8125ZM19.5 17.3125V17.9375C19.5 18.1458 19.6042 18.25 19.8125 18.25H22.9375C23.1458 18.25 23.25 18.1458 23.25 17.9375V17.3125C23.25 17.1042 23.1458 17 22.9375 17H19.8125C19.6042 17 19.5 17.1042 19.5 17.3125ZM19.5 19.8125V20.4375C19.5 20.6458 19.6042 20.75 19.8125 20.75H22.9375C23.1458 20.75 23.25 20.6458 23.25 20.4375V19.8125C23.25 19.6042 23.1458 19.5 22.9375 19.5H19.8125C19.6042 19.5 19.5 19.6042 19.5 19.8125ZM29.5 31.6875V31.0625C29.5 30.8542 29.3958 30.75 29.1875 30.75H26.0625C25.8542 30.75 25.75 30.8542 25.75 31.0625V31.6875C25.75 31.8958 25.8542 32 26.0625 32H29.1875C29.3958 32 29.5 31.8958 29.5 31.6875ZM29.5 23.875C29.5 23.6927 29.4349 23.5495 29.3047 23.4453C29.2005 23.3151 29.0573 23.25 28.875 23.25H20.125C19.9427 23.25 19.7865 23.3151 19.6562 23.4453C19.5521 23.5495 19.5 23.6927 19.5 23.875V27.625C19.5 27.8073 19.5521 27.9635 19.6562 28.0938C19.7865 28.1979 19.9427 28.25 20.125 28.25H28.875C29.0573 28.25 29.2005 28.1979 29.3047 28.0938C29.4349 27.9635 29.5 27.8073 29.5 27.625V23.875Z",fill:"#5851D8"},null,-1),ue=[de,_e];function me(r,s){return d(),b("svg",ie,ue)}var he=v(re,[["render",me]]);const pe={},Ce={width:"50",height:"50",viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fe=e("circle",{cx:"25",cy:"25",r:"25",fill:"#EAF1FB"},null,-1),xe=e("path",{d:"M26.75 19.8125C26.75 20.0729 26.8411 20.2943 27.0234 20.4766C27.2057 20.6589 27.4271 20.75 27.6875 20.75H33V33.5625C33 33.8229 32.9089 34.0443 32.7266 34.2266C32.5443 34.4089 32.3229 34.5 32.0625 34.5H18.9375C18.6771 34.5 18.4557 34.4089 18.2734 34.2266C18.0911 34.0443 18 33.8229 18 33.5625V15.4375C18 15.1771 18.0911 14.9557 18.2734 14.7734C18.4557 14.5911 18.6771 14.5 18.9375 14.5H26.75V19.8125ZM33 19.2656V19.5H28V14.5H28.2344C28.4948 14.5 28.7161 14.5911 28.8984 14.7734L32.7266 18.6016C32.9089 18.7839 33 19.0052 33 19.2656Z",fill:"#5851D8"},null,-1),be=[fe,xe];function ge(r,s){return d(),b("svg",Ce,be)}var ye=v(pe,[["render",ge]]);const ve={},we={class:"flex items-center"};function $e(r,s){const a=l("BaseContentPlaceholdersText"),n=l("BaseContentPlaceholdersBox"),_=l("BaseContentPlaceholders");return d(),C(_,{rounded:!0,class:"relative flex justify-between w-full p-3 bg-white rounded shadow lg:col-span-3 xl:p-4"},{default:c(()=>[e("div",null,[t(a,{class:"h-5 -mb-1 w-14 xl:mb-6 xl:h-7",lines:1}),t(a,{class:"h-3 w-28 xl:h-4",lines:1})]),e("div",we,[t(n,{circle:!0,class:"w-10 h-10 xl:w-12 xl:h-12"})])]),_:1})}var Be=v(ve,[["render",$e]]);const Ee={},De={class:"flex items-center"};function Ve(r,s){const a=l("BaseContentPlaceholdersText"),n=l("BaseContentPlaceholdersBox"),_=l("BaseContentPlaceholders");return d(),C(_,{rounded:!0,class:"relative flex justify-between w-full p-3 bg-white rounded shadow lg:col-span-2 xl:p-4"},{default:c(()=>[e("div",null,[t(a,{class:"w-12 h-5 -mb-1 xl:mb-6 xl:h-7",lines:1}),t(a,{class:"w-20 h-3 xl:h-4",lines:1})]),e("div",De,[t(n,{circle:!0,class:"w-10 h-10 xl:w-12 xl:h-12"})])]),_:1})}var Ie=v(Ee,[["render",Ve]]);const Te={class:"text-xl font-semibold leading-tight text-black xl:text-3xl"},Se={class:"block mt-1 text-sm leading-tight text-gray-500 xl:text-lg"},ke={class:"flex items-center"},D={props:{iconComponent:{type:Object,required:!0},loading:{type:Boolean,default:!1},route:{type:String,required:!0},label:{type:String,required:!0},large:{type:Boolean,default:!1}},setup(r){return(s,a)=>{const n=l("router-link");return r.loading?r.large?(d(),C(Be,{key:1})):(d(),C(Ie,{key:2})):(d(),C(n,{key:0,class:F(["relative flex justify-between p-3 bg-white rounded shadow hover:bg-gray-50 xl:p-4 lg:col-span-2",{"lg:!col-span-3":r.large}]),to:r.route},{default:c(()=>[e("div",null,[e("span",Te,[j(s.$slots,"default")]),e("span",Se,u(r.label),1)]),e("div",ke,[(d(),C(L(r.iconComponent),{class:"w-10 h-10 xl:w-12 xl:h-12"}))])]),_:3},8,["class","to"]))}}},He={class:"grid gap-6 sm:grid-cols-2 lg:grid-cols-9 xl:gap-8"},Me={setup(r){M("utils");const s=I(),a=H(),n=B();return(_,y)=>{const f=l("BaseFormatMoney");return d(),b("div",He,[t(D,{"icon-component":ee,loading:!o(s).isDashboardDataLoaded,route:o(n).hasAbilities(o(m).VIEW_INVOICE)?"/admin/invoices":"",large:!0,label:_.$t("dashboard.cards.due_amount")},{default:c(()=>[t(f,{amount:o(s).stats.totalAmountDue,currency:o(a).selectedCompanyCurrency},null,8,["amount","currency"])]),_:1},8,["loading","route","label"]),t(D,{"icon-component":ce,loading:!o(s).isDashboardDataLoaded,route:o(n).hasAbilities(o(m).VIEW_CUSTOMER)?"/admin/customers":"",label:_.$t("dashboard.cards.customers")},{default:c(()=>[g(u(o(s).stats.totalCustomerCount),1)]),_:1},8,["loading","route","label"]),t(D,{"icon-component":he,loading:!o(s).isDashboardDataLoaded,route:o(n).hasAbilities(o(m).VIEW_INVOICE)?"/admin/invoices":"",label:_.$t("dashboard.cards.invoices")},{default:c(()=>[g(u(o(s).stats.totalInvoiceCount),1)]),_:1},8,["loading","route","label"]),t(D,{"icon-component":ye,loading:!o(s).isDashboardDataLoaded,route:o(n).hasAbilities(o(m).VIEW_ESTIMATE)?"/admin/estimates":"",label:_.$t("dashboard.cards.estimates")},{default:c(()=>[g(u(o(s).stats.totalEstimateCount),1)]),_:1},8,["loading","route","label"])])}}},Pe={},Ae={class:"grid grid-cols-1 col-span-10 px-4 py-5 lg:col-span-7 xl:col-span-8 sm:p-8"},je={class:"flex items-center justify-between mb-2 xl:mb-4"},Le={class:"grid grid-cols-3 col-span-10 text-center border-t border-l border-gray-200 border-solid lg:border-t-0 lg:text-right lg:col-span-3 xl:col-span-2 lg:grid-cols-1"},Fe={class:"flex flex-col items-center justify-center p-6 lg:justify-end lg:items-end"},Ne={class:"flex flex-col items-center justify-center p-6 lg:justify-end lg:items-end"},Oe={class:"flex flex-col items-center justify-center p-6 lg:justify-end lg:items-end"},Ze={class:"flex flex-col items-center justify-center col-span-3 p-6 border-t border-gray-200 border-solid lg:justify-end lg:items-end lg:col-span-1"};function We(r,s){const a=l("BaseContentPlaceholdersText"),n=l("BaseContentPlaceholdersBox"),_=l("BaseContentPlaceholders");return d(),C(_,{class:"grid grid-cols-10 mt-8 bg-white rounded shadow"},{default:c(()=>[e("div",Ae,[e("div",je,[t(a,{class:"h-10 w-36",lines:1}),t(a,{class:"h-10 w-36 !mt-0",lines:1})]),t(n,{class:"h-80 xl:h-72 sm:w-full"})]),e("div",Le,[e("div",Fe,[t(a,{class:"h-3 w-14 xl:h-4",lines:1}),t(a,{class:"w-20 h-5 xl:h-6",lines:1})]),e("div",Ne,[t(a,{class:"h-3 w-14 xl:h-4",lines:1}),t(a,{class:"w-20 h-5 xl:h-6",lines:1})]),e("div",Oe,[t(a,{class:"h-3 w-14 xl:h-4",lines:1}),t(a,{class:"w-20 h-5 xl:h-6",lines:1})]),e("div",Ze,[t(a,{class:"h-3 w-14 xl:h-4",lines:1}),t(a,{class:"w-20 h-5 xl:h-6",lines:1})])])]),_:1})}var ze=v(Pe,[["render",We]]);const Re={key:0,class:"grid grid-cols-10 mt-8 bg-white rounded shadow"},qe={class:"grid grid-cols-1 col-span-10 px-4 py-5 lg:col-span-7 xl:col-span-8 sm:p-6"},Ue={class:"flex justify-between mt-1 mb-4 flex-col md:flex-row"},Ye={class:"flex items-center sw-section-title h-10"},Ge={class:"w-full my-2 md:m-0 md:w-40 h-10"},Je={class:"grid grid-cols-3 col-span-10 text-center border-t border-l border-gray-200 border-solid lg:border-t-0 lg:text-right lg:col-span-3 xl:col-span-2 lg:grid-cols-1"},Ke={class:"p-6"},Qe={class:"text-xs leading-5 lg:text-sm"},Xe=e("br",null,null,-1),et={class:"block mt-1 text-xl font-semibold leading-8 lg:text-2xl"},tt={class:"p-6"},st={class:"text-xs leading-5 lg:text-sm"},ot=e("br",null,null,-1),at={class:"block mt-1 text-xl font-semibold leading-8 lg:text-2xl text-green-400"},nt={class:"p-6"},lt={class:"text-xs leading-5 lg:text-sm"},ct=e("br",null,null,-1),rt={class:"block mt-1 text-xl font-semibold leading-8 lg:text-2xl text-red-400"},it={class:"col-span-3 p-6 border-t border-gray-200 border-solid lg:col-span-1"},dt={class:"text-xs leading-5 lg:text-sm"},_t=e("br",null,null,-1),ut={class:"block mt-1 text-xl font-semibold leading-8 lg:text-2xl text-primary-500"},mt={setup(r){const s=I(),a=H();M("utils");const n=B(),_=E(["This year","Previous year"]),y=E("This year");N(y,h=>{h==="Previous year"?f({previous_year:!0}):f()},{immediate:!0});async function f(h){n.hasAbilities(m.DASHBOARD)&&await s.loadData(h)}return(h,w)=>{const V=l("BaseIcon"),x=l("BaseMultiselect"),p=l("BaseFormatMoney");return d(),b("div",null,[o(s).isDashboardDataLoaded?(d(),b("div",Re,[e("div",qe,[e("div",Ue,[e("h6",Ye,[t(V,{name:"ChartSquareBarIcon",class:"text-primary-400 mr-1"}),g(" "+u(h.$t("dashboard.monthly_chart.title")),1)]),e("div",Ge,[t(x,{modelValue:y.value,"onUpdate:modelValue":w[0]||(w[0]=$=>y.value=$),options:_.value,"allow-empty":!1,"show-labels":!1,placeholder:h.$t("dashboard.select_year"),"can-deselect":!1},null,8,["modelValue","options","placeholder"])])]),t(R,{invoices:o(s).chartData.invoiceTotals,expenses:o(s).chartData.expenseTotals,receipts:o(s).chartData.receiptTotals,income:o(s).chartData.netIncomeTotals,labels:o(s).chartData.months,class:"sm:w-full"},null,8,["invoices","expenses","receipts","income","labels"])]),e("div",Je,[e("div",Ke,[e("span",Qe,u(h.$t("dashboard.chart_info.total_sales")),1),Xe,e("span",et,[t(p,{amount:o(s).totalSales,currency:o(a).selectedCompanyCurrency},null,8,["amount","currency"])])]),e("div",tt,[e("span",st,u(h.$t("dashboard.chart_info.total_receipts")),1),ot,e("span",at,[t(p,{amount:o(s).totalReceipts,currency:o(a).selectedCompanyCurrency},null,8,["amount","currency"])])]),e("div",nt,[e("span",lt,u(h.$t("dashboard.chart_info.total_expense")),1),ct,e("span",rt,[t(p,{amount:o(s).totalExpenses,currency:o(a).selectedCompanyCurrency},null,8,["amount","currency"])])]),e("div",it,[e("span",dt,u(h.$t("dashboard.chart_info.net_income")),1),_t,e("span",ut,[t(p,{amount:o(s).totalNetIncome,currency:o(a).selectedCompanyCurrency},null,8,["amount","currency"])])])])])):(d(),C(ze,{key:1}))])}}},ht={class:"grid grid-cols-1 gap-6 mt-10 xl:grid-cols-2"},pt={class:"due-invoices"},Ct={class:"relative z-10 flex items-center justify-between mb-3"},ft={class:"mb-0 text-xl font-semibold leading-normal"},xt={class:"recent-estimates"},bt={class:"relative z-10 flex items-center justify-between mb-3"},gt={class:"mb-0 text-xl font-semibold leading-normal"},yt={setup(r){const s=I(),{t:a}=O(),n=B(),_=E(null),y=E(null),f=P(()=>[{key:"formattedDueDate",label:a("dashboard.recent_invoices_card.due_on")},{key:"user",label:a("dashboard.recent_invoices_card.customer")},{key:"due_amount",label:a("dashboard.recent_invoices_card.amount_due")},{key:"actions",tdClass:"text-right text-sm font-medium pl-0",thClass:"text-right pl-0",sortable:!1}]),h=P(()=>[{key:"formattedEstimateDate",label:a("dashboard.recent_estimate_card.date")},{key:"user",label:a("dashboard.recent_estimate_card.customer")},{key:"total",label:a("dashboard.recent_estimate_card.amount_due")},{key:"actions",tdClass:"text-right text-sm font-medium pl-0",thClass:"text-right pl-0",sortable:!1}]);function w(){return n.hasAbilities([m.DELETE_INVOICE,m.EDIT_INVOICE,m.VIEW_INVOICE,m.SEND_INVOICE])}function V(){return n.hasAbilities([m.CREATE_ESTIMATE,m.EDIT_ESTIMATE,m.VIEW_ESTIMATE,m.SEND_ESTIMATE])}return(x,p)=>{const $=l("BaseButton"),T=l("router-link"),S=l("BaseFormatMoney"),k=l("BaseTable");return d(),b("div",null,[e("div",ht,[e("div",pt,[e("div",Ct,[e("h6",ft,u(x.$t("dashboard.recent_invoices_card.title")),1),t($,{size:"sm",variant:"primary-outline",onClick:p[0]||(p[0]=i=>x.$router.push("/admin/invoices"))},{default:c(()=>[g(u(x.$t("dashboard.recent_invoices_card.view_all")),1)]),_:1})]),t(k,{data:o(s).recentDueInvoices,columns:o(f),loading:!o(s).isDashboardDataLoaded},A({"cell-user":c(({row:i})=>[t(T,{to:{path:`invoices/${i.data.id}/view`},class:"font-medium text-primary-500"},{default:c(()=>[g(u(i.data.customer.name),1)]),_:2},1032,["to"])]),"cell-due_amount":c(({row:i})=>[t(S,{amount:i.data.due_amount,currency:i.data.customer.currency},null,8,["amount","currency"])]),_:2},[w()?{name:"cell-actions",fn:c(({row:i})=>[t(q,{row:i.data,table:_.value},null,8,["row","table"])])}:void 0]),1032,["data","columns","loading"])]),e("div",xt,[e("div",bt,[e("h6",gt,u(x.$t("dashboard.recent_estimate_card.title")),1),t($,{variant:"primary-outline",size:"sm",onClick:p[1]||(p[1]=i=>x.$router.push("/admin/estimates"))},{default:c(()=>[g(u(x.$t("dashboard.recent_estimate_card.view_all")),1)]),_:1})]),t(k,{data:o(s).recentEstimates,columns:o(h),loading:!o(s).isDashboardDataLoaded},A({"cell-user":c(({row:i})=>[t(T,{to:{path:`estimates/${i.data.id}/view`},class:"font-medium text-primary-500"},{default:c(()=>[g(u(i.data.customer.name),1)]),_:2},1032,["to"])]),"cell-total":c(({row:i})=>[t(S,{amount:i.data.total,currency:i.data.customer.currency},null,8,["amount","currency"])]),_:2},[V()?{name:"cell-actions",fn:c(({row:i})=>[t(U,{row:i,table:y.value},null,8,["row","table"])])}:void 0]),1032,["data","columns","loading"])])])])}}},Dt={setup(r){const s=Z(),a=B(),n=W();return z(()=>{s.meta.ability&&!a.hasAbilities(s.meta.ability)?n.push({name:"account.settings"}):s.meta.isOwner&&!a.currentUser.is_owner&&n.push({name:"account.settings"})}),(_,y)=>{const f=l("BasePage");return d(),C(f,null,{default:c(()=>[t(Me),t(mt),t(yt)]),_:1})}}};export{Dt as default}; +import{_ as v,b as I,c as H,d as B,e as m}from"./main.f55cd568.js";import{o as d,c as b,t as e,r as l,s as C,w as c,b as t,W as j,x as u,an as L,z as F,am as M,y as o,v as g,i as E,D as N,g as O,k as P,a5 as A,u as Z,C as W,M as z}from"./vendor.e9042f2c.js";import{_ as R}from"./LineChart.b8a2f8c7.js";import{_ as q}from"./InvoiceIndexDropdown.8a8f3a1b.js";import{_ as U}from"./EstimateIndexDropdown.07f4535c.js";const Y={},G={width:"50",height:"50",viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},J=e("circle",{cx:"25",cy:"25",r:"25",fill:"#FDE4E5"},null,-1),K=e("path",{d:"M27.2031 23.6016C28.349 23.9401 29.2083 24.6562 29.7812 25.75C30.3802 26.8438 30.4714 27.9766 30.0547 29.1484C29.7422 30.0078 29.2083 30.6979 28.4531 31.2188C27.6979 31.7135 26.8516 31.974 25.9141 32V33.875C25.9141 34.0573 25.849 34.2005 25.7188 34.3047C25.6146 34.4349 25.4714 34.5 25.2891 34.5H24.0391C23.8568 34.5 23.7005 34.4349 23.5703 34.3047C23.4661 34.2005 23.4141 34.0573 23.4141 33.875V32C22.1641 32 21.0443 31.6094 20.0547 30.8281C19.8984 30.6979 19.8073 30.5417 19.7812 30.3594C19.7552 30.1771 19.8203 30.0208 19.9766 29.8906L21.3047 28.5625C21.5651 28.3281 21.8255 28.3021 22.0859 28.4844C22.4766 28.7448 22.9193 28.875 23.4141 28.875H25.9922C26.3307 28.875 26.6042 28.7708 26.8125 28.5625C27.0469 28.3281 27.1641 28.0417 27.1641 27.7031C27.1641 27.1302 26.8906 26.7656 26.3438 26.6094L22.3203 25.4375C21.4349 25.1771 20.6927 24.7083 20.0938 24.0312C19.4948 23.3542 19.1432 22.5729 19.0391 21.6875C18.9349 20.4115 19.2995 19.3177 20.1328 18.4062C20.9922 17.4688 22.0599 17 23.3359 17H23.4141V15.125C23.4141 14.9427 23.4661 14.7995 23.5703 14.6953C23.7005 14.5651 23.8568 14.5 24.0391 14.5H25.2891C25.4714 14.5 25.6146 14.5651 25.7188 14.6953C25.849 14.7995 25.9141 14.9427 25.9141 15.125V17C27.1641 17 28.2839 17.3906 29.2734 18.1719C29.4297 18.3021 29.5208 18.4583 29.5469 18.6406C29.5729 18.8229 29.5078 18.9792 29.3516 19.1094L28.0234 20.4375C27.763 20.6719 27.5026 20.6979 27.2422 20.5156C26.8516 20.2552 26.4089 20.125 25.9141 20.125H23.3359C22.9974 20.125 22.7109 20.2422 22.4766 20.4766C22.2682 20.6849 22.1641 20.9583 22.1641 21.2969C22.1641 21.5312 22.2422 21.7526 22.3984 21.9609C22.5547 22.1693 22.75 22.3125 22.9844 22.3906L27.2031 23.6016Z",fill:"#FB7178"},null,-1),Q=[J,K];function X(r,s){return d(),b("svg",G,Q)}var ee=v(Y,[["render",X]]);const te={},se={width:"50",height:"50",viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},oe=e("circle",{cx:"25",cy:"25",r:"25",fill:"#EAF1FB"},null,-1),ae=e("path",{d:"M28.2656 23.0547C27.3021 24.0182 26.1302 24.5 24.75 24.5C23.3698 24.5 22.1849 24.0182 21.1953 23.0547C20.2318 22.0651 19.75 20.8802 19.75 19.5C19.75 18.1198 20.2318 16.9479 21.1953 15.9844C22.1849 14.9948 23.3698 14.5 24.75 14.5C26.1302 14.5 27.3021 14.9948 28.2656 15.9844C29.2552 16.9479 29.75 18.1198 29.75 19.5C29.75 20.8802 29.2552 22.0651 28.2656 23.0547ZM28.2656 25.75C29.6979 25.75 30.9219 26.2708 31.9375 27.3125C32.9792 28.3281 33.5 29.5521 33.5 30.9844V32.625C33.5 33.1458 33.3177 33.5885 32.9531 33.9531C32.5885 34.3177 32.1458 34.5 31.625 34.5H17.875C17.3542 34.5 16.9115 34.3177 16.5469 33.9531C16.1823 33.5885 16 33.1458 16 32.625V30.9844C16 29.5521 16.5078 28.3281 17.5234 27.3125C18.5651 26.2708 19.8021 25.75 21.2344 25.75H21.8984C22.8099 26.1667 23.7604 26.375 24.75 26.375C25.7396 26.375 26.6901 26.1667 27.6016 25.75H28.2656Z",fill:"#5851D8"},null,-1),ne=[oe,ae];function le(r,s){return d(),b("svg",se,ne)}var ce=v(te,[["render",le]]);const re={},ie={width:"50",height:"50",viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},de=e("circle",{cx:"25",cy:"25",r:"25",fill:"#EAF1FB"},null,-1),_e=e("path",{d:"M28.25 24.5V27H20.75V24.5H28.25ZM31.7266 18.6016C31.9089 18.7839 32 19.0052 32 19.2656V19.5H27V14.5H27.2344C27.4948 14.5 27.7161 14.5911 27.8984 14.7734L31.7266 18.6016ZM25.75 19.8125C25.75 20.0729 25.8411 20.2943 26.0234 20.4766C26.2057 20.6589 26.4271 20.75 26.6875 20.75H32V33.5625C32 33.8229 31.9089 34.0443 31.7266 34.2266C31.5443 34.4089 31.3229 34.5 31.0625 34.5H17.9375C17.6771 34.5 17.4557 34.4089 17.2734 34.2266C17.0911 34.0443 17 33.8229 17 33.5625V15.4375C17 15.1771 17.0911 14.9557 17.2734 14.7734C17.4557 14.5911 17.6771 14.5 17.9375 14.5H25.75V19.8125ZM19.5 17.3125V17.9375C19.5 18.1458 19.6042 18.25 19.8125 18.25H22.9375C23.1458 18.25 23.25 18.1458 23.25 17.9375V17.3125C23.25 17.1042 23.1458 17 22.9375 17H19.8125C19.6042 17 19.5 17.1042 19.5 17.3125ZM19.5 19.8125V20.4375C19.5 20.6458 19.6042 20.75 19.8125 20.75H22.9375C23.1458 20.75 23.25 20.6458 23.25 20.4375V19.8125C23.25 19.6042 23.1458 19.5 22.9375 19.5H19.8125C19.6042 19.5 19.5 19.6042 19.5 19.8125ZM29.5 31.6875V31.0625C29.5 30.8542 29.3958 30.75 29.1875 30.75H26.0625C25.8542 30.75 25.75 30.8542 25.75 31.0625V31.6875C25.75 31.8958 25.8542 32 26.0625 32H29.1875C29.3958 32 29.5 31.8958 29.5 31.6875ZM29.5 23.875C29.5 23.6927 29.4349 23.5495 29.3047 23.4453C29.2005 23.3151 29.0573 23.25 28.875 23.25H20.125C19.9427 23.25 19.7865 23.3151 19.6562 23.4453C19.5521 23.5495 19.5 23.6927 19.5 23.875V27.625C19.5 27.8073 19.5521 27.9635 19.6562 28.0938C19.7865 28.1979 19.9427 28.25 20.125 28.25H28.875C29.0573 28.25 29.2005 28.1979 29.3047 28.0938C29.4349 27.9635 29.5 27.8073 29.5 27.625V23.875Z",fill:"#5851D8"},null,-1),ue=[de,_e];function me(r,s){return d(),b("svg",ie,ue)}var he=v(re,[["render",me]]);const pe={},Ce={width:"50",height:"50",viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fe=e("circle",{cx:"25",cy:"25",r:"25",fill:"#EAF1FB"},null,-1),xe=e("path",{d:"M26.75 19.8125C26.75 20.0729 26.8411 20.2943 27.0234 20.4766C27.2057 20.6589 27.4271 20.75 27.6875 20.75H33V33.5625C33 33.8229 32.9089 34.0443 32.7266 34.2266C32.5443 34.4089 32.3229 34.5 32.0625 34.5H18.9375C18.6771 34.5 18.4557 34.4089 18.2734 34.2266C18.0911 34.0443 18 33.8229 18 33.5625V15.4375C18 15.1771 18.0911 14.9557 18.2734 14.7734C18.4557 14.5911 18.6771 14.5 18.9375 14.5H26.75V19.8125ZM33 19.2656V19.5H28V14.5H28.2344C28.4948 14.5 28.7161 14.5911 28.8984 14.7734L32.7266 18.6016C32.9089 18.7839 33 19.0052 33 19.2656Z",fill:"#5851D8"},null,-1),be=[fe,xe];function ge(r,s){return d(),b("svg",Ce,be)}var ye=v(pe,[["render",ge]]);const ve={},we={class:"flex items-center"};function $e(r,s){const a=l("BaseContentPlaceholdersText"),n=l("BaseContentPlaceholdersBox"),_=l("BaseContentPlaceholders");return d(),C(_,{rounded:!0,class:"relative flex justify-between w-full p-3 bg-white rounded shadow lg:col-span-3 xl:p-4"},{default:c(()=>[e("div",null,[t(a,{class:"h-5 -mb-1 w-14 xl:mb-6 xl:h-7",lines:1}),t(a,{class:"h-3 w-28 xl:h-4",lines:1})]),e("div",we,[t(n,{circle:!0,class:"w-10 h-10 xl:w-12 xl:h-12"})])]),_:1})}var Be=v(ve,[["render",$e]]);const Ee={},De={class:"flex items-center"};function Ve(r,s){const a=l("BaseContentPlaceholdersText"),n=l("BaseContentPlaceholdersBox"),_=l("BaseContentPlaceholders");return d(),C(_,{rounded:!0,class:"relative flex justify-between w-full p-3 bg-white rounded shadow lg:col-span-2 xl:p-4"},{default:c(()=>[e("div",null,[t(a,{class:"w-12 h-5 -mb-1 xl:mb-6 xl:h-7",lines:1}),t(a,{class:"w-20 h-3 xl:h-4",lines:1})]),e("div",De,[t(n,{circle:!0,class:"w-10 h-10 xl:w-12 xl:h-12"})])]),_:1})}var Ie=v(Ee,[["render",Ve]]);const Te={class:"text-xl font-semibold leading-tight text-black xl:text-3xl"},Se={class:"block mt-1 text-sm leading-tight text-gray-500 xl:text-lg"},ke={class:"flex items-center"},D={props:{iconComponent:{type:Object,required:!0},loading:{type:Boolean,default:!1},route:{type:String,required:!0},label:{type:String,required:!0},large:{type:Boolean,default:!1}},setup(r){return(s,a)=>{const n=l("router-link");return r.loading?r.large?(d(),C(Be,{key:1})):(d(),C(Ie,{key:2})):(d(),C(n,{key:0,class:F(["relative flex justify-between p-3 bg-white rounded shadow hover:bg-gray-50 xl:p-4 lg:col-span-2",{"lg:!col-span-3":r.large}]),to:r.route},{default:c(()=>[e("div",null,[e("span",Te,[j(s.$slots,"default")]),e("span",Se,u(r.label),1)]),e("div",ke,[(d(),C(L(r.iconComponent),{class:"w-10 h-10 xl:w-12 xl:h-12"}))])]),_:3},8,["class","to"]))}}},He={class:"grid gap-6 sm:grid-cols-2 lg:grid-cols-9 xl:gap-8"},Me={setup(r){M("utils");const s=I(),a=H(),n=B();return(_,y)=>{const f=l("BaseFormatMoney");return d(),b("div",He,[t(D,{"icon-component":ee,loading:!o(s).isDashboardDataLoaded,route:o(n).hasAbilities(o(m).VIEW_INVOICE)?"/admin/invoices":"",large:!0,label:_.$t("dashboard.cards.due_amount")},{default:c(()=>[t(f,{amount:o(s).stats.totalAmountDue,currency:o(a).selectedCompanyCurrency},null,8,["amount","currency"])]),_:1},8,["loading","route","label"]),t(D,{"icon-component":ce,loading:!o(s).isDashboardDataLoaded,route:o(n).hasAbilities(o(m).VIEW_CUSTOMER)?"/admin/customers":"",label:_.$t("dashboard.cards.customers")},{default:c(()=>[g(u(o(s).stats.totalCustomerCount),1)]),_:1},8,["loading","route","label"]),t(D,{"icon-component":he,loading:!o(s).isDashboardDataLoaded,route:o(n).hasAbilities(o(m).VIEW_INVOICE)?"/admin/invoices":"",label:_.$t("dashboard.cards.invoices")},{default:c(()=>[g(u(o(s).stats.totalInvoiceCount),1)]),_:1},8,["loading","route","label"]),t(D,{"icon-component":ye,loading:!o(s).isDashboardDataLoaded,route:o(n).hasAbilities(o(m).VIEW_ESTIMATE)?"/admin/estimates":"",label:_.$t("dashboard.cards.estimates")},{default:c(()=>[g(u(o(s).stats.totalEstimateCount),1)]),_:1},8,["loading","route","label"])])}}},Pe={},Ae={class:"grid grid-cols-1 col-span-10 px-4 py-5 lg:col-span-7 xl:col-span-8 sm:p-8"},je={class:"flex items-center justify-between mb-2 xl:mb-4"},Le={class:"grid grid-cols-3 col-span-10 text-center border-t border-l border-gray-200 border-solid lg:border-t-0 lg:text-right lg:col-span-3 xl:col-span-2 lg:grid-cols-1"},Fe={class:"flex flex-col items-center justify-center p-6 lg:justify-end lg:items-end"},Ne={class:"flex flex-col items-center justify-center p-6 lg:justify-end lg:items-end"},Oe={class:"flex flex-col items-center justify-center p-6 lg:justify-end lg:items-end"},Ze={class:"flex flex-col items-center justify-center col-span-3 p-6 border-t border-gray-200 border-solid lg:justify-end lg:items-end lg:col-span-1"};function We(r,s){const a=l("BaseContentPlaceholdersText"),n=l("BaseContentPlaceholdersBox"),_=l("BaseContentPlaceholders");return d(),C(_,{class:"grid grid-cols-10 mt-8 bg-white rounded shadow"},{default:c(()=>[e("div",Ae,[e("div",je,[t(a,{class:"h-10 w-36",lines:1}),t(a,{class:"h-10 w-36 !mt-0",lines:1})]),t(n,{class:"h-80 xl:h-72 sm:w-full"})]),e("div",Le,[e("div",Fe,[t(a,{class:"h-3 w-14 xl:h-4",lines:1}),t(a,{class:"w-20 h-5 xl:h-6",lines:1})]),e("div",Ne,[t(a,{class:"h-3 w-14 xl:h-4",lines:1}),t(a,{class:"w-20 h-5 xl:h-6",lines:1})]),e("div",Oe,[t(a,{class:"h-3 w-14 xl:h-4",lines:1}),t(a,{class:"w-20 h-5 xl:h-6",lines:1})]),e("div",Ze,[t(a,{class:"h-3 w-14 xl:h-4",lines:1}),t(a,{class:"w-20 h-5 xl:h-6",lines:1})])])]),_:1})}var ze=v(Pe,[["render",We]]);const Re={key:0,class:"grid grid-cols-10 mt-8 bg-white rounded shadow"},qe={class:"grid grid-cols-1 col-span-10 px-4 py-5 lg:col-span-7 xl:col-span-8 sm:p-6"},Ue={class:"flex justify-between mt-1 mb-4 flex-col md:flex-row"},Ye={class:"flex items-center sw-section-title h-10"},Ge={class:"w-full my-2 md:m-0 md:w-40 h-10"},Je={class:"grid grid-cols-3 col-span-10 text-center border-t border-l border-gray-200 border-solid lg:border-t-0 lg:text-right lg:col-span-3 xl:col-span-2 lg:grid-cols-1"},Ke={class:"p-6"},Qe={class:"text-xs leading-5 lg:text-sm"},Xe=e("br",null,null,-1),et={class:"block mt-1 text-xl font-semibold leading-8 lg:text-2xl"},tt={class:"p-6"},st={class:"text-xs leading-5 lg:text-sm"},ot=e("br",null,null,-1),at={class:"block mt-1 text-xl font-semibold leading-8 lg:text-2xl text-green-400"},nt={class:"p-6"},lt={class:"text-xs leading-5 lg:text-sm"},ct=e("br",null,null,-1),rt={class:"block mt-1 text-xl font-semibold leading-8 lg:text-2xl text-red-400"},it={class:"col-span-3 p-6 border-t border-gray-200 border-solid lg:col-span-1"},dt={class:"text-xs leading-5 lg:text-sm"},_t=e("br",null,null,-1),ut={class:"block mt-1 text-xl font-semibold leading-8 lg:text-2xl text-primary-500"},mt={setup(r){const s=I(),a=H();M("utils");const n=B(),_=E(["This year","Previous year"]),y=E("This year");N(y,h=>{h==="Previous year"?f({previous_year:!0}):f()},{immediate:!0});async function f(h){n.hasAbilities(m.DASHBOARD)&&await s.loadData(h)}return(h,w)=>{const V=l("BaseIcon"),x=l("BaseMultiselect"),p=l("BaseFormatMoney");return d(),b("div",null,[o(s).isDashboardDataLoaded?(d(),b("div",Re,[e("div",qe,[e("div",Ue,[e("h6",Ye,[t(V,{name:"ChartSquareBarIcon",class:"text-primary-400 mr-1"}),g(" "+u(h.$t("dashboard.monthly_chart.title")),1)]),e("div",Ge,[t(x,{modelValue:y.value,"onUpdate:modelValue":w[0]||(w[0]=$=>y.value=$),options:_.value,"allow-empty":!1,"show-labels":!1,placeholder:h.$t("dashboard.select_year"),"can-deselect":!1},null,8,["modelValue","options","placeholder"])])]),t(R,{invoices:o(s).chartData.invoiceTotals,expenses:o(s).chartData.expenseTotals,receipts:o(s).chartData.receiptTotals,income:o(s).chartData.netIncomeTotals,labels:o(s).chartData.months,class:"sm:w-full"},null,8,["invoices","expenses","receipts","income","labels"])]),e("div",Je,[e("div",Ke,[e("span",Qe,u(h.$t("dashboard.chart_info.total_sales")),1),Xe,e("span",et,[t(p,{amount:o(s).totalSales,currency:o(a).selectedCompanyCurrency},null,8,["amount","currency"])])]),e("div",tt,[e("span",st,u(h.$t("dashboard.chart_info.total_receipts")),1),ot,e("span",at,[t(p,{amount:o(s).totalReceipts,currency:o(a).selectedCompanyCurrency},null,8,["amount","currency"])])]),e("div",nt,[e("span",lt,u(h.$t("dashboard.chart_info.total_expense")),1),ct,e("span",rt,[t(p,{amount:o(s).totalExpenses,currency:o(a).selectedCompanyCurrency},null,8,["amount","currency"])])]),e("div",it,[e("span",dt,u(h.$t("dashboard.chart_info.net_income")),1),_t,e("span",ut,[t(p,{amount:o(s).totalNetIncome,currency:o(a).selectedCompanyCurrency},null,8,["amount","currency"])])])])])):(d(),C(ze,{key:1}))])}}},ht={class:"grid grid-cols-1 gap-6 mt-10 xl:grid-cols-2"},pt={class:"due-invoices"},Ct={class:"relative z-10 flex items-center justify-between mb-3"},ft={class:"mb-0 text-xl font-semibold leading-normal"},xt={class:"recent-estimates"},bt={class:"relative z-10 flex items-center justify-between mb-3"},gt={class:"mb-0 text-xl font-semibold leading-normal"},yt={setup(r){const s=I(),{t:a}=O(),n=B(),_=E(null),y=E(null),f=P(()=>[{key:"formattedDueDate",label:a("dashboard.recent_invoices_card.due_on")},{key:"user",label:a("dashboard.recent_invoices_card.customer")},{key:"due_amount",label:a("dashboard.recent_invoices_card.amount_due")},{key:"actions",tdClass:"text-right text-sm font-medium pl-0",thClass:"text-right pl-0",sortable:!1}]),h=P(()=>[{key:"formattedEstimateDate",label:a("dashboard.recent_estimate_card.date")},{key:"user",label:a("dashboard.recent_estimate_card.customer")},{key:"total",label:a("dashboard.recent_estimate_card.amount_due")},{key:"actions",tdClass:"text-right text-sm font-medium pl-0",thClass:"text-right pl-0",sortable:!1}]);function w(){return n.hasAbilities([m.DELETE_INVOICE,m.EDIT_INVOICE,m.VIEW_INVOICE,m.SEND_INVOICE])}function V(){return n.hasAbilities([m.CREATE_ESTIMATE,m.EDIT_ESTIMATE,m.VIEW_ESTIMATE,m.SEND_ESTIMATE])}return(x,p)=>{const $=l("BaseButton"),T=l("router-link"),S=l("BaseFormatMoney"),k=l("BaseTable");return d(),b("div",null,[e("div",ht,[e("div",pt,[e("div",Ct,[e("h6",ft,u(x.$t("dashboard.recent_invoices_card.title")),1),t($,{size:"sm",variant:"primary-outline",onClick:p[0]||(p[0]=i=>x.$router.push("/admin/invoices"))},{default:c(()=>[g(u(x.$t("dashboard.recent_invoices_card.view_all")),1)]),_:1})]),t(k,{data:o(s).recentDueInvoices,columns:o(f),loading:!o(s).isDashboardDataLoaded},A({"cell-user":c(({row:i})=>[t(T,{to:{path:`invoices/${i.data.id}/view`},class:"font-medium text-primary-500"},{default:c(()=>[g(u(i.data.customer.name),1)]),_:2},1032,["to"])]),"cell-due_amount":c(({row:i})=>[t(S,{amount:i.data.due_amount,currency:i.data.customer.currency},null,8,["amount","currency"])]),_:2},[w()?{name:"cell-actions",fn:c(({row:i})=>[t(q,{row:i.data,table:_.value},null,8,["row","table"])])}:void 0]),1032,["data","columns","loading"])]),e("div",xt,[e("div",bt,[e("h6",gt,u(x.$t("dashboard.recent_estimate_card.title")),1),t($,{variant:"primary-outline",size:"sm",onClick:p[1]||(p[1]=i=>x.$router.push("/admin/estimates"))},{default:c(()=>[g(u(x.$t("dashboard.recent_estimate_card.view_all")),1)]),_:1})]),t(k,{data:o(s).recentEstimates,columns:o(h),loading:!o(s).isDashboardDataLoaded},A({"cell-user":c(({row:i})=>[t(T,{to:{path:`estimates/${i.data.id}/view`},class:"font-medium text-primary-500"},{default:c(()=>[g(u(i.data.customer.name),1)]),_:2},1032,["to"])]),"cell-total":c(({row:i})=>[t(S,{amount:i.data.total,currency:i.data.customer.currency},null,8,["amount","currency"])]),_:2},[V()?{name:"cell-actions",fn:c(({row:i})=>[t(U,{row:i,table:y.value},null,8,["row","table"])])}:void 0]),1032,["data","columns","loading"])])])])}}},Dt={setup(r){const s=Z(),a=B(),n=W();return z(()=>{s.meta.ability&&!a.hasAbilities(s.meta.ability)?n.push({name:"account.settings"}):s.meta.isOwner&&!a.currentUser.is_owner&&n.push({name:"account.settings"})}),(_,y)=>{const f=l("BasePage");return d(),C(f,null,{default:c(()=>[t(Me),t(mt),t(yt)]),_:1})}}};export{Dt as default}; diff --git a/public/build/assets/DragIcon.9fdb0cc4.js b/public/build/assets/DragIcon.0cd95723.js similarity index 99% rename from public/build/assets/DragIcon.9fdb0cc4.js rename to public/build/assets/DragIcon.0cd95723.js index 994521fad..c4cb60199 100644 --- a/public/build/assets/DragIcon.9fdb0cc4.js +++ b/public/build/assets/DragIcon.0cd95723.js @@ -1,4 +1,4 @@ -import{aW as $r,aX as Br,aR as Kr,aY as Hr,o as Wr,c as Xr,t as Yr}from"./vendor.e9042f2c.js";import{_ as Vr}from"./main.c4ed6aa9.js";var gr={exports:{}};/**! +import{aW as $r,aX as Br,aR as Kr,aY as Hr,o as Wr,c as Xr,t as Yr}from"./vendor.e9042f2c.js";import{_ as Vr}from"./main.f55cd568.js";var gr={exports:{}};/**! * Sortable 1.14.0 * @author RubaXa * @author owenm diff --git a/public/build/assets/EstimateCreate.1327e99b.js b/public/build/assets/EstimateCreate.0b5fe1e4.js similarity index 83% rename from public/build/assets/EstimateCreate.1327e99b.js rename to public/build/assets/EstimateCreate.0b5fe1e4.js index 428effbdf..463b3be1b 100644 --- a/public/build/assets/EstimateCreate.1327e99b.js +++ b/public/build/assets/EstimateCreate.0b5fe1e4.js @@ -1 +1 @@ -var A=Object.defineProperty,J=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var q=Object.getOwnPropertySymbols;var Q=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var I=(a,e,i)=>e in a?A(a,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[e]=i,V=(a,e)=>{for(var i in e||(e={}))Q.call(e,i)&&I(a,i,e[i]);if(q)for(var i of q(e))W.call(e,i)&&I(a,i,e[i]);return a},x=(a,e)=>J(a,K(e));import{r as o,o as _,c as k,b as s,y as t,w as r,g as X,i as L,u as Y,C as Z,k as w,m as g,n as y,a4 as ee,aU as te,O as ae,q as se,D as ie,t as E,s as $,x as j,A as M,z as ne,v as oe,B as re,F as le}from"./vendor.e9042f2c.js";import{j as P,c as me,l as de}from"./main.c4ed6aa9.js";import{_ as ue,a as ce,b as ge,c as pe,d as _e,e as fe}from"./ItemModal.550811d2.js";import{_ as ve}from"./CreateCustomFields.b3e72776.js";import{_ as ye}from"./ExchangeRateConverter.723e246f.js";import{_ as be}from"./TaxTypeModal.e84ae727.js";import"./DragIcon.9fdb0cc4.js";import"./SelectNotePopup.957765bc.js";import"./NoteModal.ce9830bd.js";const we={class:"md:grid-cols-12 grid-cols-1 md:gap-x-6 mt-6 mb-8 grid gap-y-5"},Ee={props:{v:{type:Object,default:null},isLoading:{type:Boolean,default:!1},isEdit:{type:Boolean,default:!1}},setup(a){const e=P();return(i,m)=>{const l=o("BaseCustomerSelectPopup"),p=o("BaseDatePicker"),d=o("BaseInputGroup"),B=o("BaseInput"),h=o("BaseInputGrid");return _(),k("div",we,[s(l,{modelValue:t(e).newEstimate.customer,"onUpdate:modelValue":m[0]||(m[0]=u=>t(e).newEstimate.customer=u),valid:a.v.customer_id,"content-loading":a.isLoading,type:"estimate",class:"col-span-5 pr-0"},null,8,["modelValue","valid","content-loading"]),s(h,{class:"col-span-7"},{default:r(()=>[s(d,{label:i.$t("reports.estimates.estimate_date"),"content-loading":a.isLoading,required:"",error:a.v.estimate_date.$error&&a.v.estimate_date.$errors[0].$message},{default:r(()=>[s(p,{modelValue:t(e).newEstimate.estimate_date,"onUpdate:modelValue":m[1]||(m[1]=u=>t(e).newEstimate.estimate_date=u),"content-loading":a.isLoading,"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading","error"]),s(d,{label:i.$t("estimates.expiry_date"),"content-loading":a.isLoading,required:"",error:a.v.expiry_date.$error&&a.v.expiry_date.$errors[0].$message},{default:r(()=>[s(p,{modelValue:t(e).newEstimate.expiry_date,"onUpdate:modelValue":m[2]||(m[2]=u=>t(e).newEstimate.expiry_date=u),"content-loading":a.isLoading,"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading","error"]),s(d,{label:i.$t("estimates.estimate_number"),"content-loading":a.isLoading,required:"",error:a.v.estimate_number.$error&&a.v.estimate_number.$errors[0].$message},{default:r(()=>[s(B,{modelValue:t(e).newEstimate.estimate_number,"onUpdate:modelValue":m[3]||(m[3]=u=>t(e).newEstimate.estimate_number=u),"content-loading":a.isLoading},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading","error"]),s(ye,{store:t(e),"store-prop":"newEstimate",v:a.v,"is-loading":a.isLoading,"is-edit":a.isEdit,"customer-currency":t(e).newEstimate.currency_id},null,8,["store","v","is-loading","is-edit","customer-currency"])]),_:1})])}}},$e=["onSubmit"],Be={class:"flex"},he={class:"block mt-10 estimate-foot lg:flex lg:justify-between lg:items-start"},Ce={class:"relative w-full lg:w-1/2"},Fe={setup(a){const e=P(),i=me(),m=de(),{t:l}=X(),p="newEstimate";let d=L(!1);const B=L(["customer","company","customerCustom","estimate","estimateCustom"]);let h=Y(),u=Z(),f=w(()=>e.isFetchingInitialSettings),F=w(()=>v.value?l("estimates.edit_estimate"):l("estimates.new_estimate")),v=w(()=>h.name==="estimates.edit");const T={estimate_date:{required:g.withMessage(l("validation.required"),y)},expiry_date:{required:g.withMessage(l("validation.required"),y)},estimate_number:{required:g.withMessage(l("validation.required"),y)},reference_number:{maxLength:g.withMessage(l("validation.price_maxlength"),ee(255))},customer_id:{required:g.withMessage(l("validation.required"),y)},exchange_rate:{required:te(function(){return g.withMessage(l("validation.required"),y),e.showExchangeRate}),decimal:g.withMessage(l("validation.valid_exchange_rate"),ae)}},b=se(T,w(()=>e.newEstimate),{$scope:p});ie(()=>e.newEstimate.customer,n=>{n&&n.currency?e.newEstimate.selectedCurrency=n.currency:e.newEstimate.selectedCurrency=i.selectedCompanyCurrency}),e.resetCurrentEstimate(),m.resetCustomFields(),b.value.$reset,e.fetchEstimateInitialSettings(v.value);async function N(){if(b.value.$touch(),b.value.$invalid)return!1;d.value=!0;let n=x(V({},e.newEstimate),{sub_total:e.getSubTotal,total:e.getTotal,tax:e.getTotalTax});const C=v.value?e.updateEstimate:e.addEstimate;try{let c=await C(n);c.data.data&&u.push(`/admin/estimates/${c.data.data.id}/view`)}catch(c){console.error(c)}d.value=!1}return(n,C)=>{const c=o("BaseBreadcrumbItem"),D=o("BaseBreadcrumb"),S=o("BaseButton"),U=o("router-link"),G=o("BaseIcon"),R=o("BasePageHeader"),z=o("BaseScrollPane"),H=o("BasePage");return _(),k(le,null,[s(ue),s(ce),s(be),s(H,{class:"relative estimate-create-page"},{default:r(()=>[E("form",{onSubmit:re(N,["prevent"])},[s(R,{title:t(F)},{actions:r(()=>[n.$route.name==="estimates.edit"?(_(),$(U,{key:0,to:`/estimates/pdf/${t(e).newEstimate.unique_hash}`,target:"_blank"},{default:r(()=>[s(S,{class:"mr-3",variant:"primary-outline",type:"button"},{default:r(()=>[E("span",Be,j(n.$t("general.view_pdf")),1)]),_:1})]),_:1},8,["to"])):M("",!0),s(S,{loading:t(d),disabled:t(d),"content-loading":t(f),variant:"primary",type:"submit"},{left:r(O=>[t(d)?M("",!0):(_(),$(G,{key:0,class:ne(O.class),name:"SaveIcon"},null,8,["class"]))]),default:r(()=>[oe(" "+j(n.$t("estimates.save_estimate")),1)]),_:1},8,["loading","disabled","content-loading"])]),default:r(()=>[s(D,null,{default:r(()=>[s(c,{title:n.$t("general.home"),to:"/admin/dashboard"},null,8,["title"]),s(c,{title:n.$tc("estimates.estimate",2),to:"/admin/estimates"},null,8,["title"]),n.$route.name==="estimates.edit"?(_(),$(c,{key:0,title:n.$t("estimates.edit_estimate"),to:"#",active:""},null,8,["title"])):(_(),$(c,{key:1,title:n.$t("estimates.new_estimate"),to:"#",active:""},null,8,["title"]))]),_:1})]),_:1},8,["title"]),s(Ee,{v:t(b),"is-loading":t(f),"is-edit":t(v)},null,8,["v","is-loading","is-edit"]),s(z,null,{default:r(()=>[s(ge,{currency:t(e).newEstimate.selectedCurrency,"is-loading":t(f),"item-validation-scope":p,store:t(e),"store-prop":"newEstimate"},null,8,["currency","is-loading","store"]),E("div",he,[E("div",Ce,[s(pe,{store:t(e),"store-prop":"newEstimate",fields:B.value,type:"Estimate"},null,8,["store","fields"]),s(ve,{type:"Estimate","is-edit":t(v),"is-loading":t(f),store:t(e),"store-prop":"newEstimate","custom-field-scope":p,class:"mb-6"},null,8,["is-edit","is-loading","store"]),s(_e,{store:t(e),"component-name":"EstimateTemplate","store-prop":"newEstimate"},null,8,["store"])]),s(fe,{currency:t(e).newEstimate.selectedCurrency,"is-loading":t(f),store:t(e),"store-prop":"newEstimate","tax-popup-type":"estimate"},null,8,["currency","is-loading","store"])])]),_:1})],40,$e)]),_:1})],64)}}};export{Fe as default}; +var A=Object.defineProperty,J=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var q=Object.getOwnPropertySymbols;var Q=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var I=(a,e,i)=>e in a?A(a,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[e]=i,V=(a,e)=>{for(var i in e||(e={}))Q.call(e,i)&&I(a,i,e[i]);if(q)for(var i of q(e))W.call(e,i)&&I(a,i,e[i]);return a},x=(a,e)=>J(a,K(e));import{r as o,o as _,c as k,b as s,y as t,w as r,g as X,i as L,u as Y,C as Z,k as b,m as g,n as y,a4 as ee,aU as te,O as ae,q as se,D as ie,t as E,s as $,x as j,A as M,z as ne,v as oe,B as re,F as le}from"./vendor.e9042f2c.js";import{j as P,c as me,l as de}from"./main.f55cd568.js";import{_ as ue,a as ce,b as ge,c as pe,d as _e,e as fe}from"./ItemModal.6c4a6110.js";import{_ as ve}from"./CreateCustomFields.31e45d63.js";import{_ as ye}from"./ExchangeRateConverter.2eb3213d.js";import{_ as we}from"./TaxTypeModal.2309f47d.js";import"./DragIcon.0cd95723.js";import"./SelectNotePopup.8c3a3989.js";import"./NoteModal.0435aa4f.js";const be={class:"md:grid-cols-12 grid-cols-1 md:gap-x-6 mt-6 mb-8 grid gap-y-5"},Ee={props:{v:{type:Object,default:null},isLoading:{type:Boolean,default:!1},isEdit:{type:Boolean,default:!1}},setup(a){const e=P();return(i,m)=>{const l=o("BaseCustomerSelectPopup"),p=o("BaseDatePicker"),d=o("BaseInputGroup"),B=o("BaseInput"),h=o("BaseInputGrid");return _(),k("div",be,[s(l,{modelValue:t(e).newEstimate.customer,"onUpdate:modelValue":m[0]||(m[0]=u=>t(e).newEstimate.customer=u),valid:a.v.customer_id,"content-loading":a.isLoading,type:"estimate",class:"col-span-5 pr-0"},null,8,["modelValue","valid","content-loading"]),s(h,{class:"col-span-7"},{default:r(()=>[s(d,{label:i.$t("reports.estimates.estimate_date"),"content-loading":a.isLoading,required:"",error:a.v.estimate_date.$error&&a.v.estimate_date.$errors[0].$message},{default:r(()=>[s(p,{modelValue:t(e).newEstimate.estimate_date,"onUpdate:modelValue":m[1]||(m[1]=u=>t(e).newEstimate.estimate_date=u),"content-loading":a.isLoading,"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading","error"]),s(d,{label:i.$t("estimates.expiry_date"),"content-loading":a.isLoading,required:"",error:a.v.expiry_date.$error&&a.v.expiry_date.$errors[0].$message},{default:r(()=>[s(p,{modelValue:t(e).newEstimate.expiry_date,"onUpdate:modelValue":m[2]||(m[2]=u=>t(e).newEstimate.expiry_date=u),"content-loading":a.isLoading,"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading","error"]),s(d,{label:i.$t("estimates.estimate_number"),"content-loading":a.isLoading,required:"",error:a.v.estimate_number.$error&&a.v.estimate_number.$errors[0].$message},{default:r(()=>[s(B,{modelValue:t(e).newEstimate.estimate_number,"onUpdate:modelValue":m[3]||(m[3]=u=>t(e).newEstimate.estimate_number=u),"content-loading":a.isLoading},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading","error"]),s(ye,{store:t(e),"store-prop":"newEstimate",v:a.v,"is-loading":a.isLoading,"is-edit":a.isEdit,"customer-currency":t(e).newEstimate.currency_id},null,8,["store","v","is-loading","is-edit","customer-currency"])]),_:1})])}}},$e=["onSubmit"],Be={class:"flex"},he={class:"block mt-10 estimate-foot lg:flex lg:justify-between lg:items-start"},Ce={class:"relative w-full lg:w-1/2"},Fe={setup(a){const e=P(),i=me(),m=de(),{t:l}=X(),p="newEstimate";let d=L(!1);const B=L(["customer","company","customerCustom","estimate","estimateCustom"]);let h=Y(),u=Z(),f=b(()=>e.isFetchingInitialSettings),F=b(()=>v.value?l("estimates.edit_estimate"):l("estimates.new_estimate")),v=b(()=>h.name==="estimates.edit");const T={estimate_date:{required:g.withMessage(l("validation.required"),y)},expiry_date:{required:g.withMessage(l("validation.required"),y)},estimate_number:{required:g.withMessage(l("validation.required"),y)},reference_number:{maxLength:g.withMessage(l("validation.price_maxlength"),ee(255))},customer_id:{required:g.withMessage(l("validation.required"),y)},exchange_rate:{required:te(function(){return g.withMessage(l("validation.required"),y),e.showExchangeRate}),decimal:g.withMessage(l("validation.valid_exchange_rate"),ae)}},w=se(T,b(()=>e.newEstimate),{$scope:p});ie(()=>e.newEstimate.customer,n=>{n&&n.currency?e.newEstimate.selectedCurrency=n.currency:e.newEstimate.selectedCurrency=i.selectedCompanyCurrency}),e.resetCurrentEstimate(),m.resetCustomFields(),w.value.$reset,e.fetchEstimateInitialSettings(v.value);async function N(){if(w.value.$touch(),w.value.$invalid)return!1;d.value=!0;let n=x(V({},e.newEstimate),{sub_total:e.getSubTotal,total:e.getTotal,tax:e.getTotalTax});const C=v.value?e.updateEstimate:e.addEstimate;try{let c=await C(n);c.data.data&&u.push(`/admin/estimates/${c.data.data.id}/view`)}catch(c){console.error(c)}d.value=!1}return(n,C)=>{const c=o("BaseBreadcrumbItem"),D=o("BaseBreadcrumb"),S=o("BaseButton"),U=o("router-link"),G=o("BaseIcon"),R=o("BasePageHeader"),z=o("BaseScrollPane"),H=o("BasePage");return _(),k(le,null,[s(ue),s(ce),s(we),s(H,{class:"relative estimate-create-page"},{default:r(()=>[E("form",{onSubmit:re(N,["prevent"])},[s(R,{title:t(F)},{actions:r(()=>[n.$route.name==="estimates.edit"?(_(),$(U,{key:0,to:`/estimates/pdf/${t(e).newEstimate.unique_hash}`,target:"_blank"},{default:r(()=>[s(S,{class:"mr-3",variant:"primary-outline",type:"button"},{default:r(()=>[E("span",Be,j(n.$t("general.view_pdf")),1)]),_:1})]),_:1},8,["to"])):M("",!0),s(S,{loading:t(d),disabled:t(d),"content-loading":t(f),variant:"primary",type:"submit"},{left:r(O=>[t(d)?M("",!0):(_(),$(G,{key:0,class:ne(O.class),name:"SaveIcon"},null,8,["class"]))]),default:r(()=>[oe(" "+j(n.$t("estimates.save_estimate")),1)]),_:1},8,["loading","disabled","content-loading"])]),default:r(()=>[s(D,null,{default:r(()=>[s(c,{title:n.$t("general.home"),to:"/admin/dashboard"},null,8,["title"]),s(c,{title:n.$tc("estimates.estimate",2),to:"/admin/estimates"},null,8,["title"]),n.$route.name==="estimates.edit"?(_(),$(c,{key:0,title:n.$t("estimates.edit_estimate"),to:"#",active:""},null,8,["title"])):(_(),$(c,{key:1,title:n.$t("estimates.new_estimate"),to:"#",active:""},null,8,["title"]))]),_:1})]),_:1},8,["title"]),s(Ee,{v:t(w),"is-loading":t(f),"is-edit":t(v)},null,8,["v","is-loading","is-edit"]),s(z,null,{default:r(()=>[s(ge,{currency:t(e).newEstimate.selectedCurrency,"is-loading":t(f),"item-validation-scope":p,store:t(e),"store-prop":"newEstimate"},null,8,["currency","is-loading","store"]),E("div",he,[E("div",Ce,[s(pe,{store:t(e),"store-prop":"newEstimate",fields:B.value,type:"Estimate"},null,8,["store","fields"]),s(ve,{type:"Estimate","is-edit":t(v),"is-loading":t(f),store:t(e),"store-prop":"newEstimate","custom-field-scope":p,class:"mb-6"},null,8,["is-edit","is-loading","store"]),s(_e,{store:t(e),"component-name":"EstimateTemplate","store-prop":"newEstimate"},null,8,["store"])]),s(fe,{currency:t(e).newEstimate.selectedCurrency,"is-loading":t(f),store:t(e),"store-prop":"newEstimate","tax-popup-type":"estimate"},null,8,["currency","is-loading","store"])])]),_:1})],40,$e)]),_:1})],64)}}};export{Fe as default}; diff --git a/public/build/assets/EstimateIndexDropdown.16bd4994.js b/public/build/assets/EstimateIndexDropdown.07f4535c.js similarity index 97% rename from public/build/assets/EstimateIndexDropdown.16bd4994.js rename to public/build/assets/EstimateIndexDropdown.07f4535c.js index a7ee9a4b8..9b62d5142 100644 --- a/public/build/assets/EstimateIndexDropdown.16bd4994.js +++ b/public/build/assets/EstimateIndexDropdown.07f4535c.js @@ -1 +1 @@ -import{j as R,g as z,u as P,i as V,d as O,e as E}from"./main.c4ed6aa9.js";import{am as U,g as H,u as J,C as W,r as T,o as i,s as l,w as r,y as n,b as m,v as u,x as d,A as g}from"./vendor.e9042f2c.js";const X={props:{row:{type:Object,default:null},table:{type:Object,default:null}},setup(o){const y=o,S=U("utils"),v=R(),C=z(),D=P(),p=V(),f=O(),{t:s}=H(),k=J(),b=W();async function _(e){p.openDialog({title:s("general.are_you_sure"),message:s("estimates.confirm_delete"),yesLabel:s("general.ok"),noLabel:s("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(t=>{e=e,t&&v.deleteEstimate({ids:[e]}).then(a=>{a&&(y.table&&y.table.refresh(),a.data&&b.push("/admin/estimates"),v.$patch(h=>{h.selectedEstimates=[],h.selectAllField=!1}))})})}function $(e){p.openDialog({title:s("general.are_you_sure"),message:s("estimates.confirm_conversion"),yesLabel:s("general.ok"),noLabel:s("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(t=>{t&&v.convertToInvoice(e).then(a=>{a.data&&b.push(`/admin/invoices/${a.data.data.id}/edit`)})})}async function x(e){p.openDialog({title:s("general.are_you_sure"),message:s("estimates.confirm_mark_as_sent"),yesLabel:s("general.ok"),noLabel:s("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(t=>{const a={id:e,status:"SENT"};t&&v.markAsSent(a).then(h=>{y.table&&y.table.refresh()})})}function N(e){return(e.status=="SENT"||e.status=="VIEWED")&&k.name!=="estimates.view"&&f.hasAbilities(E.SEND_ESTIMATE)}async function I(e){C.openModal({title:s("estimates.send_estimate"),componentName:"SendEstimateModal",id:e.id,data:e,variant:"lg"})}async function B(e){p.openDialog({title:s("general.are_you_sure"),message:s("estimates.confirm_mark_as_accepted"),yesLabel:s("general.ok"),noLabel:s("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(t=>{const a={id:e,status:"ACCEPTED"};t&&v.markAsAccepted(a).then(h=>{y.table&&y.table.refresh()})})}async function M(e){p.openDialog({title:s("general.are_you_sure"),message:s("estimates.confirm_mark_as_rejected"),yesLabel:s("general.ok"),noLabel:s("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(t=>{const a={id:e,status:"REJECTED"};t&&v.markAsRejected(a).then(h=>{y.table&&y.table.refresh()})})}function L(){let e=`${window.location.origin}/estimates/pdf/${y.row.unique_hash}`;S.copyTextToClipboard(e),D.showNotification({type:"success",message:s("general.copied_pdf_url_clipboard")})}return(e,t)=>{const a=T("BaseIcon"),h=T("BaseButton"),c=T("BaseDropdownItem"),A=T("router-link"),j=T("BaseDropdown");return i(),l(j,null,{activator:r(()=>[n(k).name==="estimates.view"?(i(),l(h,{key:0,variant:"primary"},{default:r(()=>[m(a,{name:"DotsHorizontalIcon",class:"text-white"})]),_:1})):(i(),l(a,{key:1,class:"text-gray-500",name:"DotsHorizontalIcon"}))]),default:r(()=>[n(k).name==="estimates.view"?(i(),l(c,{key:0,onClick:L},{default:r(()=>[m(a,{name:"LinkIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("general.copy_pdf_url")),1)]),_:1})):g("",!0),n(f).hasAbilities(n(E).EDIT_ESTIMATE)?(i(),l(A,{key:1,to:`/admin/estimates/${o.row.id}/edit`},{default:r(()=>[m(c,null,{default:r(()=>[m(a,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("general.edit")),1)]),_:1})]),_:1},8,["to"])):g("",!0),n(f).hasAbilities(n(E).DELETE_ESTIMATE)?(i(),l(c,{key:2,onClick:t[0]||(t[0]=w=>_(o.row.id))},{default:r(()=>[m(a,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("general.delete")),1)]),_:1})):g("",!0),n(k).name!=="estimates.view"&&n(f).hasAbilities(n(E).VIEW_ESTIMATE)?(i(),l(A,{key:3,to:`estimates/${o.row.id}/view`},{default:r(()=>[m(c,null,{default:r(()=>[m(a,{name:"EyeIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("general.view")),1)]),_:1})]),_:1},8,["to"])):g("",!0),n(f).hasAbilities(n(E).CREATE_INVOICE)?(i(),l(c,{key:4,onClick:t[1]||(t[1]=w=>$(o.row.id))},{default:r(()=>[m(a,{name:"DocumentTextIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("estimates.convert_to_invoice")),1)]),_:1})):g("",!0),o.row.status!=="SENT"&&n(k).name!=="estimates.view"&&n(f).hasAbilities(n(E).SEND_ESTIMATE)?(i(),l(c,{key:5,onClick:t[2]||(t[2]=w=>x(o.row.id))},{default:r(()=>[m(a,{name:"CheckCircleIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("estimates.mark_as_sent")),1)]),_:1})):g("",!0),o.row.status!=="SENT"&&n(k).name!=="estimates.view"&&n(f).hasAbilities(n(E).SEND_ESTIMATE)?(i(),l(c,{key:6,onClick:t[3]||(t[3]=w=>I(o.row))},{default:r(()=>[m(a,{name:"PaperAirplaneIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("estimates.send_estimate")),1)]),_:1})):g("",!0),N(o.row)?(i(),l(c,{key:7,onClick:t[4]||(t[4]=w=>I(o.row))},{default:r(()=>[m(a,{name:"PaperAirplaneIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("estimates.resend_estimate")),1)]),_:1})):g("",!0),o.row.status!=="ACCEPTED"&&n(f).hasAbilities(n(E).EDIT_ESTIMATE)?(i(),l(c,{key:8,onClick:t[5]||(t[5]=w=>B(o.row.id))},{default:r(()=>[m(a,{name:"CheckCircleIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("estimates.mark_as_accepted")),1)]),_:1})):g("",!0),o.row.status!=="REJECTED"&&n(f).hasAbilities(n(E).EDIT_ESTIMATE)?(i(),l(c,{key:9,onClick:t[6]||(t[6]=w=>M(o.row.id))},{default:r(()=>[m(a,{name:"XCircleIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("estimates.mark_as_rejected")),1)]),_:1})):g("",!0)]),_:1})}}};export{X as _}; +import{j as R,g as z,u as P,i as V,d as O,e as E}from"./main.f55cd568.js";import{am as U,g as H,u as J,C as W,r as T,o as i,s as l,w as r,y as n,b as m,v as u,x as d,A as g}from"./vendor.e9042f2c.js";const X={props:{row:{type:Object,default:null},table:{type:Object,default:null}},setup(o){const y=o,S=U("utils"),v=R(),C=z(),D=P(),p=V(),f=O(),{t:s}=H(),k=J(),b=W();async function _(e){p.openDialog({title:s("general.are_you_sure"),message:s("estimates.confirm_delete"),yesLabel:s("general.ok"),noLabel:s("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(t=>{e=e,t&&v.deleteEstimate({ids:[e]}).then(a=>{a&&(y.table&&y.table.refresh(),a.data&&b.push("/admin/estimates"),v.$patch(h=>{h.selectedEstimates=[],h.selectAllField=!1}))})})}function $(e){p.openDialog({title:s("general.are_you_sure"),message:s("estimates.confirm_conversion"),yesLabel:s("general.ok"),noLabel:s("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(t=>{t&&v.convertToInvoice(e).then(a=>{a.data&&b.push(`/admin/invoices/${a.data.data.id}/edit`)})})}async function x(e){p.openDialog({title:s("general.are_you_sure"),message:s("estimates.confirm_mark_as_sent"),yesLabel:s("general.ok"),noLabel:s("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(t=>{const a={id:e,status:"SENT"};t&&v.markAsSent(a).then(h=>{y.table&&y.table.refresh()})})}function N(e){return(e.status=="SENT"||e.status=="VIEWED")&&k.name!=="estimates.view"&&f.hasAbilities(E.SEND_ESTIMATE)}async function I(e){C.openModal({title:s("estimates.send_estimate"),componentName:"SendEstimateModal",id:e.id,data:e,variant:"lg"})}async function B(e){p.openDialog({title:s("general.are_you_sure"),message:s("estimates.confirm_mark_as_accepted"),yesLabel:s("general.ok"),noLabel:s("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(t=>{const a={id:e,status:"ACCEPTED"};t&&v.markAsAccepted(a).then(h=>{y.table&&y.table.refresh()})})}async function M(e){p.openDialog({title:s("general.are_you_sure"),message:s("estimates.confirm_mark_as_rejected"),yesLabel:s("general.ok"),noLabel:s("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(t=>{const a={id:e,status:"REJECTED"};t&&v.markAsRejected(a).then(h=>{y.table&&y.table.refresh()})})}function L(){let e=`${window.location.origin}/estimates/pdf/${y.row.unique_hash}`;S.copyTextToClipboard(e),D.showNotification({type:"success",message:s("general.copied_pdf_url_clipboard")})}return(e,t)=>{const a=T("BaseIcon"),h=T("BaseButton"),c=T("BaseDropdownItem"),A=T("router-link"),j=T("BaseDropdown");return i(),l(j,null,{activator:r(()=>[n(k).name==="estimates.view"?(i(),l(h,{key:0,variant:"primary"},{default:r(()=>[m(a,{name:"DotsHorizontalIcon",class:"text-white"})]),_:1})):(i(),l(a,{key:1,class:"text-gray-500",name:"DotsHorizontalIcon"}))]),default:r(()=>[n(k).name==="estimates.view"?(i(),l(c,{key:0,onClick:L},{default:r(()=>[m(a,{name:"LinkIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("general.copy_pdf_url")),1)]),_:1})):g("",!0),n(f).hasAbilities(n(E).EDIT_ESTIMATE)?(i(),l(A,{key:1,to:`/admin/estimates/${o.row.id}/edit`},{default:r(()=>[m(c,null,{default:r(()=>[m(a,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("general.edit")),1)]),_:1})]),_:1},8,["to"])):g("",!0),n(f).hasAbilities(n(E).DELETE_ESTIMATE)?(i(),l(c,{key:2,onClick:t[0]||(t[0]=w=>_(o.row.id))},{default:r(()=>[m(a,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("general.delete")),1)]),_:1})):g("",!0),n(k).name!=="estimates.view"&&n(f).hasAbilities(n(E).VIEW_ESTIMATE)?(i(),l(A,{key:3,to:`estimates/${o.row.id}/view`},{default:r(()=>[m(c,null,{default:r(()=>[m(a,{name:"EyeIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("general.view")),1)]),_:1})]),_:1},8,["to"])):g("",!0),n(f).hasAbilities(n(E).CREATE_INVOICE)?(i(),l(c,{key:4,onClick:t[1]||(t[1]=w=>$(o.row.id))},{default:r(()=>[m(a,{name:"DocumentTextIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("estimates.convert_to_invoice")),1)]),_:1})):g("",!0),o.row.status!=="SENT"&&n(k).name!=="estimates.view"&&n(f).hasAbilities(n(E).SEND_ESTIMATE)?(i(),l(c,{key:5,onClick:t[2]||(t[2]=w=>x(o.row.id))},{default:r(()=>[m(a,{name:"CheckCircleIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("estimates.mark_as_sent")),1)]),_:1})):g("",!0),o.row.status!=="SENT"&&n(k).name!=="estimates.view"&&n(f).hasAbilities(n(E).SEND_ESTIMATE)?(i(),l(c,{key:6,onClick:t[3]||(t[3]=w=>I(o.row))},{default:r(()=>[m(a,{name:"PaperAirplaneIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("estimates.send_estimate")),1)]),_:1})):g("",!0),N(o.row)?(i(),l(c,{key:7,onClick:t[4]||(t[4]=w=>I(o.row))},{default:r(()=>[m(a,{name:"PaperAirplaneIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("estimates.resend_estimate")),1)]),_:1})):g("",!0),o.row.status!=="ACCEPTED"&&n(f).hasAbilities(n(E).EDIT_ESTIMATE)?(i(),l(c,{key:8,onClick:t[5]||(t[5]=w=>B(o.row.id))},{default:r(()=>[m(a,{name:"CheckCircleIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("estimates.mark_as_accepted")),1)]),_:1})):g("",!0),o.row.status!=="REJECTED"&&n(f).hasAbilities(n(E).EDIT_ESTIMATE)?(i(),l(c,{key:9,onClick:t[6]||(t[6]=w=>M(o.row.id))},{default:r(()=>[m(a,{name:"XCircleIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),u(" "+d(e.$t("estimates.mark_as_rejected")),1)]),_:1})):g("",!0)]),_:1})}}};export{X as _}; diff --git a/public/build/assets/ExchangeRateConverter.723e246f.js b/public/build/assets/ExchangeRateConverter.2eb3213d.js similarity index 60% rename from public/build/assets/ExchangeRateConverter.723e246f.js rename to public/build/assets/ExchangeRateConverter.2eb3213d.js index adbf797f2..5c83200cf 100644 --- a/public/build/assets/ExchangeRateConverter.723e246f.js +++ b/public/build/assets/ExchangeRateConverter.2eb3213d.js @@ -1 +1 @@ -import{m as D,c as _,t as j}from"./main.c4ed6aa9.js";import{i as p,k as u,D as l,b3 as A,r as d,ap as F,y as n,o as x,s as N,w as m,c as G,Z as z,b as v,z as L,A as C,t as E,x as b}from"./vendor.e9042f2c.js";const O={key:0},U={class:"text-gray-500 sm:text-sm"},q={class:"text-gray-400 text-xs mt-2 font-light"},J={props:{v:{type:Object,default:null},isLoading:{type:Boolean,default:!1},store:{type:Object,default:null},storeProp:{type:String,default:""},isEdit:{type:Boolean,default:!1},customerCurrency:{type:[String,Number],default:null}},setup(r){const e=r,h=D(),B=_(),g=j(),f=p(!1);let o=p(!1);h.fetchCurrencies();const s=u(()=>B.selectedCompanyCurrency),c=u(()=>h.currencies.find(t=>t.id===e.store[e.storeProp].currency_id)),P=u(()=>s.value.id!==e.customerCurrency);l(()=>e.store[e.storeProp].customer,t=>{R(t)},{deep:!0}),l(()=>e.store[e.storeProp].currency_id,t=>{$(t)},{immediate:!0}),l(()=>e.customerCurrency,t=>{t&&e.isEdit&&w()},{immediate:!0});function w(){P.value&&g.checkForActiveProvider(e.customerCurrency).then(t=>{t.data.success&&(f.value=!0)})}function R(t){t?e.store[e.storeProp].currency_id=t.currency.id:e.store[e.storeProp].currency_id=s.value.id}async function $(t){t!==s.value.id?(!e.isEdit&&t&&await y(t),e.store.showExchangeRate=!0):e.store.showExchangeRate=!1}function y(t){o.value=!0,g.getCurrentExchangeRate(t).then(a=>{a.data&&!a.data.error?e.store[e.storeProp].exchange_rate=a.data.exchangeRate[0]:e.store[e.storeProp].exchange_rate="",o.value=!1}).catch(a=>{o.value=!1})}return A(()=>{e.store.showExchangeRate=!1}),(t,a)=>{const k=d("BaseIcon"),S=d("BaseInput"),I=d("BaseInputGroup"),V=F("tooltip");return r.store.showExchangeRate&&n(c)?(x(),N(I,{key:0,"content-loading":n(o)&&!r.isEdit,label:t.$t("settings.exchange_rate.exchange_rate"),error:r.v.exchange_rate.$error&&r.v.exchange_rate.$errors[0].$message,required:""},{labelRight:m(()=>[f.value&&r.isEdit?(x(),G("div",O,[z(v(k,{name:"RefreshIcon",class:L(`h-4 w-4 text-primary-500 cursor-pointer outline-none ${n(o)?" animate-spin transform rotate-180 cursor-not-allowed pointer-events-none ":""}`),onClick:a[0]||(a[0]=i=>y(r.customerCurrency))},null,8,["class"]),[[V,{content:"Fetch Latest Exchange rate"}]])])):C("",!0)]),default:m(()=>[v(S,{modelValue:r.store[r.storeProp].exchange_rate,"onUpdate:modelValue":a[1]||(a[1]=i=>r.store[r.storeProp].exchange_rate=i),"content-loading":n(o)&&!r.isEdit,addon:`1 ${n(c).code} =`,disabled:n(o),onInput:a[2]||(a[2]=i=>r.v.exchange_rate.$touch())},{right:m(()=>[E("span",U,b(n(s).code),1)]),_:1},8,["modelValue","content-loading","addon","disabled"]),E("span",q,b(t.$t("settings.exchange_rate.exchange_help_text",{currency:n(c).code,baseCurrency:n(s).code})),1)]),_:1},8,["content-loading","label","error"])):C("",!0)}}};export{J as _}; +import{m as D,c as _,t as j}from"./main.f55cd568.js";import{i as p,k as u,D as l,b3 as A,r as d,ap as F,y as o,o as x,s as N,w as m,c as G,Z as z,b as v,z as L,A as C,t as E,x as b}from"./vendor.e9042f2c.js";const O={key:0},U={class:"text-gray-500 sm:text-sm"},q={class:"text-gray-400 text-xs mt-2 font-light"},J={props:{v:{type:Object,default:null},isLoading:{type:Boolean,default:!1},store:{type:Object,default:null},storeProp:{type:String,default:""},isEdit:{type:Boolean,default:!1},customerCurrency:{type:[String,Number],default:null}},setup(r){const e=r,h=D(),B=_(),g=j(),f=p(!1);let a=p(!1);h.fetchCurrencies();const s=u(()=>B.selectedCompanyCurrency),c=u(()=>h.currencies.find(t=>t.id===e.store[e.storeProp].currency_id)),P=u(()=>s.value.id!==e.customerCurrency);l(()=>e.store[e.storeProp].customer,t=>{R(t)},{deep:!0}),l(()=>e.store[e.storeProp].currency_id,t=>{$(t)},{immediate:!0}),l(()=>e.customerCurrency,t=>{t&&e.isEdit&&w()},{immediate:!0});function w(){P.value&&g.checkForActiveProvider(e.customerCurrency).then(t=>{t.data.success&&(f.value=!0)})}function R(t){t?e.store[e.storeProp].currency_id=t.currency.id:e.store[e.storeProp].currency_id=s.value.id}async function $(t){t!==s.value.id?(!e.isEdit&&t&&await y(t),e.store.showExchangeRate=!0):e.store.showExchangeRate=!1}function y(t){a.value=!0,g.getCurrentExchangeRate(t).then(n=>{n.data&&!n.data.error?e.store[e.storeProp].exchange_rate=n.data.exchangeRate[0]:e.store[e.storeProp].exchange_rate="",a.value=!1}).catch(n=>{a.value=!1})}return A(()=>{e.store.showExchangeRate=!1}),(t,n)=>{const k=d("BaseIcon"),S=d("BaseInput"),I=d("BaseInputGroup"),V=F("tooltip");return r.store.showExchangeRate&&o(c)?(x(),N(I,{key:0,"content-loading":o(a)&&!r.isEdit,label:t.$t("settings.exchange_rate.exchange_rate"),error:r.v.exchange_rate.$error&&r.v.exchange_rate.$errors[0].$message,required:""},{labelRight:m(()=>[f.value&&r.isEdit?(x(),G("div",O,[z(v(k,{name:"RefreshIcon",class:L(`h-4 w-4 text-primary-500 cursor-pointer outline-none ${o(a)?" animate-spin transform rotate-180 cursor-not-allowed pointer-events-none ":""}`),onClick:n[0]||(n[0]=i=>y(r.customerCurrency))},null,8,["class"]),[[V,{content:"Fetch Latest Exchange rate"}]])])):C("",!0)]),default:m(()=>[v(S,{modelValue:r.store[r.storeProp].exchange_rate,"onUpdate:modelValue":n[1]||(n[1]=i=>r.store[r.storeProp].exchange_rate=i),"content-loading":o(a)&&!r.isEdit,addon:`1 ${o(c).code} =`,disabled:o(a),onInput:n[2]||(n[2]=i=>r.v.exchange_rate.$touch())},{right:m(()=>[E("span",U,b(o(s).code),1)]),_:1},8,["modelValue","content-loading","addon","disabled"]),E("span",q,b(t.$t("settings.exchange_rate.exchange_help_text",{currency:o(c).code,baseCurrency:o(s).code})),1)]),_:1},8,["content-loading","label","error"])):C("",!0)}}};export{J as _}; diff --git a/public/build/assets/ExchangeRateProviderSetting.b9f44241.js b/public/build/assets/ExchangeRateProviderSetting.58295b51.js similarity index 98% rename from public/build/assets/ExchangeRateProviderSetting.b9f44241.js rename to public/build/assets/ExchangeRateProviderSetting.58295b51.js index 2867e5ab9..4c2edcb45 100644 --- a/public/build/assets/ExchangeRateProviderSetting.b9f44241.js +++ b/public/build/assets/ExchangeRateProviderSetting.58295b51.js @@ -1 +1 @@ -var ie=Object.defineProperty;var X=Object.getOwnPropertySymbols;var ue=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable;var J=(C,c,n)=>c in C?ie(C,c,{enumerable:!0,configurable:!0,writable:!0,value:n}):C[c]=n,G=(C,c)=>{for(var n in c||(c={}))ue.call(c,n)&&J(C,n,c[n]);if(X)for(var n of X(c))de.call(c,n)&&J(C,n,c[n]);return C};import{g as K,t as Q,c as ge,i as ve}from"./main.c4ed6aa9.js";import{g as W,i as B,k as b,m as V,n as T,aU as Z,a3 as pe,q as he,D as L,l as me,r as v,o as k,s as I,w as l,t as y,v as w,x,y as e,b as s,A as M,z as ee,B as fe,am as ye,c as _e,a$ as xe,a0 as Ce,b0 as Ee,b1 as $e,b2 as be,F as Re,j as Be}from"./vendor.e9042f2c.js";import ke from"./BaseTable.812948c7.js";const we={class:"flex justify-between w-full"},Ve=["onSubmit"],Ie={class:"px-4 md:px-8 py-8 overflow-y-auto sm:p-6"},Se={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},De={setup(C){const{t:c}=W();let n=B(!1),u=B(!1),E=B(!1),m=B([]),p=B([]);const _=K(),t=Q();let q=B([]);const z=b(()=>({currentExchangeRate:{key:{required:V.withMessage(c("validation.required"),T)},driver:{required:V.withMessage(c("validation.required"),T)},currencies:{required:V.withMessage(c("validation.required"),T)}},currencyConverter:{type:{required:V.withMessage(c("validation.required"),Z(i))},url:{required:V.withMessage(c("validation.required"),Z($)),url:V.withMessage(c("validation.invalid_url"),pe)}}})),A=b(()=>t.drivers.map(r=>Object.assign({},r,{key:c(r.key)}))),O=b(()=>_.active&&_.componentName==="ExchangeRateProviderModal");b(()=>_.title);const i=b(()=>t.currentExchangeRate.driver==="currency_converter"),$=b(()=>t.currencyConverter&&t.currencyConverter.type==="DEDICATED"),S=b(()=>{switch(t.currentExchangeRate.driver){case"currency_converter":return"https://www.currencyconverterapi.com";case"currency_freak":return"https://currencyfreaks.com";case"currency_layer":return"https://currencylayer.com";case"open_exchange_rate":return"https://openexchangerates.org";default:return""}}),o=he(z,b(()=>t));function N(){m.value=[]}function F(){const{currencies:r}=t.currentExchangeRate;m.value.forEach(a=>{r.forEach((h,f)=>{h===a&&r.splice(f,1)})}),m.value=[]}function P(){t.currentExchangeRate.key=null,t.currentExchangeRate.currencies=[],t.supportedCurrencies=[]}function d(){t.supportedCurrencies=[],p.value=[],t.currentExchangeRate={id:null,name:"",driver:"",key:"",active:!0,currencies:[]},t.currencyConverter={type:"",url:""},m.value=[]}async function D(){t.currentExchangeRate.driver="currency_converter";let r={};t.isEdit&&(r.provider_id=t.currentExchangeRate.id),u.value=!0,await t.fetchDefaultProviders(),await t.fetchActiveCurrency(r),p.value=t.currentExchangeRate.currencies,u.value=!1}L(()=>i.value,(r,a)=>{r&&ae()},{immediate:!0}),L(()=>t.currentExchangeRate.key,(r,a)=>{r&&U()}),L(()=>{var r;return(r=t==null?void 0:t.currencyConverter)==null?void 0:r.type},(r,a)=>{r&&U()}),U=me.exports.debounce(U,500);function te(){return o.value.$touch(),ne(),!!(o.value.$invalid||m.value.length&&t.currentExchangeRate.active)}async function re(){if(te())return!0;let r=G({},t.currentExchangeRate);i.value&&(r.driver_config=G({},t.currencyConverter),$.value||(r.driver_config.url=""));const a=t.isEdit?t.updateProvider:t.addProvider;n.value=!0,await a(r).then(h=>{n.value=!1,_.refreshData&&_.refreshData(),j()}).catch(h=>{n.value=!1})}async function ae(){let r=await t.getCurrencyConverterServers();q.value=r.data.currency_converter_servers,t.currencyConverter.type="FREE"}function U(){var h;const{driver:r,key:a}=t.currentExchangeRate;if(r&&a){E.value=!0;let f={driver:r,key:a};if(i.value&&!t.currencyConverter.type){E.value=!1;return}((h=t==null?void 0:t.currencyConverter)==null?void 0:h.type)&&(f.type=t.currencyConverter.type),t.fetchCurrencies(f).then(R=>{E.value=!1}).catch(R=>{E.value=!1})}}function ne(r=!0){var h;m.value=[];const{currencies:a}=t.currentExchangeRate;a.length&&((h=t.activeUsedCurrencies)==null?void 0:h.length)&&a.forEach(f=>{t.activeUsedCurrencies.includes(f)&&m.value.push(f)})}function j(){_.closeModal(),setTimeout(()=>{d(),o.value.$reset()},300)}return(r,a)=>{const h=v("BaseIcon"),f=v("BaseMultiselect"),R=v("BaseInputGroup"),Y=v("BaseInput"),oe=v("BaseSwitch"),se=v("BaseInputGrid"),le=v("BaseInfoAlert"),H=v("BaseButton"),ce=v("BaseModal");return k(),I(ce,{show:e(O),onClose:j,onOpen:D},{header:l(()=>[y("div",we,[w(x(e(_).title)+" ",1),s(h,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:j})])]),default:l(()=>[y("form",{onSubmit:fe(re,["prevent"])},[y("div",Ie,[s(se,{layout:"one-column"},{default:l(()=>[s(R,{label:r.$tc("settings.exchange_rate.driver"),"content-loading":e(u),required:"",error:e(o).currentExchangeRate.driver.$error&&e(o).currentExchangeRate.driver.$errors[0].$message,"help-text":e(S)},{default:l(()=>[s(f,{modelValue:e(t).currentExchangeRate.driver,"onUpdate:modelValue":[a[0]||(a[0]=g=>e(t).currentExchangeRate.driver=g),P],options:e(A),"content-loading":e(u),"value-prop":"value","can-deselect":!0,label:"key",searchable:!0,invalid:e(o).currentExchangeRate.driver.$error,onInput:a[1]||(a[1]=g=>e(o).currentExchangeRate.driver.$touch())},null,8,["modelValue","options","content-loading","invalid"])]),_:1},8,["label","content-loading","error","help-text"]),e(i)?(k(),I(R,{key:0,required:"",label:r.$t("settings.exchange_rate.server"),"content-loading":e(u),error:e(o).currencyConverter.type.$error&&e(o).currencyConverter.type.$errors[0].$message},{default:l(()=>[s(f,{modelValue:e(t).currencyConverter.type,"onUpdate:modelValue":[a[2]||(a[2]=g=>e(t).currencyConverter.type=g),P],"content-loading":e(u),"value-prop":"value",searchable:"",options:e(q),invalid:e(o).currencyConverter.type.$error,label:"value"},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"])):M("",!0),s(R,{label:r.$t("settings.exchange_rate.key"),required:"","content-loading":e(u),error:e(o).currentExchangeRate.key.$error&&e(o).currentExchangeRate.key.$errors[0].$message},{default:l(()=>[s(Y,{modelValue:e(t).currentExchangeRate.key,"onUpdate:modelValue":a[3]||(a[3]=g=>e(t).currentExchangeRate.key=g),"content-loading":e(u),type:"text",name:"key",loading:e(E),"loading-position":"right",invalid:e(o).currentExchangeRate.key.$error},null,8,["modelValue","content-loading","loading","invalid"])]),_:1},8,["label","content-loading","error"]),e(t).supportedCurrencies.length?(k(),I(R,{key:1,label:r.$t("settings.exchange_rate.currency"),"content-loading":e(u),error:e(o).currentExchangeRate.currencies.$error&&e(o).currentExchangeRate.currencies.$errors[0].$message,"help-text":r.$t("settings.exchange_rate.currency_help_text")},{default:l(()=>[s(f,{modelValue:e(t).currentExchangeRate.currencies,"onUpdate:modelValue":a[4]||(a[4]=g=>e(t).currentExchangeRate.currencies=g),"content-loading":e(u),"value-prop":"code",mode:"tags",searchable:"",options:e(t).supportedCurrencies,invalid:e(o).currentExchangeRate.currencies.$error,label:"code","track-by":"code",onInput:a[5]||(a[5]=g=>e(o).currentExchangeRate.currencies.$touch()),openDirection:"top"},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error","help-text"])):M("",!0),e($)?(k(),I(R,{key:2,label:r.$t("settings.exchange_rate.url"),"content-loading":e(u),error:e(o).currencyConverter.url.$error&&e(o).currencyConverter.url.$errors[0].$message},{default:l(()=>[s(Y,{modelValue:e(t).currencyConverter.url,"onUpdate:modelValue":a[6]||(a[6]=g=>e(t).currencyConverter.url=g),"content-loading":e(u),type:"url",invalid:e(o).currencyConverter.url.$error,onInput:a[7]||(a[7]=g=>e(o).currencyConverter.url.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"])):M("",!0),s(oe,{modelValue:e(t).currentExchangeRate.active,"onUpdate:modelValue":a[8]||(a[8]=g=>e(t).currentExchangeRate.active=g),class:"flex","label-right":r.$t("settings.exchange_rate.active")},null,8,["modelValue","label-right"])]),_:1}),e(m).length&&e(t).currentExchangeRate.active?(k(),I(le,{key:0,class:"mt-5",title:r.$t("settings.exchange_rate.currency_in_used"),lists:[e(m).toString()],actions:["Remove"],onHide:N,onRemove:F},null,8,["title","lists"])):M("",!0)]),y("div",Se,[s(H,{class:"mr-3",variant:"primary-outline",type:"button",disabled:e(n),onClick:j},{default:l(()=>[w(x(r.$t("general.cancel")),1)]),_:1},8,["disabled"]),s(H,{loading:e(n),disabled:e(n)||e(E),variant:"primary",type:"submit"},{left:l(g=>[e(n)?M("",!0):(k(),I(h,{key:0,name:"SaveIcon",class:ee(g.class)},null,8,["class"]))]),default:l(()=>[w(" "+x(e(t).isEdit?r.$t("general.update"):r.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,Ve)]),_:1},8,["show"])}}},Me={slot:"header",class:"flex flex-wrap justify-between lg:flex-nowrap"},qe={class:"text-lg font-medium text-left"},Ne={class:"mt-2 text-sm leading-snug text-left text-gray-500",style:{"max-width":"680px"}},Pe={class:"mt-4 lg:mt-0 lg:ml-2"},Ue={class:"capitalize"},je={class:"inline-block"},Ge={setup(C){const{tm:c,t:n}=W();ge();const u=Q(),E=K(),m=ve();let p=B("");const _=ye("utils"),t=b(()=>[{key:"driver",label:n("settings.exchange_rate.driver"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"key",label:n("settings.exchange_rate.key"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"active",label:n("settings.exchange_rate.active"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]);async function q({page:i,sort:$}){let S=Be({orderByField:$.fieldName||"created_at",orderBy:$.order||"desc",page:i}),o=await u.fetchProviders(S);return{data:o.data.data,pagination:{totalPages:o.data.meta.last_page,currentPage:i,totalCount:o.data.meta.total,limit:5}}}function z(){E.openModal({title:n("settings.exchange_rate.new_driver"),componentName:"ExchangeRateProviderModal",size:"md",refreshData:p.value&&p.value.refresh})}function A(i){u.fetchProvider(i),E.openModal({title:n("settings.exchange_rate.edit_driver"),componentName:"ExchangeRateProviderModal",size:"md",data:i,refreshData:p.value&&p.value.refresh})}function O(i){m.openDialog({title:n("general.are_you_sure"),message:n("settings.exchange_rate.exchange_rate_confirm_delete"),yesLabel:n("general.ok"),noLabel:n("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async $=>{$&&(await u.deleteExchangeRate(i),p.value&&p.value.refresh())})}return(i,$)=>{const S=v("BaseButton"),o=v("BaseBadge"),N=v("BaseDropdownItem"),F=v("BaseDropdown"),P=v("BaseCard");return k(),_e(Re,null,[s(De),s(P,null,{default:l(()=>[y("div",Me,[y("div",null,[y("h6",qe,x(i.$t("settings.menu_title.exchange_rate")),1),y("p",Ne,x(i.$t("settings.exchange_rate.providers_description")),1)]),y("div",Pe,[s(S,{variant:"primary-outline",size:"lg",onClick:z},{left:l(d=>[s(e(xe),{class:ee(d.class)},null,8,["class"])]),default:l(()=>[w(" "+x(i.$t("settings.exchange_rate.new_driver")),1)]),_:1})])]),s(ke,{ref:(d,D)=>{D.table=d,Ce(p)?p.value=d:p=d},class:"mt-16",data:q,columns:e(t)},{"cell-driver":l(({row:d})=>[y("span",Ue,x(d.data.driver.replace("_"," ")),1)]),"cell-active":l(({row:d})=>[s(o,{"bg-color":e(_).getBadgeStatusColor(d.data.active?"YES":"NO").bgColor,color:e(_).getBadgeStatusColor(d.data.active?"YES":"NO").color},{default:l(()=>[w(x(d.data.active?"YES":"NO"),1)]),_:2},1032,["bg-color","color"])]),"cell-actions":l(({row:d})=>[s(F,null,{activator:l(()=>[y("div",je,[s(e(Ee),{class:"w-5 text-gray-500"})])]),default:l(()=>[s(N,{onClick:D=>A(d.data.id)},{default:l(()=>[s(e($e),{class:"h-5 mr-3 text-gray-600"}),w(" "+x(i.$t("general.edit")),1)]),_:2},1032,["onClick"]),s(N,{onClick:D=>O(d.data.id)},{default:l(()=>[s(e(be),{class:"h-5 mr-3 text-gray-600"}),w(" "+x(i.$t("general.delete")),1)]),_:2},1032,["onClick"])]),_:2},1024)]),_:1},8,["columns"])]),_:1})],64)}}};export{Ge as default}; +var ie=Object.defineProperty;var X=Object.getOwnPropertySymbols;var ue=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable;var J=(C,c,n)=>c in C?ie(C,c,{enumerable:!0,configurable:!0,writable:!0,value:n}):C[c]=n,G=(C,c)=>{for(var n in c||(c={}))ue.call(c,n)&&J(C,n,c[n]);if(X)for(var n of X(c))de.call(c,n)&&J(C,n,c[n]);return C};import{g as K,t as Q,c as ge,i as ve}from"./main.f55cd568.js";import{g as W,i as B,k as b,m as V,n as T,aU as Z,a3 as pe,q as he,D as L,l as me,r as v,o as k,s as I,w as l,t as y,v as w,x,y as e,b as s,A as M,z as ee,B as fe,am as ye,c as _e,a$ as xe,a0 as Ce,b0 as Ee,b1 as $e,b2 as be,F as Re,j as Be}from"./vendor.e9042f2c.js";import ke from"./BaseTable.794f86e1.js";const we={class:"flex justify-between w-full"},Ve=["onSubmit"],Ie={class:"px-4 md:px-8 py-8 overflow-y-auto sm:p-6"},Se={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},De={setup(C){const{t:c}=W();let n=B(!1),u=B(!1),E=B(!1),m=B([]),p=B([]);const _=K(),t=Q();let q=B([]);const z=b(()=>({currentExchangeRate:{key:{required:V.withMessage(c("validation.required"),T)},driver:{required:V.withMessage(c("validation.required"),T)},currencies:{required:V.withMessage(c("validation.required"),T)}},currencyConverter:{type:{required:V.withMessage(c("validation.required"),Z(i))},url:{required:V.withMessage(c("validation.required"),Z($)),url:V.withMessage(c("validation.invalid_url"),pe)}}})),A=b(()=>t.drivers.map(r=>Object.assign({},r,{key:c(r.key)}))),O=b(()=>_.active&&_.componentName==="ExchangeRateProviderModal");b(()=>_.title);const i=b(()=>t.currentExchangeRate.driver==="currency_converter"),$=b(()=>t.currencyConverter&&t.currencyConverter.type==="DEDICATED"),S=b(()=>{switch(t.currentExchangeRate.driver){case"currency_converter":return"https://www.currencyconverterapi.com";case"currency_freak":return"https://currencyfreaks.com";case"currency_layer":return"https://currencylayer.com";case"open_exchange_rate":return"https://openexchangerates.org";default:return""}}),o=he(z,b(()=>t));function N(){m.value=[]}function F(){const{currencies:r}=t.currentExchangeRate;m.value.forEach(a=>{r.forEach((h,f)=>{h===a&&r.splice(f,1)})}),m.value=[]}function P(){t.currentExchangeRate.key=null,t.currentExchangeRate.currencies=[],t.supportedCurrencies=[]}function d(){t.supportedCurrencies=[],p.value=[],t.currentExchangeRate={id:null,name:"",driver:"",key:"",active:!0,currencies:[]},t.currencyConverter={type:"",url:""},m.value=[]}async function D(){t.currentExchangeRate.driver="currency_converter";let r={};t.isEdit&&(r.provider_id=t.currentExchangeRate.id),u.value=!0,await t.fetchDefaultProviders(),await t.fetchActiveCurrency(r),p.value=t.currentExchangeRate.currencies,u.value=!1}L(()=>i.value,(r,a)=>{r&&ae()},{immediate:!0}),L(()=>t.currentExchangeRate.key,(r,a)=>{r&&U()}),L(()=>{var r;return(r=t==null?void 0:t.currencyConverter)==null?void 0:r.type},(r,a)=>{r&&U()}),U=me.exports.debounce(U,500);function te(){return o.value.$touch(),ne(),!!(o.value.$invalid||m.value.length&&t.currentExchangeRate.active)}async function re(){if(te())return!0;let r=G({},t.currentExchangeRate);i.value&&(r.driver_config=G({},t.currencyConverter),$.value||(r.driver_config.url=""));const a=t.isEdit?t.updateProvider:t.addProvider;n.value=!0,await a(r).then(h=>{n.value=!1,_.refreshData&&_.refreshData(),j()}).catch(h=>{n.value=!1})}async function ae(){let r=await t.getCurrencyConverterServers();q.value=r.data.currency_converter_servers,t.currencyConverter.type="FREE"}function U(){var h;const{driver:r,key:a}=t.currentExchangeRate;if(r&&a){E.value=!0;let f={driver:r,key:a};if(i.value&&!t.currencyConverter.type){E.value=!1;return}((h=t==null?void 0:t.currencyConverter)==null?void 0:h.type)&&(f.type=t.currencyConverter.type),t.fetchCurrencies(f).then(R=>{E.value=!1}).catch(R=>{E.value=!1})}}function ne(r=!0){var h;m.value=[];const{currencies:a}=t.currentExchangeRate;a.length&&((h=t.activeUsedCurrencies)==null?void 0:h.length)&&a.forEach(f=>{t.activeUsedCurrencies.includes(f)&&m.value.push(f)})}function j(){_.closeModal(),setTimeout(()=>{d(),o.value.$reset()},300)}return(r,a)=>{const h=v("BaseIcon"),f=v("BaseMultiselect"),R=v("BaseInputGroup"),Y=v("BaseInput"),oe=v("BaseSwitch"),se=v("BaseInputGrid"),le=v("BaseInfoAlert"),H=v("BaseButton"),ce=v("BaseModal");return k(),I(ce,{show:e(O),onClose:j,onOpen:D},{header:l(()=>[y("div",we,[w(x(e(_).title)+" ",1),s(h,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:j})])]),default:l(()=>[y("form",{onSubmit:fe(re,["prevent"])},[y("div",Ie,[s(se,{layout:"one-column"},{default:l(()=>[s(R,{label:r.$tc("settings.exchange_rate.driver"),"content-loading":e(u),required:"",error:e(o).currentExchangeRate.driver.$error&&e(o).currentExchangeRate.driver.$errors[0].$message,"help-text":e(S)},{default:l(()=>[s(f,{modelValue:e(t).currentExchangeRate.driver,"onUpdate:modelValue":[a[0]||(a[0]=g=>e(t).currentExchangeRate.driver=g),P],options:e(A),"content-loading":e(u),"value-prop":"value","can-deselect":!0,label:"key",searchable:!0,invalid:e(o).currentExchangeRate.driver.$error,onInput:a[1]||(a[1]=g=>e(o).currentExchangeRate.driver.$touch())},null,8,["modelValue","options","content-loading","invalid"])]),_:1},8,["label","content-loading","error","help-text"]),e(i)?(k(),I(R,{key:0,required:"",label:r.$t("settings.exchange_rate.server"),"content-loading":e(u),error:e(o).currencyConverter.type.$error&&e(o).currencyConverter.type.$errors[0].$message},{default:l(()=>[s(f,{modelValue:e(t).currencyConverter.type,"onUpdate:modelValue":[a[2]||(a[2]=g=>e(t).currencyConverter.type=g),P],"content-loading":e(u),"value-prop":"value",searchable:"",options:e(q),invalid:e(o).currencyConverter.type.$error,label:"value"},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"])):M("",!0),s(R,{label:r.$t("settings.exchange_rate.key"),required:"","content-loading":e(u),error:e(o).currentExchangeRate.key.$error&&e(o).currentExchangeRate.key.$errors[0].$message},{default:l(()=>[s(Y,{modelValue:e(t).currentExchangeRate.key,"onUpdate:modelValue":a[3]||(a[3]=g=>e(t).currentExchangeRate.key=g),"content-loading":e(u),type:"text",name:"key",loading:e(E),"loading-position":"right",invalid:e(o).currentExchangeRate.key.$error},null,8,["modelValue","content-loading","loading","invalid"])]),_:1},8,["label","content-loading","error"]),e(t).supportedCurrencies.length?(k(),I(R,{key:1,label:r.$t("settings.exchange_rate.currency"),"content-loading":e(u),error:e(o).currentExchangeRate.currencies.$error&&e(o).currentExchangeRate.currencies.$errors[0].$message,"help-text":r.$t("settings.exchange_rate.currency_help_text")},{default:l(()=>[s(f,{modelValue:e(t).currentExchangeRate.currencies,"onUpdate:modelValue":a[4]||(a[4]=g=>e(t).currentExchangeRate.currencies=g),"content-loading":e(u),"value-prop":"code",mode:"tags",searchable:"",options:e(t).supportedCurrencies,invalid:e(o).currentExchangeRate.currencies.$error,label:"code","track-by":"code",onInput:a[5]||(a[5]=g=>e(o).currentExchangeRate.currencies.$touch()),openDirection:"top"},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error","help-text"])):M("",!0),e($)?(k(),I(R,{key:2,label:r.$t("settings.exchange_rate.url"),"content-loading":e(u),error:e(o).currencyConverter.url.$error&&e(o).currencyConverter.url.$errors[0].$message},{default:l(()=>[s(Y,{modelValue:e(t).currencyConverter.url,"onUpdate:modelValue":a[6]||(a[6]=g=>e(t).currencyConverter.url=g),"content-loading":e(u),type:"url",invalid:e(o).currencyConverter.url.$error,onInput:a[7]||(a[7]=g=>e(o).currencyConverter.url.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"])):M("",!0),s(oe,{modelValue:e(t).currentExchangeRate.active,"onUpdate:modelValue":a[8]||(a[8]=g=>e(t).currentExchangeRate.active=g),class:"flex","label-right":r.$t("settings.exchange_rate.active")},null,8,["modelValue","label-right"])]),_:1}),e(m).length&&e(t).currentExchangeRate.active?(k(),I(le,{key:0,class:"mt-5",title:r.$t("settings.exchange_rate.currency_in_used"),lists:[e(m).toString()],actions:["Remove"],onHide:N,onRemove:F},null,8,["title","lists"])):M("",!0)]),y("div",Se,[s(H,{class:"mr-3",variant:"primary-outline",type:"button",disabled:e(n),onClick:j},{default:l(()=>[w(x(r.$t("general.cancel")),1)]),_:1},8,["disabled"]),s(H,{loading:e(n),disabled:e(n)||e(E),variant:"primary",type:"submit"},{left:l(g=>[e(n)?M("",!0):(k(),I(h,{key:0,name:"SaveIcon",class:ee(g.class)},null,8,["class"]))]),default:l(()=>[w(" "+x(e(t).isEdit?r.$t("general.update"):r.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,Ve)]),_:1},8,["show"])}}},Me={slot:"header",class:"flex flex-wrap justify-between lg:flex-nowrap"},qe={class:"text-lg font-medium text-left"},Ne={class:"mt-2 text-sm leading-snug text-left text-gray-500",style:{"max-width":"680px"}},Pe={class:"mt-4 lg:mt-0 lg:ml-2"},Ue={class:"capitalize"},je={class:"inline-block"},Ge={setup(C){const{tm:c,t:n}=W();ge();const u=Q(),E=K(),m=ve();let p=B("");const _=ye("utils"),t=b(()=>[{key:"driver",label:n("settings.exchange_rate.driver"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"key",label:n("settings.exchange_rate.key"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"active",label:n("settings.exchange_rate.active"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]);async function q({page:i,sort:$}){let S=Be({orderByField:$.fieldName||"created_at",orderBy:$.order||"desc",page:i}),o=await u.fetchProviders(S);return{data:o.data.data,pagination:{totalPages:o.data.meta.last_page,currentPage:i,totalCount:o.data.meta.total,limit:5}}}function z(){E.openModal({title:n("settings.exchange_rate.new_driver"),componentName:"ExchangeRateProviderModal",size:"md",refreshData:p.value&&p.value.refresh})}function A(i){u.fetchProvider(i),E.openModal({title:n("settings.exchange_rate.edit_driver"),componentName:"ExchangeRateProviderModal",size:"md",data:i,refreshData:p.value&&p.value.refresh})}function O(i){m.openDialog({title:n("general.are_you_sure"),message:n("settings.exchange_rate.exchange_rate_confirm_delete"),yesLabel:n("general.ok"),noLabel:n("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async $=>{$&&(await u.deleteExchangeRate(i),p.value&&p.value.refresh())})}return(i,$)=>{const S=v("BaseButton"),o=v("BaseBadge"),N=v("BaseDropdownItem"),F=v("BaseDropdown"),P=v("BaseCard");return k(),_e(Re,null,[s(De),s(P,null,{default:l(()=>[y("div",Me,[y("div",null,[y("h6",qe,x(i.$t("settings.menu_title.exchange_rate")),1),y("p",Ne,x(i.$t("settings.exchange_rate.providers_description")),1)]),y("div",Pe,[s(S,{variant:"primary-outline",size:"lg",onClick:z},{left:l(d=>[s(e(xe),{class:ee(d.class)},null,8,["class"])]),default:l(()=>[w(" "+x(i.$t("settings.exchange_rate.new_driver")),1)]),_:1})])]),s(ke,{ref:(d,D)=>{D.table=d,Ce(p)?p.value=d:p=d},class:"mt-16",data:q,columns:e(t)},{"cell-driver":l(({row:d})=>[y("span",Ue,x(d.data.driver.replace("_"," ")),1)]),"cell-active":l(({row:d})=>[s(o,{"bg-color":e(_).getBadgeStatusColor(d.data.active?"YES":"NO").bgColor,color:e(_).getBadgeStatusColor(d.data.active?"YES":"NO").color},{default:l(()=>[w(x(d.data.active?"YES":"NO"),1)]),_:2},1032,["bg-color","color"])]),"cell-actions":l(({row:d})=>[s(F,null,{activator:l(()=>[y("div",je,[s(e(Ee),{class:"w-5 text-gray-500"})])]),default:l(()=>[s(N,{onClick:D=>A(d.data.id)},{default:l(()=>[s(e($e),{class:"h-5 mr-3 text-gray-600"}),w(" "+x(i.$t("general.edit")),1)]),_:2},1032,["onClick"]),s(N,{onClick:D=>O(d.data.id)},{default:l(()=>[s(e(be),{class:"h-5 mr-3 text-gray-600"}),w(" "+x(i.$t("general.delete")),1)]),_:2},1032,["onClick"])]),_:2},1024)]),_:1},8,["columns"])]),_:1})],64)}}};export{Ge as default}; diff --git a/public/build/assets/ExpenseCategorySetting.86cfee85.js b/public/build/assets/ExpenseCategorySetting.6da85823.js similarity index 94% rename from public/build/assets/ExpenseCategorySetting.86cfee85.js rename to public/build/assets/ExpenseCategorySetting.6da85823.js index 5633a429a..4ca54455b 100644 --- a/public/build/assets/ExpenseCategorySetting.86cfee85.js +++ b/public/build/assets/ExpenseCategorySetting.6da85823.js @@ -1 +1 @@ -import{i as w,u as z,s as S,d as M,g as k,e as E}from"./main.c4ed6aa9.js";import{g as I,u as T,am as j,r as i,o as m,s as p,w as e,y as g,b as n,v,x as C,A as N,i as P,k as F,c as V,z as A,t as $,F as L}from"./vendor.e9042f2c.js";import{_ as H}from"./CategoryModal.c0ece4af.js";const O={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(y){const d=y,B=w();z();const{t:o}=I(),s=S(),x=T(),_=M(),h=k();j("utils");function b(l){s.fetchCategory(l),h.openModal({title:o("settings.expense_category.edit_category"),componentName:"CategoryModal",refreshData:d.loadData,size:"sm"})}function r(l){B.openDialog({title:o("general.are_you_sure"),message:o("settings.expense_category.confirm_delete"),yesLabel:o("general.ok"),noLabel:o("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async()=>{if((await s.deleteCategory(l)).data.success)return d.loadData&&d.loadData(),!0;d.loadData&&d.loadData()})}return(l,t)=>{const c=i("BaseIcon"),u=i("BaseButton"),f=i("BaseDropdownItem"),a=i("BaseDropdown");return m(),p(a,null,{activator:e(()=>[g(x).name==="expenseCategorys.view"?(m(),p(u,{key:0,variant:"primary"},{default:e(()=>[n(c,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(m(),p(c,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:e(()=>[g(_).hasAbilities(g(E).EDIT_EXPENSE)?(m(),p(f,{key:0,onClick:t[0]||(t[0]=D=>b(y.row.id))},{default:e(()=>[n(c,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),v(" "+C(l.$t("general.edit")),1)]),_:1})):N("",!0),g(_).hasAbilities(g(E).DELETE_EXPENSE)?(m(),p(f,{key:1,onClick:t[1]||(t[1]=D=>r(y.row.id))},{default:e(()=>[n(c,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),v(" "+C(l.$t("general.delete")),1)]),_:1})):N("",!0)]),_:1})}}},X={class:"w-64"},R={class:"truncate"},J={setup(y){const d=S();w();const B=k(),{t:o}=I(),s=P(null),x=F(()=>[{key:"name",label:o("settings.expense_category.category_name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"description",label:o("settings.expense_category.category_description"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]);async function _({page:r,filter:l,sort:t}){let c={orderByField:t.fieldName||"created_at",orderBy:t.order||"desc",page:r},u=await d.fetchCategories(c);return{data:u.data.data,pagination:{totalPages:u.data.meta.last_page,currentPage:r,totalCount:u.data.meta.total,limit:5}}}function h(){B.openModal({title:o("settings.expense_category.add_category"),componentName:"CategoryModal",size:"sm",refreshData:s.value&&s.value.refresh})}async function b(){s.value&&s.value.refresh()}return(r,l)=>{const t=i("BaseIcon"),c=i("BaseButton"),u=i("BaseTable"),f=i("BaseSettingCard");return m(),V(L,null,[n(H),n(f,{title:r.$t("settings.expense_category.title"),description:r.$t("settings.expense_category.description")},{action:e(()=>[n(c,{variant:"primary-outline",type:"button",onClick:h},{left:e(a=>[n(t,{class:A(a.class),name:"PlusIcon"},null,8,["class"])]),default:e(()=>[v(" "+C(r.$t("settings.expense_category.add_new_category")),1)]),_:1})]),default:e(()=>[n(u,{ref:(a,D)=>{D.table=a,s.value=a},data:_,columns:g(x),class:"mt-16"},{"cell-description":e(({row:a})=>[$("div",X,[$("p",R,C(a.data.description),1)])]),"cell-actions":e(({row:a})=>[n(O,{row:a.data,table:s.value,"load-data":b},null,8,["row","table"])]),_:1},8,["columns"])]),_:1},8,["title","description"])],64)}}};export{J as default}; +import{i as w,u as z,s as S,d as M,g as k,e as E}from"./main.f55cd568.js";import{g as I,u as T,am as j,r as i,o as m,s as p,w as e,y as g,b as n,v,x as C,A as N,i as P,k as F,c as V,z as A,t as $,F as L}from"./vendor.e9042f2c.js";import{_ as H}from"./CategoryModal.d7852af2.js";const O={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(y){const d=y,B=w();z();const{t:o}=I(),s=S(),x=T(),_=M(),h=k();j("utils");function b(l){s.fetchCategory(l),h.openModal({title:o("settings.expense_category.edit_category"),componentName:"CategoryModal",refreshData:d.loadData,size:"sm"})}function r(l){B.openDialog({title:o("general.are_you_sure"),message:o("settings.expense_category.confirm_delete"),yesLabel:o("general.ok"),noLabel:o("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async()=>{if((await s.deleteCategory(l)).data.success)return d.loadData&&d.loadData(),!0;d.loadData&&d.loadData()})}return(l,t)=>{const c=i("BaseIcon"),u=i("BaseButton"),f=i("BaseDropdownItem"),a=i("BaseDropdown");return m(),p(a,null,{activator:e(()=>[g(x).name==="expenseCategorys.view"?(m(),p(u,{key:0,variant:"primary"},{default:e(()=>[n(c,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(m(),p(c,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:e(()=>[g(_).hasAbilities(g(E).EDIT_EXPENSE)?(m(),p(f,{key:0,onClick:t[0]||(t[0]=D=>b(y.row.id))},{default:e(()=>[n(c,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),v(" "+C(l.$t("general.edit")),1)]),_:1})):N("",!0),g(_).hasAbilities(g(E).DELETE_EXPENSE)?(m(),p(f,{key:1,onClick:t[1]||(t[1]=D=>r(y.row.id))},{default:e(()=>[n(c,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),v(" "+C(l.$t("general.delete")),1)]),_:1})):N("",!0)]),_:1})}}},X={class:"w-64"},R={class:"truncate"},J={setup(y){const d=S();w();const B=k(),{t:o}=I(),s=P(null),x=F(()=>[{key:"name",label:o("settings.expense_category.category_name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"description",label:o("settings.expense_category.category_description"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]);async function _({page:r,filter:l,sort:t}){let c={orderByField:t.fieldName||"created_at",orderBy:t.order||"desc",page:r},u=await d.fetchCategories(c);return{data:u.data.data,pagination:{totalPages:u.data.meta.last_page,currentPage:r,totalCount:u.data.meta.total,limit:5}}}function h(){B.openModal({title:o("settings.expense_category.add_category"),componentName:"CategoryModal",size:"sm",refreshData:s.value&&s.value.refresh})}async function b(){s.value&&s.value.refresh()}return(r,l)=>{const t=i("BaseIcon"),c=i("BaseButton"),u=i("BaseTable"),f=i("BaseSettingCard");return m(),V(L,null,[n(H),n(f,{title:r.$t("settings.expense_category.title"),description:r.$t("settings.expense_category.description")},{action:e(()=>[n(c,{variant:"primary-outline",type:"button",onClick:h},{left:e(a=>[n(t,{class:A(a.class),name:"PlusIcon"},null,8,["class"])]),default:e(()=>[v(" "+C(r.$t("settings.expense_category.add_new_category")),1)]),_:1})]),default:e(()=>[n(u,{ref:(a,D)=>{D.table=a,s.value=a},data:_,columns:g(x),class:"mt-16"},{"cell-description":e(({row:a})=>[$("div",X,[$("p",R,C(a.data.description),1)])]),"cell-actions":e(({row:a})=>[n(O,{row:a.data,table:s.value,"load-data":b},null,8,["row","table"])]),_:1},8,["columns"])]),_:1},8,["title","description"])],64)}}};export{J as default}; diff --git a/public/build/assets/FileDiskSetting.d7735104.js b/public/build/assets/FileDiskSetting.291dbb8a.js similarity index 99% rename from public/build/assets/FileDiskSetting.d7735104.js rename to public/build/assets/FileDiskSetting.291dbb8a.js index 9ca2f5993..b022aec52 100644 --- a/public/build/assets/FileDiskSetting.d7735104.js +++ b/public/build/assets/FileDiskSetting.291dbb8a.js @@ -1 +1 @@ -var re=Object.defineProperty;var W=Object.getOwnPropertySymbols;var se=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var X=(t,i,a)=>i in t?re(t,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[i]=a,Q=(t,i)=>{for(var a in i||(i={}))se.call(i,a)&&X(t,a,i[a]);if(W)for(var a of W(i))le.call(i,a)&&X(t,a,i[a]);return t};import{_ as F,w as G,g as O,c as ne,i as de}from"./main.c4ed6aa9.js";import{g as A,i as p,k as S,m as g,n as D,q as R,b3 as Y,j as L,r as f,o as y,c as E,t as b,b as r,w as n,x as V,A as h,W as z,B as K,a3 as ue,ac as fe,s as N,v as U,an as ke,am as me,z as ve,a0 as Z,y as P,F as ge}from"./vendor.e9042f2c.js";const ce={props:{isEdit:{type:Boolean,require:!0,default:!1},loading:{type:Boolean,require:!0,default:!1},disks:{type:Array,require:!0,default:Array}},emits:["submit","onChangeDisk"],setup(t,{emit:i}){const a=G(),e=O(),{t:u}=A();let k=p(!1),s=p(!1),l=p(null),d=p(null);const c=S({get:()=>a.selected_driver,set:v=>{a.selected_driver=v,a.dropBoxDiskConfig.selected_driver=v}}),m=S(()=>({dropBoxDiskConfig:{root:{required:g.withMessage(u("validation.required"),D)},key:{required:g.withMessage(u("validation.required"),D)},secret:{required:g.withMessage(u("validation.required"),D)},token:{required:g.withMessage(u("validation.required"),D)},app:{required:g.withMessage(u("validation.required"),D)},selected_driver:{required:g.withMessage(u("validation.required"),D)},name:{required:g.withMessage(u("validation.required"),D)}}})),o=R(m,S(()=>a));Y(()=>{a.dropBoxDiskConfig={name:null,selected_driver:"dropbox",token:null,key:null,secret:null,app:null}}),B();async function B(){s.value=!0;let v=L({disk:"dropbox"});if(t.isEdit)Object.assign(a.dropBoxDiskConfig,e.data),k.value=e.data.set_as_default,k.value&&(l.value=!0);else{let $=await a.fetchDiskEnv(v);Object.assign(a.dropBoxDiskConfig,$.data)}d.value=t.disks.find($=>$.value=="dropbox"),s.value=!1}const M=S(()=>!!(t.isEdit&&k.value&&l.value));async function w(){if(o.value.dropBoxDiskConfig.$touch(),o.value.dropBoxDiskConfig.$invalid)return!0;let v={credentials:a.dropBoxDiskConfig,name:a.dropBoxDiskConfig.name,driver:d.value.value,set_as_default:k.value};return i("submit",v),!1}function I(){i("onChangeDisk",a.dropBoxDiskConfig.selected_driver)}return{v$:o,diskStore:a,selected_driver:c,set_as_default:k,isLoading:s,is_current_disk:l,selected_disk:d,isDisabled:M,loadData:B,submitData:w,onChangeDriver:I}}},De={class:"px-8 py-6"},Ce={key:0,class:"flex items-center mt-6"},pe={class:"relative flex items-center w-12"},_e={class:"ml-4 right"},be={class:"p-0 mb-1 text-base leading-snug text-black box-title"};function Se(t,i,a,e,u,k){const s=f("BaseInput"),l=f("BaseInputGroup"),d=f("BaseMultiselect"),c=f("BaseInputGrid"),m=f("BaseSwitch");return y(),E("form",{onSubmit:i[15]||(i[15]=K((...o)=>e.submitData&&e.submitData(...o),["prevent"]))},[b("div",De,[r(c,null,{default:n(()=>[r(l,{label:t.$t("settings.disk.name"),error:e.v$.dropBoxDiskConfig.name.$error&&e.v$.dropBoxDiskConfig.name.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.dropBoxDiskConfig.name,"onUpdate:modelValue":i[0]||(i[0]=o=>e.diskStore.dropBoxDiskConfig.name=o),type:"text",name:"name",invalid:e.v$.dropBoxDiskConfig.name.$error,onInput:i[1]||(i[1]=o=>e.v$.dropBoxDiskConfig.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.driver"),error:e.v$.dropBoxDiskConfig.selected_driver.$error&&e.v$.dropBoxDiskConfig.selected_driver.$errors[0].$message,required:""},{default:n(()=>[r(d,{modelValue:e.selected_driver,"onUpdate:modelValue":[i[2]||(i[2]=o=>e.selected_driver=o),i[3]||(i[3]=o=>e.onChangeDriver(t.data))],invalid:e.v$.dropBoxDiskConfig.selected_driver.$error,"value-prop":"value",options:a.disks,searchable:"",label:"name","can-deselect":!1},null,8,["modelValue","invalid","options"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.dropbox_root"),error:e.v$.dropBoxDiskConfig.root.$error&&e.v$.dropBoxDiskConfig.root.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.dropBoxDiskConfig.root,"onUpdate:modelValue":i[4]||(i[4]=o=>e.diskStore.dropBoxDiskConfig.root=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. /user/root/",invalid:e.v$.dropBoxDiskConfig.root.$error,onInput:i[5]||(i[5]=o=>e.v$.dropBoxDiskConfig.root.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.dropbox_token"),error:e.v$.dropBoxDiskConfig.token.$error&&e.v$.dropBoxDiskConfig.token.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.dropBoxDiskConfig.token,"onUpdate:modelValue":i[6]||(i[6]=o=>e.diskStore.dropBoxDiskConfig.token=o),modelModifiers:{trim:!0},type:"text",name:"name",invalid:e.v$.dropBoxDiskConfig.token.$error,onInput:i[7]||(i[7]=o=>e.v$.dropBoxDiskConfig.token.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.dropbox_key"),error:e.v$.dropBoxDiskConfig.key.$error&&e.v$.dropBoxDiskConfig.key.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.dropBoxDiskConfig.key,"onUpdate:modelValue":i[8]||(i[8]=o=>e.diskStore.dropBoxDiskConfig.key=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. KEIS4S39SERSDS",invalid:e.v$.dropBoxDiskConfig.key.$error,onInput:i[9]||(i[9]=o=>e.v$.dropBoxDiskConfig.key.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.dropbox_secret"),error:e.v$.dropBoxDiskConfig.secret.$error&&e.v$.dropBoxDiskConfig.secret.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.dropBoxDiskConfig.secret,"onUpdate:modelValue":i[10]||(i[10]=o=>e.diskStore.dropBoxDiskConfig.secret=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. ********",invalid:e.v$.dropBoxDiskConfig.secret.$error,onInput:i[11]||(i[11]=o=>e.v$.dropBoxDiskConfig.secret.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.dropbox_app"),error:e.v$.dropBoxDiskConfig.app.$error&&e.v$.dropBoxDiskConfig.app.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.dropBoxDiskConfig.app,"onUpdate:modelValue":i[12]||(i[12]=o=>e.diskStore.dropBoxDiskConfig.app=o),modelModifiers:{trim:!0},type:"text",name:"name",invalid:e.v$.dropBoxDiskConfig.app.$error,onInput:i[13]||(i[13]=o=>e.v$.dropBoxDiskConfig.app.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),_:1}),e.isDisabled?h("",!0):(y(),E("div",Ce,[b("div",pe,[r(m,{modelValue:e.set_as_default,"onUpdate:modelValue":i[14]||(i[14]=o=>e.set_as_default=o),class:"flex"},null,8,["modelValue"])]),b("div",_e,[b("p",be,V(t.$t("settings.disk.is_default")),1)])]))]),z(t.$slots,"default",{diskData:{isLoading:e.isLoading,submitData:e.submitData}})],32)}var $e=F(ce,[["render",Se]]);const ye={props:{isEdit:{type:Boolean,require:!0,default:!1},loading:{type:Boolean,require:!0,default:!1},disks:{type:Array,require:!0,default:Array}},emits:["submit","onChangeDisk"],setup(t,{emit:i}){const a=G(),e=O(),{t:u}=A();let k=p(!1),s=p(!1),l=p(""),d=p(null);const c=S({get:()=>a.selected_driver,set:v=>{a.selected_driver=v,a.localDiskConfig.selected_driver=v}}),m=S(()=>({localDiskConfig:{name:{required:g.withMessage(u("validation.required"),D)},selected_driver:{required:g.withMessage(u("validation.required"),D)},root:{required:g.withMessage(u("validation.required"),D)}}})),o=R(m,S(()=>a));Y(()=>{a.localDiskConfig={name:null,selected_driver:"local",root:null}}),B();async function B(){k.value=!0;let v=L({disk:"local"});if(t.isEdit)Object.assign(a.localDiskConfig,e.data),a.localDiskConfig.root=e.data.credentials,s.value=e.data.set_as_default,s.value&&(d.value=!0);else{let $=await a.fetchDiskEnv(v);Object.assign(a.localDiskConfig,$.data)}l.value=t.disks.find($=>$.value=="local"),k.value=!1}const M=S(()=>!!(t.isEdit&&s.value&&d.value));async function w(){if(o.value.localDiskConfig.$touch(),o.value.localDiskConfig.$invalid)return!0;let v=L({credentials:a.localDiskConfig.root,name:a.localDiskConfig.name,driver:a.localDiskConfig.selected_driver,set_as_default:s.value});return i("submit",v),!1}function I(){i("onChangeDisk",a.localDiskConfig.selected_driver)}return{v$:o,diskStore:a,modalStore:e,selected_driver:c,selected_disk:l,isLoading:k,set_as_default:s,is_current_disk:d,submitData:w,onChangeDriver:I,isDisabled:M}}},Be={class:"px-4 sm:px-8 py-6"},xe={key:0,class:"flex items-center mt-6"},Ve={class:"relative flex items-center w-12"},qe={class:"ml-4 right"},Me={class:"p-0 mb-1 text-base leading-snug text-black box-title"};function we(t,i,a,e,u,k){const s=f("BaseInput"),l=f("BaseInputGroup"),d=f("BaseMultiselect"),c=f("BaseInputGrid"),m=f("BaseSwitch");return y(),E("form",{action:"",onSubmit:i[7]||(i[7]=K((...o)=>e.submitData&&e.submitData(...o),["prevent"]))},[b("div",Be,[r(c,null,{default:n(()=>[r(l,{label:t.$t("settings.disk.name"),error:e.v$.localDiskConfig.name.$error&&e.v$.localDiskConfig.name.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.localDiskConfig.name,"onUpdate:modelValue":i[0]||(i[0]=o=>e.diskStore.localDiskConfig.name=o),type:"text",name:"name",invalid:e.v$.localDiskConfig.name.$error,onInput:i[1]||(i[1]=o=>e.v$.localDiskConfig.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$tc("settings.disk.driver"),error:e.v$.localDiskConfig.selected_driver.$error&&e.v$.localDiskConfig.selected_driver.$errors[0].$message,required:""},{default:n(()=>[r(d,{modelValue:e.selected_driver,"onUpdate:modelValue":[i[2]||(i[2]=o=>e.selected_driver=o),i[3]||(i[3]=o=>e.onChangeDriver(t.data))],"value-prop":"value",invalid:e.v$.localDiskConfig.selected_driver.$error,options:a.disks,searchable:"",label:"name","can-deselect":!1},null,8,["modelValue","invalid","options"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.local_root"),error:e.v$.localDiskConfig.root.$error&&e.v$.localDiskConfig.root.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.localDiskConfig.root,"onUpdate:modelValue":i[4]||(i[4]=o=>e.diskStore.localDiskConfig.root=o),modelModifiers:{trim:!0},type:"text",name:"name",invalid:e.v$.localDiskConfig.root.$error,placeholder:"Ex./user/root/",onInput:i[5]||(i[5]=o=>e.v$.localDiskConfig.root.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),_:1}),e.isDisabled?h("",!0):(y(),E("div",xe,[b("div",Ve,[r(m,{modelValue:e.set_as_default,"onUpdate:modelValue":i[6]||(i[6]=o=>e.set_as_default=o),class:"flex"},null,8,["modelValue"])]),b("div",qe,[b("p",Me,V(t.$t("settings.disk.is_default")),1)])]))]),z(t.$slots,"default",{diskData:{isLoading:e.isLoading,submitData:e.submitData}})],32)}var Ie=F(ye,[["render",we]]);const Ee={props:{isEdit:{type:Boolean,require:!0,default:!1},loading:{type:Boolean,require:!0,default:!1},disks:{type:Array,require:!0,default:Array}},emits:["submit","onChangeDisk"],setup(t,{emit:i}){const a=G(),e=O(),{t:u}=A();let k=p(!1),s=p(!1),l=p(null),d=p(null);const c=S({get:()=>a.selected_driver,set:v=>{a.selected_driver=v,a.s3DiskConfigData.selected_driver=v}}),m=S(()=>({s3DiskConfigData:{name:{required:g.withMessage(u("validation.required"),D)},root:{required:g.withMessage(u("validation.required"),D)},key:{required:g.withMessage(u("validation.required"),D)},secret:{required:g.withMessage(u("validation.required"),D)},region:{required:g.withMessage(u("validation.required"),D)},bucket:{required:g.withMessage(u("validation.required"),D)},selected_driver:{required:g.withMessage(u("validation.required"),D)}}})),o=R(m,S(()=>a));Y(()=>{a.s3DiskConfigData={name:null,selected_driver:"s3",key:null,secret:null,region:null,bucket:null,root:null}}),B();async function B(){s.value=!0;let v=L({disk:"s3"});if(t.isEdit)Object.assign(a.s3DiskConfigData,e.data),k.value=e.data.set_as_default,k.value&&(d.value=!0);else{let $=await a.fetchDiskEnv(v);Object.assign(a.s3DiskConfigData,$.data)}l.value=t.disks.find($=>$.value=="s3"),s.value=!1}const M=S(()=>!!(t.isEdit&&k.value&&d.value));async function w(){if(o.value.s3DiskConfigData.$touch(),o.value.s3DiskConfigData.$invalid)return!0;let v={credentials:a.s3DiskConfigData,name:a.s3DiskConfigData.name,driver:l.value.value,set_as_default:k.value};return i("submit",v),!1}function I(){i("onChangeDisk",a.s3DiskConfigData.selected_driver)}return{v$:o,diskStore:a,modalStore:e,set_as_default:k,isLoading:s,selected_disk:l,selected_driver:c,is_current_disk:d,loadData:B,submitData:w,onChangeDriver:I,isDisabled:M}}},he={class:"px-8 py-6"},Ue={key:0,class:"flex items-center mt-6"},Le={class:"relative flex items-center w-12"},Ne={class:"ml-4 right"},Ge={class:"p-0 mb-1 text-base leading-snug text-black box-title"};function Oe(t,i,a,e,u,k){const s=f("BaseInput"),l=f("BaseInputGroup"),d=f("BaseMultiselect"),c=f("BaseInputGrid"),m=f("BaseSwitch");return y(),E("form",{onSubmit:i[15]||(i[15]=K((...o)=>e.submitData&&e.submitData(...o),["prevent"]))},[b("div",he,[r(c,null,{default:n(()=>[r(l,{label:t.$t("settings.disk.name"),error:e.v$.s3DiskConfigData.name.$error&&e.v$.s3DiskConfigData.name.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.s3DiskConfigData.name,"onUpdate:modelValue":i[0]||(i[0]=o=>e.diskStore.s3DiskConfigData.name=o),type:"text",name:"name",invalid:e.v$.s3DiskConfigData.name.$error,onInput:i[1]||(i[1]=o=>e.v$.s3DiskConfigData.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$tc("settings.disk.driver"),error:e.v$.s3DiskConfigData.selected_driver.$error&&e.v$.s3DiskConfigData.selected_driver.$errors[0].$message,required:""},{default:n(()=>[r(d,{modelValue:e.selected_driver,"onUpdate:modelValue":[i[2]||(i[2]=o=>e.selected_driver=o),i[3]||(i[3]=o=>e.onChangeDriver(t.data))],invalid:e.v$.s3DiskConfigData.selected_driver.$error,"value-prop":"value",options:a.disks,searchable:"",label:"name","can-deselect":!1},null,8,["modelValue","invalid","options"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.aws_root"),error:e.v$.s3DiskConfigData.root.$error&&e.v$.s3DiskConfigData.root.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.s3DiskConfigData.root,"onUpdate:modelValue":i[4]||(i[4]=o=>e.diskStore.s3DiskConfigData.root=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. /user/root/",invalid:e.v$.s3DiskConfigData.root.$error,onInput:i[5]||(i[5]=o=>e.v$.s3DiskConfigData.root.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.aws_key"),error:e.v$.s3DiskConfigData.key.$error&&e.v$.s3DiskConfigData.key.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.s3DiskConfigData.key,"onUpdate:modelValue":i[6]||(i[6]=o=>e.diskStore.s3DiskConfigData.key=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. KEIS4S39SERSDS",invalid:e.v$.s3DiskConfigData.key.$error,onInput:i[7]||(i[7]=o=>e.v$.s3DiskConfigData.key.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.aws_secret"),error:e.v$.s3DiskConfigData.secret.$error&&e.v$.s3DiskConfigData.secret.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.s3DiskConfigData.secret,"onUpdate:modelValue":i[8]||(i[8]=o=>e.diskStore.s3DiskConfigData.secret=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. ********",invalid:e.v$.s3DiskConfigData.secret.$error,onInput:i[9]||(i[9]=o=>e.v$.s3DiskConfigData.secret.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.aws_region"),error:e.v$.s3DiskConfigData.region.$error&&e.v$.s3DiskConfigData.region.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.s3DiskConfigData.region,"onUpdate:modelValue":i[10]||(i[10]=o=>e.diskStore.s3DiskConfigData.region=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. us-west",invalid:e.v$.s3DiskConfigData.region.$error,onInput:i[11]||(i[11]=o=>e.v$.s3DiskConfigData.region.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.aws_bucket"),error:e.v$.s3DiskConfigData.bucket.$error&&e.v$.s3DiskConfigData.bucket.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.s3DiskConfigData.bucket,"onUpdate:modelValue":i[12]||(i[12]=o=>e.diskStore.s3DiskConfigData.bucket=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. AppName",invalid:e.v$.s3DiskConfigData.bucket.$error,onInput:i[13]||(i[13]=o=>e.v$.s3DiskConfigData.bucket.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),_:1}),e.isDisabled?h("",!0):(y(),E("div",Ue,[b("div",Le,[r(m,{modelValue:e.set_as_default,"onUpdate:modelValue":i[14]||(i[14]=o=>e.set_as_default=o),class:"flex"},null,8,["modelValue"])]),b("div",Ne,[b("p",Ge,V(t.$t("settings.disk.is_default")),1)])]))]),z(t.$slots,"default",{diskData:{isLoading:e.isLoading,submitData:e.submitData}})],32)}var je=F(Ee,[["render",Oe]]);const Fe={props:{isEdit:{type:Boolean,require:!0,default:!1},loading:{type:Boolean,require:!0,default:!1},disks:{type:Array,require:!0,default:Array}},emits:["submit","onChangeDisk"],setup(t,{emit:i}){const a=G(),e=O(),{t:u}=A();let k=p(!1),s=p(!1),l=p(""),d=p(null);const c=S({get:()=>a.selected_driver,set:v=>{a.selected_driver=v,a.doSpaceDiskConfig.selected_driver=v}}),m=S(()=>({doSpaceDiskConfig:{root:{required:g.withMessage(u("validation.required"),D)},key:{required:g.withMessage(u("validation.required"),D)},secret:{required:g.withMessage(u("validation.required"),D)},region:{required:g.withMessage(u("validation.required"),D)},endpoint:{required:g.withMessage(u("validation.required"),D),url:g.withMessage(u("validation.invalid_url"),ue)},bucket:{required:g.withMessage(u("validation.required"),D)},selected_driver:{required:g.withMessage(u("validation.required"),D)},name:{required:g.withMessage(u("validation.required"),D)}}})),o=R(m,S(()=>a));Y(()=>{a.doSpaceDiskConfig={name:null,selected_driver:"doSpaces",key:null,secret:null,region:null,bucket:null,endpoint:null,root:null}}),B();async function B(){k.value=!0;let v=L({disk:"doSpaces"});if(t.isEdit)Object.assign(a.doSpaceDiskConfig,JSON.parse(e.data.credentials)),s.value=e.data.set_as_default,s.value&&(d.value=!0);else{let $=await a.fetchDiskEnv(v);Object.assign(a.doSpaceDiskConfig,$.data)}l.value=t.disks.find($=>$.value=="doSpaces"),k.value=!1}const M=S(()=>!!(t.isEdit&&s.value&&d.value));async function w(){if(o.value.doSpaceDiskConfig.$touch(),o.value.doSpaceDiskConfig.$invalid)return!0;let v={credentials:a.doSpaceDiskConfig,name:a.doSpaceDiskConfig.name,driver:l.value.value,set_as_default:s.value};return i("submit",v),!1}function I(){i("onChangeDisk",a.doSpaceDiskConfig.selected_driver)}return{v$:o,diskStore:a,selected_driver:c,isLoading:k,set_as_default:s,selected_disk:l,is_current_disk:d,loadData:B,submitData:w,onChangeDriver:I,isDisabled:M}}},Ae={class:"px-8 py-6"},Te={key:0,class:"flex items-center mt-6"},Re={class:"relative flex items-center w-12"},Ye={class:"ml-4 right"},ze={class:"p-0 mb-1 text-base leading-snug text-black box-title"};function Ke(t,i,a,e,u,k){const s=f("BaseInput"),l=f("BaseInputGroup"),d=f("BaseMultiselect"),c=f("BaseInputGrid"),m=f("BaseSwitch");return y(),E("form",{onSubmit:i[17]||(i[17]=K((...o)=>e.submitData&&e.submitData(...o),["prevent"]))},[b("div",Ae,[r(c,null,{default:n(()=>[r(l,{label:t.$t("settings.disk.name"),error:e.v$.doSpaceDiskConfig.name.$error&&e.v$.doSpaceDiskConfig.name.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.doSpaceDiskConfig.name,"onUpdate:modelValue":i[0]||(i[0]=o=>e.diskStore.doSpaceDiskConfig.name=o),type:"text",name:"name",invalid:e.v$.doSpaceDiskConfig.name.$error,onInput:i[1]||(i[1]=o=>e.v$.doSpaceDiskConfig.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$tc("settings.disk.driver"),error:e.v$.doSpaceDiskConfig.selected_driver.$error&&e.v$.doSpaceDiskConfig.selected_driver.$errors[0].$message,required:""},{default:n(()=>[r(d,{modelValue:e.selected_driver,"onUpdate:modelValue":[i[2]||(i[2]=o=>e.selected_driver=o),i[3]||(i[3]=o=>e.onChangeDriver(t.data))],invalid:e.v$.doSpaceDiskConfig.selected_driver.$error,"value-prop":"value",options:a.disks,searchable:"",label:"name","can-deselect":!1},null,8,["modelValue","invalid","options"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.do_spaces_root"),error:e.v$.doSpaceDiskConfig.root.$error&&e.v$.doSpaceDiskConfig.root.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.doSpaceDiskConfig.root,"onUpdate:modelValue":i[4]||(i[4]=o=>e.diskStore.doSpaceDiskConfig.root=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. /user/root/",invalid:e.v$.doSpaceDiskConfig.root.$error,onInput:i[5]||(i[5]=o=>e.v$.doSpaceDiskConfig.root.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.do_spaces_key"),error:e.v$.doSpaceDiskConfig.key.$error&&e.v$.doSpaceDiskConfig.key.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.doSpaceDiskConfig.key,"onUpdate:modelValue":i[6]||(i[6]=o=>e.diskStore.doSpaceDiskConfig.key=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. KEIS4S39SERSDS",invalid:e.v$.doSpaceDiskConfig.key.$error,onInput:i[7]||(i[7]=o=>e.v$.doSpaceDiskConfig.key.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.do_spaces_secret"),error:e.v$.doSpaceDiskConfig.secret.$error&&e.v$.doSpaceDiskConfig.secret.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.doSpaceDiskConfig.secret,"onUpdate:modelValue":i[8]||(i[8]=o=>e.diskStore.doSpaceDiskConfig.secret=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. ********",invalid:e.v$.doSpaceDiskConfig.secret.$error,onInput:i[9]||(i[9]=o=>e.v$.doSpaceDiskConfig.secret.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.do_spaces_region"),error:e.v$.doSpaceDiskConfig.region.$error&&e.v$.doSpaceDiskConfig.region.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.doSpaceDiskConfig.region,"onUpdate:modelValue":i[10]||(i[10]=o=>e.diskStore.doSpaceDiskConfig.region=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. nyc3",invalid:e.v$.doSpaceDiskConfig.region.$error,onInput:i[11]||(i[11]=o=>e.v$.doSpaceDiskConfig.region.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.do_spaces_endpoint"),error:e.v$.doSpaceDiskConfig.endpoint.$error&&e.v$.doSpaceDiskConfig.endpoint.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.doSpaceDiskConfig.endpoint,"onUpdate:modelValue":i[12]||(i[12]=o=>e.diskStore.doSpaceDiskConfig.endpoint=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. https://nyc3.digitaloceanspaces.com",invalid:e.v$.doSpaceDiskConfig.endpoint.$error,onInput:i[13]||(i[13]=o=>e.v$.doSpaceDiskConfig.endpoint.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.do_spaces_bucket"),error:e.v$.doSpaceDiskConfig.bucket.$error&&e.v$.doSpaceDiskConfig.bucket.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.doSpaceDiskConfig.bucket,"onUpdate:modelValue":i[14]||(i[14]=o=>e.diskStore.doSpaceDiskConfig.bucket=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. my-new-space",invalid:e.v$.doSpaceDiskConfig.bucket.$error,onInput:i[15]||(i[15]=o=>e.v$.doSpaceDiskConfig.bucket.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),_:1}),e.isDisabled?h("",!0):(y(),E("div",Te,[b("div",Re,[r(m,{modelValue:e.set_as_default,"onUpdate:modelValue":i[16]||(i[16]=o=>e.set_as_default=o),class:"flex"},null,8,["modelValue"])]),b("div",Ye,[b("p",ze,V(t.$t("settings.disk.is_default")),1)])]))]),z(t.$slots,"default",{diskData:{isLoading:e.isLoading,submitData:e.submitData}})],32)}var Pe=F(Fe,[["render",Ke]]);const He={components:{Dropbox:$e,Local:Ie,S3:je,DoSpaces:Pe},setup(){const t=G(),i=O();let a=p(!1),e=p(!1);fe(()=>{i.id&&(e.value=!0)});const u=S(()=>i.active&&i.componentName==="FileDiskModal");function k(m){return m&&(m.diskData.isLoading.value||a.value)}async function s(){a.value=!0;let m=await t.fetchDiskDrivers();e.value?t.selected_driver=i.data.driver:t.selected_driver=m.data.drivers[0].value,a.value=!1}async function l(m){Object.assign(t.diskConfigData,m),a.value=!0;let o=Q({id:i.id},m);await(e.value?t.updateDisk:t.createDisk)(o),a.value=!1,i.refreshData(),d()}function d(){i.closeModal()}function c(m){t.selected_driver=m,t.diskConfigData.selected_driver=m}return{isEdit:e,createNewDisk:l,isRequestFire:k,diskStore:t,closeDiskModal:d,loadData:s,diskChange:c,modalStore:i,isLoading:a,modalActive:u}}},Je={class:"flex justify-between w-full"},We={class:"file-disk-modal"},Xe={class:"z-0 flex justify-end p-4 border-t border-solid border-gray-light"};function Qe(t,i,a,e,u,k){const s=f("BaseIcon"),l=f("BaseButton"),d=f("BaseModal");return y(),N(d,{show:e.modalActive,onClose:e.closeDiskModal,onOpen:e.loadData},{header:n(()=>[b("div",Je,[U(V(e.modalStore.title)+" ",1),r(s,{name:"XIcon",class:"h-6 w-6 text-gray-500 cursor-pointer",onClick:e.closeDiskModal},null,8,["onClick"])])]),default:n(()=>[b("div",We,[(y(),N(ke(e.diskStore.selected_driver),{loading:e.isLoading,disks:e.diskStore.getDiskDrivers,"is-edit":e.isEdit,onOnChangeDisk:i[0]||(i[0]=c=>e.diskChange(c)),onSubmit:e.createNewDisk},{default:n(c=>[b("div",Xe,[r(l,{class:"mr-3 text-sm",variant:"primary-outline",type:"button",onClick:e.closeDiskModal},{default:n(()=>[U(V(t.$t("general.cancel")),1)]),_:1},8,["onClick"]),r(l,{loading:e.isRequestFire(c),disabled:e.isRequestFire(c),variant:"primary",type:"submit"},{default:n(()=>[e.isRequestFire(c)?h("",!0):(y(),N(s,{key:0,name:"SaveIcon",class:"w-6 mr-2"})),U(" "+V(t.$t("general.save")),1)]),_:2},1032,["loading","disabled"])])]),_:1},8,["loading","disks","is-edit","onSubmit"]))])]),_:1},8,["show","onClose","onOpen"])}var Ze=F(He,[["render",Qe]]);const ei={class:"inline-block"},ti={setup(t){const i=me("utils"),a=O(),e=G(),u=ne(),k=de(),{t:s}=A();let l=p(!1),d=p("");const c=S(()=>[{key:"name",label:s("settings.disk.disk_name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"driver",label:s("settings.disk.filesystem_driver"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"type",label:s("settings.disk.disk_type"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"set_as_default",label:s("settings.disk.is_default"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]),m=p(u.selectedCompanySettings.save_pdf_to_disk),o=S({get:()=>m.value==="YES",set:async C=>{const q=C?"YES":"NO";let x={settings:{save_pdf_to_disk:q}};m.value=q,await u.updateCompanySettings({data:x,message:"general.setting_updated"})}});async function B({page:C,filter:q,sort:x}){let H=L({orderByField:x.fieldName||"created_at",orderBy:x.order||"desc",page:C}),j=await e.fetchDisks(H);return{data:j.data.data,pagination:{totalPages:j.data.meta.last_page,currentPage:C,totalCount:j.data.meta.total}}}function M(C){return C.set_as_default?!(C.type=="SYSTEM"&&C.set_as_default):!0}function w(){a.openModal({title:s("settings.disk.new_disk"),componentName:"FileDiskModal",variant:"lg",refreshData:d.value&&d.value.refresh})}function I(C){a.openModal({title:s("settings.disk.edit_file_disk"),componentName:"FileDiskModal",variant:"lg",id:C.id,data:C,refreshData:d.value&&d.value.refresh})}function v(C){k.openDialog({title:s("general.are_you_sure"),message:s("settings.disk.set_default_disk_confirm"),yesLabel:s("general.ok"),noLabel:s("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(async q=>{if(q){l.value=!0;let x=L({set_as_default:!0,id:C});await e.updateDisk(x).then(()=>{d.value&&d.value.refresh()})}})}function $(C){k.openDialog({title:s("general.are_you_sure"),message:s("settings.disk.confirm_delete"),yesLabel:s("general.ok"),noLabel:s("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async q=>{if(q&&(await e.deleteFileDisk(C)).data.success)return d.value&&d.value.refresh(),!0})}return(C,q)=>{const x=f("BaseIcon"),H=f("BaseButton"),j=f("BaseBadge"),J=f("BaseDropdownItem"),ee=f("BaseDropdown"),ie=f("BaseTable"),oe=f("BaseDivider"),ae=f("BaseSwitchSection"),te=f("BaseSettingCard");return y(),E(ge,null,[r(Ze),r(te,{title:C.$tc("settings.disk.title",1),description:C.$t("settings.disk.description")},{action:n(()=>[r(H,{variant:"primary-outline",onClick:w},{left:n(_=>[r(x,{class:ve(_.class),name:"PlusIcon"},null,8,["class"])]),default:n(()=>[U(" "+V(C.$t("settings.disk.new_disk")),1)]),_:1})]),default:n(()=>[r(ie,{ref:(_,T)=>{T.table=_,Z(d)?d.value=_:d=_},class:"mt-16",data:B,columns:P(c)},{"cell-set_as_default":n(({row:_})=>[r(j,{"bg-color":P(i).getBadgeStatusColor(_.data.set_as_default?"YES":"NO").bgColor,color:P(i).getBadgeStatusColor(_.data.set_as_default?"YES":"NO").color},{default:n(()=>[U(V(_.data.set_as_default?"Yes":"No".replace("_"," ")),1)]),_:2},1032,["bg-color","color"])]),"cell-actions":n(({row:_})=>[M(_.data)?(y(),N(ee,{key:0},{activator:n(()=>[b("div",ei,[r(x,{name:"DotsHorizontalIcon",class:"text-gray-500"})])]),default:n(()=>[_.data.set_as_default?h("",!0):(y(),N(J,{key:0,onClick:T=>v(_.data.id)},{default:n(()=>[r(x,{class:"mr-3 tetx-gray-600",name:"CheckCircleIcon"}),U(" "+V(C.$t("settings.disk.set_default_disk")),1)]),_:2},1032,["onClick"])),_.data.type!=="SYSTEM"?(y(),N(J,{key:1,onClick:T=>I(_.data)},{default:n(()=>[r(x,{name:"PencilIcon",class:"mr-3 text-gray-600"}),U(" "+V(C.$t("general.edit")),1)]),_:2},1032,["onClick"])):h("",!0),_.data.type!=="SYSTEM"&&!_.data.set_as_default?(y(),N(J,{key:2,onClick:T=>$(_.data.id)},{default:n(()=>[r(x,{name:"TrashIcon",class:"mr-3 text-gray-600"}),U(" "+V(C.$t("general.delete")),1)]),_:2},1032,["onClick"])):h("",!0)]),_:2},1024)):h("",!0)]),_:1},8,["columns"]),r(oe,{class:"mt-8 mb-2"}),r(ae,{modelValue:P(o),"onUpdate:modelValue":q[0]||(q[0]=_=>Z(o)?o.value=_:null),title:C.$t("settings.disk.save_pdf_to_disk"),description:C.$t("settings.disk.disk_setting_description")},null,8,["modelValue","title","description"])]),_:1},8,["title","description"])],64)}}};export{ti as default}; +var re=Object.defineProperty;var W=Object.getOwnPropertySymbols;var se=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var X=(t,i,a)=>i in t?re(t,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[i]=a,Q=(t,i)=>{for(var a in i||(i={}))se.call(i,a)&&X(t,a,i[a]);if(W)for(var a of W(i))le.call(i,a)&&X(t,a,i[a]);return t};import{_ as F,w as G,g as O,c as ne,i as de}from"./main.f55cd568.js";import{g as A,i as p,k as S,m as g,n as D,q as R,b3 as Y,j as L,r as f,o as y,c as E,t as b,b as r,w as n,x as V,A as h,W as z,B as K,a3 as ue,ac as fe,s as N,v as U,an as ke,am as me,z as ve,a0 as Z,y as P,F as ge}from"./vendor.e9042f2c.js";const ce={props:{isEdit:{type:Boolean,require:!0,default:!1},loading:{type:Boolean,require:!0,default:!1},disks:{type:Array,require:!0,default:Array}},emits:["submit","onChangeDisk"],setup(t,{emit:i}){const a=G(),e=O(),{t:u}=A();let k=p(!1),s=p(!1),l=p(null),d=p(null);const c=S({get:()=>a.selected_driver,set:v=>{a.selected_driver=v,a.dropBoxDiskConfig.selected_driver=v}}),m=S(()=>({dropBoxDiskConfig:{root:{required:g.withMessage(u("validation.required"),D)},key:{required:g.withMessage(u("validation.required"),D)},secret:{required:g.withMessage(u("validation.required"),D)},token:{required:g.withMessage(u("validation.required"),D)},app:{required:g.withMessage(u("validation.required"),D)},selected_driver:{required:g.withMessage(u("validation.required"),D)},name:{required:g.withMessage(u("validation.required"),D)}}})),o=R(m,S(()=>a));Y(()=>{a.dropBoxDiskConfig={name:null,selected_driver:"dropbox",token:null,key:null,secret:null,app:null}}),B();async function B(){s.value=!0;let v=L({disk:"dropbox"});if(t.isEdit)Object.assign(a.dropBoxDiskConfig,e.data),k.value=e.data.set_as_default,k.value&&(l.value=!0);else{let $=await a.fetchDiskEnv(v);Object.assign(a.dropBoxDiskConfig,$.data)}d.value=t.disks.find($=>$.value=="dropbox"),s.value=!1}const M=S(()=>!!(t.isEdit&&k.value&&l.value));async function w(){if(o.value.dropBoxDiskConfig.$touch(),o.value.dropBoxDiskConfig.$invalid)return!0;let v={credentials:a.dropBoxDiskConfig,name:a.dropBoxDiskConfig.name,driver:d.value.value,set_as_default:k.value};return i("submit",v),!1}function I(){i("onChangeDisk",a.dropBoxDiskConfig.selected_driver)}return{v$:o,diskStore:a,selected_driver:c,set_as_default:k,isLoading:s,is_current_disk:l,selected_disk:d,isDisabled:M,loadData:B,submitData:w,onChangeDriver:I}}},De={class:"px-8 py-6"},Ce={key:0,class:"flex items-center mt-6"},pe={class:"relative flex items-center w-12"},_e={class:"ml-4 right"},be={class:"p-0 mb-1 text-base leading-snug text-black box-title"};function Se(t,i,a,e,u,k){const s=f("BaseInput"),l=f("BaseInputGroup"),d=f("BaseMultiselect"),c=f("BaseInputGrid"),m=f("BaseSwitch");return y(),E("form",{onSubmit:i[15]||(i[15]=K((...o)=>e.submitData&&e.submitData(...o),["prevent"]))},[b("div",De,[r(c,null,{default:n(()=>[r(l,{label:t.$t("settings.disk.name"),error:e.v$.dropBoxDiskConfig.name.$error&&e.v$.dropBoxDiskConfig.name.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.dropBoxDiskConfig.name,"onUpdate:modelValue":i[0]||(i[0]=o=>e.diskStore.dropBoxDiskConfig.name=o),type:"text",name:"name",invalid:e.v$.dropBoxDiskConfig.name.$error,onInput:i[1]||(i[1]=o=>e.v$.dropBoxDiskConfig.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.driver"),error:e.v$.dropBoxDiskConfig.selected_driver.$error&&e.v$.dropBoxDiskConfig.selected_driver.$errors[0].$message,required:""},{default:n(()=>[r(d,{modelValue:e.selected_driver,"onUpdate:modelValue":[i[2]||(i[2]=o=>e.selected_driver=o),i[3]||(i[3]=o=>e.onChangeDriver(t.data))],invalid:e.v$.dropBoxDiskConfig.selected_driver.$error,"value-prop":"value",options:a.disks,searchable:"",label:"name","can-deselect":!1},null,8,["modelValue","invalid","options"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.dropbox_root"),error:e.v$.dropBoxDiskConfig.root.$error&&e.v$.dropBoxDiskConfig.root.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.dropBoxDiskConfig.root,"onUpdate:modelValue":i[4]||(i[4]=o=>e.diskStore.dropBoxDiskConfig.root=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. /user/root/",invalid:e.v$.dropBoxDiskConfig.root.$error,onInput:i[5]||(i[5]=o=>e.v$.dropBoxDiskConfig.root.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.dropbox_token"),error:e.v$.dropBoxDiskConfig.token.$error&&e.v$.dropBoxDiskConfig.token.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.dropBoxDiskConfig.token,"onUpdate:modelValue":i[6]||(i[6]=o=>e.diskStore.dropBoxDiskConfig.token=o),modelModifiers:{trim:!0},type:"text",name:"name",invalid:e.v$.dropBoxDiskConfig.token.$error,onInput:i[7]||(i[7]=o=>e.v$.dropBoxDiskConfig.token.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.dropbox_key"),error:e.v$.dropBoxDiskConfig.key.$error&&e.v$.dropBoxDiskConfig.key.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.dropBoxDiskConfig.key,"onUpdate:modelValue":i[8]||(i[8]=o=>e.diskStore.dropBoxDiskConfig.key=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. KEIS4S39SERSDS",invalid:e.v$.dropBoxDiskConfig.key.$error,onInput:i[9]||(i[9]=o=>e.v$.dropBoxDiskConfig.key.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.dropbox_secret"),error:e.v$.dropBoxDiskConfig.secret.$error&&e.v$.dropBoxDiskConfig.secret.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.dropBoxDiskConfig.secret,"onUpdate:modelValue":i[10]||(i[10]=o=>e.diskStore.dropBoxDiskConfig.secret=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. ********",invalid:e.v$.dropBoxDiskConfig.secret.$error,onInput:i[11]||(i[11]=o=>e.v$.dropBoxDiskConfig.secret.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.dropbox_app"),error:e.v$.dropBoxDiskConfig.app.$error&&e.v$.dropBoxDiskConfig.app.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.dropBoxDiskConfig.app,"onUpdate:modelValue":i[12]||(i[12]=o=>e.diskStore.dropBoxDiskConfig.app=o),modelModifiers:{trim:!0},type:"text",name:"name",invalid:e.v$.dropBoxDiskConfig.app.$error,onInput:i[13]||(i[13]=o=>e.v$.dropBoxDiskConfig.app.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),_:1}),e.isDisabled?h("",!0):(y(),E("div",Ce,[b("div",pe,[r(m,{modelValue:e.set_as_default,"onUpdate:modelValue":i[14]||(i[14]=o=>e.set_as_default=o),class:"flex"},null,8,["modelValue"])]),b("div",_e,[b("p",be,V(t.$t("settings.disk.is_default")),1)])]))]),z(t.$slots,"default",{diskData:{isLoading:e.isLoading,submitData:e.submitData}})],32)}var $e=F(ce,[["render",Se]]);const ye={props:{isEdit:{type:Boolean,require:!0,default:!1},loading:{type:Boolean,require:!0,default:!1},disks:{type:Array,require:!0,default:Array}},emits:["submit","onChangeDisk"],setup(t,{emit:i}){const a=G(),e=O(),{t:u}=A();let k=p(!1),s=p(!1),l=p(""),d=p(null);const c=S({get:()=>a.selected_driver,set:v=>{a.selected_driver=v,a.localDiskConfig.selected_driver=v}}),m=S(()=>({localDiskConfig:{name:{required:g.withMessage(u("validation.required"),D)},selected_driver:{required:g.withMessage(u("validation.required"),D)},root:{required:g.withMessage(u("validation.required"),D)}}})),o=R(m,S(()=>a));Y(()=>{a.localDiskConfig={name:null,selected_driver:"local",root:null}}),B();async function B(){k.value=!0;let v=L({disk:"local"});if(t.isEdit)Object.assign(a.localDiskConfig,e.data),a.localDiskConfig.root=e.data.credentials,s.value=e.data.set_as_default,s.value&&(d.value=!0);else{let $=await a.fetchDiskEnv(v);Object.assign(a.localDiskConfig,$.data)}l.value=t.disks.find($=>$.value=="local"),k.value=!1}const M=S(()=>!!(t.isEdit&&s.value&&d.value));async function w(){if(o.value.localDiskConfig.$touch(),o.value.localDiskConfig.$invalid)return!0;let v=L({credentials:a.localDiskConfig.root,name:a.localDiskConfig.name,driver:a.localDiskConfig.selected_driver,set_as_default:s.value});return i("submit",v),!1}function I(){i("onChangeDisk",a.localDiskConfig.selected_driver)}return{v$:o,diskStore:a,modalStore:e,selected_driver:c,selected_disk:l,isLoading:k,set_as_default:s,is_current_disk:d,submitData:w,onChangeDriver:I,isDisabled:M}}},Be={class:"px-4 sm:px-8 py-6"},xe={key:0,class:"flex items-center mt-6"},Ve={class:"relative flex items-center w-12"},qe={class:"ml-4 right"},Me={class:"p-0 mb-1 text-base leading-snug text-black box-title"};function we(t,i,a,e,u,k){const s=f("BaseInput"),l=f("BaseInputGroup"),d=f("BaseMultiselect"),c=f("BaseInputGrid"),m=f("BaseSwitch");return y(),E("form",{action:"",onSubmit:i[7]||(i[7]=K((...o)=>e.submitData&&e.submitData(...o),["prevent"]))},[b("div",Be,[r(c,null,{default:n(()=>[r(l,{label:t.$t("settings.disk.name"),error:e.v$.localDiskConfig.name.$error&&e.v$.localDiskConfig.name.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.localDiskConfig.name,"onUpdate:modelValue":i[0]||(i[0]=o=>e.diskStore.localDiskConfig.name=o),type:"text",name:"name",invalid:e.v$.localDiskConfig.name.$error,onInput:i[1]||(i[1]=o=>e.v$.localDiskConfig.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$tc("settings.disk.driver"),error:e.v$.localDiskConfig.selected_driver.$error&&e.v$.localDiskConfig.selected_driver.$errors[0].$message,required:""},{default:n(()=>[r(d,{modelValue:e.selected_driver,"onUpdate:modelValue":[i[2]||(i[2]=o=>e.selected_driver=o),i[3]||(i[3]=o=>e.onChangeDriver(t.data))],"value-prop":"value",invalid:e.v$.localDiskConfig.selected_driver.$error,options:a.disks,searchable:"",label:"name","can-deselect":!1},null,8,["modelValue","invalid","options"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.local_root"),error:e.v$.localDiskConfig.root.$error&&e.v$.localDiskConfig.root.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.localDiskConfig.root,"onUpdate:modelValue":i[4]||(i[4]=o=>e.diskStore.localDiskConfig.root=o),modelModifiers:{trim:!0},type:"text",name:"name",invalid:e.v$.localDiskConfig.root.$error,placeholder:"Ex./user/root/",onInput:i[5]||(i[5]=o=>e.v$.localDiskConfig.root.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),_:1}),e.isDisabled?h("",!0):(y(),E("div",xe,[b("div",Ve,[r(m,{modelValue:e.set_as_default,"onUpdate:modelValue":i[6]||(i[6]=o=>e.set_as_default=o),class:"flex"},null,8,["modelValue"])]),b("div",qe,[b("p",Me,V(t.$t("settings.disk.is_default")),1)])]))]),z(t.$slots,"default",{diskData:{isLoading:e.isLoading,submitData:e.submitData}})],32)}var Ie=F(ye,[["render",we]]);const Ee={props:{isEdit:{type:Boolean,require:!0,default:!1},loading:{type:Boolean,require:!0,default:!1},disks:{type:Array,require:!0,default:Array}},emits:["submit","onChangeDisk"],setup(t,{emit:i}){const a=G(),e=O(),{t:u}=A();let k=p(!1),s=p(!1),l=p(null),d=p(null);const c=S({get:()=>a.selected_driver,set:v=>{a.selected_driver=v,a.s3DiskConfigData.selected_driver=v}}),m=S(()=>({s3DiskConfigData:{name:{required:g.withMessage(u("validation.required"),D)},root:{required:g.withMessage(u("validation.required"),D)},key:{required:g.withMessage(u("validation.required"),D)},secret:{required:g.withMessage(u("validation.required"),D)},region:{required:g.withMessage(u("validation.required"),D)},bucket:{required:g.withMessage(u("validation.required"),D)},selected_driver:{required:g.withMessage(u("validation.required"),D)}}})),o=R(m,S(()=>a));Y(()=>{a.s3DiskConfigData={name:null,selected_driver:"s3",key:null,secret:null,region:null,bucket:null,root:null}}),B();async function B(){s.value=!0;let v=L({disk:"s3"});if(t.isEdit)Object.assign(a.s3DiskConfigData,e.data),k.value=e.data.set_as_default,k.value&&(d.value=!0);else{let $=await a.fetchDiskEnv(v);Object.assign(a.s3DiskConfigData,$.data)}l.value=t.disks.find($=>$.value=="s3"),s.value=!1}const M=S(()=>!!(t.isEdit&&k.value&&d.value));async function w(){if(o.value.s3DiskConfigData.$touch(),o.value.s3DiskConfigData.$invalid)return!0;let v={credentials:a.s3DiskConfigData,name:a.s3DiskConfigData.name,driver:l.value.value,set_as_default:k.value};return i("submit",v),!1}function I(){i("onChangeDisk",a.s3DiskConfigData.selected_driver)}return{v$:o,diskStore:a,modalStore:e,set_as_default:k,isLoading:s,selected_disk:l,selected_driver:c,is_current_disk:d,loadData:B,submitData:w,onChangeDriver:I,isDisabled:M}}},he={class:"px-8 py-6"},Ue={key:0,class:"flex items-center mt-6"},Le={class:"relative flex items-center w-12"},Ne={class:"ml-4 right"},Ge={class:"p-0 mb-1 text-base leading-snug text-black box-title"};function Oe(t,i,a,e,u,k){const s=f("BaseInput"),l=f("BaseInputGroup"),d=f("BaseMultiselect"),c=f("BaseInputGrid"),m=f("BaseSwitch");return y(),E("form",{onSubmit:i[15]||(i[15]=K((...o)=>e.submitData&&e.submitData(...o),["prevent"]))},[b("div",he,[r(c,null,{default:n(()=>[r(l,{label:t.$t("settings.disk.name"),error:e.v$.s3DiskConfigData.name.$error&&e.v$.s3DiskConfigData.name.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.s3DiskConfigData.name,"onUpdate:modelValue":i[0]||(i[0]=o=>e.diskStore.s3DiskConfigData.name=o),type:"text",name:"name",invalid:e.v$.s3DiskConfigData.name.$error,onInput:i[1]||(i[1]=o=>e.v$.s3DiskConfigData.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$tc("settings.disk.driver"),error:e.v$.s3DiskConfigData.selected_driver.$error&&e.v$.s3DiskConfigData.selected_driver.$errors[0].$message,required:""},{default:n(()=>[r(d,{modelValue:e.selected_driver,"onUpdate:modelValue":[i[2]||(i[2]=o=>e.selected_driver=o),i[3]||(i[3]=o=>e.onChangeDriver(t.data))],invalid:e.v$.s3DiskConfigData.selected_driver.$error,"value-prop":"value",options:a.disks,searchable:"",label:"name","can-deselect":!1},null,8,["modelValue","invalid","options"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.aws_root"),error:e.v$.s3DiskConfigData.root.$error&&e.v$.s3DiskConfigData.root.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.s3DiskConfigData.root,"onUpdate:modelValue":i[4]||(i[4]=o=>e.diskStore.s3DiskConfigData.root=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. /user/root/",invalid:e.v$.s3DiskConfigData.root.$error,onInput:i[5]||(i[5]=o=>e.v$.s3DiskConfigData.root.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.aws_key"),error:e.v$.s3DiskConfigData.key.$error&&e.v$.s3DiskConfigData.key.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.s3DiskConfigData.key,"onUpdate:modelValue":i[6]||(i[6]=o=>e.diskStore.s3DiskConfigData.key=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. KEIS4S39SERSDS",invalid:e.v$.s3DiskConfigData.key.$error,onInput:i[7]||(i[7]=o=>e.v$.s3DiskConfigData.key.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.aws_secret"),error:e.v$.s3DiskConfigData.secret.$error&&e.v$.s3DiskConfigData.secret.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.s3DiskConfigData.secret,"onUpdate:modelValue":i[8]||(i[8]=o=>e.diskStore.s3DiskConfigData.secret=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. ********",invalid:e.v$.s3DiskConfigData.secret.$error,onInput:i[9]||(i[9]=o=>e.v$.s3DiskConfigData.secret.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.aws_region"),error:e.v$.s3DiskConfigData.region.$error&&e.v$.s3DiskConfigData.region.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.s3DiskConfigData.region,"onUpdate:modelValue":i[10]||(i[10]=o=>e.diskStore.s3DiskConfigData.region=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. us-west",invalid:e.v$.s3DiskConfigData.region.$error,onInput:i[11]||(i[11]=o=>e.v$.s3DiskConfigData.region.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.aws_bucket"),error:e.v$.s3DiskConfigData.bucket.$error&&e.v$.s3DiskConfigData.bucket.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.s3DiskConfigData.bucket,"onUpdate:modelValue":i[12]||(i[12]=o=>e.diskStore.s3DiskConfigData.bucket=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. AppName",invalid:e.v$.s3DiskConfigData.bucket.$error,onInput:i[13]||(i[13]=o=>e.v$.s3DiskConfigData.bucket.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),_:1}),e.isDisabled?h("",!0):(y(),E("div",Ue,[b("div",Le,[r(m,{modelValue:e.set_as_default,"onUpdate:modelValue":i[14]||(i[14]=o=>e.set_as_default=o),class:"flex"},null,8,["modelValue"])]),b("div",Ne,[b("p",Ge,V(t.$t("settings.disk.is_default")),1)])]))]),z(t.$slots,"default",{diskData:{isLoading:e.isLoading,submitData:e.submitData}})],32)}var je=F(Ee,[["render",Oe]]);const Fe={props:{isEdit:{type:Boolean,require:!0,default:!1},loading:{type:Boolean,require:!0,default:!1},disks:{type:Array,require:!0,default:Array}},emits:["submit","onChangeDisk"],setup(t,{emit:i}){const a=G(),e=O(),{t:u}=A();let k=p(!1),s=p(!1),l=p(""),d=p(null);const c=S({get:()=>a.selected_driver,set:v=>{a.selected_driver=v,a.doSpaceDiskConfig.selected_driver=v}}),m=S(()=>({doSpaceDiskConfig:{root:{required:g.withMessage(u("validation.required"),D)},key:{required:g.withMessage(u("validation.required"),D)},secret:{required:g.withMessage(u("validation.required"),D)},region:{required:g.withMessage(u("validation.required"),D)},endpoint:{required:g.withMessage(u("validation.required"),D),url:g.withMessage(u("validation.invalid_url"),ue)},bucket:{required:g.withMessage(u("validation.required"),D)},selected_driver:{required:g.withMessage(u("validation.required"),D)},name:{required:g.withMessage(u("validation.required"),D)}}})),o=R(m,S(()=>a));Y(()=>{a.doSpaceDiskConfig={name:null,selected_driver:"doSpaces",key:null,secret:null,region:null,bucket:null,endpoint:null,root:null}}),B();async function B(){k.value=!0;let v=L({disk:"doSpaces"});if(t.isEdit)Object.assign(a.doSpaceDiskConfig,JSON.parse(e.data.credentials)),s.value=e.data.set_as_default,s.value&&(d.value=!0);else{let $=await a.fetchDiskEnv(v);Object.assign(a.doSpaceDiskConfig,$.data)}l.value=t.disks.find($=>$.value=="doSpaces"),k.value=!1}const M=S(()=>!!(t.isEdit&&s.value&&d.value));async function w(){if(o.value.doSpaceDiskConfig.$touch(),o.value.doSpaceDiskConfig.$invalid)return!0;let v={credentials:a.doSpaceDiskConfig,name:a.doSpaceDiskConfig.name,driver:l.value.value,set_as_default:s.value};return i("submit",v),!1}function I(){i("onChangeDisk",a.doSpaceDiskConfig.selected_driver)}return{v$:o,diskStore:a,selected_driver:c,isLoading:k,set_as_default:s,selected_disk:l,is_current_disk:d,loadData:B,submitData:w,onChangeDriver:I,isDisabled:M}}},Ae={class:"px-8 py-6"},Te={key:0,class:"flex items-center mt-6"},Re={class:"relative flex items-center w-12"},Ye={class:"ml-4 right"},ze={class:"p-0 mb-1 text-base leading-snug text-black box-title"};function Ke(t,i,a,e,u,k){const s=f("BaseInput"),l=f("BaseInputGroup"),d=f("BaseMultiselect"),c=f("BaseInputGrid"),m=f("BaseSwitch");return y(),E("form",{onSubmit:i[17]||(i[17]=K((...o)=>e.submitData&&e.submitData(...o),["prevent"]))},[b("div",Ae,[r(c,null,{default:n(()=>[r(l,{label:t.$t("settings.disk.name"),error:e.v$.doSpaceDiskConfig.name.$error&&e.v$.doSpaceDiskConfig.name.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.doSpaceDiskConfig.name,"onUpdate:modelValue":i[0]||(i[0]=o=>e.diskStore.doSpaceDiskConfig.name=o),type:"text",name:"name",invalid:e.v$.doSpaceDiskConfig.name.$error,onInput:i[1]||(i[1]=o=>e.v$.doSpaceDiskConfig.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$tc("settings.disk.driver"),error:e.v$.doSpaceDiskConfig.selected_driver.$error&&e.v$.doSpaceDiskConfig.selected_driver.$errors[0].$message,required:""},{default:n(()=>[r(d,{modelValue:e.selected_driver,"onUpdate:modelValue":[i[2]||(i[2]=o=>e.selected_driver=o),i[3]||(i[3]=o=>e.onChangeDriver(t.data))],invalid:e.v$.doSpaceDiskConfig.selected_driver.$error,"value-prop":"value",options:a.disks,searchable:"",label:"name","can-deselect":!1},null,8,["modelValue","invalid","options"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.do_spaces_root"),error:e.v$.doSpaceDiskConfig.root.$error&&e.v$.doSpaceDiskConfig.root.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.doSpaceDiskConfig.root,"onUpdate:modelValue":i[4]||(i[4]=o=>e.diskStore.doSpaceDiskConfig.root=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. /user/root/",invalid:e.v$.doSpaceDiskConfig.root.$error,onInput:i[5]||(i[5]=o=>e.v$.doSpaceDiskConfig.root.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.do_spaces_key"),error:e.v$.doSpaceDiskConfig.key.$error&&e.v$.doSpaceDiskConfig.key.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.doSpaceDiskConfig.key,"onUpdate:modelValue":i[6]||(i[6]=o=>e.diskStore.doSpaceDiskConfig.key=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. KEIS4S39SERSDS",invalid:e.v$.doSpaceDiskConfig.key.$error,onInput:i[7]||(i[7]=o=>e.v$.doSpaceDiskConfig.key.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.do_spaces_secret"),error:e.v$.doSpaceDiskConfig.secret.$error&&e.v$.doSpaceDiskConfig.secret.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.doSpaceDiskConfig.secret,"onUpdate:modelValue":i[8]||(i[8]=o=>e.diskStore.doSpaceDiskConfig.secret=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. ********",invalid:e.v$.doSpaceDiskConfig.secret.$error,onInput:i[9]||(i[9]=o=>e.v$.doSpaceDiskConfig.secret.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.do_spaces_region"),error:e.v$.doSpaceDiskConfig.region.$error&&e.v$.doSpaceDiskConfig.region.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.doSpaceDiskConfig.region,"onUpdate:modelValue":i[10]||(i[10]=o=>e.diskStore.doSpaceDiskConfig.region=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. nyc3",invalid:e.v$.doSpaceDiskConfig.region.$error,onInput:i[11]||(i[11]=o=>e.v$.doSpaceDiskConfig.region.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.do_spaces_endpoint"),error:e.v$.doSpaceDiskConfig.endpoint.$error&&e.v$.doSpaceDiskConfig.endpoint.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.doSpaceDiskConfig.endpoint,"onUpdate:modelValue":i[12]||(i[12]=o=>e.diskStore.doSpaceDiskConfig.endpoint=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. https://nyc3.digitaloceanspaces.com",invalid:e.v$.doSpaceDiskConfig.endpoint.$error,onInput:i[13]||(i[13]=o=>e.v$.doSpaceDiskConfig.endpoint.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),r(l,{label:t.$t("settings.disk.do_spaces_bucket"),error:e.v$.doSpaceDiskConfig.bucket.$error&&e.v$.doSpaceDiskConfig.bucket.$errors[0].$message,required:""},{default:n(()=>[r(s,{modelValue:e.diskStore.doSpaceDiskConfig.bucket,"onUpdate:modelValue":i[14]||(i[14]=o=>e.diskStore.doSpaceDiskConfig.bucket=o),modelModifiers:{trim:!0},type:"text",name:"name",placeholder:"Ex. my-new-space",invalid:e.v$.doSpaceDiskConfig.bucket.$error,onInput:i[15]||(i[15]=o=>e.v$.doSpaceDiskConfig.bucket.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),_:1}),e.isDisabled?h("",!0):(y(),E("div",Te,[b("div",Re,[r(m,{modelValue:e.set_as_default,"onUpdate:modelValue":i[16]||(i[16]=o=>e.set_as_default=o),class:"flex"},null,8,["modelValue"])]),b("div",Ye,[b("p",ze,V(t.$t("settings.disk.is_default")),1)])]))]),z(t.$slots,"default",{diskData:{isLoading:e.isLoading,submitData:e.submitData}})],32)}var Pe=F(Fe,[["render",Ke]]);const He={components:{Dropbox:$e,Local:Ie,S3:je,DoSpaces:Pe},setup(){const t=G(),i=O();let a=p(!1),e=p(!1);fe(()=>{i.id&&(e.value=!0)});const u=S(()=>i.active&&i.componentName==="FileDiskModal");function k(m){return m&&(m.diskData.isLoading.value||a.value)}async function s(){a.value=!0;let m=await t.fetchDiskDrivers();e.value?t.selected_driver=i.data.driver:t.selected_driver=m.data.drivers[0].value,a.value=!1}async function l(m){Object.assign(t.diskConfigData,m),a.value=!0;let o=Q({id:i.id},m);await(e.value?t.updateDisk:t.createDisk)(o),a.value=!1,i.refreshData(),d()}function d(){i.closeModal()}function c(m){t.selected_driver=m,t.diskConfigData.selected_driver=m}return{isEdit:e,createNewDisk:l,isRequestFire:k,diskStore:t,closeDiskModal:d,loadData:s,diskChange:c,modalStore:i,isLoading:a,modalActive:u}}},Je={class:"flex justify-between w-full"},We={class:"file-disk-modal"},Xe={class:"z-0 flex justify-end p-4 border-t border-solid border-gray-light"};function Qe(t,i,a,e,u,k){const s=f("BaseIcon"),l=f("BaseButton"),d=f("BaseModal");return y(),N(d,{show:e.modalActive,onClose:e.closeDiskModal,onOpen:e.loadData},{header:n(()=>[b("div",Je,[U(V(e.modalStore.title)+" ",1),r(s,{name:"XIcon",class:"h-6 w-6 text-gray-500 cursor-pointer",onClick:e.closeDiskModal},null,8,["onClick"])])]),default:n(()=>[b("div",We,[(y(),N(ke(e.diskStore.selected_driver),{loading:e.isLoading,disks:e.diskStore.getDiskDrivers,"is-edit":e.isEdit,onOnChangeDisk:i[0]||(i[0]=c=>e.diskChange(c)),onSubmit:e.createNewDisk},{default:n(c=>[b("div",Xe,[r(l,{class:"mr-3 text-sm",variant:"primary-outline",type:"button",onClick:e.closeDiskModal},{default:n(()=>[U(V(t.$t("general.cancel")),1)]),_:1},8,["onClick"]),r(l,{loading:e.isRequestFire(c),disabled:e.isRequestFire(c),variant:"primary",type:"submit"},{default:n(()=>[e.isRequestFire(c)?h("",!0):(y(),N(s,{key:0,name:"SaveIcon",class:"w-6 mr-2"})),U(" "+V(t.$t("general.save")),1)]),_:2},1032,["loading","disabled"])])]),_:1},8,["loading","disks","is-edit","onSubmit"]))])]),_:1},8,["show","onClose","onOpen"])}var Ze=F(He,[["render",Qe]]);const ei={class:"inline-block"},ti={setup(t){const i=me("utils"),a=O(),e=G(),u=ne(),k=de(),{t:s}=A();let l=p(!1),d=p("");const c=S(()=>[{key:"name",label:s("settings.disk.disk_name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"driver",label:s("settings.disk.filesystem_driver"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"type",label:s("settings.disk.disk_type"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"set_as_default",label:s("settings.disk.is_default"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]),m=p(u.selectedCompanySettings.save_pdf_to_disk),o=S({get:()=>m.value==="YES",set:async C=>{const q=C?"YES":"NO";let x={settings:{save_pdf_to_disk:q}};m.value=q,await u.updateCompanySettings({data:x,message:"general.setting_updated"})}});async function B({page:C,filter:q,sort:x}){let H=L({orderByField:x.fieldName||"created_at",orderBy:x.order||"desc",page:C}),j=await e.fetchDisks(H);return{data:j.data.data,pagination:{totalPages:j.data.meta.last_page,currentPage:C,totalCount:j.data.meta.total}}}function M(C){return C.set_as_default?!(C.type=="SYSTEM"&&C.set_as_default):!0}function w(){a.openModal({title:s("settings.disk.new_disk"),componentName:"FileDiskModal",variant:"lg",refreshData:d.value&&d.value.refresh})}function I(C){a.openModal({title:s("settings.disk.edit_file_disk"),componentName:"FileDiskModal",variant:"lg",id:C.id,data:C,refreshData:d.value&&d.value.refresh})}function v(C){k.openDialog({title:s("general.are_you_sure"),message:s("settings.disk.set_default_disk_confirm"),yesLabel:s("general.ok"),noLabel:s("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(async q=>{if(q){l.value=!0;let x=L({set_as_default:!0,id:C});await e.updateDisk(x).then(()=>{d.value&&d.value.refresh()})}})}function $(C){k.openDialog({title:s("general.are_you_sure"),message:s("settings.disk.confirm_delete"),yesLabel:s("general.ok"),noLabel:s("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async q=>{if(q&&(await e.deleteFileDisk(C)).data.success)return d.value&&d.value.refresh(),!0})}return(C,q)=>{const x=f("BaseIcon"),H=f("BaseButton"),j=f("BaseBadge"),J=f("BaseDropdownItem"),ee=f("BaseDropdown"),ie=f("BaseTable"),oe=f("BaseDivider"),ae=f("BaseSwitchSection"),te=f("BaseSettingCard");return y(),E(ge,null,[r(Ze),r(te,{title:C.$tc("settings.disk.title",1),description:C.$t("settings.disk.description")},{action:n(()=>[r(H,{variant:"primary-outline",onClick:w},{left:n(_=>[r(x,{class:ve(_.class),name:"PlusIcon"},null,8,["class"])]),default:n(()=>[U(" "+V(C.$t("settings.disk.new_disk")),1)]),_:1})]),default:n(()=>[r(ie,{ref:(_,T)=>{T.table=_,Z(d)?d.value=_:d=_},class:"mt-16",data:B,columns:P(c)},{"cell-set_as_default":n(({row:_})=>[r(j,{"bg-color":P(i).getBadgeStatusColor(_.data.set_as_default?"YES":"NO").bgColor,color:P(i).getBadgeStatusColor(_.data.set_as_default?"YES":"NO").color},{default:n(()=>[U(V(_.data.set_as_default?"Yes":"No".replace("_"," ")),1)]),_:2},1032,["bg-color","color"])]),"cell-actions":n(({row:_})=>[M(_.data)?(y(),N(ee,{key:0},{activator:n(()=>[b("div",ei,[r(x,{name:"DotsHorizontalIcon",class:"text-gray-500"})])]),default:n(()=>[_.data.set_as_default?h("",!0):(y(),N(J,{key:0,onClick:T=>v(_.data.id)},{default:n(()=>[r(x,{class:"mr-3 tetx-gray-600",name:"CheckCircleIcon"}),U(" "+V(C.$t("settings.disk.set_default_disk")),1)]),_:2},1032,["onClick"])),_.data.type!=="SYSTEM"?(y(),N(J,{key:1,onClick:T=>I(_.data)},{default:n(()=>[r(x,{name:"PencilIcon",class:"mr-3 text-gray-600"}),U(" "+V(C.$t("general.edit")),1)]),_:2},1032,["onClick"])):h("",!0),_.data.type!=="SYSTEM"&&!_.data.set_as_default?(y(),N(J,{key:2,onClick:T=>$(_.data.id)},{default:n(()=>[r(x,{name:"TrashIcon",class:"mr-3 text-gray-600"}),U(" "+V(C.$t("general.delete")),1)]),_:2},1032,["onClick"])):h("",!0)]),_:2},1024)):h("",!0)]),_:1},8,["columns"]),r(oe,{class:"mt-8 mb-2"}),r(ae,{modelValue:P(o),"onUpdate:modelValue":q[0]||(q[0]=_=>Z(o)?o.value=_:null),title:C.$t("settings.disk.save_pdf_to_disk"),description:C.$t("settings.disk.disk_setting_description")},null,8,["modelValue","title","description"])]),_:1},8,["title","description"])],64)}}};export{ti as default}; diff --git a/public/build/assets/ForgotPassword.4bdb652b.js b/public/build/assets/ForgotPassword.7224f642.js similarity index 84% rename from public/build/assets/ForgotPassword.4bdb652b.js rename to public/build/assets/ForgotPassword.7224f642.js index feb2b7dff..c3605df58 100644 --- a/public/build/assets/ForgotPassword.4bdb652b.js +++ b/public/build/assets/ForgotPassword.7224f642.js @@ -1 +1 @@ -import{g as w,j as S,i as _,m as f,n as V,a2 as x,q as I,r as n,o as l,c as u,b as r,w as m,y as t,x as d,t as q,v as N,B as M,a as j}from"./vendor.e9042f2c.js";import{u as C,h as D}from"./main.c4ed6aa9.js";const E=["onSubmit"],G={key:0},F={key:1},L={class:"mt-4 mb-4 text-sm"},A={setup(T){const g=C(),{t:c}=w(),i=S({email:""}),p=_(!1),o=_(!1),y={email:{required:f.withMessage(c("validation.required"),V),email:f.withMessage(c("validation.email_incorrect"),x)}},a=I(y,i);async function h(s){if(a.value.$touch(),!a.value.$invalid)try{o.value=!0,(await j.post("/api/v1/auth/password/email",i)).data&&g.showNotification({type:"success",message:"Mail sent successfully"}),p.value=!0,o.value=!1}catch(e){D(e),o.value=!1}}return(s,e)=>{const $=n("BaseInput"),b=n("BaseInputGroup"),B=n("BaseButton"),k=n("router-link");return l(),u("form",{id:"loginForm",onSubmit:M(h,["prevent"])},[r(b,{error:t(a).email.$error&&t(a).email.$errors[0].$message,label:s.$t("login.enter_email"),class:"mb-4",required:""},{default:m(()=>[r($,{modelValue:t(i).email,"onUpdate:modelValue":e[0]||(e[0]=v=>t(i).email=v),invalid:t(a).email.$error,focus:"",type:"email",name:"email",onInput:e[1]||(e[1]=v=>t(a).email.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["error","label"]),r(B,{loading:o.value,disabled:o.value,type:"submit",variant:"primary"},{default:m(()=>[p.value?(l(),u("div",F,d(s.$t("validation.not_yet")),1)):(l(),u("div",G,d(s.$t("validation.send_reset_link")),1))]),_:1},8,["loading","disabled"]),q("div",L,[r(k,{to:"/login",class:"text-sm text-primary-400 hover:text-gray-700"},{default:m(()=>[N(d(s.$t("general.back_to_login")),1)]),_:1})])],40,E)}}};export{A as default}; +import{g as w,j as S,i as f,m as _,n as V,a2 as x,q as I,r as n,o as l,c as u,b as r,w as m,y as t,x as d,t as q,v as N,B as M,a as j}from"./vendor.e9042f2c.js";import{u as C,h as D}from"./main.f55cd568.js";const E=["onSubmit"],G={key:0},F={key:1},L={class:"mt-4 mb-4 text-sm"},A={setup(T){const g=C(),{t:c}=w(),i=S({email:""}),p=f(!1),o=f(!1),y={email:{required:_.withMessage(c("validation.required"),V),email:_.withMessage(c("validation.email_incorrect"),x)}},a=I(y,i);async function h(s){if(a.value.$touch(),!a.value.$invalid)try{o.value=!0,(await j.post("/api/v1/auth/password/email",i)).data&&g.showNotification({type:"success",message:"Mail sent successfully"}),p.value=!0,o.value=!1}catch(e){D(e),o.value=!1}}return(s,e)=>{const $=n("BaseInput"),b=n("BaseInputGroup"),B=n("BaseButton"),k=n("router-link");return l(),u("form",{id:"loginForm",onSubmit:M(h,["prevent"])},[r(b,{error:t(a).email.$error&&t(a).email.$errors[0].$message,label:s.$t("login.enter_email"),class:"mb-4",required:""},{default:m(()=>[r($,{modelValue:t(i).email,"onUpdate:modelValue":e[0]||(e[0]=v=>t(i).email=v),invalid:t(a).email.$error,focus:"",type:"email",name:"email",onInput:e[1]||(e[1]=v=>t(a).email.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["error","label"]),r(B,{loading:o.value,disabled:o.value,type:"submit",variant:"primary"},{default:m(()=>[p.value?(l(),u("div",F,d(s.$t("validation.not_yet")),1)):(l(),u("div",G,d(s.$t("validation.send_reset_link")),1))]),_:1},8,["loading","disabled"]),q("div",L,[r(k,{to:"/login",class:"text-sm text-primary-400 hover:text-gray-700"},{default:m(()=>[N(d(s.$t("general.back_to_login")),1)]),_:1})])],40,E)}}};export{A as default}; diff --git a/public/build/assets/Index.280eb08b.js b/public/build/assets/Index.4b4c096d.js similarity index 99% rename from public/build/assets/Index.280eb08b.js rename to public/build/assets/Index.4b4c096d.js index f60c7fcf9..67dc4b5f9 100644 --- a/public/build/assets/Index.280eb08b.js +++ b/public/build/assets/Index.4b4c096d.js @@ -1 +1 @@ -var ge=Object.defineProperty,ye=Object.defineProperties;var ve=Object.getOwnPropertyDescriptors;var O=Object.getOwnPropertySymbols;var be=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable;var W=(d,s,c)=>s in d?ge(d,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):d[s]=c,G=(d,s)=>{for(var c in s||(s={}))be.call(s,c)&&W(d,c,s[c]);if(O)for(var c of O(s))xe.call(s,c)&&W(d,c,s[c]);return d},q=(d,s)=>ye(d,ve(s));import{o as u,c as Ce,R as Ee,g as J,u as Be,C as ke,am as we,r as o,s as _,w as t,y as a,b as l,v,x as g,A as D,i as M,j as Se,k as I,aS as De,aT as $e,M as Ie,Z as U,al as X,z as A,a5 as K,t as b,a0 as Z}from"./vendor.e9042f2c.js";import{_ as Ae,i as Q,u as Ve,z as Y,d as ee,e as x,c as Pe,s as Le}from"./main.c4ed6aa9.js";const Ne={},Fe={width:"110",height:"110",viewBox:"0 0 110 110",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Te=Ee('',6),Me=[Te];function Ue(d,s){return u(),Ce("svg",Fe,Me)}var Xe=Ae(Ne,[["render",Ue]]);const Ze={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(d){const s=d,c=Q();Ve();const{t:C}=J(),E=Y(),k=Be();ke();const y=ee();we("utils");function i(f){c.openDialog({title:C("general.are_you_sure"),message:C("expenses.confirm_delete",1),yesLabel:C("general.ok"),noLabel:C("general.cancel"),variant:"danger",size:"lg",hideNoButton:!1}).then(m=>{m&&E.deleteExpense({ids:[f]}).then(h=>{h&&s.loadData&&s.loadData()})})}return(f,m)=>{const h=o("BaseIcon"),w=o("BaseButton"),B=o("BaseDropdownItem"),V=o("router-link"),P=o("BaseDropdown");return u(),_(P,null,{activator:t(()=>[a(k).name==="expenses.view"?(u(),_(w,{key:0,variant:"primary"},{default:t(()=>[l(h,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(u(),_(h,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:t(()=>[a(y).hasAbilities(a(x).EDIT_EXPENSE)?(u(),_(V,{key:0,to:`/admin/expenses/${d.row.id}/edit`},{default:t(()=>[l(B,null,{default:t(()=>[l(h,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),v(" "+g(f.$t("general.edit")),1)]),_:1})]),_:1},8,["to"])):D("",!0),a(y).hasAbilities(a(x).DELETE_EXPENSE)?(u(),_(B,{key:1,onClick:m[0]||(m[0]=j=>i(d.row.id))},{default:t(()=>[l(h,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),v(" "+g(f.$t("general.delete")),1)]),_:1})):D("",!0)]),_:1})}}},je=b("div",{class:"hidden w-8 h-0 mx-4 border border-gray-400 border-solid xl:block",style:{"margin-top":"1.5rem"}},null,-1),ze={class:"relative table-container"},Re={class:"relative flex items-center justify-end h-5"},He={class:"flex text-sm font-medium cursor-pointer select-none text-primary-400"},Oe={class:"absolute items-center left-6 top-2.5 select-none"},We={class:"relative block"},Ge={class:"notes"},qe={class:"truncate note w-60"},Ye={setup(d){Pe();const s=Y(),c=Q(),C=Le(),E=ee();let k=M(!0),y=M(null);const i=Se({expense_category_id:"",from_date:"",to_date:"",customer_id:""}),{t:f}=J();let m=M(null);const h=I(()=>!s.totalExpenses&&!k.value),w=I({get:()=>s.selectedExpenses,set:n=>s.selectExpense(n)}),B=I({get:()=>s.selectAllField,set:n=>s.setSelectAllState(n)}),V=I(()=>[{key:"status",thClass:"extra w-10",tdClass:"font-medium text-gray-900",placeholderClass:"w-10",sortable:!1},{key:"expense_date",label:"Date",thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"name",label:"Category",thClass:"extra",tdClass:"cursor-pointer font-medium text-primary-500"},{key:"user_name",label:"Customer"},{key:"notes",label:"Note"},{key:"amount",label:"Amount"},{key:"actions",sortable:!1,tdClass:"text-right text-sm font-medium"}]);De(i,()=>{te()},{debounce:500}),$e(()=>{s.selectAllField&&s.selectAllExpenses()}),Ie(()=>{C.fetchCategories({limit:"all"})});async function P(n){return(await C.fetchCategories({search:n})).data.data}async function j({page:n,filter:r,sort:S}){let N=q(G({},i),{orderByField:S.fieldName||"created_at",orderBy:S.order||"desc",page:n});k.value=!0;let p=await s.fetchExpenses(N);return k.value=!1,{data:p.data.data,pagination:{data:p.data.data,totalPages:p.data.meta.last_page,currentPage:n,totalCount:p.data.meta.total,limit:10}}}function L(){m.value&&m.value.refresh()}function te(){L()}function z(){i.expense_category_id="",i.from_date="",i.to_date="",i.customer_id=""}function ae(){y.value&&z(),y.value=!y.value}function le(){return E.hasAbilities([x.DELETE_EXPENSE,x.EDIT_EXPENSE])}function se(){c.openDialog({title:f("general.are_you_sure"),message:f("expenses.confirm_delete",2),yesLabel:f("general.ok"),noLabel:f("general.cancel"),variant:"danger",size:"lg",hideNoButton:!1}).then(n=>{n&&s.deleteMultipleExpenses().then(r=>{r.data&&L()})})}return(n,r)=>{const S=o("BaseBreadcrumbItem"),N=o("BaseBreadcrumb"),p=o("BaseIcon"),F=o("BaseButton"),ne=o("BasePageHeader"),oe=o("BaseCustomerSelectInput"),$=o("BaseInputGroup"),re=o("BaseMultiselect"),R=o("BaseDatePicker"),ie=o("BaseFilterWrapper"),de=o("BaseEmptyPlaceholder"),ce=o("BaseDropdownItem"),ue=o("BaseDropdown"),H=o("BaseCheckbox"),me=o("router-link"),pe=o("BaseFormatMoney"),_e=o("BaseText"),fe=o("BaseTable"),he=o("BasePage");return u(),_(he,null,{default:t(()=>[l(ne,{title:n.$t("expenses.title")},{actions:t(()=>[U(l(F,{variant:"primary-outline",onClick:ae},{right:t(e=>[a(y)?(u(),_(p,{key:1,name:"XIcon",class:A(e.class)},null,8,["class"])):(u(),_(p,{key:0,name:"FilterIcon",class:A(e.class)},null,8,["class"]))]),default:t(()=>[v(g(n.$t("general.filter"))+" ",1)]),_:1},512),[[X,a(s).totalExpenses]]),a(E).hasAbilities(a(x).CREATE_EXPENSE)?(u(),_(F,{key:0,class:"ml-4",variant:"primary",onClick:r[0]||(r[0]=e=>n.$router.push("expenses/create"))},{left:t(e=>[l(p,{name:"PlusIcon",class:A(e.class)},null,8,["class"])]),default:t(()=>[v(" "+g(n.$t("expenses.add_expense")),1)]),_:1})):D("",!0)]),default:t(()=>[l(N,null,{default:t(()=>[l(S,{title:n.$t("general.home"),to:"dashboard"},null,8,["title"]),l(S,{title:n.$tc("expenses.expense",2),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),l(ie,{show:a(y),class:"mt-5",onClear:z},{default:t(()=>[l($,{label:n.$t("expenses.customer")},{default:t(()=>[l(oe,{modelValue:a(i).customer_id,"onUpdate:modelValue":r[1]||(r[1]=e=>a(i).customer_id=e),placeholder:n.$t("customers.type_or_click"),"value-prop":"id",label:"name"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),l($,{label:n.$t("expenses.category")},{default:t(()=>[l(re,{modelValue:a(i).expense_category_id,"onUpdate:modelValue":r[2]||(r[2]=e=>a(i).expense_category_id=e),"value-prop":"id",label:"name","track-by":"name","filter-results":!1,"resolve-on-load":"",delay:500,options:P,searchable:"",placeholder:n.$t("expenses.categories.select_a_category")},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),l($,{label:n.$t("expenses.from_date")},{default:t(()=>[l(R,{modelValue:a(i).from_date,"onUpdate:modelValue":r[3]||(r[3]=e=>a(i).from_date=e),"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue"])]),_:1},8,["label"]),je,l($,{label:n.$t("expenses.to_date")},{default:t(()=>[l(R,{modelValue:a(i).to_date,"onUpdate:modelValue":r[4]||(r[4]=e=>a(i).to_date=e),"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["show"]),U(l(de,{title:n.$t("expenses.no_expenses"),description:n.$t("expenses.list_of_expenses")},K({default:t(()=>[l(Xe,{class:"mt-5 mb-4"})]),_:2},[a(E).hasAbilities(a(x).CREATE_EXPENSE)?{name:"actions",fn:t(()=>[l(F,{variant:"primary-outline",onClick:r[5]||(r[5]=e=>n.$router.push("/admin/expenses/create"))},{left:t(e=>[l(p,{name:"PlusIcon",class:A(e.class)},null,8,["class"])]),default:t(()=>[v(" "+g(n.$t("expenses.add_new_expense")),1)]),_:1})])}:void 0]),1032,["title","description"]),[[X,a(h)]]),U(b("div",ze,[b("div",Re,[a(s).selectedExpenses.length&&a(E).hasAbilities(a(x).DELETE_EXPENSE)?(u(),_(ue,{key:0},{activator:t(()=>[b("span",He,[v(g(n.$t("general.actions"))+" ",1),l(p,{name:"ChevronDownIcon"})])]),default:t(()=>[a(E).hasAbilities(a(x).DELETE_EXPENSE)?(u(),_(ce,{key:0,onClick:se},{default:t(()=>[l(p,{name:"TrashIcon",class:"h-5 mr-3 text-gray-600"}),v(" "+g(n.$t("general.delete")),1)]),_:1})):D("",!0)]),_:1})):D("",!0)]),l(fe,{ref:(e,T)=>{T.tableComponent=e,Z(m)?m.value=e:m=e},data:j,columns:a(V),class:"mt-3"},K({header:t(()=>[b("div",Oe,[l(H,{modelValue:a(B),"onUpdate:modelValue":r[6]||(r[6]=e=>Z(B)?B.value=e:null),variant:"primary",onChange:a(s).selectAllExpenses},null,8,["modelValue","onChange"])])]),"cell-status":t(({row:e})=>[b("div",We,[l(H,{id:e.id,modelValue:a(w),"onUpdate:modelValue":r[7]||(r[7]=T=>Z(w)?w.value=T:null),value:e.data.id,variant:"primary"},null,8,["id","modelValue","value"])])]),"cell-name":t(({row:e})=>[l(me,{to:{path:`expenses/${e.data.id}/edit`},class:"font-medium text-primary-500"},{default:t(()=>[v(g(e.data.expense_category.name),1)]),_:2},1032,["to"])]),"cell-amount":t(({row:e})=>[l(pe,{amount:e.data.amount,currency:e.data.currency},null,8,["amount","currency"])]),"cell-user_name":t(({row:e})=>[l(_e,{text:e.data.customer?e.data.customer.name:"-",length:30},null,8,["text"])]),"cell-notes":t(({row:e})=>[b("div",Ge,[b("div",qe,g(e.data.notes?e.data.notes:"-"),1)])]),_:2},[le()?{name:"cell-actions",fn:t(({row:e})=>[l(Ze,{row:e.data,table:a(m),"load-data":L},null,8,["row","table"])])}:void 0]),1032,["columns"])],512),[[X,!a(h)]])]),_:1})}}};export{Ye as default}; +var ge=Object.defineProperty,ye=Object.defineProperties;var ve=Object.getOwnPropertyDescriptors;var O=Object.getOwnPropertySymbols;var be=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable;var W=(d,s,c)=>s in d?ge(d,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):d[s]=c,G=(d,s)=>{for(var c in s||(s={}))be.call(s,c)&&W(d,c,s[c]);if(O)for(var c of O(s))xe.call(s,c)&&W(d,c,s[c]);return d},q=(d,s)=>ye(d,ve(s));import{o as u,c as Ce,R as Ee,g as J,u as Be,C as ke,am as we,r as o,s as _,w as t,y as a,b as l,v,x as g,A as D,i as M,j as Se,k as I,aS as De,aT as $e,M as Ie,Z as U,al as X,z as A,a5 as K,t as b,a0 as Z}from"./vendor.e9042f2c.js";import{_ as Ae,i as Q,u as Ve,z as Y,d as ee,e as x,c as Pe,s as Le}from"./main.f55cd568.js";const Ne={},Fe={width:"110",height:"110",viewBox:"0 0 110 110",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Te=Ee('',6),Me=[Te];function Ue(d,s){return u(),Ce("svg",Fe,Me)}var Xe=Ae(Ne,[["render",Ue]]);const Ze={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(d){const s=d,c=Q();Ve();const{t:C}=J(),E=Y(),k=Be();ke();const y=ee();we("utils");function i(f){c.openDialog({title:C("general.are_you_sure"),message:C("expenses.confirm_delete",1),yesLabel:C("general.ok"),noLabel:C("general.cancel"),variant:"danger",size:"lg",hideNoButton:!1}).then(m=>{m&&E.deleteExpense({ids:[f]}).then(h=>{h&&s.loadData&&s.loadData()})})}return(f,m)=>{const h=o("BaseIcon"),w=o("BaseButton"),B=o("BaseDropdownItem"),V=o("router-link"),P=o("BaseDropdown");return u(),_(P,null,{activator:t(()=>[a(k).name==="expenses.view"?(u(),_(w,{key:0,variant:"primary"},{default:t(()=>[l(h,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(u(),_(h,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:t(()=>[a(y).hasAbilities(a(x).EDIT_EXPENSE)?(u(),_(V,{key:0,to:`/admin/expenses/${d.row.id}/edit`},{default:t(()=>[l(B,null,{default:t(()=>[l(h,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),v(" "+g(f.$t("general.edit")),1)]),_:1})]),_:1},8,["to"])):D("",!0),a(y).hasAbilities(a(x).DELETE_EXPENSE)?(u(),_(B,{key:1,onClick:m[0]||(m[0]=j=>i(d.row.id))},{default:t(()=>[l(h,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),v(" "+g(f.$t("general.delete")),1)]),_:1})):D("",!0)]),_:1})}}},je=b("div",{class:"hidden w-8 h-0 mx-4 border border-gray-400 border-solid xl:block",style:{"margin-top":"1.5rem"}},null,-1),ze={class:"relative table-container"},Re={class:"relative flex items-center justify-end h-5"},He={class:"flex text-sm font-medium cursor-pointer select-none text-primary-400"},Oe={class:"absolute items-center left-6 top-2.5 select-none"},We={class:"relative block"},Ge={class:"notes"},qe={class:"truncate note w-60"},Ye={setup(d){Pe();const s=Y(),c=Q(),C=Le(),E=ee();let k=M(!0),y=M(null);const i=Se({expense_category_id:"",from_date:"",to_date:"",customer_id:""}),{t:f}=J();let m=M(null);const h=I(()=>!s.totalExpenses&&!k.value),w=I({get:()=>s.selectedExpenses,set:n=>s.selectExpense(n)}),B=I({get:()=>s.selectAllField,set:n=>s.setSelectAllState(n)}),V=I(()=>[{key:"status",thClass:"extra w-10",tdClass:"font-medium text-gray-900",placeholderClass:"w-10",sortable:!1},{key:"expense_date",label:"Date",thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"name",label:"Category",thClass:"extra",tdClass:"cursor-pointer font-medium text-primary-500"},{key:"user_name",label:"Customer"},{key:"notes",label:"Note"},{key:"amount",label:"Amount"},{key:"actions",sortable:!1,tdClass:"text-right text-sm font-medium"}]);De(i,()=>{te()},{debounce:500}),$e(()=>{s.selectAllField&&s.selectAllExpenses()}),Ie(()=>{C.fetchCategories({limit:"all"})});async function P(n){return(await C.fetchCategories({search:n})).data.data}async function j({page:n,filter:r,sort:S}){let N=q(G({},i),{orderByField:S.fieldName||"created_at",orderBy:S.order||"desc",page:n});k.value=!0;let p=await s.fetchExpenses(N);return k.value=!1,{data:p.data.data,pagination:{data:p.data.data,totalPages:p.data.meta.last_page,currentPage:n,totalCount:p.data.meta.total,limit:10}}}function L(){m.value&&m.value.refresh()}function te(){L()}function z(){i.expense_category_id="",i.from_date="",i.to_date="",i.customer_id=""}function ae(){y.value&&z(),y.value=!y.value}function le(){return E.hasAbilities([x.DELETE_EXPENSE,x.EDIT_EXPENSE])}function se(){c.openDialog({title:f("general.are_you_sure"),message:f("expenses.confirm_delete",2),yesLabel:f("general.ok"),noLabel:f("general.cancel"),variant:"danger",size:"lg",hideNoButton:!1}).then(n=>{n&&s.deleteMultipleExpenses().then(r=>{r.data&&L()})})}return(n,r)=>{const S=o("BaseBreadcrumbItem"),N=o("BaseBreadcrumb"),p=o("BaseIcon"),F=o("BaseButton"),ne=o("BasePageHeader"),oe=o("BaseCustomerSelectInput"),$=o("BaseInputGroup"),re=o("BaseMultiselect"),R=o("BaseDatePicker"),ie=o("BaseFilterWrapper"),de=o("BaseEmptyPlaceholder"),ce=o("BaseDropdownItem"),ue=o("BaseDropdown"),H=o("BaseCheckbox"),me=o("router-link"),pe=o("BaseFormatMoney"),_e=o("BaseText"),fe=o("BaseTable"),he=o("BasePage");return u(),_(he,null,{default:t(()=>[l(ne,{title:n.$t("expenses.title")},{actions:t(()=>[U(l(F,{variant:"primary-outline",onClick:ae},{right:t(e=>[a(y)?(u(),_(p,{key:1,name:"XIcon",class:A(e.class)},null,8,["class"])):(u(),_(p,{key:0,name:"FilterIcon",class:A(e.class)},null,8,["class"]))]),default:t(()=>[v(g(n.$t("general.filter"))+" ",1)]),_:1},512),[[X,a(s).totalExpenses]]),a(E).hasAbilities(a(x).CREATE_EXPENSE)?(u(),_(F,{key:0,class:"ml-4",variant:"primary",onClick:r[0]||(r[0]=e=>n.$router.push("expenses/create"))},{left:t(e=>[l(p,{name:"PlusIcon",class:A(e.class)},null,8,["class"])]),default:t(()=>[v(" "+g(n.$t("expenses.add_expense")),1)]),_:1})):D("",!0)]),default:t(()=>[l(N,null,{default:t(()=>[l(S,{title:n.$t("general.home"),to:"dashboard"},null,8,["title"]),l(S,{title:n.$tc("expenses.expense",2),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),l(ie,{show:a(y),class:"mt-5",onClear:z},{default:t(()=>[l($,{label:n.$t("expenses.customer")},{default:t(()=>[l(oe,{modelValue:a(i).customer_id,"onUpdate:modelValue":r[1]||(r[1]=e=>a(i).customer_id=e),placeholder:n.$t("customers.type_or_click"),"value-prop":"id",label:"name"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),l($,{label:n.$t("expenses.category")},{default:t(()=>[l(re,{modelValue:a(i).expense_category_id,"onUpdate:modelValue":r[2]||(r[2]=e=>a(i).expense_category_id=e),"value-prop":"id",label:"name","track-by":"name","filter-results":!1,"resolve-on-load":"",delay:500,options:P,searchable:"",placeholder:n.$t("expenses.categories.select_a_category")},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),l($,{label:n.$t("expenses.from_date")},{default:t(()=>[l(R,{modelValue:a(i).from_date,"onUpdate:modelValue":r[3]||(r[3]=e=>a(i).from_date=e),"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue"])]),_:1},8,["label"]),je,l($,{label:n.$t("expenses.to_date")},{default:t(()=>[l(R,{modelValue:a(i).to_date,"onUpdate:modelValue":r[4]||(r[4]=e=>a(i).to_date=e),"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["show"]),U(l(de,{title:n.$t("expenses.no_expenses"),description:n.$t("expenses.list_of_expenses")},K({default:t(()=>[l(Xe,{class:"mt-5 mb-4"})]),_:2},[a(E).hasAbilities(a(x).CREATE_EXPENSE)?{name:"actions",fn:t(()=>[l(F,{variant:"primary-outline",onClick:r[5]||(r[5]=e=>n.$router.push("/admin/expenses/create"))},{left:t(e=>[l(p,{name:"PlusIcon",class:A(e.class)},null,8,["class"])]),default:t(()=>[v(" "+g(n.$t("expenses.add_new_expense")),1)]),_:1})])}:void 0]),1032,["title","description"]),[[X,a(h)]]),U(b("div",ze,[b("div",Re,[a(s).selectedExpenses.length&&a(E).hasAbilities(a(x).DELETE_EXPENSE)?(u(),_(ue,{key:0},{activator:t(()=>[b("span",He,[v(g(n.$t("general.actions"))+" ",1),l(p,{name:"ChevronDownIcon"})])]),default:t(()=>[a(E).hasAbilities(a(x).DELETE_EXPENSE)?(u(),_(ce,{key:0,onClick:se},{default:t(()=>[l(p,{name:"TrashIcon",class:"h-5 mr-3 text-gray-600"}),v(" "+g(n.$t("general.delete")),1)]),_:1})):D("",!0)]),_:1})):D("",!0)]),l(fe,{ref:(e,T)=>{T.tableComponent=e,Z(m)?m.value=e:m=e},data:j,columns:a(V),class:"mt-3"},K({header:t(()=>[b("div",Oe,[l(H,{modelValue:a(B),"onUpdate:modelValue":r[6]||(r[6]=e=>Z(B)?B.value=e:null),variant:"primary",onChange:a(s).selectAllExpenses},null,8,["modelValue","onChange"])])]),"cell-status":t(({row:e})=>[b("div",We,[l(H,{id:e.id,modelValue:a(w),"onUpdate:modelValue":r[7]||(r[7]=T=>Z(w)?w.value=T:null),value:e.data.id,variant:"primary"},null,8,["id","modelValue","value"])])]),"cell-name":t(({row:e})=>[l(me,{to:{path:`expenses/${e.data.id}/edit`},class:"font-medium text-primary-500"},{default:t(()=>[v(g(e.data.expense_category.name),1)]),_:2},1032,["to"])]),"cell-amount":t(({row:e})=>[l(pe,{amount:e.data.amount,currency:e.data.currency},null,8,["amount","currency"])]),"cell-user_name":t(({row:e})=>[l(_e,{text:e.data.customer?e.data.customer.name:"-",length:30},null,8,["text"])]),"cell-notes":t(({row:e})=>[b("div",Ge,[b("div",qe,g(e.data.notes?e.data.notes:"-"),1)])]),_:2},[le()?{name:"cell-actions",fn:t(({row:e})=>[l(Ze,{row:e.data,table:a(m),"load-data":L},null,8,["row","table"])])}:void 0]),1032,["columns"])],512),[[X,!a(h)]])]),_:1})}}};export{Ye as default}; diff --git a/public/build/assets/Index.db7618e6.js b/public/build/assets/Index.505bc3b9.js similarity index 90% rename from public/build/assets/Index.db7618e6.js rename to public/build/assets/Index.505bc3b9.js index c97885ad1..ebbc6cbc4 100644 --- a/public/build/assets/Index.db7618e6.js +++ b/public/build/assets/Index.505bc3b9.js @@ -1 +1 @@ -import{o as u,c as ce,R as ue,g as pe,i as $,j as _e,k as g,aS as ye,aT as Ce,r as s,s as C,w as t,b as a,Z as H,al as U,y as n,z as B,v as f,x as c,A as I,a5 as Y,t as p,a0 as T}from"./vendor.e9042f2c.js";import{_ as fe,o as he,c as ve,i as be,d as Be,e as h}from"./main.c4ed6aa9.js";import{_ as ge,a as Le}from"./SendPaymentModal.ed5be265.js";const Ve={},Ae={width:"118",height:"110",viewBox:"0 0 118 110",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Pe=ue('',2),ke=[Pe];function Me(j,i){return u(),ce("svg",Ae,ke)}var Ee=fe(Ve,[["render",Me]]);const $e={class:"relative table-container"},Ie={class:"relative flex items-center justify-end h-5"},Te={class:"flex text-sm font-medium cursor-pointer select-none text-primary-400"},Se={class:"absolute items-center left-6 top-2.5 select-none"},we={class:"relative block"},xe={setup(j){const{t:i}=pe();let v=$(!1),L=$(!0),_=$(null);const m=_e({customer:"",payment_mode:"",payment_number:""}),r=he();ve();const R=be(),V=Be(),S=g(()=>!r.paymentTotalCount&&!L.value),W=g(()=>[{key:"status",sortable:!1,thClass:"extra w-10",tdClass:"text-left text-sm font-medium extra"},{key:"payment_date",label:i("payments.date"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"payment_number",label:i("payments.payment_number")},{key:"name",label:i("payments.customer")},{key:"payment_mode",label:i("payments.payment_mode")},{key:"invoice_number",label:i("invoices.invoice_number")},{key:"amount",label:i("payments.amount")},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]),A=g({get:()=>r.selectedPayments,set:l=>r.selectPayment(l)}),P=g({get:()=>r.selectAllField,set:l=>r.setSelectAllState(l)});ye(m,()=>{X()},{debounce:500}),Ce(()=>{r.selectAllField&&r.selectAllPayments()}),r.fetchPaymentModes({limit:"all"});async function z(l){return(await r.fetchPaymentModes({search:l})).data.data}function G(){return V.hasAbilities([h.DELETE_PAYMENT,h.EDIT_PAYMENT,h.VIEW_PAYMENT,h.SEND_PAYMENT])}async function O({page:l,filter:o,sort:b}){let k={customer_id:m.customer_id,payment_method_id:m.payment_mode!==null?m.payment_mode:"",payment_number:m.payment_number,orderByField:b.fieldName||"created_at",orderBy:b.order||"desc",page:l};L.value=!0;let d=await r.fetchPayments(k);return L.value=!1,{data:d.data.data,pagination:{totalPages:d.data.meta.last_page,currentPage:l,totalCount:d.data.meta.total,limit:10}}}function w(){_.value&&_.value.refresh()}function X(){w()}function F(){m.customer_id="",m.payment_mode="",m.payment_number=""}function q(){v.value&&F(),v.value=!v.value}function J(){R.openDialog({title:i("general.are_you_sure"),message:i("payments.confirm_delete",2),yesLabel:i("general.ok"),noLabel:i("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(l=>{l&&r.deleteMultiplePayments().then(o=>{o.data.success&&w()})})}return(l,o)=>{const b=s("BaseBreadcrumbItem"),k=s("BaseBreadcrumb"),d=s("BaseIcon"),M=s("BaseButton"),K=s("BasePageHeader"),Q=s("BaseCustomerSelectInput"),E=s("BaseInputGroup"),ee=s("BaseInput"),te=s("BaseMultiselect"),ae=s("BaseFilterWrapper"),le=s("BaseEmptyPlaceholder"),ne=s("BaseDropdownItem"),se=s("BaseDropdown"),D=s("BaseCheckbox"),oe=s("router-link"),re=s("BaseText"),me=s("BaseFormatMoney"),ie=s("BaseTable"),de=s("BasePage");return u(),C(de,{class:"payments"},{default:t(()=>[a(ge),a(K,{title:l.$t("payments.title")},{actions:t(()=>[H(a(M,{variant:"primary-outline",onClick:q},{right:t(e=>[n(v)?(u(),C(d,{key:1,name:"XIcon",class:B(e.class)},null,8,["class"])):(u(),C(d,{key:0,class:B(e.class),name:"FilterIcon"},null,8,["class"]))]),default:t(()=>[f(c(l.$t("general.filter"))+" ",1)]),_:1},512),[[U,n(r).paymentTotalCount]]),n(V).hasAbilities(n(h).CREATE_PAYMENT)?(u(),C(M,{key:0,variant:"primary",class:"ml-4",onClick:o[0]||(o[0]=e=>l.$router.push("/admin/payments/create"))},{left:t(e=>[a(d,{name:"PlusIcon",class:B(e.class)},null,8,["class"])]),default:t(()=>[f(" "+c(l.$t("payments.add_payment")),1)]),_:1})):I("",!0)]),default:t(()=>[a(k,null,{default:t(()=>[a(b,{title:l.$t("general.home"),to:"dashboard"},null,8,["title"]),a(b,{title:l.$tc("payments.payment",2),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),a(ae,{show:n(v),class:"mt-3",onClear:F},{default:t(()=>[a(E,{label:l.$t("payments.customer")},{default:t(()=>[a(Q,{modelValue:n(m).customer_id,"onUpdate:modelValue":o[1]||(o[1]=e=>n(m).customer_id=e),placeholder:l.$t("customers.type_or_click"),"value-prop":"id",label:"name"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),a(E,{label:l.$t("payments.payment_number")},{default:t(()=>[a(ee,{modelValue:n(m).payment_number,"onUpdate:modelValue":o[2]||(o[2]=e=>n(m).payment_number=e)},{left:t(e=>[a(d,{name:"HashtagIcon",class:B(e.class)},null,8,["class"])]),_:1},8,["modelValue"])]),_:1},8,["label"]),a(E,{label:l.$t("payments.payment_mode")},{default:t(()=>[a(te,{modelValue:n(m).payment_mode,"onUpdate:modelValue":o[3]||(o[3]=e=>n(m).payment_mode=e),"value-prop":"id","track-by":"name","filter-results":!1,label:"name","resolve-on-load":"",delay:500,searchable:"",options:z},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["show"]),n(S)?(u(),C(le,{key:0,title:l.$t("payments.no_payments"),description:l.$t("payments.list_of_payments")},Y({default:t(()=>[a(Ee,{class:"mt-5 mb-4"})]),_:2},[n(V).hasAbilities(n(h).CREATE_PAYMENT)?{name:"actions",fn:t(()=>[a(M,{variant:"primary-outline",onClick:o[4]||(o[4]=e=>l.$router.push("/admin/payments/create"))},{left:t(e=>[a(d,{name:"PlusIcon",class:B(e.class)},null,8,["class"])]),default:t(()=>[f(" "+c(l.$t("payments.add_new_payment")),1)]),_:1})])}:void 0]),1032,["title","description"])):I("",!0),H(p("div",$e,[p("div",Ie,[n(r).selectedPayments.length?(u(),C(se,{key:0},{activator:t(()=>[p("span",Te,[f(c(l.$t("general.actions"))+" ",1),a(d,{name:"ChevronDownIcon"})])]),default:t(()=>[a(ne,{onClick:J},{default:t(()=>[a(d,{name:"TrashIcon",class:"mr-3 text-gray-600"}),f(" "+c(l.$t("general.delete")),1)]),_:1})]),_:1})):I("",!0)]),a(ie,{ref:(e,y)=>{y.tableComponent=e,T(_)?_.value=e:_=e},data:O,columns:n(W),"placeholder-count":n(r).paymentTotalCount>=20?10:5,class:"mt-3"},Y({header:t(()=>[p("div",Se,[a(D,{modelValue:n(P),"onUpdate:modelValue":o[5]||(o[5]=e=>T(P)?P.value=e:null),variant:"primary",onChange:n(r).selectAllPayments},null,8,["modelValue","onChange"])])]),"cell-status":t(({row:e})=>[p("div",we,[a(D,{id:e.id,modelValue:n(A),"onUpdate:modelValue":o[6]||(o[6]=y=>T(A)?A.value=y:null),value:e.data.id,variant:"primary"},null,8,["id","modelValue","value"])])]),"cell-payment_number":t(({row:e})=>[a(oe,{to:{path:`payments/${e.data.id}/view`},class:"font-medium text-primary-500"},{default:t(()=>[f(c(e.data.payment_number),1)]),_:2},1032,["to"])]),"cell-name":t(({row:e})=>[a(re,{text:e.data.customer.name,length:30,tag:"span"},null,8,["text"])]),"cell-payment_mode":t(({row:e})=>[p("span",null,c(e.data.payment_method?e.data.payment_method.name:"-"),1)]),"cell-invoice_number":t(({row:e})=>{var y,N,x,Z;return[p("span",null,c(((N=(y=e==null?void 0:e.data)==null?void 0:y.invoice)==null?void 0:N.invoice_number)?(Z=(x=e==null?void 0:e.data)==null?void 0:x.invoice)==null?void 0:Z.invoice_number:"-"),1)]}),"cell-amount":t(({row:e})=>[a(me,{amount:e.data.amount,currency:e.data.customer.currency},null,8,["amount","currency"])]),_:2},[G()?{name:"cell-actions",fn:t(({row:e})=>[a(Le,{row:e.data,table:n(_)},null,8,["row","table"])])}:void 0]),1032,["columns","placeholder-count"])],512),[[U,!n(S)]])]),_:1})}}};export{xe as default}; +import{o as u,c as ce,R as ue,g as pe,i as $,j as _e,k as g,aS as ye,aT as fe,r as s,s as f,w as t,b as a,Z as H,al as U,y as n,z as B,v as C,x as c,A as I,a5 as Y,t as p,a0 as T}from"./vendor.e9042f2c.js";import{_ as Ce,o as he,c as ve,i as be,d as Be,e as h}from"./main.f55cd568.js";import{_ as ge,a as Le}from"./SendPaymentModal.da770177.js";const Ve={},Ae={width:"118",height:"110",viewBox:"0 0 118 110",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Pe=ue('',2),ke=[Pe];function Me(j,i){return u(),ce("svg",Ae,ke)}var Ee=Ce(Ve,[["render",Me]]);const $e={class:"relative table-container"},Ie={class:"relative flex items-center justify-end h-5"},Te={class:"flex text-sm font-medium cursor-pointer select-none text-primary-400"},Se={class:"absolute items-center left-6 top-2.5 select-none"},we={class:"relative block"},xe={setup(j){const{t:i}=pe();let v=$(!1),L=$(!0),_=$(null);const m=_e({customer:"",payment_mode:"",payment_number:""}),r=he();ve();const R=be(),V=Be(),S=g(()=>!r.paymentTotalCount&&!L.value),W=g(()=>[{key:"status",sortable:!1,thClass:"extra w-10",tdClass:"text-left text-sm font-medium extra"},{key:"payment_date",label:i("payments.date"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"payment_number",label:i("payments.payment_number")},{key:"name",label:i("payments.customer")},{key:"payment_mode",label:i("payments.payment_mode")},{key:"invoice_number",label:i("invoices.invoice_number")},{key:"amount",label:i("payments.amount")},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]),A=g({get:()=>r.selectedPayments,set:l=>r.selectPayment(l)}),P=g({get:()=>r.selectAllField,set:l=>r.setSelectAllState(l)});ye(m,()=>{X()},{debounce:500}),fe(()=>{r.selectAllField&&r.selectAllPayments()}),r.fetchPaymentModes({limit:"all"});async function z(l){return(await r.fetchPaymentModes({search:l})).data.data}function G(){return V.hasAbilities([h.DELETE_PAYMENT,h.EDIT_PAYMENT,h.VIEW_PAYMENT,h.SEND_PAYMENT])}async function O({page:l,filter:o,sort:b}){let k={customer_id:m.customer_id,payment_method_id:m.payment_mode!==null?m.payment_mode:"",payment_number:m.payment_number,orderByField:b.fieldName||"created_at",orderBy:b.order||"desc",page:l};L.value=!0;let d=await r.fetchPayments(k);return L.value=!1,{data:d.data.data,pagination:{totalPages:d.data.meta.last_page,currentPage:l,totalCount:d.data.meta.total,limit:10}}}function w(){_.value&&_.value.refresh()}function X(){w()}function F(){m.customer_id="",m.payment_mode="",m.payment_number=""}function q(){v.value&&F(),v.value=!v.value}function J(){R.openDialog({title:i("general.are_you_sure"),message:i("payments.confirm_delete",2),yesLabel:i("general.ok"),noLabel:i("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(l=>{l&&r.deleteMultiplePayments().then(o=>{o.data.success&&w()})})}return(l,o)=>{const b=s("BaseBreadcrumbItem"),k=s("BaseBreadcrumb"),d=s("BaseIcon"),M=s("BaseButton"),K=s("BasePageHeader"),Q=s("BaseCustomerSelectInput"),E=s("BaseInputGroup"),ee=s("BaseInput"),te=s("BaseMultiselect"),ae=s("BaseFilterWrapper"),le=s("BaseEmptyPlaceholder"),ne=s("BaseDropdownItem"),se=s("BaseDropdown"),D=s("BaseCheckbox"),oe=s("router-link"),re=s("BaseText"),me=s("BaseFormatMoney"),ie=s("BaseTable"),de=s("BasePage");return u(),f(de,{class:"payments"},{default:t(()=>[a(ge),a(K,{title:l.$t("payments.title")},{actions:t(()=>[H(a(M,{variant:"primary-outline",onClick:q},{right:t(e=>[n(v)?(u(),f(d,{key:1,name:"XIcon",class:B(e.class)},null,8,["class"])):(u(),f(d,{key:0,class:B(e.class),name:"FilterIcon"},null,8,["class"]))]),default:t(()=>[C(c(l.$t("general.filter"))+" ",1)]),_:1},512),[[U,n(r).paymentTotalCount]]),n(V).hasAbilities(n(h).CREATE_PAYMENT)?(u(),f(M,{key:0,variant:"primary",class:"ml-4",onClick:o[0]||(o[0]=e=>l.$router.push("/admin/payments/create"))},{left:t(e=>[a(d,{name:"PlusIcon",class:B(e.class)},null,8,["class"])]),default:t(()=>[C(" "+c(l.$t("payments.add_payment")),1)]),_:1})):I("",!0)]),default:t(()=>[a(k,null,{default:t(()=>[a(b,{title:l.$t("general.home"),to:"dashboard"},null,8,["title"]),a(b,{title:l.$tc("payments.payment",2),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),a(ae,{show:n(v),class:"mt-3",onClear:F},{default:t(()=>[a(E,{label:l.$t("payments.customer")},{default:t(()=>[a(Q,{modelValue:n(m).customer_id,"onUpdate:modelValue":o[1]||(o[1]=e=>n(m).customer_id=e),placeholder:l.$t("customers.type_or_click"),"value-prop":"id",label:"name"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),a(E,{label:l.$t("payments.payment_number")},{default:t(()=>[a(ee,{modelValue:n(m).payment_number,"onUpdate:modelValue":o[2]||(o[2]=e=>n(m).payment_number=e)},{left:t(e=>[a(d,{name:"HashtagIcon",class:B(e.class)},null,8,["class"])]),_:1},8,["modelValue"])]),_:1},8,["label"]),a(E,{label:l.$t("payments.payment_mode")},{default:t(()=>[a(te,{modelValue:n(m).payment_mode,"onUpdate:modelValue":o[3]||(o[3]=e=>n(m).payment_mode=e),"value-prop":"id","track-by":"name","filter-results":!1,label:"name","resolve-on-load":"",delay:500,searchable:"",options:z},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["show"]),n(S)?(u(),f(le,{key:0,title:l.$t("payments.no_payments"),description:l.$t("payments.list_of_payments")},Y({default:t(()=>[a(Ee,{class:"mt-5 mb-4"})]),_:2},[n(V).hasAbilities(n(h).CREATE_PAYMENT)?{name:"actions",fn:t(()=>[a(M,{variant:"primary-outline",onClick:o[4]||(o[4]=e=>l.$router.push("/admin/payments/create"))},{left:t(e=>[a(d,{name:"PlusIcon",class:B(e.class)},null,8,["class"])]),default:t(()=>[C(" "+c(l.$t("payments.add_new_payment")),1)]),_:1})])}:void 0]),1032,["title","description"])):I("",!0),H(p("div",$e,[p("div",Ie,[n(r).selectedPayments.length?(u(),f(se,{key:0},{activator:t(()=>[p("span",Te,[C(c(l.$t("general.actions"))+" ",1),a(d,{name:"ChevronDownIcon"})])]),default:t(()=>[a(ne,{onClick:J},{default:t(()=>[a(d,{name:"TrashIcon",class:"mr-3 text-gray-600"}),C(" "+c(l.$t("general.delete")),1)]),_:1})]),_:1})):I("",!0)]),a(ie,{ref:(e,y)=>{y.tableComponent=e,T(_)?_.value=e:_=e},data:O,columns:n(W),"placeholder-count":n(r).paymentTotalCount>=20?10:5,class:"mt-3"},Y({header:t(()=>[p("div",Se,[a(D,{modelValue:n(P),"onUpdate:modelValue":o[5]||(o[5]=e=>T(P)?P.value=e:null),variant:"primary",onChange:n(r).selectAllPayments},null,8,["modelValue","onChange"])])]),"cell-status":t(({row:e})=>[p("div",we,[a(D,{id:e.id,modelValue:n(A),"onUpdate:modelValue":o[6]||(o[6]=y=>T(A)?A.value=y:null),value:e.data.id,variant:"primary"},null,8,["id","modelValue","value"])])]),"cell-payment_number":t(({row:e})=>[a(oe,{to:{path:`payments/${e.data.id}/view`},class:"font-medium text-primary-500"},{default:t(()=>[C(c(e.data.payment_number),1)]),_:2},1032,["to"])]),"cell-name":t(({row:e})=>[a(re,{text:e.data.customer.name,length:30,tag:"span"},null,8,["text"])]),"cell-payment_mode":t(({row:e})=>[p("span",null,c(e.data.payment_method?e.data.payment_method.name:"-"),1)]),"cell-invoice_number":t(({row:e})=>{var y,N,x,Z;return[p("span",null,c(((N=(y=e==null?void 0:e.data)==null?void 0:y.invoice)==null?void 0:N.invoice_number)?(Z=(x=e==null?void 0:e.data)==null?void 0:x.invoice)==null?void 0:Z.invoice_number:"-"),1)]}),"cell-amount":t(({row:e})=>[a(me,{amount:e.data.amount,currency:e.data.customer.currency},null,8,["amount","currency"])]),_:2},[G()?{name:"cell-actions",fn:t(({row:e})=>[a(Le,{row:e.data,table:n(_)},null,8,["row","table"])])}:void 0]),1032,["columns","placeholder-count"])],512),[[U,!n(S)]])]),_:1})}}};export{xe as default}; diff --git a/public/build/assets/Index.78b2f5ff.js b/public/build/assets/Index.591593fe.js similarity index 98% rename from public/build/assets/Index.78b2f5ff.js rename to public/build/assets/Index.591593fe.js index a81ed5acb..6355d26e4 100644 --- a/public/build/assets/Index.78b2f5ff.js +++ b/public/build/assets/Index.591593fe.js @@ -1 +1 @@ -import{g as R,u as oe,C as G,am as re,r as o,o as p,s as f,w as t,y as n,b as a,v as g,x as d,i as b,j as ue,k as D,D as ie,M as ce,aT as de,t as B,Z as T,al as z,z as V,A as E,a5 as me,a0 as H}from"./vendor.e9042f2c.js";import{i as O,u as W,d as X,A as Z}from"./main.c4ed6aa9.js";import{A as pe}from"./AstronautIcon.525a3bea.js";const fe={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(U){const C=U,u=O();W();const{t:_}=R();X();const y=oe();G();const k=Z();re("utils");function m(i){u.openDialog({title:_("general.are_you_sure"),message:_("users.confirm_delete",1),yesLabel:_("general.ok"),noLabel:_("general.cancel"),variant:"danger",size:"lg",hideNoButton:!1}).then(l=>{l&&k.deleteUser({ids:[i]}).then(h=>{h&&C.loadData&&C.loadData()})})}return(i,l)=>{const h=o("BaseIcon"),$=o("BaseButton"),v=o("BaseDropdownItem"),w=o("router-link"),x=o("BaseDropdown");return p(),f(x,null,{activator:t(()=>[n(y).name==="users.view"?(p(),f($,{key:0,variant:"primary"},{default:t(()=>[a(h,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(p(),f(h,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:t(()=>[a(w,{to:`/admin/users/${U.row.id}/edit`},{default:t(()=>[a(v,null,{default:t(()=>[a(h,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),g(" "+d(i.$t("general.edit")),1)]),_:1})]),_:1},8,["to"]),a(v,{onClick:l[0]||(l[0]=S=>m(U.row.id))},{default:t(()=>[a(h,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),g(" "+d(i.$t("general.delete")),1)]),_:1})]),_:1})}}},_e={class:"flex items-center justify-end space-x-5"},he={class:"relative table-container"},ge={class:"relative flex items-center justify-end h-5 border-gray-200 border-solid"},Be={class:"flex text-sm font-medium cursor-pointer select-none text-primary-400"},ye={class:"absolute z-10 items-center left-6 top-2.5 select-none"},ve={class:"custom-control custom-checkbox"},Ie={setup(U){W();const C=O(),u=Z(),_=X();G();let y=b(!1),k=b(!0);b(null),b("created_at"),b(!1);const{t:m}=R();let i=b(null),l=ue({name:"",email:"",phone:""});const h=D(()=>[{key:"status",thClass:"extra",tdClass:"font-medium text-gray-900",sortable:!1},{key:"name",label:m("users.name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"email",label:"Email"},{key:"phone",label:m("users.phone")},{key:"created_at",label:m("users.added_on")},{key:"actions",tdClass:"text-right text-sm font-medium",sortable:!1}]),$=D(()=>!u.totalUsers&&!k.value),v=D({get:()=>u.selectedUsers,set:s=>u.selectUser(s)}),w=D({get:()=>u.selectAllField,set:s=>u.setSelectAllState(s)});ie(l,()=>{x()},{deep:!0}),ce(()=>{u.fetchUsers(),u.fetchRoles()}),de(()=>{u.selectAllField&&u.selectAllUsers()});function x(){S()}function S(){i.value&&i.value.refresh()}async function q({page:s,filter:r,sort:I}){let F={display_name:l.name!==null?l.name:"",phone:l.phone!==null?l.phone:"",email:l.email!==null?l.email:"",orderByField:I.fieldName||"created_at",orderBy:I.order||"desc",page:s};k.value=!0;let c=await u.fetchUsers(F);return k.value=!1,{data:c.data.data,pagination:{totalPages:c.data.meta.last_page,currentPage:s,totalCount:c.data.meta.total,limit:10}}}function L(){l.name="",l.email="",l.phone=null}function J(){y.value&&L(),y.value=!y.value}function K(){C.openDialog({title:m("general.are_you_sure"),message:m("users.confirm_delete",2),yesLabel:m("general.ok"),noLabel:m("general.cancel"),variant:"danger",size:"lg",hideNoButton:!1}).then(s=>{s&&u.deleteMultipleUsers().then(r=>{r.data.success&&i.value&&i.value.refresh()})})}return(s,r)=>{const I=o("BaseBreadcrumbItem"),F=o("BaseBreadcrumb"),c=o("BaseIcon"),A=o("BaseButton"),Q=o("BasePageHeader"),P=o("BaseInput"),j=o("BaseInputGroup"),Y=o("BaseFilterWrapper"),ee=o("BaseEmptyPlaceholder"),te=o("BaseDropdownItem"),ae=o("BaseDropdown"),M=o("BaseCheckbox"),se=o("router-link"),le=o("BaseTable"),ne=o("BasePage");return p(),f(ne,null,{default:t(()=>[a(Q,{title:s.$t("users.title")},{actions:t(()=>[B("div",_e,[T(a(A,{variant:"primary-outline",onClick:J},{right:t(e=>[n(y)?(p(),f(c,{key:1,name:"XIcon",class:V(e.class)},null,8,["class"])):(p(),f(c,{key:0,name:"FilterIcon",class:V(e.class)},null,8,["class"]))]),default:t(()=>[g(d(s.$t("general.filter"))+" ",1)]),_:1},512),[[z,n(u).totalUsers]]),n(_).currentUser.is_owner?(p(),f(A,{key:0,onClick:r[0]||(r[0]=e=>s.$router.push("users/create"))},{left:t(e=>[a(c,{name:"PlusIcon",class:V(e.class),"aria-hidden":"true"},null,8,["class"])]),default:t(()=>[g(" "+d(s.$t("users.add_user")),1)]),_:1})):E("",!0)])]),default:t(()=>[a(F,null,{default:t(()=>[a(I,{title:s.$t("general.home"),to:"dashboard"},null,8,["title"]),a(I,{title:s.$tc("users.title",2),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),a(Y,{show:n(y),class:"mt-3",onClear:L},{default:t(()=>[a(j,{label:s.$tc("users.name"),class:"flex-1 mt-2 mr-4"},{default:t(()=>[a(P,{modelValue:n(l).name,"onUpdate:modelValue":r[1]||(r[1]=e=>n(l).name=e),type:"text",name:"name",autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label"]),a(j,{label:s.$tc("users.email"),class:"flex-1 mt-2 mr-4"},{default:t(()=>[a(P,{modelValue:n(l).email,"onUpdate:modelValue":r[2]||(r[2]=e=>n(l).email=e),type:"text",name:"email",autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label"]),a(j,{class:"flex-1 mt-2",label:s.$tc("users.phone")},{default:t(()=>[a(P,{modelValue:n(l).phone,"onUpdate:modelValue":r[3]||(r[3]=e=>n(l).phone=e),type:"text",name:"phone",autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["show"]),T(a(ee,{title:s.$t("users.no_users"),description:s.$t("users.list_of_users")},{actions:t(()=>[n(_).currentUser.is_owner?(p(),f(A,{key:0,variant:"primary-outline",onClick:r[4]||(r[4]=e=>s.$router.push("/admin/users/create"))},{left:t(e=>[a(c,{name:"PlusIcon",class:V(e.class)},null,8,["class"])]),default:t(()=>[g(" "+d(s.$t("users.add_user")),1)]),_:1})):E("",!0)]),default:t(()=>[a(pe,{class:"mt-5 mb-4"})]),_:1},8,["title","description"]),[[z,n($)]]),T(B("div",he,[B("div",ge,[n(u).selectedUsers.length?(p(),f(ae,{key:0},{activator:t(()=>[B("span",Be,[g(d(s.$t("general.actions"))+" ",1),a(c,{name:"ChevronDownIcon",class:"h-5"})])]),default:t(()=>[a(te,{onClick:K},{default:t(()=>[a(c,{name:"TrashIcon",class:"h-5 mr-3 text-gray-600"}),g(" "+d(s.$t("general.delete")),1)]),_:1})]),_:1})):E("",!0)]),a(le,{ref:(e,N)=>{N.table=e,H(i)?i.value=e:i=e},data:q,columns:n(h),class:"mt-3"},me({header:t(()=>[B("div",ye,[a(M,{modelValue:n(w),"onUpdate:modelValue":r[5]||(r[5]=e=>H(w)?w.value=e:null),variant:"primary",onChange:n(u).selectAllUsers},null,8,["modelValue","onChange"])])]),"cell-status":t(({row:e})=>[B("div",ve,[a(M,{id:e.data.id,modelValue:n(v),"onUpdate:modelValue":r[6]||(r[6]=N=>H(v)?v.value=N:null),value:e.data.id,variant:"primary"},null,8,["id","modelValue","value"])])]),"cell-name":t(({row:e})=>[a(se,{to:{path:`users/${e.data.id}/edit`},class:"font-medium text-primary-500"},{default:t(()=>[g(d(e.data.name),1)]),_:2},1032,["to"])]),"cell-phone":t(({row:e})=>[B("span",null,d(e.data.phone?e.data.phone:"-"),1)]),"cell-created_at":t(({row:e})=>[B("span",null,d(e.data.formatted_created_at),1)]),_:2},[n(_).currentUser.is_owner?{name:"cell-actions",fn:t(({row:e})=>[a(fe,{row:e.data,table:n(i),"load-data":S},null,8,["row","table"])])}:void 0]),1032,["columns"])],512),[[z,!n($)]])]),_:1})}}};export{Ie as default}; +import{g as R,u as oe,C as G,am as re,r as o,o as p,s as f,w as t,y as n,b as a,v as g,x as d,i as b,j as ue,k as D,D as ie,M as ce,aT as de,t as B,Z as T,al as z,z as V,A as E,a5 as me,a0 as H}from"./vendor.e9042f2c.js";import{i as O,u as W,d as X,A as Z}from"./main.f55cd568.js";import{A as pe}from"./AstronautIcon.52e0dffc.js";const fe={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(U){const C=U,u=O();W();const{t:_}=R();X();const y=oe();G();const k=Z();re("utils");function m(i){u.openDialog({title:_("general.are_you_sure"),message:_("users.confirm_delete",1),yesLabel:_("general.ok"),noLabel:_("general.cancel"),variant:"danger",size:"lg",hideNoButton:!1}).then(l=>{l&&k.deleteUser({ids:[i]}).then(h=>{h&&C.loadData&&C.loadData()})})}return(i,l)=>{const h=o("BaseIcon"),$=o("BaseButton"),v=o("BaseDropdownItem"),w=o("router-link"),x=o("BaseDropdown");return p(),f(x,null,{activator:t(()=>[n(y).name==="users.view"?(p(),f($,{key:0,variant:"primary"},{default:t(()=>[a(h,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(p(),f(h,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:t(()=>[a(w,{to:`/admin/users/${U.row.id}/edit`},{default:t(()=>[a(v,null,{default:t(()=>[a(h,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),g(" "+d(i.$t("general.edit")),1)]),_:1})]),_:1},8,["to"]),a(v,{onClick:l[0]||(l[0]=S=>m(U.row.id))},{default:t(()=>[a(h,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),g(" "+d(i.$t("general.delete")),1)]),_:1})]),_:1})}}},_e={class:"flex items-center justify-end space-x-5"},he={class:"relative table-container"},ge={class:"relative flex items-center justify-end h-5 border-gray-200 border-solid"},Be={class:"flex text-sm font-medium cursor-pointer select-none text-primary-400"},ye={class:"absolute z-10 items-center left-6 top-2.5 select-none"},ve={class:"custom-control custom-checkbox"},Ie={setup(U){W();const C=O(),u=Z(),_=X();G();let y=b(!1),k=b(!0);b(null),b("created_at"),b(!1);const{t:m}=R();let i=b(null),l=ue({name:"",email:"",phone:""});const h=D(()=>[{key:"status",thClass:"extra",tdClass:"font-medium text-gray-900",sortable:!1},{key:"name",label:m("users.name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"email",label:"Email"},{key:"phone",label:m("users.phone")},{key:"created_at",label:m("users.added_on")},{key:"actions",tdClass:"text-right text-sm font-medium",sortable:!1}]),$=D(()=>!u.totalUsers&&!k.value),v=D({get:()=>u.selectedUsers,set:s=>u.selectUser(s)}),w=D({get:()=>u.selectAllField,set:s=>u.setSelectAllState(s)});ie(l,()=>{x()},{deep:!0}),ce(()=>{u.fetchUsers(),u.fetchRoles()}),de(()=>{u.selectAllField&&u.selectAllUsers()});function x(){S()}function S(){i.value&&i.value.refresh()}async function q({page:s,filter:r,sort:I}){let F={display_name:l.name!==null?l.name:"",phone:l.phone!==null?l.phone:"",email:l.email!==null?l.email:"",orderByField:I.fieldName||"created_at",orderBy:I.order||"desc",page:s};k.value=!0;let c=await u.fetchUsers(F);return k.value=!1,{data:c.data.data,pagination:{totalPages:c.data.meta.last_page,currentPage:s,totalCount:c.data.meta.total,limit:10}}}function L(){l.name="",l.email="",l.phone=null}function J(){y.value&&L(),y.value=!y.value}function K(){C.openDialog({title:m("general.are_you_sure"),message:m("users.confirm_delete",2),yesLabel:m("general.ok"),noLabel:m("general.cancel"),variant:"danger",size:"lg",hideNoButton:!1}).then(s=>{s&&u.deleteMultipleUsers().then(r=>{r.data.success&&i.value&&i.value.refresh()})})}return(s,r)=>{const I=o("BaseBreadcrumbItem"),F=o("BaseBreadcrumb"),c=o("BaseIcon"),A=o("BaseButton"),Q=o("BasePageHeader"),P=o("BaseInput"),j=o("BaseInputGroup"),Y=o("BaseFilterWrapper"),ee=o("BaseEmptyPlaceholder"),te=o("BaseDropdownItem"),ae=o("BaseDropdown"),M=o("BaseCheckbox"),se=o("router-link"),le=o("BaseTable"),ne=o("BasePage");return p(),f(ne,null,{default:t(()=>[a(Q,{title:s.$t("users.title")},{actions:t(()=>[B("div",_e,[T(a(A,{variant:"primary-outline",onClick:J},{right:t(e=>[n(y)?(p(),f(c,{key:1,name:"XIcon",class:V(e.class)},null,8,["class"])):(p(),f(c,{key:0,name:"FilterIcon",class:V(e.class)},null,8,["class"]))]),default:t(()=>[g(d(s.$t("general.filter"))+" ",1)]),_:1},512),[[z,n(u).totalUsers]]),n(_).currentUser.is_owner?(p(),f(A,{key:0,onClick:r[0]||(r[0]=e=>s.$router.push("users/create"))},{left:t(e=>[a(c,{name:"PlusIcon",class:V(e.class),"aria-hidden":"true"},null,8,["class"])]),default:t(()=>[g(" "+d(s.$t("users.add_user")),1)]),_:1})):E("",!0)])]),default:t(()=>[a(F,null,{default:t(()=>[a(I,{title:s.$t("general.home"),to:"dashboard"},null,8,["title"]),a(I,{title:s.$tc("users.title",2),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),a(Y,{show:n(y),class:"mt-3",onClear:L},{default:t(()=>[a(j,{label:s.$tc("users.name"),class:"flex-1 mt-2 mr-4"},{default:t(()=>[a(P,{modelValue:n(l).name,"onUpdate:modelValue":r[1]||(r[1]=e=>n(l).name=e),type:"text",name:"name",autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label"]),a(j,{label:s.$tc("users.email"),class:"flex-1 mt-2 mr-4"},{default:t(()=>[a(P,{modelValue:n(l).email,"onUpdate:modelValue":r[2]||(r[2]=e=>n(l).email=e),type:"text",name:"email",autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label"]),a(j,{class:"flex-1 mt-2",label:s.$tc("users.phone")},{default:t(()=>[a(P,{modelValue:n(l).phone,"onUpdate:modelValue":r[3]||(r[3]=e=>n(l).phone=e),type:"text",name:"phone",autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["show"]),T(a(ee,{title:s.$t("users.no_users"),description:s.$t("users.list_of_users")},{actions:t(()=>[n(_).currentUser.is_owner?(p(),f(A,{key:0,variant:"primary-outline",onClick:r[4]||(r[4]=e=>s.$router.push("/admin/users/create"))},{left:t(e=>[a(c,{name:"PlusIcon",class:V(e.class)},null,8,["class"])]),default:t(()=>[g(" "+d(s.$t("users.add_user")),1)]),_:1})):E("",!0)]),default:t(()=>[a(pe,{class:"mt-5 mb-4"})]),_:1},8,["title","description"]),[[z,n($)]]),T(B("div",he,[B("div",ge,[n(u).selectedUsers.length?(p(),f(ae,{key:0},{activator:t(()=>[B("span",Be,[g(d(s.$t("general.actions"))+" ",1),a(c,{name:"ChevronDownIcon",class:"h-5"})])]),default:t(()=>[a(te,{onClick:K},{default:t(()=>[a(c,{name:"TrashIcon",class:"h-5 mr-3 text-gray-600"}),g(" "+d(s.$t("general.delete")),1)]),_:1})]),_:1})):E("",!0)]),a(le,{ref:(e,N)=>{N.table=e,H(i)?i.value=e:i=e},data:q,columns:n(h),class:"mt-3"},me({header:t(()=>[B("div",ye,[a(M,{modelValue:n(w),"onUpdate:modelValue":r[5]||(r[5]=e=>H(w)?w.value=e:null),variant:"primary",onChange:n(u).selectAllUsers},null,8,["modelValue","onChange"])])]),"cell-status":t(({row:e})=>[B("div",ve,[a(M,{id:e.data.id,modelValue:n(v),"onUpdate:modelValue":r[6]||(r[6]=N=>H(v)?v.value=N:null),value:e.data.id,variant:"primary"},null,8,["id","modelValue","value"])])]),"cell-name":t(({row:e})=>[a(se,{to:{path:`users/${e.data.id}/edit`},class:"font-medium text-primary-500"},{default:t(()=>[g(d(e.data.name),1)]),_:2},1032,["to"])]),"cell-phone":t(({row:e})=>[B("span",null,d(e.data.phone?e.data.phone:"-"),1)]),"cell-created_at":t(({row:e})=>[B("span",null,d(e.data.formatted_created_at),1)]),_:2},[n(_).currentUser.is_owner?{name:"cell-actions",fn:t(({row:e})=>[a(fe,{row:e.data,table:n(i),"load-data":S},null,8,["row","table"])])}:void 0]),1032,["columns"])],512),[[z,!n($)]])]),_:1})}}};export{Ie as default}; diff --git a/public/build/assets/Index.3aaaec9d.js b/public/build/assets/Index.6ad728c1.js similarity index 97% rename from public/build/assets/Index.3aaaec9d.js rename to public/build/assets/Index.6ad728c1.js index 2b6fedab7..546bd50fd 100644 --- a/public/build/assets/Index.3aaaec9d.js +++ b/public/build/assets/Index.6ad728c1.js @@ -1 +1 @@ -import{i as b,g as fe,C as pe,j as ge,k,aS as be,aT as Ie,r,o as I,s as B,w as s,b as a,Z as R,al as V,y as o,z as $,v as m,x as _,A as j,a5 as q,t as p,a0 as Be}from"./vendor.e9042f2c.js";import{B as he,k as ye,i as Ce,u as ke,d as Re,e as h}from"./main.c4ed6aa9.js";import{_ as Ve}from"./SendInvoiceModal.f1dd071b.js";import{_ as $e}from"./RecurringInvoiceIndexDropdown.9bd7780c.js";import{M as Ee}from"./MoonwalkerIcon.33f1b046.js";const Ae=p("div",{class:"hidden w-8 h-0 mx-4 border border-gray-400 border-solid xl:block",style:{"margin-top":"1.5rem"}},null,-1),Se={class:"relative table-container"},Te={class:"relative flex items-center justify-between h-10 mt-5 list-none border-b-2 border-gray-200 border-solid"},Ne={class:"flex text-sm font-medium cursor-pointer select-none text-primary-400"},we={class:"absolute items-center left-6 top-2.5 select-none"},xe={class:"relative block"},Pe={setup(De){const c=he();ye();const H=Ce(),D=ke(),E=Re(),y=b(null),{t:i}=fe(),g=b(!1),F=b(["ACTIVE","ON_HOLD","ALL"]),A=b(!0),v=b("recurring-invoices.all");pe();let l=ge({customer_id:"",status:"ACTIVE",starts_at:"",to_date:""});const L=k(()=>!c.totalRecurringInvoices&&!A.value),S=k({get:()=>c.selectedRecurringInvoices,set:e=>c.selectRecurringInvoice(e)}),W=k(()=>[{key:"checkbox",thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"starts_at",label:i("recurring_invoices.starts_at"),thClass:"extra",tdClass:"font-medium"},{key:"customer",label:i("invoices.customer")},{key:"frequency",label:i("recurring_invoices.frequency.title")},{key:"status",label:i("invoices.status")},{key:"total",label:i("invoices.total")},{key:"actions",label:i("recurring_invoices.action"),tdClass:"text-right text-sm font-medium",thClass:"text-right",sortable:!1}]);be(l,()=>{Q()},{debounce:500}),Ie(()=>{c.selectAllField&&c.selectAllRecurringInvoices()});const z=k(()=>F.value.findIndex(e=>e===l.status));function X(){return E.hasAbilities([h.DELETE_RECURRING_INVOICE,h.EDIT_RECURRING_INVOICE,h.VIEW_RECURRING_INVOICE])}function Z(e){const n=c.frequencies.find(u=>u.value===e);return n?n.label:`CUSTOM: ${e}`}function T(){y.value&&y.value.refresh()}async function J({page:e,filter:n,sort:u}){let f={customer_id:l.customer_id,status:l.status,from_date:l.from_date,to_date:l.to_date,orderByField:u.fieldName||"created_at",orderBy:u.order||"desc",page:e};A.value=!0;let d=await c.fetchRecurringInvoices(f);return A.value=!1,{data:d.data.data,pagination:{totalPages:d.data.meta.last_page,currentPage:e,totalCount:d.data.meta.total,limit:10}}}function K(e){if(v.value==e.title)return!0;switch(v.value=e.title,e.title){case i("recurring_invoices.active"):l.status="ACTIVE";break;case i("recurring_invoices.on_hold"):l.status="ON_HOLD";break;case i("recurring_invoices.all"):l.status="ALL";break}}function Q(){c.$patch(e=>{e.selectedRecurringInvoices=[],e.selectAllField=!1}),T()}function O(){l.customer="",l.status="",l.from_date="",l.to_date="",l.invoice_number="",v.value=i("general.all")}async function Y(e=null){H.openDialog({title:i("general.are_you_sure"),message:i("invoices.confirm_delete"),yesLabel:i("general.ok"),noLabel:i("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async n=>{n&&await c.deleteMultipleRecurringInvoices(e).then(u=>{u.data.success?(T(),c.$patch(f=>{f.selectedRecurringInvoices=[],f.selectAllField=!1}),D.showNotification({type:"success",message:i("recurring_invoices.deleted_message",2)})):u.data.error&&D.showNotification({type:"error",message:u.data.message})})})}function ee(){g.value&&O(),g.value=!g.value}async function te(e,n){l.status="",T()}function ae(e){switch(e){case"ACTIVE":v.value=i("recurring_invoices.active");break;case"ON_HOLD":v.value=i("recurring_invoices.on_hold");break;case"ALL":v.value=i("recurring_invoices.all");break}}return(e,n)=>{const u=r("BaseBreadcrumbItem"),f=r("BaseBreadcrumb"),d=r("BaseIcon"),N=r("BaseButton"),U=r("router-link"),se=r("BasePageHeader"),ne=r("BaseCustomerSelectInput"),C=r("BaseInputGroup"),le=r("BaseMultiselect"),M=r("BaseDatePicker"),oe=r("BaseFilterWrapper"),re=r("BaseEmptyPlaceholder"),w=r("BaseTab"),ie=r("BaseTabGroup"),ce=r("BaseDropdownItem"),ue=r("BaseDropdown"),P=r("BaseCheckbox"),G=r("BaseText"),de=r("BaseRecurringInvoiceStatusBadge"),me=r("BaseFormatMoney"),_e=r("BaseTable"),ve=r("BasePage");return I(),B(ve,null,{default:s(()=>[a(Ve),a(se,{title:e.$t("recurring_invoices.title")},{actions:s(()=>[R(a(N,{variant:"primary-outline",onClick:ee},{right:s(t=>[g.value?(I(),B(d,{key:1,name:"XIcon",class:$(t.class)},null,8,["class"])):(I(),B(d,{key:0,name:"FilterIcon",class:$(t.class)},null,8,["class"]))]),default:s(()=>[m(_(e.$t("general.filter"))+" ",1)]),_:1},512),[[V,o(c).totalRecurringInvoices]]),o(E).hasAbilities(o(h).CREATE_RECURRING_INVOICE)?(I(),B(U,{key:0,to:"recurring-invoices/create"},{default:s(()=>[a(N,{variant:"primary",class:"ml-4"},{left:s(t=>[a(d,{name:"PlusIcon",class:$(t.class)},null,8,["class"])]),default:s(()=>[m(" "+_(e.$t("recurring_invoices.new_invoice")),1)]),_:1})]),_:1})):j("",!0)]),default:s(()=>[a(f,null,{default:s(()=>[a(u,{title:e.$t("general.home"),to:"dashboard"},null,8,["title"]),a(u,{title:e.$tc("recurring_invoices.invoice",2),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),R(a(oe,{onClear:O},{default:s(()=>[a(C,{label:e.$tc("customers.customer",1)},{default:s(()=>[a(ne,{modelValue:o(l).customer_id,"onUpdate:modelValue":n[0]||(n[0]=t=>o(l).customer_id=t),placeholder:e.$t("customers.type_or_click"),"value-prop":"id",label:"name"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),a(C,{label:e.$t("recurring_invoices.status")},{default:s(()=>[a(le,{modelValue:o(l).status,"onUpdate:modelValue":[n[1]||(n[1]=t=>o(l).status=t),ae],options:F.value,searchable:"",placeholder:e.$t("general.select_a_status"),onRemove:n[2]||(n[2]=t=>te())},null,8,["modelValue","options","placeholder"])]),_:1},8,["label"]),a(C,{label:e.$t("general.from")},{default:s(()=>[a(M,{modelValue:o(l).from_date,"onUpdate:modelValue":n[3]||(n[3]=t=>o(l).from_date=t),"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue"])]),_:1},8,["label"]),Ae,a(C,{label:e.$t("general.to")},{default:s(()=>[a(M,{modelValue:o(l).to_date,"onUpdate:modelValue":n[4]||(n[4]=t=>o(l).to_date=t),"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},512),[[V,g.value]]),R(a(re,{title:e.$t("recurring_invoices.no_invoices"),description:e.$t("recurring_invoices.list_of_invoices")},q({default:s(()=>[a(Ee,{class:"mt-5 mb-4"})]),_:2},[o(E).hasAbilities(o(h).CREATE_RECURRING_INVOICE)?{name:"actions",fn:s(()=>[a(N,{variant:"primary-outline",onClick:n[5]||(n[5]=t=>e.$router.push("/admin/recurring-invoices/create"))},{left:s(t=>[a(d,{name:"PlusIcon",class:$(t.class)},null,8,["class"])]),default:s(()=>[m(" "+_(e.$t("recurring_invoices.add_new_invoice")),1)]),_:1})])}:void 0]),1032,["title","description"]),[[V,o(L)]]),R(p("div",Se,[p("div",Te,[a(ie,{class:"-mb-5","default-index":o(z),onChange:K},{default:s(()=>[a(w,{title:e.$t("recurring_invoices.active"),filter:"ACTIVE"},null,8,["title"]),a(w,{title:e.$t("recurring_invoices.on_hold"),filter:"ON_HOLD"},null,8,["title"]),a(w,{title:e.$t("recurring_invoices.all"),filter:"ALL"},null,8,["title"])]),_:1},8,["default-index"]),o(c).selectedRecurringInvoices.length?(I(),B(ue,{key:0,class:"absolute float-right"},{activator:s(()=>[p("span",Ne,[m(_(e.$t("general.actions"))+" ",1),a(d,{name:"ChevronDownIcon",class:"h-5"})])]),default:s(()=>[a(ce,{onClick:n[6]||(n[6]=t=>Y())},{default:s(()=>[a(d,{name:"TrashIcon",class:"mr-3 text-gray-600"}),m(" "+_(e.$t("general.delete")),1)]),_:1})]),_:1})):j("",!0)]),a(_e,{ref:(t,x)=>{x.table=t,y.value=t},data:J,columns:o(W),"placeholder-count":o(c).totalRecurringInvoices>=20?10:5,class:"mt-10"},q({header:s(()=>[p("div",we,[a(P,{modelValue:o(c).selectAllField,"onUpdate:modelValue":n[7]||(n[7]=t=>o(c).selectAllField=t),variant:"primary",onChange:o(c).selectAllRecurringInvoices},null,8,["modelValue","onChange"])])]),"cell-checkbox":s(({row:t})=>[p("div",xe,[a(P,{id:t.id,modelValue:o(S),"onUpdate:modelValue":n[8]||(n[8]=x=>Be(S)?S.value=x:null),value:t.data.id},null,8,["id","modelValue","value"])])]),"cell-starts_at":s(({row:t})=>[m(_(t.data.formatted_starts_at),1)]),"cell-customer":s(({row:t})=>[a(U,{to:{path:`recurring-invoices/${t.data.id}/view`}},{default:s(()=>[a(G,{text:t.data.customer.name,length:30,tag:"span",class:"font-medium text-primary-500 flex flex-col"},null,8,["text"]),a(G,{text:t.data.customer.contact_name?t.data.customer.contact_name:"",length:30,tag:"span",class:"text-xs text-gray-400"},null,8,["text"])]),_:2},1032,["to"])]),"cell-frequency":s(({row:t})=>[m(_(Z(t.data.frequency)),1)]),"cell-status":s(({row:t})=>[a(de,{status:t.data.status,class:"px-3 py-1"},{default:s(()=>[m(_(t.data.status),1)]),_:2},1032,["status"])]),"cell-total":s(({row:t})=>[a(me,{amount:t.data.total,currency:t.data.customer.currency},null,8,["amount","currency"])]),_:2},[X?{name:"cell-actions",fn:s(({row:t})=>[a($e,{row:t.data,table:y.value},null,8,["row","table"])])}:void 0]),1032,["columns","placeholder-count"])],512),[[V,!o(L)]])]),_:1})}}};export{Pe as default}; +import{i as b,g as fe,C as pe,j as ge,k,aS as be,aT as Ie,r,o as I,s as B,w as s,b as a,Z as R,al as V,y as o,z as $,v as m,x as _,A as j,a5 as q,t as p,a0 as Be}from"./vendor.e9042f2c.js";import{B as he,k as ye,i as Ce,u as ke,d as Re,e as h}from"./main.f55cd568.js";import{_ as Ve}from"./SendInvoiceModal.59d8474e.js";import{_ as $e}from"./RecurringInvoiceIndexDropdown.63452d24.js";import{M as Ee}from"./MoonwalkerIcon.a8d19439.js";const Ae=p("div",{class:"hidden w-8 h-0 mx-4 border border-gray-400 border-solid xl:block",style:{"margin-top":"1.5rem"}},null,-1),Se={class:"relative table-container"},Te={class:"relative flex items-center justify-between h-10 mt-5 list-none border-b-2 border-gray-200 border-solid"},Ne={class:"flex text-sm font-medium cursor-pointer select-none text-primary-400"},we={class:"absolute items-center left-6 top-2.5 select-none"},xe={class:"relative block"},Pe={setup(De){const c=he();ye();const H=Ce(),D=ke(),E=Re(),y=b(null),{t:i}=fe(),g=b(!1),F=b(["ACTIVE","ON_HOLD","ALL"]),A=b(!0),v=b("recurring-invoices.all");pe();let l=ge({customer_id:"",status:"ACTIVE",starts_at:"",to_date:""});const L=k(()=>!c.totalRecurringInvoices&&!A.value),S=k({get:()=>c.selectedRecurringInvoices,set:e=>c.selectRecurringInvoice(e)}),W=k(()=>[{key:"checkbox",thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"starts_at",label:i("recurring_invoices.starts_at"),thClass:"extra",tdClass:"font-medium"},{key:"customer",label:i("invoices.customer")},{key:"frequency",label:i("recurring_invoices.frequency.title")},{key:"status",label:i("invoices.status")},{key:"total",label:i("invoices.total")},{key:"actions",label:i("recurring_invoices.action"),tdClass:"text-right text-sm font-medium",thClass:"text-right",sortable:!1}]);be(l,()=>{Q()},{debounce:500}),Ie(()=>{c.selectAllField&&c.selectAllRecurringInvoices()});const z=k(()=>F.value.findIndex(e=>e===l.status));function X(){return E.hasAbilities([h.DELETE_RECURRING_INVOICE,h.EDIT_RECURRING_INVOICE,h.VIEW_RECURRING_INVOICE])}function Z(e){const n=c.frequencies.find(u=>u.value===e);return n?n.label:`CUSTOM: ${e}`}function T(){y.value&&y.value.refresh()}async function J({page:e,filter:n,sort:u}){let f={customer_id:l.customer_id,status:l.status,from_date:l.from_date,to_date:l.to_date,orderByField:u.fieldName||"created_at",orderBy:u.order||"desc",page:e};A.value=!0;let d=await c.fetchRecurringInvoices(f);return A.value=!1,{data:d.data.data,pagination:{totalPages:d.data.meta.last_page,currentPage:e,totalCount:d.data.meta.total,limit:10}}}function K(e){if(v.value==e.title)return!0;switch(v.value=e.title,e.title){case i("recurring_invoices.active"):l.status="ACTIVE";break;case i("recurring_invoices.on_hold"):l.status="ON_HOLD";break;case i("recurring_invoices.all"):l.status="ALL";break}}function Q(){c.$patch(e=>{e.selectedRecurringInvoices=[],e.selectAllField=!1}),T()}function O(){l.customer="",l.status="",l.from_date="",l.to_date="",l.invoice_number="",v.value=i("general.all")}async function Y(e=null){H.openDialog({title:i("general.are_you_sure"),message:i("invoices.confirm_delete"),yesLabel:i("general.ok"),noLabel:i("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async n=>{n&&await c.deleteMultipleRecurringInvoices(e).then(u=>{u.data.success?(T(),c.$patch(f=>{f.selectedRecurringInvoices=[],f.selectAllField=!1}),D.showNotification({type:"success",message:i("recurring_invoices.deleted_message",2)})):u.data.error&&D.showNotification({type:"error",message:u.data.message})})})}function ee(){g.value&&O(),g.value=!g.value}async function te(e,n){l.status="",T()}function ae(e){switch(e){case"ACTIVE":v.value=i("recurring_invoices.active");break;case"ON_HOLD":v.value=i("recurring_invoices.on_hold");break;case"ALL":v.value=i("recurring_invoices.all");break}}return(e,n)=>{const u=r("BaseBreadcrumbItem"),f=r("BaseBreadcrumb"),d=r("BaseIcon"),N=r("BaseButton"),U=r("router-link"),se=r("BasePageHeader"),ne=r("BaseCustomerSelectInput"),C=r("BaseInputGroup"),le=r("BaseMultiselect"),M=r("BaseDatePicker"),oe=r("BaseFilterWrapper"),re=r("BaseEmptyPlaceholder"),w=r("BaseTab"),ie=r("BaseTabGroup"),ce=r("BaseDropdownItem"),ue=r("BaseDropdown"),P=r("BaseCheckbox"),G=r("BaseText"),de=r("BaseRecurringInvoiceStatusBadge"),me=r("BaseFormatMoney"),_e=r("BaseTable"),ve=r("BasePage");return I(),B(ve,null,{default:s(()=>[a(Ve),a(se,{title:e.$t("recurring_invoices.title")},{actions:s(()=>[R(a(N,{variant:"primary-outline",onClick:ee},{right:s(t=>[g.value?(I(),B(d,{key:1,name:"XIcon",class:$(t.class)},null,8,["class"])):(I(),B(d,{key:0,name:"FilterIcon",class:$(t.class)},null,8,["class"]))]),default:s(()=>[m(_(e.$t("general.filter"))+" ",1)]),_:1},512),[[V,o(c).totalRecurringInvoices]]),o(E).hasAbilities(o(h).CREATE_RECURRING_INVOICE)?(I(),B(U,{key:0,to:"recurring-invoices/create"},{default:s(()=>[a(N,{variant:"primary",class:"ml-4"},{left:s(t=>[a(d,{name:"PlusIcon",class:$(t.class)},null,8,["class"])]),default:s(()=>[m(" "+_(e.$t("recurring_invoices.new_invoice")),1)]),_:1})]),_:1})):j("",!0)]),default:s(()=>[a(f,null,{default:s(()=>[a(u,{title:e.$t("general.home"),to:"dashboard"},null,8,["title"]),a(u,{title:e.$tc("recurring_invoices.invoice",2),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),R(a(oe,{onClear:O},{default:s(()=>[a(C,{label:e.$tc("customers.customer",1)},{default:s(()=>[a(ne,{modelValue:o(l).customer_id,"onUpdate:modelValue":n[0]||(n[0]=t=>o(l).customer_id=t),placeholder:e.$t("customers.type_or_click"),"value-prop":"id",label:"name"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),a(C,{label:e.$t("recurring_invoices.status")},{default:s(()=>[a(le,{modelValue:o(l).status,"onUpdate:modelValue":[n[1]||(n[1]=t=>o(l).status=t),ae],options:F.value,searchable:"",placeholder:e.$t("general.select_a_status"),onRemove:n[2]||(n[2]=t=>te())},null,8,["modelValue","options","placeholder"])]),_:1},8,["label"]),a(C,{label:e.$t("general.from")},{default:s(()=>[a(M,{modelValue:o(l).from_date,"onUpdate:modelValue":n[3]||(n[3]=t=>o(l).from_date=t),"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue"])]),_:1},8,["label"]),Ae,a(C,{label:e.$t("general.to")},{default:s(()=>[a(M,{modelValue:o(l).to_date,"onUpdate:modelValue":n[4]||(n[4]=t=>o(l).to_date=t),"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},512),[[V,g.value]]),R(a(re,{title:e.$t("recurring_invoices.no_invoices"),description:e.$t("recurring_invoices.list_of_invoices")},q({default:s(()=>[a(Ee,{class:"mt-5 mb-4"})]),_:2},[o(E).hasAbilities(o(h).CREATE_RECURRING_INVOICE)?{name:"actions",fn:s(()=>[a(N,{variant:"primary-outline",onClick:n[5]||(n[5]=t=>e.$router.push("/admin/recurring-invoices/create"))},{left:s(t=>[a(d,{name:"PlusIcon",class:$(t.class)},null,8,["class"])]),default:s(()=>[m(" "+_(e.$t("recurring_invoices.add_new_invoice")),1)]),_:1})])}:void 0]),1032,["title","description"]),[[V,o(L)]]),R(p("div",Se,[p("div",Te,[a(ie,{class:"-mb-5","default-index":o(z),onChange:K},{default:s(()=>[a(w,{title:e.$t("recurring_invoices.active"),filter:"ACTIVE"},null,8,["title"]),a(w,{title:e.$t("recurring_invoices.on_hold"),filter:"ON_HOLD"},null,8,["title"]),a(w,{title:e.$t("recurring_invoices.all"),filter:"ALL"},null,8,["title"])]),_:1},8,["default-index"]),o(c).selectedRecurringInvoices.length?(I(),B(ue,{key:0,class:"absolute float-right"},{activator:s(()=>[p("span",Ne,[m(_(e.$t("general.actions"))+" ",1),a(d,{name:"ChevronDownIcon",class:"h-5"})])]),default:s(()=>[a(ce,{onClick:n[6]||(n[6]=t=>Y())},{default:s(()=>[a(d,{name:"TrashIcon",class:"mr-3 text-gray-600"}),m(" "+_(e.$t("general.delete")),1)]),_:1})]),_:1})):j("",!0)]),a(_e,{ref:(t,x)=>{x.table=t,y.value=t},data:J,columns:o(W),"placeholder-count":o(c).totalRecurringInvoices>=20?10:5,class:"mt-10"},q({header:s(()=>[p("div",we,[a(P,{modelValue:o(c).selectAllField,"onUpdate:modelValue":n[7]||(n[7]=t=>o(c).selectAllField=t),variant:"primary",onChange:o(c).selectAllRecurringInvoices},null,8,["modelValue","onChange"])])]),"cell-checkbox":s(({row:t})=>[p("div",xe,[a(P,{id:t.id,modelValue:o(S),"onUpdate:modelValue":n[8]||(n[8]=x=>Be(S)?S.value=x:null),value:t.data.id},null,8,["id","modelValue","value"])])]),"cell-starts_at":s(({row:t})=>[m(_(t.data.formatted_starts_at),1)]),"cell-customer":s(({row:t})=>[a(U,{to:{path:`recurring-invoices/${t.data.id}/view`}},{default:s(()=>[a(G,{text:t.data.customer.name,length:30,tag:"span",class:"font-medium text-primary-500 flex flex-col"},null,8,["text"]),a(G,{text:t.data.customer.contact_name?t.data.customer.contact_name:"",length:30,tag:"span",class:"text-xs text-gray-400"},null,8,["text"])]),_:2},1032,["to"])]),"cell-frequency":s(({row:t})=>[m(_(Z(t.data.frequency)),1)]),"cell-status":s(({row:t})=>[a(de,{status:t.data.status,class:"px-3 py-1"},{default:s(()=>[m(_(t.data.status),1)]),_:2},1032,["status"])]),"cell-total":s(({row:t})=>[a(me,{amount:t.data.total,currency:t.data.customer.currency},null,8,["amount","currency"])]),_:2},[X?{name:"cell-actions",fn:s(({row:t})=>[a($e,{row:t.data,table:y.value},null,8,["row","table"])])}:void 0]),1032,["columns","placeholder-count"])],512),[[V,!o(L)]])]),_:1})}}};export{Pe as default}; diff --git a/public/build/assets/Index.60606ef2.js b/public/build/assets/Index.93cc88be.js similarity index 99% rename from public/build/assets/Index.60606ef2.js rename to public/build/assets/Index.93cc88be.js index f948fa273..f2da88c68 100644 --- a/public/build/assets/Index.60606ef2.js +++ b/public/build/assets/Index.93cc88be.js @@ -1 +1 @@ -import{g as R,u as ue,C as me,am as H,r as s,o as d,s as u,w as t,y as a,b as l,v as h,x as f,A as k,c as pe,R as fe,i as Z,j as Ce,k as F,aS as _e,aT as he,t as v,Z as P,al as U,z as A,a5 as ve,a0 as ye}from"./vendor.e9042f2c.js";import{i as W,u as G,p as O,d as X,e as g,_ as ge,c as Be}from"./main.c4ed6aa9.js";const Le={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(B){const o=B,$=W();G();const{t:y}=R(),L=O(),m=ue();me();const _=X();H("utils");function b(i){$.openDialog({title:y("general.are_you_sure"),message:y("items.confirm_delete"),yesLabel:y("general.ok"),noLabel:y("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(c=>{c&&L.deleteItem({ids:[i]}).then(C=>(C.data.success&&o.loadData&&o.loadData(),!0))})}return(i,c)=>{const C=s("BaseIcon"),I=s("BaseButton"),M=s("BaseDropdownItem"),E=s("router-link"),D=s("BaseDropdown");return d(),u(D,null,{activator:t(()=>[a(m).name==="items.view"?(d(),u(I,{key:0,variant:"primary"},{default:t(()=>[l(C,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(d(),u(C,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:t(()=>[a(_).hasAbilities(a(g).EDIT_ITEM)?(d(),u(E,{key:0,to:`/admin/items/${B.row.id}/edit`},{default:t(()=>[l(M,null,{default:t(()=>[l(C,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),h(" "+f(i.$t("general.edit")),1)]),_:1})]),_:1},8,["to"])):k("",!0),a(_).hasAbilities(a(g).DELETE_ITEM)?(d(),u(M,{key:1,onClick:c[0]||(c[0]=N=>b(B.row.id))},{default:t(()=>[l(C,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),h(" "+f(i.$t("general.delete")),1)]),_:1})):k("",!0)]),_:1})}}},be={},Ie={width:"110",height:"110",viewBox:"0 0 110 110",fill:"none",xmlns:"http://www.w3.org/2000/svg"},we=fe('',2),ke=[we];function Me(B,o){return d(),pe("svg",Ie,ke)}var Ee=ge(be,[["render",Me]]);const Ae={class:"flex items-center justify-end space-x-5"},$e={class:"relative table-container"},De={class:"relative flex items-center justify-end h-5 border-gray-200 border-solid"},Ve={class:"flex text-sm font-medium cursor-pointer select-none text-primary-400"},xe={class:"absolute items-center left-6 top-2.5 select-none"},Se={class:"relative block"},Fe={setup(B){H("utils");const o=O(),$=Be();G();const y=W(),L=X(),{t:m}=R();let _=Z(!1),b=Z(!0);const i=Ce({name:"",unit_id:"",price:""}),c=Z(null),C=F(()=>!o.totalItems&&!b.value),I=F({get:()=>o.selectedItems,set:n=>o.selectItem(n)}),M=F(()=>[{key:"status",thClass:"extra w-10",tdClass:"font-medium text-gray-900",placeholderClass:"w-10",sortable:!1},{key:"name",label:m("items.name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"unit_name",label:m("items.unit")},{key:"price",label:m("items.price")},{key:"created_at",label:m("items.added_on")},{key:"actions",thClass:"text-right",tdClass:"text-right text-sm font-medium",sortable:!1}]);_e(i,()=>{q()},{debounce:500}),o.fetchItemUnits({limit:"all"}),he(()=>{o.selectAllField&&o.selectAllItems()});function E(){i.name="",i.unit_id="",i.price=""}function D(){return L.hasAbilities([g.DELETE_ITEM,g.EDIT_ITEM])}function N(){_.value&&E(),_.value=!_.value}function j(){c.value&&c.value.refresh()}function q(){j()}async function J(n){return(await o.fetchItemUnits({search:n})).data.data}async function K({page:n,filter:r,sort:w}){let V={search:i.name,unit_id:i.unit_id!==null?i.unit_id:"",price:Math.round(i.price*100),orderByField:w.fieldName||"created_at",orderBy:w.order||"desc",page:n};b.value=!0;let p=await o.fetchItems(V);return b.value=!1,{data:p.data.data,pagination:{totalPages:p.data.meta.last_page,currentPage:n,totalCount:p.data.meta.total,limit:10}}}function Q(){y.openDialog({title:m("general.are_you_sure"),message:m("items.confirm_delete",2),yesLabel:m("general.ok"),noLabel:m("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(n=>{n&&o.deleteMultipleItems().then(r=>{r.data.success&&c.value&&c.value.refresh()})})}return(n,r)=>{const w=s("BaseBreadcrumbItem"),V=s("BaseBreadcrumb"),p=s("BaseIcon"),x=s("BaseButton"),Y=s("BasePageHeader"),ee=s("BaseInput"),S=s("BaseInputGroup"),te=s("BaseMultiselect"),le=s("BaseMoney"),ae=s("BaseFilterWrapper"),ne=s("BaseEmptyPlaceholder"),se=s("BaseDropdownItem"),oe=s("BaseDropdown"),z=s("BaseCheckbox"),ie=s("router-link"),re=s("BaseFormatMoney"),de=s("BaseTable"),ce=s("BasePage");return d(),u(ce,null,{default:t(()=>[l(Y,{title:n.$t("items.title")},{actions:t(()=>[v("div",Ae,[P(l(x,{variant:"primary-outline",onClick:N},{right:t(e=>[a(_)?(d(),u(p,{key:1,name:"XIcon",class:A(e.class)},null,8,["class"])):(d(),u(p,{key:0,class:A(e.class),name:"FilterIcon"},null,8,["class"]))]),default:t(()=>[h(f(n.$t("general.filter"))+" ",1)]),_:1},512),[[U,a(o).totalItems]]),a(L).hasAbilities(a(g).CREATE_ITEM)?(d(),u(x,{key:0,onClick:r[0]||(r[0]=e=>n.$router.push("/admin/items/create"))},{left:t(e=>[l(p,{name:"PlusIcon",class:A(e.class)},null,8,["class"])]),default:t(()=>[h(" "+f(n.$t("items.add_item")),1)]),_:1})):k("",!0)])]),default:t(()=>[l(V,null,{default:t(()=>[l(w,{title:n.$t("general.home"),to:"dashboard"},null,8,["title"]),l(w,{title:n.$tc("items.item",2),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),l(ae,{show:a(_),class:"mt-5",onClear:E},{default:t(()=>[l(S,{label:n.$tc("items.name"),class:"text-left"},{default:t(()=>[l(ee,{modelValue:a(i).name,"onUpdate:modelValue":r[1]||(r[1]=e=>a(i).name=e),type:"text",name:"name",autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label"]),l(S,{label:n.$tc("items.unit"),class:"text-left"},{default:t(()=>[l(te,{modelValue:a(i).unit_id,"onUpdate:modelValue":r[2]||(r[2]=e=>a(i).unit_id=e),placeholder:n.$t("items.select_a_unit"),"value-prop":"id","track-by":"name","filter-results":!1,label:"name","resolve-on-load":"",delay:500,searchable:"",class:"w-full",options:J},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),l(S,{class:"text-left",label:n.$tc("items.price")},{default:t(()=>[l(le,{modelValue:a(i).price,"onUpdate:modelValue":r[3]||(r[3]=e=>a(i).price=e)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["show"]),P(l(ne,{title:n.$t("items.no_items"),description:n.$t("items.list_of_items")},{actions:t(()=>[a(L).hasAbilities(a(g).CREATE_ITEM)?(d(),u(x,{key:0,variant:"primary-outline",onClick:r[4]||(r[4]=e=>n.$router.push("/admin/items/create"))},{left:t(e=>[l(p,{name:"PlusIcon",class:A(e.class)},null,8,["class"])]),default:t(()=>[h(" "+f(n.$t("items.add_new_item")),1)]),_:1})):k("",!0)]),default:t(()=>[l(Ee,{class:"mt-5 mb-4"})]),_:1},8,["title","description"]),[[U,a(C)]]),P(v("div",$e,[v("div",De,[a(o).selectedItems.length?(d(),u(oe,{key:0},{activator:t(()=>[v("span",Ve,[h(f(n.$t("general.actions"))+" ",1),l(p,{name:"ChevronDownIcon"})])]),default:t(()=>[l(se,{onClick:Q},{default:t(()=>[l(p,{name:"TrashIcon",class:"mr-3 text-gray-600"}),h(" "+f(n.$t("general.delete")),1)]),_:1})]),_:1})):k("",!0)]),l(de,{ref:(e,T)=>{T.table=e,c.value=e},data:K,columns:a(M),"placeholder-count":a(o).totalItems>=20?10:5,class:"mt-3"},ve({header:t(()=>[v("div",xe,[l(z,{modelValue:a(o).selectAllField,"onUpdate:modelValue":r[5]||(r[5]=e=>a(o).selectAllField=e),variant:"primary",onChange:a(o).selectAllItems},null,8,["modelValue","onChange"])])]),"cell-status":t(({row:e})=>[v("div",Se,[l(z,{id:e.id,modelValue:a(I),"onUpdate:modelValue":r[6]||(r[6]=T=>ye(I)?I.value=T:null),value:e.data.id},null,8,["id","modelValue","value"])])]),"cell-name":t(({row:e})=>[l(ie,{to:{path:`items/${e.data.id}/edit`},class:"font-medium text-primary-500"},{default:t(()=>[h(f(e.data.name),1)]),_:2},1032,["to"])]),"cell-unit_name":t(({row:e})=>[v("span",null,f(e.data.unit?e.data.unit.name:"-"),1)]),"cell-price":t(({row:e})=>[l(re,{amount:e.data.price,currency:a($).selectedCompanyCurrency},null,8,["amount","currency"])]),"cell-created_at":t(({row:e})=>[v("span",null,f(e.data.formatted_created_at),1)]),_:2},[D()?{name:"cell-actions",fn:t(({row:e})=>[l(Le,{row:e.data,table:c.value,"load-data":j},null,8,["row","table"])])}:void 0]),1032,["columns","placeholder-count"])],512),[[U,!a(C)]])]),_:1})}}};export{Fe as default}; +import{g as R,u as ue,C as me,am as H,r as s,o as d,s as u,w as t,y as a,b as l,v as h,x as f,A as k,c as pe,R as fe,i as Z,j as Ce,k as F,aS as _e,aT as he,t as v,Z as P,al as U,z as A,a5 as ve,a0 as ye}from"./vendor.e9042f2c.js";import{i as W,u as G,p as O,d as X,e as g,_ as ge,c as Be}from"./main.f55cd568.js";const Le={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(B){const o=B,$=W();G();const{t:y}=R(),L=O(),m=ue();me();const _=X();H("utils");function b(i){$.openDialog({title:y("general.are_you_sure"),message:y("items.confirm_delete"),yesLabel:y("general.ok"),noLabel:y("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(c=>{c&&L.deleteItem({ids:[i]}).then(C=>(C.data.success&&o.loadData&&o.loadData(),!0))})}return(i,c)=>{const C=s("BaseIcon"),I=s("BaseButton"),M=s("BaseDropdownItem"),E=s("router-link"),D=s("BaseDropdown");return d(),u(D,null,{activator:t(()=>[a(m).name==="items.view"?(d(),u(I,{key:0,variant:"primary"},{default:t(()=>[l(C,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(d(),u(C,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:t(()=>[a(_).hasAbilities(a(g).EDIT_ITEM)?(d(),u(E,{key:0,to:`/admin/items/${B.row.id}/edit`},{default:t(()=>[l(M,null,{default:t(()=>[l(C,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),h(" "+f(i.$t("general.edit")),1)]),_:1})]),_:1},8,["to"])):k("",!0),a(_).hasAbilities(a(g).DELETE_ITEM)?(d(),u(M,{key:1,onClick:c[0]||(c[0]=N=>b(B.row.id))},{default:t(()=>[l(C,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),h(" "+f(i.$t("general.delete")),1)]),_:1})):k("",!0)]),_:1})}}},be={},Ie={width:"110",height:"110",viewBox:"0 0 110 110",fill:"none",xmlns:"http://www.w3.org/2000/svg"},we=fe('',2),ke=[we];function Me(B,o){return d(),pe("svg",Ie,ke)}var Ee=ge(be,[["render",Me]]);const Ae={class:"flex items-center justify-end space-x-5"},$e={class:"relative table-container"},De={class:"relative flex items-center justify-end h-5 border-gray-200 border-solid"},Ve={class:"flex text-sm font-medium cursor-pointer select-none text-primary-400"},xe={class:"absolute items-center left-6 top-2.5 select-none"},Se={class:"relative block"},Fe={setup(B){H("utils");const o=O(),$=Be();G();const y=W(),L=X(),{t:m}=R();let _=Z(!1),b=Z(!0);const i=Ce({name:"",unit_id:"",price:""}),c=Z(null),C=F(()=>!o.totalItems&&!b.value),I=F({get:()=>o.selectedItems,set:n=>o.selectItem(n)}),M=F(()=>[{key:"status",thClass:"extra w-10",tdClass:"font-medium text-gray-900",placeholderClass:"w-10",sortable:!1},{key:"name",label:m("items.name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"unit_name",label:m("items.unit")},{key:"price",label:m("items.price")},{key:"created_at",label:m("items.added_on")},{key:"actions",thClass:"text-right",tdClass:"text-right text-sm font-medium",sortable:!1}]);_e(i,()=>{q()},{debounce:500}),o.fetchItemUnits({limit:"all"}),he(()=>{o.selectAllField&&o.selectAllItems()});function E(){i.name="",i.unit_id="",i.price=""}function D(){return L.hasAbilities([g.DELETE_ITEM,g.EDIT_ITEM])}function N(){_.value&&E(),_.value=!_.value}function j(){c.value&&c.value.refresh()}function q(){j()}async function J(n){return(await o.fetchItemUnits({search:n})).data.data}async function K({page:n,filter:r,sort:w}){let V={search:i.name,unit_id:i.unit_id!==null?i.unit_id:"",price:Math.round(i.price*100),orderByField:w.fieldName||"created_at",orderBy:w.order||"desc",page:n};b.value=!0;let p=await o.fetchItems(V);return b.value=!1,{data:p.data.data,pagination:{totalPages:p.data.meta.last_page,currentPage:n,totalCount:p.data.meta.total,limit:10}}}function Q(){y.openDialog({title:m("general.are_you_sure"),message:m("items.confirm_delete",2),yesLabel:m("general.ok"),noLabel:m("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(n=>{n&&o.deleteMultipleItems().then(r=>{r.data.success&&c.value&&c.value.refresh()})})}return(n,r)=>{const w=s("BaseBreadcrumbItem"),V=s("BaseBreadcrumb"),p=s("BaseIcon"),x=s("BaseButton"),Y=s("BasePageHeader"),ee=s("BaseInput"),S=s("BaseInputGroup"),te=s("BaseMultiselect"),le=s("BaseMoney"),ae=s("BaseFilterWrapper"),ne=s("BaseEmptyPlaceholder"),se=s("BaseDropdownItem"),oe=s("BaseDropdown"),z=s("BaseCheckbox"),ie=s("router-link"),re=s("BaseFormatMoney"),de=s("BaseTable"),ce=s("BasePage");return d(),u(ce,null,{default:t(()=>[l(Y,{title:n.$t("items.title")},{actions:t(()=>[v("div",Ae,[P(l(x,{variant:"primary-outline",onClick:N},{right:t(e=>[a(_)?(d(),u(p,{key:1,name:"XIcon",class:A(e.class)},null,8,["class"])):(d(),u(p,{key:0,class:A(e.class),name:"FilterIcon"},null,8,["class"]))]),default:t(()=>[h(f(n.$t("general.filter"))+" ",1)]),_:1},512),[[U,a(o).totalItems]]),a(L).hasAbilities(a(g).CREATE_ITEM)?(d(),u(x,{key:0,onClick:r[0]||(r[0]=e=>n.$router.push("/admin/items/create"))},{left:t(e=>[l(p,{name:"PlusIcon",class:A(e.class)},null,8,["class"])]),default:t(()=>[h(" "+f(n.$t("items.add_item")),1)]),_:1})):k("",!0)])]),default:t(()=>[l(V,null,{default:t(()=>[l(w,{title:n.$t("general.home"),to:"dashboard"},null,8,["title"]),l(w,{title:n.$tc("items.item",2),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),l(ae,{show:a(_),class:"mt-5",onClear:E},{default:t(()=>[l(S,{label:n.$tc("items.name"),class:"text-left"},{default:t(()=>[l(ee,{modelValue:a(i).name,"onUpdate:modelValue":r[1]||(r[1]=e=>a(i).name=e),type:"text",name:"name",autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label"]),l(S,{label:n.$tc("items.unit"),class:"text-left"},{default:t(()=>[l(te,{modelValue:a(i).unit_id,"onUpdate:modelValue":r[2]||(r[2]=e=>a(i).unit_id=e),placeholder:n.$t("items.select_a_unit"),"value-prop":"id","track-by":"name","filter-results":!1,label:"name","resolve-on-load":"",delay:500,searchable:"",class:"w-full",options:J},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),l(S,{class:"text-left",label:n.$tc("items.price")},{default:t(()=>[l(le,{modelValue:a(i).price,"onUpdate:modelValue":r[3]||(r[3]=e=>a(i).price=e)},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["show"]),P(l(ne,{title:n.$t("items.no_items"),description:n.$t("items.list_of_items")},{actions:t(()=>[a(L).hasAbilities(a(g).CREATE_ITEM)?(d(),u(x,{key:0,variant:"primary-outline",onClick:r[4]||(r[4]=e=>n.$router.push("/admin/items/create"))},{left:t(e=>[l(p,{name:"PlusIcon",class:A(e.class)},null,8,["class"])]),default:t(()=>[h(" "+f(n.$t("items.add_new_item")),1)]),_:1})):k("",!0)]),default:t(()=>[l(Ee,{class:"mt-5 mb-4"})]),_:1},8,["title","description"]),[[U,a(C)]]),P(v("div",$e,[v("div",De,[a(o).selectedItems.length?(d(),u(oe,{key:0},{activator:t(()=>[v("span",Ve,[h(f(n.$t("general.actions"))+" ",1),l(p,{name:"ChevronDownIcon"})])]),default:t(()=>[l(se,{onClick:Q},{default:t(()=>[l(p,{name:"TrashIcon",class:"mr-3 text-gray-600"}),h(" "+f(n.$t("general.delete")),1)]),_:1})]),_:1})):k("",!0)]),l(de,{ref:(e,T)=>{T.table=e,c.value=e},data:K,columns:a(M),"placeholder-count":a(o).totalItems>=20?10:5,class:"mt-3"},ve({header:t(()=>[v("div",xe,[l(z,{modelValue:a(o).selectAllField,"onUpdate:modelValue":r[5]||(r[5]=e=>a(o).selectAllField=e),variant:"primary",onChange:a(o).selectAllItems},null,8,["modelValue","onChange"])])]),"cell-status":t(({row:e})=>[v("div",Se,[l(z,{id:e.id,modelValue:a(I),"onUpdate:modelValue":r[6]||(r[6]=T=>ye(I)?I.value=T:null),value:e.data.id},null,8,["id","modelValue","value"])])]),"cell-name":t(({row:e})=>[l(ie,{to:{path:`items/${e.data.id}/edit`},class:"font-medium text-primary-500"},{default:t(()=>[h(f(e.data.name),1)]),_:2},1032,["to"])]),"cell-unit_name":t(({row:e})=>[v("span",null,f(e.data.unit?e.data.unit.name:"-"),1)]),"cell-price":t(({row:e})=>[l(re,{amount:e.data.price,currency:a($).selectedCompanyCurrency},null,8,["amount","currency"])]),"cell-created_at":t(({row:e})=>[v("span",null,f(e.data.formatted_created_at),1)]),_:2},[D()?{name:"cell-actions",fn:t(({row:e})=>[l(Le,{row:e.data,table:c.value,"load-data":j},null,8,["row","table"])])}:void 0]),1032,["columns","placeholder-count"])],512),[[U,!a(C)]])]),_:1})}}};export{Fe as default}; diff --git a/public/build/assets/Index.41536eef.js b/public/build/assets/Index.952bfeaf.js similarity index 99% rename from public/build/assets/Index.41536eef.js rename to public/build/assets/Index.952bfeaf.js index c16dc809a..06c852d41 100644 --- a/public/build/assets/Index.41536eef.js +++ b/public/build/assets/Index.952bfeaf.js @@ -1 +1 @@ -import{g as j,j as C,i as b,h as r,k as M,D as L,M as F,r as i,o as I,c as N,t as c,b as t,w as m,y as p,v as U,x as P,B as z,s as K,z as X}from"./vendor.e9042f2c.js";import{m as W,c as H}from"./main.c4ed6aa9.js";const Z={class:"grid gap-8 md:grid-cols-12 pt-10"},ee={class:"col-span-8 md:col-span-4"},te={class:"flex flex-col my-6 lg:space-x-3 lg:flex-row"},ae=c("div",{class:"hidden w-5 h-0 mx-4 border border-gray-400 border-solid xl:block",style:{"margin-top":"2.5rem"}},null,-1),oe={class:"col-span-8"},re=["src"],ne={setup(G){const{t:h}=j(),v=W();v.downloadReport=x;const u=C([h("dateRange.today"),h("dateRange.this_week"),h("dateRange.this_month"),h("dateRange.this_quarter"),h("dateRange.this_year"),h("dateRange.previous_week"),h("dateRange.previous_month"),h("dateRange.previous_quarter"),h("dateRange.previous_year"),h("dateRange.custom")]),$=b(["By Customer","By Item"]),o=b("By Customer"),k=b(h("dateRange.this_month"));let w=b(new Date),D=b(null),e=b(null),y=b(null),s=C({from_date:r().startOf("month").format("YYYY-MM-DD").toString(),to_date:r().endOf("month").format("YYYY-MM-DD").toString()});const O=H(),n=M(()=>D.value),d=M(()=>O.selectedCompany),V=M(()=>`${e.value}?from_date=${r(s.from_date).format("YYYY-MM-DD")}&to_date=${r(s.to_date).format("YYYY-MM-DD")}`),T=M(()=>`${y.value}?from_date=${r(s.from_date).format("YYYY-MM-DD")}&to_date=${r(s.to_date).format("YYYY-MM-DD")}`);L(w,f=>{s.from_date=r(f).startOf("year").toString(),s.to_date=r(f).endOf("year").toString()}),F(()=>{e.value=`/reports/sales/customers/${d.value.unique_hash}`,y.value=`/reports/sales/items/${d.value.unique_hash}`,l()});function _(f,Y){return r()[f](Y).format("YYYY-MM-DD")}function B(f,Y){return r().subtract(1,Y)[f](Y).format("YYYY-MM-DD")}function a(){switch(k.value){case"Today":s.from_date=r().format("YYYY-MM-DD"),s.to_date=r().format("YYYY-MM-DD");break;case"This Week":s.from_date=_("startOf","isoWeek"),s.to_date=_("endOf","isoWeek");break;case"This Month":s.from_date=_("startOf","month"),s.to_date=_("endOf","month");break;case"This Quarter":s.from_date=_("startOf","quarter"),s.to_date=_("endOf","quarter");break;case"This Year":s.from_date=_("startOf","year"),s.to_date=_("endOf","year");break;case"Previous Week":s.from_date=B("startOf","isoWeek"),s.to_date=B("endOf","isoWeek");break;case"Previous Month":s.from_date=B("startOf","month"),s.to_date=B("endOf","month");break;case"Previous Quarter":s.from_date=B("startOf","quarter"),s.to_date=B("endOf","quarter");break;case"Previous Year":s.from_date=B("startOf","year"),s.to_date=B("endOf","year");break}}async function l(){return o.value==="By Customer"?(D.value=V.value,!0):(D.value=T.value,!0)}async function S(){let f=await R();return window.open(n.value,"_blank"),f}function R(){return o.value==="By Customer"?(D.value=V.value,!0):(D.value=T.value,!0)}function x(){if(!R())return!1;window.open(n.value+"&download=true"),setTimeout(()=>o.value==="By Customer"?(D.value=V.value,!0):(D.value=T.value,!0),200)}return(f,Y)=>{const g=i("BaseMultiselect"),Q=i("BaseInputGroup"),E=i("BaseDatePicker"),A=i("BaseButton"),J=i("BaseIcon");return I(),N("div",Z,[c("div",ee,[t(Q,{label:f.$t("reports.sales.date_range"),class:"col-span-12 md:col-span-8"},{default:m(()=>[t(g,{modelValue:k.value,"onUpdate:modelValue":[Y[0]||(Y[0]=q=>k.value=q),a],options:p(u)},null,8,["modelValue","options"])]),_:1},8,["label"]),c("div",te,[t(Q,{label:f.$t("reports.sales.from_date")},{default:m(()=>[t(E,{modelValue:p(s).from_date,"onUpdate:modelValue":Y[1]||(Y[1]=q=>p(s).from_date=q)},null,8,["modelValue"])]),_:1},8,["label"]),ae,t(Q,{label:f.$t("reports.sales.to_date")},{default:m(()=>[t(E,{modelValue:p(s).to_date,"onUpdate:modelValue":Y[2]||(Y[2]=q=>p(s).to_date=q)},null,8,["modelValue"])]),_:1},8,["label"])]),t(Q,{label:f.$t("reports.sales.report_type"),class:"col-span-12 md:col-span-8"},{default:m(()=>[t(g,{modelValue:o.value,"onUpdate:modelValue":[Y[3]||(Y[3]=q=>o.value=q),l],options:$.value,placeholder:f.$t("reports.sales.report_type"),class:"mt-1"},null,8,["modelValue","options","placeholder"])]),_:1},8,["label"]),t(A,{variant:"primary-outline",class:"content-center hidden mt-0 w-md md:flex md:mt-8",type:"submit",onClick:z(R,["prevent"])},{default:m(()=>[U(P(f.$t("reports.update_report")),1)]),_:1},8,["onClick"])]),c("div",oe,[c("iframe",{src:p(n),class:"hidden w-full h-screen h-screen-ios border-gray-100 border-solid rounded md:flex"},null,8,re),c("a",{class:"flex items-center justify-center h-10 px-5 py-1 text-sm font-medium leading-none text-center text-white rounded whitespace-nowrap md:hidden bg-primary-500",onClick:S},[t(J,{name:"DocumentTextIcon",class:"h-5 mr-2"}),c("span",null,P(f.$t("reports.view_pdf")),1)])])])}}},se={class:"grid gap-8 md:grid-cols-12 pt-10"},le={class:"col-span-8 md:col-span-4"},de={class:"flex flex-col mt-6 lg:space-x-3 lg:flex-row"},ue=c("div",{class:"hidden w-5 h-0 mx-4 border border-gray-400 border-solid xl:block",style:{"margin-top":"2.5rem"}},null,-1),ie={class:"col-span-8"},ce=["src"],me={setup(G){const h=W(),v=H(),{t:u}=j();h.downloadReport=B;const $=C([u("dateRange.today"),u("dateRange.this_week"),u("dateRange.this_month"),u("dateRange.this_quarter"),u("dateRange.this_year"),u("dateRange.previous_week"),u("dateRange.previous_month"),u("dateRange.previous_quarter"),u("dateRange.previous_year"),u("dateRange.custom")]),o=b(u("dateRange.this_month"));let k=b(new Date),w=b(null),D=b(null);const e=C({from_date:r().startOf("month").toString(),to_date:r().endOf("month").toString()}),y=M(()=>w.value),s=M(()=>v.selectedCompany),O=M(()=>`${D.value}?from_date=${r(e.from_date).format("YYYY-MM-DD")}&to_date=${r(e.to_date).format("YYYY-MM-DD")}`);F(()=>{D.value=`/reports/expenses/${s.value.unique_hash}`,w.value=O.value}),L(()=>k,a=>{e.from_date=r(a).startOf("year").toString(),e.to_date=r(a).endOf("year").toString()});function n(a,l){return r()[a](l).format("YYYY-MM-DD")}function d(a,l){return r().subtract(1,l)[a](l).format("YYYY-MM-DD")}function V(){switch(o.value){case"Today":e.from_date=r().format("YYYY-MM-DD"),e.to_date=r().format("YYYY-MM-DD");break;case"This Week":e.from_date=n("startOf","isoWeek"),e.to_date=n("endOf","isoWeek");break;case"This Month":e.from_date=n("startOf","month"),e.to_date=n("endOf","month");break;case"This Quarter":e.from_date=n("startOf","quarter"),e.to_date=n("endOf","quarter");break;case"This Year":e.from_date=n("startOf","year"),e.to_date=n("endOf","year");break;case"Previous Week":e.from_date=d("startOf","isoWeek"),e.to_date=d("endOf","isoWeek");break;case"Previous Month":e.from_date=d("startOf","month"),e.to_date=d("endOf","month");break;case"Previous Quarter":e.from_date=d("startOf","quarter"),e.to_date=d("endOf","quarter");break;case"Previous Year":e.from_date=d("startOf","year"),e.to_date=d("endOf","year");break}}async function T(){let a=await _();return window.open(y.value,"_blank"),a}function _(){return w.value=O.value,!0}function B(){!_(),window.open(y.value+"&download=true"),setTimeout(()=>{w.value=O.value},200)}return(a,l)=>{const S=i("BaseMultiselect"),R=i("BaseInputGroup"),x=i("BaseDatePicker"),f=i("BaseButton"),Y=i("BaseIcon");return I(),N("div",se,[c("div",le,[t(R,{label:a.$t("reports.sales.date_range"),class:"col-span-12 md:col-span-8"},{default:m(()=>[t(S,{modelValue:o.value,"onUpdate:modelValue":[l[0]||(l[0]=g=>o.value=g),V],options:p($)},null,8,["modelValue","options"])]),_:1},8,["label"]),c("div",de,[t(R,{label:a.$t("reports.expenses.from_date")},{default:m(()=>[t(x,{modelValue:p(e).from_date,"onUpdate:modelValue":l[1]||(l[1]=g=>p(e).from_date=g)},null,8,["modelValue"])]),_:1},8,["label"]),ue,t(R,{label:a.$t("reports.expenses.to_date")},{default:m(()=>[t(x,{modelValue:p(e).to_date,"onUpdate:modelValue":l[2]||(l[2]=g=>p(e).to_date=g)},null,8,["modelValue"])]),_:1},8,["label"])]),t(f,{variant:"primary-outline",class:"content-center hidden mt-0 w-md md:flex md:mt-8",type:"submit",onClick:z(_,["prevent"])},{default:m(()=>[U(P(a.$t("reports.update_report")),1)]),_:1},8,["onClick"])]),c("div",ie,[c("iframe",{src:p(y),class:"hidden w-full h-screen h-screen-ios border-gray-100 border-solid rounded md:flex"},null,8,ce),c("a",{class:"flex items-center justify-center h-10 px-5 py-1 text-sm font-medium leading-none text-center text-white rounded whitespace-nowrap md:hidden bg-primary-500 cursor-pointer",onClick:T},[t(Y,{name:"DocumentTextIcon",class:"h-5 mr-2"}),c("span",null,P(a.$t("reports.view_pdf")),1)])])])}}},pe={class:"grid gap-8 md:grid-cols-12 pt-10"},fe={class:"col-span-8 md:col-span-4"},_e={class:"flex flex-col mt-6 lg:space-x-3 lg:flex-row"},ge=c("div",{class:"hidden w-5 h-0 mx-4 border border-gray-400 border-solid xl:block",style:{"margin-top":"2.5rem"}},null,-1),he={class:"col-span-8"},ve=["src"],Ye={setup(G){const h=W(),v=H(),{t:u}=j();h.downloadReport=B;const $=C([u("dateRange.today"),u("dateRange.this_week"),u("dateRange.this_month"),u("dateRange.this_quarter"),u("dateRange.this_year"),u("dateRange.previous_week"),u("dateRange.previous_month"),u("dateRange.previous_quarter"),u("dateRange.previous_year"),u("dateRange.custom")]),o=b(u("dateRange.this_month"));let k=b(null),w=b(null),D=b(new Date);const e=C({from_date:r().startOf("month").toString(),to_date:r().endOf("month").toString()}),y=M(()=>k.value),s=M(()=>v.selectedCompany),O=M(()=>`${w.value}?from_date=${r(e.from_date).format("YYYY-MM-DD")}&to_date=${r(e.to_date).format("YYYY-MM-DD")}`);L(D,a=>{e.from_date=r(a).startOf("year").toString(),e.to_date=r(a).endOf("year").toString()}),F(()=>{w.value=`/reports/profit-loss/${s.value.unique_hash}`,k.value=O.value});function n(a,l){return r()[a](l).format("YYYY-MM-DD")}function d(a,l){return r().subtract(1,l)[a](l).format("YYYY-MM-DD")}function V(){switch(o.value){case"Today":e.from_date=r().format("YYYY-MM-DD"),e.to_date=r().format("YYYY-MM-DD");break;case"This Week":e.from_date=n("startOf","isoWeek"),e.to_date=n("endOf","isoWeek");break;case"This Month":e.from_date=n("startOf","month"),e.to_date=n("endOf","month");break;case"This Quarter":e.from_date=n("startOf","quarter"),e.to_date=n("endOf","quarter");break;case"This Year":e.from_date=n("startOf","year"),e.to_date=n("endOf","year");break;case"Previous Week":e.from_date=d("startOf","isoWeek"),e.to_date=d("endOf","isoWeek");break;case"Previous Month":e.from_date=d("startOf","month"),e.to_date=d("endOf","month");break;case"Previous Quarter":e.from_date=d("startOf","quarter"),e.to_date=d("endOf","quarter");break;case"Previous Year":e.from_date=d("startOf","year"),e.to_date=d("endOf","year");break}}async function T(){let a=await _();return window.open(y.value,"_blank"),a}function _(){return k.value=O.value,!0}function B(){!_(),window.open(y.value+"&download=true"),setTimeout(()=>{k.value=O.value},200)}return(a,l)=>{const S=i("BaseMultiselect"),R=i("BaseInputGroup"),x=i("BaseDatePicker"),f=i("BaseButton"),Y=i("BaseIcon");return I(),N("div",pe,[c("div",fe,[t(R,{label:a.$t("reports.profit_loss.date_range"),class:"col-span-12 md:col-span-8"},{default:m(()=>[t(S,{modelValue:o.value,"onUpdate:modelValue":[l[0]||(l[0]=g=>o.value=g),V],options:p($)},null,8,["modelValue","options"])]),_:1},8,["label"]),c("div",_e,[t(R,{label:a.$t("reports.profit_loss.from_date")},{default:m(()=>[t(x,{modelValue:p(e).from_date,"onUpdate:modelValue":l[1]||(l[1]=g=>p(e).from_date=g)},null,8,["modelValue"])]),_:1},8,["label"]),ge,t(R,{label:a.$t("reports.profit_loss.to_date")},{default:m(()=>[t(x,{modelValue:p(e).to_date,"onUpdate:modelValue":l[2]||(l[2]=g=>p(e).to_date=g)},null,8,["modelValue"])]),_:1},8,["label"])]),t(f,{variant:"primary-outline",class:"content-center hidden mt-0 w-md md:flex md:mt-8",type:"submit",onClick:z(_,["prevent"])},{default:m(()=>[U(P(a.$t("reports.update_report")),1)]),_:1},8,["onClick"])]),c("div",he,[c("iframe",{src:p(y),class:"hidden w-full h-screen h-screen-ios border-gray-100 border-solid rounded md:flex"},null,8,ve),c("a",{class:"flex items-center justify-center h-10 px-5 py-1 text-sm font-medium leading-none text-center text-white rounded whitespace-nowrap md:hidden bg-primary-500",onClick:T},[t(Y,{name:"DocumentTextIcon",class:"h-5 mr-2"}),c("span",null,P(a.$t("reports.view_pdf")),1)])])])}}},be={class:"grid gap-8 md:grid-cols-12 pt-10"},ye={class:"col-span-8 md:col-span-4"},ke={class:"flex flex-col mt-6 lg:space-x-3 lg:flex-row"},De=c("div",{class:"hidden w-5 h-0 mx-4 border border-gray-400 border-solid xl:block",style:{"margin-top":"2.5rem"}},null,-1),we={class:"col-span-8"},Re=["src"],Be={setup(G){const h=W();h.downloadReport=B;const{t:v}=j(),u=C([v("dateRange.today"),v("dateRange.this_week"),v("dateRange.this_month"),v("dateRange.this_quarter"),v("dateRange.this_year"),v("dateRange.previous_week"),v("dateRange.previous_month"),v("dateRange.previous_quarter"),v("dateRange.previous_year"),v("dateRange.custom")]),$=b(v("dateRange.this_month")),o=C({from_date:r().startOf("month").format("YYYY-MM-DD").toString(),to_date:r().endOf("month").format("YYYY-MM-DD").toString()});let k=b(null);const w=M(()=>k.value),D=H(),e=M(()=>D.selectedCompany);let y=b(null);F(()=>{y.value=`/reports/tax-summary/${e.value.unique_hash}`,k.value=s.value});const s=M(()=>`${y.value}?from_date=${r(o.from_date).format("YYYY-MM-DD")}&to_date=${r(o.to_date).format("YYYY-MM-DD")}`);let O=b(new Date);L(O.value,a=>{o.from_date=r(a).startOf("year").toString(),o.to_date=r(a).endOf("year").toString()});function n(a,l){return r()[a](l).format("YYYY-MM-DD")}function d(a,l){return r().subtract(1,l)[a](l).format("YYYY-MM-DD")}function V(){switch($.value){case"Today":o.from_date=r().format("YYYY-MM-DD"),o.to_date=r().format("YYYY-MM-DD");break;case"This Week":o.from_date=n("startOf","isoWeek"),o.to_date=n("endOf","isoWeek");break;case"This Month":o.from_date=n("startOf","month"),o.to_date=n("endOf","month");break;case"This Quarter":o.from_date=n("startOf","quarter"),o.to_date=n("endOf","quarter");break;case"This Year":o.from_date=n("startOf","year"),o.to_date=n("endOf","year");break;case"Previous Week":o.from_date=d("startOf","isoWeek"),o.to_date=d("endOf","isoWeek");break;case"Previous Month":o.from_date=d("startOf","month"),o.to_date=d("endOf","month");break;case"Previous Quarter":o.from_date=d("startOf","quarter"),o.to_date=d("endOf","quarter");break;case"Previous Year":o.from_date=d("startOf","year"),o.to_date=d("endOf","year");break}}async function T(){let a=await _();return window.open(w.value,"_blank"),a}function _(){return k.value=s.value,!0}function B(){!_(),window.open(w.value+"&download=true"),setTimeout(()=>{k.value=s.value},200)}return(a,l)=>{const S=i("BaseMultiselect"),R=i("BaseInputGroup"),x=i("BaseDatePicker"),f=i("BaseButton"),Y=i("BaseIcon");return I(),N("div",be,[c("div",ye,[t(R,{label:a.$t("reports.taxes.date_range"),class:"col-span-12 md:col-span-8"},{default:m(()=>[t(S,{modelValue:$.value,"onUpdate:modelValue":[l[0]||(l[0]=g=>$.value=g),V],options:p(u)},null,8,["modelValue","options"])]),_:1},8,["label"]),c("div",ke,[t(R,{label:a.$t("reports.taxes.from_date")},{default:m(()=>[t(x,{modelValue:p(o).from_date,"onUpdate:modelValue":l[1]||(l[1]=g=>p(o).from_date=g)},null,8,["modelValue"])]),_:1},8,["label"]),De,t(R,{label:a.$t("reports.taxes.to_date")},{default:m(()=>[t(x,{modelValue:p(o).to_date,"onUpdate:modelValue":l[2]||(l[2]=g=>p(o).to_date=g)},null,8,["modelValue"])]),_:1},8,["label"])]),t(f,{variant:"primary-outline",class:"content-center hidden mt-0 w-md md:flex md:mt-8",type:"submit",onClick:z(_,["prevent"])},{default:m(()=>[U(P(a.$t("reports.update_report")),1)]),_:1},8,["onClick"])]),c("div",we,[c("iframe",{src:p(w),class:"hidden w-full h-screen h-screen-ios border-gray-100 border-solid rounded md:flex"},null,8,Re),c("a",{class:"flex items-center justify-center h-10 px-5 py-1 text-sm font-medium leading-none text-center text-white rounded whitespace-nowrap md:hidden bg-primary-500",onClick:T},[t(Y,{name:"DocumentTextIcon",class:"h-5 mr-2"}),c("span",null,P(a.$t("reports.view_pdf")),1)])])])}}},$e={setup(G){const h=W();function v(){h.downloadReport()}return(u,$)=>{const o=i("BaseBreadcrumbItem"),k=i("BaseBreadcrumb"),w=i("BaseIcon"),D=i("BaseButton"),e=i("BasePageHeader"),y=i("BaseTab"),s=i("BaseTabGroup"),O=i("BasePage");return I(),K(O,null,{default:m(()=>[t(e,{title:u.$tc("reports.report",2)},{actions:m(()=>[t(D,{variant:"primary",class:"ml-4",onClick:v},{left:m(n=>[t(w,{name:"DownloadIcon",class:X(n.class)},null,8,["class"])]),default:m(()=>[U(" "+P(u.$t("reports.download_pdf")),1)]),_:1})]),default:m(()=>[t(k,null,{default:m(()=>[t(o,{title:u.$t("general.home"),to:"/admin/dashboard"},null,8,["title"]),t(o,{title:u.$tc("reports.report",2),to:"/admin/reports",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),t(s,{class:"p-2"},{default:m(()=>[t(y,{title:u.$t("reports.sales.sales"),"tab-panel-container":"px-0 py-0"},{default:m(()=>[t(ne,{ref:(n,d)=>{d.report=n}},null,512)]),_:1},8,["title"]),t(y,{title:u.$t("reports.profit_loss.profit_loss"),"tab-panel-container":"px-0 py-0"},{default:m(()=>[t(Ye,{ref:(n,d)=>{d.report=n}},null,512)]),_:1},8,["title"]),t(y,{title:u.$t("reports.expenses.expenses"),"tab-panel-container":"px-0 py-0"},{default:m(()=>[t(me,{ref:(n,d)=>{d.report=n}},null,512)]),_:1},8,["title"]),t(y,{title:u.$t("reports.taxes.taxes"),"tab-panel-container":"px-0 py-0"},{default:m(()=>[t(Be,{ref:(n,d)=>{d.report=n}},null,512)]),_:1},8,["title"])]),_:1})]),_:1})}}};export{$e as default}; +import{g as j,j as C,i as b,h as r,k as M,D as L,M as F,r as i,o as I,c as N,t as c,b as t,w as m,y as p,v as U,x as P,B as z,s as K,z as X}from"./vendor.e9042f2c.js";import{m as W,c as H}from"./main.f55cd568.js";const Z={class:"grid gap-8 md:grid-cols-12 pt-10"},ee={class:"col-span-8 md:col-span-4"},te={class:"flex flex-col my-6 lg:space-x-3 lg:flex-row"},ae=c("div",{class:"hidden w-5 h-0 mx-4 border border-gray-400 border-solid xl:block",style:{"margin-top":"2.5rem"}},null,-1),oe={class:"col-span-8"},re=["src"],ne={setup(G){const{t:h}=j(),v=W();v.downloadReport=x;const u=C([h("dateRange.today"),h("dateRange.this_week"),h("dateRange.this_month"),h("dateRange.this_quarter"),h("dateRange.this_year"),h("dateRange.previous_week"),h("dateRange.previous_month"),h("dateRange.previous_quarter"),h("dateRange.previous_year"),h("dateRange.custom")]),$=b(["By Customer","By Item"]),o=b("By Customer"),k=b(h("dateRange.this_month"));let w=b(new Date),D=b(null),e=b(null),y=b(null),s=C({from_date:r().startOf("month").format("YYYY-MM-DD").toString(),to_date:r().endOf("month").format("YYYY-MM-DD").toString()});const O=H(),n=M(()=>D.value),d=M(()=>O.selectedCompany),V=M(()=>`${e.value}?from_date=${r(s.from_date).format("YYYY-MM-DD")}&to_date=${r(s.to_date).format("YYYY-MM-DD")}`),T=M(()=>`${y.value}?from_date=${r(s.from_date).format("YYYY-MM-DD")}&to_date=${r(s.to_date).format("YYYY-MM-DD")}`);L(w,f=>{s.from_date=r(f).startOf("year").toString(),s.to_date=r(f).endOf("year").toString()}),F(()=>{e.value=`/reports/sales/customers/${d.value.unique_hash}`,y.value=`/reports/sales/items/${d.value.unique_hash}`,l()});function _(f,Y){return r()[f](Y).format("YYYY-MM-DD")}function B(f,Y){return r().subtract(1,Y)[f](Y).format("YYYY-MM-DD")}function a(){switch(k.value){case"Today":s.from_date=r().format("YYYY-MM-DD"),s.to_date=r().format("YYYY-MM-DD");break;case"This Week":s.from_date=_("startOf","isoWeek"),s.to_date=_("endOf","isoWeek");break;case"This Month":s.from_date=_("startOf","month"),s.to_date=_("endOf","month");break;case"This Quarter":s.from_date=_("startOf","quarter"),s.to_date=_("endOf","quarter");break;case"This Year":s.from_date=_("startOf","year"),s.to_date=_("endOf","year");break;case"Previous Week":s.from_date=B("startOf","isoWeek"),s.to_date=B("endOf","isoWeek");break;case"Previous Month":s.from_date=B("startOf","month"),s.to_date=B("endOf","month");break;case"Previous Quarter":s.from_date=B("startOf","quarter"),s.to_date=B("endOf","quarter");break;case"Previous Year":s.from_date=B("startOf","year"),s.to_date=B("endOf","year");break}}async function l(){return o.value==="By Customer"?(D.value=V.value,!0):(D.value=T.value,!0)}async function S(){let f=await R();return window.open(n.value,"_blank"),f}function R(){return o.value==="By Customer"?(D.value=V.value,!0):(D.value=T.value,!0)}function x(){if(!R())return!1;window.open(n.value+"&download=true"),setTimeout(()=>o.value==="By Customer"?(D.value=V.value,!0):(D.value=T.value,!0),200)}return(f,Y)=>{const g=i("BaseMultiselect"),Q=i("BaseInputGroup"),E=i("BaseDatePicker"),A=i("BaseButton"),J=i("BaseIcon");return I(),N("div",Z,[c("div",ee,[t(Q,{label:f.$t("reports.sales.date_range"),class:"col-span-12 md:col-span-8"},{default:m(()=>[t(g,{modelValue:k.value,"onUpdate:modelValue":[Y[0]||(Y[0]=q=>k.value=q),a],options:p(u)},null,8,["modelValue","options"])]),_:1},8,["label"]),c("div",te,[t(Q,{label:f.$t("reports.sales.from_date")},{default:m(()=>[t(E,{modelValue:p(s).from_date,"onUpdate:modelValue":Y[1]||(Y[1]=q=>p(s).from_date=q)},null,8,["modelValue"])]),_:1},8,["label"]),ae,t(Q,{label:f.$t("reports.sales.to_date")},{default:m(()=>[t(E,{modelValue:p(s).to_date,"onUpdate:modelValue":Y[2]||(Y[2]=q=>p(s).to_date=q)},null,8,["modelValue"])]),_:1},8,["label"])]),t(Q,{label:f.$t("reports.sales.report_type"),class:"col-span-12 md:col-span-8"},{default:m(()=>[t(g,{modelValue:o.value,"onUpdate:modelValue":[Y[3]||(Y[3]=q=>o.value=q),l],options:$.value,placeholder:f.$t("reports.sales.report_type"),class:"mt-1"},null,8,["modelValue","options","placeholder"])]),_:1},8,["label"]),t(A,{variant:"primary-outline",class:"content-center hidden mt-0 w-md md:flex md:mt-8",type:"submit",onClick:z(R,["prevent"])},{default:m(()=>[U(P(f.$t("reports.update_report")),1)]),_:1},8,["onClick"])]),c("div",oe,[c("iframe",{src:p(n),class:"hidden w-full h-screen h-screen-ios border-gray-100 border-solid rounded md:flex"},null,8,re),c("a",{class:"flex items-center justify-center h-10 px-5 py-1 text-sm font-medium leading-none text-center text-white rounded whitespace-nowrap md:hidden bg-primary-500",onClick:S},[t(J,{name:"DocumentTextIcon",class:"h-5 mr-2"}),c("span",null,P(f.$t("reports.view_pdf")),1)])])])}}},se={class:"grid gap-8 md:grid-cols-12 pt-10"},le={class:"col-span-8 md:col-span-4"},de={class:"flex flex-col mt-6 lg:space-x-3 lg:flex-row"},ue=c("div",{class:"hidden w-5 h-0 mx-4 border border-gray-400 border-solid xl:block",style:{"margin-top":"2.5rem"}},null,-1),ie={class:"col-span-8"},ce=["src"],me={setup(G){const h=W(),v=H(),{t:u}=j();h.downloadReport=B;const $=C([u("dateRange.today"),u("dateRange.this_week"),u("dateRange.this_month"),u("dateRange.this_quarter"),u("dateRange.this_year"),u("dateRange.previous_week"),u("dateRange.previous_month"),u("dateRange.previous_quarter"),u("dateRange.previous_year"),u("dateRange.custom")]),o=b(u("dateRange.this_month"));let k=b(new Date),w=b(null),D=b(null);const e=C({from_date:r().startOf("month").toString(),to_date:r().endOf("month").toString()}),y=M(()=>w.value),s=M(()=>v.selectedCompany),O=M(()=>`${D.value}?from_date=${r(e.from_date).format("YYYY-MM-DD")}&to_date=${r(e.to_date).format("YYYY-MM-DD")}`);F(()=>{D.value=`/reports/expenses/${s.value.unique_hash}`,w.value=O.value}),L(()=>k,a=>{e.from_date=r(a).startOf("year").toString(),e.to_date=r(a).endOf("year").toString()});function n(a,l){return r()[a](l).format("YYYY-MM-DD")}function d(a,l){return r().subtract(1,l)[a](l).format("YYYY-MM-DD")}function V(){switch(o.value){case"Today":e.from_date=r().format("YYYY-MM-DD"),e.to_date=r().format("YYYY-MM-DD");break;case"This Week":e.from_date=n("startOf","isoWeek"),e.to_date=n("endOf","isoWeek");break;case"This Month":e.from_date=n("startOf","month"),e.to_date=n("endOf","month");break;case"This Quarter":e.from_date=n("startOf","quarter"),e.to_date=n("endOf","quarter");break;case"This Year":e.from_date=n("startOf","year"),e.to_date=n("endOf","year");break;case"Previous Week":e.from_date=d("startOf","isoWeek"),e.to_date=d("endOf","isoWeek");break;case"Previous Month":e.from_date=d("startOf","month"),e.to_date=d("endOf","month");break;case"Previous Quarter":e.from_date=d("startOf","quarter"),e.to_date=d("endOf","quarter");break;case"Previous Year":e.from_date=d("startOf","year"),e.to_date=d("endOf","year");break}}async function T(){let a=await _();return window.open(y.value,"_blank"),a}function _(){return w.value=O.value,!0}function B(){!_(),window.open(y.value+"&download=true"),setTimeout(()=>{w.value=O.value},200)}return(a,l)=>{const S=i("BaseMultiselect"),R=i("BaseInputGroup"),x=i("BaseDatePicker"),f=i("BaseButton"),Y=i("BaseIcon");return I(),N("div",se,[c("div",le,[t(R,{label:a.$t("reports.sales.date_range"),class:"col-span-12 md:col-span-8"},{default:m(()=>[t(S,{modelValue:o.value,"onUpdate:modelValue":[l[0]||(l[0]=g=>o.value=g),V],options:p($)},null,8,["modelValue","options"])]),_:1},8,["label"]),c("div",de,[t(R,{label:a.$t("reports.expenses.from_date")},{default:m(()=>[t(x,{modelValue:p(e).from_date,"onUpdate:modelValue":l[1]||(l[1]=g=>p(e).from_date=g)},null,8,["modelValue"])]),_:1},8,["label"]),ue,t(R,{label:a.$t("reports.expenses.to_date")},{default:m(()=>[t(x,{modelValue:p(e).to_date,"onUpdate:modelValue":l[2]||(l[2]=g=>p(e).to_date=g)},null,8,["modelValue"])]),_:1},8,["label"])]),t(f,{variant:"primary-outline",class:"content-center hidden mt-0 w-md md:flex md:mt-8",type:"submit",onClick:z(_,["prevent"])},{default:m(()=>[U(P(a.$t("reports.update_report")),1)]),_:1},8,["onClick"])]),c("div",ie,[c("iframe",{src:p(y),class:"hidden w-full h-screen h-screen-ios border-gray-100 border-solid rounded md:flex"},null,8,ce),c("a",{class:"flex items-center justify-center h-10 px-5 py-1 text-sm font-medium leading-none text-center text-white rounded whitespace-nowrap md:hidden bg-primary-500 cursor-pointer",onClick:T},[t(Y,{name:"DocumentTextIcon",class:"h-5 mr-2"}),c("span",null,P(a.$t("reports.view_pdf")),1)])])])}}},pe={class:"grid gap-8 md:grid-cols-12 pt-10"},fe={class:"col-span-8 md:col-span-4"},_e={class:"flex flex-col mt-6 lg:space-x-3 lg:flex-row"},ge=c("div",{class:"hidden w-5 h-0 mx-4 border border-gray-400 border-solid xl:block",style:{"margin-top":"2.5rem"}},null,-1),he={class:"col-span-8"},ve=["src"],Ye={setup(G){const h=W(),v=H(),{t:u}=j();h.downloadReport=B;const $=C([u("dateRange.today"),u("dateRange.this_week"),u("dateRange.this_month"),u("dateRange.this_quarter"),u("dateRange.this_year"),u("dateRange.previous_week"),u("dateRange.previous_month"),u("dateRange.previous_quarter"),u("dateRange.previous_year"),u("dateRange.custom")]),o=b(u("dateRange.this_month"));let k=b(null),w=b(null),D=b(new Date);const e=C({from_date:r().startOf("month").toString(),to_date:r().endOf("month").toString()}),y=M(()=>k.value),s=M(()=>v.selectedCompany),O=M(()=>`${w.value}?from_date=${r(e.from_date).format("YYYY-MM-DD")}&to_date=${r(e.to_date).format("YYYY-MM-DD")}`);L(D,a=>{e.from_date=r(a).startOf("year").toString(),e.to_date=r(a).endOf("year").toString()}),F(()=>{w.value=`/reports/profit-loss/${s.value.unique_hash}`,k.value=O.value});function n(a,l){return r()[a](l).format("YYYY-MM-DD")}function d(a,l){return r().subtract(1,l)[a](l).format("YYYY-MM-DD")}function V(){switch(o.value){case"Today":e.from_date=r().format("YYYY-MM-DD"),e.to_date=r().format("YYYY-MM-DD");break;case"This Week":e.from_date=n("startOf","isoWeek"),e.to_date=n("endOf","isoWeek");break;case"This Month":e.from_date=n("startOf","month"),e.to_date=n("endOf","month");break;case"This Quarter":e.from_date=n("startOf","quarter"),e.to_date=n("endOf","quarter");break;case"This Year":e.from_date=n("startOf","year"),e.to_date=n("endOf","year");break;case"Previous Week":e.from_date=d("startOf","isoWeek"),e.to_date=d("endOf","isoWeek");break;case"Previous Month":e.from_date=d("startOf","month"),e.to_date=d("endOf","month");break;case"Previous Quarter":e.from_date=d("startOf","quarter"),e.to_date=d("endOf","quarter");break;case"Previous Year":e.from_date=d("startOf","year"),e.to_date=d("endOf","year");break}}async function T(){let a=await _();return window.open(y.value,"_blank"),a}function _(){return k.value=O.value,!0}function B(){!_(),window.open(y.value+"&download=true"),setTimeout(()=>{k.value=O.value},200)}return(a,l)=>{const S=i("BaseMultiselect"),R=i("BaseInputGroup"),x=i("BaseDatePicker"),f=i("BaseButton"),Y=i("BaseIcon");return I(),N("div",pe,[c("div",fe,[t(R,{label:a.$t("reports.profit_loss.date_range"),class:"col-span-12 md:col-span-8"},{default:m(()=>[t(S,{modelValue:o.value,"onUpdate:modelValue":[l[0]||(l[0]=g=>o.value=g),V],options:p($)},null,8,["modelValue","options"])]),_:1},8,["label"]),c("div",_e,[t(R,{label:a.$t("reports.profit_loss.from_date")},{default:m(()=>[t(x,{modelValue:p(e).from_date,"onUpdate:modelValue":l[1]||(l[1]=g=>p(e).from_date=g)},null,8,["modelValue"])]),_:1},8,["label"]),ge,t(R,{label:a.$t("reports.profit_loss.to_date")},{default:m(()=>[t(x,{modelValue:p(e).to_date,"onUpdate:modelValue":l[2]||(l[2]=g=>p(e).to_date=g)},null,8,["modelValue"])]),_:1},8,["label"])]),t(f,{variant:"primary-outline",class:"content-center hidden mt-0 w-md md:flex md:mt-8",type:"submit",onClick:z(_,["prevent"])},{default:m(()=>[U(P(a.$t("reports.update_report")),1)]),_:1},8,["onClick"])]),c("div",he,[c("iframe",{src:p(y),class:"hidden w-full h-screen h-screen-ios border-gray-100 border-solid rounded md:flex"},null,8,ve),c("a",{class:"flex items-center justify-center h-10 px-5 py-1 text-sm font-medium leading-none text-center text-white rounded whitespace-nowrap md:hidden bg-primary-500",onClick:T},[t(Y,{name:"DocumentTextIcon",class:"h-5 mr-2"}),c("span",null,P(a.$t("reports.view_pdf")),1)])])])}}},be={class:"grid gap-8 md:grid-cols-12 pt-10"},ye={class:"col-span-8 md:col-span-4"},ke={class:"flex flex-col mt-6 lg:space-x-3 lg:flex-row"},De=c("div",{class:"hidden w-5 h-0 mx-4 border border-gray-400 border-solid xl:block",style:{"margin-top":"2.5rem"}},null,-1),we={class:"col-span-8"},Re=["src"],Be={setup(G){const h=W();h.downloadReport=B;const{t:v}=j(),u=C([v("dateRange.today"),v("dateRange.this_week"),v("dateRange.this_month"),v("dateRange.this_quarter"),v("dateRange.this_year"),v("dateRange.previous_week"),v("dateRange.previous_month"),v("dateRange.previous_quarter"),v("dateRange.previous_year"),v("dateRange.custom")]),$=b(v("dateRange.this_month")),o=C({from_date:r().startOf("month").format("YYYY-MM-DD").toString(),to_date:r().endOf("month").format("YYYY-MM-DD").toString()});let k=b(null);const w=M(()=>k.value),D=H(),e=M(()=>D.selectedCompany);let y=b(null);F(()=>{y.value=`/reports/tax-summary/${e.value.unique_hash}`,k.value=s.value});const s=M(()=>`${y.value}?from_date=${r(o.from_date).format("YYYY-MM-DD")}&to_date=${r(o.to_date).format("YYYY-MM-DD")}`);let O=b(new Date);L(O.value,a=>{o.from_date=r(a).startOf("year").toString(),o.to_date=r(a).endOf("year").toString()});function n(a,l){return r()[a](l).format("YYYY-MM-DD")}function d(a,l){return r().subtract(1,l)[a](l).format("YYYY-MM-DD")}function V(){switch($.value){case"Today":o.from_date=r().format("YYYY-MM-DD"),o.to_date=r().format("YYYY-MM-DD");break;case"This Week":o.from_date=n("startOf","isoWeek"),o.to_date=n("endOf","isoWeek");break;case"This Month":o.from_date=n("startOf","month"),o.to_date=n("endOf","month");break;case"This Quarter":o.from_date=n("startOf","quarter"),o.to_date=n("endOf","quarter");break;case"This Year":o.from_date=n("startOf","year"),o.to_date=n("endOf","year");break;case"Previous Week":o.from_date=d("startOf","isoWeek"),o.to_date=d("endOf","isoWeek");break;case"Previous Month":o.from_date=d("startOf","month"),o.to_date=d("endOf","month");break;case"Previous Quarter":o.from_date=d("startOf","quarter"),o.to_date=d("endOf","quarter");break;case"Previous Year":o.from_date=d("startOf","year"),o.to_date=d("endOf","year");break}}async function T(){let a=await _();return window.open(w.value,"_blank"),a}function _(){return k.value=s.value,!0}function B(){!_(),window.open(w.value+"&download=true"),setTimeout(()=>{k.value=s.value},200)}return(a,l)=>{const S=i("BaseMultiselect"),R=i("BaseInputGroup"),x=i("BaseDatePicker"),f=i("BaseButton"),Y=i("BaseIcon");return I(),N("div",be,[c("div",ye,[t(R,{label:a.$t("reports.taxes.date_range"),class:"col-span-12 md:col-span-8"},{default:m(()=>[t(S,{modelValue:$.value,"onUpdate:modelValue":[l[0]||(l[0]=g=>$.value=g),V],options:p(u)},null,8,["modelValue","options"])]),_:1},8,["label"]),c("div",ke,[t(R,{label:a.$t("reports.taxes.from_date")},{default:m(()=>[t(x,{modelValue:p(o).from_date,"onUpdate:modelValue":l[1]||(l[1]=g=>p(o).from_date=g)},null,8,["modelValue"])]),_:1},8,["label"]),De,t(R,{label:a.$t("reports.taxes.to_date")},{default:m(()=>[t(x,{modelValue:p(o).to_date,"onUpdate:modelValue":l[2]||(l[2]=g=>p(o).to_date=g)},null,8,["modelValue"])]),_:1},8,["label"])]),t(f,{variant:"primary-outline",class:"content-center hidden mt-0 w-md md:flex md:mt-8",type:"submit",onClick:z(_,["prevent"])},{default:m(()=>[U(P(a.$t("reports.update_report")),1)]),_:1},8,["onClick"])]),c("div",we,[c("iframe",{src:p(w),class:"hidden w-full h-screen h-screen-ios border-gray-100 border-solid rounded md:flex"},null,8,Re),c("a",{class:"flex items-center justify-center h-10 px-5 py-1 text-sm font-medium leading-none text-center text-white rounded whitespace-nowrap md:hidden bg-primary-500",onClick:T},[t(Y,{name:"DocumentTextIcon",class:"h-5 mr-2"}),c("span",null,P(a.$t("reports.view_pdf")),1)])])])}}},$e={setup(G){const h=W();function v(){h.downloadReport()}return(u,$)=>{const o=i("BaseBreadcrumbItem"),k=i("BaseBreadcrumb"),w=i("BaseIcon"),D=i("BaseButton"),e=i("BasePageHeader"),y=i("BaseTab"),s=i("BaseTabGroup"),O=i("BasePage");return I(),K(O,null,{default:m(()=>[t(e,{title:u.$tc("reports.report",2)},{actions:m(()=>[t(D,{variant:"primary",class:"ml-4",onClick:v},{left:m(n=>[t(w,{name:"DownloadIcon",class:X(n.class)},null,8,["class"])]),default:m(()=>[U(" "+P(u.$t("reports.download_pdf")),1)]),_:1})]),default:m(()=>[t(k,null,{default:m(()=>[t(o,{title:u.$t("general.home"),to:"/admin/dashboard"},null,8,["title"]),t(o,{title:u.$tc("reports.report",2),to:"/admin/reports",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),t(s,{class:"p-2"},{default:m(()=>[t(y,{title:u.$t("reports.sales.sales"),"tab-panel-container":"px-0 py-0"},{default:m(()=>[t(ne,{ref:(n,d)=>{d.report=n}},null,512)]),_:1},8,["title"]),t(y,{title:u.$t("reports.profit_loss.profit_loss"),"tab-panel-container":"px-0 py-0"},{default:m(()=>[t(Ye,{ref:(n,d)=>{d.report=n}},null,512)]),_:1},8,["title"]),t(y,{title:u.$t("reports.expenses.expenses"),"tab-panel-container":"px-0 py-0"},{default:m(()=>[t(me,{ref:(n,d)=>{d.report=n}},null,512)]),_:1},8,["title"]),t(y,{title:u.$t("reports.taxes.taxes"),"tab-panel-container":"px-0 py-0"},{default:m(()=>[t(Be,{ref:(n,d)=>{d.report=n}},null,512)]),_:1},8,["title"])]),_:1})]),_:1})}}};export{$e as default}; diff --git a/public/build/assets/Index.c50d63be.js b/public/build/assets/Index.9ec514e7.js similarity index 86% rename from public/build/assets/Index.c50d63be.js rename to public/build/assets/Index.9ec514e7.js index 1c4279aaa..9201bdb27 100644 --- a/public/build/assets/Index.c50d63be.js +++ b/public/build/assets/Index.9ec514e7.js @@ -1 +1 @@ -import{i as b,g as le,j as oe,k as g,aS as ne,aT as re,h as ue,r as n,o as p,s as _,w as t,b as a,t as i,Z as w,al as F,y as l,z as v,v as B,x as d,A as U,a5 as ce,a0 as M}from"./vendor.e9042f2c.js";import{c as me,i as ie,k as de,d as pe,e as C}from"./main.c4ed6aa9.js";import{_ as _e}from"./CustomerIndexDropdown.421e91b3.js";import{A as fe}from"./AstronautIcon.525a3bea.js";const he={class:"flex items-center justify-end space-x-5"},ye={class:"relative table-container"},Be={class:"relative flex items-center justify-end h-5"},Ce={class:"flex text-sm font-medium cursor-pointer select-none text-primary-400"},be={class:"absolute z-10 items-center left-6 top-2.5 select-none"},ge={class:"relative block"},Ve={setup(ve){me();const z=ie(),u=de(),k=pe();let f=b(null),h=b(!1),x=b(!0);const{t:m}=le();let r=oe({display_name:"",contact_name:"",phone:""});const P=g(()=>!u.totalCustomers&&!x.value),I=g({get:()=>u.selectedCustomers,set:s=>u.selectCustomer(s)}),S=g({get:()=>u.selectAllField,set:s=>u.setSelectAllState(s)}),W=g(()=>[{key:"status",thClass:"extra w-10 pr-0",sortable:!1,tdClass:"font-medium text-gray-900 pr-0"},{key:"name",label:m("customers.name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"phone",label:m("customers.phone")},{key:"due_amount",label:m("customers.amount_due")},{key:"created_at",label:m("items.added_on")},{key:"actions",tdClass:"text-right text-sm font-medium pl-0",thClass:"pl-0",sortable:!1}]);ne(r,()=>{Y()},{debounce:500}),re(()=>{u.selectAllField&&u.selectAllCustomers()});function V(){f.value.refresh()}function Y(){V()}function L(){return k.hasAbilities([C.DELETE_CUSTOMER,C.EDIT_CUSTOMER,C.VIEW_CUSTOMER])}async function G({page:s,filter:o,sort:y}){let $={display_name:r.display_name,contact_name:r.contact_name,phone:r.phone,orderByField:y.fieldName||"created_at",orderBy:y.order||"desc",page:s};x.value=!0;let c=await u.fetchCustomers($);return x.value=!1,{data:c.data.data,pagination:{totalPages:c.data.meta.last_page,currentPage:s,totalCount:c.data.meta.total,limit:10}}}function R(){r.display_name="",r.contact_name="",r.phone=""}function H(){h.value&&R(),h.value=!h.value}let j=b(new Date);j.value=ue(j).format("YYYY-MM-DD");function X(){z.openDialog({title:m("general.are_you_sure"),message:m("customers.confirm_delete",2),yesLabel:m("general.ok"),noLabel:m("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(s=>{s&&u.deleteMultipleCustomers().then(o=>{o.data&&V()})})}return(s,o)=>{const y=n("BaseBreadcrumbItem"),$=n("BaseBreadcrumb"),c=n("BaseIcon"),A=n("BaseButton"),Z=n("BasePageHeader"),D=n("BaseInput"),E=n("BaseInputGroup"),q=n("BaseFilterWrapper"),J=n("BaseEmptyPlaceholder"),K=n("BaseDropdownItem"),Q=n("BaseDropdown"),N=n("BaseCheckbox"),O=n("BaseText"),ee=n("router-link"),te=n("BaseFormatMoney"),ae=n("BaseTable"),se=n("BasePage");return p(),_(se,null,{default:t(()=>[a(Z,{title:s.$t("customers.title")},{actions:t(()=>[i("div",he,[w(a(A,{variant:"primary-outline",onClick:H},{right:t(e=>[l(h)?(p(),_(c,{key:1,name:"XIcon",class:v(e.class)},null,8,["class"])):(p(),_(c,{key:0,name:"FilterIcon",class:v(e.class)},null,8,["class"]))]),default:t(()=>[B(d(s.$t("general.filter"))+" ",1)]),_:1},512),[[F,l(u).totalCustomers]]),l(k).hasAbilities(l(C).CREATE_CUSTOMER)?(p(),_(A,{key:0,onClick:o[0]||(o[0]=e=>s.$router.push("customers/create"))},{left:t(e=>[a(c,{name:"PlusIcon",class:v(e.class)},null,8,["class"])]),default:t(()=>[B(" "+d(s.$t("customers.new_customer")),1)]),_:1})):U("",!0)])]),default:t(()=>[a($,null,{default:t(()=>[a(y,{title:s.$t("general.home"),to:"dashboard"},null,8,["title"]),a(y,{title:s.$tc("customers.customer",2),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),a(q,{show:l(h),class:"mt-5",onClear:R},{default:t(()=>[a(E,{label:s.$t("customers.display_name"),class:"text-left"},{default:t(()=>[a(D,{modelValue:l(r).display_name,"onUpdate:modelValue":o[1]||(o[1]=e=>l(r).display_name=e),type:"text",name:"name",autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label"]),a(E,{label:s.$t("customers.contact_name"),class:"text-left"},{default:t(()=>[a(D,{modelValue:l(r).contact_name,"onUpdate:modelValue":o[2]||(o[2]=e=>l(r).contact_name=e),type:"text",name:"address_name",autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label"]),a(E,{label:s.$t("customers.phone"),class:"text-left"},{default:t(()=>[a(D,{modelValue:l(r).phone,"onUpdate:modelValue":o[3]||(o[3]=e=>l(r).phone=e),type:"text",name:"phone",autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["show"]),w(a(J,{title:s.$t("customers.no_customers"),description:s.$t("customers.list_of_customers")},{actions:t(()=>[l(k).hasAbilities(l(C).CREATE_CUSTOMER)?(p(),_(A,{key:0,variant:"primary-outline",onClick:o[4]||(o[4]=e=>s.$router.push("/admin/customers/create"))},{left:t(e=>[a(c,{name:"PlusIcon",class:v(e.class)},null,8,["class"])]),default:t(()=>[B(" "+d(s.$t("customers.add_new_customer")),1)]),_:1})):U("",!0)]),default:t(()=>[a(fe,{class:"mt-5 mb-4"})]),_:1},8,["title","description"]),[[F,l(P)]]),w(i("div",ye,[i("div",Be,[l(u).selectedCustomers.length?(p(),_(Q,{key:0},{activator:t(()=>[i("span",Ce,[B(d(s.$t("general.actions"))+" ",1),a(c,{name:"ChevronDownIcon"})])]),default:t(()=>[a(K,{onClick:X},{default:t(()=>[a(c,{name:"TrashIcon",class:"mr-3 text-gray-600"}),B(" "+d(s.$t("general.delete")),1)]),_:1})]),_:1})):U("",!0)]),a(ae,{ref:(e,T)=>{T.tableComponent=e,M(f)?f.value=e:f=e},class:"mt-3",data:G,columns:l(W)},ce({header:t(()=>[i("div",be,[a(N,{modelValue:l(S),"onUpdate:modelValue":o[5]||(o[5]=e=>M(S)?S.value=e:null),variant:"primary",onChange:l(u).selectAllCustomers},null,8,["modelValue","onChange"])])]),"cell-status":t(({row:e})=>[i("div",ge,[a(N,{id:e.data.id,modelValue:l(I),"onUpdate:modelValue":o[6]||(o[6]=T=>M(I)?I.value=T:null),value:e.data.id,variant:"primary"},null,8,["id","modelValue","value"])])]),"cell-name":t(({row:e})=>[a(ee,{to:{path:`customers/${e.data.id}/view`}},{default:t(()=>[a(O,{text:e.data.name,length:30,tag:"span",class:"font-medium text-primary-500 flex flex-col"},null,8,["text"]),a(O,{text:e.data.contact_name?e.data.contact_name:"",length:30,tag:"span",class:"text-xs text-gray-400"},null,8,["text"])]),_:2},1032,["to"])]),"cell-phone":t(({row:e})=>[i("span",null,d(e.data.phone?e.data.phone:"-"),1)]),"cell-due_amount":t(({row:e})=>[a(te,{amount:e.data.due_amount||0,currency:e.data.currency},null,8,["amount","currency"])]),"cell-created_at":t(({row:e})=>[i("span",null,d(e.data.formatted_created_at),1)]),_:2},[L()?{name:"cell-actions",fn:t(({row:e})=>[a(_e,{row:e.data,table:l(f),"load-data":V},null,8,["row","table"])])}:void 0]),1032,["columns"])],512),[[F,!l(P)]])]),_:1})}}};export{Ve as default}; +import{i as b,g as le,j as oe,k as g,aS as ne,aT as re,h as ue,r as n,o as p,s as f,w as t,b as a,t as i,Z as w,al as F,y as l,z as v,v as B,x as d,A as U,a5 as ce,a0 as M}from"./vendor.e9042f2c.js";import{c as me,i as ie,k as de,d as pe,e as C}from"./main.f55cd568.js";import{_ as fe}from"./CustomerIndexDropdown.37892b71.js";import{A as _e}from"./AstronautIcon.52e0dffc.js";const he={class:"flex items-center justify-end space-x-5"},ye={class:"relative table-container"},Be={class:"relative flex items-center justify-end h-5"},Ce={class:"flex text-sm font-medium cursor-pointer select-none text-primary-400"},be={class:"absolute z-10 items-center left-6 top-2.5 select-none"},ge={class:"relative block"},Ve={setup(ve){me();const z=ie(),u=de(),k=pe();let _=b(null),h=b(!1),x=b(!0);const{t:m}=le();let r=oe({display_name:"",contact_name:"",phone:""});const P=g(()=>!u.totalCustomers&&!x.value),I=g({get:()=>u.selectedCustomers,set:s=>u.selectCustomer(s)}),S=g({get:()=>u.selectAllField,set:s=>u.setSelectAllState(s)}),W=g(()=>[{key:"status",thClass:"extra w-10 pr-0",sortable:!1,tdClass:"font-medium text-gray-900 pr-0"},{key:"name",label:m("customers.name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"phone",label:m("customers.phone")},{key:"due_amount",label:m("customers.amount_due")},{key:"created_at",label:m("items.added_on")},{key:"actions",tdClass:"text-right text-sm font-medium pl-0",thClass:"pl-0",sortable:!1}]);ne(r,()=>{Y()},{debounce:500}),re(()=>{u.selectAllField&&u.selectAllCustomers()});function V(){_.value.refresh()}function Y(){V()}function L(){return k.hasAbilities([C.DELETE_CUSTOMER,C.EDIT_CUSTOMER,C.VIEW_CUSTOMER])}async function G({page:s,filter:o,sort:y}){let $={display_name:r.display_name,contact_name:r.contact_name,phone:r.phone,orderByField:y.fieldName||"created_at",orderBy:y.order||"desc",page:s};x.value=!0;let c=await u.fetchCustomers($);return x.value=!1,{data:c.data.data,pagination:{totalPages:c.data.meta.last_page,currentPage:s,totalCount:c.data.meta.total,limit:10}}}function R(){r.display_name="",r.contact_name="",r.phone=""}function H(){h.value&&R(),h.value=!h.value}let j=b(new Date);j.value=ue(j).format("YYYY-MM-DD");function X(){z.openDialog({title:m("general.are_you_sure"),message:m("customers.confirm_delete",2),yesLabel:m("general.ok"),noLabel:m("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(s=>{s&&u.deleteMultipleCustomers().then(o=>{o.data&&V()})})}return(s,o)=>{const y=n("BaseBreadcrumbItem"),$=n("BaseBreadcrumb"),c=n("BaseIcon"),A=n("BaseButton"),Z=n("BasePageHeader"),D=n("BaseInput"),E=n("BaseInputGroup"),q=n("BaseFilterWrapper"),J=n("BaseEmptyPlaceholder"),K=n("BaseDropdownItem"),Q=n("BaseDropdown"),N=n("BaseCheckbox"),O=n("BaseText"),ee=n("router-link"),te=n("BaseFormatMoney"),ae=n("BaseTable"),se=n("BasePage");return p(),f(se,null,{default:t(()=>[a(Z,{title:s.$t("customers.title")},{actions:t(()=>[i("div",he,[w(a(A,{variant:"primary-outline",onClick:H},{right:t(e=>[l(h)?(p(),f(c,{key:1,name:"XIcon",class:v(e.class)},null,8,["class"])):(p(),f(c,{key:0,name:"FilterIcon",class:v(e.class)},null,8,["class"]))]),default:t(()=>[B(d(s.$t("general.filter"))+" ",1)]),_:1},512),[[F,l(u).totalCustomers]]),l(k).hasAbilities(l(C).CREATE_CUSTOMER)?(p(),f(A,{key:0,onClick:o[0]||(o[0]=e=>s.$router.push("customers/create"))},{left:t(e=>[a(c,{name:"PlusIcon",class:v(e.class)},null,8,["class"])]),default:t(()=>[B(" "+d(s.$t("customers.new_customer")),1)]),_:1})):U("",!0)])]),default:t(()=>[a($,null,{default:t(()=>[a(y,{title:s.$t("general.home"),to:"dashboard"},null,8,["title"]),a(y,{title:s.$tc("customers.customer",2),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),a(q,{show:l(h),class:"mt-5",onClear:R},{default:t(()=>[a(E,{label:s.$t("customers.display_name"),class:"text-left"},{default:t(()=>[a(D,{modelValue:l(r).display_name,"onUpdate:modelValue":o[1]||(o[1]=e=>l(r).display_name=e),type:"text",name:"name",autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label"]),a(E,{label:s.$t("customers.contact_name"),class:"text-left"},{default:t(()=>[a(D,{modelValue:l(r).contact_name,"onUpdate:modelValue":o[2]||(o[2]=e=>l(r).contact_name=e),type:"text",name:"address_name",autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label"]),a(E,{label:s.$t("customers.phone"),class:"text-left"},{default:t(()=>[a(D,{modelValue:l(r).phone,"onUpdate:modelValue":o[3]||(o[3]=e=>l(r).phone=e),type:"text",name:"phone",autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["show"]),w(a(J,{title:s.$t("customers.no_customers"),description:s.$t("customers.list_of_customers")},{actions:t(()=>[l(k).hasAbilities(l(C).CREATE_CUSTOMER)?(p(),f(A,{key:0,variant:"primary-outline",onClick:o[4]||(o[4]=e=>s.$router.push("/admin/customers/create"))},{left:t(e=>[a(c,{name:"PlusIcon",class:v(e.class)},null,8,["class"])]),default:t(()=>[B(" "+d(s.$t("customers.add_new_customer")),1)]),_:1})):U("",!0)]),default:t(()=>[a(_e,{class:"mt-5 mb-4"})]),_:1},8,["title","description"]),[[F,l(P)]]),w(i("div",ye,[i("div",Be,[l(u).selectedCustomers.length?(p(),f(Q,{key:0},{activator:t(()=>[i("span",Ce,[B(d(s.$t("general.actions"))+" ",1),a(c,{name:"ChevronDownIcon"})])]),default:t(()=>[a(K,{onClick:X},{default:t(()=>[a(c,{name:"TrashIcon",class:"mr-3 text-gray-600"}),B(" "+d(s.$t("general.delete")),1)]),_:1})]),_:1})):U("",!0)]),a(ae,{ref:(e,T)=>{T.tableComponent=e,M(_)?_.value=e:_=e},class:"mt-3",data:G,columns:l(W)},ce({header:t(()=>[i("div",be,[a(N,{modelValue:l(S),"onUpdate:modelValue":o[5]||(o[5]=e=>M(S)?S.value=e:null),variant:"primary",onChange:l(u).selectAllCustomers},null,8,["modelValue","onChange"])])]),"cell-status":t(({row:e})=>[i("div",ge,[a(N,{id:e.data.id,modelValue:l(I),"onUpdate:modelValue":o[6]||(o[6]=T=>M(I)?I.value=T:null),value:e.data.id,variant:"primary"},null,8,["id","modelValue","value"])])]),"cell-name":t(({row:e})=>[a(ee,{to:{path:`customers/${e.data.id}/view`}},{default:t(()=>[a(O,{text:e.data.name,length:30,tag:"span",class:"font-medium text-primary-500 flex flex-col"},null,8,["text"]),a(O,{text:e.data.contact_name?e.data.contact_name:"",length:30,tag:"span",class:"text-xs text-gray-400"},null,8,["text"])]),_:2},1032,["to"])]),"cell-phone":t(({row:e})=>[i("span",null,d(e.data.phone?e.data.phone:"-"),1)]),"cell-due_amount":t(({row:e})=>[a(te,{amount:e.data.due_amount||0,currency:e.data.currency},null,8,["amount","currency"])]),"cell-created_at":t(({row:e})=>[i("span",null,d(e.data.formatted_created_at),1)]),_:2},[L()?{name:"cell-actions",fn:t(({row:e})=>[a(fe,{row:e.data,table:l(_),"load-data":V},null,8,["row","table"])])}:void 0]),1032,["columns"])],512),[[F,!l(P)]])]),_:1})}}};export{Ve as default}; diff --git a/public/build/assets/Index.66f84b88.js b/public/build/assets/Index.c73f3a98.js similarity index 98% rename from public/build/assets/Index.66f84b88.js rename to public/build/assets/Index.c73f3a98.js index 214224645..d2556d7bf 100644 --- a/public/build/assets/Index.66f84b88.js +++ b/public/build/assets/Index.c73f3a98.js @@ -1 +1 @@ -import{o as _,c as pe,R as fe,i as V,g as _e,C as he,j as ve,k as Z,aS as Ce,aT as be,r as n,s as v,w as l,b as a,Z as y,al as T,y as s,z as g,v as p,x as f,A as H,t as C,a5 as Ee,a0 as Ve}from"./vendor.e9042f2c.js";import{_ as ge,j as Be,i as Ae,d as ye,e as h}from"./main.c4ed6aa9.js";import{_ as Te}from"./EstimateIndexDropdown.16bd4994.js";import{_ as ke}from"./SendEstimateModal.d0eba7d1.js";const Me={},Ie={width:"97",height:"110",viewBox:"0 0 97 110",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Se=fe('',2),$e=[Se];function we(U,d){return _(),pe("svg",Ie,$e)}var De=ge(Me,[["render",we]]);const Ze=C("div",{class:"hidden w-8 h-0 mx-4 border border-gray-400 border-solid xl:block",style:{"margin-top":"1.5rem"}},null,-1),He={class:"relative table-container"},Fe={class:"relative flex items-center justify-between h-10 mt-5 list-none border-b-2 border-gray-200 border-solid"},Pe={class:"flex text-sm font-medium cursor-pointer select-none text-primary-400"},Re={class:"absolute items-center left-6 top-2.5 select-none"},xe={class:"relative block"},Ge={setup(U){const d=Be(),j=Ae(),B=ye(),A=V(null),{t:r}=_e(),b=V(!1),W=V(["DRAFT","SENT","VIEWED","EXPIRED","ACCEPTED","REJECTED"]),k=V(!0),c=V("general.draft");he();let o=ve({customer_id:"",status:"DRAFT",from_date:"",to_date:"",estimate_number:""});const F=Z(()=>!d.totalEstimateCount&&!k.value),M=Z({get:()=>d.selectedEstimates,set:t=>{d.selectEstimate(t)}}),G=Z(()=>[{key:"checkbox",thClass:"extra w-10 pr-0",sortable:!1,tdClass:"font-medium text-gray-900 pr-0"},{key:"estimate_date",label:r("estimates.date"),thClass:"extra",tdClass:"font-medium text-gray-500"},{key:"estimate_number",label:r("estimates.number",2)},{key:"name",label:r("estimates.customer")},{key:"status",label:r("estimates.status")},{key:"total",label:r("estimates.total"),tdClass:"font-medium text-gray-900"},{key:"actions",tdClass:"text-right text-sm font-medium pl-0",thClass:"text-right pl-0",sortable:!1}]);Ce(o,()=>{J()},{debounce:500}),be(()=>{d.selectAllField&&d.selectAllEstimates()});function O(){return B.hasAbilities([h.CREATE_ESTIMATE,h.EDIT_ESTIMATE,h.VIEW_ESTIMATE,h.SEND_ESTIMATE])}async function z(t,i){o.status="",I()}function I(){A.value&&A.value.refresh()}async function L({page:t,filter:i,sort:m}){let S={customer_id:o.customer_id,status:o.status,from_date:o.from_date,to_date:o.to_date,estimate_number:o.estimate_number,orderByField:m.fieldName||"created_at",orderBy:m.order||"desc",page:t};k.value=!0;let u=await d.fetchEstimates(S);return k.value=!1,{data:u.data.data,pagination:{totalPages:u.data.meta.last_page,currentPage:t,totalCount:u.data.meta.total,limit:10}}}function X(t){if(c.value==t.title)return!0;switch(c.value=t.title,t.title){case r("general.draft"):o.status="DRAFT";break;case r("general.sent"):o.status="SENT";break;default:o.status="";break}}function J(){d.$patch(t=>{t.selectedEstimates=[],t.selectAllField=!1}),I()}function P(){o.customer_id="",o.status="",o.from_date="",o.to_date="",o.estimate_number="",c.value=r("general.all")}function q(){b.value&&P(),b.value=!b.value}async function K(){j.openDialog({title:r("general.are_you_sure"),message:r("estimates.confirm_delete"),yesLabel:r("general.ok"),noLabel:r("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(t=>{t&&d.deleteMultipleEstimates().then(i=>{I(),i.data&&d.$patch(m=>{m.selectedEstimates=[],m.selectAllField=!1})})})}function Q(t){switch(t){case"DRAFT":c.value=r("general.draft");break;case"SENT":c.value=r("general.sent");break;case"VIEWED":c.value=r("estimates.viewed");break;case"EXPIRED":c.value=r("estimates.expired");break;case"ACCEPTED":c.value=r("estimates.accepted");break;case"REJECTED":c.value=r("estimates.rejected");break;default:c.value=r("general.all");break}}return(t,i)=>{const m=n("BaseBreadcrumbItem"),S=n("BaseBreadcrumb"),u=n("BaseIcon"),$=n("BaseButton"),R=n("router-link"),Y=n("BasePageHeader"),ee=n("BaseCustomerSelectInput"),E=n("BaseInputGroup"),te=n("BaseMultiselect"),x=n("BaseDatePicker"),ae=n("BaseInput"),le=n("BaseFilterWrapper"),se=n("BaseEmptyPlaceholder"),w=n("BaseTab"),oe=n("BaseTabGroup"),ne=n("BaseDropdownItem"),ie=n("BaseDropdown"),N=n("BaseCheckbox"),re=n("BaseText"),de=n("BaseEstimateStatusBadge"),ue=n("BaseFormatMoney"),ce=n("BaseTable"),me=n("BasePage");return _(),v(me,null,{default:l(()=>[a(ke),a(Y,{title:t.$t("estimates.title")},{actions:l(()=>[y(a($,{variant:"primary-outline",onClick:q},{right:l(e=>[b.value?(_(),v(u,{key:1,name:"XIcon",class:g(e.class)},null,8,["class"])):(_(),v(u,{key:0,class:g(e.class),name:"FilterIcon"},null,8,["class"]))]),default:l(()=>[p(f(t.$t("general.filter"))+" ",1)]),_:1},512),[[T,s(d).totalEstimateCount]]),s(B).hasAbilities(s(h).CREATE_ESTIMATE)?(_(),v(R,{key:0,to:"estimates/create"},{default:l(()=>[a($,{variant:"primary",class:"ml-4"},{left:l(e=>[a(u,{name:"PlusIcon",class:g(e.class)},null,8,["class"])]),default:l(()=>[p(" "+f(t.$t("estimates.new_estimate")),1)]),_:1})]),_:1})):H("",!0)]),default:l(()=>[a(S,null,{default:l(()=>[a(m,{title:t.$t("general.home"),to:"dashboard"},null,8,["title"]),a(m,{title:t.$tc("estimates.estimate",2),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),y(a(le,{"row-on-xl":!0,onClear:P},{default:l(()=>[a(E,{label:t.$tc("customers.customer",1)},{default:l(()=>[a(ee,{modelValue:s(o).customer_id,"onUpdate:modelValue":i[0]||(i[0]=e=>s(o).customer_id=e),placeholder:t.$t("customers.type_or_click"),"value-prop":"id",label:"name"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),a(E,{label:t.$t("estimates.status")},{default:l(()=>[a(te,{modelValue:s(o).status,"onUpdate:modelValue":[i[1]||(i[1]=e=>s(o).status=e),Q],options:W.value,searchable:"",placeholder:t.$t("general.select_a_status"),onRemove:i[2]||(i[2]=e=>z())},null,8,["modelValue","options","placeholder"])]),_:1},8,["label"]),a(E,{label:t.$t("general.from")},{default:l(()=>[a(x,{modelValue:s(o).from_date,"onUpdate:modelValue":i[3]||(i[3]=e=>s(o).from_date=e),"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue"])]),_:1},8,["label"]),Ze,a(E,{label:t.$t("general.to")},{default:l(()=>[a(x,{modelValue:s(o).to_date,"onUpdate:modelValue":i[4]||(i[4]=e=>s(o).to_date=e),"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue"])]),_:1},8,["label"]),a(E,{label:t.$t("estimates.estimate_number")},{default:l(()=>[a(ae,{modelValue:s(o).estimate_number,"onUpdate:modelValue":i[5]||(i[5]=e=>s(o).estimate_number=e)},{left:l(e=>[a(u,{name:"HashtagIcon",class:g(e.class)},null,8,["class"])]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1},512),[[T,b.value]]),y(a(se,{title:t.$t("estimates.no_estimates"),description:t.$t("estimates.list_of_estimates")},{actions:l(()=>[s(B).hasAbilities(s(h).CREATE_ESTIMATE)?(_(),v($,{key:0,variant:"primary-outline",onClick:i[6]||(i[6]=e=>t.$router.push("/admin/estimates/create"))},{left:l(e=>[a(u,{name:"PlusIcon",class:g(e.class)},null,8,["class"])]),default:l(()=>[p(" "+f(t.$t("estimates.add_new_estimate")),1)]),_:1})):H("",!0)]),default:l(()=>[a(De,{class:"mt-5 mb-4"})]),_:1},8,["title","description"]),[[T,s(F)]]),y(C("div",He,[C("div",Fe,[a(oe,{class:"-mb-5",onChange:X},{default:l(()=>[a(w,{title:t.$t("general.draft"),filter:"DRAFT"},null,8,["title"]),a(w,{title:t.$t("general.sent"),filter:"SENT"},null,8,["title"]),a(w,{title:t.$t("general.all"),filter:""},null,8,["title"])]),_:1}),s(d).selectedEstimates.length&&s(B).hasAbilities(s(h).DELETE_ESTIMATE)?(_(),v(ie,{key:0,class:"absolute float-right"},{activator:l(()=>[C("span",Pe,[p(f(t.$t("general.actions"))+" ",1),a(u,{name:"ChevronDownIcon"})])]),default:l(()=>[a(ne,{onClick:K},{default:l(()=>[a(u,{name:"TrashIcon",class:"mr-3 text-gray-600"}),p(" "+f(t.$t("general.delete")),1)]),_:1})]),_:1})):H("",!0)]),a(ce,{ref:(e,D)=>{D.tableComponent=e,A.value=e},data:L,columns:s(G),"placeholder-count":s(d).totalEstimateCount>=20?10:5,class:"mt-10"},Ee({header:l(()=>[C("div",Re,[a(N,{modelValue:s(d).selectAllField,"onUpdate:modelValue":i[7]||(i[7]=e=>s(d).selectAllField=e),variant:"primary",onChange:s(d).selectAllEstimates},null,8,["modelValue","onChange"])])]),"cell-checkbox":l(({row:e})=>[C("div",xe,[a(N,{id:e.id,modelValue:s(M),"onUpdate:modelValue":i[8]||(i[8]=D=>Ve(M)?M.value=D:null),value:e.data.id},null,8,["id","modelValue","value"])])]),"cell-estimate_date":l(({row:e})=>[p(f(e.data.formatted_estimate_date),1)]),"cell-estimate_number":l(({row:e})=>[a(R,{to:{path:`estimates/${e.data.id}/view`},class:"font-medium text-primary-500"},{default:l(()=>[p(f(e.data.estimate_number),1)]),_:2},1032,["to"])]),"cell-name":l(({row:e})=>[a(re,{text:e.data.customer.name,length:30},null,8,["text"])]),"cell-status":l(({row:e})=>[a(de,{status:e.data.status,class:"px-3 py-1"},{default:l(()=>[p(f(e.data.status),1)]),_:2},1032,["status"])]),"cell-total":l(({row:e})=>[a(ue,{amount:e.data.total,currency:e.data.customer.currency},null,8,["amount","currency"])]),_:2},[O()?{name:"cell-actions",fn:l(({row:e})=>[a(Te,{row:e.data,table:A.value},null,8,["row","table"])])}:void 0]),1032,["columns","placeholder-count"])],512),[[T,!s(F)]])]),_:1})}}};export{Ge as default}; +import{o as _,c as pe,R as fe,i as V,g as _e,C as he,j as ve,k as Z,aS as Ce,aT as be,r as n,s as v,w as l,b as a,Z as y,al as T,y as s,z as g,v as p,x as f,A as H,t as C,a5 as Ee,a0 as Ve}from"./vendor.e9042f2c.js";import{_ as ge,j as Be,i as Ae,d as ye,e as h}from"./main.f55cd568.js";import{_ as Te}from"./EstimateIndexDropdown.07f4535c.js";import{_ as ke}from"./SendEstimateModal.8b30678e.js";const Me={},Ie={width:"97",height:"110",viewBox:"0 0 97 110",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Se=fe('',2),$e=[Se];function we(U,d){return _(),pe("svg",Ie,$e)}var De=ge(Me,[["render",we]]);const Ze=C("div",{class:"hidden w-8 h-0 mx-4 border border-gray-400 border-solid xl:block",style:{"margin-top":"1.5rem"}},null,-1),He={class:"relative table-container"},Fe={class:"relative flex items-center justify-between h-10 mt-5 list-none border-b-2 border-gray-200 border-solid"},Pe={class:"flex text-sm font-medium cursor-pointer select-none text-primary-400"},Re={class:"absolute items-center left-6 top-2.5 select-none"},xe={class:"relative block"},Ge={setup(U){const d=Be(),j=Ae(),B=ye(),A=V(null),{t:r}=_e(),b=V(!1),W=V(["DRAFT","SENT","VIEWED","EXPIRED","ACCEPTED","REJECTED"]),k=V(!0),c=V("general.draft");he();let o=ve({customer_id:"",status:"DRAFT",from_date:"",to_date:"",estimate_number:""});const F=Z(()=>!d.totalEstimateCount&&!k.value),M=Z({get:()=>d.selectedEstimates,set:t=>{d.selectEstimate(t)}}),G=Z(()=>[{key:"checkbox",thClass:"extra w-10 pr-0",sortable:!1,tdClass:"font-medium text-gray-900 pr-0"},{key:"estimate_date",label:r("estimates.date"),thClass:"extra",tdClass:"font-medium text-gray-500"},{key:"estimate_number",label:r("estimates.number",2)},{key:"name",label:r("estimates.customer")},{key:"status",label:r("estimates.status")},{key:"total",label:r("estimates.total"),tdClass:"font-medium text-gray-900"},{key:"actions",tdClass:"text-right text-sm font-medium pl-0",thClass:"text-right pl-0",sortable:!1}]);Ce(o,()=>{J()},{debounce:500}),be(()=>{d.selectAllField&&d.selectAllEstimates()});function O(){return B.hasAbilities([h.CREATE_ESTIMATE,h.EDIT_ESTIMATE,h.VIEW_ESTIMATE,h.SEND_ESTIMATE])}async function z(t,i){o.status="",I()}function I(){A.value&&A.value.refresh()}async function L({page:t,filter:i,sort:m}){let S={customer_id:o.customer_id,status:o.status,from_date:o.from_date,to_date:o.to_date,estimate_number:o.estimate_number,orderByField:m.fieldName||"created_at",orderBy:m.order||"desc",page:t};k.value=!0;let u=await d.fetchEstimates(S);return k.value=!1,{data:u.data.data,pagination:{totalPages:u.data.meta.last_page,currentPage:t,totalCount:u.data.meta.total,limit:10}}}function X(t){if(c.value==t.title)return!0;switch(c.value=t.title,t.title){case r("general.draft"):o.status="DRAFT";break;case r("general.sent"):o.status="SENT";break;default:o.status="";break}}function J(){d.$patch(t=>{t.selectedEstimates=[],t.selectAllField=!1}),I()}function P(){o.customer_id="",o.status="",o.from_date="",o.to_date="",o.estimate_number="",c.value=r("general.all")}function q(){b.value&&P(),b.value=!b.value}async function K(){j.openDialog({title:r("general.are_you_sure"),message:r("estimates.confirm_delete"),yesLabel:r("general.ok"),noLabel:r("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(t=>{t&&d.deleteMultipleEstimates().then(i=>{I(),i.data&&d.$patch(m=>{m.selectedEstimates=[],m.selectAllField=!1})})})}function Q(t){switch(t){case"DRAFT":c.value=r("general.draft");break;case"SENT":c.value=r("general.sent");break;case"VIEWED":c.value=r("estimates.viewed");break;case"EXPIRED":c.value=r("estimates.expired");break;case"ACCEPTED":c.value=r("estimates.accepted");break;case"REJECTED":c.value=r("estimates.rejected");break;default:c.value=r("general.all");break}}return(t,i)=>{const m=n("BaseBreadcrumbItem"),S=n("BaseBreadcrumb"),u=n("BaseIcon"),$=n("BaseButton"),R=n("router-link"),Y=n("BasePageHeader"),ee=n("BaseCustomerSelectInput"),E=n("BaseInputGroup"),te=n("BaseMultiselect"),x=n("BaseDatePicker"),ae=n("BaseInput"),le=n("BaseFilterWrapper"),se=n("BaseEmptyPlaceholder"),w=n("BaseTab"),oe=n("BaseTabGroup"),ne=n("BaseDropdownItem"),ie=n("BaseDropdown"),N=n("BaseCheckbox"),re=n("BaseText"),de=n("BaseEstimateStatusBadge"),ue=n("BaseFormatMoney"),ce=n("BaseTable"),me=n("BasePage");return _(),v(me,null,{default:l(()=>[a(ke),a(Y,{title:t.$t("estimates.title")},{actions:l(()=>[y(a($,{variant:"primary-outline",onClick:q},{right:l(e=>[b.value?(_(),v(u,{key:1,name:"XIcon",class:g(e.class)},null,8,["class"])):(_(),v(u,{key:0,class:g(e.class),name:"FilterIcon"},null,8,["class"]))]),default:l(()=>[p(f(t.$t("general.filter"))+" ",1)]),_:1},512),[[T,s(d).totalEstimateCount]]),s(B).hasAbilities(s(h).CREATE_ESTIMATE)?(_(),v(R,{key:0,to:"estimates/create"},{default:l(()=>[a($,{variant:"primary",class:"ml-4"},{left:l(e=>[a(u,{name:"PlusIcon",class:g(e.class)},null,8,["class"])]),default:l(()=>[p(" "+f(t.$t("estimates.new_estimate")),1)]),_:1})]),_:1})):H("",!0)]),default:l(()=>[a(S,null,{default:l(()=>[a(m,{title:t.$t("general.home"),to:"dashboard"},null,8,["title"]),a(m,{title:t.$tc("estimates.estimate",2),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),y(a(le,{"row-on-xl":!0,onClear:P},{default:l(()=>[a(E,{label:t.$tc("customers.customer",1)},{default:l(()=>[a(ee,{modelValue:s(o).customer_id,"onUpdate:modelValue":i[0]||(i[0]=e=>s(o).customer_id=e),placeholder:t.$t("customers.type_or_click"),"value-prop":"id",label:"name"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),a(E,{label:t.$t("estimates.status")},{default:l(()=>[a(te,{modelValue:s(o).status,"onUpdate:modelValue":[i[1]||(i[1]=e=>s(o).status=e),Q],options:W.value,searchable:"",placeholder:t.$t("general.select_a_status"),onRemove:i[2]||(i[2]=e=>z())},null,8,["modelValue","options","placeholder"])]),_:1},8,["label"]),a(E,{label:t.$t("general.from")},{default:l(()=>[a(x,{modelValue:s(o).from_date,"onUpdate:modelValue":i[3]||(i[3]=e=>s(o).from_date=e),"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue"])]),_:1},8,["label"]),Ze,a(E,{label:t.$t("general.to")},{default:l(()=>[a(x,{modelValue:s(o).to_date,"onUpdate:modelValue":i[4]||(i[4]=e=>s(o).to_date=e),"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue"])]),_:1},8,["label"]),a(E,{label:t.$t("estimates.estimate_number")},{default:l(()=>[a(ae,{modelValue:s(o).estimate_number,"onUpdate:modelValue":i[5]||(i[5]=e=>s(o).estimate_number=e)},{left:l(e=>[a(u,{name:"HashtagIcon",class:g(e.class)},null,8,["class"])]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1},512),[[T,b.value]]),y(a(se,{title:t.$t("estimates.no_estimates"),description:t.$t("estimates.list_of_estimates")},{actions:l(()=>[s(B).hasAbilities(s(h).CREATE_ESTIMATE)?(_(),v($,{key:0,variant:"primary-outline",onClick:i[6]||(i[6]=e=>t.$router.push("/admin/estimates/create"))},{left:l(e=>[a(u,{name:"PlusIcon",class:g(e.class)},null,8,["class"])]),default:l(()=>[p(" "+f(t.$t("estimates.add_new_estimate")),1)]),_:1})):H("",!0)]),default:l(()=>[a(De,{class:"mt-5 mb-4"})]),_:1},8,["title","description"]),[[T,s(F)]]),y(C("div",He,[C("div",Fe,[a(oe,{class:"-mb-5",onChange:X},{default:l(()=>[a(w,{title:t.$t("general.draft"),filter:"DRAFT"},null,8,["title"]),a(w,{title:t.$t("general.sent"),filter:"SENT"},null,8,["title"]),a(w,{title:t.$t("general.all"),filter:""},null,8,["title"])]),_:1}),s(d).selectedEstimates.length&&s(B).hasAbilities(s(h).DELETE_ESTIMATE)?(_(),v(ie,{key:0,class:"absolute float-right"},{activator:l(()=>[C("span",Pe,[p(f(t.$t("general.actions"))+" ",1),a(u,{name:"ChevronDownIcon"})])]),default:l(()=>[a(ne,{onClick:K},{default:l(()=>[a(u,{name:"TrashIcon",class:"mr-3 text-gray-600"}),p(" "+f(t.$t("general.delete")),1)]),_:1})]),_:1})):H("",!0)]),a(ce,{ref:(e,D)=>{D.tableComponent=e,A.value=e},data:L,columns:s(G),"placeholder-count":s(d).totalEstimateCount>=20?10:5,class:"mt-10"},Ee({header:l(()=>[C("div",Re,[a(N,{modelValue:s(d).selectAllField,"onUpdate:modelValue":i[7]||(i[7]=e=>s(d).selectAllField=e),variant:"primary",onChange:s(d).selectAllEstimates},null,8,["modelValue","onChange"])])]),"cell-checkbox":l(({row:e})=>[C("div",xe,[a(N,{id:e.id,modelValue:s(M),"onUpdate:modelValue":i[8]||(i[8]=D=>Ve(M)?M.value=D:null),value:e.data.id},null,8,["id","modelValue","value"])])]),"cell-estimate_date":l(({row:e})=>[p(f(e.data.formatted_estimate_date),1)]),"cell-estimate_number":l(({row:e})=>[a(R,{to:{path:`estimates/${e.data.id}/view`},class:"font-medium text-primary-500"},{default:l(()=>[p(f(e.data.estimate_number),1)]),_:2},1032,["to"])]),"cell-name":l(({row:e})=>[a(re,{text:e.data.customer.name,length:30},null,8,["text"])]),"cell-status":l(({row:e})=>[a(de,{status:e.data.status,class:"px-3 py-1"},{default:l(()=>[p(f(e.data.status),1)]),_:2},1032,["status"])]),"cell-total":l(({row:e})=>[a(ue,{amount:e.data.total,currency:e.data.customer.currency},null,8,["amount","currency"])]),_:2},[O()?{name:"cell-actions",fn:l(({row:e})=>[a(Te,{row:e.data,table:A.value},null,8,["row","table"])])}:void 0]),1032,["columns","placeholder-count"])],512),[[T,!s(F)]])]),_:1})}}};export{Ge as default}; diff --git a/public/build/assets/Index.8a2fa3b8.js b/public/build/assets/Index.cfa4ca4e.js similarity index 98% rename from public/build/assets/Index.8a2fa3b8.js rename to public/build/assets/Index.cfa4ca4e.js index 4361e3d7f..2160367a3 100644 --- a/public/build/assets/Index.8a2fa3b8.js +++ b/public/build/assets/Index.cfa4ca4e.js @@ -1 +1 @@ -import{g as _e,am as pe,i as I,C as fe,j as be,k as F,aS as ge,aT as Ie,r as i,o as B,s as y,w as l,b as t,Z as D,al as V,y as o,z as h,v as m,x as v,A as L,a5 as j,t as p,a0 as Be}from"./vendor.e9042f2c.js";import{f as ye,i as he,u as ke,d as Ee,e as f}from"./main.c4ed6aa9.js";import{M as Ce}from"./MoonwalkerIcon.33f1b046.js";import{_ as De}from"./InvoiceIndexDropdown.d1c989d3.js";import{_ as Ve}from"./SendInvoiceModal.f1dd071b.js";const Te=p("div",{class:"hidden w-8 h-0 mx-4 border border-gray-400 border-solid xl:block",style:{"margin-top":"1.5rem"}},null,-1),Ae={class:"relative table-container"},$e={class:"relative flex items-center justify-between h-10 mt-5 list-none border-b-2 border-gray-200 border-solid"},Se={class:"flex text-sm font-medium cursor-pointer select-none text-primary-400"},Pe={class:"absolute items-center left-6 top-2.5 select-none"},we={class:"relative block"},Fe={class:"flex justify-between"},Le={setup(Ne){const c=ye(),W=he();ke();const{t:n}=_e();pe("$utils");const k=I(null),b=I(!1),G=I([{label:"Status",options:["DRAFT","DUE","SENT","VIEWED","OVERDUE","COMPLETED"]},{label:"Paid Status",options:["UNPAID","PAID","PARTIALLY_PAID"]},,]),T=I(!0),u=I("general.draft");fe();const E=Ee();let s=be({customer_id:"",status:"DRAFT",from_date:"",to_date:"",invoice_number:""});const N=F(()=>!c.invoiceTotalCount&&!T.value),A=F({get:()=>c.selectedInvoices,set:a=>c.selectInvoice(a)}),z=F(()=>[{key:"checkbox",thClass:"extra w-10",tdClass:"font-medium text-gray-900",placeholderClass:"w-10",sortable:!1},{key:"invoice_date",label:n("invoices.date"),thClass:"extra",tdClass:"font-medium"},{key:"invoice_number",label:n("invoices.number")},{key:"name",label:n("invoices.customer")},{key:"status",label:n("invoices.status")},{key:"due_amount",label:n("dashboard.recent_invoices_card.amount_due")},{key:"total",label:n("invoices.total"),tdClass:"font-medium text-gray-900"},{key:"actions",label:n("invoices.action"),tdClass:"text-right text-sm font-medium",thClass:"text-right",sortable:!1}]);ge(s,()=>{Z()},{debounce:500}),Ie(()=>{c.selectAllField&&c.selectAllInvoices()});function H(){return E.hasAbilities([f.DELETE_INVOICE,f.EDIT_INVOICE,f.VIEW_INVOICE,f.SEND_INVOICE])}async function Y(a,r){s.status="",$()}function $(){k.value&&k.value.refresh()}async function q({page:a,filter:r,sort:_}){let S={customer_id:s.customer_id,status:s.status,from_date:s.from_date,to_date:s.to_date,invoice_number:s.invoice_number,orderByField:_.fieldName||"created_at",orderBy:_.order||"desc",page:a};T.value=!0;let d=await c.fetchInvoices(S);return T.value=!1,{data:d.data.data,pagination:{totalPages:d.data.meta.last_page,currentPage:a,totalCount:d.data.meta.total,limit:10}}}function X(a){if(u.value==a.title)return!0;switch(u.value=a.title,a.title){case n("general.draft"):s.status="DRAFT";break;case n("general.sent"):s.status="SENT";break;case n("general.due"):s.status="DUE";break;default:s.status="";break}}function Z(){c.$patch(a=>{a.selectedInvoices=[],a.selectAllField=!1}),$()}function U(){s.customer_id="",s.status="",s.from_date="",s.to_date="",s.invoice_number="",u.value=n("general.all")}async function J(){W.openDialog({title:n("general.are_you_sure"),message:n("invoices.confirm_delete"),yesLabel:n("general.ok"),noLabel:n("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async a=>{a&&await c.deleteMultipleInvoices().then(r=>{r.data.success&&($(),c.$patch(_=>{_.selectedInvoices=[],_.selectAllField=!1}))})})}function K(){b.value&&U(),b.value=!b.value}function Q(a){switch(a){case"DRAFT":u.value=n("general.draft");break;case"SENT":u.value=n("general.sent");break;case"DUE":u.value=n("general.due");break;case"COMPLETED":u.value=n("invoices.completed");break;case"PAID":u.value=n("invoices.paid");break;case"UNPAID":u.value=n("invoices.unpaid");break;case"PARTIALLY_PAID":u.value=n("invoices.partially_paid");break;case"VIEWED":u.value=n("invoices.viewed");break;case"OVERDUE":u.value=n("invoices.overdue");break;default:u.value=n("general.all");break}}return(a,r)=>{const _=i("BaseBreadcrumbItem"),S=i("BaseBreadcrumb"),d=i("BaseIcon"),P=i("BaseButton"),R=i("router-link"),ee=i("BasePageHeader"),te=i("BaseCustomerSelectInput"),g=i("BaseInputGroup"),ae=i("BaseMultiselect"),O=i("BaseDatePicker"),le=i("BaseInput"),se=i("BaseFilterWrapper"),oe=i("BaseEmptyPlaceholder"),C=i("BaseTab"),ne=i("BaseTabGroup"),ie=i("BaseDropdownItem"),re=i("BaseDropdown"),M=i("BaseCheckbox"),ce=i("BaseText"),x=i("BaseFormatMoney"),ue=i("BaseInvoiceStatusBadge"),de=i("BasePaidStatusBadge"),me=i("BaseTable"),ve=i("BasePage");return B(),y(ve,null,{default:l(()=>[t(Ve),t(ee,{title:a.$t("invoices.title")},{actions:l(()=>[D(t(P,{variant:"primary-outline",onClick:K},{right:l(e=>[b.value?(B(),y(d,{key:1,name:"XIcon",class:h(e.class)},null,8,["class"])):(B(),y(d,{key:0,name:"FilterIcon",class:h(e.class)},null,8,["class"]))]),default:l(()=>[m(v(a.$t("general.filter"))+" ",1)]),_:1},512),[[V,o(c).invoiceTotalCount]]),o(E).hasAbilities(o(f).CREATE_INVOICE)?(B(),y(R,{key:0,to:"invoices/create"},{default:l(()=>[t(P,{variant:"primary",class:"ml-4"},{left:l(e=>[t(d,{name:"PlusIcon",class:h(e.class)},null,8,["class"])]),default:l(()=>[m(" "+v(a.$t("invoices.new_invoice")),1)]),_:1})]),_:1})):L("",!0)]),default:l(()=>[t(S,null,{default:l(()=>[t(_,{title:a.$t("general.home"),to:"dashboard"},null,8,["title"]),t(_,{title:a.$tc("invoices.invoice",2),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),D(t(se,{"row-on-xl":!0,onClear:U},{default:l(()=>[t(g,{label:a.$tc("customers.customer",1)},{default:l(()=>[t(te,{modelValue:o(s).customer_id,"onUpdate:modelValue":r[0]||(r[0]=e=>o(s).customer_id=e),placeholder:a.$t("customers.type_or_click"),"value-prop":"id",label:"name"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),t(g,{label:a.$t("invoices.status")},{default:l(()=>[t(ae,{modelValue:o(s).status,"onUpdate:modelValue":[r[1]||(r[1]=e=>o(s).status=e),Q],groups:!0,options:G.value,searchable:"",placeholder:a.$t("general.select_a_status"),onRemove:r[2]||(r[2]=e=>Y())},null,8,["modelValue","options","placeholder"])]),_:1},8,["label"]),t(g,{label:a.$t("general.from")},{default:l(()=>[t(O,{modelValue:o(s).from_date,"onUpdate:modelValue":r[3]||(r[3]=e=>o(s).from_date=e),"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue"])]),_:1},8,["label"]),Te,t(g,{label:a.$t("general.to"),class:"mt-2"},{default:l(()=>[t(O,{modelValue:o(s).to_date,"onUpdate:modelValue":r[4]||(r[4]=e=>o(s).to_date=e),"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue"])]),_:1},8,["label"]),t(g,{label:a.$t("invoices.invoice_number")},{default:l(()=>[t(le,{modelValue:o(s).invoice_number,"onUpdate:modelValue":r[5]||(r[5]=e=>o(s).invoice_number=e)},{left:l(e=>[t(d,{name:"HashtagIcon",class:h(e.class)},null,8,["class"])]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1},512),[[V,b.value]]),D(t(oe,{title:a.$t("invoices.no_invoices"),description:a.$t("invoices.list_of_invoices")},j({default:l(()=>[t(Ce,{class:"mt-5 mb-4"})]),_:2},[o(E).hasAbilities(o(f).CREATE_INVOICE)?{name:"actions",fn:l(()=>[t(P,{variant:"primary-outline",onClick:r[6]||(r[6]=e=>a.$router.push("/admin/invoices/create"))},{left:l(e=>[t(d,{name:"PlusIcon",class:h(e.class)},null,8,["class"])]),default:l(()=>[m(" "+v(a.$t("invoices.add_new_invoice")),1)]),_:1})])}:void 0]),1032,["title","description"]),[[V,o(N)]]),D(p("div",Ae,[p("div",$e,[t(ne,{class:"-mb-5",onChange:X},{default:l(()=>[t(C,{title:a.$t("general.draft"),filter:"DRAFT"},null,8,["title"]),t(C,{title:a.$t("general.due"),filter:"DUE"},null,8,["title"]),t(C,{title:a.$t("general.sent"),filter:"SENT"},null,8,["title"]),t(C,{title:a.$t("general.all"),filter:""},null,8,["title"])]),_:1}),o(c).selectedInvoices.length&&o(E).hasAbilities(o(f).DELETE_INVOICE)?(B(),y(re,{key:0,class:"absolute float-right"},{activator:l(()=>[p("span",Se,[m(v(a.$t("general.actions"))+" ",1),t(d,{name:"ChevronDownIcon"})])]),default:l(()=>[t(ie,{onClick:J},{default:l(()=>[t(d,{name:"TrashIcon",class:"mr-3 text-gray-600"}),m(" "+v(a.$t("general.delete")),1)]),_:1})]),_:1})):L("",!0)]),t(me,{ref:(e,w)=>{w.table=e,k.value=e},data:q,columns:o(z),"placeholder-count":o(c).invoiceTotalCount>=20?10:5,class:"mt-10"},j({header:l(()=>[p("div",Pe,[t(M,{modelValue:o(c).selectAllField,"onUpdate:modelValue":r[7]||(r[7]=e=>o(c).selectAllField=e),variant:"primary",onChange:o(c).selectAllInvoices},null,8,["modelValue","onChange"])])]),"cell-checkbox":l(({row:e})=>[p("div",we,[t(M,{id:e.id,modelValue:o(A),"onUpdate:modelValue":r[8]||(r[8]=w=>Be(A)?A.value=w:null),value:e.data.id},null,8,["id","modelValue","value"])])]),"cell-name":l(({row:e})=>[t(ce,{text:e.data.customer.name,length:30},null,8,["text"])]),"cell-invoice_number":l(({row:e})=>[t(R,{to:{path:`invoices/${e.data.id}/view`},class:"font-medium text-primary-500"},{default:l(()=>[m(v(e.data.invoice_number),1)]),_:2},1032,["to"])]),"cell-invoice_date":l(({row:e})=>[m(v(e.data.formatted_invoice_date),1)]),"cell-total":l(({row:e})=>[t(x,{amount:e.data.total,currency:e.data.customer.currency},null,8,["amount","currency"])]),"cell-status":l(({row:e})=>[t(ue,{status:e.data.status,class:"px-3 py-1"},{default:l(()=>[m(v(e.data.status),1)]),_:2},1032,["status"])]),"cell-due_amount":l(({row:e})=>[p("div",Fe,[t(x,{amount:e.data.due_amount,currency:e.data.currency},null,8,["amount","currency"]),t(de,{status:e.data.paid_status,class:"px-1 py-0.5 ml-2"},{default:l(()=>[m(v(e.data.paid_status),1)]),_:2},1032,["status"])])]),_:2},[H()?{name:"cell-actions",fn:l(({row:e})=>[t(De,{row:e.data,table:k.value},null,8,["row","table"])])}:void 0]),1032,["columns","placeholder-count"])],512),[[V,!o(N)]])]),_:1})}}};export{Le as default}; +import{g as _e,am as pe,i as I,C as fe,j as be,k as F,aS as ge,aT as Ie,r as i,o as B,s as y,w as l,b as t,Z as D,al as V,y as o,z as h,v as m,x as v,A as L,a5 as j,t as p,a0 as Be}from"./vendor.e9042f2c.js";import{f as ye,i as he,u as ke,d as Ee,e as f}from"./main.f55cd568.js";import{M as Ce}from"./MoonwalkerIcon.a8d19439.js";import{_ as De}from"./InvoiceIndexDropdown.8a8f3a1b.js";import{_ as Ve}from"./SendInvoiceModal.59d8474e.js";const Te=p("div",{class:"hidden w-8 h-0 mx-4 border border-gray-400 border-solid xl:block",style:{"margin-top":"1.5rem"}},null,-1),Ae={class:"relative table-container"},$e={class:"relative flex items-center justify-between h-10 mt-5 list-none border-b-2 border-gray-200 border-solid"},Se={class:"flex text-sm font-medium cursor-pointer select-none text-primary-400"},Pe={class:"absolute items-center left-6 top-2.5 select-none"},we={class:"relative block"},Fe={class:"flex justify-between"},Le={setup(Ne){const c=ye(),W=he();ke();const{t:n}=_e();pe("$utils");const k=I(null),b=I(!1),G=I([{label:"Status",options:["DRAFT","DUE","SENT","VIEWED","OVERDUE","COMPLETED"]},{label:"Paid Status",options:["UNPAID","PAID","PARTIALLY_PAID"]},,]),T=I(!0),u=I("general.draft");fe();const E=Ee();let s=be({customer_id:"",status:"DRAFT",from_date:"",to_date:"",invoice_number:""});const N=F(()=>!c.invoiceTotalCount&&!T.value),A=F({get:()=>c.selectedInvoices,set:a=>c.selectInvoice(a)}),z=F(()=>[{key:"checkbox",thClass:"extra w-10",tdClass:"font-medium text-gray-900",placeholderClass:"w-10",sortable:!1},{key:"invoice_date",label:n("invoices.date"),thClass:"extra",tdClass:"font-medium"},{key:"invoice_number",label:n("invoices.number")},{key:"name",label:n("invoices.customer")},{key:"status",label:n("invoices.status")},{key:"due_amount",label:n("dashboard.recent_invoices_card.amount_due")},{key:"total",label:n("invoices.total"),tdClass:"font-medium text-gray-900"},{key:"actions",label:n("invoices.action"),tdClass:"text-right text-sm font-medium",thClass:"text-right",sortable:!1}]);ge(s,()=>{Z()},{debounce:500}),Ie(()=>{c.selectAllField&&c.selectAllInvoices()});function H(){return E.hasAbilities([f.DELETE_INVOICE,f.EDIT_INVOICE,f.VIEW_INVOICE,f.SEND_INVOICE])}async function Y(a,r){s.status="",$()}function $(){k.value&&k.value.refresh()}async function q({page:a,filter:r,sort:_}){let S={customer_id:s.customer_id,status:s.status,from_date:s.from_date,to_date:s.to_date,invoice_number:s.invoice_number,orderByField:_.fieldName||"created_at",orderBy:_.order||"desc",page:a};T.value=!0;let d=await c.fetchInvoices(S);return T.value=!1,{data:d.data.data,pagination:{totalPages:d.data.meta.last_page,currentPage:a,totalCount:d.data.meta.total,limit:10}}}function X(a){if(u.value==a.title)return!0;switch(u.value=a.title,a.title){case n("general.draft"):s.status="DRAFT";break;case n("general.sent"):s.status="SENT";break;case n("general.due"):s.status="DUE";break;default:s.status="";break}}function Z(){c.$patch(a=>{a.selectedInvoices=[],a.selectAllField=!1}),$()}function U(){s.customer_id="",s.status="",s.from_date="",s.to_date="",s.invoice_number="",u.value=n("general.all")}async function J(){W.openDialog({title:n("general.are_you_sure"),message:n("invoices.confirm_delete"),yesLabel:n("general.ok"),noLabel:n("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async a=>{a&&await c.deleteMultipleInvoices().then(r=>{r.data.success&&($(),c.$patch(_=>{_.selectedInvoices=[],_.selectAllField=!1}))})})}function K(){b.value&&U(),b.value=!b.value}function Q(a){switch(a){case"DRAFT":u.value=n("general.draft");break;case"SENT":u.value=n("general.sent");break;case"DUE":u.value=n("general.due");break;case"COMPLETED":u.value=n("invoices.completed");break;case"PAID":u.value=n("invoices.paid");break;case"UNPAID":u.value=n("invoices.unpaid");break;case"PARTIALLY_PAID":u.value=n("invoices.partially_paid");break;case"VIEWED":u.value=n("invoices.viewed");break;case"OVERDUE":u.value=n("invoices.overdue");break;default:u.value=n("general.all");break}}return(a,r)=>{const _=i("BaseBreadcrumbItem"),S=i("BaseBreadcrumb"),d=i("BaseIcon"),P=i("BaseButton"),R=i("router-link"),ee=i("BasePageHeader"),te=i("BaseCustomerSelectInput"),g=i("BaseInputGroup"),ae=i("BaseMultiselect"),O=i("BaseDatePicker"),le=i("BaseInput"),se=i("BaseFilterWrapper"),oe=i("BaseEmptyPlaceholder"),C=i("BaseTab"),ne=i("BaseTabGroup"),ie=i("BaseDropdownItem"),re=i("BaseDropdown"),M=i("BaseCheckbox"),ce=i("BaseText"),x=i("BaseFormatMoney"),ue=i("BaseInvoiceStatusBadge"),de=i("BasePaidStatusBadge"),me=i("BaseTable"),ve=i("BasePage");return B(),y(ve,null,{default:l(()=>[t(Ve),t(ee,{title:a.$t("invoices.title")},{actions:l(()=>[D(t(P,{variant:"primary-outline",onClick:K},{right:l(e=>[b.value?(B(),y(d,{key:1,name:"XIcon",class:h(e.class)},null,8,["class"])):(B(),y(d,{key:0,name:"FilterIcon",class:h(e.class)},null,8,["class"]))]),default:l(()=>[m(v(a.$t("general.filter"))+" ",1)]),_:1},512),[[V,o(c).invoiceTotalCount]]),o(E).hasAbilities(o(f).CREATE_INVOICE)?(B(),y(R,{key:0,to:"invoices/create"},{default:l(()=>[t(P,{variant:"primary",class:"ml-4"},{left:l(e=>[t(d,{name:"PlusIcon",class:h(e.class)},null,8,["class"])]),default:l(()=>[m(" "+v(a.$t("invoices.new_invoice")),1)]),_:1})]),_:1})):L("",!0)]),default:l(()=>[t(S,null,{default:l(()=>[t(_,{title:a.$t("general.home"),to:"dashboard"},null,8,["title"]),t(_,{title:a.$tc("invoices.invoice",2),to:"#",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),D(t(se,{"row-on-xl":!0,onClear:U},{default:l(()=>[t(g,{label:a.$tc("customers.customer",1)},{default:l(()=>[t(te,{modelValue:o(s).customer_id,"onUpdate:modelValue":r[0]||(r[0]=e=>o(s).customer_id=e),placeholder:a.$t("customers.type_or_click"),"value-prop":"id",label:"name"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),t(g,{label:a.$t("invoices.status")},{default:l(()=>[t(ae,{modelValue:o(s).status,"onUpdate:modelValue":[r[1]||(r[1]=e=>o(s).status=e),Q],groups:!0,options:G.value,searchable:"",placeholder:a.$t("general.select_a_status"),onRemove:r[2]||(r[2]=e=>Y())},null,8,["modelValue","options","placeholder"])]),_:1},8,["label"]),t(g,{label:a.$t("general.from")},{default:l(()=>[t(O,{modelValue:o(s).from_date,"onUpdate:modelValue":r[3]||(r[3]=e=>o(s).from_date=e),"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue"])]),_:1},8,["label"]),Te,t(g,{label:a.$t("general.to"),class:"mt-2"},{default:l(()=>[t(O,{modelValue:o(s).to_date,"onUpdate:modelValue":r[4]||(r[4]=e=>o(s).to_date=e),"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue"])]),_:1},8,["label"]),t(g,{label:a.$t("invoices.invoice_number")},{default:l(()=>[t(le,{modelValue:o(s).invoice_number,"onUpdate:modelValue":r[5]||(r[5]=e=>o(s).invoice_number=e)},{left:l(e=>[t(d,{name:"HashtagIcon",class:h(e.class)},null,8,["class"])]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1},512),[[V,b.value]]),D(t(oe,{title:a.$t("invoices.no_invoices"),description:a.$t("invoices.list_of_invoices")},j({default:l(()=>[t(Ce,{class:"mt-5 mb-4"})]),_:2},[o(E).hasAbilities(o(f).CREATE_INVOICE)?{name:"actions",fn:l(()=>[t(P,{variant:"primary-outline",onClick:r[6]||(r[6]=e=>a.$router.push("/admin/invoices/create"))},{left:l(e=>[t(d,{name:"PlusIcon",class:h(e.class)},null,8,["class"])]),default:l(()=>[m(" "+v(a.$t("invoices.add_new_invoice")),1)]),_:1})])}:void 0]),1032,["title","description"]),[[V,o(N)]]),D(p("div",Ae,[p("div",$e,[t(ne,{class:"-mb-5",onChange:X},{default:l(()=>[t(C,{title:a.$t("general.draft"),filter:"DRAFT"},null,8,["title"]),t(C,{title:a.$t("general.due"),filter:"DUE"},null,8,["title"]),t(C,{title:a.$t("general.sent"),filter:"SENT"},null,8,["title"]),t(C,{title:a.$t("general.all"),filter:""},null,8,["title"])]),_:1}),o(c).selectedInvoices.length&&o(E).hasAbilities(o(f).DELETE_INVOICE)?(B(),y(re,{key:0,class:"absolute float-right"},{activator:l(()=>[p("span",Se,[m(v(a.$t("general.actions"))+" ",1),t(d,{name:"ChevronDownIcon"})])]),default:l(()=>[t(ie,{onClick:J},{default:l(()=>[t(d,{name:"TrashIcon",class:"mr-3 text-gray-600"}),m(" "+v(a.$t("general.delete")),1)]),_:1})]),_:1})):L("",!0)]),t(me,{ref:(e,w)=>{w.table=e,k.value=e},data:q,columns:o(z),"placeholder-count":o(c).invoiceTotalCount>=20?10:5,class:"mt-10"},j({header:l(()=>[p("div",Pe,[t(M,{modelValue:o(c).selectAllField,"onUpdate:modelValue":r[7]||(r[7]=e=>o(c).selectAllField=e),variant:"primary",onChange:o(c).selectAllInvoices},null,8,["modelValue","onChange"])])]),"cell-checkbox":l(({row:e})=>[p("div",we,[t(M,{id:e.id,modelValue:o(A),"onUpdate:modelValue":r[8]||(r[8]=w=>Be(A)?A.value=w:null),value:e.data.id},null,8,["id","modelValue","value"])])]),"cell-name":l(({row:e})=>[t(ce,{text:e.data.customer.name,length:30},null,8,["text"])]),"cell-invoice_number":l(({row:e})=>[t(R,{to:{path:`invoices/${e.data.id}/view`},class:"font-medium text-primary-500"},{default:l(()=>[m(v(e.data.invoice_number),1)]),_:2},1032,["to"])]),"cell-invoice_date":l(({row:e})=>[m(v(e.data.formatted_invoice_date),1)]),"cell-total":l(({row:e})=>[t(x,{amount:e.data.total,currency:e.data.customer.currency},null,8,["amount","currency"])]),"cell-status":l(({row:e})=>[t(ue,{status:e.data.status,class:"px-3 py-1"},{default:l(()=>[m(v(e.data.status),1)]),_:2},1032,["status"])]),"cell-due_amount":l(({row:e})=>[p("div",Fe,[t(x,{amount:e.data.due_amount,currency:e.data.currency},null,8,["amount","currency"]),t(de,{status:e.data.paid_status,class:"px-1 py-0.5 ml-2"},{default:l(()=>[m(v(e.data.paid_status),1)]),_:2},1032,["status"])])]),_:2},[H()?{name:"cell-actions",fn:l(({row:e})=>[t(De,{row:e.data,table:k.value},null,8,["row","table"])])}:void 0]),1032,["columns","placeholder-count"])],512),[[V,!o(N)]])]),_:1})}}};export{Le as default}; diff --git a/public/build/assets/Installation.6f80372a.js b/public/build/assets/Installation.dba5af35.js similarity index 99% rename from public/build/assets/Installation.6f80372a.js rename to public/build/assets/Installation.dba5af35.js index 8b867fc1d..66fd40e4e 100644 --- a/public/build/assets/Installation.6f80372a.js +++ b/public/build/assets/Installation.dba5af35.js @@ -1 +1 @@ -var _e=Object.defineProperty;var se=Object.getOwnPropertySymbols;var be=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable;var de=(n,q,l)=>q in n?_e(n,q,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[q]=l,ue=(n,q)=>{for(var l in q||(q={}))be.call(q,l)&&de(n,l,q[l]);if(se)for(var l of se(q))$e.call(q,l)&&de(n,l,q[l]);return n};import{C as R,i as me,_ as ee,u as ae,v as H,d as ce,c as te,m as ge,L as we,D as ye}from"./main.c4ed6aa9.js";import{i as M,k as z,r as _,o as B,s as S,w as d,t as V,c as k,x as U,v as P,A as G,F as ne,H as ie,y as e,b as t,z as O,g as E,M as J,Z as oe,al as re,j as T,am as Q,m as I,n as D,aV as X,q as L,B as W,an as le,a2 as K,a0 as Y,p as he,aU as Ie,aQ as qe,a4 as fe,C as pe}from"./vendor.e9042f2c.js";const Be={class:"w-full md:w-2/3"},Ce={class:"mb-6"},Ve={key:0,class:"grid grid-flow-row grid-cols-3 p-3 border border-gray-200 lg:gap-24 sm:gap-4"},De={class:"col-span-2 text-sm"},Fe={class:"text-right"},Se={key:0,class:"inline-block w-4 h-4 ml-3 mr-2 rounded-full bg-green-500"},Me={key:1,class:"inline-block w-4 h-4 ml-3 mr-2 rounded-full bg-red-500"},ze={key:1},ke={class:"col-span-2 text-sm"},Ue={class:"text-right"},Pe={key:0,class:"inline-block w-4 h-4 ml-3 mr-2 rounded-full bg-green-500"},Ne={key:1,class:"inline-block w-4 h-4 ml-3 mr-2 rounded-full bg-red-500"},Ge={emits:["next"],setup(n,{emit:q}){const l=M(""),s=M(""),r=M(!1);M(!0);const y=R(),u=z(()=>{if(l.value){let m=!0;for(const o in l.value)return l.value[o]||(m=!1),l.value&&s.value.supported&&m}return!1});async function f(){var o,w,a,c;r.value=!0;const m=await y.fetchInstallationRequirements();m.data&&(l.value=(a=(w=(o=m==null?void 0:m.data)==null?void 0:o.requirements)==null?void 0:w.requirements)==null?void 0:a.php,s.value=(c=m==null?void 0:m.data)==null?void 0:c.phpSupportInfo)}function i(){r.value=!0,q("next"),r.value=!1}return(m,o)=>{const w=_("BaseIcon"),a=_("BaseButton"),c=_("BaseWizardStep");return B(),S(c,{title:m.$t("wizard.req.system_req"),description:m.$t("wizard.req.system_req_desc")},{default:d(()=>[V("div",Be,[V("div",Ce,[s.value?(B(),k("div",Ve,[V("div",De,U(m.$t("wizard.req.php_req_version",{version:s.value.minimum})),1),V("div",Fe,[P(U(s.value.current)+" ",1),s.value.supported?(B(),k("span",Se)):(B(),k("span",Me))])])):G("",!0),l.value?(B(),k("div",ze,[(B(!0),k(ne,null,ie(l.value,(b,C)=>(B(),k("div",{key:C,class:"grid grid-flow-row grid-cols-3 p-3 border border-gray-200 lg:gap-24 sm:gap-4"},[V("div",ke,U(C),1),V("div",Ue,[b?(B(),k("span",Pe)):(B(),k("span",Ne))])]))),128))])):G("",!0)]),e(u)?(B(),S(a,{key:0,onClick:i},{left:d(b=>[t(w,{name:"ArrowRightIcon",class:O(b.class)},null,8,["class"])]),default:d(()=>[P(U(m.$t("wizard.continue"))+" ",1)]),_:1})):G("",!0),l.value?G("",!0):(B(),S(a,{key:1,loading:r.value,disabled:r.value,onClick:f},{default:d(()=>[P(U(m.$t("wizard.req.check_req")),1)]),_:1},8,["loading","disabled"]))])]),_:1},8,["title","description"])}}},Ee={key:1,class:"relative"},Oe={class:"grid grid-flow-row grid-cols-3 lg:gap-24 sm:gap-4"},xe={class:"col-span-2 p-3"},Le={class:"p-3 text-right"},We={key:0,class:"inline-block w-4 h-4 ml-3 mr-2 rounded-full bg-green-500"},Te={key:1,class:"inline-block w-4 h-4 ml-3 mr-2 rounded-full bg-red-500"},Re={emits:["next"],setup(n,{emit:q}){let l=M(!1),s=M(!1),r=M([]);const{tm:y,t:u}=E(),f=R(),i=me();J(()=>{m()});async function m(){l.value=!0;const w=await f.fetchInstallationPermissions();r.value=w.data.permissions.permissions,w.data&&w.data.permissions.errors&&setTimeout(()=>{i.openDialog({title:y("wizard.permissions.permission_confirm_title"),message:u("wizard.permissions.permission_confirm_desc"),yesLabel:"OK",noLabel:"Cancel",variant:"danger",hideNoButton:!1,size:"lg"}).then(a=>{a.data&&(l.value=!1)})},500),l.value=!1}function o(){s.value=!0,q("next"),s.value=!1}return(w,a)=>{const c=_("BaseContentPlaceholdersText"),b=_("BaseContentPlaceholdersBox"),C=_("BaseContentPlaceholders"),g=_("BaseIcon"),v=_("BaseButton"),p=_("BaseWizardStep");return B(),S(p,{title:w.$t("wizard.permissions.permissions"),description:w.$t("wizard.permissions.permission_desc")},{default:d(()=>[e(l)?(B(),S(C,{key:0},{default:d(()=>[(B(),k(ne,null,ie(3,($,h)=>V("div",{key:h,class:"grid grid-flow-row grid-cols-3 lg:gap-24 sm:gap-4 border border-gray-200"},[t(c,{lines:1,class:"col-span-4 p-3"})])),64)),t(b,{rounded:!0,class:"mt-10",style:{width:"96px",height:"42px"}})]),_:1})):(B(),k("div",Ee,[(B(!0),k(ne,null,ie(e(r),($,h)=>(B(),k("div",{key:h,class:"border border-gray-200"},[V("div",Oe,[V("div",xe,U($.folder),1),V("div",Le,[$.isSet?(B(),k("span",We)):(B(),k("span",Te)),V("span",null,U($.permission),1)])])]))),128)),oe(t(v,{class:"mt-10",loading:e(s),disabled:e(s),onClick:o},{left:d($=>[t(g,{name:"ArrowRightIcon",class:O($.class)},null,8,["class"])]),default:d(()=>[P(" "+U(w.$t("wizard.continue")),1)]),_:1},8,["loading","disabled"]),[[re,!e(l)]])]))]),_:1},8,["title","description"])}}},je=["onSubmit"],Ae={class:"grid grid-cols-1 gap-5 md:grid-cols-2 lg:mb-6 md:mb-6"},Ye={props:{configData:{type:Object,require:!0,default:Object},isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,default:!1}},emits:["submit-data","on-change-driver"],setup(n,{emit:q}){const l=n,s=T(["sqlite","mysql","pgsql"]),{t:r}=E(),y=Q("utils"),u=R();J(()=>{for(const c in f.value)l.configData.hasOwnProperty(c)&&(f.value[c]=l.configData[c])});const f=z(()=>u.currentDataBaseData),i=c=>y.checkValidUrl(c),m={database_connection:{required:I.withMessage(r("validation.required"),D)},database_hostname:{required:I.withMessage(r("validation.required"),D)},database_port:{required:I.withMessage(r("validation.required"),D),numeric:X},database_name:{required:I.withMessage(r("validation.required"),D)},database_username:{required:I.withMessage(r("validation.required"),D)},app_url:{required:I.withMessage(r("validation.required"),D),isUrl:I.withMessage(r("validation.invalid_url"),i)}},o=L(m,f.value);function w(){if(o.value.$touch(),o.value.$invalid)return!0;q("submit-data",f.value)}function a(){o.value.database_connection.$touch(),q("on-change-driver",f.value.database_connection)}return(c,b)=>{const C=_("BaseInput"),g=_("BaseInputGroup"),v=_("BaseMultiselect"),p=_("BaseIcon"),$=_("BaseButton");return B(),k("form",{action:"",onSubmit:W(w,["prevent"])},[V("div",Ae,[t(g,{label:c.$t("wizard.database.app_url"),error:e(o).app_url.$error&&e(o).app_url.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).app_url,"onUpdate:modelValue":b[0]||(b[0]=h=>e(f).app_url=h),invalid:e(o).app_url.$error,type:"text"},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),t(g,{label:c.$t("wizard.database.connection"),error:e(o).database_connection.$error&&e(o).database_connection.$errors[0].$message,required:""},{default:d(()=>[t(v,{modelValue:e(f).database_connection,"onUpdate:modelValue":[b[1]||(b[1]=h=>e(f).database_connection=h),a],invalid:e(o).database_connection.$error,options:e(s),"can-deselect":!1,"can-clear":!1},null,8,["modelValue","invalid","options"])]),_:1},8,["label","error"]),t(g,{label:c.$t("wizard.database.port"),error:e(o).database_port.$error&&e(o).database_port.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_port,"onUpdate:modelValue":b[2]||(b[2]=h=>e(f).database_port=h),invalid:e(o).database_port.$error},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),t(g,{label:c.$t("wizard.database.db_name"),error:e(o).database_name.$error&&e(o).database_name.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_name,"onUpdate:modelValue":b[3]||(b[3]=h=>e(f).database_name=h),invalid:e(o).database_name.$error},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),t(g,{label:c.$t("wizard.database.username"),error:e(o).database_username.$error&&e(o).database_username.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_username,"onUpdate:modelValue":b[4]||(b[4]=h=>e(f).database_username=h),invalid:e(o).database_username.$error},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),t(g,{label:c.$t("wizard.database.password")},{default:d(()=>[t(C,{modelValue:e(f).database_password,"onUpdate:modelValue":b[5]||(b[5]=h=>e(f).database_password=h),type:"password"},null,8,["modelValue"])]),_:1},8,["label"]),t(g,{label:c.$t("wizard.database.host"),error:e(o).database_hostname.$error&&e(o).database_hostname.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_hostname,"onUpdate:modelValue":b[6]||(b[6]=h=>e(f).database_hostname=h),invalid:e(o).database_hostname.$error},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),t($,{type:"submit",class:"mt-4",loading:n.isSaving,disabled:n.isSaving},{left:d(h=>[n.isSaving?G("",!0):(B(),S(p,{key:0,name:"SaveIcon",class:O(h.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(c.$t("wizard.save_cont")),1)]),_:1},8,["loading","disabled"])],40,je)}}},Ze=["onSubmit"],He={class:"grid grid-cols-1 gap-5 md:grid-cols-2 lg:mb-6 md:mb-6"},Je={props:{configData:{type:Object,require:!0,default:Object},isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1}},emits:["submit-data","on-change-driver"],setup(n,{emit:q}){const l=n,s=T(["sqlite","mysql","pgsql"]),{t:r}=E(),y=Q("utils"),u=R(),f=z(()=>u.currentDataBaseData);J(()=>{for(const c in f.value)l.configData.hasOwnProperty(c)&&(f.value[c]=l.configData[c])});const i=c=>y.checkValidUrl(c),m={database_connection:{required:I.withMessage(r("validation.required"),D)},database_hostname:{required:I.withMessage(r("validation.required"),D)},database_port:{required:I.withMessage(r("validation.required"),D),numeric:X},database_name:{required:I.withMessage(r("validation.required"),D)},database_username:{required:I.withMessage(r("validation.required"),D)},app_url:{required:I.withMessage(r("validation.required"),D),isUrl:I.withMessage(r("validation.invalid_url"),i)}},o=L(m,f.value);function w(){if(o.value.$touch(),o.value.$invalid)return!0;q("submit-data",f.value)}function a(){o.value.database_connection.$touch(),q("on-change-driver",f.value.database_connection)}return(c,b)=>{const C=_("BaseInput"),g=_("BaseInputGroup"),v=_("BaseMultiselect"),p=_("BaseIcon"),$=_("BaseButton");return B(),k("form",{action:"",onSubmit:W(w,["prevent"])},[V("div",He,[t(g,{label:c.$t("wizard.database.app_url"),"content-loading":n.isFetchingInitialData,error:e(o).app_url.$error&&e(o).app_url.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).app_url,"onUpdate:modelValue":b[0]||(b[0]=h=>e(f).app_url=h),"content-loading":n.isFetchingInitialData,invalid:e(o).app_url.$error,type:"text"},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),t(g,{label:c.$t("wizard.database.connection"),"content-loading":n.isFetchingInitialData,error:e(o).database_connection.$error&&e(o).database_connection.$errors[0].$message,required:""},{default:d(()=>[t(v,{modelValue:e(f).database_connection,"onUpdate:modelValue":[b[1]||(b[1]=h=>e(f).database_connection=h),a],"content-loading":n.isFetchingInitialData,invalid:e(o).database_connection.$error,options:e(s),"can-deselect":!1,"can-clear":!1},null,8,["modelValue","content-loading","invalid","options"])]),_:1},8,["label","content-loading","error"]),t(g,{label:c.$t("wizard.database.port"),"content-loading":n.isFetchingInitialData,error:e(o).database_port.$error&&e(o).database_port.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_port,"onUpdate:modelValue":b[2]||(b[2]=h=>e(f).database_port=h),"content-loading":n.isFetchingInitialData,invalid:e(o).database_port.$error},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),t(g,{label:c.$t("wizard.database.db_name"),"content-loading":n.isFetchingInitialData,error:e(o).database_name.$error&&e(o).database_name.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_name,"onUpdate:modelValue":b[3]||(b[3]=h=>e(f).database_name=h),"content-loading":n.isFetchingInitialData,invalid:e(o).database_name.$error},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),t(g,{label:c.$t("wizard.database.username"),"content-loading":n.isFetchingInitialData,error:e(o).database_username.$error&&e(o).database_username.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_username,"onUpdate:modelValue":b[4]||(b[4]=h=>e(f).database_username=h),"content-loading":n.isFetchingInitialData,invalid:e(o).database_username.$error},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),t(g,{"content-loading":n.isFetchingInitialData,label:c.$t("wizard.database.password")},{default:d(()=>[t(C,{modelValue:e(f).database_password,"onUpdate:modelValue":b[5]||(b[5]=h=>e(f).database_password=h),"content-loading":n.isFetchingInitialData,type:"password"},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label"]),t(g,{label:c.$t("wizard.database.host"),"content-loading":n.isFetchingInitialData,error:e(o).database_hostname.$error&&e(o).database_hostname.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_hostname,"onUpdate:modelValue":b[6]||(b[6]=h=>e(f).database_hostname=h),"content-loading":n.isFetchingInitialData,invalid:e(o).database_hostname.$error},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"])]),oe(t($,{"content-loading":n.isFetchingInitialData,type:"submit",class:"mt-4",loading:n.isSaving,disabled:n.isSaving},{left:d(h=>[n.isSaving?G("",!0):(B(),S(p,{key:0,name:"SaveIcon",class:O(h.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(c.$t("wizard.save_cont")),1)]),_:1},8,["content-loading","loading","disabled"]),[[re,!n.isFetchingInitialData]])],40,Ze)}}},Ke=["onSubmit"],Qe={class:"grid grid-cols-1 gap-5 md:grid-cols-2 lg:mb-6 md:mb-6"},Xe={props:{configData:{type:Object,require:!0,default:Object},isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1}},emits:["submit-data","on-change-driver"],setup(n,{emit:q}){const l=n,s=T(["sqlite","mysql","pgsql"]),{t:r}=E(),y=Q("utils"),u=R(),f=z(()=>u.currentDataBaseData);J(()=>{for(const c in f.value)l.configData.hasOwnProperty(c)&&(f.value[c]=l.configData[c])});const i=c=>y.checkValidUrl(c),m={database_connection:{required:I.withMessage(r("validation.required"),D)},database_name:{required:I.withMessage(r("validation.required"),D)},app_url:{required:I.withMessage(r("validation.required"),D),isUrl:I.withMessage(r("validation.invalid_url"),i)}},o=L(m,f.value);function w(){if(o.value.$touch(),o.value.$invalid)return!0;q("submit-data",f.value)}function a(){o.value.database_connection.$touch(),q("on-change-driver",f.value.database_connection)}return(c,b)=>{const C=_("BaseInput"),g=_("BaseInputGroup"),v=_("BaseMultiselect"),p=_("BaseIcon"),$=_("BaseButton");return B(),k("form",{action:"",onSubmit:W(w,["prevent"])},[V("div",Qe,[t(g,{label:c.$t("wizard.database.app_url"),"content-loading":n.isFetchingInitialData,error:e(o).app_url.$error&&e(o).app_url.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).app_url,"onUpdate:modelValue":b[0]||(b[0]=h=>e(f).app_url=h),"content-loading":n.isFetchingInitialData,invalid:e(o).app_url.$error,type:"text"},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),t(g,{label:c.$t("wizard.database.connection"),"content-loading":n.isFetchingInitialData,error:e(o).database_connection.$error&&e(o).database_connection.$errors[0].$message,required:""},{default:d(()=>[t(v,{modelValue:e(f).database_connection,"onUpdate:modelValue":[b[1]||(b[1]=h=>e(f).database_connection=h),a],"content-loading":n.isFetchingInitialData,invalid:e(o).database_connection.$error,options:e(s),"can-deselect":!1,"can-clear":!1},null,8,["modelValue","content-loading","invalid","options"])]),_:1},8,["label","content-loading","error"]),t(g,{label:c.$t("wizard.database.db_path"),error:e(o).database_name.$error&&e(o).database_name.$errors[0].$message,"content-loading":n.isFetchingInitialData,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_name,"onUpdate:modelValue":b[2]||(b[2]=h=>e(f).database_name=h),"content-loading":n.isFetchingInitialData,invalid:e(o).database_name.$error},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","error","content-loading"])]),oe(t($,{"content-loading":n.isFetchingInitialData,type:"submit",class:"mt-4",loading:n.isSaving,disabled:n.isSaving},{left:d(h=>[n.isSaving?G("",!0):(B(),S(p,{key:0,name:"SaveIcon",class:O(h.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(c.$t("wizard.save_cont")),1)]),_:1},8,["content-loading","loading","disabled"]),[[re,!n.isFetchingInitialData]])],40,Ke)}}},ea={components:{Mysql:Ye,Pgsql:Je,Sqlite:Xe},emits:["next"],setup(n,{emit:q}){const l=M("mysql"),s=M(!1),{t:r}=E(),y=ae(),u=R(),f=z(()=>u.currentDataBaseData);async function i(o){let w={connection:o};const a=await u.fetchInstallationDatabase(w);a.data.success&&(f.value.database_connection=a.data.config.database_connection),o==="sqlite"?f.value.database_name=a.data.config.database_name:f.value.database_name=null}async function m(o){s.value=!0;try{let w=await u.addInstallationDatabase(o);if(s.value=!1,w.data.success){await u.addInstallationFinish(),q("next",3),y.showNotification({type:"success",message:r("wizard.success."+w.data.success)});return}else if(w.data.error){if(w.data.requirement){y.showNotification({type:"error",message:r("wizard.errors."+w.data.error,{version:w.data.requirement.minimum,name:o.value.database_connection})});return}y.showNotification({type:"error",message:r("wizard.errors."+w.data.error)})}else w.data.errors?y.showNotification({type:"error",message:w.data.errors[0]}):w.data.error_message&&y.showNotification({type:"error",message:w.data.error_message})}catch{y.showNotification({type:"error",message:r("validation.something_went_wrong")}),s.value=!1}finally{s.value=!1}}return{databaseData:f,database_connection:l,isSaving:s,getDatabaseConfig:i,next:m}}};function aa(n,q,l,s,r,y){const u=_("BaseWizardStep");return B(),S(u,{title:n.$t("wizard.database.database"),description:n.$t("wizard.database.desc"),"step-container":"w-full p-8 mb-8 bg-white border border-gray-200 border-solid rounded md:w-full"},{default:d(()=>[(B(),S(le(s.databaseData.database_connection),{"config-data":s.databaseData,"is-saving":s.isSaving,onOnChangeDriver:s.getDatabaseConfig,onSubmitData:s.next},null,8,["config-data","is-saving","onOnChangeDriver","onSubmitData"]))]),_:1},8,["title","description"])}var ta=ee(ea,[["render",aa]]);const na={class:"w-full md:w-2/3"},ia=V("p",{class:"mt-4 mb-0 text-sm text-gray-600"},"Notes:",-1),oa=V("ul",{class:"w-full text-gray-600 list-disc list-inside"},[V("li",{class:"text-sm leading-8"},[P(" App domain should not contain "),V("b",{class:"inline-block px-1 bg-gray-100 rounded-sm"},"https://"),P(" or "),V("b",{class:"inline-block px-1 bg-gray-100 rounded-sm"},"http"),P(" in front of the domain. ")]),V("li",{class:"text-sm leading-8"},[P(" If you're accessing the website on a different port, please mention the port. For example: "),V("b",{class:"inline-block px-1 bg-gray-100"},"localhost:8080")])],-1),ra={emits:["next"],setup(n,{emit:q}){const l=T({app_domain:window.location.origin.replace(/(^\w+:|^)\/\//,"")}),s=M(!1),{t:r}=E(),y=Q("utils"),u=a=>y.checkValidDomainUrl(a),f=R(),i=ae(),m={app_domain:{required:I.withMessage(r("validation.required"),D),isUrl:I.withMessage(r("validation.invalid_domain_url"),u)}},o=L(m,z(()=>l));async function w(){if(o.value.$touch(),o.value.$invalid)return!0;s.value=!0;try{await f.setInstallationDomain(l),await f.installationLogin(),(await f.checkAutheticated()).data&&q("next",4),s.value=!1}catch{i.showNotification({type:"error",message:r("wizard.verify_domain.failed")}),s.value=!1}}return(a,c)=>{const b=_("BaseInput"),C=_("BaseInputGroup"),g=_("BaseButton"),v=_("BaseWizardStep");return B(),S(v,{title:a.$t("wizard.verify_domain.title"),description:a.$t("wizard.verify_domain.desc")},{default:d(()=>[V("div",na,[t(C,{label:a.$t("wizard.verify_domain.app_domain"),error:e(o).app_domain.$error&&e(o).app_domain.$errors[0].$message,required:""},{default:d(()=>[t(b,{modelValue:e(l).app_domain,"onUpdate:modelValue":c[0]||(c[0]=p=>e(l).app_domain=p),invalid:e(o).app_domain.$error,type:"text",onInput:c[1]||(c[1]=p=>e(o).app_domain.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),ia,oa,t(g,{loading:s.value,disabled:s.value,class:"mt-8",onClick:w},{default:d(()=>[P(U(a.$t("wizard.verify_domain.verify_now")),1)]),_:1},8,["loading","disabled"])]),_:1},8,["title","description"])}}},la=["onSubmit"],sa={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},da={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},ua={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},ma={class:"grid grid-cols-1 gap-4 mb-6 md:grid-cols-2"},ca={props:{isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1}},emits:["submit-data","on-change-driver"],setup(n,{emit:q}){let l=M(!1);const s=T(["tls","ssl","starttls"]),{t:r}=E(),y=H(),u=z(()=>y.smtpConfig),f=z(()=>l.value?"text":"password");u.value.mail_driver="smtp";const i=z(()=>({smtpConfig:{mail_driver:{required:I.withMessage(r("validation.required"),D)},mail_host:{required:I.withMessage(r("validation.required"),D)},mail_port:{required:I.withMessage(r("validation.required"),D),numeric:I.withMessage(r("validation.numbers_only"),X)},mail_encryption:{required:I.withMessage(r("validation.required"),D)},from_mail:{required:I.withMessage(r("validation.required"),D),email:I.withMessage(r("validation.email_incorrect"),K)},from_name:{required:I.withMessage(r("validation.required"),D)}}})),m=L(i,z(()=>y));async function o(){return m.value.$touch(),m.value.$invalid||q("submit-data",y.smtpConfig),!1}function w(){m.value.smtpConfig.mail_driver.$touch(),q("on-change-driver",y.smtpConfig.mail_driver)}return(a,c)=>{const b=_("BaseMultiselect"),C=_("BaseInputGroup"),g=_("BaseInput"),v=_("BaseIcon"),p=_("BaseButton");return B(),k("form",{onSubmit:W(o,["prevent"])},[V("div",sa,[t(C,{label:a.$t("wizard.mail.driver"),"content-loading":n.isFetchingInitialData,error:e(m).smtpConfig.mail_driver.$error&&e(m).smtpConfig.mail_driver.$errors[0].$message,required:""},{default:d(()=>[t(b,{modelValue:e(u).mail_driver,"onUpdate:modelValue":[c[0]||(c[0]=$=>e(u).mail_driver=$),w],options:e(y).mail_drivers,"can-deselect":!1,"content-loading":n.isFetchingInitialData,invalid:e(m).smtpConfig.mail_driver.$error},null,8,["modelValue","options","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),t(C,{label:a.$t("wizard.mail.host"),"content-loading":n.isFetchingInitialData,error:e(m).smtpConfig.mail_host.$error&&e(m).smtpConfig.mail_host.$errors[0].$message,required:""},{default:d(()=>[t(g,{modelValue:e(u).mail_host,"onUpdate:modelValue":c[1]||(c[1]=$=>e(u).mail_host=$),modelModifiers:{trim:!0},invalid:e(m).smtpConfig.mail_host.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"mail_host",onInput:c[2]||(c[2]=$=>e(m).smtpConfig.mail_host.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"])]),V("div",da,[t(C,{label:a.$t("wizard.mail.username"),"content-loading":n.isFetchingInitialData},{default:d(()=>[t(g,{modelValue:e(u).mail_username,"onUpdate:modelValue":c[3]||(c[3]=$=>e(u).mail_username=$),modelModifiers:{trim:!0},"content-loading":n.isFetchingInitialData,type:"text",name:"db_name"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"]),t(C,{label:a.$t("wizard.mail.password"),"content-loading":n.isFetchingInitialData},{default:d(()=>[t(g,{modelValue:e(u).mail_password,"onUpdate:modelValue":c[6]||(c[6]=$=>e(u).mail_password=$),modelModifiers:{trim:!0},type:e(f),"content-loading":n.isFetchingInitialData,autocomplete:"off","data-lpignore":"true",name:"password"},{right:d(()=>[e(l)?(B(),S(v,{key:0,name:"EyeOffIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:c[4]||(c[4]=$=>Y(l)?l.value=!e(l):l=!e(l))})):(B(),S(v,{key:1,name:"EyeIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:c[5]||(c[5]=$=>Y(l)?l.value=!e(l):l=!e(l))}))]),_:1},8,["modelValue","type","content-loading"])]),_:1},8,["label","content-loading"])]),V("div",ua,[t(C,{label:a.$t("wizard.mail.port"),error:e(m).smtpConfig.mail_port.$error&&e(m).smtpConfig.mail_port.$errors[0].$message,"content-loading":n.isFetchingInitialData,required:""},{default:d(()=>[t(g,{modelValue:e(u).mail_port,"onUpdate:modelValue":c[7]||(c[7]=$=>e(u).mail_port=$),modelModifiers:{trim:!0},invalid:e(m).smtpConfig.mail_port.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"mail_port",onInput:c[8]||(c[8]=$=>e(m).smtpConfig.mail_port.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","error","content-loading"]),t(C,{label:a.$t("wizard.mail.encryption"),error:e(m).smtpConfig.mail_encryption.$error&&e(m).smtpConfig.mail_encryption.$errors[0].$message,"content-loading":n.isFetchingInitialData,required:""},{default:d(()=>[t(b,{modelValue:e(u).mail_encryption,"onUpdate:modelValue":c[9]||(c[9]=$=>e(u).mail_encryption=$),modelModifiers:{trim:!0},options:e(s),"can-deselect":!1,invalid:e(m).smtpConfig.mail_encryption.$error,"content-loading":n.isFetchingInitialData,onInput:c[10]||(c[10]=$=>e(m).smtpConfig.mail_encryption.$touch())},null,8,["modelValue","options","invalid","content-loading"])]),_:1},8,["label","error","content-loading"])]),V("div",ma,[t(C,{label:a.$t("wizard.mail.from_mail"),error:e(m).smtpConfig.from_mail.$error&&e(m).smtpConfig.from_mail.$errors[0].$message,"content-loading":n.isFetchingInitialData,required:""},{default:d(()=>[t(g,{modelValue:e(u).from_mail,"onUpdate:modelValue":c[11]||(c[11]=$=>e(u).from_mail=$),modelModifiers:{trim:!0},invalid:e(m).smtpConfig.from_mail.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"from_mail",onInput:c[12]||(c[12]=$=>e(m).smtpConfig.from_mail.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","error","content-loading"]),t(C,{label:a.$t("wizard.mail.from_name"),error:e(m).smtpConfig.from_name.$error&&e(m).smtpConfig.from_name.$errors[0].$message,"content-loading":n.isFetchingInitialData,required:""},{default:d(()=>[t(g,{modelValue:e(u).from_name,"onUpdate:modelValue":c[13]||(c[13]=$=>e(u).from_name=$),modelModifiers:{trim:!0},invalid:e(m).smtpConfig.from_name.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"from_name",onInput:c[14]||(c[14]=$=>e(m).smtpConfig.from_name.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","error","content-loading"])]),t(p,{loading:n.isSaving,disabled:n.isSaving,"content-loading":n.isFetchingInitialData,class:"mt-4"},{left:d($=>[n.isSaving?G("",!0):(B(),S(v,{key:0,name:"SaveIcon",class:O($.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(a.$t("general.save")),1)]),_:1},8,["loading","disabled","content-loading"])],40,la)}}},ga=["onSubmit"],fa={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 lg:mb-6 md:mb-6"},pa={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 lg:mb-6 md:mb-6"},va={class:"grid grid-cols-1 gap-4 mb-6 md:grid-cols-2"},_a={props:{isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1}},emits:["submit-data","on-change-driver"],setup(n,{emit:q}){let l=M(!1);const s=H(),{t:r}=E(),y=z(()=>s.mailgunConfig),u=z(()=>l.value?"text":"password");y.value.mail_driver="mailgun";const f=z(()=>({mailgunConfig:{mail_driver:{required:I.withMessage(r("validation.required"),D)},mail_mailgun_domain:{required:I.withMessage(r("validation.required"),D)},mail_mailgun_endpoint:{required:I.withMessage(r("validation.required"),D)},mail_mailgun_secret:{required:I.withMessage(r("validation.required"),D)},from_mail:{required:I.withMessage(r("validation.required"),D),email:K},from_name:{required:I.withMessage(r("validation.required"),D)}}})),i=L(f,z(()=>s));function m(){return i.value.$touch(),i.value.$invalid||q("submit-data",s.mailgunConfig),!1}function o(){i.value.mailgunConfig.mail_driver.$touch(),q("on-change-driver",s.mailgunConfig.mail_driver)}return(w,a)=>{const c=_("BaseMultiselect"),b=_("BaseInputGroup"),C=_("BaseInput"),g=_("BaseIcon"),v=_("BaseButton");return B(),k("form",{onSubmit:W(m,["prevent"])},[V("div",fa,[t(b,{label:w.$t("wizard.mail.driver"),"content-loading":n.isFetchingInitialData,error:e(i).mailgunConfig.mail_driver.$error&&e(i).mailgunConfig.mail_driver.$errors[0].$message,required:""},{default:d(()=>[t(c,{modelValue:e(y).mail_driver,"onUpdate:modelValue":[a[0]||(a[0]=p=>e(y).mail_driver=p),o],options:e(s).mail_drivers,"can-deselect":!1,invalid:e(i).mailgunConfig.mail_driver.$error,"content-loading":n.isFetchingInitialData},null,8,["modelValue","options","invalid","content-loading"])]),_:1},8,["label","content-loading","error"]),t(b,{label:w.$t("wizard.mail.mailgun_domain"),"content-loading":n.isFetchingInitialData,error:e(i).mailgunConfig.mail_mailgun_domain.$error&&e(i).mailgunConfig.mail_mailgun_domain.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(y).mail_mailgun_domain,"onUpdate:modelValue":a[1]||(a[1]=p=>e(y).mail_mailgun_domain=p),modelModifiers:{trim:!0},invalid:e(i).mailgunConfig.mail_mailgun_domain.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"mailgun_domain",onInput:a[2]||(a[2]=p=>e(i).mailgunConfig.mail_mailgun_domain.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"])]),V("div",pa,[t(b,{label:w.$t("wizard.mail.mailgun_secret"),"content-loading":n.isFetchingInitialData,error:e(i).mailgunConfig.mail_mailgun_secret.$error&&e(i).mailgunConfig.mail_mailgun_secret.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(y).mail_mailgun_secret,"onUpdate:modelValue":a[5]||(a[5]=p=>e(y).mail_mailgun_secret=p),modelModifiers:{trim:!0},invalid:e(i).mailgunConfig.mail_mailgun_secret.$error,type:e(u),"content-loading":n.isFetchingInitialData,name:"mailgun_secret",autocomplete:"off","data-lpignore":"true",onInput:a[6]||(a[6]=p=>e(i).mailgunConfig.mail_mailgun_secret.$touch())},{right:d(()=>[e(l)?(B(),S(g,{key:0,name:"EyeOffIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:a[3]||(a[3]=p=>Y(l)?l.value=!e(l):l=!e(l))})):(B(),S(g,{key:1,name:"EyeIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:a[4]||(a[4]=p=>Y(l)?l.value=!e(l):l=!e(l))}))]),_:1},8,["modelValue","invalid","type","content-loading"])]),_:1},8,["label","content-loading","error"]),t(b,{label:w.$t("wizard.mail.mailgun_endpoint"),"content-loading":n.isFetchingInitialData,error:e(i).mailgunConfig.mail_mailgun_endpoint.$error&&e(i).mailgunConfig.mail_mailgun_endpoint.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(y).mail_mailgun_endpoint,"onUpdate:modelValue":a[7]||(a[7]=p=>e(y).mail_mailgun_endpoint=p),modelModifiers:{trim:!0},invalid:e(i).mailgunConfig.mail_mailgun_endpoint.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"mailgun_endpoint",onInput:a[8]||(a[8]=p=>e(i).mailgunConfig.mail_mailgun_endpoint.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"])]),V("div",va,[t(b,{label:w.$t("wizard.mail.from_mail"),"content-loading":n.isFetchingInitialData,error:e(i).mailgunConfig.from_mail.$error&&e(i).mailgunConfig.from_mail.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(y).from_mail,"onUpdate:modelValue":a[9]||(a[9]=p=>e(y).from_mail=p),modelModifiers:{trim:!0},name:"from_mail",type:"text",invalid:e(i).mailgunConfig.from_mail.$error,"content-loading":n.isFetchingInitialData,onInput:a[10]||(a[10]=p=>e(i).mailgunConfig.from_mail.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"]),t(b,{label:w.$t("wizard.mail.from_name"),"content-loading":n.isFetchingInitialData,error:e(i).mailgunConfig.from_name.$error&&e(i).mailgunConfig.from_name.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(y).from_name,"onUpdate:modelValue":a[11]||(a[11]=p=>e(y).from_name=p),modelModifiers:{trim:!0},invalid:e(i).mailgunConfig.from_name.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"from_name",onInput:a[12]||(a[12]=p=>e(i).mailgunConfig.from_name.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"])]),t(v,{loading:w.loading,disabled:n.isSaving,"content-loading":n.isFetchingInitialData,class:"mt-4"},{left:d(p=>[n.isSaving?G("",!0):(B(),S(g,{key:0,name:"SaveIcon",class:O(p.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(w.$t("general.save")),1)]),_:1},8,["loading","disabled","content-loading"])],40,ga)}}},ba=["onSubmit"],$a={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},wa={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},ya={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},ha={class:"grid grid-cols-1 gap-4 mb-6 md:grid-cols-2"},Ia={props:{isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1}},emits:["submit-data","on-change-driver"],setup(n,{emit:q}){const{t:l}=E(),s=T(["tls","ssl","starttls"]);let r=M(!1);const y=H(),u=z(()=>y.sesConfig);u.value.mail_driver="ses";const f=z(()=>({sesConfig:{mail_driver:{required:I.withMessage(l("validation.required"),D)},mail_host:{required:I.withMessage(l("validation.required"),D)},mail_port:{required:I.withMessage(l("validation.required"),D),numeric:X},mail_ses_key:{required:I.withMessage(l("validation.required"),D)},mail_ses_secret:{required:I.withMessage(l("validation.required"),D)},mail_encryption:{required:I.withMessage(l("validation.required"),D)},from_mail:{required:I.withMessage(l("validation.required"),D),email:I.withMessage(l("validation.email_incorrect"),K)},from_name:{required:I.withMessage(l("validation.required"),D)}}})),i=L(f,z(()=>y));async function m(){return i.value.$touch(),i.value.$invalid||q("submit-data",y.sesConfig),!1}function o(){i.value.sesConfig.mail_driver.$touch(),q("on-change-driver",y.sesConfig.mail_driver)}return(w,a)=>{const c=_("BaseMultiselect"),b=_("BaseInputGroup"),C=_("BaseInput"),g=_("BaseIcon"),v=_("BaseButton");return B(),k("form",{onSubmit:W(m,["prevent"])},[V("div",$a,[t(b,{label:w.$t("wizard.mail.driver"),"content-loading":n.isFetchingInitialData,error:e(i).sesConfig.mail_driver.$error&&e(i).sesConfig.mail_driver.$errors[0].$message,required:""},{default:d(()=>[t(c,{modelValue:e(u).mail_driver,"onUpdate:modelValue":[a[0]||(a[0]=p=>e(u).mail_driver=p),o],options:e(y).mail_drivers,"can-deselect":!1,"content-loading":n.isFetchingInitialData,invalid:e(i).sesConfig.mail_driver.$error},null,8,["modelValue","options","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),t(b,{label:w.$t("wizard.mail.host"),"content-loading":n.isFetchingInitialData,error:e(i).sesConfig.mail_host.$error&&e(i).sesConfig.mail_host.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(u).mail_host,"onUpdate:modelValue":a[1]||(a[1]=p=>e(u).mail_host=p),modelModifiers:{trim:!0},invalid:e(i).sesConfig.mail_host.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"mail_host",onInput:a[2]||(a[2]=p=>e(i).sesConfig.mail_host.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"])]),V("div",wa,[t(b,{label:w.$t("wizard.mail.port"),"content-loading":n.isFetchingInitialData,error:e(i).sesConfig.mail_port.$error&&e(i).sesConfig.mail_port.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(u).mail_port,"onUpdate:modelValue":a[3]||(a[3]=p=>e(u).mail_port=p),modelModifiers:{trim:!0},invalid:e(i).sesConfig.mail_port.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"mail_port",onInput:a[4]||(a[4]=p=>e(i).sesConfig.mail_port.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"]),t(b,{label:w.$t("wizard.mail.encryption"),"content-loading":n.isFetchingInitialData,error:e(i).sesConfig.mail_encryption.$error&&e(i).sesConfig.mail_encryption.$errors[0].$message,required:""},{default:d(()=>[t(c,{modelValue:e(u).mail_encryption,"onUpdate:modelValue":a[5]||(a[5]=p=>e(u).mail_encryption=p),modelModifiers:{trim:!0},invalid:e(i).sesConfig.mail_encryption.$error,options:e(s),"content-loading":n.isFetchingInitialData,onInput:a[6]||(a[6]=p=>e(i).sesConfig.mail_encryption.$touch())},null,8,["modelValue","invalid","options","content-loading"])]),_:1},8,["label","content-loading","error"])]),V("div",ya,[t(b,{label:w.$t("wizard.mail.from_mail"),"content-loading":n.isFetchingInitialData,error:e(i).sesConfig.from_mail.$error&&e(i).sesConfig.from_mail.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(u).from_mail,"onUpdate:modelValue":a[7]||(a[7]=p=>e(u).from_mail=p),modelModifiers:{trim:!0},invalid:e(i).sesConfig.from_mail.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"from_mail",onInput:a[8]||(a[8]=p=>e(i).sesConfig.from_mail.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"]),t(b,{label:w.$t("wizard.mail.from_name"),"content-loading":n.isFetchingInitialData,error:e(i).sesConfig.from_name.$error&&e(i).sesConfig.from_name.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(u).from_name,"onUpdate:modelValue":a[9]||(a[9]=p=>e(u).from_name=p),modelModifiers:{trim:!0},invalid:e(i).sesConfig.from_name.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"name",onInput:a[10]||(a[10]=p=>e(i).sesConfig.from_name.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"])]),V("div",ha,[t(b,{label:w.$t("wizard.mail.ses_key"),"content-loading":n.isFetchingInitialData,error:e(i).sesConfig.mail_ses_key.$error&&e(i).sesConfig.mail_ses_key.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(u).mail_ses_key,"onUpdate:modelValue":a[11]||(a[11]=p=>e(u).mail_ses_key=p),modelModifiers:{trim:!0},invalid:e(i).sesConfig.mail_ses_key.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"mail_ses_key",onInput:a[12]||(a[12]=p=>e(i).sesConfig.mail_ses_key.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"]),t(b,{label:w.$t("wizard.mail.ses_secret"),"content-loading":n.isFetchingInitialData,error:e(i).sesConfig.mail_ses_secret.$error&&e(i).sesConfig.mail_ses_secret.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(u).mail_ses_secret,"onUpdate:modelValue":a[15]||(a[15]=p=>e(u).mail_ses_secret=p),modelModifiers:{trim:!0},invalid:e(i).sesConfig.mail_ses_secret.$error,type:w.getInputType,"content-loading":n.isFetchingInitialData,name:"mail_ses_secret",autocomplete:"off","data-lpignore":"true",onInput:a[16]||(a[16]=p=>e(i).sesConfig.mail_ses_secret.$touch())},{right:d(()=>[e(r)?(B(),S(g,{key:0,name:"EyeOffIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:a[13]||(a[13]=p=>Y(r)?r.value=!e(r):r=!e(r))})):(B(),S(g,{key:1,name:"EyeIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:a[14]||(a[14]=p=>Y(r)?r.value=!e(r):r=!e(r))}))]),_:1},8,["modelValue","invalid","type","content-loading"])]),_:1},8,["label","content-loading","error"])]),t(v,{loading:n.isSaving,disabled:n.isSaving,"content-loading":n.isFetchingInitialData,class:"mt-4"},{left:d(p=>[n.isSaving?G("",!0):(B(),S(g,{key:0,name:"SaveIcon",class:O(p.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(w.$t("general.save")),1)]),_:1},8,["loading","disabled","content-loading"])],40,ba)}}},qa=["onSubmit"],Ba={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},Ca={class:"grid grid-cols-1 gap-4 mb-6 md:grid-cols-2"},ve={props:{isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1}},emits:["submit-data","on-change-driver"],setup(n,{emit:q}){const{t:l}=E(),s=H(),r=z(()=>s.basicMailConfig);z(()=>s.mail_drivers),r.value.mail_driver="mail";const y=z(()=>({basicMailConfig:{mail_driver:{required:I.withMessage(l("validation.required"),D)},from_mail:{required:I.withMessage(l("validation.required"),D),email:I.withMessage(l("validation.email_incorrect"),K)},from_name:{required:I.withMessage(l("validation.required"),D)}}})),u=L(y,z(()=>s));function f(){return u.value.$touch(),u.value.$invalid||q("submit-data",s.basicMailConfig),!1}function i(){var m;u.value.basicMailConfig.mail_driver.$touch(),q("on-change-driver",(m=s==null?void 0:s.basicMailConfig)==null?void 0:m.mail_driver)}return(m,o)=>{const w=_("BaseMultiselect"),a=_("BaseInputGroup"),c=_("BaseInput"),b=_("BaseIcon"),C=_("BaseButton");return B(),k("form",{onSubmit:W(f,["prevent"])},[V("div",Ba,[t(a,{label:m.$t("wizard.mail.driver"),"content-loading":n.isFetchingInitialData,error:e(u).basicMailConfig.mail_driver.$error&&e(u).basicMailConfig.mail_driver.$errors[0].$message,required:""},{default:d(()=>[t(w,{modelValue:e(r).mail_driver,"onUpdate:modelValue":[o[0]||(o[0]=g=>e(r).mail_driver=g),i],invalid:e(u).basicMailConfig.mail_driver.$error,options:e(s).mail_drivers,"can-deselect":!1,"content-loading":n.isFetchingInitialData},null,8,["modelValue","invalid","options","content-loading"])]),_:1},8,["label","content-loading","error"])]),V("div",Ca,[t(a,{label:m.$t("wizard.mail.from_name"),"content-loading":n.isFetchingInitialData,error:e(u).basicMailConfig.from_name.$error&&e(u).basicMailConfig.from_name.$errors[0].$message,required:""},{default:d(()=>[t(c,{modelValue:e(r).from_name,"onUpdate:modelValue":o[1]||(o[1]=g=>e(r).from_name=g),modelModifiers:{trim:!0},invalid:e(u).basicMailConfig.from_name.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"name",onInput:o[2]||(o[2]=g=>e(u).basicMailConfig.from_name.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"]),t(a,{label:m.$t("wizard.mail.from_mail"),"content-loading":n.isFetchingInitialData,error:e(u).basicMailConfig.from_mail.$error&&e(u).basicMailConfig.from_mail.$errors[0].$message,required:""},{default:d(()=>[t(c,{modelValue:e(r).from_mail,"onUpdate:modelValue":o[3]||(o[3]=g=>e(r).from_mail=g),modelModifiers:{trim:!0},invalid:e(u).basicMailConfig.from_mail.$error,"content-loading":n.isFetchingInitialData,type:"text",onInput:o[4]||(o[4]=g=>e(u).basicMailConfig.from_mail.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"])]),t(C,{loading:n.isSaving,disabled:n.isSaving,"content-loading":n.isFetchingInitialData,class:"mt-4"},{left:d(g=>[n.isSaving?G("",!0):(B(),S(b,{key:0,name:"SaveIcon",class:O(g.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(m.$t("general.save")),1)]),_:1},8,["loading","disabled","content-loading"])],40,qa)}}},Va={components:{Smtp:ca,Mailgun:_a,Ses:Ia,sendmail:ve,Mail:ve},emits:["next"],setup(n,{emit:q}){const l=M(!1),s=M(!1),r=H();r.mail_driver="mail",u();function y(i){r.mail_driver=i}async function u(){s.value=!0,await r.fetchMailDrivers(),s.value=!1}async function f(i){l.value=!0;let m=await r.updateMailConfig(i);l.value=!1,m.data.success&&await q("next",5)}return{mailDriverStore:r,isSaving:l,isFetchingInitialData:s,changeDriver:y,next:f}}};function Da(n,q,l,s,r,y){const u=_("BaseWizardStep");return B(),S(u,{title:n.$t("wizard.mail.mail_config"),description:n.$t("wizard.mail.mail_config_desc")},{default:d(()=>[V("form",{action:"",onSubmit:q[1]||(q[1]=W((...f)=>s.next&&s.next(...f),["prevent"]))},[(B(),S(le(s.mailDriverStore.mail_driver),{"config-data":s.mailDriverStore.mailConfigData,"is-saving":s.isSaving,"is-fetching-initial-data":s.isFetchingInitialData,onOnChangeDriver:q[0]||(q[0]=f=>s.changeDriver(f)),onSubmitData:s.next},null,8,["config-data","is-saving","is-fetching-initial-data","onSubmitData"]))],32)]),_:1},8,["title","description"])}var Fa=ee(Va,[["render",Da]]);const Sa=["onSubmit"],Ma={class:"grid grid-cols-1 mb-4 md:grid-cols-2 md:mb-6"},za={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},ka={class:"grid grid-cols-1 gap-4 mb-6 md:grid-cols-2"},Ua={emits:["next"],setup(n,{emit:q}){let l=M(!1);const s=M(!1),r=M(!1);let y=M(""),u=M(null);const f=ce(),i=te(),{t:m}=E(),o=z(()=>f.userForm),w=z(()=>({userForm:{name:{required:I.withMessage(m("validation.required"),D)},email:{required:I.withMessage(m("validation.required"),D),email:I.withMessage(m("validation.email_incorrect"),K)},password:{required:I.withMessage(m("validation.required"),D),minLength:I.withMessage(m("validation.password_min_length",{count:8}),he(8))},confirm_password:{required:I.withMessage(m("validation.required"),Ie(f.userForm.password)),sameAsPassword:I.withMessage(m("validation.password_incorrect"),qe(f.userForm.password))}}})),a=L(w,z(()=>f));function c(g,v){u.value=v}function b(){u.value=null}async function C(){if(a.value.userForm.$touch(),a.value.userForm.$invalid)return!0;l.value=!0;let g=await f.updateCurrentUser(o.value);if(l.value=!1,g.data.data){if(u.value){let p=new FormData;p.append("admin_avatar",u.value),await f.uploadAvatar(p)}const v=g.data.data.companies[0];await i.setSelectedCompany(v),q("next",6)}}return(g,v)=>{const p=_("BaseFileUploader"),$=_("BaseInputGroup"),h=_("BaseInput"),x=_("EyeOffIcon"),j=_("EyeIcon"),A=_("BaseIcon"),Z=_("BaseButton"),N=_("BaseWizardStep");return B(),S(N,{title:g.$t("wizard.account_info"),description:g.$t("wizard.account_info_desc")},{default:d(()=>[V("form",{action:"",onSubmit:W(C,["prevent"])},[V("div",Ma,[t($,{label:g.$tc("settings.account_settings.profile_picture")},{default:d(()=>[t(p,{avatar:!0,"preview-image":e(y),onChange:c,onRemove:b},null,8,["preview-image"])]),_:1},8,["label"])]),V("div",za,[t($,{label:g.$t("wizard.name"),error:e(a).userForm.name.$error&&e(a).userForm.name.$errors[0].$message,required:""},{default:d(()=>[t(h,{modelValue:e(o).name,"onUpdate:modelValue":v[0]||(v[0]=F=>e(o).name=F),modelModifiers:{trim:!0},invalid:e(a).userForm.name.$error,type:"text",name:"name",onInput:v[1]||(v[1]=F=>e(a).userForm.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),t($,{label:g.$t("wizard.email"),error:e(a).userForm.email.$error&&e(a).userForm.email.$errors[0].$message,required:""},{default:d(()=>[t(h,{modelValue:e(o).email,"onUpdate:modelValue":v[2]||(v[2]=F=>e(o).email=F),modelModifiers:{trim:!0},invalid:e(a).userForm.email.$error,type:"text",name:"email",onInput:v[3]||(v[3]=F=>e(a).userForm.email.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),V("div",ka,[t($,{label:g.$t("wizard.password"),error:e(a).userForm.password.$error&&e(a).userForm.password.$errors[0].$message,required:""},{default:d(()=>[t(h,{modelValue:e(o).password,"onUpdate:modelValue":v[6]||(v[6]=F=>e(o).password=F),modelModifiers:{trim:!0},invalid:e(a).userForm.password.$error,type:s.value?"text":"password",name:"password",onInput:v[7]||(v[7]=F=>e(a).userForm.password.$touch())},{right:d(()=>[s.value?(B(),S(x,{key:0,class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:v[4]||(v[4]=F=>s.value=!s.value)})):(B(),S(j,{key:1,class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:v[5]||(v[5]=F=>s.value=!s.value)}))]),_:1},8,["modelValue","invalid","type"])]),_:1},8,["label","error"]),t($,{label:g.$t("wizard.confirm_password"),error:e(a).userForm.confirm_password.$error&&e(a).userForm.confirm_password.$errors[0].$message,required:""},{default:d(()=>[t(h,{modelValue:e(o).confirm_password,"onUpdate:modelValue":v[10]||(v[10]=F=>e(o).confirm_password=F),modelModifiers:{trim:!0},invalid:e(a).userForm.confirm_password.$error,type:r.value?"text":"password",name:"confirm_password",onInput:v[11]||(v[11]=F=>e(a).userForm.confirm_password.$touch())},{right:d(()=>[r.value?(B(),S(A,{key:0,name:"EyeOffIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:v[8]||(v[8]=F=>r.value=!r.value)})):(B(),S(A,{key:1,name:"EyeIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:v[9]||(v[9]=F=>r.value=!r.value)}))]),_:1},8,["modelValue","invalid","type"])]),_:1},8,["label","error"])]),t(Z,{loading:e(l),disabled:e(l),class:"mt-4"},{left:d(F=>[e(l)?G("",!0):(B(),S(A,{key:0,name:"SaveIcon",class:O(F.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(g.$t("wizard.save_cont")),1)]),_:1},8,["loading","disabled"])],40,Sa)]),_:1},8,["title","description"])}}},Pa=["onSubmit"],Na={class:"grid grid-cols-1 mb-4 md:grid-cols-2 md:mb-6"},Ga={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},Ea={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},Oa={class:"grid grid-cols-1 gap-4 mb-6 md:grid-cols-2"},xa={emits:["next"],setup(n,{emit:q}){let l=M(!1),s=M(!1);const{t:r}=E();let y=M(null),u=M(null),f=M(null);const i=T({name:null,address:{address_street_1:"",address_street_2:"",website:"",country_id:null,state:"",city:"",phone:"",zip:""}}),m=te(),o=ge();J(async()=>{l.value=!0,await o.fetchCountries(),l.value=!1});const w={companyForm:{name:{required:I.withMessage(r("validation.required"),D)},address:{country_id:{required:I.withMessage(r("validation.required"),D)},address_street_1:{maxLength:I.withMessage(r("validation.address_maxlength",{count:255}),fe(255))},address_street_2:{maxLength:I.withMessage(r("validation.address_maxlength",{count:255}),fe(255))}}}},a=L(w,{companyForm:i});function c(g,v,p,$){f.value=$.name,u.value=v}function b(){u.value=null}async function C(){if(a.value.companyForm.$touch(),a.value.$invalid)return!0;if(s.value=!0,m.updateCompany(i)){if(u.value){let v=new FormData;v.append("company_logo",JSON.stringify({name:f.value,data:u.value})),await m.updateCompanyLogo(v)}s.value=!1,q("next",7)}}return(g,v)=>{const p=_("BaseFileUploader"),$=_("BaseInputGroup"),h=_("BaseInput"),x=_("BaseMultiselect"),j=_("BaseTextarea"),A=_("BaseIcon"),Z=_("BaseButton"),N=_("BaseWizardStep");return B(),S(N,{title:g.$t("wizard.company_info"),description:g.$t("wizard.company_info_desc"),"step-container":"bg-white border border-gray-200 border-solid mb-8 md:w-full p-8 rounded w-full"},{default:d(()=>[V("form",{action:"",onSubmit:W(C,["prevent"])},[V("div",Na,[t($,{label:g.$tc("settings.company_info.company_logo")},{default:d(()=>[t(p,{base64:"","preview-image":e(y),onChange:c,onRemove:b},null,8,["preview-image"])]),_:1},8,["label"])]),V("div",Ga,[t($,{label:g.$t("wizard.company_name"),error:e(a).companyForm.name.$error&&e(a).companyForm.name.$errors[0].$message,required:""},{default:d(()=>[t(h,{modelValue:e(i).name,"onUpdate:modelValue":v[0]||(v[0]=F=>e(i).name=F),modelModifiers:{trim:!0},invalid:e(a).companyForm.name.$error,type:"text",name:"name",onInput:v[1]||(v[1]=F=>e(a).companyForm.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),t($,{label:g.$t("wizard.country"),error:e(a).companyForm.address.country_id.$error&&e(a).companyForm.address.country_id.$errors[0].$message,"content-loading":e(l),required:""},{default:d(()=>[t(x,{modelValue:e(i).address.country_id,"onUpdate:modelValue":v[2]||(v[2]=F=>e(i).address.country_id=F),label:"name",invalid:e(a).companyForm.address.country_id.$error,options:e(o).countries,"value-prop":"id","can-deselect":!1,"can-clear":!1,"content-loading":e(l),placeholder:g.$t("general.select_country"),searchable:"","track-by":"name"},null,8,["modelValue","invalid","options","content-loading","placeholder"])]),_:1},8,["label","error","content-loading"])]),V("div",Ea,[t($,{label:g.$t("wizard.state")},{default:d(()=>[t(h,{modelValue:e(i).address.state,"onUpdate:modelValue":v[3]||(v[3]=F=>e(i).address.state=F),name:"state",type:"text"},null,8,["modelValue"])]),_:1},8,["label"]),t($,{label:g.$t("wizard.city")},{default:d(()=>[t(h,{modelValue:e(i).address.city,"onUpdate:modelValue":v[4]||(v[4]=F=>e(i).address.city=F),name:"city",type:"text"},null,8,["modelValue"])]),_:1},8,["label"])]),V("div",Oa,[V("div",null,[t($,{label:g.$t("wizard.address"),error:e(a).companyForm.address.address_street_1.$error&&e(a).companyForm.address.address_street_1.$errors[0].$message},{default:d(()=>[t(j,{modelValue:e(i).address.address_street_1,"onUpdate:modelValue":v[5]||(v[5]=F=>e(i).address.address_street_1=F),modelModifiers:{trim:!0},invalid:e(a).companyForm.address.address_street_1.$error,placeholder:g.$t("general.street_1"),name:"billing_street1",rows:"2",onInput:v[6]||(v[6]=F=>e(a).companyForm.address.address_street_1.$touch())},null,8,["modelValue","invalid","placeholder"])]),_:1},8,["label","error"]),t($,{error:e(a).companyForm.address.address_street_2.$error&&e(a).companyForm.address.address_street_2.$errors[0].$message,class:"mt-1 lg:mt-2 md:mt-2"},{default:d(()=>[t(j,{modelValue:e(i).address.address_street_2,"onUpdate:modelValue":v[7]||(v[7]=F=>e(i).address.address_street_2=F),invalid:e(a).companyForm.address.address_street_2.$error,placeholder:g.$t("general.street_2"),name:"billing_street2",rows:"2",onInput:v[8]||(v[8]=F=>e(a).companyForm.address.address_street_2.$touch())},null,8,["modelValue","invalid","placeholder"])]),_:1},8,["error"])]),V("div",null,[t($,{label:g.$t("wizard.zip_code")},{default:d(()=>[t(h,{modelValue:e(i).address.zip,"onUpdate:modelValue":v[9]||(v[9]=F=>e(i).address.zip=F),modelModifiers:{trim:!0},type:"text",name:"zip"},null,8,["modelValue"])]),_:1},8,["label"]),t($,{label:g.$t("wizard.phone"),class:"mt-4"},{default:d(()=>[t(h,{modelValue:e(i).address.phone,"onUpdate:modelValue":v[10]||(v[10]=F=>e(i).address.phone=F),modelModifiers:{trim:!0},type:"text",name:"phone"},null,8,["modelValue"])]),_:1},8,["label"])])]),t(Z,{loading:e(s),disabled:e(s),class:"mt-4"},{left:d(F=>[e(s)?G("",!0):(B(),S(A,{key:0,name:"SaveIcon",class:O(F.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(g.$t("wizard.save_cont")),1)]),_:1},8,["loading","disabled"])],40,Pa)]),_:1},8,["title","description"])}}},La=["onSubmit"],Wa={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},Ta={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},Ra={class:"grid grid-cols-1 gap-4 mb-6 md:grid-cols-2"},ja={emits:["next"],setup(n,{emit:q}){const l=M(!1);let s=M(!1),r=T({currency:1,language:"en",carbon_date_format:"d M Y",time_zone:"UTC",fiscal_year:"1-12"});const{tm:y,t:u}=E(),f=pe();s.value=!0,T([{title:y("settings.customization.invoices.allow"),value:"allow"},{title:y("settings.customization.invoices.disable_on_invoice_partial_paid"),value:"disable_on_invoice_partial_paid"},{title:y("settings.customization.invoices.disable_on_invoice_paid"),value:"disable_on_invoice_paid"},{title:y("settings.customization.invoices.disable_on_invoice_sent"),value:"disable_on_invoice_sent"}]);const i=me(),m=ge(),o=te(),w=ce(),a=ae();let c={key:"fiscal_years"},b={key:"languages"};s.value=!0,Promise.all([m.fetchCurrencies(),m.fetchDateFormats(),m.fetchTimeZones(),m.fetchCountries(),m.fetchConfig(c),m.fetchConfig(b)]).then(([p])=>{s.value=!1});const C=z(()=>({currentPreferences:{currency:{required:I.withMessage(u("validation.required"),D)},language:{required:I.withMessage(u("validation.required"),D)},carbon_date_format:{required:I.withMessage(u("validation.required"),D)},time_zone:{required:I.withMessage(u("validation.required"),D)},fiscal_year:{required:I.withMessage(u("validation.required"),D)}}})),g=L(C,{currentPreferences:r});async function v(){if(g.value.currentPreferences.$touch(),g.value.$invalid)return!0;i.openDialog({title:u("general.do_you_wish_to_continue"),message:u("wizard.currency_set_alert"),yesLabel:u("general.ok"),noLabel:u("general.cancel"),variant:"danger",size:"lg",hideNoButton:!1}).then(async p=>{if(p){let $={settings:ue({},r)};l.value=!0,delete $.settings.discount_per_item;let h=await o.updateCompanySettings({data:$});if(h.data){l.value=!1;let x={settings:{language:r.language}};(await w.updateUserSettings(x)).data&&(q("next","COMPLETED"),a.showNotification({type:"success",message:"Login Successful"}),f.push("/admin/dashboard")),we.set("auth.token",h.data.token)}return!0}return l.value=!1,!0})}return(p,$)=>{const h=_("BaseMultiselect"),x=_("BaseInputGroup"),j=_("BaseIcon"),A=_("BaseButton"),Z=_("BaseWizardStep");return B(),S(Z,{title:p.$t("wizard.preferences"),description:p.$t("wizard.preferences_desc"),"step-container":"bg-white border border-gray-200 border-solid mb-8 md:w-full p-8 rounded w-full"},{default:d(()=>[V("form",{action:"",onSubmit:W(v,["prevent"])},[V("div",null,[V("div",Wa,[t(x,{label:p.$t("wizard.currency"),error:e(g).currentPreferences.currency.$error&&e(g).currentPreferences.currency.$errors[0].$message,"content-loading":e(s),required:""},{default:d(()=>[t(h,{modelValue:e(r).currency,"onUpdate:modelValue":$[0]||($[0]=N=>e(r).currency=N),"content-loading":e(s),options:e(m).currencies,label:"name","value-prop":"id",searchable:!0,"track-by":"name",placeholder:p.$tc("settings.currencies.select_currency"),invalid:e(g).currentPreferences.currency.$error,class:"w-full"},null,8,["modelValue","content-loading","options","placeholder","invalid"])]),_:1},8,["label","error","content-loading"]),t(x,{label:p.$t("settings.preferences.default_language"),error:e(g).currentPreferences.language.$error&&e(g).currentPreferences.language.$errors[0].$message,"content-loading":e(s),required:""},{default:d(()=>[t(h,{modelValue:e(r).language,"onUpdate:modelValue":$[1]||($[1]=N=>e(r).language=N),"content-loading":e(s),options:e(m).languages,label:"name","value-prop":"code",placeholder:p.$tc("settings.preferences.select_language"),class:"w-full","track-by":"code",searchable:!0,invalid:e(g).currentPreferences.language.$error},null,8,["modelValue","content-loading","options","placeholder","invalid"])]),_:1},8,["label","error","content-loading"])]),V("div",Ta,[t(x,{label:p.$t("wizard.date_format"),error:e(g).currentPreferences.carbon_date_format.$error&&e(g).currentPreferences.carbon_date_format.$errors[0].$message,"content-loading":e(s),required:""},{default:d(()=>[t(h,{modelValue:e(r).carbon_date_format,"onUpdate:modelValue":$[2]||($[2]=N=>e(r).carbon_date_format=N),"content-loading":e(s),options:e(m).dateFormats,label:"display_date","value-prop":"carbon_format_value",placeholder:p.$tc("settings.preferences.select_date_format"),"track-by":"display_date",searchable:"",invalid:e(g).currentPreferences.carbon_date_format.$error,class:"w-full"},null,8,["modelValue","content-loading","options","placeholder","invalid"])]),_:1},8,["label","error","content-loading"]),t(x,{label:p.$t("wizard.time_zone"),error:e(g).currentPreferences.time_zone.$error&&e(g).currentPreferences.time_zone.$errors[0].$message,"content-loading":e(s),required:""},{default:d(()=>[t(h,{modelValue:e(r).time_zone,"onUpdate:modelValue":$[3]||($[3]=N=>e(r).time_zone=N),"content-loading":e(s),options:e(m).timeZones,label:"key","value-prop":"value",placeholder:p.$tc("settings.preferences.select_time_zone"),"track-by":"value",searchable:!0,invalid:e(g).currentPreferences.time_zone.$error},null,8,["modelValue","content-loading","options","placeholder","invalid"])]),_:1},8,["label","error","content-loading"])]),V("div",Ra,[t(x,{label:p.$t("wizard.fiscal_year"),error:e(g).currentPreferences.fiscal_year.$error&&e(g).currentPreferences.fiscal_year.$errors[0].$message,"content-loading":e(s),required:""},{default:d(()=>[t(h,{modelValue:e(r).fiscal_year,"onUpdate:modelValue":$[4]||($[4]=N=>e(r).fiscal_year=N),"content-loading":e(s),options:e(m).fiscalYears,label:"key","value-prop":"value",placeholder:p.$tc("settings.preferences.select_financial_year"),invalid:e(g).currentPreferences.fiscal_year.$error,"track-by":"key",searchable:!0,class:"w-full"},null,8,["modelValue","content-loading","options","placeholder","invalid"])]),_:1},8,["label","error","content-loading"])]),t(A,{loading:l.value,disabled:l.value,"content-loading":e(s),class:"mt-4"},{left:d(N=>[t(j,{name:"SaveIcon",class:O(N.class)},null,8,["class"])]),default:d(()=>[P(" "+U(p.$t("wizard.save_cont")),1)]),_:1},8,["loading","disabled","content-loading"])])],40,La)]),_:1},8,["title","description"])}}},Aa={components:{step_1:Ge,step_2:Re,step_3:ta,step_4:ra,step_5:Fa,step_6:Ua,step_7:xa,step_8:ja},setup(){let n=M("step_1"),q=M(1);const l=pe(),s=R();r();async function r(){let i=await s.fetchInstallationStep();if(i.data.profile_complete==="COMPLETED"){l.push("/admin/dashboard");return}let m=parseInt(i.data.profile_complete);m&&(q.value=m+1,n.value=`step_${m+1}`)}async function y(i){var o,w;let m={profile_complete:i};try{return await s.addInstallationStep(m),!0}catch(a){return((w=(o=a==null?void 0:a.response)==null?void 0:o.data)==null?void 0:w.message)==="The MAC is invalid."&&window.location.reload(),!1}}async function u(i){if(i&&!await y(i))return!1;q.value++,q.value<=8&&(n.value="step_"+q.value)}function f(i){}return{stepComponent:n,currentStepNumber:q,onStepChange:u,saveStepProgress:y,onNavClick:f}}},Ya={class:"flex flex-col items-center justify-between w-full pt-10"},Za=V("img",{id:"logo-crater",src:ye,alt:"Crater Logo",class:"h-12 mb-5 md:mb-10"},null,-1);function Ha(n,q,l,s,r,y){const u=_("BaseWizard");return B(),k("div",Ya,[Za,t(u,{steps:7,"current-step":s.currentStepNumber,onClick:s.onNavClick},{default:d(()=>[(B(),S(le(s.stepComponent),{onNext:s.onStepChange},null,8,["onNext"]))]),_:1},8,["current-step","onClick"])])}var Xa=ee(Aa,[["render",Ha]]);export{Xa as default}; +var _e=Object.defineProperty;var se=Object.getOwnPropertySymbols;var be=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable;var de=(n,q,l)=>q in n?_e(n,q,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[q]=l,ue=(n,q)=>{for(var l in q||(q={}))be.call(q,l)&&de(n,l,q[l]);if(se)for(var l of se(q))$e.call(q,l)&&de(n,l,q[l]);return n};import{C as R,i as me,_ as ee,u as ae,v as H,d as ce,c as te,m as ge,L as we,D as ye}from"./main.f55cd568.js";import{i as M,k as z,r as _,o as B,s as S,w as d,t as V,c as k,x as U,v as P,A as G,F as ne,H as ie,y as e,b as t,z as O,g as E,M as J,Z as oe,al as re,j as T,am as Q,m as I,n as D,aV as X,q as L,B as W,an as le,a2 as K,a0 as Y,p as he,aU as Ie,aQ as qe,a4 as fe,C as pe}from"./vendor.e9042f2c.js";const Be={class:"w-full md:w-2/3"},Ce={class:"mb-6"},Ve={key:0,class:"grid grid-flow-row grid-cols-3 p-3 border border-gray-200 lg:gap-24 sm:gap-4"},De={class:"col-span-2 text-sm"},Fe={class:"text-right"},Se={key:0,class:"inline-block w-4 h-4 ml-3 mr-2 rounded-full bg-green-500"},Me={key:1,class:"inline-block w-4 h-4 ml-3 mr-2 rounded-full bg-red-500"},ze={key:1},ke={class:"col-span-2 text-sm"},Ue={class:"text-right"},Pe={key:0,class:"inline-block w-4 h-4 ml-3 mr-2 rounded-full bg-green-500"},Ne={key:1,class:"inline-block w-4 h-4 ml-3 mr-2 rounded-full bg-red-500"},Ge={emits:["next"],setup(n,{emit:q}){const l=M(""),s=M(""),r=M(!1);M(!0);const y=R(),u=z(()=>{if(l.value){let m=!0;for(const o in l.value)return l.value[o]||(m=!1),l.value&&s.value.supported&&m}return!1});async function f(){var o,w,a,c;r.value=!0;const m=await y.fetchInstallationRequirements();m.data&&(l.value=(a=(w=(o=m==null?void 0:m.data)==null?void 0:o.requirements)==null?void 0:w.requirements)==null?void 0:a.php,s.value=(c=m==null?void 0:m.data)==null?void 0:c.phpSupportInfo)}function i(){r.value=!0,q("next"),r.value=!1}return(m,o)=>{const w=_("BaseIcon"),a=_("BaseButton"),c=_("BaseWizardStep");return B(),S(c,{title:m.$t("wizard.req.system_req"),description:m.$t("wizard.req.system_req_desc")},{default:d(()=>[V("div",Be,[V("div",Ce,[s.value?(B(),k("div",Ve,[V("div",De,U(m.$t("wizard.req.php_req_version",{version:s.value.minimum})),1),V("div",Fe,[P(U(s.value.current)+" ",1),s.value.supported?(B(),k("span",Se)):(B(),k("span",Me))])])):G("",!0),l.value?(B(),k("div",ze,[(B(!0),k(ne,null,ie(l.value,(b,C)=>(B(),k("div",{key:C,class:"grid grid-flow-row grid-cols-3 p-3 border border-gray-200 lg:gap-24 sm:gap-4"},[V("div",ke,U(C),1),V("div",Ue,[b?(B(),k("span",Pe)):(B(),k("span",Ne))])]))),128))])):G("",!0)]),e(u)?(B(),S(a,{key:0,onClick:i},{left:d(b=>[t(w,{name:"ArrowRightIcon",class:O(b.class)},null,8,["class"])]),default:d(()=>[P(U(m.$t("wizard.continue"))+" ",1)]),_:1})):G("",!0),l.value?G("",!0):(B(),S(a,{key:1,loading:r.value,disabled:r.value,onClick:f},{default:d(()=>[P(U(m.$t("wizard.req.check_req")),1)]),_:1},8,["loading","disabled"]))])]),_:1},8,["title","description"])}}},Ee={key:1,class:"relative"},Oe={class:"grid grid-flow-row grid-cols-3 lg:gap-24 sm:gap-4"},xe={class:"col-span-2 p-3"},Le={class:"p-3 text-right"},We={key:0,class:"inline-block w-4 h-4 ml-3 mr-2 rounded-full bg-green-500"},Te={key:1,class:"inline-block w-4 h-4 ml-3 mr-2 rounded-full bg-red-500"},Re={emits:["next"],setup(n,{emit:q}){let l=M(!1),s=M(!1),r=M([]);const{tm:y,t:u}=E(),f=R(),i=me();J(()=>{m()});async function m(){l.value=!0;const w=await f.fetchInstallationPermissions();r.value=w.data.permissions.permissions,w.data&&w.data.permissions.errors&&setTimeout(()=>{i.openDialog({title:y("wizard.permissions.permission_confirm_title"),message:u("wizard.permissions.permission_confirm_desc"),yesLabel:"OK",noLabel:"Cancel",variant:"danger",hideNoButton:!1,size:"lg"}).then(a=>{a.data&&(l.value=!1)})},500),l.value=!1}function o(){s.value=!0,q("next"),s.value=!1}return(w,a)=>{const c=_("BaseContentPlaceholdersText"),b=_("BaseContentPlaceholdersBox"),C=_("BaseContentPlaceholders"),g=_("BaseIcon"),v=_("BaseButton"),p=_("BaseWizardStep");return B(),S(p,{title:w.$t("wizard.permissions.permissions"),description:w.$t("wizard.permissions.permission_desc")},{default:d(()=>[e(l)?(B(),S(C,{key:0},{default:d(()=>[(B(),k(ne,null,ie(3,($,h)=>V("div",{key:h,class:"grid grid-flow-row grid-cols-3 lg:gap-24 sm:gap-4 border border-gray-200"},[t(c,{lines:1,class:"col-span-4 p-3"})])),64)),t(b,{rounded:!0,class:"mt-10",style:{width:"96px",height:"42px"}})]),_:1})):(B(),k("div",Ee,[(B(!0),k(ne,null,ie(e(r),($,h)=>(B(),k("div",{key:h,class:"border border-gray-200"},[V("div",Oe,[V("div",xe,U($.folder),1),V("div",Le,[$.isSet?(B(),k("span",We)):(B(),k("span",Te)),V("span",null,U($.permission),1)])])]))),128)),oe(t(v,{class:"mt-10",loading:e(s),disabled:e(s),onClick:o},{left:d($=>[t(g,{name:"ArrowRightIcon",class:O($.class)},null,8,["class"])]),default:d(()=>[P(" "+U(w.$t("wizard.continue")),1)]),_:1},8,["loading","disabled"]),[[re,!e(l)]])]))]),_:1},8,["title","description"])}}},je=["onSubmit"],Ae={class:"grid grid-cols-1 gap-5 md:grid-cols-2 lg:mb-6 md:mb-6"},Ye={props:{configData:{type:Object,require:!0,default:Object},isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,default:!1}},emits:["submit-data","on-change-driver"],setup(n,{emit:q}){const l=n,s=T(["sqlite","mysql","pgsql"]),{t:r}=E(),y=Q("utils"),u=R();J(()=>{for(const c in f.value)l.configData.hasOwnProperty(c)&&(f.value[c]=l.configData[c])});const f=z(()=>u.currentDataBaseData),i=c=>y.checkValidUrl(c),m={database_connection:{required:I.withMessage(r("validation.required"),D)},database_hostname:{required:I.withMessage(r("validation.required"),D)},database_port:{required:I.withMessage(r("validation.required"),D),numeric:X},database_name:{required:I.withMessage(r("validation.required"),D)},database_username:{required:I.withMessage(r("validation.required"),D)},app_url:{required:I.withMessage(r("validation.required"),D),isUrl:I.withMessage(r("validation.invalid_url"),i)}},o=L(m,f.value);function w(){if(o.value.$touch(),o.value.$invalid)return!0;q("submit-data",f.value)}function a(){o.value.database_connection.$touch(),q("on-change-driver",f.value.database_connection)}return(c,b)=>{const C=_("BaseInput"),g=_("BaseInputGroup"),v=_("BaseMultiselect"),p=_("BaseIcon"),$=_("BaseButton");return B(),k("form",{action:"",onSubmit:W(w,["prevent"])},[V("div",Ae,[t(g,{label:c.$t("wizard.database.app_url"),error:e(o).app_url.$error&&e(o).app_url.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).app_url,"onUpdate:modelValue":b[0]||(b[0]=h=>e(f).app_url=h),invalid:e(o).app_url.$error,type:"text"},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),t(g,{label:c.$t("wizard.database.connection"),error:e(o).database_connection.$error&&e(o).database_connection.$errors[0].$message,required:""},{default:d(()=>[t(v,{modelValue:e(f).database_connection,"onUpdate:modelValue":[b[1]||(b[1]=h=>e(f).database_connection=h),a],invalid:e(o).database_connection.$error,options:e(s),"can-deselect":!1,"can-clear":!1},null,8,["modelValue","invalid","options"])]),_:1},8,["label","error"]),t(g,{label:c.$t("wizard.database.port"),error:e(o).database_port.$error&&e(o).database_port.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_port,"onUpdate:modelValue":b[2]||(b[2]=h=>e(f).database_port=h),invalid:e(o).database_port.$error},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),t(g,{label:c.$t("wizard.database.db_name"),error:e(o).database_name.$error&&e(o).database_name.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_name,"onUpdate:modelValue":b[3]||(b[3]=h=>e(f).database_name=h),invalid:e(o).database_name.$error},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),t(g,{label:c.$t("wizard.database.username"),error:e(o).database_username.$error&&e(o).database_username.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_username,"onUpdate:modelValue":b[4]||(b[4]=h=>e(f).database_username=h),invalid:e(o).database_username.$error},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),t(g,{label:c.$t("wizard.database.password")},{default:d(()=>[t(C,{modelValue:e(f).database_password,"onUpdate:modelValue":b[5]||(b[5]=h=>e(f).database_password=h),type:"password"},null,8,["modelValue"])]),_:1},8,["label"]),t(g,{label:c.$t("wizard.database.host"),error:e(o).database_hostname.$error&&e(o).database_hostname.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_hostname,"onUpdate:modelValue":b[6]||(b[6]=h=>e(f).database_hostname=h),invalid:e(o).database_hostname.$error},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),t($,{type:"submit",class:"mt-4",loading:n.isSaving,disabled:n.isSaving},{left:d(h=>[n.isSaving?G("",!0):(B(),S(p,{key:0,name:"SaveIcon",class:O(h.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(c.$t("wizard.save_cont")),1)]),_:1},8,["loading","disabled"])],40,je)}}},Ze=["onSubmit"],He={class:"grid grid-cols-1 gap-5 md:grid-cols-2 lg:mb-6 md:mb-6"},Je={props:{configData:{type:Object,require:!0,default:Object},isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1}},emits:["submit-data","on-change-driver"],setup(n,{emit:q}){const l=n,s=T(["sqlite","mysql","pgsql"]),{t:r}=E(),y=Q("utils"),u=R(),f=z(()=>u.currentDataBaseData);J(()=>{for(const c in f.value)l.configData.hasOwnProperty(c)&&(f.value[c]=l.configData[c])});const i=c=>y.checkValidUrl(c),m={database_connection:{required:I.withMessage(r("validation.required"),D)},database_hostname:{required:I.withMessage(r("validation.required"),D)},database_port:{required:I.withMessage(r("validation.required"),D),numeric:X},database_name:{required:I.withMessage(r("validation.required"),D)},database_username:{required:I.withMessage(r("validation.required"),D)},app_url:{required:I.withMessage(r("validation.required"),D),isUrl:I.withMessage(r("validation.invalid_url"),i)}},o=L(m,f.value);function w(){if(o.value.$touch(),o.value.$invalid)return!0;q("submit-data",f.value)}function a(){o.value.database_connection.$touch(),q("on-change-driver",f.value.database_connection)}return(c,b)=>{const C=_("BaseInput"),g=_("BaseInputGroup"),v=_("BaseMultiselect"),p=_("BaseIcon"),$=_("BaseButton");return B(),k("form",{action:"",onSubmit:W(w,["prevent"])},[V("div",He,[t(g,{label:c.$t("wizard.database.app_url"),"content-loading":n.isFetchingInitialData,error:e(o).app_url.$error&&e(o).app_url.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).app_url,"onUpdate:modelValue":b[0]||(b[0]=h=>e(f).app_url=h),"content-loading":n.isFetchingInitialData,invalid:e(o).app_url.$error,type:"text"},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),t(g,{label:c.$t("wizard.database.connection"),"content-loading":n.isFetchingInitialData,error:e(o).database_connection.$error&&e(o).database_connection.$errors[0].$message,required:""},{default:d(()=>[t(v,{modelValue:e(f).database_connection,"onUpdate:modelValue":[b[1]||(b[1]=h=>e(f).database_connection=h),a],"content-loading":n.isFetchingInitialData,invalid:e(o).database_connection.$error,options:e(s),"can-deselect":!1,"can-clear":!1},null,8,["modelValue","content-loading","invalid","options"])]),_:1},8,["label","content-loading","error"]),t(g,{label:c.$t("wizard.database.port"),"content-loading":n.isFetchingInitialData,error:e(o).database_port.$error&&e(o).database_port.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_port,"onUpdate:modelValue":b[2]||(b[2]=h=>e(f).database_port=h),"content-loading":n.isFetchingInitialData,invalid:e(o).database_port.$error},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),t(g,{label:c.$t("wizard.database.db_name"),"content-loading":n.isFetchingInitialData,error:e(o).database_name.$error&&e(o).database_name.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_name,"onUpdate:modelValue":b[3]||(b[3]=h=>e(f).database_name=h),"content-loading":n.isFetchingInitialData,invalid:e(o).database_name.$error},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),t(g,{label:c.$t("wizard.database.username"),"content-loading":n.isFetchingInitialData,error:e(o).database_username.$error&&e(o).database_username.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_username,"onUpdate:modelValue":b[4]||(b[4]=h=>e(f).database_username=h),"content-loading":n.isFetchingInitialData,invalid:e(o).database_username.$error},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),t(g,{"content-loading":n.isFetchingInitialData,label:c.$t("wizard.database.password")},{default:d(()=>[t(C,{modelValue:e(f).database_password,"onUpdate:modelValue":b[5]||(b[5]=h=>e(f).database_password=h),"content-loading":n.isFetchingInitialData,type:"password"},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label"]),t(g,{label:c.$t("wizard.database.host"),"content-loading":n.isFetchingInitialData,error:e(o).database_hostname.$error&&e(o).database_hostname.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_hostname,"onUpdate:modelValue":b[6]||(b[6]=h=>e(f).database_hostname=h),"content-loading":n.isFetchingInitialData,invalid:e(o).database_hostname.$error},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"])]),oe(t($,{"content-loading":n.isFetchingInitialData,type:"submit",class:"mt-4",loading:n.isSaving,disabled:n.isSaving},{left:d(h=>[n.isSaving?G("",!0):(B(),S(p,{key:0,name:"SaveIcon",class:O(h.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(c.$t("wizard.save_cont")),1)]),_:1},8,["content-loading","loading","disabled"]),[[re,!n.isFetchingInitialData]])],40,Ze)}}},Ke=["onSubmit"],Qe={class:"grid grid-cols-1 gap-5 md:grid-cols-2 lg:mb-6 md:mb-6"},Xe={props:{configData:{type:Object,require:!0,default:Object},isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1}},emits:["submit-data","on-change-driver"],setup(n,{emit:q}){const l=n,s=T(["sqlite","mysql","pgsql"]),{t:r}=E(),y=Q("utils"),u=R(),f=z(()=>u.currentDataBaseData);J(()=>{for(const c in f.value)l.configData.hasOwnProperty(c)&&(f.value[c]=l.configData[c])});const i=c=>y.checkValidUrl(c),m={database_connection:{required:I.withMessage(r("validation.required"),D)},database_name:{required:I.withMessage(r("validation.required"),D)},app_url:{required:I.withMessage(r("validation.required"),D),isUrl:I.withMessage(r("validation.invalid_url"),i)}},o=L(m,f.value);function w(){if(o.value.$touch(),o.value.$invalid)return!0;q("submit-data",f.value)}function a(){o.value.database_connection.$touch(),q("on-change-driver",f.value.database_connection)}return(c,b)=>{const C=_("BaseInput"),g=_("BaseInputGroup"),v=_("BaseMultiselect"),p=_("BaseIcon"),$=_("BaseButton");return B(),k("form",{action:"",onSubmit:W(w,["prevent"])},[V("div",Qe,[t(g,{label:c.$t("wizard.database.app_url"),"content-loading":n.isFetchingInitialData,error:e(o).app_url.$error&&e(o).app_url.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(f).app_url,"onUpdate:modelValue":b[0]||(b[0]=h=>e(f).app_url=h),"content-loading":n.isFetchingInitialData,invalid:e(o).app_url.$error,type:"text"},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),t(g,{label:c.$t("wizard.database.connection"),"content-loading":n.isFetchingInitialData,error:e(o).database_connection.$error&&e(o).database_connection.$errors[0].$message,required:""},{default:d(()=>[t(v,{modelValue:e(f).database_connection,"onUpdate:modelValue":[b[1]||(b[1]=h=>e(f).database_connection=h),a],"content-loading":n.isFetchingInitialData,invalid:e(o).database_connection.$error,options:e(s),"can-deselect":!1,"can-clear":!1},null,8,["modelValue","content-loading","invalid","options"])]),_:1},8,["label","content-loading","error"]),t(g,{label:c.$t("wizard.database.db_path"),error:e(o).database_name.$error&&e(o).database_name.$errors[0].$message,"content-loading":n.isFetchingInitialData,required:""},{default:d(()=>[t(C,{modelValue:e(f).database_name,"onUpdate:modelValue":b[2]||(b[2]=h=>e(f).database_name=h),"content-loading":n.isFetchingInitialData,invalid:e(o).database_name.$error},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","error","content-loading"])]),oe(t($,{"content-loading":n.isFetchingInitialData,type:"submit",class:"mt-4",loading:n.isSaving,disabled:n.isSaving},{left:d(h=>[n.isSaving?G("",!0):(B(),S(p,{key:0,name:"SaveIcon",class:O(h.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(c.$t("wizard.save_cont")),1)]),_:1},8,["content-loading","loading","disabled"]),[[re,!n.isFetchingInitialData]])],40,Ke)}}},ea={components:{Mysql:Ye,Pgsql:Je,Sqlite:Xe},emits:["next"],setup(n,{emit:q}){const l=M("mysql"),s=M(!1),{t:r}=E(),y=ae(),u=R(),f=z(()=>u.currentDataBaseData);async function i(o){let w={connection:o};const a=await u.fetchInstallationDatabase(w);a.data.success&&(f.value.database_connection=a.data.config.database_connection),o==="sqlite"?f.value.database_name=a.data.config.database_name:f.value.database_name=null}async function m(o){s.value=!0;try{let w=await u.addInstallationDatabase(o);if(s.value=!1,w.data.success){await u.addInstallationFinish(),q("next",3),y.showNotification({type:"success",message:r("wizard.success."+w.data.success)});return}else if(w.data.error){if(w.data.requirement){y.showNotification({type:"error",message:r("wizard.errors."+w.data.error,{version:w.data.requirement.minimum,name:o.value.database_connection})});return}y.showNotification({type:"error",message:r("wizard.errors."+w.data.error)})}else w.data.errors?y.showNotification({type:"error",message:w.data.errors[0]}):w.data.error_message&&y.showNotification({type:"error",message:w.data.error_message})}catch{y.showNotification({type:"error",message:r("validation.something_went_wrong")}),s.value=!1}finally{s.value=!1}}return{databaseData:f,database_connection:l,isSaving:s,getDatabaseConfig:i,next:m}}};function aa(n,q,l,s,r,y){const u=_("BaseWizardStep");return B(),S(u,{title:n.$t("wizard.database.database"),description:n.$t("wizard.database.desc"),"step-container":"w-full p-8 mb-8 bg-white border border-gray-200 border-solid rounded md:w-full"},{default:d(()=>[(B(),S(le(s.databaseData.database_connection),{"config-data":s.databaseData,"is-saving":s.isSaving,onOnChangeDriver:s.getDatabaseConfig,onSubmitData:s.next},null,8,["config-data","is-saving","onOnChangeDriver","onSubmitData"]))]),_:1},8,["title","description"])}var ta=ee(ea,[["render",aa]]);const na={class:"w-full md:w-2/3"},ia=V("p",{class:"mt-4 mb-0 text-sm text-gray-600"},"Notes:",-1),oa=V("ul",{class:"w-full text-gray-600 list-disc list-inside"},[V("li",{class:"text-sm leading-8"},[P(" App domain should not contain "),V("b",{class:"inline-block px-1 bg-gray-100 rounded-sm"},"https://"),P(" or "),V("b",{class:"inline-block px-1 bg-gray-100 rounded-sm"},"http"),P(" in front of the domain. ")]),V("li",{class:"text-sm leading-8"},[P(" If you're accessing the website on a different port, please mention the port. For example: "),V("b",{class:"inline-block px-1 bg-gray-100"},"localhost:8080")])],-1),ra={emits:["next"],setup(n,{emit:q}){const l=T({app_domain:window.location.origin.replace(/(^\w+:|^)\/\//,"")}),s=M(!1),{t:r}=E(),y=Q("utils"),u=a=>y.checkValidDomainUrl(a),f=R(),i=ae(),m={app_domain:{required:I.withMessage(r("validation.required"),D),isUrl:I.withMessage(r("validation.invalid_domain_url"),u)}},o=L(m,z(()=>l));async function w(){if(o.value.$touch(),o.value.$invalid)return!0;s.value=!0;try{await f.setInstallationDomain(l),await f.installationLogin(),(await f.checkAutheticated()).data&&q("next",4),s.value=!1}catch{i.showNotification({type:"error",message:r("wizard.verify_domain.failed")}),s.value=!1}}return(a,c)=>{const b=_("BaseInput"),C=_("BaseInputGroup"),g=_("BaseButton"),v=_("BaseWizardStep");return B(),S(v,{title:a.$t("wizard.verify_domain.title"),description:a.$t("wizard.verify_domain.desc")},{default:d(()=>[V("div",na,[t(C,{label:a.$t("wizard.verify_domain.app_domain"),error:e(o).app_domain.$error&&e(o).app_domain.$errors[0].$message,required:""},{default:d(()=>[t(b,{modelValue:e(l).app_domain,"onUpdate:modelValue":c[0]||(c[0]=p=>e(l).app_domain=p),invalid:e(o).app_domain.$error,type:"text",onInput:c[1]||(c[1]=p=>e(o).app_domain.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),ia,oa,t(g,{loading:s.value,disabled:s.value,class:"mt-8",onClick:w},{default:d(()=>[P(U(a.$t("wizard.verify_domain.verify_now")),1)]),_:1},8,["loading","disabled"])]),_:1},8,["title","description"])}}},la=["onSubmit"],sa={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},da={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},ua={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},ma={class:"grid grid-cols-1 gap-4 mb-6 md:grid-cols-2"},ca={props:{isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1}},emits:["submit-data","on-change-driver"],setup(n,{emit:q}){let l=M(!1);const s=T(["tls","ssl","starttls"]),{t:r}=E(),y=H(),u=z(()=>y.smtpConfig),f=z(()=>l.value?"text":"password");u.value.mail_driver="smtp";const i=z(()=>({smtpConfig:{mail_driver:{required:I.withMessage(r("validation.required"),D)},mail_host:{required:I.withMessage(r("validation.required"),D)},mail_port:{required:I.withMessage(r("validation.required"),D),numeric:I.withMessage(r("validation.numbers_only"),X)},mail_encryption:{required:I.withMessage(r("validation.required"),D)},from_mail:{required:I.withMessage(r("validation.required"),D),email:I.withMessage(r("validation.email_incorrect"),K)},from_name:{required:I.withMessage(r("validation.required"),D)}}})),m=L(i,z(()=>y));async function o(){return m.value.$touch(),m.value.$invalid||q("submit-data",y.smtpConfig),!1}function w(){m.value.smtpConfig.mail_driver.$touch(),q("on-change-driver",y.smtpConfig.mail_driver)}return(a,c)=>{const b=_("BaseMultiselect"),C=_("BaseInputGroup"),g=_("BaseInput"),v=_("BaseIcon"),p=_("BaseButton");return B(),k("form",{onSubmit:W(o,["prevent"])},[V("div",sa,[t(C,{label:a.$t("wizard.mail.driver"),"content-loading":n.isFetchingInitialData,error:e(m).smtpConfig.mail_driver.$error&&e(m).smtpConfig.mail_driver.$errors[0].$message,required:""},{default:d(()=>[t(b,{modelValue:e(u).mail_driver,"onUpdate:modelValue":[c[0]||(c[0]=$=>e(u).mail_driver=$),w],options:e(y).mail_drivers,"can-deselect":!1,"content-loading":n.isFetchingInitialData,invalid:e(m).smtpConfig.mail_driver.$error},null,8,["modelValue","options","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),t(C,{label:a.$t("wizard.mail.host"),"content-loading":n.isFetchingInitialData,error:e(m).smtpConfig.mail_host.$error&&e(m).smtpConfig.mail_host.$errors[0].$message,required:""},{default:d(()=>[t(g,{modelValue:e(u).mail_host,"onUpdate:modelValue":c[1]||(c[1]=$=>e(u).mail_host=$),modelModifiers:{trim:!0},invalid:e(m).smtpConfig.mail_host.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"mail_host",onInput:c[2]||(c[2]=$=>e(m).smtpConfig.mail_host.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"])]),V("div",da,[t(C,{label:a.$t("wizard.mail.username"),"content-loading":n.isFetchingInitialData},{default:d(()=>[t(g,{modelValue:e(u).mail_username,"onUpdate:modelValue":c[3]||(c[3]=$=>e(u).mail_username=$),modelModifiers:{trim:!0},"content-loading":n.isFetchingInitialData,type:"text",name:"db_name"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading"]),t(C,{label:a.$t("wizard.mail.password"),"content-loading":n.isFetchingInitialData},{default:d(()=>[t(g,{modelValue:e(u).mail_password,"onUpdate:modelValue":c[6]||(c[6]=$=>e(u).mail_password=$),modelModifiers:{trim:!0},type:e(f),"content-loading":n.isFetchingInitialData,autocomplete:"off","data-lpignore":"true",name:"password"},{right:d(()=>[e(l)?(B(),S(v,{key:0,name:"EyeOffIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:c[4]||(c[4]=$=>Y(l)?l.value=!e(l):l=!e(l))})):(B(),S(v,{key:1,name:"EyeIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:c[5]||(c[5]=$=>Y(l)?l.value=!e(l):l=!e(l))}))]),_:1},8,["modelValue","type","content-loading"])]),_:1},8,["label","content-loading"])]),V("div",ua,[t(C,{label:a.$t("wizard.mail.port"),error:e(m).smtpConfig.mail_port.$error&&e(m).smtpConfig.mail_port.$errors[0].$message,"content-loading":n.isFetchingInitialData,required:""},{default:d(()=>[t(g,{modelValue:e(u).mail_port,"onUpdate:modelValue":c[7]||(c[7]=$=>e(u).mail_port=$),modelModifiers:{trim:!0},invalid:e(m).smtpConfig.mail_port.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"mail_port",onInput:c[8]||(c[8]=$=>e(m).smtpConfig.mail_port.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","error","content-loading"]),t(C,{label:a.$t("wizard.mail.encryption"),error:e(m).smtpConfig.mail_encryption.$error&&e(m).smtpConfig.mail_encryption.$errors[0].$message,"content-loading":n.isFetchingInitialData,required:""},{default:d(()=>[t(b,{modelValue:e(u).mail_encryption,"onUpdate:modelValue":c[9]||(c[9]=$=>e(u).mail_encryption=$),modelModifiers:{trim:!0},options:e(s),"can-deselect":!1,invalid:e(m).smtpConfig.mail_encryption.$error,"content-loading":n.isFetchingInitialData,onInput:c[10]||(c[10]=$=>e(m).smtpConfig.mail_encryption.$touch())},null,8,["modelValue","options","invalid","content-loading"])]),_:1},8,["label","error","content-loading"])]),V("div",ma,[t(C,{label:a.$t("wizard.mail.from_mail"),error:e(m).smtpConfig.from_mail.$error&&e(m).smtpConfig.from_mail.$errors[0].$message,"content-loading":n.isFetchingInitialData,required:""},{default:d(()=>[t(g,{modelValue:e(u).from_mail,"onUpdate:modelValue":c[11]||(c[11]=$=>e(u).from_mail=$),modelModifiers:{trim:!0},invalid:e(m).smtpConfig.from_mail.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"from_mail",onInput:c[12]||(c[12]=$=>e(m).smtpConfig.from_mail.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","error","content-loading"]),t(C,{label:a.$t("wizard.mail.from_name"),error:e(m).smtpConfig.from_name.$error&&e(m).smtpConfig.from_name.$errors[0].$message,"content-loading":n.isFetchingInitialData,required:""},{default:d(()=>[t(g,{modelValue:e(u).from_name,"onUpdate:modelValue":c[13]||(c[13]=$=>e(u).from_name=$),modelModifiers:{trim:!0},invalid:e(m).smtpConfig.from_name.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"from_name",onInput:c[14]||(c[14]=$=>e(m).smtpConfig.from_name.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","error","content-loading"])]),t(p,{loading:n.isSaving,disabled:n.isSaving,"content-loading":n.isFetchingInitialData,class:"mt-4"},{left:d($=>[n.isSaving?G("",!0):(B(),S(v,{key:0,name:"SaveIcon",class:O($.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(a.$t("general.save")),1)]),_:1},8,["loading","disabled","content-loading"])],40,la)}}},ga=["onSubmit"],fa={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 lg:mb-6 md:mb-6"},pa={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 lg:mb-6 md:mb-6"},va={class:"grid grid-cols-1 gap-4 mb-6 md:grid-cols-2"},_a={props:{isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1}},emits:["submit-data","on-change-driver"],setup(n,{emit:q}){let l=M(!1);const s=H(),{t:r}=E(),y=z(()=>s.mailgunConfig),u=z(()=>l.value?"text":"password");y.value.mail_driver="mailgun";const f=z(()=>({mailgunConfig:{mail_driver:{required:I.withMessage(r("validation.required"),D)},mail_mailgun_domain:{required:I.withMessage(r("validation.required"),D)},mail_mailgun_endpoint:{required:I.withMessage(r("validation.required"),D)},mail_mailgun_secret:{required:I.withMessage(r("validation.required"),D)},from_mail:{required:I.withMessage(r("validation.required"),D),email:K},from_name:{required:I.withMessage(r("validation.required"),D)}}})),i=L(f,z(()=>s));function m(){return i.value.$touch(),i.value.$invalid||q("submit-data",s.mailgunConfig),!1}function o(){i.value.mailgunConfig.mail_driver.$touch(),q("on-change-driver",s.mailgunConfig.mail_driver)}return(w,a)=>{const c=_("BaseMultiselect"),b=_("BaseInputGroup"),C=_("BaseInput"),g=_("BaseIcon"),v=_("BaseButton");return B(),k("form",{onSubmit:W(m,["prevent"])},[V("div",fa,[t(b,{label:w.$t("wizard.mail.driver"),"content-loading":n.isFetchingInitialData,error:e(i).mailgunConfig.mail_driver.$error&&e(i).mailgunConfig.mail_driver.$errors[0].$message,required:""},{default:d(()=>[t(c,{modelValue:e(y).mail_driver,"onUpdate:modelValue":[a[0]||(a[0]=p=>e(y).mail_driver=p),o],options:e(s).mail_drivers,"can-deselect":!1,invalid:e(i).mailgunConfig.mail_driver.$error,"content-loading":n.isFetchingInitialData},null,8,["modelValue","options","invalid","content-loading"])]),_:1},8,["label","content-loading","error"]),t(b,{label:w.$t("wizard.mail.mailgun_domain"),"content-loading":n.isFetchingInitialData,error:e(i).mailgunConfig.mail_mailgun_domain.$error&&e(i).mailgunConfig.mail_mailgun_domain.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(y).mail_mailgun_domain,"onUpdate:modelValue":a[1]||(a[1]=p=>e(y).mail_mailgun_domain=p),modelModifiers:{trim:!0},invalid:e(i).mailgunConfig.mail_mailgun_domain.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"mailgun_domain",onInput:a[2]||(a[2]=p=>e(i).mailgunConfig.mail_mailgun_domain.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"])]),V("div",pa,[t(b,{label:w.$t("wizard.mail.mailgun_secret"),"content-loading":n.isFetchingInitialData,error:e(i).mailgunConfig.mail_mailgun_secret.$error&&e(i).mailgunConfig.mail_mailgun_secret.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(y).mail_mailgun_secret,"onUpdate:modelValue":a[5]||(a[5]=p=>e(y).mail_mailgun_secret=p),modelModifiers:{trim:!0},invalid:e(i).mailgunConfig.mail_mailgun_secret.$error,type:e(u),"content-loading":n.isFetchingInitialData,name:"mailgun_secret",autocomplete:"off","data-lpignore":"true",onInput:a[6]||(a[6]=p=>e(i).mailgunConfig.mail_mailgun_secret.$touch())},{right:d(()=>[e(l)?(B(),S(g,{key:0,name:"EyeOffIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:a[3]||(a[3]=p=>Y(l)?l.value=!e(l):l=!e(l))})):(B(),S(g,{key:1,name:"EyeIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:a[4]||(a[4]=p=>Y(l)?l.value=!e(l):l=!e(l))}))]),_:1},8,["modelValue","invalid","type","content-loading"])]),_:1},8,["label","content-loading","error"]),t(b,{label:w.$t("wizard.mail.mailgun_endpoint"),"content-loading":n.isFetchingInitialData,error:e(i).mailgunConfig.mail_mailgun_endpoint.$error&&e(i).mailgunConfig.mail_mailgun_endpoint.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(y).mail_mailgun_endpoint,"onUpdate:modelValue":a[7]||(a[7]=p=>e(y).mail_mailgun_endpoint=p),modelModifiers:{trim:!0},invalid:e(i).mailgunConfig.mail_mailgun_endpoint.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"mailgun_endpoint",onInput:a[8]||(a[8]=p=>e(i).mailgunConfig.mail_mailgun_endpoint.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"])]),V("div",va,[t(b,{label:w.$t("wizard.mail.from_mail"),"content-loading":n.isFetchingInitialData,error:e(i).mailgunConfig.from_mail.$error&&e(i).mailgunConfig.from_mail.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(y).from_mail,"onUpdate:modelValue":a[9]||(a[9]=p=>e(y).from_mail=p),modelModifiers:{trim:!0},name:"from_mail",type:"text",invalid:e(i).mailgunConfig.from_mail.$error,"content-loading":n.isFetchingInitialData,onInput:a[10]||(a[10]=p=>e(i).mailgunConfig.from_mail.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"]),t(b,{label:w.$t("wizard.mail.from_name"),"content-loading":n.isFetchingInitialData,error:e(i).mailgunConfig.from_name.$error&&e(i).mailgunConfig.from_name.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(y).from_name,"onUpdate:modelValue":a[11]||(a[11]=p=>e(y).from_name=p),modelModifiers:{trim:!0},invalid:e(i).mailgunConfig.from_name.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"from_name",onInput:a[12]||(a[12]=p=>e(i).mailgunConfig.from_name.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"])]),t(v,{loading:w.loading,disabled:n.isSaving,"content-loading":n.isFetchingInitialData,class:"mt-4"},{left:d(p=>[n.isSaving?G("",!0):(B(),S(g,{key:0,name:"SaveIcon",class:O(p.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(w.$t("general.save")),1)]),_:1},8,["loading","disabled","content-loading"])],40,ga)}}},ba=["onSubmit"],$a={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},wa={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},ya={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},ha={class:"grid grid-cols-1 gap-4 mb-6 md:grid-cols-2"},Ia={props:{isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1}},emits:["submit-data","on-change-driver"],setup(n,{emit:q}){const{t:l}=E(),s=T(["tls","ssl","starttls"]);let r=M(!1);const y=H(),u=z(()=>y.sesConfig);u.value.mail_driver="ses";const f=z(()=>({sesConfig:{mail_driver:{required:I.withMessage(l("validation.required"),D)},mail_host:{required:I.withMessage(l("validation.required"),D)},mail_port:{required:I.withMessage(l("validation.required"),D),numeric:X},mail_ses_key:{required:I.withMessage(l("validation.required"),D)},mail_ses_secret:{required:I.withMessage(l("validation.required"),D)},mail_encryption:{required:I.withMessage(l("validation.required"),D)},from_mail:{required:I.withMessage(l("validation.required"),D),email:I.withMessage(l("validation.email_incorrect"),K)},from_name:{required:I.withMessage(l("validation.required"),D)}}})),i=L(f,z(()=>y));async function m(){return i.value.$touch(),i.value.$invalid||q("submit-data",y.sesConfig),!1}function o(){i.value.sesConfig.mail_driver.$touch(),q("on-change-driver",y.sesConfig.mail_driver)}return(w,a)=>{const c=_("BaseMultiselect"),b=_("BaseInputGroup"),C=_("BaseInput"),g=_("BaseIcon"),v=_("BaseButton");return B(),k("form",{onSubmit:W(m,["prevent"])},[V("div",$a,[t(b,{label:w.$t("wizard.mail.driver"),"content-loading":n.isFetchingInitialData,error:e(i).sesConfig.mail_driver.$error&&e(i).sesConfig.mail_driver.$errors[0].$message,required:""},{default:d(()=>[t(c,{modelValue:e(u).mail_driver,"onUpdate:modelValue":[a[0]||(a[0]=p=>e(u).mail_driver=p),o],options:e(y).mail_drivers,"can-deselect":!1,"content-loading":n.isFetchingInitialData,invalid:e(i).sesConfig.mail_driver.$error},null,8,["modelValue","options","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),t(b,{label:w.$t("wizard.mail.host"),"content-loading":n.isFetchingInitialData,error:e(i).sesConfig.mail_host.$error&&e(i).sesConfig.mail_host.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(u).mail_host,"onUpdate:modelValue":a[1]||(a[1]=p=>e(u).mail_host=p),modelModifiers:{trim:!0},invalid:e(i).sesConfig.mail_host.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"mail_host",onInput:a[2]||(a[2]=p=>e(i).sesConfig.mail_host.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"])]),V("div",wa,[t(b,{label:w.$t("wizard.mail.port"),"content-loading":n.isFetchingInitialData,error:e(i).sesConfig.mail_port.$error&&e(i).sesConfig.mail_port.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(u).mail_port,"onUpdate:modelValue":a[3]||(a[3]=p=>e(u).mail_port=p),modelModifiers:{trim:!0},invalid:e(i).sesConfig.mail_port.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"mail_port",onInput:a[4]||(a[4]=p=>e(i).sesConfig.mail_port.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"]),t(b,{label:w.$t("wizard.mail.encryption"),"content-loading":n.isFetchingInitialData,error:e(i).sesConfig.mail_encryption.$error&&e(i).sesConfig.mail_encryption.$errors[0].$message,required:""},{default:d(()=>[t(c,{modelValue:e(u).mail_encryption,"onUpdate:modelValue":a[5]||(a[5]=p=>e(u).mail_encryption=p),modelModifiers:{trim:!0},invalid:e(i).sesConfig.mail_encryption.$error,options:e(s),"content-loading":n.isFetchingInitialData,onInput:a[6]||(a[6]=p=>e(i).sesConfig.mail_encryption.$touch())},null,8,["modelValue","invalid","options","content-loading"])]),_:1},8,["label","content-loading","error"])]),V("div",ya,[t(b,{label:w.$t("wizard.mail.from_mail"),"content-loading":n.isFetchingInitialData,error:e(i).sesConfig.from_mail.$error&&e(i).sesConfig.from_mail.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(u).from_mail,"onUpdate:modelValue":a[7]||(a[7]=p=>e(u).from_mail=p),modelModifiers:{trim:!0},invalid:e(i).sesConfig.from_mail.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"from_mail",onInput:a[8]||(a[8]=p=>e(i).sesConfig.from_mail.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"]),t(b,{label:w.$t("wizard.mail.from_name"),"content-loading":n.isFetchingInitialData,error:e(i).sesConfig.from_name.$error&&e(i).sesConfig.from_name.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(u).from_name,"onUpdate:modelValue":a[9]||(a[9]=p=>e(u).from_name=p),modelModifiers:{trim:!0},invalid:e(i).sesConfig.from_name.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"name",onInput:a[10]||(a[10]=p=>e(i).sesConfig.from_name.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"])]),V("div",ha,[t(b,{label:w.$t("wizard.mail.ses_key"),"content-loading":n.isFetchingInitialData,error:e(i).sesConfig.mail_ses_key.$error&&e(i).sesConfig.mail_ses_key.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(u).mail_ses_key,"onUpdate:modelValue":a[11]||(a[11]=p=>e(u).mail_ses_key=p),modelModifiers:{trim:!0},invalid:e(i).sesConfig.mail_ses_key.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"mail_ses_key",onInput:a[12]||(a[12]=p=>e(i).sesConfig.mail_ses_key.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"]),t(b,{label:w.$t("wizard.mail.ses_secret"),"content-loading":n.isFetchingInitialData,error:e(i).sesConfig.mail_ses_secret.$error&&e(i).sesConfig.mail_ses_secret.$errors[0].$message,required:""},{default:d(()=>[t(C,{modelValue:e(u).mail_ses_secret,"onUpdate:modelValue":a[15]||(a[15]=p=>e(u).mail_ses_secret=p),modelModifiers:{trim:!0},invalid:e(i).sesConfig.mail_ses_secret.$error,type:w.getInputType,"content-loading":n.isFetchingInitialData,name:"mail_ses_secret",autocomplete:"off","data-lpignore":"true",onInput:a[16]||(a[16]=p=>e(i).sesConfig.mail_ses_secret.$touch())},{right:d(()=>[e(r)?(B(),S(g,{key:0,name:"EyeOffIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:a[13]||(a[13]=p=>Y(r)?r.value=!e(r):r=!e(r))})):(B(),S(g,{key:1,name:"EyeIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:a[14]||(a[14]=p=>Y(r)?r.value=!e(r):r=!e(r))}))]),_:1},8,["modelValue","invalid","type","content-loading"])]),_:1},8,["label","content-loading","error"])]),t(v,{loading:n.isSaving,disabled:n.isSaving,"content-loading":n.isFetchingInitialData,class:"mt-4"},{left:d(p=>[n.isSaving?G("",!0):(B(),S(g,{key:0,name:"SaveIcon",class:O(p.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(w.$t("general.save")),1)]),_:1},8,["loading","disabled","content-loading"])],40,ba)}}},qa=["onSubmit"],Ba={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},Ca={class:"grid grid-cols-1 gap-4 mb-6 md:grid-cols-2"},ve={props:{isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1}},emits:["submit-data","on-change-driver"],setup(n,{emit:q}){const{t:l}=E(),s=H(),r=z(()=>s.basicMailConfig);z(()=>s.mail_drivers),r.value.mail_driver="mail";const y=z(()=>({basicMailConfig:{mail_driver:{required:I.withMessage(l("validation.required"),D)},from_mail:{required:I.withMessage(l("validation.required"),D),email:I.withMessage(l("validation.email_incorrect"),K)},from_name:{required:I.withMessage(l("validation.required"),D)}}})),u=L(y,z(()=>s));function f(){return u.value.$touch(),u.value.$invalid||q("submit-data",s.basicMailConfig),!1}function i(){var m;u.value.basicMailConfig.mail_driver.$touch(),q("on-change-driver",(m=s==null?void 0:s.basicMailConfig)==null?void 0:m.mail_driver)}return(m,o)=>{const w=_("BaseMultiselect"),a=_("BaseInputGroup"),c=_("BaseInput"),b=_("BaseIcon"),C=_("BaseButton");return B(),k("form",{onSubmit:W(f,["prevent"])},[V("div",Ba,[t(a,{label:m.$t("wizard.mail.driver"),"content-loading":n.isFetchingInitialData,error:e(u).basicMailConfig.mail_driver.$error&&e(u).basicMailConfig.mail_driver.$errors[0].$message,required:""},{default:d(()=>[t(w,{modelValue:e(r).mail_driver,"onUpdate:modelValue":[o[0]||(o[0]=g=>e(r).mail_driver=g),i],invalid:e(u).basicMailConfig.mail_driver.$error,options:e(s).mail_drivers,"can-deselect":!1,"content-loading":n.isFetchingInitialData},null,8,["modelValue","invalid","options","content-loading"])]),_:1},8,["label","content-loading","error"])]),V("div",Ca,[t(a,{label:m.$t("wizard.mail.from_name"),"content-loading":n.isFetchingInitialData,error:e(u).basicMailConfig.from_name.$error&&e(u).basicMailConfig.from_name.$errors[0].$message,required:""},{default:d(()=>[t(c,{modelValue:e(r).from_name,"onUpdate:modelValue":o[1]||(o[1]=g=>e(r).from_name=g),modelModifiers:{trim:!0},invalid:e(u).basicMailConfig.from_name.$error,"content-loading":n.isFetchingInitialData,type:"text",name:"name",onInput:o[2]||(o[2]=g=>e(u).basicMailConfig.from_name.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"]),t(a,{label:m.$t("wizard.mail.from_mail"),"content-loading":n.isFetchingInitialData,error:e(u).basicMailConfig.from_mail.$error&&e(u).basicMailConfig.from_mail.$errors[0].$message,required:""},{default:d(()=>[t(c,{modelValue:e(r).from_mail,"onUpdate:modelValue":o[3]||(o[3]=g=>e(r).from_mail=g),modelModifiers:{trim:!0},invalid:e(u).basicMailConfig.from_mail.$error,"content-loading":n.isFetchingInitialData,type:"text",onInput:o[4]||(o[4]=g=>e(u).basicMailConfig.from_mail.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","content-loading","error"])]),t(C,{loading:n.isSaving,disabled:n.isSaving,"content-loading":n.isFetchingInitialData,class:"mt-4"},{left:d(g=>[n.isSaving?G("",!0):(B(),S(b,{key:0,name:"SaveIcon",class:O(g.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(m.$t("general.save")),1)]),_:1},8,["loading","disabled","content-loading"])],40,qa)}}},Va={components:{Smtp:ca,Mailgun:_a,Ses:Ia,sendmail:ve,Mail:ve},emits:["next"],setup(n,{emit:q}){const l=M(!1),s=M(!1),r=H();r.mail_driver="mail",u();function y(i){r.mail_driver=i}async function u(){s.value=!0,await r.fetchMailDrivers(),s.value=!1}async function f(i){l.value=!0;let m=await r.updateMailConfig(i);l.value=!1,m.data.success&&await q("next",5)}return{mailDriverStore:r,isSaving:l,isFetchingInitialData:s,changeDriver:y,next:f}}};function Da(n,q,l,s,r,y){const u=_("BaseWizardStep");return B(),S(u,{title:n.$t("wizard.mail.mail_config"),description:n.$t("wizard.mail.mail_config_desc")},{default:d(()=>[V("form",{action:"",onSubmit:q[1]||(q[1]=W((...f)=>s.next&&s.next(...f),["prevent"]))},[(B(),S(le(s.mailDriverStore.mail_driver),{"config-data":s.mailDriverStore.mailConfigData,"is-saving":s.isSaving,"is-fetching-initial-data":s.isFetchingInitialData,onOnChangeDriver:q[0]||(q[0]=f=>s.changeDriver(f)),onSubmitData:s.next},null,8,["config-data","is-saving","is-fetching-initial-data","onSubmitData"]))],32)]),_:1},8,["title","description"])}var Fa=ee(Va,[["render",Da]]);const Sa=["onSubmit"],Ma={class:"grid grid-cols-1 mb-4 md:grid-cols-2 md:mb-6"},za={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},ka={class:"grid grid-cols-1 gap-4 mb-6 md:grid-cols-2"},Ua={emits:["next"],setup(n,{emit:q}){let l=M(!1);const s=M(!1),r=M(!1);let y=M(""),u=M(null);const f=ce(),i=te(),{t:m}=E(),o=z(()=>f.userForm),w=z(()=>({userForm:{name:{required:I.withMessage(m("validation.required"),D)},email:{required:I.withMessage(m("validation.required"),D),email:I.withMessage(m("validation.email_incorrect"),K)},password:{required:I.withMessage(m("validation.required"),D),minLength:I.withMessage(m("validation.password_min_length",{count:8}),he(8))},confirm_password:{required:I.withMessage(m("validation.required"),Ie(f.userForm.password)),sameAsPassword:I.withMessage(m("validation.password_incorrect"),qe(f.userForm.password))}}})),a=L(w,z(()=>f));function c(g,v){u.value=v}function b(){u.value=null}async function C(){if(a.value.userForm.$touch(),a.value.userForm.$invalid)return!0;l.value=!0;let g=await f.updateCurrentUser(o.value);if(l.value=!1,g.data.data){if(u.value){let p=new FormData;p.append("admin_avatar",u.value),await f.uploadAvatar(p)}const v=g.data.data.companies[0];await i.setSelectedCompany(v),q("next",6)}}return(g,v)=>{const p=_("BaseFileUploader"),$=_("BaseInputGroup"),h=_("BaseInput"),x=_("EyeOffIcon"),j=_("EyeIcon"),A=_("BaseIcon"),Z=_("BaseButton"),N=_("BaseWizardStep");return B(),S(N,{title:g.$t("wizard.account_info"),description:g.$t("wizard.account_info_desc")},{default:d(()=>[V("form",{action:"",onSubmit:W(C,["prevent"])},[V("div",Ma,[t($,{label:g.$tc("settings.account_settings.profile_picture")},{default:d(()=>[t(p,{avatar:!0,"preview-image":e(y),onChange:c,onRemove:b},null,8,["preview-image"])]),_:1},8,["label"])]),V("div",za,[t($,{label:g.$t("wizard.name"),error:e(a).userForm.name.$error&&e(a).userForm.name.$errors[0].$message,required:""},{default:d(()=>[t(h,{modelValue:e(o).name,"onUpdate:modelValue":v[0]||(v[0]=F=>e(o).name=F),modelModifiers:{trim:!0},invalid:e(a).userForm.name.$error,type:"text",name:"name",onInput:v[1]||(v[1]=F=>e(a).userForm.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),t($,{label:g.$t("wizard.email"),error:e(a).userForm.email.$error&&e(a).userForm.email.$errors[0].$message,required:""},{default:d(()=>[t(h,{modelValue:e(o).email,"onUpdate:modelValue":v[2]||(v[2]=F=>e(o).email=F),modelModifiers:{trim:!0},invalid:e(a).userForm.email.$error,type:"text",name:"email",onInput:v[3]||(v[3]=F=>e(a).userForm.email.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),V("div",ka,[t($,{label:g.$t("wizard.password"),error:e(a).userForm.password.$error&&e(a).userForm.password.$errors[0].$message,required:""},{default:d(()=>[t(h,{modelValue:e(o).password,"onUpdate:modelValue":v[6]||(v[6]=F=>e(o).password=F),modelModifiers:{trim:!0},invalid:e(a).userForm.password.$error,type:s.value?"text":"password",name:"password",onInput:v[7]||(v[7]=F=>e(a).userForm.password.$touch())},{right:d(()=>[s.value?(B(),S(x,{key:0,class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:v[4]||(v[4]=F=>s.value=!s.value)})):(B(),S(j,{key:1,class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:v[5]||(v[5]=F=>s.value=!s.value)}))]),_:1},8,["modelValue","invalid","type"])]),_:1},8,["label","error"]),t($,{label:g.$t("wizard.confirm_password"),error:e(a).userForm.confirm_password.$error&&e(a).userForm.confirm_password.$errors[0].$message,required:""},{default:d(()=>[t(h,{modelValue:e(o).confirm_password,"onUpdate:modelValue":v[10]||(v[10]=F=>e(o).confirm_password=F),modelModifiers:{trim:!0},invalid:e(a).userForm.confirm_password.$error,type:r.value?"text":"password",name:"confirm_password",onInput:v[11]||(v[11]=F=>e(a).userForm.confirm_password.$touch())},{right:d(()=>[r.value?(B(),S(A,{key:0,name:"EyeOffIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:v[8]||(v[8]=F=>r.value=!r.value)})):(B(),S(A,{key:1,name:"EyeIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:v[9]||(v[9]=F=>r.value=!r.value)}))]),_:1},8,["modelValue","invalid","type"])]),_:1},8,["label","error"])]),t(Z,{loading:e(l),disabled:e(l),class:"mt-4"},{left:d(F=>[e(l)?G("",!0):(B(),S(A,{key:0,name:"SaveIcon",class:O(F.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(g.$t("wizard.save_cont")),1)]),_:1},8,["loading","disabled"])],40,Sa)]),_:1},8,["title","description"])}}},Pa=["onSubmit"],Na={class:"grid grid-cols-1 mb-4 md:grid-cols-2 md:mb-6"},Ga={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},Ea={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},Oa={class:"grid grid-cols-1 gap-4 mb-6 md:grid-cols-2"},xa={emits:["next"],setup(n,{emit:q}){let l=M(!1),s=M(!1);const{t:r}=E();let y=M(null),u=M(null),f=M(null);const i=T({name:null,address:{address_street_1:"",address_street_2:"",website:"",country_id:null,state:"",city:"",phone:"",zip:""}}),m=te(),o=ge();J(async()=>{l.value=!0,await o.fetchCountries(),l.value=!1});const w={companyForm:{name:{required:I.withMessage(r("validation.required"),D)},address:{country_id:{required:I.withMessage(r("validation.required"),D)},address_street_1:{maxLength:I.withMessage(r("validation.address_maxlength",{count:255}),fe(255))},address_street_2:{maxLength:I.withMessage(r("validation.address_maxlength",{count:255}),fe(255))}}}},a=L(w,{companyForm:i});function c(g,v,p,$){f.value=$.name,u.value=v}function b(){u.value=null}async function C(){if(a.value.companyForm.$touch(),a.value.$invalid)return!0;if(s.value=!0,m.updateCompany(i)){if(u.value){let v=new FormData;v.append("company_logo",JSON.stringify({name:f.value,data:u.value})),await m.updateCompanyLogo(v)}s.value=!1,q("next",7)}}return(g,v)=>{const p=_("BaseFileUploader"),$=_("BaseInputGroup"),h=_("BaseInput"),x=_("BaseMultiselect"),j=_("BaseTextarea"),A=_("BaseIcon"),Z=_("BaseButton"),N=_("BaseWizardStep");return B(),S(N,{title:g.$t("wizard.company_info"),description:g.$t("wizard.company_info_desc"),"step-container":"bg-white border border-gray-200 border-solid mb-8 md:w-full p-8 rounded w-full"},{default:d(()=>[V("form",{action:"",onSubmit:W(C,["prevent"])},[V("div",Na,[t($,{label:g.$tc("settings.company_info.company_logo")},{default:d(()=>[t(p,{base64:"","preview-image":e(y),onChange:c,onRemove:b},null,8,["preview-image"])]),_:1},8,["label"])]),V("div",Ga,[t($,{label:g.$t("wizard.company_name"),error:e(a).companyForm.name.$error&&e(a).companyForm.name.$errors[0].$message,required:""},{default:d(()=>[t(h,{modelValue:e(i).name,"onUpdate:modelValue":v[0]||(v[0]=F=>e(i).name=F),modelModifiers:{trim:!0},invalid:e(a).companyForm.name.$error,type:"text",name:"name",onInput:v[1]||(v[1]=F=>e(a).companyForm.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),t($,{label:g.$t("wizard.country"),error:e(a).companyForm.address.country_id.$error&&e(a).companyForm.address.country_id.$errors[0].$message,"content-loading":e(l),required:""},{default:d(()=>[t(x,{modelValue:e(i).address.country_id,"onUpdate:modelValue":v[2]||(v[2]=F=>e(i).address.country_id=F),label:"name",invalid:e(a).companyForm.address.country_id.$error,options:e(o).countries,"value-prop":"id","can-deselect":!1,"can-clear":!1,"content-loading":e(l),placeholder:g.$t("general.select_country"),searchable:"","track-by":"name"},null,8,["modelValue","invalid","options","content-loading","placeholder"])]),_:1},8,["label","error","content-loading"])]),V("div",Ea,[t($,{label:g.$t("wizard.state")},{default:d(()=>[t(h,{modelValue:e(i).address.state,"onUpdate:modelValue":v[3]||(v[3]=F=>e(i).address.state=F),name:"state",type:"text"},null,8,["modelValue"])]),_:1},8,["label"]),t($,{label:g.$t("wizard.city")},{default:d(()=>[t(h,{modelValue:e(i).address.city,"onUpdate:modelValue":v[4]||(v[4]=F=>e(i).address.city=F),name:"city",type:"text"},null,8,["modelValue"])]),_:1},8,["label"])]),V("div",Oa,[V("div",null,[t($,{label:g.$t("wizard.address"),error:e(a).companyForm.address.address_street_1.$error&&e(a).companyForm.address.address_street_1.$errors[0].$message},{default:d(()=>[t(j,{modelValue:e(i).address.address_street_1,"onUpdate:modelValue":v[5]||(v[5]=F=>e(i).address.address_street_1=F),modelModifiers:{trim:!0},invalid:e(a).companyForm.address.address_street_1.$error,placeholder:g.$t("general.street_1"),name:"billing_street1",rows:"2",onInput:v[6]||(v[6]=F=>e(a).companyForm.address.address_street_1.$touch())},null,8,["modelValue","invalid","placeholder"])]),_:1},8,["label","error"]),t($,{error:e(a).companyForm.address.address_street_2.$error&&e(a).companyForm.address.address_street_2.$errors[0].$message,class:"mt-1 lg:mt-2 md:mt-2"},{default:d(()=>[t(j,{modelValue:e(i).address.address_street_2,"onUpdate:modelValue":v[7]||(v[7]=F=>e(i).address.address_street_2=F),invalid:e(a).companyForm.address.address_street_2.$error,placeholder:g.$t("general.street_2"),name:"billing_street2",rows:"2",onInput:v[8]||(v[8]=F=>e(a).companyForm.address.address_street_2.$touch())},null,8,["modelValue","invalid","placeholder"])]),_:1},8,["error"])]),V("div",null,[t($,{label:g.$t("wizard.zip_code")},{default:d(()=>[t(h,{modelValue:e(i).address.zip,"onUpdate:modelValue":v[9]||(v[9]=F=>e(i).address.zip=F),modelModifiers:{trim:!0},type:"text",name:"zip"},null,8,["modelValue"])]),_:1},8,["label"]),t($,{label:g.$t("wizard.phone"),class:"mt-4"},{default:d(()=>[t(h,{modelValue:e(i).address.phone,"onUpdate:modelValue":v[10]||(v[10]=F=>e(i).address.phone=F),modelModifiers:{trim:!0},type:"text",name:"phone"},null,8,["modelValue"])]),_:1},8,["label"])])]),t(Z,{loading:e(s),disabled:e(s),class:"mt-4"},{left:d(F=>[e(s)?G("",!0):(B(),S(A,{key:0,name:"SaveIcon",class:O(F.class)},null,8,["class"]))]),default:d(()=>[P(" "+U(g.$t("wizard.save_cont")),1)]),_:1},8,["loading","disabled"])],40,Pa)]),_:1},8,["title","description"])}}},La=["onSubmit"],Wa={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},Ta={class:"grid grid-cols-1 gap-4 mb-4 md:grid-cols-2 md:mb-6"},Ra={class:"grid grid-cols-1 gap-4 mb-6 md:grid-cols-2"},ja={emits:["next"],setup(n,{emit:q}){const l=M(!1);let s=M(!1),r=T({currency:1,language:"en",carbon_date_format:"d M Y",time_zone:"UTC",fiscal_year:"1-12"});const{tm:y,t:u}=E(),f=pe();s.value=!0,T([{title:y("settings.customization.invoices.allow"),value:"allow"},{title:y("settings.customization.invoices.disable_on_invoice_partial_paid"),value:"disable_on_invoice_partial_paid"},{title:y("settings.customization.invoices.disable_on_invoice_paid"),value:"disable_on_invoice_paid"},{title:y("settings.customization.invoices.disable_on_invoice_sent"),value:"disable_on_invoice_sent"}]);const i=me(),m=ge(),o=te(),w=ce(),a=ae();let c={key:"fiscal_years"},b={key:"languages"};s.value=!0,Promise.all([m.fetchCurrencies(),m.fetchDateFormats(),m.fetchTimeZones(),m.fetchCountries(),m.fetchConfig(c),m.fetchConfig(b)]).then(([p])=>{s.value=!1});const C=z(()=>({currentPreferences:{currency:{required:I.withMessage(u("validation.required"),D)},language:{required:I.withMessage(u("validation.required"),D)},carbon_date_format:{required:I.withMessage(u("validation.required"),D)},time_zone:{required:I.withMessage(u("validation.required"),D)},fiscal_year:{required:I.withMessage(u("validation.required"),D)}}})),g=L(C,{currentPreferences:r});async function v(){if(g.value.currentPreferences.$touch(),g.value.$invalid)return!0;i.openDialog({title:u("general.do_you_wish_to_continue"),message:u("wizard.currency_set_alert"),yesLabel:u("general.ok"),noLabel:u("general.cancel"),variant:"danger",size:"lg",hideNoButton:!1}).then(async p=>{if(p){let $={settings:ue({},r)};l.value=!0,delete $.settings.discount_per_item;let h=await o.updateCompanySettings({data:$});if(h.data){l.value=!1;let x={settings:{language:r.language}};(await w.updateUserSettings(x)).data&&(q("next","COMPLETED"),a.showNotification({type:"success",message:"Login Successful"}),f.push("/admin/dashboard")),we.set("auth.token",h.data.token)}return!0}return l.value=!1,!0})}return(p,$)=>{const h=_("BaseMultiselect"),x=_("BaseInputGroup"),j=_("BaseIcon"),A=_("BaseButton"),Z=_("BaseWizardStep");return B(),S(Z,{title:p.$t("wizard.preferences"),description:p.$t("wizard.preferences_desc"),"step-container":"bg-white border border-gray-200 border-solid mb-8 md:w-full p-8 rounded w-full"},{default:d(()=>[V("form",{action:"",onSubmit:W(v,["prevent"])},[V("div",null,[V("div",Wa,[t(x,{label:p.$t("wizard.currency"),error:e(g).currentPreferences.currency.$error&&e(g).currentPreferences.currency.$errors[0].$message,"content-loading":e(s),required:""},{default:d(()=>[t(h,{modelValue:e(r).currency,"onUpdate:modelValue":$[0]||($[0]=N=>e(r).currency=N),"content-loading":e(s),options:e(m).currencies,label:"name","value-prop":"id",searchable:!0,"track-by":"name",placeholder:p.$tc("settings.currencies.select_currency"),invalid:e(g).currentPreferences.currency.$error,class:"w-full"},null,8,["modelValue","content-loading","options","placeholder","invalid"])]),_:1},8,["label","error","content-loading"]),t(x,{label:p.$t("settings.preferences.default_language"),error:e(g).currentPreferences.language.$error&&e(g).currentPreferences.language.$errors[0].$message,"content-loading":e(s),required:""},{default:d(()=>[t(h,{modelValue:e(r).language,"onUpdate:modelValue":$[1]||($[1]=N=>e(r).language=N),"content-loading":e(s),options:e(m).languages,label:"name","value-prop":"code",placeholder:p.$tc("settings.preferences.select_language"),class:"w-full","track-by":"code",searchable:!0,invalid:e(g).currentPreferences.language.$error},null,8,["modelValue","content-loading","options","placeholder","invalid"])]),_:1},8,["label","error","content-loading"])]),V("div",Ta,[t(x,{label:p.$t("wizard.date_format"),error:e(g).currentPreferences.carbon_date_format.$error&&e(g).currentPreferences.carbon_date_format.$errors[0].$message,"content-loading":e(s),required:""},{default:d(()=>[t(h,{modelValue:e(r).carbon_date_format,"onUpdate:modelValue":$[2]||($[2]=N=>e(r).carbon_date_format=N),"content-loading":e(s),options:e(m).dateFormats,label:"display_date","value-prop":"carbon_format_value",placeholder:p.$tc("settings.preferences.select_date_format"),"track-by":"display_date",searchable:"",invalid:e(g).currentPreferences.carbon_date_format.$error,class:"w-full"},null,8,["modelValue","content-loading","options","placeholder","invalid"])]),_:1},8,["label","error","content-loading"]),t(x,{label:p.$t("wizard.time_zone"),error:e(g).currentPreferences.time_zone.$error&&e(g).currentPreferences.time_zone.$errors[0].$message,"content-loading":e(s),required:""},{default:d(()=>[t(h,{modelValue:e(r).time_zone,"onUpdate:modelValue":$[3]||($[3]=N=>e(r).time_zone=N),"content-loading":e(s),options:e(m).timeZones,label:"key","value-prop":"value",placeholder:p.$tc("settings.preferences.select_time_zone"),"track-by":"value",searchable:!0,invalid:e(g).currentPreferences.time_zone.$error},null,8,["modelValue","content-loading","options","placeholder","invalid"])]),_:1},8,["label","error","content-loading"])]),V("div",Ra,[t(x,{label:p.$t("wizard.fiscal_year"),error:e(g).currentPreferences.fiscal_year.$error&&e(g).currentPreferences.fiscal_year.$errors[0].$message,"content-loading":e(s),required:""},{default:d(()=>[t(h,{modelValue:e(r).fiscal_year,"onUpdate:modelValue":$[4]||($[4]=N=>e(r).fiscal_year=N),"content-loading":e(s),options:e(m).fiscalYears,label:"key","value-prop":"value",placeholder:p.$tc("settings.preferences.select_financial_year"),invalid:e(g).currentPreferences.fiscal_year.$error,"track-by":"key",searchable:!0,class:"w-full"},null,8,["modelValue","content-loading","options","placeholder","invalid"])]),_:1},8,["label","error","content-loading"])]),t(A,{loading:l.value,disabled:l.value,"content-loading":e(s),class:"mt-4"},{left:d(N=>[t(j,{name:"SaveIcon",class:O(N.class)},null,8,["class"])]),default:d(()=>[P(" "+U(p.$t("wizard.save_cont")),1)]),_:1},8,["loading","disabled","content-loading"])])],40,La)]),_:1},8,["title","description"])}}},Aa={components:{step_1:Ge,step_2:Re,step_3:ta,step_4:ra,step_5:Fa,step_6:Ua,step_7:xa,step_8:ja},setup(){let n=M("step_1"),q=M(1);const l=pe(),s=R();r();async function r(){let i=await s.fetchInstallationStep();if(i.data.profile_complete==="COMPLETED"){l.push("/admin/dashboard");return}let m=parseInt(i.data.profile_complete);m&&(q.value=m+1,n.value=`step_${m+1}`)}async function y(i){var o,w;let m={profile_complete:i};try{return await s.addInstallationStep(m),!0}catch(a){return((w=(o=a==null?void 0:a.response)==null?void 0:o.data)==null?void 0:w.message)==="The MAC is invalid."&&window.location.reload(),!1}}async function u(i){if(i&&!await y(i))return!1;q.value++,q.value<=8&&(n.value="step_"+q.value)}function f(i){}return{stepComponent:n,currentStepNumber:q,onStepChange:u,saveStepProgress:y,onNavClick:f}}},Ya={class:"flex flex-col items-center justify-between w-full pt-10"},Za=V("img",{id:"logo-crater",src:ye,alt:"Crater Logo",class:"h-12 mb-5 md:mb-10"},null,-1);function Ha(n,q,l,s,r,y){const u=_("BaseWizard");return B(),k("div",Ya,[Za,t(u,{steps:7,"current-step":s.currentStepNumber,onClick:s.onNavClick},{default:d(()=>[(B(),S(le(s.stepComponent),{onNext:s.onStepChange},null,8,["onNext"]))]),_:1},8,["current-step","onClick"])])}var Xa=ee(Aa,[["render",Ha]]);export{Xa as default}; diff --git a/public/build/assets/InvoiceCreate.8e89de3b.js b/public/build/assets/InvoiceCreate.1a72a476.js similarity index 83% rename from public/build/assets/InvoiceCreate.8e89de3b.js rename to public/build/assets/InvoiceCreate.1a72a476.js index 9d4aed497..88075935e 100644 --- a/public/build/assets/InvoiceCreate.8e89de3b.js +++ b/public/build/assets/InvoiceCreate.1a72a476.js @@ -1 +1 @@ -var A=Object.defineProperty,J=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var q=Object.getOwnPropertySymbols;var Q=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var V=(n,e,i)=>e in n?A(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,k=(n,e)=>{for(var i in e||(e={}))Q.call(e,i)&&V(n,i,e[i]);if(q)for(var i of q(e))W.call(e,i)&&V(n,i,e[i]);return n},L=(n,e)=>J(n,K(e));import{r as s,o as g,c as j,b as o,y as t,w as c,g as X,u as Y,C as Z,i as M,k as y,m,n as I,a4 as ee,aU as ne,O as te,q as oe,D as ie,t as B,s as h,x as P,A as F,z as ae,v as se,B as ce,F as le}from"./vendor.e9042f2c.js";import{f as T,c as re,l as de}from"./main.c4ed6aa9.js";import{_ as ue,a as me,b as ve,c as ge,d as pe,e as fe}from"./ItemModal.550811d2.js";import{_ as _e}from"./ExchangeRateConverter.723e246f.js";import{_ as Ie}from"./CreateCustomFields.b3e72776.js";import{_ as be}from"./TaxTypeModal.e84ae727.js";import"./DragIcon.9fdb0cc4.js";import"./SelectNotePopup.957765bc.js";import"./NoteModal.ce9830bd.js";const we={class:"grid grid-cols-12 gap-8 mt-6 mb-8"},$e={props:{v:{type:Object,default:null},isLoading:{type:Boolean,default:!1},isEdit:{type:Boolean,default:!1}},setup(n){const e=T();return(i,l)=>{const r=s("BaseCustomerSelectPopup"),b=s("BaseDatePicker"),p=s("BaseInputGroup"),f=s("BaseInput"),u=s("BaseInputGrid");return g(),j("div",we,[o(r,{modelValue:t(e).newInvoice.customer,"onUpdate:modelValue":l[0]||(l[0]=d=>t(e).newInvoice.customer=d),valid:n.v.customer_id,"content-loading":n.isLoading,type:"invoice",class:"col-span-12 lg:col-span-5 pr-0"},null,8,["modelValue","valid","content-loading"]),o(u,{class:"col-span-12 lg:col-span-7"},{default:c(()=>[o(p,{label:i.$t("invoices.invoice_date"),"content-loading":n.isLoading,required:"",error:n.v.invoice_date.$error&&n.v.invoice_date.$errors[0].$message},{default:c(()=>[o(b,{modelValue:t(e).newInvoice.invoice_date,"onUpdate:modelValue":l[1]||(l[1]=d=>t(e).newInvoice.invoice_date=d),"content-loading":n.isLoading,"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading","error"]),o(p,{label:i.$t("invoices.due_date"),"content-loading":n.isLoading,required:"",error:n.v.due_date.$error&&n.v.due_date.$errors[0].$message},{default:c(()=>[o(b,{modelValue:t(e).newInvoice.due_date,"onUpdate:modelValue":l[2]||(l[2]=d=>t(e).newInvoice.due_date=d),"content-loading":n.isLoading,"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading","error"]),o(p,{label:i.$t("invoices.invoice_number"),"content-loading":n.isLoading,error:n.v.invoice_number.$error&&n.v.invoice_number.$errors[0].$message,required:""},{default:c(()=>[o(f,{modelValue:t(e).newInvoice.invoice_number,"onUpdate:modelValue":l[3]||(l[3]=d=>t(e).newInvoice.invoice_number=d),"content-loading":n.isLoading,onInput:l[4]||(l[4]=d=>n.v.invoice_number.$touch())},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading","error"]),o(_e,{store:t(e),"store-prop":"newInvoice",v:n.v,"is-loading":n.isLoading,"is-edit":n.isEdit,"customer-currency":t(e).newInvoice.currency_id},null,8,["store","v","is-loading","is-edit","customer-currency"])]),_:1})])}}},ye=["onSubmit"],Be={class:"flex"},he={class:"block mt-10 invoice-foot lg:flex lg:justify-between lg:items-start"},Ce={class:"relative w-full lg:w-1/2 lg:mr-4"},xe={setup(n){const e=T(),i=re(),l=de(),{t:r}=X();let b=Y(),p=Z();const f="newInvoice";let u=M(!1);const d=M(["customer","company","customerCustom","invoice","invoiceCustom"]);let w=y(()=>e.isFetchingInvoice||e.isFetchingInitialSettings),x=y(()=>_.value?r("invoices.edit_invoice"):r("invoices.new_invoice")),_=y(()=>b.name==="invoices.edit");const N={invoice_date:{required:m.withMessage(r("validation.required"),I)},due_date:{required:m.withMessage(r("validation.required"),I)},reference_number:{maxLength:m.withMessage(r("validation.price_maxlength"),ee(255))},customer_id:{required:m.withMessage(r("validation.required"),I)},invoice_number:{required:m.withMessage(r("validation.required"),I)},exchange_rate:{required:ne(function(){return m.withMessage(r("validation.required"),I),e.showExchangeRate}),decimal:m.withMessage(r("validation.valid_exchange_rate"),te)}},$=oe(N,y(()=>e.newInvoice),{$scope:f});l.resetCustomFields(),$.value.$reset,e.resetCurrentInvoice(),e.fetchInvoiceInitialSettings(_.value),ie(()=>e.newInvoice.customer,a=>{a&&a.currency?e.newInvoice.selectedCurrency=a.currency:e.newInvoice.selectedCurrency=i.selectedCompanyCurrency});async function E(){if($.value.$touch(),$.value.$invalid)return!1;u.value=!0;let a=L(k({},e.newInvoice),{sub_total:e.getSubTotal,total:e.getTotal,tax:e.getTotalTax});try{const v=await(_.value?e.updateInvoice:e.addInvoice)(a);p.push(`/admin/invoices/${v.data.data.id}/view`)}catch(C){console.error(C)}u.value=!1}return(a,C)=>{const v=s("BaseBreadcrumbItem"),D=s("BaseBreadcrumb"),S=s("BaseButton"),U=s("router-link"),G=s("BaseIcon"),R=s("BasePageHeader"),z=s("BaseScrollPane"),H=s("BasePage");return g(),j(le,null,[o(ue),o(me),o(be),o(H,{class:"relative invoice-create-page"},{default:c(()=>[B("form",{onSubmit:ce(E,["prevent"])},[o(R,{title:t(x)},{actions:c(()=>[a.$route.name==="invoices.edit"?(g(),h(U,{key:0,to:`/invoices/pdf/${t(e).newInvoice.unique_hash}`,target:"_blank"},{default:c(()=>[o(S,{class:"mr-3",variant:"primary-outline",type:"button"},{default:c(()=>[B("span",Be,P(a.$t("general.view_pdf")),1)]),_:1})]),_:1},8,["to"])):F("",!0),o(S,{loading:t(u),disabled:t(u),variant:"primary",type:"submit"},{left:c(O=>[t(u)?F("",!0):(g(),h(G,{key:0,name:"SaveIcon",class:ae(O.class)},null,8,["class"]))]),default:c(()=>[se(" "+P(a.$t("invoices.save_invoice")),1)]),_:1},8,["loading","disabled"])]),default:c(()=>[o(D,null,{default:c(()=>[o(v,{title:a.$t("general.home"),to:"/admin/dashboard"},null,8,["title"]),o(v,{title:a.$tc("invoices.invoice",2),to:"/admin/invoices"},null,8,["title"]),a.$route.name==="invoices.edit"?(g(),h(v,{key:0,title:a.$t("invoices.edit_invoice"),to:"#",active:""},null,8,["title"])):(g(),h(v,{key:1,title:a.$t("invoices.new_invoice"),to:"#",active:""},null,8,["title"]))]),_:1})]),_:1},8,["title"]),o($e,{v:t($),"is-loading":t(w),"is-edit":t(_)},null,8,["v","is-loading","is-edit"]),o(z,null,{default:c(()=>[o(ve,{currency:t(e).newInvoice.selectedCurrency,"is-loading":t(w),"item-validation-scope":f,store:t(e),"store-prop":"newInvoice"},null,8,["currency","is-loading","store"]),B("div",he,[B("div",Ce,[o(ge,{store:t(e),"store-prop":"newInvoice",fields:d.value,type:"Invoice"},null,8,["store","fields"]),o(Ie,{type:"Invoice","is-edit":t(_),"is-loading":t(w),store:t(e),"store-prop":"newInvoice","custom-field-scope":f,class:"mb-6"},null,8,["is-edit","is-loading","store"]),o(pe,{store:t(e),"store-prop":"newInvoice","component-name":"InvoiceTemplate"},null,8,["store"])]),o(fe,{currency:t(e).newInvoice.selectedCurrency,"is-loading":t(w),store:t(e),"store-prop":"newInvoice","tax-popup-type":"invoice"},null,8,["currency","is-loading","store"])])]),_:1})],40,ye)]),_:1})],64)}}};export{xe as default}; +var A=Object.defineProperty,J=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var q=Object.getOwnPropertySymbols;var Q=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var V=(n,e,i)=>e in n?A(n,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[e]=i,k=(n,e)=>{for(var i in e||(e={}))Q.call(e,i)&&V(n,i,e[i]);if(q)for(var i of q(e))W.call(e,i)&&V(n,i,e[i]);return n},L=(n,e)=>J(n,K(e));import{r as s,o as g,c as j,b as o,y as t,w as c,g as X,u as Y,C as Z,i as M,k as y,m,n as I,a4 as ee,aU as ne,O as te,q as oe,D as ie,t as B,s as h,x as P,A as F,z as ae,v as se,B as ce,F as le}from"./vendor.e9042f2c.js";import{f as T,c as re,l as de}from"./main.f55cd568.js";import{_ as ue,a as me,b as ve,c as ge,d as pe,e as fe}from"./ItemModal.6c4a6110.js";import{_ as _e}from"./ExchangeRateConverter.2eb3213d.js";import{_ as Ie}from"./CreateCustomFields.31e45d63.js";import{_ as we}from"./TaxTypeModal.2309f47d.js";import"./DragIcon.0cd95723.js";import"./SelectNotePopup.8c3a3989.js";import"./NoteModal.0435aa4f.js";const be={class:"grid grid-cols-12 gap-8 mt-6 mb-8"},$e={props:{v:{type:Object,default:null},isLoading:{type:Boolean,default:!1},isEdit:{type:Boolean,default:!1}},setup(n){const e=T();return(i,l)=>{const r=s("BaseCustomerSelectPopup"),w=s("BaseDatePicker"),p=s("BaseInputGroup"),f=s("BaseInput"),u=s("BaseInputGrid");return g(),j("div",be,[o(r,{modelValue:t(e).newInvoice.customer,"onUpdate:modelValue":l[0]||(l[0]=d=>t(e).newInvoice.customer=d),valid:n.v.customer_id,"content-loading":n.isLoading,type:"invoice",class:"col-span-12 lg:col-span-5 pr-0"},null,8,["modelValue","valid","content-loading"]),o(u,{class:"col-span-12 lg:col-span-7"},{default:c(()=>[o(p,{label:i.$t("invoices.invoice_date"),"content-loading":n.isLoading,required:"",error:n.v.invoice_date.$error&&n.v.invoice_date.$errors[0].$message},{default:c(()=>[o(w,{modelValue:t(e).newInvoice.invoice_date,"onUpdate:modelValue":l[1]||(l[1]=d=>t(e).newInvoice.invoice_date=d),"content-loading":n.isLoading,"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading","error"]),o(p,{label:i.$t("invoices.due_date"),"content-loading":n.isLoading,required:"",error:n.v.due_date.$error&&n.v.due_date.$errors[0].$message},{default:c(()=>[o(w,{modelValue:t(e).newInvoice.due_date,"onUpdate:modelValue":l[2]||(l[2]=d=>t(e).newInvoice.due_date=d),"content-loading":n.isLoading,"calendar-button":!0,"calendar-button-icon":"calendar"},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading","error"]),o(p,{label:i.$t("invoices.invoice_number"),"content-loading":n.isLoading,error:n.v.invoice_number.$error&&n.v.invoice_number.$errors[0].$message,required:""},{default:c(()=>[o(f,{modelValue:t(e).newInvoice.invoice_number,"onUpdate:modelValue":l[3]||(l[3]=d=>t(e).newInvoice.invoice_number=d),"content-loading":n.isLoading,onInput:l[4]||(l[4]=d=>n.v.invoice_number.$touch())},null,8,["modelValue","content-loading"])]),_:1},8,["label","content-loading","error"]),o(_e,{store:t(e),"store-prop":"newInvoice",v:n.v,"is-loading":n.isLoading,"is-edit":n.isEdit,"customer-currency":t(e).newInvoice.currency_id},null,8,["store","v","is-loading","is-edit","customer-currency"])]),_:1})])}}},ye=["onSubmit"],Be={class:"flex"},he={class:"block mt-10 invoice-foot lg:flex lg:justify-between lg:items-start"},Ce={class:"relative w-full lg:w-1/2 lg:mr-4"},xe={setup(n){const e=T(),i=re(),l=de(),{t:r}=X();let w=Y(),p=Z();const f="newInvoice";let u=M(!1);const d=M(["customer","company","customerCustom","invoice","invoiceCustom"]);let b=y(()=>e.isFetchingInvoice||e.isFetchingInitialSettings),x=y(()=>_.value?r("invoices.edit_invoice"):r("invoices.new_invoice")),_=y(()=>w.name==="invoices.edit");const N={invoice_date:{required:m.withMessage(r("validation.required"),I)},due_date:{required:m.withMessage(r("validation.required"),I)},reference_number:{maxLength:m.withMessage(r("validation.price_maxlength"),ee(255))},customer_id:{required:m.withMessage(r("validation.required"),I)},invoice_number:{required:m.withMessage(r("validation.required"),I)},exchange_rate:{required:ne(function(){return m.withMessage(r("validation.required"),I),e.showExchangeRate}),decimal:m.withMessage(r("validation.valid_exchange_rate"),te)}},$=oe(N,y(()=>e.newInvoice),{$scope:f});l.resetCustomFields(),$.value.$reset,e.resetCurrentInvoice(),e.fetchInvoiceInitialSettings(_.value),ie(()=>e.newInvoice.customer,a=>{a&&a.currency?e.newInvoice.selectedCurrency=a.currency:e.newInvoice.selectedCurrency=i.selectedCompanyCurrency});async function E(){if($.value.$touch(),$.value.$invalid)return!1;u.value=!0;let a=L(k({},e.newInvoice),{sub_total:e.getSubTotal,total:e.getTotal,tax:e.getTotalTax});try{const v=await(_.value?e.updateInvoice:e.addInvoice)(a);p.push(`/admin/invoices/${v.data.data.id}/view`)}catch(C){console.error(C)}u.value=!1}return(a,C)=>{const v=s("BaseBreadcrumbItem"),D=s("BaseBreadcrumb"),S=s("BaseButton"),U=s("router-link"),G=s("BaseIcon"),R=s("BasePageHeader"),z=s("BaseScrollPane"),H=s("BasePage");return g(),j(le,null,[o(ue),o(me),o(we),o(H,{class:"relative invoice-create-page"},{default:c(()=>[B("form",{onSubmit:ce(E,["prevent"])},[o(R,{title:t(x)},{actions:c(()=>[a.$route.name==="invoices.edit"?(g(),h(U,{key:0,to:`/invoices/pdf/${t(e).newInvoice.unique_hash}`,target:"_blank"},{default:c(()=>[o(S,{class:"mr-3",variant:"primary-outline",type:"button"},{default:c(()=>[B("span",Be,P(a.$t("general.view_pdf")),1)]),_:1})]),_:1},8,["to"])):F("",!0),o(S,{loading:t(u),disabled:t(u),variant:"primary",type:"submit"},{left:c(O=>[t(u)?F("",!0):(g(),h(G,{key:0,name:"SaveIcon",class:ae(O.class)},null,8,["class"]))]),default:c(()=>[se(" "+P(a.$t("invoices.save_invoice")),1)]),_:1},8,["loading","disabled"])]),default:c(()=>[o(D,null,{default:c(()=>[o(v,{title:a.$t("general.home"),to:"/admin/dashboard"},null,8,["title"]),o(v,{title:a.$tc("invoices.invoice",2),to:"/admin/invoices"},null,8,["title"]),a.$route.name==="invoices.edit"?(g(),h(v,{key:0,title:a.$t("invoices.edit_invoice"),to:"#",active:""},null,8,["title"])):(g(),h(v,{key:1,title:a.$t("invoices.new_invoice"),to:"#",active:""},null,8,["title"]))]),_:1})]),_:1},8,["title"]),o($e,{v:t($),"is-loading":t(b),"is-edit":t(_)},null,8,["v","is-loading","is-edit"]),o(z,null,{default:c(()=>[o(ve,{currency:t(e).newInvoice.selectedCurrency,"is-loading":t(b),"item-validation-scope":f,store:t(e),"store-prop":"newInvoice"},null,8,["currency","is-loading","store"]),B("div",he,[B("div",Ce,[o(ge,{store:t(e),"store-prop":"newInvoice",fields:d.value,type:"Invoice"},null,8,["store","fields"]),o(Ie,{type:"Invoice","is-edit":t(_),"is-loading":t(b),store:t(e),"store-prop":"newInvoice","custom-field-scope":f,class:"mb-6"},null,8,["is-edit","is-loading","store"]),o(pe,{store:t(e),"store-prop":"newInvoice","component-name":"InvoiceTemplate"},null,8,["store"])]),o(fe,{currency:t(e).newInvoice.selectedCurrency,"is-loading":t(b),store:t(e),"store-prop":"newInvoice","tax-popup-type":"invoice"},null,8,["currency","is-loading","store"])])]),_:1})],40,ye)]),_:1})],64)}}};export{xe as default}; diff --git a/public/build/assets/InvoiceIndexDropdown.d1c989d3.js b/public/build/assets/InvoiceIndexDropdown.8a8f3a1b.js similarity index 98% rename from public/build/assets/InvoiceIndexDropdown.d1c989d3.js rename to public/build/assets/InvoiceIndexDropdown.8a8f3a1b.js index 8319e201b..506c23db9 100644 --- a/public/build/assets/InvoiceIndexDropdown.d1c989d3.js +++ b/public/build/assets/InvoiceIndexDropdown.8a8f3a1b.js @@ -1 +1 @@ -import{g as O,u as j,C as z,am as R,r as h,o as r,s as l,w as o,y as c,b as s,Z as M,al as P,v as d,x as v,A as m}from"./vendor.e9042f2c.js";import{f as F,g as U,u as H,i as W,d as q,e as f}from"./main.c4ed6aa9.js";const J={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:()=>{}}},setup(a){const w=a,p=F(),$=U(),N=H(),b=W(),g=q(),{t:i}=O(),y=j(),S=z(),x=R("utils");function _(e){return(e.status=="SENT"||e.status=="VIEWED")&&y.name!=="invoices.view"&&g.hasAbilities(f.SEND_INVOICE)}function D(e){return e.status=="DRAFT"&&y.name!=="invoices.view"&&g.hasAbilities(f.SEND_INVOICE)}async function B(e){b.openDialog({title:i("general.are_you_sure"),message:i("invoices.confirm_delete"),yesLabel:i("general.ok"),noLabel:i("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(n=>{e=e,n&&p.deleteInvoice({ids:[e]}).then(t=>{t.data.success&&(S.push("/admin/invoices"),w.table&&w.table.refresh(),p.$patch(I=>{I.selectedInvoices=[],I.selectAllField=!1}))})})}async function A(e){b.openDialog({title:i("general.are_you_sure"),message:i("invoices.confirm_clone"),yesLabel:i("general.ok"),noLabel:i("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(n=>{n&&p.cloneInvoice(e).then(t=>{S.push(`/admin/invoices/${t.data.data.id}/edit`)})})}async function T(e){b.openDialog({title:i("general.are_you_sure"),message:i("invoices.invoice_mark_as_sent"),yesLabel:i("general.ok"),noLabel:i("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(n=>{const t={id:e,status:"SENT"};n&&p.markAsSent(t).then(I=>{w.table&&w.table.refresh()})})}async function E(e){$.openModal({title:i("invoices.send_invoice"),componentName:"SendInvoiceModal",id:e.id,data:e,variant:"sm"})}function V(){let e=`${window.location.origin}/invoices/pdf/${w.row.unique_hash}`;x.copyTextToClipboard(e),N.showNotification({type:"success",message:i("general.copied_pdf_url_clipboard")})}return(e,n)=>{const t=h("BaseIcon"),I=h("BaseButton"),u=h("BaseDropdownItem"),C=h("router-link"),L=h("BaseDropdown");return r(),l(L,null,{activator:o(()=>[c(y).name==="invoices.view"?(r(),l(I,{key:0,variant:"primary"},{default:o(()=>[s(t,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(r(),l(t,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:o(()=>[c(g).hasAbilities(c(f).EDIT_INVOICE)?(r(),l(C,{key:0,to:`/admin/invoices/${a.row.id}/edit`},{default:o(()=>[M(s(u,null,{default:o(()=>[s(t,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("general.edit")),1)]),_:1},512),[[P,a.row.allow_edit]])]),_:1},8,["to"])):m("",!0),c(y).name==="invoices.view"?(r(),l(u,{key:1,onClick:V},{default:o(()=>[s(t,{name:"LinkIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("general.copy_pdf_url")),1)]),_:1})):m("",!0),c(y).name!=="invoices.view"&&c(g).hasAbilities(c(f).VIEW_INVOICE)?(r(),l(C,{key:2,to:`/admin/invoices/${a.row.id}/view`},{default:o(()=>[s(u,null,{default:o(()=>[s(t,{name:"EyeIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("general.view")),1)]),_:1})]),_:1},8,["to"])):m("",!0),D(a.row)?(r(),l(u,{key:3,onClick:n[0]||(n[0]=k=>E(a.row))},{default:o(()=>[s(t,{name:"PaperAirplaneIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("invoices.send_invoice")),1)]),_:1})):m("",!0),_(a.row)?(r(),l(u,{key:4,onClick:n[1]||(n[1]=k=>E(a.row))},{default:o(()=>[s(t,{name:"PaperAirplaneIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("invoices.resend_invoice")),1)]),_:1})):m("",!0),s(C,{to:`/admin/payments/${a.row.id}/create`},{default:o(()=>[a.row.status=="SENT"&&c(y).name!=="invoices.view"?(r(),l(u,{key:0},{default:o(()=>[s(t,{name:"CreditCardIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("invoices.record_payment")),1)]),_:1})):m("",!0)]),_:1},8,["to"]),D(a.row)?(r(),l(u,{key:5,onClick:n[2]||(n[2]=k=>T(a.row.id))},{default:o(()=>[s(t,{name:"CheckCircleIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("invoices.mark_as_sent")),1)]),_:1})):m("",!0),c(g).hasAbilities(c(f).CREATE_INVOICE)?(r(),l(u,{key:6,onClick:n[3]||(n[3]=k=>A(a.row))},{default:o(()=>[s(t,{name:"DocumentTextIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("invoices.clone_invoice")),1)]),_:1})):m("",!0),c(g).hasAbilities(c(f).DELETE_INVOICE)?(r(),l(u,{key:7,onClick:n[4]||(n[4]=k=>B(a.row.id))},{default:o(()=>[s(t,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("general.delete")),1)]),_:1})):m("",!0)]),_:1})}}};export{J as _}; +import{g as O,u as j,C as z,am as R,r as h,o as r,s as l,w as o,y as c,b as s,Z as M,al as P,v as d,x as v,A as m}from"./vendor.e9042f2c.js";import{f as F,g as U,u as H,i as W,d as q,e as f}from"./main.f55cd568.js";const J={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:()=>{}}},setup(a){const w=a,p=F(),$=U(),N=H(),b=W(),g=q(),{t:i}=O(),y=j(),S=z(),x=R("utils");function _(e){return(e.status=="SENT"||e.status=="VIEWED")&&y.name!=="invoices.view"&&g.hasAbilities(f.SEND_INVOICE)}function D(e){return e.status=="DRAFT"&&y.name!=="invoices.view"&&g.hasAbilities(f.SEND_INVOICE)}async function B(e){b.openDialog({title:i("general.are_you_sure"),message:i("invoices.confirm_delete"),yesLabel:i("general.ok"),noLabel:i("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(n=>{e=e,n&&p.deleteInvoice({ids:[e]}).then(t=>{t.data.success&&(S.push("/admin/invoices"),w.table&&w.table.refresh(),p.$patch(I=>{I.selectedInvoices=[],I.selectAllField=!1}))})})}async function A(e){b.openDialog({title:i("general.are_you_sure"),message:i("invoices.confirm_clone"),yesLabel:i("general.ok"),noLabel:i("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(n=>{n&&p.cloneInvoice(e).then(t=>{S.push(`/admin/invoices/${t.data.data.id}/edit`)})})}async function T(e){b.openDialog({title:i("general.are_you_sure"),message:i("invoices.invoice_mark_as_sent"),yesLabel:i("general.ok"),noLabel:i("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(n=>{const t={id:e,status:"SENT"};n&&p.markAsSent(t).then(I=>{w.table&&w.table.refresh()})})}async function E(e){$.openModal({title:i("invoices.send_invoice"),componentName:"SendInvoiceModal",id:e.id,data:e,variant:"sm"})}function V(){let e=`${window.location.origin}/invoices/pdf/${w.row.unique_hash}`;x.copyTextToClipboard(e),N.showNotification({type:"success",message:i("general.copied_pdf_url_clipboard")})}return(e,n)=>{const t=h("BaseIcon"),I=h("BaseButton"),u=h("BaseDropdownItem"),C=h("router-link"),L=h("BaseDropdown");return r(),l(L,null,{activator:o(()=>[c(y).name==="invoices.view"?(r(),l(I,{key:0,variant:"primary"},{default:o(()=>[s(t,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(r(),l(t,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:o(()=>[c(g).hasAbilities(c(f).EDIT_INVOICE)?(r(),l(C,{key:0,to:`/admin/invoices/${a.row.id}/edit`},{default:o(()=>[M(s(u,null,{default:o(()=>[s(t,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("general.edit")),1)]),_:1},512),[[P,a.row.allow_edit]])]),_:1},8,["to"])):m("",!0),c(y).name==="invoices.view"?(r(),l(u,{key:1,onClick:V},{default:o(()=>[s(t,{name:"LinkIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("general.copy_pdf_url")),1)]),_:1})):m("",!0),c(y).name!=="invoices.view"&&c(g).hasAbilities(c(f).VIEW_INVOICE)?(r(),l(C,{key:2,to:`/admin/invoices/${a.row.id}/view`},{default:o(()=>[s(u,null,{default:o(()=>[s(t,{name:"EyeIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("general.view")),1)]),_:1})]),_:1},8,["to"])):m("",!0),D(a.row)?(r(),l(u,{key:3,onClick:n[0]||(n[0]=k=>E(a.row))},{default:o(()=>[s(t,{name:"PaperAirplaneIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("invoices.send_invoice")),1)]),_:1})):m("",!0),_(a.row)?(r(),l(u,{key:4,onClick:n[1]||(n[1]=k=>E(a.row))},{default:o(()=>[s(t,{name:"PaperAirplaneIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("invoices.resend_invoice")),1)]),_:1})):m("",!0),s(C,{to:`/admin/payments/${a.row.id}/create`},{default:o(()=>[a.row.status=="SENT"&&c(y).name!=="invoices.view"?(r(),l(u,{key:0},{default:o(()=>[s(t,{name:"CreditCardIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("invoices.record_payment")),1)]),_:1})):m("",!0)]),_:1},8,["to"]),D(a.row)?(r(),l(u,{key:5,onClick:n[2]||(n[2]=k=>T(a.row.id))},{default:o(()=>[s(t,{name:"CheckCircleIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("invoices.mark_as_sent")),1)]),_:1})):m("",!0),c(g).hasAbilities(c(f).CREATE_INVOICE)?(r(),l(u,{key:6,onClick:n[3]||(n[3]=k=>A(a.row))},{default:o(()=>[s(t,{name:"DocumentTextIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("invoices.clone_invoice")),1)]),_:1})):m("",!0),c(g).hasAbilities(c(f).DELETE_INVOICE)?(r(),l(u,{key:7,onClick:n[4]||(n[4]=k=>B(a.row.id))},{default:o(()=>[s(t,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),d(" "+v(e.$t("general.delete")),1)]),_:1})):m("",!0)]),_:1})}}};export{J as _}; diff --git a/public/build/assets/ItemModal.550811d2.js b/public/build/assets/ItemModal.6c4a6110.js similarity index 99% rename from public/build/assets/ItemModal.550811d2.js rename to public/build/assets/ItemModal.6c4a6110.js index 562c52d8a..d419b9518 100644 --- a/public/build/assets/ItemModal.550811d2.js +++ b/public/build/assets/ItemModal.6c4a6110.js @@ -1 +1 @@ -var we=Object.defineProperty,Be=Object.defineProperties;var Ie=Object.getOwnPropertyDescriptors;var ie=Object.getOwnPropertySymbols;var Pe=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable;var ce=(e,o,t)=>o in e?we(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,N=(e,o)=>{for(var t in o||(o={}))Pe.call(o,t)&&ce(e,t,o[t]);if(ie)for(var t of ie(o))Se.call(o,t)&&ce(e,t,o[t]);return e},W=(e,o)=>Be(e,Ie(o));import{q as oe,g as Z,d as de,c as Q,p as ue,e as me,T as pe,j as ke,u as Te}from"./main.c4ed6aa9.js";import{D as Ce,d as Me}from"./DragIcon.9fdb0cc4.js";import{i as G,j as De,am as ne,g as J,k as $,D as ye,r as m,o as r,c as p,t as n,x as f,b as s,a5 as je,y as a,w as i,v as V,s as C,A as E,u as Ve,l as xe,m as U,n as ee,b4 as fe,a4 as te,aZ as qe,q as he,a0 as X,F as H,H as K,G as ge,ac as Le,a6 as Ee,z as Y,T as Oe,a7 as Ne,a8 as Ue,p as Fe,M as Ae,B as ze}from"./vendor.e9042f2c.js";import{_ as We}from"./SelectNotePopup.957765bc.js";const Ye={class:"flex items-center justify-between mb-3"},Re={class:"flex items-center text-base",style:{flex:"4"}},Ge={class:"pr-2 mb-0",align:"right"},Xe={class:"absolute left-3.5"},He={class:"ml-2 text-sm leading-none text-primary-400 cursor-pointer"},Ze=n("br",null,null,-1),Je={class:"text-sm text-right",style:{flex:"3"}},Ke={class:"flex items-center justify-center w-6 h-10 mx-2 cursor-pointer"},Qe={props:{ability:{type:String,default:""},store:{type:Object,default:null},storeProp:{type:String,default:""},itemIndex:{type:Number,required:!0},index:{type:Number,required:!0},taxData:{type:Object,required:!0},taxes:{type:Array,default:[]},total:{type:Number,default:0},totalTax:{type:Number,default:0},currency:{type:[Object,String],required:!0},updateItems:{type:Function,default:()=>{}}},emits:["remove","update"],setup(e,{emit:o}){const t=e,y=oe(),_=Z(),v=de(),w=G(null),d=De(N({},t.taxData));ne("utils");const{t:P}=J(),S=$(()=>y.taxTypes.map(g=>N({},g)).map(g=>(t.taxes.find(x=>x.tax_type_id===g.id)?g.disabled=!0:g.disabled=!1,g))),M=$(()=>d.compound_tax&&t.total?(t.total+t.totalTax)*d.percent/100:t.total&&d.percent?t.total*d.percent/100:0);ye(()=>t.total,()=>{k()}),ye(()=>t.totalTax,()=>{k()}),t.taxData.tax_type_id>0&&(w.value=y.taxTypes.find(c=>c.id===t.taxData.tax_type_id)),k();function q(c){d.percent=c.percent,d.tax_type_id=c.id,d.compound_tax=c.compound_tax,d.name=c.name,k()}function k(){d.tax_type_id!==0&&o("update",{index:t.index,item:W(N({},d),{amount:M.value})})}function l(){let c={itemIndex:t.itemIndex,taxIndex:t.index};_.openModal({title:P("settings.tax_types.add_tax"),componentName:"TaxTypeModal",data:c,size:"sm"})}function h(c){t.store.$patch(g=>{g[t.storeProp].items[t.itemIndex].taxes.splice(c,1)})}return(c,g)=>{const T=m("BaseIcon"),x=m("BaseMultiselect"),I=m("BaseFormatMoney");return r(),p("div",Ye,[n("div",Re,[n("label",Ge,f(c.$t("invoices.item.tax")),1),s(x,{modelValue:w.value,"onUpdate:modelValue":[g[0]||(g[0]=B=>w.value=B),g[1]||(g[1]=B=>q(B))],"value-prop":"id",options:a(S),placeholder:c.$t("general.select_a_tax"),"open-direction":"top","track-by":"name",searchable:"",object:"",label:"name"},je({singlelabel:i(({value:B})=>[n("div",Xe,f(B.name)+" - "+f(B.percent)+" % ",1)]),option:i(({option:B})=>[V(f(B.name)+" - "+f(B.percent)+" % ",1)]),_:2},[a(v).hasAbilities(e.ability)?{name:"action",fn:i(()=>[n("button",{type:"button",class:"flex items-center justify-center w-full px-2 cursor-pointer py-2 bg-gray-200 border-none outline-none",onClick:l},[s(T,{name:"CheckCircleIcon",class:"h-5 text-primary-400"}),n("label",He,f(c.$t("invoices.add_new_tax")),1)])])}:void 0]),1032,["modelValue","options","placeholder"]),Ze]),n("div",Je,[s(I,{amount:a(M),currency:e.currency},null,8,["amount","currency"])]),n("div",Ke,[e.taxes.length&&e.index!==e.taxes.length-1?(r(),C(T,{key:0,name:"TrashIcon",class:"h-5 text-gray-700 cursor-pointer",onClick:g[2]||(g[2]=B=>h(e.index))})):E("",!0)])])}}},et={class:"box-border bg-white border border-gray-200 border-solid rounded-b"},tt={colspan:"5",class:"p-0 text-left align-top"},ot={class:"w-full"},nt=n("col",{style:{width:"40%","min-width":"280px"}},null,-1),st=n("col",{style:{width:"10%","min-width":"120px"}},null,-1),at=n("col",{style:{width:"15%","min-width":"120px"}},null,-1),rt={key:0,style:{width:"15%","min-width":"160px"}},lt=n("col",{style:{width:"15%","min-width":"120px"}},null,-1),it={class:"px-5 py-4 text-left align-top"},ct={class:"flex justify-start"},dt={class:"flex items-center justify-center w-5 h-5 mt-2 text-gray-300 cursor-move handle mr-2"},ut={class:"px-5 py-4 text-right align-top"},mt={class:"px-5 py-4 text-left align-top"},pt={class:"flex flex-col"},yt={class:"flex-auto flex-fill bd-highlight"},xt={class:"relative w-full"},ft={key:0,class:"px-5 py-4 text-left align-top"},ht={class:"flex flex-col"},gt={class:"flex",style:{width:"120px"},role:"group"},bt={class:"flex items-center"},_t={class:"px-5 py-4 text-right align-top"},vt={class:"flex items-center justify-end text-sm"},$t={class:"flex items-center justify-center w-6 h-10 mx-2"},wt={key:0},Bt=n("td",{class:"px-5 py-4 text-left align-top"},null,-1),It={colspan:"4",class:"px-5 py-4 text-left align-top"},Pt={props:{store:{type:Object,default:null},storeProp:{type:String,default:""},itemData:{type:Object,default:null},index:{type:Number,default:null},type:{type:String,default:""},loading:{type:Boolean,default:!1},currency:{type:[Object,String],required:!0},invoiceItems:{type:Array,required:!0},itemValidationScope:{type:String,default:""}},emits:["update","remove","itemValidate"],setup(e,{emit:o}){const t=e,y=Q(),_=ue();Ve();const{t:v}=J(),w=$({get:()=>t.itemData.quantity,set:u=>{j("quantity",parseFloat(u))}}),d=$({get:()=>{const u=t.itemData.price;return parseFloat(u)>0?u/100:u},set:u=>{if(parseFloat(u)>0){let b=Math.round(u*100);j("price",b)}else j("price",u)}}),P=$(()=>t.itemData.price*t.itemData.quantity),S=$({get:()=>t.itemData.discount,set:u=>{t.itemData.discount_type==="percentage"?j("discount_val",P.value*u/100):j("discount_val",Math.round(u*100)),j("discount",u)}}),M=$(()=>P.value-t.itemData.discount_val),q=$(()=>t.currency?t.currency:y.selectedCompanyCurrency),k=$(()=>t.store[t.storeProp].items.length!=1),l=$(()=>Math.round(xe.exports.sumBy(t.itemData.taxes,function(u){return u.compound_tax?0:u.amount}))),h=$(()=>Math.round(xe.exports.sumBy(t.itemData.taxes,function(u){return u.compound_tax?u.amount:0}))),c=$(()=>l.value+h.value),g={name:{required:U.withMessage(v("validation.required"),ee)},quantity:{required:U.withMessage(v("validation.required"),ee),minValue:U.withMessage(v("validation.qty_must_greater_than_zero"),fe(0)),maxLength:U.withMessage(v("validation.amount_maxlength"),te(20))},price:{required:U.withMessage(v("validation.required"),ee),minValue:U.withMessage(v("validation.number_length_minvalue"),fe(1)),maxLength:U.withMessage(v("validation.price_maxlength"),te(20))},discount_val:{between:U.withMessage(v("validation.discount_maxlength"),qe(0,$(()=>P.value)))},description:{maxLength:U.withMessage(v("validation.notes_maxlength"),te(65e3))}},T=he(g,$(()=>t.store[t.storeProp].items[t.index]),{$scope:t.itemValidationScope});function x(u){t.store.$patch(L=>{L[t.storeProp].items[t.index].taxes[u.index]=u.item});let b=t.itemData.taxes[t.itemData.taxes.length-1];(b==null?void 0:b.tax_type_id)!==0&&t.store.$patch(L=>{L[t.storeProp].items[t.index].taxes.push(W(N({},pe),{id:ge.raw()}))}),D()}function I(u){j("name",u)}function B(u){t.store.$patch(b=>{if(b[t.storeProp].items[t.index].name=u.name,b[t.storeProp].items[t.index].price=u.price,b[t.storeProp].items[t.index].item_id=u.id,b[t.storeProp].items[t.index].description=u.description,u.unit&&(b[t.storeProp].items[t.index].unit_name=u.unit.name),t.store[t.storeProp].tax_per_item==="YES"&&u.taxes){let L=0;u.taxes.forEach(z=>{x({index:L,item:N({},z)}),L++})}b[t.storeProp].exchange_rate&&(b[t.storeProp].items[t.index].price/=b[t.storeProp].exchange_rate)}),_.fetchItems(),D()}function R(){t.itemData.discount_type!=="fixed"&&(j("discount_val",Math.round(t.itemData.discount*100)),j("discount_type","fixed"))}function A(){t.itemData.discount_type!=="percentage"&&(j("discount_val",P.value*t.itemData.discount/100),j("discount_type","percentage"))}function D(){var L,z;let u=(z=(L=t.store[t.storeProp])==null?void 0:L.items[t.index])==null?void 0:z.taxes;u||(u=[]);let b=W(N({},t.store[t.storeProp].items[t.index]),{index:t.index,total:M.value,sub_total:P.value,totalSimpleTax:l.value,totalCompoundTax:h.value,totalTax:c.value,tax:c.value,taxes:[...u]});t.store.updateItem(b)}function j(u,b){t.store.$patch(L=>{L[t.storeProp].items[t.index][u]=b}),D()}return(u,b)=>{const L=m("BaseItemSelect"),z=m("BaseInput"),O=m("BaseMoney"),se=m("BaseIcon"),be=m("BaseButton"),ae=m("BaseDropdownItem"),_e=m("BaseDropdown"),re=m("BaseContentPlaceholdersText"),le=m("BaseContentPlaceholders"),ve=m("BaseFormatMoney");return r(),p("tr",et,[n("td",tt,[n("table",ot,[n("colgroup",null,[nt,st,at,e.store[e.storeProp].discount_per_item==="YES"?(r(),p("col",rt)):E("",!0),lt]),n("tbody",null,[n("tr",null,[n("td",it,[n("div",ct,[n("div",dt,[s(Ce)]),s(L,{type:"Invoice",item:e.itemData,invalid:a(T).name.$error,"invalid-description":a(T).description.$error,taxes:e.itemData.taxes,index:e.index,"store-prop":e.storeProp,store:e.store,onSearch:I,onSelect:B},null,8,["item","invalid","invalid-description","taxes","index","store-prop","store"])])]),n("td",ut,[s(z,{modelValue:a(w),"onUpdate:modelValue":b[0]||(b[0]=F=>X(w)?w.value=F:null),invalid:a(T).quantity.$error,"content-loading":e.loading,type:"number",small:"",min:"0",step:"any",onChange:b[1]||(b[1]=F=>D()),onInput:b[2]||(b[2]=F=>a(T).quantity.$touch())},null,8,["modelValue","invalid","content-loading"])]),n("td",mt,[n("div",pt,[n("div",yt,[n("div",xt,[s(O,{key:a(q),modelValue:a(d),"onUpdate:modelValue":b[3]||(b[3]=F=>X(d)?d.value=F:null),invalid:a(T).price.$error,"content-loading":e.loading,currency:a(q)},null,8,["modelValue","invalid","content-loading","currency"])])])])]),e.store[e.storeProp].discount_per_item==="YES"?(r(),p("td",ft,[n("div",ht,[n("div",gt,[s(z,{modelValue:a(S),"onUpdate:modelValue":b[4]||(b[4]=F=>X(S)?S.value=F:null),invalid:a(T).discount_val.$error,"content-loading":e.loading,class:"border-r-0 focus:border-r-2 rounded-tr-sm rounded-br-sm h-[38px]"},null,8,["modelValue","invalid","content-loading"]),s(_e,{position:"bottom-end"},{activator:i(()=>[s(be,{"content-loading":e.loading,class:"rounded-tr-md rounded-br-md !p-2 rounded-none",type:"button",variant:"white"},{default:i(()=>[n("span",bt,[V(f(e.itemData.discount_type=="fixed"?e.currency.symbol:"%")+" ",1),s(se,{name:"ChevronDownIcon",class:"w-4 h-4 text-gray-500 ml-1"})])]),_:1},8,["content-loading"])]),default:i(()=>[s(ae,{onClick:R},{default:i(()=>[V(f(u.$t("general.fixed")),1)]),_:1}),s(ae,{onClick:A},{default:i(()=>[V(f(u.$t("general.percentage")),1)]),_:1})]),_:1})])])])):E("",!0),n("td",_t,[n("div",vt,[n("span",null,[e.loading?(r(),C(le,{key:0},{default:i(()=>[s(re,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),C(ve,{key:1,amount:a(M),currency:a(q)},null,8,["amount","currency"]))]),n("div",$t,[a(k)?(r(),C(se,{key:0,class:"h-5 text-gray-700 cursor-pointer",name:"TrashIcon",onClick:b[5]||(b[5]=F=>e.store.removeItem(e.index))})):E("",!0)])])])]),e.store[e.storeProp].tax_per_item==="YES"?(r(),p("tr",wt,[Bt,n("td",It,[e.loading?(r(),C(le,{key:0},{default:i(()=>[s(re,{lines:1,class:"w-24 h-8 rounded-md border"})]),_:1})):(r(!0),p(H,{key:1},K(e.itemData.taxes,(F,$e)=>(r(),C(Qe,{key:F.id,index:$e,"item-index":e.index,"tax-data":F,taxes:e.itemData.taxes,"discounted-total":a(M),"total-tax":a(l),total:a(P),currency:e.currency,"update-items":D,ability:a(me).CREATE_INVOICE,store:e.store,"store-prop":e.storeProp,onUpdate:x},null,8,["index","item-index","tax-data","taxes","discounted-total","total-tax","total","currency","ability","store","store-prop"]))),128))])])):E("",!0)])])])])}}},St={class:"text-center item-table min-w-full"},kt=n("col",{style:{width:"40%","min-width":"280px"}},null,-1),Tt=n("col",{style:{width:"10%","min-width":"120px"}},null,-1),Ct=n("col",{style:{width:"15%","min-width":"120px"}},null,-1),Mt={key:0,style:{width:"15%","min-width":"160px"}},Dt=n("col",{style:{width:"15%","min-width":"120px"}},null,-1),jt={class:"bg-white border border-gray-200 border-solid"},Vt={class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-left text-gray-700 border-t border-b border-gray-200 border-solid"},qt={key:1,class:"pl-7"},Lt={class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-right text-gray-700 border-t border-b border-gray-200 border-solid"},Et={key:1},Ot={class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-left text-gray-700 border-t border-b border-gray-200 border-solid"},Nt={key:1},Ut={key:0,class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-left text-gray-700 border-t border-b border-gray-200 border-solid"},Ft={key:1},At={class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-right text-gray-700 border-t border-b border-gray-200 border-solid"},zt={key:1,class:"pr-10 column-heading"},Yo={props:{store:{type:Object,default:null},storeProp:{type:String,default:""},currency:{type:[Object,String,null],required:!0},isLoading:{type:Boolean,default:!1},itemValidationScope:{type:String,default:""}},setup(e){const o=e,t=Q(),y=$(()=>o.currency?o.currency:t.selectedCompanyCurrency);return(_,v)=>{const w=m("BaseContentPlaceholdersText"),d=m("BaseContentPlaceholders"),P=m("BaseIcon");return r(),p(H,null,[n("table",St,[n("colgroup",null,[kt,Tt,Ct,e.store[e.storeProp].discount_per_item==="YES"?(r(),p("col",Mt)):E("",!0),Dt]),n("thead",jt,[n("tr",null,[n("th",Vt,[e.isLoading?(r(),C(d,{key:0},{default:i(()=>[s(w,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("span",qt,f(_.$tc("items.item",2)),1))]),n("th",Lt,[e.isLoading?(r(),C(d,{key:0},{default:i(()=>[s(w,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("span",Et,f(_.$t("invoices.item.quantity")),1))]),n("th",Ot,[e.isLoading?(r(),C(d,{key:0},{default:i(()=>[s(w,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("span",Nt,f(_.$t("invoices.item.price")),1))]),e.store[e.storeProp].discount_per_item==="YES"?(r(),p("th",Ut,[e.isLoading?(r(),C(d,{key:0},{default:i(()=>[s(w,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("span",Ft,f(_.$t("invoices.item.discount")),1))])):E("",!0),n("th",At,[e.isLoading?(r(),C(d,{key:0},{default:i(()=>[s(w,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("span",zt,f(_.$t("invoices.item.amount")),1))])])]),s(a(Me),{modelValue:e.store[e.storeProp].items,"onUpdate:modelValue":v[0]||(v[0]=S=>e.store[e.storeProp].items=S),"item-key":"id",tag:"tbody",handle:".handle"},{item:i(({element:S,index:M})=>[s(Pt,{key:S.id,index:M,"item-data":S,loading:e.isLoading,currency:a(y),"item-validation-scope":e.itemValidationScope,"invoice-items":e.store[e.storeProp].items,store:e.store,"store-prop":e.storeProp},null,8,["index","item-data","loading","currency","item-validation-scope","invoice-items","store","store-prop"])]),_:1},8,["modelValue"])]),n("div",{class:"flex items-center justify-center w-full px-6 py-3 text-base border border-t-0 border-gray-200 border-solid cursor-pointer text-primary-400 hover:bg-primary-100",onClick:v[1]||(v[1]=(...S)=>e.store.addItem&&e.store.addItem(...S))},[s(P,{name:"PlusCircleIcon",class:"mr-2"}),V(" "+f(_.$t("general.add_new_item")),1)])],64)}}},Wt={class:"flex items-center justify-between w-full mt-2 text-sm"},Yt={class:"font-semibold leading-5 text-gray-500 uppercase"},Rt={class:"flex items-center justify-center text-lg text-black"},Gt={props:{index:{type:Number,required:!0},tax:{type:Object,required:!0},taxes:{type:Array,required:!0},currency:{type:[Object,String],required:!0},store:{type:Object,default:null},data:{type:String,default:""}},emits:["update","remove"],setup(e,{emit:o}){const t=e;ne("$utils");const y=$(()=>t.tax.compound_tax&&t.store.getSubtotalWithDiscount?Math.round((t.store.getSubtotalWithDiscount+t.store.getTotalSimpleTax)*t.tax.percent/100):t.store.getSubtotalWithDiscount&&t.tax.percent?Math.round(t.store.getSubtotalWithDiscount*t.tax.percent/100):0);Le(()=>{t.store.getSubtotalWithDiscount&&_(),t.store.getTotalSimpleTax&&_()});function _(){o("update",W(N({},t.tax),{amount:y.value}))}return(v,w)=>{const d=m("BaseFormatMoney"),P=m("BaseIcon");return r(),p("div",Wt,[n("label",Yt,f(e.tax.name)+" ("+f(e.tax.percent)+" %) ",1),n("label",Rt,[s(d,{amount:e.tax.amount,currency:e.currency},null,8,["amount","currency"]),s(P,{name:"TrashIcon",class:"h-5 ml-2 cursor-pointer",onClick:w[0]||(w[0]=S=>v.$emit("remove",e.tax.id))})])])}}},Xt={class:"w-full mt-4 tax-select"},Ht={class:"relative w-full max-w-md px-4"},Zt={class:"overflow-hidden rounded-md shadow-lg ring-1 ring-black ring-opacity-5"},Jt={class:"relative bg-white"},Kt={class:"relative p-4"},Qt={key:0,class:"relative flex flex-col overflow-auto list max-h-36 border-t border-gray-200"},eo=["onClick"],to={class:"flex justify-between px-2"},oo={class:"m-0 text-base font-semibold leading-tight text-gray-700 cursor-pointer"},no={class:"m-0 text-base font-semibold text-gray-700 cursor-pointer"},so={key:1,class:"flex justify-center p-5 text-gray-400"},ao={class:"text-base text-gray-500 cursor-pointer"},ro={class:"m-0 ml-3 text-sm leading-none cursor-pointer font-base text-primary-400"},lo={props:{type:{type:String,default:null},store:{type:Object,default:null},storeProp:{type:String,default:""}},emits:["select:taxType"],setup(e,{emit:o}){const t=e,y=Z(),_=oe(),v=de(),{t:w}=J(),d=G(null),P=$(()=>d.value?_.taxTypes.filter(function(k){return k.name.toLowerCase().indexOf(d.value.toLowerCase())!==-1}):_.taxTypes),S=$(()=>t.store[t.storeProp].taxes);function M(k,l){o("select:taxType",N({},k)),l()}function q(){y.openModal({title:w("settings.tax_types.add_tax"),componentName:"TaxTypeModal",size:"sm",refreshData:k=>o("select:taxType",k)})}return(k,l)=>{const h=m("BaseIcon"),c=m("BaseInput");return r(),p("div",Xt,[s(a(Ue),{class:"relative"},{default:i(({isOpen:g})=>[s(a(Ee),{class:Y([g?"":"text-opacity-90","flex items-center text-sm font-medium text-primary-400 focus:outline-none focus:border-none"])},{default:i(()=>[s(h,{name:"PlusIcon",class:"w-4 h-4 font-medium text-primary-400"}),V(" "+f(k.$t("settings.tax_types.add_tax")),1)]),_:2},1032,["class"]),n("div",Ht,[s(Oe,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"translate-y-1 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-1 opacity-0"},{default:i(()=>[s(a(Ne),{style:{"min-width":"350px","margin-left":"62px",top:"-28px"},class:"absolute z-10 px-4 py-2 transform -translate-x-full sm:px-0"},{default:i(({close:T})=>[n("div",Zt,[n("div",Jt,[n("div",Kt,[s(c,{modelValue:d.value,"onUpdate:modelValue":l[0]||(l[0]=x=>d.value=x),placeholder:k.$t("general.search"),type:"text",class:"text-black"},null,8,["modelValue","placeholder"])]),a(P).length>0?(r(),p("div",Qt,[(r(!0),p(H,null,K(a(P),(x,I)=>(r(),p("div",{key:I,class:Y([{"bg-gray-100 cursor-not-allowed opacity-50 pointer-events-none":a(S).find(B=>B.tax_type_id===x.id)},"px-6 py-4 border-b border-gray-200 border-solid cursor-pointer hover:bg-gray-100 hover:cursor-pointer last:border-b-0"]),tabindex:"2",onClick:B=>M(x,T)},[n("div",to,[n("label",oo,f(x.name),1),n("label",no,f(x.percent)+" % ",1)])],10,eo))),128))])):(r(),p("div",so,[n("label",ao,f(k.$t("general.no_tax_found")),1)]))]),a(v).hasAbilities(a(me).CREATE_TAX_TYPE)?(r(),p("button",{key:0,type:"button",class:"flex items-center justify-center w-full h-10 px-2 py-3 bg-gray-200 border-none outline-none",onClick:q},[s(h,{name:"CheckCircleIcon",class:"text-primary-400"}),n("label",ro,f(k.$t("estimates.add_new_tax")),1)])):E("",!0)])]),_:1})]),_:1})])]),_:1})])}}},io={class:"px-5 py-4 mt-6 bg-white border border-gray-200 border-solid rounded md:min-w-[390px] min-w-[300px] lg:mt-7"},co={class:"flex items-center justify-between w-full"},uo={key:1,class:"text-sm font-semibold leading-5 text-gray-400 uppercase"},mo={key:3,class:"flex items-center justify-center m-0 text-lg text-black uppercase"},po={key:1,class:"m-0 text-sm font-semibold leading-5 text-gray-500 uppercase"},yo={key:3,class:"flex items-center justify-center m-0 text-lg text-black uppercase"},xo={key:0,class:"flex items-center justify-between w-full mt-2"},fo={key:1,class:"text-sm font-semibold leading-5 text-gray-400 uppercase"},ho={key:3,class:"flex",style:{width:"140px"},role:"group"},go={class:"flex items-center"},bo={key:1},_o={class:"flex items-center justify-between w-full pt-2 mt-5 border-t border-gray-200 border-solid"},vo={key:1,class:"m-0 text-sm font-semibold leading-5 text-gray-400 uppercase"},$o={key:3,class:"flex items-center justify-center text-lg uppercase text-primary-400"},Ro={props:{store:{type:Object,default:null},storeProp:{type:String,default:""},taxPopupType:{type:String,default:""},currency:{type:[Object,String],default:""},isLoading:{type:Boolean,default:!1}},setup(e){const o=e,t=G(null);ne("$utils");const y=Q(),_=$({get:()=>o.store[o.storeProp].discount,set:l=>{o.store[o.storeProp].discount_type==="percentage"?o.store[o.storeProp].discount_val=Math.round(o.store.getSubTotal*l/100):o.store[o.storeProp].discount_val=Math.round(l*100),o.store[o.storeProp].discount=l}}),v=$({get:()=>o.store[o.storeProp].taxes,set:l=>{o.store.$patch(h=>{h[o.storeProp].taxes=l})}}),w=$(()=>{let l=[];return o.store[o.storeProp].items.forEach(h=>{h.taxes&&h.taxes.forEach(c=>{let g=l.find(T=>T.tax_type_id===c.tax_type_id);g?g.amount+=c.amount:c.tax_type_id&&l.push({tax_type_id:c.tax_type_id,amount:c.amount,percent:c.percent,name:c.name})})}),l}),d=$(()=>o.currency?o.currency:y.selectedCompanyCurrency);function P(){o.store[o.storeProp].discount_type!=="fixed"&&(o.store[o.storeProp].discount_val=Math.round(o.store[o.storeProp].discount*100),o.store[o.storeProp].discount_type="fixed")}function S(){o.store[o.storeProp].discount_type!=="percentage"&&(o.store[o.storeProp].discount_val=o.store.getSubTotal*o.store[o.storeProp].discount/100,o.store[o.storeProp].discount_type="percentage")}function M(l){let h=0;l.compound_tax&&o.store.getSubtotalWithDiscount?h=Math.round((o.store.getSubtotalWithDiscount+o.store.getTotalSimpleTax)*l.percent/100):o.store.getSubtotalWithDiscount&&l.percent&&(h=Math.round(o.store.getSubtotalWithDiscount*l.percent/100));let c=W(N({},pe),{id:ge.raw(),name:l.name,percent:l.percent,compound_tax:l.compound_tax,tax_type_id:l.id,amount:h});o.store.$patch(g=>{g[o.storeProp].taxes.push(N({},c))})}function q(l){const h=o.store[o.storeProp].taxes.find(c=>c.id===l.id);h&&Object.assign(h,N({},l))}function k(l){const h=o.store[o.storeProp].taxes.findIndex(c=>c.id===l);o.store.$patch(c=>{c[o.storeProp].taxes.splice(h,1)})}return(l,h)=>{const c=m("BaseContentPlaceholdersText"),g=m("BaseContentPlaceholders"),T=m("BaseFormatMoney"),x=m("BaseInput"),I=m("BaseIcon"),B=m("BaseButton"),R=m("BaseDropdownItem"),A=m("BaseDropdown");return r(),p("div",io,[n("div",co,[e.isLoading?(r(),C(g,{key:0},{default:i(()=>[s(c,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("label",uo,f(l.$t("estimates.sub_total")),1)),e.isLoading?(r(),C(g,{key:2},{default:i(()=>[s(c,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("label",mo,[s(T,{amount:e.store.getSubTotal,currency:a(d)},null,8,["amount","currency"])]))]),(r(!0),p(H,null,K(a(w),D=>(r(),p("div",{key:D.tax_type_id,class:"flex items-center justify-between w-full"},[e.isLoading?(r(),C(g,{key:0},{default:i(()=>[s(c,{lines:1,class:"w-16 h-5"})]),_:1})):e.store[e.storeProp].tax_per_item==="YES"?(r(),p("label",po,f(D.name)+" - "+f(D.percent)+"% ",1)):E("",!0),e.isLoading?(r(),C(g,{key:2},{default:i(()=>[s(c,{lines:1,class:"w-16 h-5"})]),_:1})):e.store[e.storeProp].tax_per_item==="YES"?(r(),p("label",yo,[s(T,{amount:D.amount,currency:a(d)},null,8,["amount","currency"])])):E("",!0)]))),128)),e.store[e.storeProp].discount_per_item==="NO"||e.store[e.storeProp].discount_per_item===null?(r(),p("div",xo,[e.isLoading?(r(),C(g,{key:0},{default:i(()=>[s(c,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("label",fo,f(l.$t("estimates.discount")),1)),e.isLoading?(r(),C(g,{key:2},{default:i(()=>[s(c,{lines:1,class:"w-24 h-8 rounded-md border"})]),_:1})):(r(),p("div",ho,[s(x,{modelValue:a(_),"onUpdate:modelValue":h[0]||(h[0]=D=>X(_)?_.value=D:null),class:"border-r-0 focus:border-r-2 rounded-tr-sm rounded-br-sm h-[38px]"},null,8,["modelValue"]),s(A,{position:"bottom-end"},{activator:i(()=>[s(B,{class:"rounded-tr-md rounded-br-md p-2 rounded-none",type:"button",variant:"white"},{default:i(()=>[n("span",go,[V(f(e.store[e.storeProp].discount_type=="fixed"?a(d).symbol:"%")+" ",1),s(I,{name:"ChevronDownIcon",class:"w-4 h-4 text-gray-500 ml-1"})])]),_:1})]),default:i(()=>[s(R,{onClick:P},{default:i(()=>[V(f(l.$t("general.fixed")),1)]),_:1}),s(R,{onClick:S},{default:i(()=>[V(f(l.$t("general.percentage")),1)]),_:1})]),_:1})]))])):E("",!0),e.store[e.storeProp].tax_per_item==="NO"||e.store[e.storeProp].tax_per_item===null?(r(),p("div",bo,[(r(!0),p(H,null,K(a(v),(D,j)=>(r(),C(Gt,{key:D.id,index:j,tax:D,taxes:a(v),currency:e.currency,store:e.store,onRemove:k,onUpdate:q},null,8,["index","tax","taxes","currency","store"]))),128))])):E("",!0),e.store[e.storeProp].tax_per_item==="NO"||e.store[e.storeProp].tax_per_item===null?(r(),p("div",{key:2,ref:(D,j)=>{j.taxModal=D,t.value=D},class:"float-right pt-2 pb-4"},[s(lo,{"store-prop":e.storeProp,store:e.store,type:e.taxPopupType,"onSelect:taxType":M},null,8,["store-prop","store","type"])],512)):E("",!0),n("div",_o,[e.isLoading?(r(),C(g,{key:0},{default:i(()=>[s(c,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("label",vo,f(l.$t("estimates.total"))+" "+f(l.$t("estimates.amount"))+":",1)),e.isLoading?(r(),C(g,{key:2},{default:i(()=>[s(c,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("label",$o,[s(T,{amount:e.store.getTotal,currency:a(d)},null,8,["amount","currency"])]))])])}}},wo={class:"flex text-primary-800 font-medium text-sm mb-2"},Bo=n("span",{class:"text-sm text-red-500"}," *",-1),Go={props:{store:{type:Object,default:null},storeProp:{type:String,default:""}},setup(e){const o=e,t=Z(),{t:y}=J();function _(){t.openModal({title:y("general.choose_template"),componentName:"SelectTemplate",data:{templates:o.store.templates,store:o.store,storeProp:o.storeProp}})}return(v,w)=>{const d=m("BaseIcon"),P=m("BaseButton");return r(),p("div",null,[n("label",wo,[V(f(v.$t("general.select_template"))+" ",1),Bo]),s(P,{type:"button",class:"flex justify-center w-full text-sm lg:w-auto hover:bg-gray-200",variant:"gray",onClick:_},{right:i(S=>[s(d,{name:"PencilIcon",class:Y(S.class)},null,8,["class"])]),default:i(()=>[V(" "+f(e.store[e.storeProp].template_name),1)]),_:1})])}}},Io={class:"mb-6"},Po={class:"z-20 text-sm font-semibold leading-5 text-primary-400 float-right"},So={class:"text-primary-800 font-medium mb-4 text-sm"},Xo={props:{store:{type:Object,default:null},storeProp:{type:String,default:""},fields:{type:Object,default:null},type:{type:String,default:null}},setup(e){const o=e;function t(y){o.store[o.storeProp].notes=""+y.notes}return(y,_)=>{const v=m("BaseCustomInput");return r(),p("div",Io,[n("div",Po,[s(We,{type:e.type,onSelect:t},null,8,["type"])]),n("label",So,f(y.$t("invoices.notes")),1),s(v,{modelValue:e.store[e.storeProp].notes,"onUpdate:modelValue":_[0]||(_[0]=w=>e.store[e.storeProp].notes=w),"content-loading":e.store.isFetchingInitialSettings,fields:e.fields,class:"mt-1"},null,8,["modelValue","content-loading","fields"])])}}};var ko="/build/img/tick.png";const To={class:"flex justify-between w-full"},Co={class:"px-8 py-8 sm:p-6"},Mo={key:0,class:"grid grid-cols-3 gap-2 p-1 overflow-x-auto"},Do=["src","alt","onClick"],jo=["alt"],Vo={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},Ho={setup(e){const o=Z(),t=G(""),y=$(()=>o.active&&o.componentName==="SelectTemplate"),_=$(()=>o.title);function v(){o.data.store[o.data.storeProp].template_name?t.value=o.data.store[o.data.storeProp].template_name:t.value=o.data.templates[0]}async function w(){await o.data.store.setTemplate(t.value),d()}function d(){o.closeModal(),setTimeout(()=>{o.$reset()},300)}return(P,S)=>{const M=m("BaseIcon"),q=m("BaseButton"),k=m("BaseModal");return r(),C(k,{show:a(y),onClose:d,onOpen:v},{header:i(()=>[n("div",To,[V(f(a(_))+" ",1),s(M,{name:"XIcon",class:"h-6 w-6 text-gray-500 cursor-pointer",onClick:d})])]),default:i(()=>[n("div",Co,[a(o).data?(r(),p("div",Mo,[(r(!0),p(H,null,K(a(o).data.templates,(l,h)=>(r(),p("div",{key:h,class:Y([{"border border-solid border-primary-500":t.value===l.name},"relative flex flex-col m-2 border border-gray-200 border-solid cursor-pointer hover:border-primary-300"])},[n("img",{src:l.path,alt:l.name,class:"w-full",onClick:c=>t.value=l.name},null,8,Do),t.value===l.name?(r(),p("img",{key:0,alt:l.name,class:"absolute z-10 w-5 h-5 text-primary-500",style:{top:"-6px",right:"-5px"},src:ko},null,8,jo)):E("",!0),n("span",{class:Y(["w-full p-1 bg-gray-200 text-sm text-center absolute bottom-0 left-0",{"text-primary-500 bg-primary-100":t.value===l.name,"text-gray-600":t.value!=l.name}])},f(l.name),3)],2))),128))])):E("",!0)]),n("div",Vo,[s(q,{class:"mr-3",variant:"primary-outline",onClick:d},{default:i(()=>[V(f(P.$t("general.cancel")),1)]),_:1}),s(q,{variant:"primary",onClick:S[0]||(S[0]=l=>w())},{left:i(l=>[s(M,{name:"SaveIcon",class:Y(l.class)},null,8,["class"])]),default:i(()=>[V(" "+f(P.$t("general.choose")),1)]),_:1})])]),_:1},8,["show"])}}},qo={class:"flex justify-between w-full"},Lo={class:"item-modal"},Eo=["onSubmit"],Oo={class:"px-8 py-8 sm:p-6"},No={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},Zo={emits:["newItem"],setup(e,{emit:o}){const t=Z(),y=ue(),_=Q(),v=oe();ke(),Te();const{t:w}=J(),d=G(!1),P=G(_.selectedCompanySettings.tax_per_item),S=$(()=>t.active&&t.componentName==="ItemModal"),M=$({get:()=>y.currentItem.price/100,set:x=>{y.currentItem.price=Math.round(x*100)}}),q=$({get:()=>y.currentItem.taxes.map(x=>{if(x)return W(N({},x),{tax_type_id:x.id,tax_name:x.name+" ("+x.percent+"%)"})}),set:x=>{y.$patch(I=>{I.currentItem.taxes=x})}}),k=$(()=>P.value==="YES"),l={name:{required:U.withMessage(w("validation.required"),ee),minLength:U.withMessage(w("validation.name_min_length",{count:3}),Fe(3))},description:{maxLength:U.withMessage(w("validation.description_maxlength",{count:255}),te(255))}},h=he(l,$(()=>y.currentItem)),c=$(()=>v.taxTypes.map(x=>W(N({},x),{tax_name:x.name+" ("+x.percent+"%)"})));Ae(()=>{h.value.$reset(),y.fetchItemUnits({limit:"all"})});async function g(){if(h.value.$touch(),h.value.$invalid)return!0;let x=W(N({},y.currentItem),{taxes:y.currentItem.taxes.map(B=>({tax_type_id:B.id,amount:M.value*B.percent/100,percent:B.percent,name:B.name,collective_tax:0}))});d.value=!0,await(y.isEdit?y.updateItem:y.addItem)(x).then(B=>{d.value=!1,B.data.data&&t.data&&t.refreshData(B.data.data),T()})}function T(){t.closeModal(),setTimeout(()=>{y.resetCurrentItem(),t.$reset(),h.value.$reset()},300)}return(x,I)=>{const B=m("BaseIcon"),R=m("BaseInput"),A=m("BaseInputGroup"),D=m("BaseMoney"),j=m("BaseMultiselect"),u=m("BaseTextarea"),b=m("BaseInputGrid"),L=m("BaseButton"),z=m("BaseModal");return r(),C(z,{show:a(S),onClose:T},{header:i(()=>[n("div",qo,[V(f(a(t).title)+" ",1),s(B,{name:"XIcon",class:"h-6 w-6 text-gray-500 cursor-pointer",onClick:T})])]),default:i(()=>[n("div",Lo,[n("form",{action:"",onSubmit:ze(g,["prevent"])},[n("div",Oo,[s(b,{layout:"one-column"},{default:i(()=>[s(A,{label:x.$t("items.name"),required:"",error:a(h).name.$error&&a(h).name.$errors[0].$message},{default:i(()=>[s(R,{modelValue:a(y).currentItem.name,"onUpdate:modelValue":I[0]||(I[0]=O=>a(y).currentItem.name=O),type:"text",invalid:a(h).name.$error,onInput:I[1]||(I[1]=O=>a(h).name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),s(A,{label:x.$t("items.price")},{default:i(()=>[s(D,{key:a(_).selectedCompanyCurrency,modelValue:a(M),"onUpdate:modelValue":I[2]||(I[2]=O=>X(M)?M.value=O:null),currency:a(_).selectedCompanyCurrency,class:"relative w-full focus:border focus:border-solid focus:border-primary"},null,8,["modelValue","currency"])]),_:1},8,["label"]),s(A,{label:x.$t("items.unit")},{default:i(()=>[s(j,{modelValue:a(y).currentItem.unit_id,"onUpdate:modelValue":I[3]||(I[3]=O=>a(y).currentItem.unit_id=O),label:"name",options:a(y).itemUnits,"value-prop":"id","can-deselect":!1,"can-clear":!1,placeholder:x.$t("items.select_a_unit"),searchable:"","track-by":"id"},null,8,["modelValue","options","placeholder"])]),_:1},8,["label"]),a(k)?(r(),C(A,{key:0,label:x.$t("items.taxes")},{default:i(()=>[s(j,{modelValue:a(q),"onUpdate:modelValue":I[4]||(I[4]=O=>X(q)?q.value=O:null),options:a(c),label:"name","value-prop":"id",class:"w-full","can-deselect":!1,"can-clear":!1,searchable:"","track-by":"id",object:""},null,8,["modelValue","options"])]),_:1},8,["label"])):E("",!0),s(A,{label:x.$t("items.description"),error:a(h).description.$error&&a(h).description.$errors[0].$message},{default:i(()=>[s(u,{modelValue:a(y).currentItem.description,"onUpdate:modelValue":I[5]||(I[5]=O=>a(y).currentItem.description=O),rows:"4",cols:"50",invalid:a(h).description.$error,onInput:I[6]||(I[6]=O=>a(h).description.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),_:1})]),n("div",No,[s(L,{class:"mr-3",variant:"primary-outline",type:"button",onClick:T},{default:i(()=>[V(f(x.$t("general.cancel")),1)]),_:1}),s(L,{loading:d.value,disabled:d.value,variant:"primary",type:"submit"},{left:i(O=>[s(B,{name:"SaveIcon",class:Y(O.class)},null,8,["class"])]),default:i(()=>[V(" "+f(a(y).isEdit?x.$t("general.update"):x.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,Eo)])]),_:1},8,["show"])}}};export{Ho as _,Zo as a,Yo as b,Xo as c,Go as d,Ro as e}; +var we=Object.defineProperty,Be=Object.defineProperties;var Ie=Object.getOwnPropertyDescriptors;var ie=Object.getOwnPropertySymbols;var Pe=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable;var ce=(e,o,t)=>o in e?we(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,N=(e,o)=>{for(var t in o||(o={}))Pe.call(o,t)&&ce(e,t,o[t]);if(ie)for(var t of ie(o))Se.call(o,t)&&ce(e,t,o[t]);return e},W=(e,o)=>Be(e,Ie(o));import{q as oe,g as Z,d as de,c as Q,p as ue,e as me,T as pe,j as ke,u as Te}from"./main.f55cd568.js";import{D as Ce,d as Me}from"./DragIcon.0cd95723.js";import{i as G,j as De,am as ne,g as J,k as $,D as ye,r as m,o as r,c as p,t as n,x as f,b as s,a5 as je,y as a,w as i,v as V,s as C,A as E,u as Ve,l as xe,m as U,n as ee,b4 as fe,a4 as te,aZ as qe,q as he,a0 as X,F as H,H as K,G as ge,ac as Le,a6 as Ee,z as Y,T as Oe,a7 as Ne,a8 as Ue,p as Fe,M as Ae,B as ze}from"./vendor.e9042f2c.js";import{_ as We}from"./SelectNotePopup.8c3a3989.js";const Ye={class:"flex items-center justify-between mb-3"},Re={class:"flex items-center text-base",style:{flex:"4"}},Ge={class:"pr-2 mb-0",align:"right"},Xe={class:"absolute left-3.5"},He={class:"ml-2 text-sm leading-none text-primary-400 cursor-pointer"},Ze=n("br",null,null,-1),Je={class:"text-sm text-right",style:{flex:"3"}},Ke={class:"flex items-center justify-center w-6 h-10 mx-2 cursor-pointer"},Qe={props:{ability:{type:String,default:""},store:{type:Object,default:null},storeProp:{type:String,default:""},itemIndex:{type:Number,required:!0},index:{type:Number,required:!0},taxData:{type:Object,required:!0},taxes:{type:Array,default:[]},total:{type:Number,default:0},totalTax:{type:Number,default:0},currency:{type:[Object,String],required:!0},updateItems:{type:Function,default:()=>{}}},emits:["remove","update"],setup(e,{emit:o}){const t=e,y=oe(),_=Z(),v=de(),w=G(null),d=De(N({},t.taxData));ne("utils");const{t:P}=J(),S=$(()=>y.taxTypes.map(g=>N({},g)).map(g=>(t.taxes.find(x=>x.tax_type_id===g.id)?g.disabled=!0:g.disabled=!1,g))),M=$(()=>d.compound_tax&&t.total?(t.total+t.totalTax)*d.percent/100:t.total&&d.percent?t.total*d.percent/100:0);ye(()=>t.total,()=>{k()}),ye(()=>t.totalTax,()=>{k()}),t.taxData.tax_type_id>0&&(w.value=y.taxTypes.find(c=>c.id===t.taxData.tax_type_id)),k();function q(c){d.percent=c.percent,d.tax_type_id=c.id,d.compound_tax=c.compound_tax,d.name=c.name,k()}function k(){d.tax_type_id!==0&&o("update",{index:t.index,item:W(N({},d),{amount:M.value})})}function l(){let c={itemIndex:t.itemIndex,taxIndex:t.index};_.openModal({title:P("settings.tax_types.add_tax"),componentName:"TaxTypeModal",data:c,size:"sm"})}function h(c){t.store.$patch(g=>{g[t.storeProp].items[t.itemIndex].taxes.splice(c,1)})}return(c,g)=>{const T=m("BaseIcon"),x=m("BaseMultiselect"),I=m("BaseFormatMoney");return r(),p("div",Ye,[n("div",Re,[n("label",Ge,f(c.$t("invoices.item.tax")),1),s(x,{modelValue:w.value,"onUpdate:modelValue":[g[0]||(g[0]=B=>w.value=B),g[1]||(g[1]=B=>q(B))],"value-prop":"id",options:a(S),placeholder:c.$t("general.select_a_tax"),"open-direction":"top","track-by":"name",searchable:"",object:"",label:"name"},je({singlelabel:i(({value:B})=>[n("div",Xe,f(B.name)+" - "+f(B.percent)+" % ",1)]),option:i(({option:B})=>[V(f(B.name)+" - "+f(B.percent)+" % ",1)]),_:2},[a(v).hasAbilities(e.ability)?{name:"action",fn:i(()=>[n("button",{type:"button",class:"flex items-center justify-center w-full px-2 cursor-pointer py-2 bg-gray-200 border-none outline-none",onClick:l},[s(T,{name:"CheckCircleIcon",class:"h-5 text-primary-400"}),n("label",He,f(c.$t("invoices.add_new_tax")),1)])])}:void 0]),1032,["modelValue","options","placeholder"]),Ze]),n("div",Je,[s(I,{amount:a(M),currency:e.currency},null,8,["amount","currency"])]),n("div",Ke,[e.taxes.length&&e.index!==e.taxes.length-1?(r(),C(T,{key:0,name:"TrashIcon",class:"h-5 text-gray-700 cursor-pointer",onClick:g[2]||(g[2]=B=>h(e.index))})):E("",!0)])])}}},et={class:"box-border bg-white border border-gray-200 border-solid rounded-b"},tt={colspan:"5",class:"p-0 text-left align-top"},ot={class:"w-full"},nt=n("col",{style:{width:"40%","min-width":"280px"}},null,-1),st=n("col",{style:{width:"10%","min-width":"120px"}},null,-1),at=n("col",{style:{width:"15%","min-width":"120px"}},null,-1),rt={key:0,style:{width:"15%","min-width":"160px"}},lt=n("col",{style:{width:"15%","min-width":"120px"}},null,-1),it={class:"px-5 py-4 text-left align-top"},ct={class:"flex justify-start"},dt={class:"flex items-center justify-center w-5 h-5 mt-2 text-gray-300 cursor-move handle mr-2"},ut={class:"px-5 py-4 text-right align-top"},mt={class:"px-5 py-4 text-left align-top"},pt={class:"flex flex-col"},yt={class:"flex-auto flex-fill bd-highlight"},xt={class:"relative w-full"},ft={key:0,class:"px-5 py-4 text-left align-top"},ht={class:"flex flex-col"},gt={class:"flex",style:{width:"120px"},role:"group"},bt={class:"flex items-center"},_t={class:"px-5 py-4 text-right align-top"},vt={class:"flex items-center justify-end text-sm"},$t={class:"flex items-center justify-center w-6 h-10 mx-2"},wt={key:0},Bt=n("td",{class:"px-5 py-4 text-left align-top"},null,-1),It={colspan:"4",class:"px-5 py-4 text-left align-top"},Pt={props:{store:{type:Object,default:null},storeProp:{type:String,default:""},itemData:{type:Object,default:null},index:{type:Number,default:null},type:{type:String,default:""},loading:{type:Boolean,default:!1},currency:{type:[Object,String],required:!0},invoiceItems:{type:Array,required:!0},itemValidationScope:{type:String,default:""}},emits:["update","remove","itemValidate"],setup(e,{emit:o}){const t=e,y=Q(),_=ue();Ve();const{t:v}=J(),w=$({get:()=>t.itemData.quantity,set:u=>{j("quantity",parseFloat(u))}}),d=$({get:()=>{const u=t.itemData.price;return parseFloat(u)>0?u/100:u},set:u=>{if(parseFloat(u)>0){let b=Math.round(u*100);j("price",b)}else j("price",u)}}),P=$(()=>t.itemData.price*t.itemData.quantity),S=$({get:()=>t.itemData.discount,set:u=>{t.itemData.discount_type==="percentage"?j("discount_val",P.value*u/100):j("discount_val",Math.round(u*100)),j("discount",u)}}),M=$(()=>P.value-t.itemData.discount_val),q=$(()=>t.currency?t.currency:y.selectedCompanyCurrency),k=$(()=>t.store[t.storeProp].items.length!=1),l=$(()=>Math.round(xe.exports.sumBy(t.itemData.taxes,function(u){return u.compound_tax?0:u.amount}))),h=$(()=>Math.round(xe.exports.sumBy(t.itemData.taxes,function(u){return u.compound_tax?u.amount:0}))),c=$(()=>l.value+h.value),g={name:{required:U.withMessage(v("validation.required"),ee)},quantity:{required:U.withMessage(v("validation.required"),ee),minValue:U.withMessage(v("validation.qty_must_greater_than_zero"),fe(0)),maxLength:U.withMessage(v("validation.amount_maxlength"),te(20))},price:{required:U.withMessage(v("validation.required"),ee),minValue:U.withMessage(v("validation.number_length_minvalue"),fe(1)),maxLength:U.withMessage(v("validation.price_maxlength"),te(20))},discount_val:{between:U.withMessage(v("validation.discount_maxlength"),qe(0,$(()=>P.value)))},description:{maxLength:U.withMessage(v("validation.notes_maxlength"),te(65e3))}},T=he(g,$(()=>t.store[t.storeProp].items[t.index]),{$scope:t.itemValidationScope});function x(u){t.store.$patch(L=>{L[t.storeProp].items[t.index].taxes[u.index]=u.item});let b=t.itemData.taxes[t.itemData.taxes.length-1];(b==null?void 0:b.tax_type_id)!==0&&t.store.$patch(L=>{L[t.storeProp].items[t.index].taxes.push(W(N({},pe),{id:ge.raw()}))}),D()}function I(u){j("name",u)}function B(u){t.store.$patch(b=>{if(b[t.storeProp].items[t.index].name=u.name,b[t.storeProp].items[t.index].price=u.price,b[t.storeProp].items[t.index].item_id=u.id,b[t.storeProp].items[t.index].description=u.description,u.unit&&(b[t.storeProp].items[t.index].unit_name=u.unit.name),t.store[t.storeProp].tax_per_item==="YES"&&u.taxes){let L=0;u.taxes.forEach(z=>{x({index:L,item:N({},z)}),L++})}b[t.storeProp].exchange_rate&&(b[t.storeProp].items[t.index].price/=b[t.storeProp].exchange_rate)}),_.fetchItems(),D()}function R(){t.itemData.discount_type!=="fixed"&&(j("discount_val",Math.round(t.itemData.discount*100)),j("discount_type","fixed"))}function A(){t.itemData.discount_type!=="percentage"&&(j("discount_val",P.value*t.itemData.discount/100),j("discount_type","percentage"))}function D(){var L,z;let u=(z=(L=t.store[t.storeProp])==null?void 0:L.items[t.index])==null?void 0:z.taxes;u||(u=[]);let b=W(N({},t.store[t.storeProp].items[t.index]),{index:t.index,total:M.value,sub_total:P.value,totalSimpleTax:l.value,totalCompoundTax:h.value,totalTax:c.value,tax:c.value,taxes:[...u]});t.store.updateItem(b)}function j(u,b){t.store.$patch(L=>{L[t.storeProp].items[t.index][u]=b}),D()}return(u,b)=>{const L=m("BaseItemSelect"),z=m("BaseInput"),O=m("BaseMoney"),se=m("BaseIcon"),be=m("BaseButton"),ae=m("BaseDropdownItem"),_e=m("BaseDropdown"),re=m("BaseContentPlaceholdersText"),le=m("BaseContentPlaceholders"),ve=m("BaseFormatMoney");return r(),p("tr",et,[n("td",tt,[n("table",ot,[n("colgroup",null,[nt,st,at,e.store[e.storeProp].discount_per_item==="YES"?(r(),p("col",rt)):E("",!0),lt]),n("tbody",null,[n("tr",null,[n("td",it,[n("div",ct,[n("div",dt,[s(Ce)]),s(L,{type:"Invoice",item:e.itemData,invalid:a(T).name.$error,"invalid-description":a(T).description.$error,taxes:e.itemData.taxes,index:e.index,"store-prop":e.storeProp,store:e.store,onSearch:I,onSelect:B},null,8,["item","invalid","invalid-description","taxes","index","store-prop","store"])])]),n("td",ut,[s(z,{modelValue:a(w),"onUpdate:modelValue":b[0]||(b[0]=F=>X(w)?w.value=F:null),invalid:a(T).quantity.$error,"content-loading":e.loading,type:"number",small:"",min:"0",step:"any",onChange:b[1]||(b[1]=F=>D()),onInput:b[2]||(b[2]=F=>a(T).quantity.$touch())},null,8,["modelValue","invalid","content-loading"])]),n("td",mt,[n("div",pt,[n("div",yt,[n("div",xt,[s(O,{key:a(q),modelValue:a(d),"onUpdate:modelValue":b[3]||(b[3]=F=>X(d)?d.value=F:null),invalid:a(T).price.$error,"content-loading":e.loading,currency:a(q)},null,8,["modelValue","invalid","content-loading","currency"])])])])]),e.store[e.storeProp].discount_per_item==="YES"?(r(),p("td",ft,[n("div",ht,[n("div",gt,[s(z,{modelValue:a(S),"onUpdate:modelValue":b[4]||(b[4]=F=>X(S)?S.value=F:null),invalid:a(T).discount_val.$error,"content-loading":e.loading,class:"border-r-0 focus:border-r-2 rounded-tr-sm rounded-br-sm h-[38px]"},null,8,["modelValue","invalid","content-loading"]),s(_e,{position:"bottom-end"},{activator:i(()=>[s(be,{"content-loading":e.loading,class:"rounded-tr-md rounded-br-md !p-2 rounded-none",type:"button",variant:"white"},{default:i(()=>[n("span",bt,[V(f(e.itemData.discount_type=="fixed"?e.currency.symbol:"%")+" ",1),s(se,{name:"ChevronDownIcon",class:"w-4 h-4 text-gray-500 ml-1"})])]),_:1},8,["content-loading"])]),default:i(()=>[s(ae,{onClick:R},{default:i(()=>[V(f(u.$t("general.fixed")),1)]),_:1}),s(ae,{onClick:A},{default:i(()=>[V(f(u.$t("general.percentage")),1)]),_:1})]),_:1})])])])):E("",!0),n("td",_t,[n("div",vt,[n("span",null,[e.loading?(r(),C(le,{key:0},{default:i(()=>[s(re,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),C(ve,{key:1,amount:a(M),currency:a(q)},null,8,["amount","currency"]))]),n("div",$t,[a(k)?(r(),C(se,{key:0,class:"h-5 text-gray-700 cursor-pointer",name:"TrashIcon",onClick:b[5]||(b[5]=F=>e.store.removeItem(e.index))})):E("",!0)])])])]),e.store[e.storeProp].tax_per_item==="YES"?(r(),p("tr",wt,[Bt,n("td",It,[e.loading?(r(),C(le,{key:0},{default:i(()=>[s(re,{lines:1,class:"w-24 h-8 rounded-md border"})]),_:1})):(r(!0),p(H,{key:1},K(e.itemData.taxes,(F,$e)=>(r(),C(Qe,{key:F.id,index:$e,"item-index":e.index,"tax-data":F,taxes:e.itemData.taxes,"discounted-total":a(M),"total-tax":a(l),total:a(P),currency:e.currency,"update-items":D,ability:a(me).CREATE_INVOICE,store:e.store,"store-prop":e.storeProp,onUpdate:x},null,8,["index","item-index","tax-data","taxes","discounted-total","total-tax","total","currency","ability","store","store-prop"]))),128))])])):E("",!0)])])])])}}},St={class:"text-center item-table min-w-full"},kt=n("col",{style:{width:"40%","min-width":"280px"}},null,-1),Tt=n("col",{style:{width:"10%","min-width":"120px"}},null,-1),Ct=n("col",{style:{width:"15%","min-width":"120px"}},null,-1),Mt={key:0,style:{width:"15%","min-width":"160px"}},Dt=n("col",{style:{width:"15%","min-width":"120px"}},null,-1),jt={class:"bg-white border border-gray-200 border-solid"},Vt={class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-left text-gray-700 border-t border-b border-gray-200 border-solid"},qt={key:1,class:"pl-7"},Lt={class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-right text-gray-700 border-t border-b border-gray-200 border-solid"},Et={key:1},Ot={class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-left text-gray-700 border-t border-b border-gray-200 border-solid"},Nt={key:1},Ut={key:0,class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-left text-gray-700 border-t border-b border-gray-200 border-solid"},Ft={key:1},At={class:"px-5 py-3 text-sm not-italic font-medium leading-5 text-right text-gray-700 border-t border-b border-gray-200 border-solid"},zt={key:1,class:"pr-10 column-heading"},Yo={props:{store:{type:Object,default:null},storeProp:{type:String,default:""},currency:{type:[Object,String,null],required:!0},isLoading:{type:Boolean,default:!1},itemValidationScope:{type:String,default:""}},setup(e){const o=e,t=Q(),y=$(()=>o.currency?o.currency:t.selectedCompanyCurrency);return(_,v)=>{const w=m("BaseContentPlaceholdersText"),d=m("BaseContentPlaceholders"),P=m("BaseIcon");return r(),p(H,null,[n("table",St,[n("colgroup",null,[kt,Tt,Ct,e.store[e.storeProp].discount_per_item==="YES"?(r(),p("col",Mt)):E("",!0),Dt]),n("thead",jt,[n("tr",null,[n("th",Vt,[e.isLoading?(r(),C(d,{key:0},{default:i(()=>[s(w,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("span",qt,f(_.$tc("items.item",2)),1))]),n("th",Lt,[e.isLoading?(r(),C(d,{key:0},{default:i(()=>[s(w,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("span",Et,f(_.$t("invoices.item.quantity")),1))]),n("th",Ot,[e.isLoading?(r(),C(d,{key:0},{default:i(()=>[s(w,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("span",Nt,f(_.$t("invoices.item.price")),1))]),e.store[e.storeProp].discount_per_item==="YES"?(r(),p("th",Ut,[e.isLoading?(r(),C(d,{key:0},{default:i(()=>[s(w,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("span",Ft,f(_.$t("invoices.item.discount")),1))])):E("",!0),n("th",At,[e.isLoading?(r(),C(d,{key:0},{default:i(()=>[s(w,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("span",zt,f(_.$t("invoices.item.amount")),1))])])]),s(a(Me),{modelValue:e.store[e.storeProp].items,"onUpdate:modelValue":v[0]||(v[0]=S=>e.store[e.storeProp].items=S),"item-key":"id",tag:"tbody",handle:".handle"},{item:i(({element:S,index:M})=>[s(Pt,{key:S.id,index:M,"item-data":S,loading:e.isLoading,currency:a(y),"item-validation-scope":e.itemValidationScope,"invoice-items":e.store[e.storeProp].items,store:e.store,"store-prop":e.storeProp},null,8,["index","item-data","loading","currency","item-validation-scope","invoice-items","store","store-prop"])]),_:1},8,["modelValue"])]),n("div",{class:"flex items-center justify-center w-full px-6 py-3 text-base border border-t-0 border-gray-200 border-solid cursor-pointer text-primary-400 hover:bg-primary-100",onClick:v[1]||(v[1]=(...S)=>e.store.addItem&&e.store.addItem(...S))},[s(P,{name:"PlusCircleIcon",class:"mr-2"}),V(" "+f(_.$t("general.add_new_item")),1)])],64)}}},Wt={class:"flex items-center justify-between w-full mt-2 text-sm"},Yt={class:"font-semibold leading-5 text-gray-500 uppercase"},Rt={class:"flex items-center justify-center text-lg text-black"},Gt={props:{index:{type:Number,required:!0},tax:{type:Object,required:!0},taxes:{type:Array,required:!0},currency:{type:[Object,String],required:!0},store:{type:Object,default:null},data:{type:String,default:""}},emits:["update","remove"],setup(e,{emit:o}){const t=e;ne("$utils");const y=$(()=>t.tax.compound_tax&&t.store.getSubtotalWithDiscount?Math.round((t.store.getSubtotalWithDiscount+t.store.getTotalSimpleTax)*t.tax.percent/100):t.store.getSubtotalWithDiscount&&t.tax.percent?Math.round(t.store.getSubtotalWithDiscount*t.tax.percent/100):0);Le(()=>{t.store.getSubtotalWithDiscount&&_(),t.store.getTotalSimpleTax&&_()});function _(){o("update",W(N({},t.tax),{amount:y.value}))}return(v,w)=>{const d=m("BaseFormatMoney"),P=m("BaseIcon");return r(),p("div",Wt,[n("label",Yt,f(e.tax.name)+" ("+f(e.tax.percent)+" %) ",1),n("label",Rt,[s(d,{amount:e.tax.amount,currency:e.currency},null,8,["amount","currency"]),s(P,{name:"TrashIcon",class:"h-5 ml-2 cursor-pointer",onClick:w[0]||(w[0]=S=>v.$emit("remove",e.tax.id))})])])}}},Xt={class:"w-full mt-4 tax-select"},Ht={class:"relative w-full max-w-md px-4"},Zt={class:"overflow-hidden rounded-md shadow-lg ring-1 ring-black ring-opacity-5"},Jt={class:"relative bg-white"},Kt={class:"relative p-4"},Qt={key:0,class:"relative flex flex-col overflow-auto list max-h-36 border-t border-gray-200"},eo=["onClick"],to={class:"flex justify-between px-2"},oo={class:"m-0 text-base font-semibold leading-tight text-gray-700 cursor-pointer"},no={class:"m-0 text-base font-semibold text-gray-700 cursor-pointer"},so={key:1,class:"flex justify-center p-5 text-gray-400"},ao={class:"text-base text-gray-500 cursor-pointer"},ro={class:"m-0 ml-3 text-sm leading-none cursor-pointer font-base text-primary-400"},lo={props:{type:{type:String,default:null},store:{type:Object,default:null},storeProp:{type:String,default:""}},emits:["select:taxType"],setup(e,{emit:o}){const t=e,y=Z(),_=oe(),v=de(),{t:w}=J(),d=G(null),P=$(()=>d.value?_.taxTypes.filter(function(k){return k.name.toLowerCase().indexOf(d.value.toLowerCase())!==-1}):_.taxTypes),S=$(()=>t.store[t.storeProp].taxes);function M(k,l){o("select:taxType",N({},k)),l()}function q(){y.openModal({title:w("settings.tax_types.add_tax"),componentName:"TaxTypeModal",size:"sm",refreshData:k=>o("select:taxType",k)})}return(k,l)=>{const h=m("BaseIcon"),c=m("BaseInput");return r(),p("div",Xt,[s(a(Ue),{class:"relative"},{default:i(({isOpen:g})=>[s(a(Ee),{class:Y([g?"":"text-opacity-90","flex items-center text-sm font-medium text-primary-400 focus:outline-none focus:border-none"])},{default:i(()=>[s(h,{name:"PlusIcon",class:"w-4 h-4 font-medium text-primary-400"}),V(" "+f(k.$t("settings.tax_types.add_tax")),1)]),_:2},1032,["class"]),n("div",Ht,[s(Oe,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"translate-y-1 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-1 opacity-0"},{default:i(()=>[s(a(Ne),{style:{"min-width":"350px","margin-left":"62px",top:"-28px"},class:"absolute z-10 px-4 py-2 transform -translate-x-full sm:px-0"},{default:i(({close:T})=>[n("div",Zt,[n("div",Jt,[n("div",Kt,[s(c,{modelValue:d.value,"onUpdate:modelValue":l[0]||(l[0]=x=>d.value=x),placeholder:k.$t("general.search"),type:"text",class:"text-black"},null,8,["modelValue","placeholder"])]),a(P).length>0?(r(),p("div",Qt,[(r(!0),p(H,null,K(a(P),(x,I)=>(r(),p("div",{key:I,class:Y([{"bg-gray-100 cursor-not-allowed opacity-50 pointer-events-none":a(S).find(B=>B.tax_type_id===x.id)},"px-6 py-4 border-b border-gray-200 border-solid cursor-pointer hover:bg-gray-100 hover:cursor-pointer last:border-b-0"]),tabindex:"2",onClick:B=>M(x,T)},[n("div",to,[n("label",oo,f(x.name),1),n("label",no,f(x.percent)+" % ",1)])],10,eo))),128))])):(r(),p("div",so,[n("label",ao,f(k.$t("general.no_tax_found")),1)]))]),a(v).hasAbilities(a(me).CREATE_TAX_TYPE)?(r(),p("button",{key:0,type:"button",class:"flex items-center justify-center w-full h-10 px-2 py-3 bg-gray-200 border-none outline-none",onClick:q},[s(h,{name:"CheckCircleIcon",class:"text-primary-400"}),n("label",ro,f(k.$t("estimates.add_new_tax")),1)])):E("",!0)])]),_:1})]),_:1})])]),_:1})])}}},io={class:"px-5 py-4 mt-6 bg-white border border-gray-200 border-solid rounded md:min-w-[390px] min-w-[300px] lg:mt-7"},co={class:"flex items-center justify-between w-full"},uo={key:1,class:"text-sm font-semibold leading-5 text-gray-400 uppercase"},mo={key:3,class:"flex items-center justify-center m-0 text-lg text-black uppercase"},po={key:1,class:"m-0 text-sm font-semibold leading-5 text-gray-500 uppercase"},yo={key:3,class:"flex items-center justify-center m-0 text-lg text-black uppercase"},xo={key:0,class:"flex items-center justify-between w-full mt-2"},fo={key:1,class:"text-sm font-semibold leading-5 text-gray-400 uppercase"},ho={key:3,class:"flex",style:{width:"140px"},role:"group"},go={class:"flex items-center"},bo={key:1},_o={class:"flex items-center justify-between w-full pt-2 mt-5 border-t border-gray-200 border-solid"},vo={key:1,class:"m-0 text-sm font-semibold leading-5 text-gray-400 uppercase"},$o={key:3,class:"flex items-center justify-center text-lg uppercase text-primary-400"},Ro={props:{store:{type:Object,default:null},storeProp:{type:String,default:""},taxPopupType:{type:String,default:""},currency:{type:[Object,String],default:""},isLoading:{type:Boolean,default:!1}},setup(e){const o=e,t=G(null);ne("$utils");const y=Q(),_=$({get:()=>o.store[o.storeProp].discount,set:l=>{o.store[o.storeProp].discount_type==="percentage"?o.store[o.storeProp].discount_val=Math.round(o.store.getSubTotal*l/100):o.store[o.storeProp].discount_val=Math.round(l*100),o.store[o.storeProp].discount=l}}),v=$({get:()=>o.store[o.storeProp].taxes,set:l=>{o.store.$patch(h=>{h[o.storeProp].taxes=l})}}),w=$(()=>{let l=[];return o.store[o.storeProp].items.forEach(h=>{h.taxes&&h.taxes.forEach(c=>{let g=l.find(T=>T.tax_type_id===c.tax_type_id);g?g.amount+=c.amount:c.tax_type_id&&l.push({tax_type_id:c.tax_type_id,amount:c.amount,percent:c.percent,name:c.name})})}),l}),d=$(()=>o.currency?o.currency:y.selectedCompanyCurrency);function P(){o.store[o.storeProp].discount_type!=="fixed"&&(o.store[o.storeProp].discount_val=Math.round(o.store[o.storeProp].discount*100),o.store[o.storeProp].discount_type="fixed")}function S(){o.store[o.storeProp].discount_type!=="percentage"&&(o.store[o.storeProp].discount_val=o.store.getSubTotal*o.store[o.storeProp].discount/100,o.store[o.storeProp].discount_type="percentage")}function M(l){let h=0;l.compound_tax&&o.store.getSubtotalWithDiscount?h=Math.round((o.store.getSubtotalWithDiscount+o.store.getTotalSimpleTax)*l.percent/100):o.store.getSubtotalWithDiscount&&l.percent&&(h=Math.round(o.store.getSubtotalWithDiscount*l.percent/100));let c=W(N({},pe),{id:ge.raw(),name:l.name,percent:l.percent,compound_tax:l.compound_tax,tax_type_id:l.id,amount:h});o.store.$patch(g=>{g[o.storeProp].taxes.push(N({},c))})}function q(l){const h=o.store[o.storeProp].taxes.find(c=>c.id===l.id);h&&Object.assign(h,N({},l))}function k(l){const h=o.store[o.storeProp].taxes.findIndex(c=>c.id===l);o.store.$patch(c=>{c[o.storeProp].taxes.splice(h,1)})}return(l,h)=>{const c=m("BaseContentPlaceholdersText"),g=m("BaseContentPlaceholders"),T=m("BaseFormatMoney"),x=m("BaseInput"),I=m("BaseIcon"),B=m("BaseButton"),R=m("BaseDropdownItem"),A=m("BaseDropdown");return r(),p("div",io,[n("div",co,[e.isLoading?(r(),C(g,{key:0},{default:i(()=>[s(c,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("label",uo,f(l.$t("estimates.sub_total")),1)),e.isLoading?(r(),C(g,{key:2},{default:i(()=>[s(c,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("label",mo,[s(T,{amount:e.store.getSubTotal,currency:a(d)},null,8,["amount","currency"])]))]),(r(!0),p(H,null,K(a(w),D=>(r(),p("div",{key:D.tax_type_id,class:"flex items-center justify-between w-full"},[e.isLoading?(r(),C(g,{key:0},{default:i(()=>[s(c,{lines:1,class:"w-16 h-5"})]),_:1})):e.store[e.storeProp].tax_per_item==="YES"?(r(),p("label",po,f(D.name)+" - "+f(D.percent)+"% ",1)):E("",!0),e.isLoading?(r(),C(g,{key:2},{default:i(()=>[s(c,{lines:1,class:"w-16 h-5"})]),_:1})):e.store[e.storeProp].tax_per_item==="YES"?(r(),p("label",yo,[s(T,{amount:D.amount,currency:a(d)},null,8,["amount","currency"])])):E("",!0)]))),128)),e.store[e.storeProp].discount_per_item==="NO"||e.store[e.storeProp].discount_per_item===null?(r(),p("div",xo,[e.isLoading?(r(),C(g,{key:0},{default:i(()=>[s(c,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("label",fo,f(l.$t("estimates.discount")),1)),e.isLoading?(r(),C(g,{key:2},{default:i(()=>[s(c,{lines:1,class:"w-24 h-8 rounded-md border"})]),_:1})):(r(),p("div",ho,[s(x,{modelValue:a(_),"onUpdate:modelValue":h[0]||(h[0]=D=>X(_)?_.value=D:null),class:"border-r-0 focus:border-r-2 rounded-tr-sm rounded-br-sm h-[38px]"},null,8,["modelValue"]),s(A,{position:"bottom-end"},{activator:i(()=>[s(B,{class:"rounded-tr-md rounded-br-md p-2 rounded-none",type:"button",variant:"white"},{default:i(()=>[n("span",go,[V(f(e.store[e.storeProp].discount_type=="fixed"?a(d).symbol:"%")+" ",1),s(I,{name:"ChevronDownIcon",class:"w-4 h-4 text-gray-500 ml-1"})])]),_:1})]),default:i(()=>[s(R,{onClick:P},{default:i(()=>[V(f(l.$t("general.fixed")),1)]),_:1}),s(R,{onClick:S},{default:i(()=>[V(f(l.$t("general.percentage")),1)]),_:1})]),_:1})]))])):E("",!0),e.store[e.storeProp].tax_per_item==="NO"||e.store[e.storeProp].tax_per_item===null?(r(),p("div",bo,[(r(!0),p(H,null,K(a(v),(D,j)=>(r(),C(Gt,{key:D.id,index:j,tax:D,taxes:a(v),currency:e.currency,store:e.store,onRemove:k,onUpdate:q},null,8,["index","tax","taxes","currency","store"]))),128))])):E("",!0),e.store[e.storeProp].tax_per_item==="NO"||e.store[e.storeProp].tax_per_item===null?(r(),p("div",{key:2,ref:(D,j)=>{j.taxModal=D,t.value=D},class:"float-right pt-2 pb-4"},[s(lo,{"store-prop":e.storeProp,store:e.store,type:e.taxPopupType,"onSelect:taxType":M},null,8,["store-prop","store","type"])],512)):E("",!0),n("div",_o,[e.isLoading?(r(),C(g,{key:0},{default:i(()=>[s(c,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("label",vo,f(l.$t("estimates.total"))+" "+f(l.$t("estimates.amount"))+":",1)),e.isLoading?(r(),C(g,{key:2},{default:i(()=>[s(c,{lines:1,class:"w-16 h-5"})]),_:1})):(r(),p("label",$o,[s(T,{amount:e.store.getTotal,currency:a(d)},null,8,["amount","currency"])]))])])}}},wo={class:"flex text-primary-800 font-medium text-sm mb-2"},Bo=n("span",{class:"text-sm text-red-500"}," *",-1),Go={props:{store:{type:Object,default:null},storeProp:{type:String,default:""}},setup(e){const o=e,t=Z(),{t:y}=J();function _(){t.openModal({title:y("general.choose_template"),componentName:"SelectTemplate",data:{templates:o.store.templates,store:o.store,storeProp:o.storeProp}})}return(v,w)=>{const d=m("BaseIcon"),P=m("BaseButton");return r(),p("div",null,[n("label",wo,[V(f(v.$t("general.select_template"))+" ",1),Bo]),s(P,{type:"button",class:"flex justify-center w-full text-sm lg:w-auto hover:bg-gray-200",variant:"gray",onClick:_},{right:i(S=>[s(d,{name:"PencilIcon",class:Y(S.class)},null,8,["class"])]),default:i(()=>[V(" "+f(e.store[e.storeProp].template_name),1)]),_:1})])}}},Io={class:"mb-6"},Po={class:"z-20 text-sm font-semibold leading-5 text-primary-400 float-right"},So={class:"text-primary-800 font-medium mb-4 text-sm"},Xo={props:{store:{type:Object,default:null},storeProp:{type:String,default:""},fields:{type:Object,default:null},type:{type:String,default:null}},setup(e){const o=e;function t(y){o.store[o.storeProp].notes=""+y.notes}return(y,_)=>{const v=m("BaseCustomInput");return r(),p("div",Io,[n("div",Po,[s(We,{type:e.type,onSelect:t},null,8,["type"])]),n("label",So,f(y.$t("invoices.notes")),1),s(v,{modelValue:e.store[e.storeProp].notes,"onUpdate:modelValue":_[0]||(_[0]=w=>e.store[e.storeProp].notes=w),"content-loading":e.store.isFetchingInitialSettings,fields:e.fields,class:"mt-1"},null,8,["modelValue","content-loading","fields"])])}}};var ko="/build/img/tick.png";const To={class:"flex justify-between w-full"},Co={class:"px-8 py-8 sm:p-6"},Mo={key:0,class:"grid grid-cols-3 gap-2 p-1 overflow-x-auto"},Do=["src","alt","onClick"],jo=["alt"],Vo={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},Ho={setup(e){const o=Z(),t=G(""),y=$(()=>o.active&&o.componentName==="SelectTemplate"),_=$(()=>o.title);function v(){o.data.store[o.data.storeProp].template_name?t.value=o.data.store[o.data.storeProp].template_name:t.value=o.data.templates[0]}async function w(){await o.data.store.setTemplate(t.value),d()}function d(){o.closeModal(),setTimeout(()=>{o.$reset()},300)}return(P,S)=>{const M=m("BaseIcon"),q=m("BaseButton"),k=m("BaseModal");return r(),C(k,{show:a(y),onClose:d,onOpen:v},{header:i(()=>[n("div",To,[V(f(a(_))+" ",1),s(M,{name:"XIcon",class:"h-6 w-6 text-gray-500 cursor-pointer",onClick:d})])]),default:i(()=>[n("div",Co,[a(o).data?(r(),p("div",Mo,[(r(!0),p(H,null,K(a(o).data.templates,(l,h)=>(r(),p("div",{key:h,class:Y([{"border border-solid border-primary-500":t.value===l.name},"relative flex flex-col m-2 border border-gray-200 border-solid cursor-pointer hover:border-primary-300"])},[n("img",{src:l.path,alt:l.name,class:"w-full",onClick:c=>t.value=l.name},null,8,Do),t.value===l.name?(r(),p("img",{key:0,alt:l.name,class:"absolute z-10 w-5 h-5 text-primary-500",style:{top:"-6px",right:"-5px"},src:ko},null,8,jo)):E("",!0),n("span",{class:Y(["w-full p-1 bg-gray-200 text-sm text-center absolute bottom-0 left-0",{"text-primary-500 bg-primary-100":t.value===l.name,"text-gray-600":t.value!=l.name}])},f(l.name),3)],2))),128))])):E("",!0)]),n("div",Vo,[s(q,{class:"mr-3",variant:"primary-outline",onClick:d},{default:i(()=>[V(f(P.$t("general.cancel")),1)]),_:1}),s(q,{variant:"primary",onClick:S[0]||(S[0]=l=>w())},{left:i(l=>[s(M,{name:"SaveIcon",class:Y(l.class)},null,8,["class"])]),default:i(()=>[V(" "+f(P.$t("general.choose")),1)]),_:1})])]),_:1},8,["show"])}}},qo={class:"flex justify-between w-full"},Lo={class:"item-modal"},Eo=["onSubmit"],Oo={class:"px-8 py-8 sm:p-6"},No={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},Zo={emits:["newItem"],setup(e,{emit:o}){const t=Z(),y=ue(),_=Q(),v=oe();ke(),Te();const{t:w}=J(),d=G(!1),P=G(_.selectedCompanySettings.tax_per_item),S=$(()=>t.active&&t.componentName==="ItemModal"),M=$({get:()=>y.currentItem.price/100,set:x=>{y.currentItem.price=Math.round(x*100)}}),q=$({get:()=>y.currentItem.taxes.map(x=>{if(x)return W(N({},x),{tax_type_id:x.id,tax_name:x.name+" ("+x.percent+"%)"})}),set:x=>{y.$patch(I=>{I.currentItem.taxes=x})}}),k=$(()=>P.value==="YES"),l={name:{required:U.withMessage(w("validation.required"),ee),minLength:U.withMessage(w("validation.name_min_length",{count:3}),Fe(3))},description:{maxLength:U.withMessage(w("validation.description_maxlength",{count:255}),te(255))}},h=he(l,$(()=>y.currentItem)),c=$(()=>v.taxTypes.map(x=>W(N({},x),{tax_name:x.name+" ("+x.percent+"%)"})));Ae(()=>{h.value.$reset(),y.fetchItemUnits({limit:"all"})});async function g(){if(h.value.$touch(),h.value.$invalid)return!0;let x=W(N({},y.currentItem),{taxes:y.currentItem.taxes.map(B=>({tax_type_id:B.id,amount:M.value*B.percent/100,percent:B.percent,name:B.name,collective_tax:0}))});d.value=!0,await(y.isEdit?y.updateItem:y.addItem)(x).then(B=>{d.value=!1,B.data.data&&t.data&&t.refreshData(B.data.data),T()})}function T(){t.closeModal(),setTimeout(()=>{y.resetCurrentItem(),t.$reset(),h.value.$reset()},300)}return(x,I)=>{const B=m("BaseIcon"),R=m("BaseInput"),A=m("BaseInputGroup"),D=m("BaseMoney"),j=m("BaseMultiselect"),u=m("BaseTextarea"),b=m("BaseInputGrid"),L=m("BaseButton"),z=m("BaseModal");return r(),C(z,{show:a(S),onClose:T},{header:i(()=>[n("div",qo,[V(f(a(t).title)+" ",1),s(B,{name:"XIcon",class:"h-6 w-6 text-gray-500 cursor-pointer",onClick:T})])]),default:i(()=>[n("div",Lo,[n("form",{action:"",onSubmit:ze(g,["prevent"])},[n("div",Oo,[s(b,{layout:"one-column"},{default:i(()=>[s(A,{label:x.$t("items.name"),required:"",error:a(h).name.$error&&a(h).name.$errors[0].$message},{default:i(()=>[s(R,{modelValue:a(y).currentItem.name,"onUpdate:modelValue":I[0]||(I[0]=O=>a(y).currentItem.name=O),type:"text",invalid:a(h).name.$error,onInput:I[1]||(I[1]=O=>a(h).name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),s(A,{label:x.$t("items.price")},{default:i(()=>[s(D,{key:a(_).selectedCompanyCurrency,modelValue:a(M),"onUpdate:modelValue":I[2]||(I[2]=O=>X(M)?M.value=O:null),currency:a(_).selectedCompanyCurrency,class:"relative w-full focus:border focus:border-solid focus:border-primary"},null,8,["modelValue","currency"])]),_:1},8,["label"]),s(A,{label:x.$t("items.unit")},{default:i(()=>[s(j,{modelValue:a(y).currentItem.unit_id,"onUpdate:modelValue":I[3]||(I[3]=O=>a(y).currentItem.unit_id=O),label:"name",options:a(y).itemUnits,"value-prop":"id","can-deselect":!1,"can-clear":!1,placeholder:x.$t("items.select_a_unit"),searchable:"","track-by":"id"},null,8,["modelValue","options","placeholder"])]),_:1},8,["label"]),a(k)?(r(),C(A,{key:0,label:x.$t("items.taxes")},{default:i(()=>[s(j,{modelValue:a(q),"onUpdate:modelValue":I[4]||(I[4]=O=>X(q)?q.value=O:null),options:a(c),label:"name","value-prop":"id",class:"w-full","can-deselect":!1,"can-clear":!1,searchable:"","track-by":"id",object:""},null,8,["modelValue","options"])]),_:1},8,["label"])):E("",!0),s(A,{label:x.$t("items.description"),error:a(h).description.$error&&a(h).description.$errors[0].$message},{default:i(()=>[s(u,{modelValue:a(y).currentItem.description,"onUpdate:modelValue":I[5]||(I[5]=O=>a(y).currentItem.description=O),rows:"4",cols:"50",invalid:a(h).description.$error,onInput:I[6]||(I[6]=O=>a(h).description.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),_:1})]),n("div",No,[s(L,{class:"mr-3",variant:"primary-outline",type:"button",onClick:T},{default:i(()=>[V(f(x.$t("general.cancel")),1)]),_:1}),s(L,{loading:d.value,disabled:d.value,variant:"primary",type:"submit"},{left:i(O=>[s(B,{name:"SaveIcon",class:Y(O.class)},null,8,["class"])]),default:i(()=>[V(" "+f(a(y).isEdit?x.$t("general.update"):x.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,Eo)])]),_:1},8,["show"])}}};export{Ho as _,Zo as a,Yo as b,Xo as c,Go as d,Ro as e}; diff --git a/public/build/assets/ItemUnitModal.acaecec7.js b/public/build/assets/ItemUnitModal.cb16f673.js similarity index 77% rename from public/build/assets/ItemUnitModal.acaecec7.js rename to public/build/assets/ItemUnitModal.cb16f673.js index b7432d580..386087fbc 100644 --- a/public/build/assets/ItemUnitModal.acaecec7.js +++ b/public/build/assets/ItemUnitModal.cb16f673.js @@ -1 +1 @@ -import{g as S,i as V,k as g,m as h,n as C,p as k,q as x,r as i,o as b,s as B,w as r,t as d,v as p,x as v,y as e,b as l,z as q,A as z,B as N}from"./vendor.e9042f2c.js";import{p as j,g as D}from"./main.c4ed6aa9.js";const E={class:"flex justify-between w-full"},G=["onSubmit"],L={class:"p-8 sm:p-6"},T={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid border-modal-bg"},H={setup(A){const t=j(),a=D(),{t:f}=S();let o=V(!1);const $=g(()=>({name:{required:h.withMessage(f("validation.required"),C),minLength:h.withMessage(f("validation.name_min_length",{count:3}),k(3))}})),n=x($,g(()=>t.currentItemUnit));async function y(){if(n.value.$touch(),n.value.$invalid)return!0;try{const s=t.isItemUnitEdit?t.updateItemUnit:t.addItemUnit;o.value=!0,await s(t.currentItemUnit),a.refreshData&&a.refreshData(),u(),o.value=!1}catch{return o.value=!1,!0}}function u(){a.closeModal(),setTimeout(()=>{t.currentItemUnit={id:null,name:""},a.$reset(),n.value.$reset()},300)}return(s,m)=>{const _=i("BaseIcon"),U=i("BaseInput"),w=i("BaseInputGroup"),I=i("BaseButton"),M=i("BaseModal");return b(),B(M,{show:e(a).active&&e(a).componentName==="ItemUnitModal",onClose:u},{header:r(()=>[d("div",E,[p(v(e(a).title)+" ",1),l(_,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:u})])]),default:r(()=>[d("form",{action:"",onSubmit:N(y,["prevent"])},[d("div",L,[l(w,{label:s.$t("settings.customization.items.unit_name"),error:e(n).name.$error&&e(n).name.$errors[0].$message,variant:"horizontal",required:""},{default:r(()=>[l(U,{modelValue:e(t).currentItemUnit.name,"onUpdate:modelValue":m[0]||(m[0]=c=>e(t).currentItemUnit.name=c),invalid:e(n).name.$error,type:"text",onInput:m[1]||(m[1]=c=>e(n).name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),d("div",T,[l(I,{type:"button",variant:"primary-outline",class:"mr-3 text-sm",onClick:u},{default:r(()=>[p(v(s.$t("general.cancel")),1)]),_:1}),l(I,{loading:e(o),disabled:e(o),variant:"primary",type:"submit"},{left:r(c=>[e(o)?z("",!0):(b(),B(_,{key:0,name:"SaveIcon",class:q(c.class)},null,8,["class"]))]),default:r(()=>[p(" "+v(e(t).isItemUnitEdit?s.$t("general.update"):s.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,G)]),_:1},8,["show"])}}};export{H as _}; +import{g as S,i as V,k as g,m as h,n as C,p as k,q as x,r as i,o as b,s as B,w as r,t as d,v as p,x as f,y as e,b as l,z as q,A as z,B as N}from"./vendor.e9042f2c.js";import{p as j,g as D}from"./main.f55cd568.js";const E={class:"flex justify-between w-full"},G=["onSubmit"],L={class:"p-8 sm:p-6"},T={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid border-modal-bg"},H={setup(A){const t=j(),a=D(),{t:v}=S();let o=V(!1);const $=g(()=>({name:{required:h.withMessage(v("validation.required"),C),minLength:h.withMessage(v("validation.name_min_length",{count:3}),k(3))}})),n=x($,g(()=>t.currentItemUnit));async function y(){if(n.value.$touch(),n.value.$invalid)return!0;try{const s=t.isItemUnitEdit?t.updateItemUnit:t.addItemUnit;o.value=!0,await s(t.currentItemUnit),a.refreshData&&a.refreshData(),u(),o.value=!1}catch{return o.value=!1,!0}}function u(){a.closeModal(),setTimeout(()=>{t.currentItemUnit={id:null,name:""},a.$reset(),n.value.$reset()},300)}return(s,m)=>{const _=i("BaseIcon"),U=i("BaseInput"),w=i("BaseInputGroup"),I=i("BaseButton"),M=i("BaseModal");return b(),B(M,{show:e(a).active&&e(a).componentName==="ItemUnitModal",onClose:u},{header:r(()=>[d("div",E,[p(f(e(a).title)+" ",1),l(_,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:u})])]),default:r(()=>[d("form",{action:"",onSubmit:N(y,["prevent"])},[d("div",L,[l(w,{label:s.$t("settings.customization.items.unit_name"),error:e(n).name.$error&&e(n).name.$errors[0].$message,variant:"horizontal",required:""},{default:r(()=>[l(U,{modelValue:e(t).currentItemUnit.name,"onUpdate:modelValue":m[0]||(m[0]=c=>e(t).currentItemUnit.name=c),invalid:e(n).name.$error,type:"text",onInput:m[1]||(m[1]=c=>e(n).name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),d("div",T,[l(I,{type:"button",variant:"primary-outline",class:"mr-3 text-sm",onClick:u},{default:r(()=>[p(f(s.$t("general.cancel")),1)]),_:1}),l(I,{loading:e(o),disabled:e(o),variant:"primary",type:"submit"},{left:r(c=>[e(o)?z("",!0):(b(),B(_,{key:0,name:"SaveIcon",class:q(c.class)},null,8,["class"]))]),default:r(()=>[p(" "+f(e(t).isItemUnitEdit?s.$t("general.update"):s.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,G)]),_:1},8,["show"])}}};export{H as _}; diff --git a/public/build/assets/LayoutInstallation.1e0eeaed.js b/public/build/assets/LayoutInstallation.1e0eeaed.js new file mode 100644 index 000000000..94224fbff --- /dev/null +++ b/public/build/assets/LayoutInstallation.1e0eeaed.js @@ -0,0 +1 @@ +import{N as t}from"./main.f55cd568.js";import{r as s,o as r,c,b as e,t as a}from"./vendor.e9042f2c.js";const n={class:"h-screen h-screen-ios overflow-y-auto text-base"},i={class:"container mx-auto px-4"},l={setup(_){return(m,p)=>{const o=s("router-view");return r(),c("div",n,[e(t),a("div",i,[e(o)])])}}};export{l as default}; diff --git a/public/build/assets/LayoutInstallation.89785dab.js b/public/build/assets/LayoutInstallation.89785dab.js deleted file mode 100644 index 50644b700..000000000 --- a/public/build/assets/LayoutInstallation.89785dab.js +++ /dev/null @@ -1 +0,0 @@ -import{N as t}from"./main.c4ed6aa9.js";import{r as s,o as a,c as r,b as e,t as c}from"./vendor.e9042f2c.js";const n={class:"h-screen h-screen-ios overflow-y-auto text-base"},i={class:"container mx-auto px-4"},u={setup(_){return(m,p)=>{const o=s("router-view");return a(),r("div",n,[e(t),c("div",i,[e(o)])])}}};export{u as default}; diff --git a/public/build/assets/LineChart.1e4f5d60.js b/public/build/assets/LineChart.b8a2f8c7.js similarity index 99% rename from public/build/assets/LineChart.1e4f5d60.js rename to public/build/assets/LineChart.b8a2f8c7.js index 85c01cfb0..89b7ae8d9 100644 --- a/public/build/assets/LineChart.1e4f5d60.js +++ b/public/build/assets/LineChart.b8a2f8c7.js @@ -1,4 +1,4 @@ -import{aR as Zi,am as Ji,i as Qi,k as eo,ac as to,M as ro,j as ea,o as ao,c as no,t as io}from"./vendor.e9042f2c.js";import{c as oo}from"./main.c4ed6aa9.js";var ta={exports:{}};/*! +import{aR as Zi,am as Ji,i as Qi,k as eo,ac as to,M as ro,j as ea,o as ao,c as no,t as io}from"./vendor.e9042f2c.js";import{c as oo}from"./main.f55cd568.js";var ta={exports:{}};/*! * Chart.js v2.9.4 * https://www.chartjs.org * (c) 2020 Chart.js Contributors diff --git a/public/build/assets/LoadingIcon.562f15c9.js b/public/build/assets/LoadingIcon.edb4fe20.js similarity index 88% rename from public/build/assets/LoadingIcon.562f15c9.js rename to public/build/assets/LoadingIcon.edb4fe20.js index 0899b1d54..4739005d3 100644 --- a/public/build/assets/LoadingIcon.562f15c9.js +++ b/public/build/assets/LoadingIcon.edb4fe20.js @@ -1 +1 @@ -import{_ as c}from"./main.c4ed6aa9.js";import{o as e,c as t,t as o}from"./vendor.e9042f2c.js";const s={},r={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},n=o("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),a=o("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1),l=[n,a];function i(_,d){return e(),t("svg",r,l)}var m=c(s,[["render",i]]);export{m as L}; +import{_ as c}from"./main.f55cd568.js";import{o as e,c as t,t as o}from"./vendor.e9042f2c.js";const s={},r={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},n=o("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),a=o("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1),l=[n,a];function i(_,d){return e(),t("svg",r,l)}var m=c(s,[["render",i]]);export{m as L}; diff --git a/public/build/assets/Login.894ac75c.js b/public/build/assets/Login.fb8df271.js similarity index 97% rename from public/build/assets/Login.894ac75c.js rename to public/build/assets/Login.fb8df271.js index 8015b12d5..c6f6d6fbc 100644 --- a/public/build/assets/Login.894ac75c.js +++ b/public/build/assets/Login.fb8df271.js @@ -1 +1 @@ -import{g as N,C as M,i as w,m as p,n as $,a2 as E,q as j,k as y,r as l,o as c,c as G,b as n,w as u,y as e,s as B,a0 as _,t as b,v as h,x as I,B as L,a as R}from"./vendor.e9042f2c.js";import{u as T,a as U}from"./main.c4ed6aa9.js";const A=["onSubmit"],F={class:"mt-5 mb-8"},O={class:"mb-4"},J={setup(P){const k=T(),s=U(),{t:m}=N(),V=M(),d=w(!1);let o=w(!1);const x={email:{required:p.withMessage(m("validation.required"),$),email:p.withMessage(m("validation.email_incorrect"),E)},password:{required:p.withMessage(m("validation.required"),$)}},t=j(x,y(()=>s.loginData)),S=y(()=>o.value?"text":"password");async function q(){if(R.defaults.withCredentials=!0,t.value.$touch(),t.value.$invalid)return!0;d.value=!0;try{d.value=!0,await s.login(s.loginData),V.push("/admin/dashboard"),k.showNotification({type:"success",message:"Logged in successfully."})}catch{d.value=!1}}return(i,a)=>{const g=l("BaseInput"),f=l("BaseInputGroup"),v=l("BaseIcon"),D=l("router-link"),C=l("BaseButton");return c(),G("form",{id:"loginForm",class:"mt-12 text-left",onSubmit:L(q,["prevent"])},[n(f,{error:e(t).email.$error&&e(t).email.$errors[0].$message,label:i.$t("login.email"),class:"mb-4",required:""},{default:u(()=>[n(g,{modelValue:e(s).loginData.email,"onUpdate:modelValue":a[0]||(a[0]=r=>e(s).loginData.email=r),invalid:e(t).email.$error,focus:"",type:"email",name:"email",onInput:a[1]||(a[1]=r=>e(t).email.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["error","label"]),n(f,{error:e(t).password.$error&&e(t).password.$errors[0].$message,label:i.$t("login.password"),class:"mb-4",required:""},{default:u(()=>[n(g,{modelValue:e(s).loginData.password,"onUpdate:modelValue":a[4]||(a[4]=r=>e(s).loginData.password=r),invalid:e(t).password.$error,type:e(S),name:"password",onInput:a[5]||(a[5]=r=>e(t).password.$touch())},{right:u(()=>[e(o)?(c(),B(v,{key:0,name:"EyeOffIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:a[2]||(a[2]=r=>_(o)?o.value=!e(o):o=!e(o))})):(c(),B(v,{key:1,name:"EyeIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:a[3]||(a[3]=r=>_(o)?o.value=!e(o):o=!e(o))}))]),_:1},8,["modelValue","invalid","type"])]),_:1},8,["error","label"]),b("div",F,[b("div",O,[n(D,{to:"forgot-password",class:"text-sm text-primary-400 hover:text-gray-700"},{default:u(()=>[h(I(i.$t("login.forgot_password")),1)]),_:1})])]),n(C,{loading:d.value,type:"submit"},{default:u(()=>[h(I(i.$t("login.login")),1)]),_:1},8,["loading"])],40,A)}}};export{J as default}; +import{g as N,C as M,i as w,m as p,n as $,a2 as E,q as j,k as y,r as l,o as c,c as G,b as n,w as u,y as e,s as B,a0 as _,t as b,v as h,x as I,B as L,a as R}from"./vendor.e9042f2c.js";import{u as T,a as U}from"./main.f55cd568.js";const A=["onSubmit"],F={class:"mt-5 mb-8"},O={class:"mb-4"},J={setup(P){const k=T(),s=U(),{t:m}=N(),V=M(),d=w(!1);let o=w(!1);const x={email:{required:p.withMessage(m("validation.required"),$),email:p.withMessage(m("validation.email_incorrect"),E)},password:{required:p.withMessage(m("validation.required"),$)}},t=j(x,y(()=>s.loginData)),S=y(()=>o.value?"text":"password");async function q(){if(R.defaults.withCredentials=!0,t.value.$touch(),t.value.$invalid)return!0;d.value=!0;try{d.value=!0,await s.login(s.loginData),V.push("/admin/dashboard"),k.showNotification({type:"success",message:"Logged in successfully."})}catch{d.value=!1}}return(i,a)=>{const g=l("BaseInput"),f=l("BaseInputGroup"),v=l("BaseIcon"),D=l("router-link"),C=l("BaseButton");return c(),G("form",{id:"loginForm",class:"mt-12 text-left",onSubmit:L(q,["prevent"])},[n(f,{error:e(t).email.$error&&e(t).email.$errors[0].$message,label:i.$t("login.email"),class:"mb-4",required:""},{default:u(()=>[n(g,{modelValue:e(s).loginData.email,"onUpdate:modelValue":a[0]||(a[0]=r=>e(s).loginData.email=r),invalid:e(t).email.$error,focus:"",type:"email",name:"email",onInput:a[1]||(a[1]=r=>e(t).email.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["error","label"]),n(f,{error:e(t).password.$error&&e(t).password.$errors[0].$message,label:i.$t("login.password"),class:"mb-4",required:""},{default:u(()=>[n(g,{modelValue:e(s).loginData.password,"onUpdate:modelValue":a[4]||(a[4]=r=>e(s).loginData.password=r),invalid:e(t).password.$error,type:e(S),name:"password",onInput:a[5]||(a[5]=r=>e(t).password.$touch())},{right:u(()=>[e(o)?(c(),B(v,{key:0,name:"EyeOffIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:a[2]||(a[2]=r=>_(o)?o.value=!e(o):o=!e(o))})):(c(),B(v,{key:1,name:"EyeIcon",class:"w-5 h-5 mr-1 text-gray-500 cursor-pointer",onClick:a[3]||(a[3]=r=>_(o)?o.value=!e(o):o=!e(o))}))]),_:1},8,["modelValue","invalid","type"])]),_:1},8,["error","label"]),b("div",F,[b("div",O,[n(D,{to:"forgot-password",class:"text-sm text-primary-400 hover:text-gray-700"},{default:u(()=>[h(I(i.$t("login.forgot_password")),1)]),_:1})])]),n(C,{loading:d.value,type:"submit"},{default:u(()=>[h(I(i.$t("login.login")),1)]),_:1},8,["loading"])],40,A)}}};export{J as default}; diff --git a/public/build/assets/MailConfigSetting.47dc8eee.js b/public/build/assets/MailConfigSetting.64d36b41.js similarity index 99% rename from public/build/assets/MailConfigSetting.47dc8eee.js rename to public/build/assets/MailConfigSetting.64d36b41.js index bee301811..e04811d80 100644 --- a/public/build/assets/MailConfigSetting.47dc8eee.js +++ b/public/build/assets/MailConfigSetting.64d36b41.js @@ -1 +1 @@ -import{g as j,i as G,j as W,k as B,m as f,n as C,aV as X,a2 as x,q as P,M as L,r as c,o as q,c as O,b as l,w as s,y as e,s as V,a0 as T,t as F,z,A as E,v as S,x as k,W as R,B as N,a4 as H,an as Z,F as ee}from"./vendor.e9042f2c.js";import{v as A,g as J}from"./main.c4ed6aa9.js";const ie=["onSubmit"],ne={class:"flex my-10"},K={props:{configData:{type:Object,require:!0,default:Object},isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1},mailDrivers:{type:Array,require:!0,default:Array}},emits:["submit-data","on-change-driver"],setup(a,{emit:D}){const $=a,i=A(),{t:u}=j();let m=G(!1);const y=W(["tls","ssl","starttls"]),w=B(()=>m.value?"text":"password"),t=B(()=>({smtpConfig:{mail_driver:{required:f.withMessage(u("validation.required"),C)},mail_host:{required:f.withMessage(u("validation.required"),C)},mail_port:{required:f.withMessage(u("validation.required"),C),numeric:f.withMessage(u("validation.numbers_only"),X)},mail_encryption:{required:f.withMessage(u("validation.required"),C)},from_mail:{required:f.withMessage(u("validation.required"),C),email:f.withMessage(u("validation.email_incorrect"),x)},from_name:{required:f.withMessage(u("validation.required"),C)}}})),d=P(t,B(()=>i));L(()=>{for(const o in i.smtpConfig)$.configData.hasOwnProperty(o)&&(i.smtpConfig[o]=$.configData[o])});async function I(){return d.value.smtpConfig.$touch(),d.value.smtpConfig.$invalid||D("submit-data",i.smtpConfig),!1}function g(){d.value.smtpConfig.mail_driver.$touch(),D("on-change-driver",i.smtpConfig.mail_driver)}return(o,n)=>{const M=c("BaseMultiselect"),v=c("BaseInputGroup"),b=c("BaseInput"),_=c("BaseIcon"),U=c("BaseInputGrid"),p=c("BaseButton");return q(),O("form",{onSubmit:N(I,["prevent"])},[l(U,null,{default:s(()=>[l(v,{label:o.$t("settings.mail.driver"),"content-loading":a.isFetchingInitialData,error:e(d).smtpConfig.mail_driver.$error&&e(d).smtpConfig.mail_driver.$errors[0].$message,required:""},{default:s(()=>[l(M,{modelValue:e(i).smtpConfig.mail_driver,"onUpdate:modelValue":[n[0]||(n[0]=r=>e(i).smtpConfig.mail_driver=r),g],"content-loading":a.isFetchingInitialData,options:a.mailDrivers,"can-deselect":!1,invalid:e(d).smtpConfig.mail_driver.$error},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.host"),"content-loading":a.isFetchingInitialData,error:e(d).smtpConfig.mail_host.$error&&e(d).smtpConfig.mail_host.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).smtpConfig.mail_host,"onUpdate:modelValue":n[1]||(n[1]=r=>e(i).smtpConfig.mail_host=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"mail_host",invalid:e(d).smtpConfig.mail_host.$error,onInput:n[2]||(n[2]=r=>e(d).smtpConfig.mail_host.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{"content-loading":a.isFetchingInitialData,label:o.$t("settings.mail.username")},{default:s(()=>[l(b,{modelValue:e(i).smtpConfig.mail_username,"onUpdate:modelValue":n[3]||(n[3]=r=>e(i).smtpConfig.mail_username=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"db_name"},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label"]),l(v,{"content-loading":a.isFetchingInitialData,label:o.$t("settings.mail.password")},{default:s(()=>[l(b,{modelValue:e(i).smtpConfig.mail_password,"onUpdate:modelValue":n[6]||(n[6]=r=>e(i).smtpConfig.mail_password=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:e(w),name:"password"},{right:s(()=>[e(m)?(q(),V(_,{key:0,class:"mr-1 text-gray-500 cursor-pointer",name:"EyeOffIcon",onClick:n[4]||(n[4]=r=>T(m)?m.value=!e(m):m=!e(m))})):(q(),V(_,{key:1,class:"mr-1 text-gray-500 cursor-pointer",name:"EyeIcon",onClick:n[5]||(n[5]=r=>T(m)?m.value=!e(m):m=!e(m))}))]),_:1},8,["modelValue","content-loading","type"])]),_:1},8,["content-loading","label"]),l(v,{label:o.$t("settings.mail.port"),"content-loading":a.isFetchingInitialData,error:e(d).smtpConfig.mail_port.$error&&e(d).smtpConfig.mail_port.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).smtpConfig.mail_port,"onUpdate:modelValue":n[7]||(n[7]=r=>e(i).smtpConfig.mail_port=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"mail_port",invalid:e(d).smtpConfig.mail_port.$error,onInput:n[8]||(n[8]=r=>e(d).smtpConfig.mail_port.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.encryption"),"content-loading":a.isFetchingInitialData,error:e(d).smtpConfig.mail_encryption.$error&&e(d).smtpConfig.mail_encryption.$errors[0].$message,required:""},{default:s(()=>[l(M,{modelValue:e(i).smtpConfig.mail_encryption,"onUpdate:modelValue":n[9]||(n[9]=r=>e(i).smtpConfig.mail_encryption=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,options:e(y),searchable:!0,"show-labels":!1,placeholder:"Select option",invalid:e(d).smtpConfig.mail_encryption.$error,onInput:n[10]||(n[10]=r=>e(d).smtpConfig.mail_encryption.$touch())},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.from_mail"),"content-loading":a.isFetchingInitialData,error:e(d).smtpConfig.from_mail.$error&&e(d).smtpConfig.from_mail.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).smtpConfig.from_mail,"onUpdate:modelValue":n[11]||(n[11]=r=>e(i).smtpConfig.from_mail=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"from_mail",invalid:e(d).smtpConfig.from_mail.$error,onInput:n[12]||(n[12]=r=>e(d).smtpConfig.from_mail.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.from_name"),"content-loading":a.isFetchingInitialData,error:e(d).smtpConfig.from_name.$error&&e(d).smtpConfig.from_name.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).smtpConfig.from_name,"onUpdate:modelValue":n[13]||(n[13]=r=>e(i).smtpConfig.from_name=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"from_name",invalid:e(d).smtpConfig.from_name.$error,onInput:n[14]||(n[14]=r=>e(d).smtpConfig.from_name.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"])]),_:1}),F("div",ne,[l(p,{disabled:a.isSaving,"content-loading":a.isFetchingInitialData,loading:a.isSaving,type:"submit",variant:"primary"},{left:s(r=>[a.isSaving?E("",!0):(q(),V(_,{key:0,name:"SaveIcon",class:z(r.class)},null,8,["class"]))]),default:s(()=>[S(" "+k(o.$t("general.save")),1)]),_:1},8,["disabled","content-loading","loading"]),R(o.$slots,"default")])],40,ie)}}},te=["onSubmit"],ae={class:"flex my-10"},oe={props:{configData:{type:Object,require:!0,default:Object},isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1},mailDrivers:{type:Array,require:!0,default:Array}},emits:["submit-data","on-change-driver"],setup(a,{emit:D}){const $=a,i=A(),{t:u}=j();let m=G(!1);const y=B(()=>m.value?"text":"password"),w=B(()=>({mailgunConfig:{mail_driver:{required:f.withMessage(u("validation.required"),C)},mail_mailgun_domain:{required:f.withMessage(u("validation.required"),C)},mail_mailgun_endpoint:{required:f.withMessage(u("validation.required"),C)},mail_mailgun_secret:{required:f.withMessage(u("validation.required"),C)},from_mail:{required:f.withMessage(u("validation.required"),C),email:x},from_name:{required:f.withMessage(u("validation.required"),C)}}})),t=P(w,B(()=>i));L(()=>{for(const g in i.mailgunConfig)$.configData.hasOwnProperty(g)&&(i.mailgunConfig[g]=$.configData[g])});async function d(){return t.value.mailgunConfig.$touch(),t.value.mailgunConfig.$invalid||D("submit-data",i.mailgunConfig),!1}function I(){t.value.mailgunConfig.mail_driver.$touch(),D("on-change-driver",i.mailgunConfig.mail_driver)}return(g,o)=>{const n=c("BaseMultiselect"),M=c("BaseInputGroup"),v=c("BaseInput"),b=c("BaseIcon"),_=c("BaseInputGrid"),U=c("BaseButton");return q(),O("form",{onSubmit:N(d,["prevent"])},[l(_,null,{default:s(()=>[l(M,{label:g.$t("settings.mail.driver"),"content-loading":a.isFetchingInitialData,error:e(t).mailgunConfig.mail_driver.$error&&e(t).mailgunConfig.mail_driver.$errors[0].$message,required:""},{default:s(()=>[l(n,{modelValue:e(i).mailgunConfig.mail_driver,"onUpdate:modelValue":[o[0]||(o[0]=p=>e(i).mailgunConfig.mail_driver=p),I],"content-loading":a.isFetchingInitialData,options:a.mailDrivers,"can-deselect":!1,invalid:e(t).mailgunConfig.mail_driver.$error},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),l(M,{label:g.$t("settings.mail.mailgun_domain"),"content-loading":a.isFetchingInitialData,error:e(t).mailgunConfig.mail_mailgun_domain.$error&&e(t).mailgunConfig.mail_mailgun_domain.$errors[0].$message,required:""},{default:s(()=>[l(v,{modelValue:e(i).mailgunConfig.mail_mailgun_domain,"onUpdate:modelValue":o[1]||(o[1]=p=>e(i).mailgunConfig.mail_mailgun_domain=p),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"mailgun_domain",invalid:e(t).mailgunConfig.mail_mailgun_domain.$error,onInput:o[2]||(o[2]=p=>e(t).mailgunConfig.mail_mailgun_domain.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(M,{label:g.$t("settings.mail.mailgun_secret"),"content-loading":a.isFetchingInitialData,error:e(t).mailgunConfig.mail_mailgun_secret.$error&&e(t).mailgunConfig.mail_mailgun_secret.$errors[0].$message,required:""},{default:s(()=>[l(v,{modelValue:e(i).mailgunConfig.mail_mailgun_secret,"onUpdate:modelValue":o[5]||(o[5]=p=>e(i).mailgunConfig.mail_mailgun_secret=p),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:e(y),name:"mailgun_secret",autocomplete:"off",invalid:e(t).mailgunConfig.mail_mailgun_secret.$error,onInput:o[6]||(o[6]=p=>e(t).mailgunConfig.mail_mailgun_secret.$touch())},{right:s(()=>[e(m)?(q(),V(b,{key:0,class:"mr-1 text-gray-500 cursor-pointer",name:"EyeOffIcon",onClick:o[3]||(o[3]=p=>T(m)?m.value=!e(m):m=!e(m))})):(q(),V(b,{key:1,class:"mr-1 text-gray-500 cursor-pointer",name:"EyeIcon",onClick:o[4]||(o[4]=p=>T(m)?m.value=!e(m):m=!e(m))}))]),_:1},8,["modelValue","content-loading","type","invalid"])]),_:1},8,["label","content-loading","error"]),l(M,{label:g.$t("settings.mail.mailgun_endpoint"),"content-loading":a.isFetchingInitialData,error:e(t).mailgunConfig.mail_mailgun_endpoint.$error&&e(t).mailgunConfig.mail_mailgun_endpoint.$errors[0].$message,required:""},{default:s(()=>[l(v,{modelValue:e(i).mailgunConfig.mail_mailgun_endpoint,"onUpdate:modelValue":o[7]||(o[7]=p=>e(i).mailgunConfig.mail_mailgun_endpoint=p),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"mailgun_endpoint",invalid:e(t).mailgunConfig.mail_mailgun_endpoint.$error,onInput:o[8]||(o[8]=p=>e(t).mailgunConfig.mail_mailgun_endpoint.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(M,{label:g.$t("settings.mail.from_mail"),"content-loading":a.isFetchingInitialData,error:e(t).mailgunConfig.from_mail.$error&&e(t).mailgunConfig.from_mail.$errors[0].$message,required:""},{default:s(()=>[l(v,{modelValue:e(i).mailgunConfig.from_mail,"onUpdate:modelValue":o[9]||(o[9]=p=>e(i).mailgunConfig.from_mail=p),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"from_mail",invalid:e(t).mailgunConfig.from_mail.$error,onInput:o[10]||(o[10]=p=>e(t).mailgunConfig.from_mail.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(M,{label:g.$t("settings.mail.from_name"),"content-loading":a.isFetchingInitialData,error:e(t).mailgunConfig.from_name.$error&&e(t).mailgunConfig.from_name.$errors[0].$message,required:""},{default:s(()=>[l(v,{modelValue:e(i).mailgunConfig.from_name,"onUpdate:modelValue":o[11]||(o[11]=p=>e(i).mailgunConfig.from_name=p),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"from_name",invalid:e(t).mailgunConfig.from_name.$error,onInput:o[12]||(o[12]=p=>e(t).mailgunConfig.from_name.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"])]),_:1}),F("div",ae,[l(U,{disabled:a.isSaving,"content-loading":a.isFetchingInitialData,loading:a.isSaving,variant:"primary",type:"submit"},{left:s(p=>[a.isSaving?E("",!0):(q(),V(b,{key:0,name:"SaveIcon",class:z(p.class)},null,8,["class"]))]),default:s(()=>[S(" "+k(g.$t("general.save")),1)]),_:1},8,["disabled","content-loading","loading"]),R(g.$slots,"default")])],40,te)}}},le=["onSubmit"],re={class:"flex my-10"},se={props:{configData:{type:Object,require:!0,default:Object},isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1},mailDrivers:{type:Array,require:!0,default:Array}},emits:["submit-data","on-change-driver"],setup(a,{emit:D}){const $=a,i=A(),{t:u}=j();let m=G(!1);const y=W(["tls","ssl","starttls"]),w=B(()=>({sesConfig:{mail_driver:{required:f.withMessage(u("validation.required"),C)},mail_host:{required:f.withMessage(u("validation.required"),C)},mail_port:{required:f.withMessage(u("validation.required"),C),numeric:X},mail_ses_key:{required:f.withMessage(u("validation.required"),C)},mail_ses_secret:{required:f.withMessage(u("validation.required"),C)},mail_encryption:{required:f.withMessage(u("validation.required"),C)},from_mail:{required:f.withMessage(u("validation.required"),C),email:f.withMessage(u("validation.email_incorrect"),x)},from_name:{required:f.withMessage(u("validation.required"),C)}}})),t=P(w,B(()=>i)),d=B(()=>m.value?"text":"password");L(()=>{for(const o in i.sesConfig)$.configData.hasOwnProperty(o)&&(i.sesConfig[o]=$.configData[o])});async function I(){return t.value.sesConfig.$touch(),t.value.sesConfig.$invalid||D("submit-data",i.sesConfig),!1}function g(){t.value.sesConfig.mail_driver.$touch(),D("on-change-driver",i.sesConfig.mail_driver)}return(o,n)=>{const M=c("BaseMultiselect"),v=c("BaseInputGroup"),b=c("BaseInput"),_=c("BaseIcon"),U=c("BaseInputGrid"),p=c("BaseButton");return q(),O("form",{onSubmit:N(I,["prevent"])},[l(U,null,{default:s(()=>[l(v,{label:o.$t("settings.mail.driver"),"content-loading":a.isFetchingInitialData,error:e(t).sesConfig.mail_driver.$error&&e(t).sesConfig.mail_driver.$errors[0].$message,required:""},{default:s(()=>[l(M,{modelValue:e(i).sesConfig.mail_driver,"onUpdate:modelValue":[n[0]||(n[0]=r=>e(i).sesConfig.mail_driver=r),g],"content-loading":a.isFetchingInitialData,options:a.mailDrivers,"can-deselect":!1,invalid:e(t).sesConfig.mail_driver.$error},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.host"),"content-loading":a.isFetchingInitialData,error:e(t).sesConfig.mail_host.$error&&e(t).sesConfig.mail_host.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).sesConfig.mail_host,"onUpdate:modelValue":n[1]||(n[1]=r=>e(i).sesConfig.mail_host=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"mail_host",invalid:e(t).sesConfig.mail_host.$error,onInput:n[2]||(n[2]=r=>e(t).sesConfig.mail_host.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.port"),"content-loading":a.isFetchingInitialData,error:e(t).sesConfig.mail_port.$error&&e(t).sesConfig.mail_port.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).sesConfig.mail_port,"onUpdate:modelValue":n[3]||(n[3]=r=>e(i).sesConfig.mail_port=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"mail_port",invalid:e(t).sesConfig.mail_port.$error,onInput:n[4]||(n[4]=r=>e(t).sesConfig.mail_port.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.encryption"),"content-loading":a.isFetchingInitialData,error:e(t).sesConfig.mail_encryption.$error&&e(t).sesConfig.mail_encryption.$errors[0].$message,required:""},{default:s(()=>[l(M,{modelValue:e(i).sesConfig.mail_encryption,"onUpdate:modelValue":n[5]||(n[5]=r=>e(i).sesConfig.mail_encryption=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,options:e(y),invalid:e(t).sesConfig.mail_encryption.$error,placeholder:"Select option",onInput:n[6]||(n[6]=r=>e(t).sesConfig.mail_encryption.$touch())},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.from_mail"),"content-loading":a.isFetchingInitialData,error:e(t).sesConfig.from_mail.$error&&e(t).sesConfig.from_mail.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).sesConfig.from_mail,"onUpdate:modelValue":n[7]||(n[7]=r=>e(i).sesConfig.from_mail=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"from_mail",invalid:e(t).sesConfig.from_mail.$error,onInput:n[8]||(n[8]=r=>e(t).sesConfig.from_mail.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.from_name"),"content-loading":a.isFetchingInitialData,error:e(t).sesConfig.from_name.$error&&e(t).sesConfig.from_name.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).sesConfig.from_name,"onUpdate:modelValue":n[9]||(n[9]=r=>e(i).sesConfig.from_name=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"name",invalid:e(t).sesConfig.from_name.$error,onInput:n[10]||(n[10]=r=>e(t).sesConfig.from_name.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.ses_key"),"content-loading":a.isFetchingInitialData,error:e(t).sesConfig.mail_ses_key.$error&&e(t).sesConfig.mail_ses_key.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).sesConfig.mail_ses_key,"onUpdate:modelValue":n[11]||(n[11]=r=>e(i).sesConfig.mail_ses_key=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"mail_ses_key",invalid:e(t).sesConfig.mail_ses_key.$error,onInput:n[12]||(n[12]=r=>e(t).sesConfig.mail_ses_key.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.ses_secret"),"content-loading":a.isFetchingInitialData,error:e(t).sesConfig.mail_ses_secret.$error&&e(t).mail_ses_secret.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).sesConfig.mail_ses_secret,"onUpdate:modelValue":n[15]||(n[15]=r=>e(i).sesConfig.mail_ses_secret=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:e(d),name:"mail_ses_secret",autocomplete:"off",invalid:e(t).sesConfig.mail_ses_secret.$error,onInput:n[16]||(n[16]=r=>e(t).sesConfig.mail_ses_secret.$touch())},{right:s(()=>[e(m)?(q(),V(_,{key:0,class:"mr-1 text-gray-500 cursor-pointer",name:"EyeOffIcon",onClick:n[13]||(n[13]=r=>T(m)?m.value=!e(m):m=!e(m))})):(q(),V(_,{key:1,class:"mr-1 text-gray-500 cursor-pointer",name:"EyeIcon",onClick:n[14]||(n[14]=r=>T(m)?m.value=!e(m):m=!e(m))}))]),_:1},8,["modelValue","content-loading","type","invalid"])]),_:1},8,["label","content-loading","error"])]),_:1}),F("div",re,[l(p,{disabled:a.isSaving,"content-loading":a.isFetchingInitialData,loading:a.isSaving,variant:"primary",type:"submit"},{left:s(r=>[a.isSaving?E("",!0):(q(),V(_,{key:0,name:"SaveIcon",class:z(r.class)},null,8,["class"]))]),default:s(()=>[S(" "+k(o.$t("general.save")),1)]),_:1},8,["disabled","content-loading","loading"]),R(o.$slots,"default")])],40,le)}}},me=["onSubmit"],de={class:"flex mt-8"},Q={props:{configData:{type:Object,require:!0,default:Object},isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1},mailDrivers:{type:Array,require:!0,default:Array}},emits:["submit-data","on-change-driver"],setup(a,{emit:D}){const $=a,i=A(),{t:u}=j(),m=B(()=>({basicMailConfig:{mail_driver:{required:f.withMessage(u("validation.required"),C)},from_mail:{required:f.withMessage(u("validation.required"),C),email:f.withMessage(u("validation.email_incorrect"),x)},from_name:{required:f.withMessage(u("validation.required"),C)}}})),y=P(m,B(()=>i));L(()=>{for(const d in i.basicMailConfig)$.configData.hasOwnProperty(d)&&i.$patch(I=>{I.basicMailConfig[d]=$.configData[d]})});async function w(){return y.value.basicMailConfig.$touch(),y.value.basicMailConfig.$invalid||D("submit-data",i.basicMailConfig),!1}function t(){y.value.basicMailConfig.mail_driver.$touch(),D("on-change-driver",i.basicMailConfig.mail_driver)}return(d,I)=>{const g=c("BaseMultiselect"),o=c("BaseInputGroup"),n=c("BaseInput"),M=c("BaseInputGrid"),v=c("BaseIcon"),b=c("BaseButton");return q(),O("form",{onSubmit:N(w,["prevent"])},[l(M,null,{default:s(()=>[l(o,{label:d.$t("settings.mail.driver"),"content-loading":a.isFetchingInitialData,error:e(y).basicMailConfig.mail_driver.$error&&e(y).basicMailConfig.mail_driver.$errors[0].$message,required:""},{default:s(()=>[l(g,{modelValue:e(i).basicMailConfig.mail_driver,"onUpdate:modelValue":[I[0]||(I[0]=_=>e(i).basicMailConfig.mail_driver=_),t],"content-loading":a.isFetchingInitialData,options:a.mailDrivers,"can-deselect":!1,invalid:e(y).basicMailConfig.mail_driver.$error},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),l(o,{label:d.$t("settings.mail.from_mail"),"content-loading":a.isFetchingInitialData,error:e(y).basicMailConfig.from_mail.$error&&e(y).basicMailConfig.from_mail.$errors[0].$message,required:""},{default:s(()=>[l(n,{modelValue:e(i).basicMailConfig.from_mail,"onUpdate:modelValue":I[1]||(I[1]=_=>e(i).basicMailConfig.from_mail=_),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"from_mail",invalid:e(y).basicMailConfig.from_mail.$error,onInput:I[2]||(I[2]=_=>e(y).basicMailConfig.from_mail.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(o,{label:d.$t("settings.mail.from_name"),"content-loading":a.isFetchingInitialData,error:e(y).basicMailConfig.from_name.$error&&e(y).basicMailConfig.from_name.$errors[0].$message,required:""},{default:s(()=>[l(n,{modelValue:e(i).basicMailConfig.from_name,"onUpdate:modelValue":I[3]||(I[3]=_=>e(i).basicMailConfig.from_name=_),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"name",invalid:e(y).basicMailConfig.from_name.$error,onInput:I[4]||(I[4]=_=>e(y).basicMailConfig.from_name.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"])]),_:1}),F("div",de,[l(b,{"content-loading":a.isFetchingInitialData,disabled:a.isSaving,loading:a.isSaving,variant:"primary",type:"submit"},{left:s(_=>[a.isSaving?E("",!0):(q(),V(v,{key:0,class:z(_.class),name:"SaveIcon"},null,8,["class"]))]),default:s(()=>[S(" "+k(d.$t("general.save")),1)]),_:1},8,["content-loading","disabled","loading"]),R(d.$slots,"default")])],40,me)}}},ue={class:"flex justify-between w-full"},ge=["onSubmit"],fe={class:"p-4 md:p-8"},ce={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},ve={setup(a){let D=G(!1),$=W({to:"",subject:"",message:""});const i=J(),u=A(),{t:m}=j(),y=B(()=>i.active&&i.componentName==="MailTestModal"),w={formData:{to:{required:f.withMessage(m("validation.required"),C),email:f.withMessage(m("validation.email_incorrect"),x)},subject:{required:f.withMessage(m("validation.required"),C),maxLength:f.withMessage(m("validation.subject_maxlength"),H(100))},message:{required:f.withMessage(m("validation.required"),C),maxLength:f.withMessage(m("validation.message_maxlength"),H(255))}}},t=P(w,{formData:$});function d(){$.id="",$.to="",$.subject="",$.message="",t.value.$reset()}async function I(){if(t.value.formData.$touch(),t.value.$invalid)return!0;D.value=!0,(await u.sendTestMail($)).data&&(g(),D.value=!1)}function g(){i.closeModal(),setTimeout(()=>{i.resetModalData(),d()},300)}return(o,n)=>{const M=c("BaseIcon"),v=c("BaseInput"),b=c("BaseInputGroup"),_=c("BaseTextarea"),U=c("BaseInputGrid"),p=c("BaseButton"),r=c("BaseModal");return q(),V(r,{show:e(y),onClose:g},{header:s(()=>[F("div",ue,[S(k(e(i).title)+" ",1),l(M,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:g})])]),default:s(()=>[F("form",{action:"",onSubmit:N(I,["prevent"])},[F("div",fe,[l(U,{layout:"one-column"},{default:s(()=>[l(b,{label:o.$t("general.to"),error:e(t).formData.to.$error&&e(t).formData.to.$errors[0].$message,variant:"horizontal",required:""},{default:s(()=>[l(v,{ref:(h,Y)=>{Y.to=h},modelValue:e($).to,"onUpdate:modelValue":n[0]||(n[0]=h=>e($).to=h),type:"text",invalid:e(t).formData.to.$error,onInput:n[1]||(n[1]=h=>e(t).formData.to.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),l(b,{label:o.$t("general.subject"),error:e(t).formData.subject.$error&&e(t).formData.subject.$errors[0].$message,variant:"horizontal",required:""},{default:s(()=>[l(v,{modelValue:e($).subject,"onUpdate:modelValue":n[2]||(n[2]=h=>e($).subject=h),type:"text",invalid:e(t).formData.subject.$error,onInput:n[3]||(n[3]=h=>e(t).formData.subject.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),l(b,{label:o.$t("general.message"),error:e(t).formData.message.$error&&e(t).formData.message.$errors[0].$message,variant:"horizontal",required:""},{default:s(()=>[l(_,{modelValue:e($).message,"onUpdate:modelValue":n[4]||(n[4]=h=>e($).message=h),rows:"4",cols:"50",invalid:e(t).formData.message.$error,onInput:n[5]||(n[5]=h=>e(t).formData.message.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),_:1})]),F("div",ce,[l(p,{variant:"primary-outline",type:"button",class:"mr-3",onClick:n[6]||(n[6]=h=>g())},{default:s(()=>[S(k(o.$t("general.cancel")),1)]),_:1}),l(p,{loading:e(D),variant:"primary",type:"submit"},{left:s(h=>[e(D)?E("",!0):(q(),V(M,{key:0,name:"PaperAirplaneIcon",class:z(h.class)},null,8,["class"]))]),default:s(()=>[S(" "+k(o.$t("general.send")),1)]),_:1},8,["loading"])])],40,ge)]),_:1},8,["show"])}}},$e={key:0,class:"mt-14"},ye={setup(a){let D=G(!1),$=G(!1);const i=A(),u=J(),{t:m}=j();w();function y(g){i.mail_driver=g,i.mailConfigData.mail_driver=g}async function w(){$.value=!0,Promise.all([await i.fetchMailDrivers(),await i.fetchMailConfig()]).then(([g])=>{$.value=!1})}const t=B(()=>i.mail_driver=="smtp"?K:i.mail_driver=="mailgun"?oe:i.mail_driver=="sendmail"?Q:i.mail_driver=="ses"?se:i.mail_driver=="mail"?Q:K);async function d(g){try{return D.value=!0,await i.updateMailConfig(g),D.value=!1,!0}catch(o){console.error(o)}}function I(){u.openModal({title:m("general.test_mail_conf"),componentName:"MailTestModal",size:"sm"})}return(g,o)=>{const n=c("BaseButton"),M=c("BaseSettingCard");return q(),O(ee,null,[l(ve),l(M,{title:g.$t("settings.mail.mail_config"),description:g.$t("settings.mail.mail_config_desc")},{default:s(()=>[e(i)&&e(i).mailConfigData?(q(),O("div",$e,[(q(),V(Z(e(t)),{"config-data":e(i).mailConfigData,"is-saving":e(D),"mail-drivers":e(i).mail_drivers,"is-fetching-initial-data":e($),onOnChangeDriver:o[0]||(o[0]=v=>y(v)),onSubmitData:d},{default:s(()=>[l(n,{variant:"primary-outline",type:"button",class:"ml-2","content-loading":e($),onClick:I},{default:s(()=>[S(k(g.$t("general.test_mail_conf")),1)]),_:1},8,["content-loading"])]),_:1},8,["config-data","is-saving","mail-drivers","is-fetching-initial-data"]))])):E("",!0)]),_:1},8,["title","description"])],64)}}};export{ye as default}; +import{g as j,i as G,j as W,k as B,m as f,n as C,aV as X,a2 as x,q as P,M as L,r as c,o as q,c as O,b as l,w as s,y as e,s as V,a0 as T,t as F,z,A as E,v as S,x as k,W as R,B as N,a4 as H,an as Z,F as ee}from"./vendor.e9042f2c.js";import{v as A,g as J}from"./main.f55cd568.js";const ie=["onSubmit"],ne={class:"flex my-10"},K={props:{configData:{type:Object,require:!0,default:Object},isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1},mailDrivers:{type:Array,require:!0,default:Array}},emits:["submit-data","on-change-driver"],setup(a,{emit:D}){const $=a,i=A(),{t:u}=j();let m=G(!1);const y=W(["tls","ssl","starttls"]),w=B(()=>m.value?"text":"password"),t=B(()=>({smtpConfig:{mail_driver:{required:f.withMessage(u("validation.required"),C)},mail_host:{required:f.withMessage(u("validation.required"),C)},mail_port:{required:f.withMessage(u("validation.required"),C),numeric:f.withMessage(u("validation.numbers_only"),X)},mail_encryption:{required:f.withMessage(u("validation.required"),C)},from_mail:{required:f.withMessage(u("validation.required"),C),email:f.withMessage(u("validation.email_incorrect"),x)},from_name:{required:f.withMessage(u("validation.required"),C)}}})),d=P(t,B(()=>i));L(()=>{for(const o in i.smtpConfig)$.configData.hasOwnProperty(o)&&(i.smtpConfig[o]=$.configData[o])});async function I(){return d.value.smtpConfig.$touch(),d.value.smtpConfig.$invalid||D("submit-data",i.smtpConfig),!1}function g(){d.value.smtpConfig.mail_driver.$touch(),D("on-change-driver",i.smtpConfig.mail_driver)}return(o,n)=>{const M=c("BaseMultiselect"),v=c("BaseInputGroup"),b=c("BaseInput"),_=c("BaseIcon"),U=c("BaseInputGrid"),p=c("BaseButton");return q(),O("form",{onSubmit:N(I,["prevent"])},[l(U,null,{default:s(()=>[l(v,{label:o.$t("settings.mail.driver"),"content-loading":a.isFetchingInitialData,error:e(d).smtpConfig.mail_driver.$error&&e(d).smtpConfig.mail_driver.$errors[0].$message,required:""},{default:s(()=>[l(M,{modelValue:e(i).smtpConfig.mail_driver,"onUpdate:modelValue":[n[0]||(n[0]=r=>e(i).smtpConfig.mail_driver=r),g],"content-loading":a.isFetchingInitialData,options:a.mailDrivers,"can-deselect":!1,invalid:e(d).smtpConfig.mail_driver.$error},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.host"),"content-loading":a.isFetchingInitialData,error:e(d).smtpConfig.mail_host.$error&&e(d).smtpConfig.mail_host.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).smtpConfig.mail_host,"onUpdate:modelValue":n[1]||(n[1]=r=>e(i).smtpConfig.mail_host=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"mail_host",invalid:e(d).smtpConfig.mail_host.$error,onInput:n[2]||(n[2]=r=>e(d).smtpConfig.mail_host.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{"content-loading":a.isFetchingInitialData,label:o.$t("settings.mail.username")},{default:s(()=>[l(b,{modelValue:e(i).smtpConfig.mail_username,"onUpdate:modelValue":n[3]||(n[3]=r=>e(i).smtpConfig.mail_username=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"db_name"},null,8,["modelValue","content-loading"])]),_:1},8,["content-loading","label"]),l(v,{"content-loading":a.isFetchingInitialData,label:o.$t("settings.mail.password")},{default:s(()=>[l(b,{modelValue:e(i).smtpConfig.mail_password,"onUpdate:modelValue":n[6]||(n[6]=r=>e(i).smtpConfig.mail_password=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:e(w),name:"password"},{right:s(()=>[e(m)?(q(),V(_,{key:0,class:"mr-1 text-gray-500 cursor-pointer",name:"EyeOffIcon",onClick:n[4]||(n[4]=r=>T(m)?m.value=!e(m):m=!e(m))})):(q(),V(_,{key:1,class:"mr-1 text-gray-500 cursor-pointer",name:"EyeIcon",onClick:n[5]||(n[5]=r=>T(m)?m.value=!e(m):m=!e(m))}))]),_:1},8,["modelValue","content-loading","type"])]),_:1},8,["content-loading","label"]),l(v,{label:o.$t("settings.mail.port"),"content-loading":a.isFetchingInitialData,error:e(d).smtpConfig.mail_port.$error&&e(d).smtpConfig.mail_port.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).smtpConfig.mail_port,"onUpdate:modelValue":n[7]||(n[7]=r=>e(i).smtpConfig.mail_port=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"mail_port",invalid:e(d).smtpConfig.mail_port.$error,onInput:n[8]||(n[8]=r=>e(d).smtpConfig.mail_port.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.encryption"),"content-loading":a.isFetchingInitialData,error:e(d).smtpConfig.mail_encryption.$error&&e(d).smtpConfig.mail_encryption.$errors[0].$message,required:""},{default:s(()=>[l(M,{modelValue:e(i).smtpConfig.mail_encryption,"onUpdate:modelValue":n[9]||(n[9]=r=>e(i).smtpConfig.mail_encryption=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,options:e(y),searchable:!0,"show-labels":!1,placeholder:"Select option",invalid:e(d).smtpConfig.mail_encryption.$error,onInput:n[10]||(n[10]=r=>e(d).smtpConfig.mail_encryption.$touch())},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.from_mail"),"content-loading":a.isFetchingInitialData,error:e(d).smtpConfig.from_mail.$error&&e(d).smtpConfig.from_mail.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).smtpConfig.from_mail,"onUpdate:modelValue":n[11]||(n[11]=r=>e(i).smtpConfig.from_mail=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"from_mail",invalid:e(d).smtpConfig.from_mail.$error,onInput:n[12]||(n[12]=r=>e(d).smtpConfig.from_mail.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.from_name"),"content-loading":a.isFetchingInitialData,error:e(d).smtpConfig.from_name.$error&&e(d).smtpConfig.from_name.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).smtpConfig.from_name,"onUpdate:modelValue":n[13]||(n[13]=r=>e(i).smtpConfig.from_name=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"from_name",invalid:e(d).smtpConfig.from_name.$error,onInput:n[14]||(n[14]=r=>e(d).smtpConfig.from_name.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"])]),_:1}),F("div",ne,[l(p,{disabled:a.isSaving,"content-loading":a.isFetchingInitialData,loading:a.isSaving,type:"submit",variant:"primary"},{left:s(r=>[a.isSaving?E("",!0):(q(),V(_,{key:0,name:"SaveIcon",class:z(r.class)},null,8,["class"]))]),default:s(()=>[S(" "+k(o.$t("general.save")),1)]),_:1},8,["disabled","content-loading","loading"]),R(o.$slots,"default")])],40,ie)}}},te=["onSubmit"],ae={class:"flex my-10"},oe={props:{configData:{type:Object,require:!0,default:Object},isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1},mailDrivers:{type:Array,require:!0,default:Array}},emits:["submit-data","on-change-driver"],setup(a,{emit:D}){const $=a,i=A(),{t:u}=j();let m=G(!1);const y=B(()=>m.value?"text":"password"),w=B(()=>({mailgunConfig:{mail_driver:{required:f.withMessage(u("validation.required"),C)},mail_mailgun_domain:{required:f.withMessage(u("validation.required"),C)},mail_mailgun_endpoint:{required:f.withMessage(u("validation.required"),C)},mail_mailgun_secret:{required:f.withMessage(u("validation.required"),C)},from_mail:{required:f.withMessage(u("validation.required"),C),email:x},from_name:{required:f.withMessage(u("validation.required"),C)}}})),t=P(w,B(()=>i));L(()=>{for(const g in i.mailgunConfig)$.configData.hasOwnProperty(g)&&(i.mailgunConfig[g]=$.configData[g])});async function d(){return t.value.mailgunConfig.$touch(),t.value.mailgunConfig.$invalid||D("submit-data",i.mailgunConfig),!1}function I(){t.value.mailgunConfig.mail_driver.$touch(),D("on-change-driver",i.mailgunConfig.mail_driver)}return(g,o)=>{const n=c("BaseMultiselect"),M=c("BaseInputGroup"),v=c("BaseInput"),b=c("BaseIcon"),_=c("BaseInputGrid"),U=c("BaseButton");return q(),O("form",{onSubmit:N(d,["prevent"])},[l(_,null,{default:s(()=>[l(M,{label:g.$t("settings.mail.driver"),"content-loading":a.isFetchingInitialData,error:e(t).mailgunConfig.mail_driver.$error&&e(t).mailgunConfig.mail_driver.$errors[0].$message,required:""},{default:s(()=>[l(n,{modelValue:e(i).mailgunConfig.mail_driver,"onUpdate:modelValue":[o[0]||(o[0]=p=>e(i).mailgunConfig.mail_driver=p),I],"content-loading":a.isFetchingInitialData,options:a.mailDrivers,"can-deselect":!1,invalid:e(t).mailgunConfig.mail_driver.$error},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),l(M,{label:g.$t("settings.mail.mailgun_domain"),"content-loading":a.isFetchingInitialData,error:e(t).mailgunConfig.mail_mailgun_domain.$error&&e(t).mailgunConfig.mail_mailgun_domain.$errors[0].$message,required:""},{default:s(()=>[l(v,{modelValue:e(i).mailgunConfig.mail_mailgun_domain,"onUpdate:modelValue":o[1]||(o[1]=p=>e(i).mailgunConfig.mail_mailgun_domain=p),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"mailgun_domain",invalid:e(t).mailgunConfig.mail_mailgun_domain.$error,onInput:o[2]||(o[2]=p=>e(t).mailgunConfig.mail_mailgun_domain.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(M,{label:g.$t("settings.mail.mailgun_secret"),"content-loading":a.isFetchingInitialData,error:e(t).mailgunConfig.mail_mailgun_secret.$error&&e(t).mailgunConfig.mail_mailgun_secret.$errors[0].$message,required:""},{default:s(()=>[l(v,{modelValue:e(i).mailgunConfig.mail_mailgun_secret,"onUpdate:modelValue":o[5]||(o[5]=p=>e(i).mailgunConfig.mail_mailgun_secret=p),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:e(y),name:"mailgun_secret",autocomplete:"off",invalid:e(t).mailgunConfig.mail_mailgun_secret.$error,onInput:o[6]||(o[6]=p=>e(t).mailgunConfig.mail_mailgun_secret.$touch())},{right:s(()=>[e(m)?(q(),V(b,{key:0,class:"mr-1 text-gray-500 cursor-pointer",name:"EyeOffIcon",onClick:o[3]||(o[3]=p=>T(m)?m.value=!e(m):m=!e(m))})):(q(),V(b,{key:1,class:"mr-1 text-gray-500 cursor-pointer",name:"EyeIcon",onClick:o[4]||(o[4]=p=>T(m)?m.value=!e(m):m=!e(m))}))]),_:1},8,["modelValue","content-loading","type","invalid"])]),_:1},8,["label","content-loading","error"]),l(M,{label:g.$t("settings.mail.mailgun_endpoint"),"content-loading":a.isFetchingInitialData,error:e(t).mailgunConfig.mail_mailgun_endpoint.$error&&e(t).mailgunConfig.mail_mailgun_endpoint.$errors[0].$message,required:""},{default:s(()=>[l(v,{modelValue:e(i).mailgunConfig.mail_mailgun_endpoint,"onUpdate:modelValue":o[7]||(o[7]=p=>e(i).mailgunConfig.mail_mailgun_endpoint=p),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"mailgun_endpoint",invalid:e(t).mailgunConfig.mail_mailgun_endpoint.$error,onInput:o[8]||(o[8]=p=>e(t).mailgunConfig.mail_mailgun_endpoint.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(M,{label:g.$t("settings.mail.from_mail"),"content-loading":a.isFetchingInitialData,error:e(t).mailgunConfig.from_mail.$error&&e(t).mailgunConfig.from_mail.$errors[0].$message,required:""},{default:s(()=>[l(v,{modelValue:e(i).mailgunConfig.from_mail,"onUpdate:modelValue":o[9]||(o[9]=p=>e(i).mailgunConfig.from_mail=p),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"from_mail",invalid:e(t).mailgunConfig.from_mail.$error,onInput:o[10]||(o[10]=p=>e(t).mailgunConfig.from_mail.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(M,{label:g.$t("settings.mail.from_name"),"content-loading":a.isFetchingInitialData,error:e(t).mailgunConfig.from_name.$error&&e(t).mailgunConfig.from_name.$errors[0].$message,required:""},{default:s(()=>[l(v,{modelValue:e(i).mailgunConfig.from_name,"onUpdate:modelValue":o[11]||(o[11]=p=>e(i).mailgunConfig.from_name=p),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"from_name",invalid:e(t).mailgunConfig.from_name.$error,onInput:o[12]||(o[12]=p=>e(t).mailgunConfig.from_name.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"])]),_:1}),F("div",ae,[l(U,{disabled:a.isSaving,"content-loading":a.isFetchingInitialData,loading:a.isSaving,variant:"primary",type:"submit"},{left:s(p=>[a.isSaving?E("",!0):(q(),V(b,{key:0,name:"SaveIcon",class:z(p.class)},null,8,["class"]))]),default:s(()=>[S(" "+k(g.$t("general.save")),1)]),_:1},8,["disabled","content-loading","loading"]),R(g.$slots,"default")])],40,te)}}},le=["onSubmit"],re={class:"flex my-10"},se={props:{configData:{type:Object,require:!0,default:Object},isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1},mailDrivers:{type:Array,require:!0,default:Array}},emits:["submit-data","on-change-driver"],setup(a,{emit:D}){const $=a,i=A(),{t:u}=j();let m=G(!1);const y=W(["tls","ssl","starttls"]),w=B(()=>({sesConfig:{mail_driver:{required:f.withMessage(u("validation.required"),C)},mail_host:{required:f.withMessage(u("validation.required"),C)},mail_port:{required:f.withMessage(u("validation.required"),C),numeric:X},mail_ses_key:{required:f.withMessage(u("validation.required"),C)},mail_ses_secret:{required:f.withMessage(u("validation.required"),C)},mail_encryption:{required:f.withMessage(u("validation.required"),C)},from_mail:{required:f.withMessage(u("validation.required"),C),email:f.withMessage(u("validation.email_incorrect"),x)},from_name:{required:f.withMessage(u("validation.required"),C)}}})),t=P(w,B(()=>i)),d=B(()=>m.value?"text":"password");L(()=>{for(const o in i.sesConfig)$.configData.hasOwnProperty(o)&&(i.sesConfig[o]=$.configData[o])});async function I(){return t.value.sesConfig.$touch(),t.value.sesConfig.$invalid||D("submit-data",i.sesConfig),!1}function g(){t.value.sesConfig.mail_driver.$touch(),D("on-change-driver",i.sesConfig.mail_driver)}return(o,n)=>{const M=c("BaseMultiselect"),v=c("BaseInputGroup"),b=c("BaseInput"),_=c("BaseIcon"),U=c("BaseInputGrid"),p=c("BaseButton");return q(),O("form",{onSubmit:N(I,["prevent"])},[l(U,null,{default:s(()=>[l(v,{label:o.$t("settings.mail.driver"),"content-loading":a.isFetchingInitialData,error:e(t).sesConfig.mail_driver.$error&&e(t).sesConfig.mail_driver.$errors[0].$message,required:""},{default:s(()=>[l(M,{modelValue:e(i).sesConfig.mail_driver,"onUpdate:modelValue":[n[0]||(n[0]=r=>e(i).sesConfig.mail_driver=r),g],"content-loading":a.isFetchingInitialData,options:a.mailDrivers,"can-deselect":!1,invalid:e(t).sesConfig.mail_driver.$error},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.host"),"content-loading":a.isFetchingInitialData,error:e(t).sesConfig.mail_host.$error&&e(t).sesConfig.mail_host.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).sesConfig.mail_host,"onUpdate:modelValue":n[1]||(n[1]=r=>e(i).sesConfig.mail_host=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"mail_host",invalid:e(t).sesConfig.mail_host.$error,onInput:n[2]||(n[2]=r=>e(t).sesConfig.mail_host.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.port"),"content-loading":a.isFetchingInitialData,error:e(t).sesConfig.mail_port.$error&&e(t).sesConfig.mail_port.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).sesConfig.mail_port,"onUpdate:modelValue":n[3]||(n[3]=r=>e(i).sesConfig.mail_port=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"mail_port",invalid:e(t).sesConfig.mail_port.$error,onInput:n[4]||(n[4]=r=>e(t).sesConfig.mail_port.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.encryption"),"content-loading":a.isFetchingInitialData,error:e(t).sesConfig.mail_encryption.$error&&e(t).sesConfig.mail_encryption.$errors[0].$message,required:""},{default:s(()=>[l(M,{modelValue:e(i).sesConfig.mail_encryption,"onUpdate:modelValue":n[5]||(n[5]=r=>e(i).sesConfig.mail_encryption=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,options:e(y),invalid:e(t).sesConfig.mail_encryption.$error,placeholder:"Select option",onInput:n[6]||(n[6]=r=>e(t).sesConfig.mail_encryption.$touch())},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.from_mail"),"content-loading":a.isFetchingInitialData,error:e(t).sesConfig.from_mail.$error&&e(t).sesConfig.from_mail.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).sesConfig.from_mail,"onUpdate:modelValue":n[7]||(n[7]=r=>e(i).sesConfig.from_mail=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"from_mail",invalid:e(t).sesConfig.from_mail.$error,onInput:n[8]||(n[8]=r=>e(t).sesConfig.from_mail.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.from_name"),"content-loading":a.isFetchingInitialData,error:e(t).sesConfig.from_name.$error&&e(t).sesConfig.from_name.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).sesConfig.from_name,"onUpdate:modelValue":n[9]||(n[9]=r=>e(i).sesConfig.from_name=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"name",invalid:e(t).sesConfig.from_name.$error,onInput:n[10]||(n[10]=r=>e(t).sesConfig.from_name.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.ses_key"),"content-loading":a.isFetchingInitialData,error:e(t).sesConfig.mail_ses_key.$error&&e(t).sesConfig.mail_ses_key.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).sesConfig.mail_ses_key,"onUpdate:modelValue":n[11]||(n[11]=r=>e(i).sesConfig.mail_ses_key=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"mail_ses_key",invalid:e(t).sesConfig.mail_ses_key.$error,onInput:n[12]||(n[12]=r=>e(t).sesConfig.mail_ses_key.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(v,{label:o.$t("settings.mail.ses_secret"),"content-loading":a.isFetchingInitialData,error:e(t).sesConfig.mail_ses_secret.$error&&e(t).mail_ses_secret.$errors[0].$message,required:""},{default:s(()=>[l(b,{modelValue:e(i).sesConfig.mail_ses_secret,"onUpdate:modelValue":n[15]||(n[15]=r=>e(i).sesConfig.mail_ses_secret=r),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:e(d),name:"mail_ses_secret",autocomplete:"off",invalid:e(t).sesConfig.mail_ses_secret.$error,onInput:n[16]||(n[16]=r=>e(t).sesConfig.mail_ses_secret.$touch())},{right:s(()=>[e(m)?(q(),V(_,{key:0,class:"mr-1 text-gray-500 cursor-pointer",name:"EyeOffIcon",onClick:n[13]||(n[13]=r=>T(m)?m.value=!e(m):m=!e(m))})):(q(),V(_,{key:1,class:"mr-1 text-gray-500 cursor-pointer",name:"EyeIcon",onClick:n[14]||(n[14]=r=>T(m)?m.value=!e(m):m=!e(m))}))]),_:1},8,["modelValue","content-loading","type","invalid"])]),_:1},8,["label","content-loading","error"])]),_:1}),F("div",re,[l(p,{disabled:a.isSaving,"content-loading":a.isFetchingInitialData,loading:a.isSaving,variant:"primary",type:"submit"},{left:s(r=>[a.isSaving?E("",!0):(q(),V(_,{key:0,name:"SaveIcon",class:z(r.class)},null,8,["class"]))]),default:s(()=>[S(" "+k(o.$t("general.save")),1)]),_:1},8,["disabled","content-loading","loading"]),R(o.$slots,"default")])],40,le)}}},me=["onSubmit"],de={class:"flex mt-8"},Q={props:{configData:{type:Object,require:!0,default:Object},isSaving:{type:Boolean,require:!0,default:!1},isFetchingInitialData:{type:Boolean,require:!0,default:!1},mailDrivers:{type:Array,require:!0,default:Array}},emits:["submit-data","on-change-driver"],setup(a,{emit:D}){const $=a,i=A(),{t:u}=j(),m=B(()=>({basicMailConfig:{mail_driver:{required:f.withMessage(u("validation.required"),C)},from_mail:{required:f.withMessage(u("validation.required"),C),email:f.withMessage(u("validation.email_incorrect"),x)},from_name:{required:f.withMessage(u("validation.required"),C)}}})),y=P(m,B(()=>i));L(()=>{for(const d in i.basicMailConfig)$.configData.hasOwnProperty(d)&&i.$patch(I=>{I.basicMailConfig[d]=$.configData[d]})});async function w(){return y.value.basicMailConfig.$touch(),y.value.basicMailConfig.$invalid||D("submit-data",i.basicMailConfig),!1}function t(){y.value.basicMailConfig.mail_driver.$touch(),D("on-change-driver",i.basicMailConfig.mail_driver)}return(d,I)=>{const g=c("BaseMultiselect"),o=c("BaseInputGroup"),n=c("BaseInput"),M=c("BaseInputGrid"),v=c("BaseIcon"),b=c("BaseButton");return q(),O("form",{onSubmit:N(w,["prevent"])},[l(M,null,{default:s(()=>[l(o,{label:d.$t("settings.mail.driver"),"content-loading":a.isFetchingInitialData,error:e(y).basicMailConfig.mail_driver.$error&&e(y).basicMailConfig.mail_driver.$errors[0].$message,required:""},{default:s(()=>[l(g,{modelValue:e(i).basicMailConfig.mail_driver,"onUpdate:modelValue":[I[0]||(I[0]=_=>e(i).basicMailConfig.mail_driver=_),t],"content-loading":a.isFetchingInitialData,options:a.mailDrivers,"can-deselect":!1,invalid:e(y).basicMailConfig.mail_driver.$error},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),l(o,{label:d.$t("settings.mail.from_mail"),"content-loading":a.isFetchingInitialData,error:e(y).basicMailConfig.from_mail.$error&&e(y).basicMailConfig.from_mail.$errors[0].$message,required:""},{default:s(()=>[l(n,{modelValue:e(i).basicMailConfig.from_mail,"onUpdate:modelValue":I[1]||(I[1]=_=>e(i).basicMailConfig.from_mail=_),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"from_mail",invalid:e(y).basicMailConfig.from_mail.$error,onInput:I[2]||(I[2]=_=>e(y).basicMailConfig.from_mail.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),l(o,{label:d.$t("settings.mail.from_name"),"content-loading":a.isFetchingInitialData,error:e(y).basicMailConfig.from_name.$error&&e(y).basicMailConfig.from_name.$errors[0].$message,required:""},{default:s(()=>[l(n,{modelValue:e(i).basicMailConfig.from_name,"onUpdate:modelValue":I[3]||(I[3]=_=>e(i).basicMailConfig.from_name=_),modelModifiers:{trim:!0},"content-loading":a.isFetchingInitialData,type:"text",name:"name",invalid:e(y).basicMailConfig.from_name.$error,onInput:I[4]||(I[4]=_=>e(y).basicMailConfig.from_name.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"])]),_:1}),F("div",de,[l(b,{"content-loading":a.isFetchingInitialData,disabled:a.isSaving,loading:a.isSaving,variant:"primary",type:"submit"},{left:s(_=>[a.isSaving?E("",!0):(q(),V(v,{key:0,class:z(_.class),name:"SaveIcon"},null,8,["class"]))]),default:s(()=>[S(" "+k(d.$t("general.save")),1)]),_:1},8,["content-loading","disabled","loading"]),R(d.$slots,"default")])],40,me)}}},ue={class:"flex justify-between w-full"},ge=["onSubmit"],fe={class:"p-4 md:p-8"},ce={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},ve={setup(a){let D=G(!1),$=W({to:"",subject:"",message:""});const i=J(),u=A(),{t:m}=j(),y=B(()=>i.active&&i.componentName==="MailTestModal"),w={formData:{to:{required:f.withMessage(m("validation.required"),C),email:f.withMessage(m("validation.email_incorrect"),x)},subject:{required:f.withMessage(m("validation.required"),C),maxLength:f.withMessage(m("validation.subject_maxlength"),H(100))},message:{required:f.withMessage(m("validation.required"),C),maxLength:f.withMessage(m("validation.message_maxlength"),H(255))}}},t=P(w,{formData:$});function d(){$.id="",$.to="",$.subject="",$.message="",t.value.$reset()}async function I(){if(t.value.formData.$touch(),t.value.$invalid)return!0;D.value=!0,(await u.sendTestMail($)).data&&(g(),D.value=!1)}function g(){i.closeModal(),setTimeout(()=>{i.resetModalData(),d()},300)}return(o,n)=>{const M=c("BaseIcon"),v=c("BaseInput"),b=c("BaseInputGroup"),_=c("BaseTextarea"),U=c("BaseInputGrid"),p=c("BaseButton"),r=c("BaseModal");return q(),V(r,{show:e(y),onClose:g},{header:s(()=>[F("div",ue,[S(k(e(i).title)+" ",1),l(M,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:g})])]),default:s(()=>[F("form",{action:"",onSubmit:N(I,["prevent"])},[F("div",fe,[l(U,{layout:"one-column"},{default:s(()=>[l(b,{label:o.$t("general.to"),error:e(t).formData.to.$error&&e(t).formData.to.$errors[0].$message,variant:"horizontal",required:""},{default:s(()=>[l(v,{ref:(h,Y)=>{Y.to=h},modelValue:e($).to,"onUpdate:modelValue":n[0]||(n[0]=h=>e($).to=h),type:"text",invalid:e(t).formData.to.$error,onInput:n[1]||(n[1]=h=>e(t).formData.to.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),l(b,{label:o.$t("general.subject"),error:e(t).formData.subject.$error&&e(t).formData.subject.$errors[0].$message,variant:"horizontal",required:""},{default:s(()=>[l(v,{modelValue:e($).subject,"onUpdate:modelValue":n[2]||(n[2]=h=>e($).subject=h),type:"text",invalid:e(t).formData.subject.$error,onInput:n[3]||(n[3]=h=>e(t).formData.subject.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),l(b,{label:o.$t("general.message"),error:e(t).formData.message.$error&&e(t).formData.message.$errors[0].$message,variant:"horizontal",required:""},{default:s(()=>[l(_,{modelValue:e($).message,"onUpdate:modelValue":n[4]||(n[4]=h=>e($).message=h),rows:"4",cols:"50",invalid:e(t).formData.message.$error,onInput:n[5]||(n[5]=h=>e(t).formData.message.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),_:1})]),F("div",ce,[l(p,{variant:"primary-outline",type:"button",class:"mr-3",onClick:n[6]||(n[6]=h=>g())},{default:s(()=>[S(k(o.$t("general.cancel")),1)]),_:1}),l(p,{loading:e(D),variant:"primary",type:"submit"},{left:s(h=>[e(D)?E("",!0):(q(),V(M,{key:0,name:"PaperAirplaneIcon",class:z(h.class)},null,8,["class"]))]),default:s(()=>[S(" "+k(o.$t("general.send")),1)]),_:1},8,["loading"])])],40,ge)]),_:1},8,["show"])}}},$e={key:0,class:"mt-14"},ye={setup(a){let D=G(!1),$=G(!1);const i=A(),u=J(),{t:m}=j();w();function y(g){i.mail_driver=g,i.mailConfigData.mail_driver=g}async function w(){$.value=!0,Promise.all([await i.fetchMailDrivers(),await i.fetchMailConfig()]).then(([g])=>{$.value=!1})}const t=B(()=>i.mail_driver=="smtp"?K:i.mail_driver=="mailgun"?oe:i.mail_driver=="sendmail"?Q:i.mail_driver=="ses"?se:i.mail_driver=="mail"?Q:K);async function d(g){try{return D.value=!0,await i.updateMailConfig(g),D.value=!1,!0}catch(o){console.error(o)}}function I(){u.openModal({title:m("general.test_mail_conf"),componentName:"MailTestModal",size:"sm"})}return(g,o)=>{const n=c("BaseButton"),M=c("BaseSettingCard");return q(),O(ee,null,[l(ve),l(M,{title:g.$t("settings.mail.mail_config"),description:g.$t("settings.mail.mail_config_desc")},{default:s(()=>[e(i)&&e(i).mailConfigData?(q(),O("div",$e,[(q(),V(Z(e(t)),{"config-data":e(i).mailConfigData,"is-saving":e(D),"mail-drivers":e(i).mail_drivers,"is-fetching-initial-data":e($),onOnChangeDriver:o[0]||(o[0]=v=>y(v)),onSubmitData:d},{default:s(()=>[l(n,{variant:"primary-outline",type:"button",class:"ml-2","content-loading":e($),onClick:I},{default:s(()=>[S(k(g.$t("general.test_mail_conf")),1)]),_:1},8,["content-loading"])]),_:1},8,["config-data","is-saving","mail-drivers","is-fetching-initial-data"]))])):E("",!0)]),_:1},8,["title","description"])],64)}}};export{ye as default}; diff --git a/public/build/assets/MoonwalkerIcon.33f1b046.js b/public/build/assets/MoonwalkerIcon.a8d19439.js similarity index 98% rename from public/build/assets/MoonwalkerIcon.33f1b046.js rename to public/build/assets/MoonwalkerIcon.a8d19439.js index 823f33343..d51a4e203 100644 --- a/public/build/assets/MoonwalkerIcon.33f1b046.js +++ b/public/build/assets/MoonwalkerIcon.a8d19439.js @@ -1 +1 @@ -import{_ as l}from"./main.c4ed6aa9.js";import{o as e,c as d,R as i}from"./vendor.e9042f2c.js";const C={},t={width:"154",height:"110",viewBox:"0 0 154 110",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p=i('',2),o=[p];function r(n,a){return e(),d("svg",t,o)}var c=l(C,[["render",r]]);export{c as M}; +import{_ as l}from"./main.f55cd568.js";import{o as e,c as d,R as i}from"./vendor.e9042f2c.js";const C={},t={width:"154",height:"110",viewBox:"0 0 154 110",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p=i('',2),o=[p];function r(n,a){return e(),d("svg",t,o)}var c=l(C,[["render",r]]);export{c as M}; diff --git a/public/build/assets/NoteModal.ce9830bd.js b/public/build/assets/NoteModal.0435aa4f.js similarity index 98% rename from public/build/assets/NoteModal.ce9830bd.js rename to public/build/assets/NoteModal.0435aa4f.js index 7b3cae799..ad0cfc617 100644 --- a/public/build/assets/NoteModal.ce9830bd.js +++ b/public/build/assets/NoteModal.0435aa4f.js @@ -1 +1 @@ -var F=Object.defineProperty;var M=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var C=(c,o,n)=>o in c?F(c,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):c[o]=n,V=(c,o)=>{for(var n in o||(o={}))O.call(o,n)&&C(c,n,o[n]);if(M)for(var n of M(o))R.call(o,n)&&C(c,n,o[n]);return c};import{u as X,g as H,i as q,j as J,k as h,m as N,n as $,p as K,q as Q,D as W,M as Y,r as m,o as Z,s as ee,w as l,t as _,v as B,x as I,y as e,b as i,z as te,B as ae}from"./vendor.e9042f2c.js";import{g as oe,u as ne,r as se,f as re,o as ie,j as ue}from"./main.c4ed6aa9.js";const le={class:"flex justify-between w-full"},ce=["onSubmit"],de={class:"px-8 py-8 sm:p-6"},me={class:"z-0 flex justify-end px-4 py-4 border-t border-solid border-gray-light"},ye={setup(c){const o=oe(),n=ne(),t=se(),z=re(),E=ie(),j=ue(),d=X(),{t:v}=H();let p=q(!1);const x=J(["Invoice","Estimate","Payment"]);let f=q(["customer","customerCustom"]);const D=h(()=>o.active&&o.componentName==="NoteModal"),P=h(()=>({currentNote:{name:{required:N.withMessage(v("validation.required"),$),minLength:N.withMessage(v("validation.name_min_length",{count:3}),K(3))},notes:{required:N.withMessage(v("validation.required"),$)},type:{required:N.withMessage(v("validation.required"),$)}}})),s=Q(P,h(()=>t));W(()=>t.currentNote.type,a=>{b()}),Y(()=>{d.name==="estimates.create"?t.currentNote.type="Estimate":d.name==="invoices.create"?t.currentNote.type="Invoice":t.currentNote.type="Payment"});function b(){f.value=["customer","customerCustom"],t.currentNote.type=="Invoice"&&f.value.push("invoice","invoiceCustom"),t.currentNote.type=="Estimate"&&f.value.push("estimate","estimateCustom"),t.currentNote.type=="Payment"&&f.value.push("payment","paymentCustom")}async function k(){if(s.value.currentNote.$touch(),s.value.currentNote.$invalid)return!0;if(p.value=!0,t.isEdit){let a=V({id:t.currentNote.id},t.currentNote);await t.updateNote(a).then(r=>{p.value=!1,r.data&&(n.showNotification({type:"success",message:v("settings.customization.notes.note_updated")}),o.refreshData&&o.refreshData(),y())}).catch(r=>{p.value=!1})}else await t.addNote(t.currentNote).then(a=>{p.value=!1,a.data&&(n.showNotification({type:"success",message:v("settings.customization.notes.note_added")}),(d.name==="invoices.create"&&a.data.data.type==="Invoice"||d.name==="invoices.edit"&&a.data.data.type==="Invoice")&&z.selectNote(a.data.data),(d.name==="estimates.create"&&a.data.data.type==="Estimate"||d.name==="estimates.edit"&&a.data.data.type==="Estimate")&&j.selectNote(a.data.data),(d.name==="payments.create"&&a.data.data.type==="Payment"||d.name==="payments.edit"&&a.data.data.type==="Payment")&&E.selectNote(a.data.data)),o.refreshData&&o.refreshData(),y()}).catch(a=>{p.value=!1})}function y(){o.closeModal(),setTimeout(()=>{t.resetCurrentNote(),s.value.$reset()},300)}return(a,r)=>{const w=m("BaseIcon"),G=m("BaseInput"),g=m("BaseInputGroup"),U=m("BaseMultiselect"),L=m("BaseCustomInput"),T=m("BaseInputGrid"),S=m("BaseButton"),A=m("BaseModal");return Z(),ee(A,{show:e(D),onClose:y,onOpen:b},{header:l(()=>[_("div",le,[B(I(e(o).title)+" ",1),i(w,{name:"XIcon",class:"h-6 w-6 text-gray-500 cursor-pointer",onClick:y})])]),default:l(()=>[_("form",{action:"",onSubmit:ae(k,["prevent"])},[_("div",de,[i(T,{layout:"one-column"},{default:l(()=>[i(g,{label:a.$t("settings.customization.notes.name"),variant:"vertical",error:e(s).currentNote.name.$error&&e(s).currentNote.name.$errors[0].$message,required:""},{default:l(()=>[i(G,{modelValue:e(t).currentNote.name,"onUpdate:modelValue":r[0]||(r[0]=u=>e(t).currentNote.name=u),invalid:e(s).currentNote.name.$error,type:"text",onInput:r[1]||(r[1]=u=>e(s).currentNote.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),i(g,{label:a.$t("settings.customization.notes.type"),error:e(s).currentNote.type.$error&&e(s).currentNote.type.$errors[0].$message,required:""},{default:l(()=>[i(U,{modelValue:e(t).currentNote.type,"onUpdate:modelValue":r[2]||(r[2]=u=>e(t).currentNote.type=u),options:e(x),"value-prop":"type",class:"mt-2"},null,8,["modelValue","options"])]),_:1},8,["label","error"]),i(g,{label:a.$t("settings.customization.notes.notes"),error:e(s).currentNote.notes.$error&&e(s).currentNote.notes.$errors[0].$message,required:""},{default:l(()=>[i(L,{modelValue:e(t).currentNote.notes,"onUpdate:modelValue":r[3]||(r[3]=u=>e(t).currentNote.notes=u),invalid:e(s).currentNote.notes.$error,fields:e(f),onInput:r[4]||(r[4]=u=>e(s).currentNote.notes.$touch())},null,8,["modelValue","invalid","fields"])]),_:1},8,["label","error"])]),_:1})]),_("div",me,[i(S,{class:"mr-2",variant:"primary-outline",type:"button",onClick:y},{default:l(()=>[B(I(a.$t("general.cancel")),1)]),_:1}),i(S,{loading:e(p),disabled:e(p),variant:"primary",type:"submit"},{left:l(u=>[i(w,{name:"SaveIcon",class:te(u.class)},null,8,["class"])]),default:l(()=>[B(" "+I(e(t).isEdit?a.$t("general.update"):a.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,ce)]),_:1},8,["show"])}}};export{ye as _}; +var F=Object.defineProperty;var M=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable;var C=(c,o,n)=>o in c?F(c,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):c[o]=n,V=(c,o)=>{for(var n in o||(o={}))O.call(o,n)&&C(c,n,o[n]);if(M)for(var n of M(o))R.call(o,n)&&C(c,n,o[n]);return c};import{u as X,g as H,i as q,j as J,k as h,m as N,n as $,p as K,q as Q,D as W,M as Y,r as m,o as Z,s as ee,w as l,t as _,v as B,x as I,y as e,b as i,z as te,B as ae}from"./vendor.e9042f2c.js";import{g as oe,u as ne,r as se,f as re,o as ie,j as ue}from"./main.f55cd568.js";const le={class:"flex justify-between w-full"},ce=["onSubmit"],de={class:"px-8 py-8 sm:p-6"},me={class:"z-0 flex justify-end px-4 py-4 border-t border-solid border-gray-light"},ye={setup(c){const o=oe(),n=ne(),t=se(),z=re(),E=ie(),j=ue(),d=X(),{t:v}=H();let p=q(!1);const x=J(["Invoice","Estimate","Payment"]);let f=q(["customer","customerCustom"]);const D=h(()=>o.active&&o.componentName==="NoteModal"),P=h(()=>({currentNote:{name:{required:N.withMessage(v("validation.required"),$),minLength:N.withMessage(v("validation.name_min_length",{count:3}),K(3))},notes:{required:N.withMessage(v("validation.required"),$)},type:{required:N.withMessage(v("validation.required"),$)}}})),s=Q(P,h(()=>t));W(()=>t.currentNote.type,a=>{b()}),Y(()=>{d.name==="estimates.create"?t.currentNote.type="Estimate":d.name==="invoices.create"?t.currentNote.type="Invoice":t.currentNote.type="Payment"});function b(){f.value=["customer","customerCustom"],t.currentNote.type=="Invoice"&&f.value.push("invoice","invoiceCustom"),t.currentNote.type=="Estimate"&&f.value.push("estimate","estimateCustom"),t.currentNote.type=="Payment"&&f.value.push("payment","paymentCustom")}async function k(){if(s.value.currentNote.$touch(),s.value.currentNote.$invalid)return!0;if(p.value=!0,t.isEdit){let a=V({id:t.currentNote.id},t.currentNote);await t.updateNote(a).then(r=>{p.value=!1,r.data&&(n.showNotification({type:"success",message:v("settings.customization.notes.note_updated")}),o.refreshData&&o.refreshData(),y())}).catch(r=>{p.value=!1})}else await t.addNote(t.currentNote).then(a=>{p.value=!1,a.data&&(n.showNotification({type:"success",message:v("settings.customization.notes.note_added")}),(d.name==="invoices.create"&&a.data.data.type==="Invoice"||d.name==="invoices.edit"&&a.data.data.type==="Invoice")&&z.selectNote(a.data.data),(d.name==="estimates.create"&&a.data.data.type==="Estimate"||d.name==="estimates.edit"&&a.data.data.type==="Estimate")&&j.selectNote(a.data.data),(d.name==="payments.create"&&a.data.data.type==="Payment"||d.name==="payments.edit"&&a.data.data.type==="Payment")&&E.selectNote(a.data.data)),o.refreshData&&o.refreshData(),y()}).catch(a=>{p.value=!1})}function y(){o.closeModal(),setTimeout(()=>{t.resetCurrentNote(),s.value.$reset()},300)}return(a,r)=>{const w=m("BaseIcon"),G=m("BaseInput"),g=m("BaseInputGroup"),U=m("BaseMultiselect"),L=m("BaseCustomInput"),T=m("BaseInputGrid"),S=m("BaseButton"),A=m("BaseModal");return Z(),ee(A,{show:e(D),onClose:y,onOpen:b},{header:l(()=>[_("div",le,[B(I(e(o).title)+" ",1),i(w,{name:"XIcon",class:"h-6 w-6 text-gray-500 cursor-pointer",onClick:y})])]),default:l(()=>[_("form",{action:"",onSubmit:ae(k,["prevent"])},[_("div",de,[i(T,{layout:"one-column"},{default:l(()=>[i(g,{label:a.$t("settings.customization.notes.name"),variant:"vertical",error:e(s).currentNote.name.$error&&e(s).currentNote.name.$errors[0].$message,required:""},{default:l(()=>[i(G,{modelValue:e(t).currentNote.name,"onUpdate:modelValue":r[0]||(r[0]=u=>e(t).currentNote.name=u),invalid:e(s).currentNote.name.$error,type:"text",onInput:r[1]||(r[1]=u=>e(s).currentNote.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),i(g,{label:a.$t("settings.customization.notes.type"),error:e(s).currentNote.type.$error&&e(s).currentNote.type.$errors[0].$message,required:""},{default:l(()=>[i(U,{modelValue:e(t).currentNote.type,"onUpdate:modelValue":r[2]||(r[2]=u=>e(t).currentNote.type=u),options:e(x),"value-prop":"type",class:"mt-2"},null,8,["modelValue","options"])]),_:1},8,["label","error"]),i(g,{label:a.$t("settings.customization.notes.notes"),error:e(s).currentNote.notes.$error&&e(s).currentNote.notes.$errors[0].$message,required:""},{default:l(()=>[i(L,{modelValue:e(t).currentNote.notes,"onUpdate:modelValue":r[3]||(r[3]=u=>e(t).currentNote.notes=u),invalid:e(s).currentNote.notes.$error,fields:e(f),onInput:r[4]||(r[4]=u=>e(s).currentNote.notes.$touch())},null,8,["modelValue","invalid","fields"])]),_:1},8,["label","error"])]),_:1})]),_("div",me,[i(S,{class:"mr-2",variant:"primary-outline",type:"button",onClick:y},{default:l(()=>[B(I(a.$t("general.cancel")),1)]),_:1}),i(S,{loading:e(p),disabled:e(p),variant:"primary",type:"submit"},{left:l(u=>[i(w,{name:"SaveIcon",class:te(u.class)},null,8,["class"])]),default:l(()=>[B(" "+I(e(t).isEdit?a.$t("general.update"):a.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,ce)]),_:1},8,["show"])}}};export{ye as _}; diff --git a/public/build/assets/NotesSetting.742e9ae2.js b/public/build/assets/NotesSetting.5d0ab746.js similarity index 82% rename from public/build/assets/NotesSetting.742e9ae2.js rename to public/build/assets/NotesSetting.5d0ab746.js index c187e081e..0f731851a 100644 --- a/public/build/assets/NotesSetting.742e9ae2.js +++ b/public/build/assets/NotesSetting.5d0ab746.js @@ -1 +1 @@ -import{g as k,u as T,am as j,r,o as p,s as f,w as t,y as c,b as u,v as z,x as S,A as C,i as E,k as O,c as F,z as P,F as G,j as V}from"./vendor.e9042f2c.js";import{i as x,u as I,r as A,d as M,g as $,e as D}from"./main.c4ed6aa9.js";import{_ as H}from"./NoteModal.ce9830bd.js";const L={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(g){const d=g,N=x(),_=I(),{t:a}=k(),o=A(),h=T(),y=M(),b=$();j("utils");function w(n){o.fetchNote(n),b.openModal({title:a("settings.customization.notes.edit_note"),componentName:"NoteModal",size:"md",refreshData:d.loadData})}function s(n){N.openDialog({title:a("general.are_you_sure"),message:a("settings.customization.notes.note_confirm_delete"),yesLabel:a("general.yes"),noLabel:a("general.no"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async()=>{(await o.deleteNote(n)).data.success?_.showNotification({type:"success",message:a("settings.customization.notes.deleted_message")}):_.showNotification({type:"error",message:a("settings.customization.notes.already_in_use")}),d.loadData&&d.loadData()})}return(n,e)=>{const i=r("BaseIcon"),m=r("BaseButton"),B=r("BaseDropdownItem"),l=r("BaseDropdown");return p(),f(l,null,{activator:t(()=>[c(h).name==="notes.view"?(p(),f(m,{key:0,variant:"primary"},{default:t(()=>[u(i,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(p(),f(i,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:t(()=>[c(y).hasAbilities(c(D).MANAGE_NOTE)?(p(),f(B,{key:0,onClick:e[0]||(e[0]=v=>w(g.row.id))},{default:t(()=>[u(i,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),z(" "+S(n.$t("general.edit")),1)]),_:1})):C("",!0),c(y).hasAbilities(c(D).MANAGE_NOTE)?(p(),f(B,{key:1,onClick:e[1]||(e[1]=v=>s(g.row.id))},{default:t(()=>[u(i,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),z(" "+S(n.$t("general.delete")),1)]),_:1})):C("",!0)]),_:1})}}},J={setup(g){const{t:d}=k(),N=$();x();const _=A();I();const a=M(),o=E(""),h=O(()=>[{key:"name",label:d("settings.customization.notes.name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"type",label:d("settings.customization.notes.type"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]);async function y({page:s,filter:n,sort:e}){let i=V({orderByField:e.fieldName||"created_at",orderBy:e.order||"desc",page:s}),m=await _.fetchNotes(i);return{data:m.data.data,pagination:{totalPages:m.data.meta.last_page,currentPage:s,totalCount:m.data.meta.total,limit:5}}}async function b(){await N.openModal({title:d("settings.customization.notes.add_note"),componentName:"NoteModal",size:"md",refreshData:o.value&&o.value.refresh})}async function w(){o.value&&o.value.refresh()}return(s,n)=>{const e=r("BaseIcon"),i=r("BaseButton"),m=r("BaseTable"),B=r("BaseSettingCard");return p(),F(G,null,[u(H),u(B,{title:s.$t("settings.customization.notes.title"),description:s.$t("settings.customization.notes.description")},{action:t(()=>[c(a).hasAbilities(c(D).MANAGE_NOTE)?(p(),f(i,{key:0,variant:"primary-outline",onClick:b},{left:t(l=>[u(e,{class:P(l.class),name:"PlusIcon"},null,8,["class"])]),default:t(()=>[z(" "+S(s.$t("settings.customization.notes.add_note")),1)]),_:1})):C("",!0)]),default:t(()=>[u(m,{ref:(l,v)=>{v.table=l,o.value=l},data:y,columns:c(h),class:"mt-14"},{"cell-actions":t(({row:l})=>[u(L,{row:l.data,table:o.value,"load-data":w},null,8,["row","table"])]),_:1},8,["columns"])]),_:1},8,["title","description"])],64)}}};export{J as default}; +import{g as k,u as T,am as j,r,o as f,s as p,w as t,y as c,b as u,v as z,x as S,A as C,i as E,k as O,c as F,z as P,F as G,j as V}from"./vendor.e9042f2c.js";import{i as x,u as I,r as A,d as M,g as $,e as D}from"./main.f55cd568.js";import{_ as H}from"./NoteModal.0435aa4f.js";const L={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(g){const d=g,N=x(),_=I(),{t:a}=k(),o=A(),h=T(),y=M(),b=$();j("utils");function w(n){o.fetchNote(n),b.openModal({title:a("settings.customization.notes.edit_note"),componentName:"NoteModal",size:"md",refreshData:d.loadData})}function s(n){N.openDialog({title:a("general.are_you_sure"),message:a("settings.customization.notes.note_confirm_delete"),yesLabel:a("general.yes"),noLabel:a("general.no"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async()=>{(await o.deleteNote(n)).data.success?_.showNotification({type:"success",message:a("settings.customization.notes.deleted_message")}):_.showNotification({type:"error",message:a("settings.customization.notes.already_in_use")}),d.loadData&&d.loadData()})}return(n,e)=>{const i=r("BaseIcon"),m=r("BaseButton"),B=r("BaseDropdownItem"),l=r("BaseDropdown");return f(),p(l,null,{activator:t(()=>[c(h).name==="notes.view"?(f(),p(m,{key:0,variant:"primary"},{default:t(()=>[u(i,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(f(),p(i,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:t(()=>[c(y).hasAbilities(c(D).MANAGE_NOTE)?(f(),p(B,{key:0,onClick:e[0]||(e[0]=v=>w(g.row.id))},{default:t(()=>[u(i,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),z(" "+S(n.$t("general.edit")),1)]),_:1})):C("",!0),c(y).hasAbilities(c(D).MANAGE_NOTE)?(f(),p(B,{key:1,onClick:e[1]||(e[1]=v=>s(g.row.id))},{default:t(()=>[u(i,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),z(" "+S(n.$t("general.delete")),1)]),_:1})):C("",!0)]),_:1})}}},J={setup(g){const{t:d}=k(),N=$();x();const _=A();I();const a=M(),o=E(""),h=O(()=>[{key:"name",label:d("settings.customization.notes.name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"type",label:d("settings.customization.notes.type"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]);async function y({page:s,filter:n,sort:e}){let i=V({orderByField:e.fieldName||"created_at",orderBy:e.order||"desc",page:s}),m=await _.fetchNotes(i);return{data:m.data.data,pagination:{totalPages:m.data.meta.last_page,currentPage:s,totalCount:m.data.meta.total,limit:5}}}async function b(){await N.openModal({title:d("settings.customization.notes.add_note"),componentName:"NoteModal",size:"md",refreshData:o.value&&o.value.refresh})}async function w(){o.value&&o.value.refresh()}return(s,n)=>{const e=r("BaseIcon"),i=r("BaseButton"),m=r("BaseTable"),B=r("BaseSettingCard");return f(),F(G,null,[u(H),u(B,{title:s.$t("settings.customization.notes.title"),description:s.$t("settings.customization.notes.description")},{action:t(()=>[c(a).hasAbilities(c(D).MANAGE_NOTE)?(f(),p(i,{key:0,variant:"primary-outline",onClick:b},{left:t(l=>[u(e,{class:P(l.class),name:"PlusIcon"},null,8,["class"])]),default:t(()=>[z(" "+S(s.$t("settings.customization.notes.add_note")),1)]),_:1})):C("",!0)]),default:t(()=>[u(m,{ref:(l,v)=>{v.table=l,o.value=l},data:y,columns:c(h),class:"mt-14"},{"cell-actions":t(({row:l})=>[u(L,{row:l.data,table:o.value,"load-data":w},null,8,["row","table"])]),_:1},8,["columns"])]),_:1},8,["title","description"])],64)}}};export{J as default}; diff --git a/public/build/assets/NotificationsSetting.6b125468.js b/public/build/assets/NotificationsSetting.4dd65413.js similarity index 97% rename from public/build/assets/NotificationsSetting.6b125468.js rename to public/build/assets/NotificationsSetting.4dd65413.js index 753eeaecb..1d9c23a1d 100644 --- a/public/build/assets/NotificationsSetting.6b125468.js +++ b/public/build/assets/NotificationsSetting.4dd65413.js @@ -1 +1 @@ -import{i as h,g as k,j as E,k as m,m as y,n as F,a2 as M,q as Y,r as o,o as w,s as S,w as u,t as v,b as d,y as i,z as j,A as D,v as U,x as z,B as G,a0 as B}from"./vendor.e9042f2c.js";import{c as O}from"./main.c4ed6aa9.js";const A=["onSubmit"],R={class:"grid-cols-2 col-span-1 mt-14"},T={class:"divide-y divide-gray-200"},L={setup(H){const s=O();let r=h(!1);const{t:f}=k(),n=E({notify_invoice_viewed:s.selectedCompanySettings.notify_invoice_viewed,notify_estimate_viewed:s.selectedCompanySettings.notify_estimate_viewed,notification_email:s.selectedCompanySettings.notification_email}),$=m(()=>({notification_email:{required:y.withMessage(f("validation.required"),F),email:y.withMessage(f("validation.email_incorrect"),M)}})),l=Y($,m(()=>n)),_=m({get:()=>n.notify_invoice_viewed==="YES",set:async e=>{const t=e?"YES":"NO";let c={settings:{notify_invoice_viewed:t}};n.notify_invoice_viewed=t,await s.updateCompanySettings({data:c,message:"general.setting_updated"})}}),p=m({get:()=>n.notify_estimate_viewed==="YES",set:async e=>{const t=e?"YES":"NO";let c={settings:{notify_estimate_viewed:t}};n.notify_estimate_viewed=t,await s.updateCompanySettings({data:c,message:"general.setting_updated"})}});async function V(){if(l.value.$touch(),l.value.$invalid)return!0;r.value=!0;const e={settings:{notification_email:n.notification_email}};await s.updateCompanySettings({data:e,message:"settings.notification.email_save_message"}),r.value=!1}return(e,t)=>{const c=o("BaseInput"),C=o("BaseInputGroup"),b=o("BaseIcon"),I=o("BaseButton"),N=o("BaseDivider"),g=o("BaseSwitchSection"),q=o("BaseSettingCard");return w(),S(q,{title:e.$t("settings.notification.title"),description:e.$t("settings.notification.description")},{default:u(()=>[v("form",{action:"",onSubmit:G(V,["prevent"])},[v("div",R,[d(C,{error:i(l).notification_email.$error&&i(l).notification_email.$errors[0].$message,label:e.$t("settings.notification.email"),class:"my-2",required:""},{default:u(()=>[d(c,{modelValue:i(n).notification_email,"onUpdate:modelValue":t[0]||(t[0]=a=>i(n).notification_email=a),modelModifiers:{trim:!0},invalid:i(l).notification_email.$error,type:"email",onInput:t[1]||(t[1]=a=>i(l).notification_email.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["error","label"]),d(I,{disabled:i(r),loading:i(r),variant:"primary",type:"submit",class:"mt-6"},{left:u(a=>[i(r)?D("",!0):(w(),S(b,{key:0,class:j(a.class),name:"SaveIcon"},null,8,["class"]))]),default:u(()=>[U(" "+z(e.$tc("settings.notification.save")),1)]),_:1},8,["disabled","loading"])])],40,A),d(N,{class:"mt-6 mb-2"}),v("ul",T,[d(g,{modelValue:i(_),"onUpdate:modelValue":t[2]||(t[2]=a=>B(_)?_.value=a:null),title:e.$t("settings.notification.invoice_viewed"),description:e.$t("settings.notification.invoice_viewed_desc")},null,8,["modelValue","title","description"]),d(g,{modelValue:i(p),"onUpdate:modelValue":t[3]||(t[3]=a=>B(p)?p.value=a:null),title:e.$t("settings.notification.estimate_viewed"),description:e.$t("settings.notification.estimate_viewed_desc")},null,8,["modelValue","title","description"])])]),_:1},8,["title","description"])}}};export{L as default}; +import{i as h,g as k,j as E,k as m,m as y,n as F,a2 as M,q as Y,r as o,o as w,s as S,w as u,t as v,b as d,y as i,z as j,A as D,v as U,x as z,B as G,a0 as B}from"./vendor.e9042f2c.js";import{c as O}from"./main.f55cd568.js";const A=["onSubmit"],R={class:"grid-cols-2 col-span-1 mt-14"},T={class:"divide-y divide-gray-200"},L={setup(H){const s=O();let r=h(!1);const{t:f}=k(),n=E({notify_invoice_viewed:s.selectedCompanySettings.notify_invoice_viewed,notify_estimate_viewed:s.selectedCompanySettings.notify_estimate_viewed,notification_email:s.selectedCompanySettings.notification_email}),$=m(()=>({notification_email:{required:y.withMessage(f("validation.required"),F),email:y.withMessage(f("validation.email_incorrect"),M)}})),l=Y($,m(()=>n)),_=m({get:()=>n.notify_invoice_viewed==="YES",set:async e=>{const t=e?"YES":"NO";let c={settings:{notify_invoice_viewed:t}};n.notify_invoice_viewed=t,await s.updateCompanySettings({data:c,message:"general.setting_updated"})}}),p=m({get:()=>n.notify_estimate_viewed==="YES",set:async e=>{const t=e?"YES":"NO";let c={settings:{notify_estimate_viewed:t}};n.notify_estimate_viewed=t,await s.updateCompanySettings({data:c,message:"general.setting_updated"})}});async function V(){if(l.value.$touch(),l.value.$invalid)return!0;r.value=!0;const e={settings:{notification_email:n.notification_email}};await s.updateCompanySettings({data:e,message:"settings.notification.email_save_message"}),r.value=!1}return(e,t)=>{const c=o("BaseInput"),C=o("BaseInputGroup"),b=o("BaseIcon"),I=o("BaseButton"),N=o("BaseDivider"),g=o("BaseSwitchSection"),q=o("BaseSettingCard");return w(),S(q,{title:e.$t("settings.notification.title"),description:e.$t("settings.notification.description")},{default:u(()=>[v("form",{action:"",onSubmit:G(V,["prevent"])},[v("div",R,[d(C,{error:i(l).notification_email.$error&&i(l).notification_email.$errors[0].$message,label:e.$t("settings.notification.email"),class:"my-2",required:""},{default:u(()=>[d(c,{modelValue:i(n).notification_email,"onUpdate:modelValue":t[0]||(t[0]=a=>i(n).notification_email=a),modelModifiers:{trim:!0},invalid:i(l).notification_email.$error,type:"email",onInput:t[1]||(t[1]=a=>i(l).notification_email.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["error","label"]),d(I,{disabled:i(r),loading:i(r),variant:"primary",type:"submit",class:"mt-6"},{left:u(a=>[i(r)?D("",!0):(w(),S(b,{key:0,class:j(a.class),name:"SaveIcon"},null,8,["class"]))]),default:u(()=>[U(" "+z(e.$tc("settings.notification.save")),1)]),_:1},8,["disabled","loading"])])],40,A),d(N,{class:"mt-6 mb-2"}),v("ul",T,[d(g,{modelValue:i(_),"onUpdate:modelValue":t[2]||(t[2]=a=>B(_)?_.value=a:null),title:e.$t("settings.notification.invoice_viewed"),description:e.$t("settings.notification.invoice_viewed_desc")},null,8,["modelValue","title","description"]),d(g,{modelValue:i(p),"onUpdate:modelValue":t[3]||(t[3]=a=>B(p)?p.value=a:null),title:e.$t("settings.notification.estimate_viewed"),description:e.$t("settings.notification.estimate_viewed_desc")},null,8,["modelValue","title","description"])])]),_:1},8,["title","description"])}}};export{L as default}; diff --git a/public/build/assets/PaymentModeModal.dee8838b.js b/public/build/assets/PaymentModeModal.83905526.js similarity index 80% rename from public/build/assets/PaymentModeModal.dee8838b.js rename to public/build/assets/PaymentModeModal.83905526.js index c40524758..f68f1cc65 100644 --- a/public/build/assets/PaymentModeModal.dee8838b.js +++ b/public/build/assets/PaymentModeModal.83905526.js @@ -1 +1 @@ -import{g as I,i as S,k as p,m as P,n as V,p as C,q as k,r as u,o as q,s as j,w as r,t as c,v as y,x as v,y as t,b as s,z as x,B as N}from"./vendor.e9042f2c.js";import{g as z,o as D}from"./main.c4ed6aa9.js";const G={class:"flex justify-between w-full"},L=["onSubmit"],T={class:"p-4 sm:p-6"},A={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},F={setup(U){const o=z(),e=D(),{t:M}=I(),l=S(!1),g=p(()=>({currentPaymentMode:{name:{required:P.withMessage(M("validation.required"),V),minLength:P.withMessage(M("validation.name_min_length",{count:3}),C(3))}}})),a=k(g,p(()=>e)),h=p(()=>o.active&&o.componentName==="PaymentModeModal");async function B(){if(a.value.currentPaymentMode.$touch(),a.value.currentPaymentMode.$invalid)return!0;try{const n=e.currentPaymentMode.id?e.updatePaymentMode:e.addPaymentMode;l.value=!0,await n(e.currentPaymentMode),l.value=!1,o.refreshData&&o.refreshData(),d()}catch{return l.value=!1,!0}}function d(){o.closeModal(),setTimeout(()=>{a.value.$reset(),e.currentPaymentMode={id:"",name:null}})}return(n,i)=>{const f=u("BaseIcon"),b=u("BaseInput"),$=u("BaseInputGroup"),_=u("BaseButton"),w=u("BaseModal");return q(),j(w,{show:t(h),onClose:d},{header:r(()=>[c("div",G,[y(v(t(o).title)+" ",1),s(f,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:d})])]),default:r(()=>[c("form",{action:"",onSubmit:N(B,["prevent"])},[c("div",T,[s($,{label:n.$t("settings.payment_modes.mode_name"),error:t(a).currentPaymentMode.name.$error&&t(a).currentPaymentMode.name.$errors[0].$message,required:""},{default:r(()=>[s(b,{modelValue:t(e).currentPaymentMode.name,"onUpdate:modelValue":i[0]||(i[0]=m=>t(e).currentPaymentMode.name=m),invalid:t(a).currentPaymentMode.name.$error,onInput:i[1]||(i[1]=m=>t(a).currentPaymentMode.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),c("div",A,[s(_,{variant:"primary-outline",class:"mr-3",type:"button",onClick:d},{default:r(()=>[y(v(n.$t("general.cancel")),1)]),_:1}),s(_,{loading:l.value,disabled:l.value,variant:"primary",type:"submit"},{left:r(m=>[s(f,{name:"SaveIcon",class:x(m.class)},null,8,["class"])]),default:r(()=>[y(" "+v(t(e).currentPaymentMode.id?n.$t("general.update"):n.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,L)]),_:1},8,["show"])}}};export{F as _}; +import{g as I,i as S,k as p,m as P,n as V,p as C,q as k,r as u,o as q,s as j,w as r,t as c,v as y,x as v,y as t,b as s,z as x,B as N}from"./vendor.e9042f2c.js";import{g as z,o as D}from"./main.f55cd568.js";const G={class:"flex justify-between w-full"},L=["onSubmit"],T={class:"p-4 sm:p-6"},A={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},F={setup(U){const o=z(),e=D(),{t:f}=I(),l=S(!1),g=p(()=>({currentPaymentMode:{name:{required:P.withMessage(f("validation.required"),V),minLength:P.withMessage(f("validation.name_min_length",{count:3}),C(3))}}})),a=k(g,p(()=>e)),h=p(()=>o.active&&o.componentName==="PaymentModeModal");async function B(){if(a.value.currentPaymentMode.$touch(),a.value.currentPaymentMode.$invalid)return!0;try{const n=e.currentPaymentMode.id?e.updatePaymentMode:e.addPaymentMode;l.value=!0,await n(e.currentPaymentMode),l.value=!1,o.refreshData&&o.refreshData(),d()}catch{return l.value=!1,!0}}function d(){o.closeModal(),setTimeout(()=>{a.value.$reset(),e.currentPaymentMode={id:"",name:null}})}return(n,i)=>{const M=u("BaseIcon"),b=u("BaseInput"),$=u("BaseInputGroup"),_=u("BaseButton"),w=u("BaseModal");return q(),j(w,{show:t(h),onClose:d},{header:r(()=>[c("div",G,[y(v(t(o).title)+" ",1),s(M,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:d})])]),default:r(()=>[c("form",{action:"",onSubmit:N(B,["prevent"])},[c("div",T,[s($,{label:n.$t("settings.payment_modes.mode_name"),error:t(a).currentPaymentMode.name.$error&&t(a).currentPaymentMode.name.$errors[0].$message,required:""},{default:r(()=>[s(b,{modelValue:t(e).currentPaymentMode.name,"onUpdate:modelValue":i[0]||(i[0]=m=>t(e).currentPaymentMode.name=m),invalid:t(a).currentPaymentMode.name.$error,onInput:i[1]||(i[1]=m=>t(a).currentPaymentMode.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),c("div",A,[s(_,{variant:"primary-outline",class:"mr-3",type:"button",onClick:d},{default:r(()=>[y(v(n.$t("general.cancel")),1)]),_:1}),s(_,{loading:l.value,disabled:l.value,variant:"primary",type:"submit"},{left:r(m=>[s(M,{name:"SaveIcon",class:x(m.class)},null,8,["class"])]),default:r(()=>[y(" "+v(t(e).currentPaymentMode.id?n.$t("general.update"):n.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,L)]),_:1},8,["show"])}}};export{F as _}; diff --git a/public/build/assets/PaymentsModeSetting.4ecc7bb2.js b/public/build/assets/PaymentsModeSetting.4ecc7bb2.js new file mode 100644 index 000000000..22ba53263 --- /dev/null +++ b/public/build/assets/PaymentsModeSetting.4ecc7bb2.js @@ -0,0 +1 @@ +import{g as D,u as I,am as x,r as d,o as p,s as v,w as a,y as M,b as t,v as b,x as w,i as $,k as z,c as N,z as j,F as T}from"./vendor.e9042f2c.js";import{i as P,u as F,o as C,d as H,g as S}from"./main.f55cd568.js";import{_ as L}from"./PaymentModeModal.83905526.js";const O={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(u){const c=u,y=P();F();const{t:s}=D(),o=C(),f=I();H();const _=S();x("utils");function g(e){o.fetchPaymentMode(e),_.openModal({title:s("settings.payment_modes.edit_payment_mode"),componentName:"PaymentModeModal",refreshData:c.loadData&&c.loadData,size:"sm"})}function B(e){y.openDialog({title:s("general.are_you_sure"),message:s("settings.payment_modes.payment_mode_confirm_delete"),yesLabel:s("general.ok"),noLabel:s("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async l=>{l&&(await o.deletePaymentMode(e),c.loadData&&c.loadData())})}return(e,l)=>{const n=d("BaseIcon"),i=d("BaseButton"),r=d("BaseDropdownItem"),h=d("BaseDropdown");return p(),v(h,null,{activator:a(()=>[M(f).name==="paymentModes.view"?(p(),v(i,{key:0,variant:"primary"},{default:a(()=>[t(n,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(p(),v(n,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:a(()=>[t(r,{onClick:l[0]||(l[0]=m=>g(u.row.id))},{default:a(()=>[t(n,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),b(" "+w(e.$t("general.edit")),1)]),_:1}),t(r,{onClick:l[1]||(l[1]=m=>B(u.row.id))},{default:a(()=>[t(n,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),b(" "+w(e.$t("general.delete")),1)]),_:1})]),_:1})}}},U={setup(u){const c=S();P();const y=C(),{t:s}=D(),o=$(null),f=z(()=>[{key:"name",label:s("settings.payment_modes.mode_name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]);async function _(){o.value&&o.value.refresh()}async function g({page:e,filter:l,sort:n}){let i={orderByField:n.fieldName||"created_at",orderBy:n.order||"desc",page:e},r=await y.fetchPaymentModes(i);return{data:r.data.data,pagination:{totalPages:r.data.meta.last_page,currentPage:e,totalCount:r.data.meta.total,limit:5}}}function B(){c.openModal({title:s("settings.payment_modes.add_payment_mode"),componentName:"PaymentModeModal",refreshData:o.value&&o.value.refresh,size:"sm"})}return(e,l)=>{const n=d("BaseIcon"),i=d("BaseButton"),r=d("BaseTable"),h=d("BaseSettingCard");return p(),N(T,null,[t(L),t(h,{title:e.$t("settings.payment_modes.title"),description:e.$t("settings.payment_modes.description")},{action:a(()=>[t(i,{type:"submit",variant:"primary-outline",onClick:B},{left:a(m=>[t(n,{class:j(m.class),name:"PlusIcon"},null,8,["class"])]),default:a(()=>[b(" "+w(e.$t("settings.payment_modes.add_payment_mode")),1)]),_:1})]),default:a(()=>[t(r,{ref:(m,k)=>{k.table=m,o.value=m},data:g,columns:M(f),class:"mt-16"},{"cell-actions":a(({row:m})=>[t(O,{row:m.data,table:o.value,"load-data":_},null,8,["row","table"])]),_:1},8,["columns"])]),_:1},8,["title","description"])],64)}}};export{U as default}; diff --git a/public/build/assets/PaymentsModeSetting.ce20c8a7.js b/public/build/assets/PaymentsModeSetting.ce20c8a7.js deleted file mode 100644 index 03637a6ef..000000000 --- a/public/build/assets/PaymentsModeSetting.ce20c8a7.js +++ /dev/null @@ -1 +0,0 @@ -import{g as D,u as I,am as x,r as d,o as p,s as b,w as a,y as M,b as t,v,x as w,i as $,k as z,c as N,z as j,F as T}from"./vendor.e9042f2c.js";import{i as P,u as F,o as C,d as H,g as S}from"./main.c4ed6aa9.js";import{_ as L}from"./PaymentModeModal.dee8838b.js";const O={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(u){const c=u,y=P();F();const{t:s}=D(),o=C(),_=I();H();const f=S();x("utils");function g(e){o.fetchPaymentMode(e),f.openModal({title:s("settings.payment_modes.edit_payment_mode"),componentName:"PaymentModeModal",refreshData:c.loadData&&c.loadData,size:"sm"})}function B(e){y.openDialog({title:s("general.are_you_sure"),message:s("settings.payment_modes.payment_mode_confirm_delete"),yesLabel:s("general.ok"),noLabel:s("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async l=>{l&&(await o.deletePaymentMode(e),c.loadData&&c.loadData())})}return(e,l)=>{const n=d("BaseIcon"),i=d("BaseButton"),r=d("BaseDropdownItem"),h=d("BaseDropdown");return p(),b(h,null,{activator:a(()=>[M(_).name==="paymentModes.view"?(p(),b(i,{key:0,variant:"primary"},{default:a(()=>[t(n,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(p(),b(n,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:a(()=>[t(r,{onClick:l[0]||(l[0]=m=>g(u.row.id))},{default:a(()=>[t(n,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),v(" "+w(e.$t("general.edit")),1)]),_:1}),t(r,{onClick:l[1]||(l[1]=m=>B(u.row.id))},{default:a(()=>[t(n,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),v(" "+w(e.$t("general.delete")),1)]),_:1})]),_:1})}}},U={setup(u){const c=S();P();const y=C(),{t:s}=D(),o=$(null),_=z(()=>[{key:"name",label:s("settings.payment_modes.mode_name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]);async function f(){o.value&&o.value.refresh()}async function g({page:e,filter:l,sort:n}){let i={orderByField:n.fieldName||"created_at",orderBy:n.order||"desc",page:e},r=await y.fetchPaymentModes(i);return{data:r.data.data,pagination:{totalPages:r.data.meta.last_page,currentPage:e,totalCount:r.data.meta.total,limit:5}}}function B(){c.openModal({title:s("settings.payment_modes.add_payment_mode"),componentName:"PaymentModeModal",refreshData:o.value&&o.value.refresh,size:"sm"})}return(e,l)=>{const n=d("BaseIcon"),i=d("BaseButton"),r=d("BaseTable"),h=d("BaseSettingCard");return p(),N(T,null,[t(L),t(h,{title:e.$t("settings.payment_modes.title"),description:e.$t("settings.payment_modes.description")},{action:a(()=>[t(i,{type:"submit",variant:"primary-outline",onClick:B},{left:a(m=>[t(n,{class:j(m.class),name:"PlusIcon"},null,8,["class"])]),default:a(()=>[v(" "+w(e.$t("settings.payment_modes.add_payment_mode")),1)]),_:1})]),default:a(()=>[t(r,{ref:(m,k)=>{k.table=m,o.value=m},data:g,columns:M(_),class:"mt-16"},{"cell-actions":a(({row:m})=>[t(O,{row:m.data,table:o.value,"load-data":f},null,8,["row","table"])]),_:1},8,["columns"])]),_:1},8,["title","description"])],64)}}};export{U as default}; diff --git a/public/build/assets/PreferencesSetting.44c3d41b.js b/public/build/assets/PreferencesSetting.828ac2a0.js similarity index 98% rename from public/build/assets/PreferencesSetting.44c3d41b.js rename to public/build/assets/PreferencesSetting.828ac2a0.js index 411a92476..2c0fed54f 100644 --- a/public/build/assets/PreferencesSetting.44c3d41b.js +++ b/public/build/assets/PreferencesSetting.828ac2a0.js @@ -1 +1 @@ -var U=Object.defineProperty;var V=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var S=(m,l,t)=>l in m?U(m,l,{enumerable:!0,configurable:!0,writable:!0,value:t}):m[l]=t,B=(m,l)=>{for(var t in l||(l={}))G.call(l,t)&&S(m,t,l[t]);if(V)for(var t of V(l))j.call(l,t)&&S(m,t,l[t]);return m};import{g as N,i as q,j as E,k as y,D as P,m as f,n as _,q as O,r as g,o as T,c as Y,b as s,w as u,y as e,z as Z,v as R,x as A,t as H,a0 as J,B as K}from"./vendor.e9042f2c.js";import{c as L,m as Q}from"./main.c4ed6aa9.js";const W=["onSubmit"],X={class:"divide-y divide-gray-200"},ne={setup(m){const l=L(),t=Q(),{t:p,tm:x}=N();let b=q(!1),i=q(!1);const o=E(B({},l.selectedCompanySettings));y(()=>t.config.retrospective_edits.map(a=>(a.title=p(a.key),a))),P(()=>o.carbon_date_format,a=>{if(a){const r=t.dateFormats.find(c=>c.carbon_format_value===a);o.moment_date_format=r.moment_format_value}});const $=y({get:()=>o.discount_per_item==="YES",set:async a=>{const r=a?"YES":"NO";let c={settings:{discount_per_item:r}};o.discount_per_item=r,await l.updateCompanySettings({data:c,message:"general.setting_updated"})}}),w=y(()=>({currency:{required:f.withMessage(p("validation.required"),_)},language:{required:f.withMessage(p("validation.required"),_)},carbon_date_format:{required:f.withMessage(p("validation.required"),_)},moment_date_format:{required:f.withMessage(p("validation.required"),_)},time_zone:{required:f.withMessage(p("validation.required"),_)},fiscal_year:{required:f.withMessage(p("validation.required"),_)}})),n=O(w,y(()=>o));h();async function h(){i.value=!0,Promise.all([t.fetchCurrencies(),t.fetchDateFormats(),t.fetchTimeZones()]).then(([a])=>{i.value=!1})}async function k(){n.value.$touch(),!n.value.$invalid&&(b.value=!0,await l.updateCompanySettings({data:{settings:B({},o)},message:"settings.preferences.updated_message"}),b.value=!1)}return(a,r)=>{const c=g("BaseMultiselect"),v=g("BaseInputGroup"),I=g("BaseInputGrid"),C=g("BaseIcon"),z=g("BaseButton"),M=g("BaseDivider"),D=g("BaseSwitchSection"),F=g("BaseSettingCard");return T(),Y("form",{action:"",class:"relative",onSubmit:K(k,["prevent"])},[s(F,{title:a.$t("settings.menu_title.preferences"),description:a.$t("settings.preferences.general_settings")},{default:u(()=>[s(I,{class:"mt-5"},{default:u(()=>[s(v,{"content-loading":e(i),label:a.$tc("settings.preferences.currency"),"help-text":a.$t("settings.preferences.company_currency_unchangeable"),error:e(n).currency.$error&&e(n).currency.$errors[0].$message,required:""},{default:u(()=>[s(c,{modelValue:e(o).currency,"onUpdate:modelValue":r[0]||(r[0]=d=>e(o).currency=d),"content-loading":e(i),options:e(t).currencies,label:"name","value-prop":"id",searchable:!0,"track-by":"name",invalid:e(n).currency.$error,disabled:"",class:"w-full"},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["content-loading","label","help-text","error"]),s(v,{label:a.$tc("settings.preferences.default_language"),"content-loading":e(i),error:e(n).language.$error&&e(n).language.$errors[0].$message,required:""},{default:u(()=>[s(c,{modelValue:e(o).language,"onUpdate:modelValue":r[1]||(r[1]=d=>e(o).language=d),"content-loading":e(i),options:e(t).config.languages,label:"name","value-prop":"code",class:"w-full","track-by":"code",searchable:!0,invalid:e(n).language.$error},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),s(v,{label:a.$tc("settings.preferences.time_zone"),"content-loading":e(i),error:e(n).time_zone.$error&&e(n).time_zone.$errors[0].$message,required:""},{default:u(()=>[s(c,{modelValue:e(o).time_zone,"onUpdate:modelValue":r[2]||(r[2]=d=>e(o).time_zone=d),"content-loading":e(i),options:e(t).timeZones,label:"key","value-prop":"value","track-by":"key",searchable:!0,invalid:e(n).time_zone.$error},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),s(v,{label:a.$tc("settings.preferences.date_format"),"content-loading":e(i),error:e(n).carbon_date_format.$error&&e(n).carbon_date_format.$errors[0].$message,required:""},{default:u(()=>[s(c,{modelValue:e(o).carbon_date_format,"onUpdate:modelValue":r[3]||(r[3]=d=>e(o).carbon_date_format=d),"content-loading":e(i),options:e(t).dateFormats,label:"display_date","value-prop":"carbon_format_value","track-by":"carbon_format_value",searchable:"",invalid:e(n).carbon_date_format.$error,class:"w-full"},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),s(v,{"content-loading":e(i),error:e(n).fiscal_year.$error&&e(n).fiscal_year.$errors[0].$message,label:a.$tc("settings.preferences.fiscal_year"),required:""},{default:u(()=>[s(c,{modelValue:e(o).fiscal_year,"onUpdate:modelValue":r[4]||(r[4]=d=>e(o).fiscal_year=d),"content-loading":e(i),options:e(t).config.fiscal_years,label:"key","value-prop":"value",invalid:e(n).fiscal_year.$error,"track-by":"key",searchable:!0,class:"w-full"},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["content-loading","error","label"])]),_:1}),s(z,{"content-loading":e(i),disabled:e(b),loading:e(b),type:"submit",class:"mt-6"},{left:u(d=>[s(C,{name:"SaveIcon",class:Z(d.class)},null,8,["class"])]),default:u(()=>[R(" "+A(a.$tc("settings.company_info.save")),1)]),_:1},8,["content-loading","disabled","loading"]),s(M,{class:"mt-6 mb-2"}),H("ul",X,[s(D,{modelValue:e($),"onUpdate:modelValue":r[5]||(r[5]=d=>J($)?$.value=d:null),title:a.$t("settings.preferences.discount_per_item"),description:a.$t("settings.preferences.discount_setting_description")},null,8,["modelValue","title","description"])])]),_:1},8,["title","description"])],40,W)}}};export{ne as default}; +var U=Object.defineProperty;var V=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var S=(m,l,t)=>l in m?U(m,l,{enumerable:!0,configurable:!0,writable:!0,value:t}):m[l]=t,B=(m,l)=>{for(var t in l||(l={}))G.call(l,t)&&S(m,t,l[t]);if(V)for(var t of V(l))j.call(l,t)&&S(m,t,l[t]);return m};import{g as N,i as q,j as E,k as y,D as P,m as f,n as _,q as O,r as g,o as T,c as Y,b as s,w as u,y as e,z as Z,v as R,x as A,t as H,a0 as J,B as K}from"./vendor.e9042f2c.js";import{c as L,m as Q}from"./main.f55cd568.js";const W=["onSubmit"],X={class:"divide-y divide-gray-200"},ne={setup(m){const l=L(),t=Q(),{t:p,tm:x}=N();let b=q(!1),i=q(!1);const o=E(B({},l.selectedCompanySettings));y(()=>t.config.retrospective_edits.map(a=>(a.title=p(a.key),a))),P(()=>o.carbon_date_format,a=>{if(a){const r=t.dateFormats.find(c=>c.carbon_format_value===a);o.moment_date_format=r.moment_format_value}});const $=y({get:()=>o.discount_per_item==="YES",set:async a=>{const r=a?"YES":"NO";let c={settings:{discount_per_item:r}};o.discount_per_item=r,await l.updateCompanySettings({data:c,message:"general.setting_updated"})}}),w=y(()=>({currency:{required:f.withMessage(p("validation.required"),_)},language:{required:f.withMessage(p("validation.required"),_)},carbon_date_format:{required:f.withMessage(p("validation.required"),_)},moment_date_format:{required:f.withMessage(p("validation.required"),_)},time_zone:{required:f.withMessage(p("validation.required"),_)},fiscal_year:{required:f.withMessage(p("validation.required"),_)}})),n=O(w,y(()=>o));h();async function h(){i.value=!0,Promise.all([t.fetchCurrencies(),t.fetchDateFormats(),t.fetchTimeZones()]).then(([a])=>{i.value=!1})}async function k(){n.value.$touch(),!n.value.$invalid&&(b.value=!0,await l.updateCompanySettings({data:{settings:B({},o)},message:"settings.preferences.updated_message"}),b.value=!1)}return(a,r)=>{const c=g("BaseMultiselect"),v=g("BaseInputGroup"),I=g("BaseInputGrid"),C=g("BaseIcon"),z=g("BaseButton"),M=g("BaseDivider"),D=g("BaseSwitchSection"),F=g("BaseSettingCard");return T(),Y("form",{action:"",class:"relative",onSubmit:K(k,["prevent"])},[s(F,{title:a.$t("settings.menu_title.preferences"),description:a.$t("settings.preferences.general_settings")},{default:u(()=>[s(I,{class:"mt-5"},{default:u(()=>[s(v,{"content-loading":e(i),label:a.$tc("settings.preferences.currency"),"help-text":a.$t("settings.preferences.company_currency_unchangeable"),error:e(n).currency.$error&&e(n).currency.$errors[0].$message,required:""},{default:u(()=>[s(c,{modelValue:e(o).currency,"onUpdate:modelValue":r[0]||(r[0]=d=>e(o).currency=d),"content-loading":e(i),options:e(t).currencies,label:"name","value-prop":"id",searchable:!0,"track-by":"name",invalid:e(n).currency.$error,disabled:"",class:"w-full"},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["content-loading","label","help-text","error"]),s(v,{label:a.$tc("settings.preferences.default_language"),"content-loading":e(i),error:e(n).language.$error&&e(n).language.$errors[0].$message,required:""},{default:u(()=>[s(c,{modelValue:e(o).language,"onUpdate:modelValue":r[1]||(r[1]=d=>e(o).language=d),"content-loading":e(i),options:e(t).config.languages,label:"name","value-prop":"code",class:"w-full","track-by":"code",searchable:!0,invalid:e(n).language.$error},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),s(v,{label:a.$tc("settings.preferences.time_zone"),"content-loading":e(i),error:e(n).time_zone.$error&&e(n).time_zone.$errors[0].$message,required:""},{default:u(()=>[s(c,{modelValue:e(o).time_zone,"onUpdate:modelValue":r[2]||(r[2]=d=>e(o).time_zone=d),"content-loading":e(i),options:e(t).timeZones,label:"key","value-prop":"value","track-by":"key",searchable:!0,invalid:e(n).time_zone.$error},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),s(v,{label:a.$tc("settings.preferences.date_format"),"content-loading":e(i),error:e(n).carbon_date_format.$error&&e(n).carbon_date_format.$errors[0].$message,required:""},{default:u(()=>[s(c,{modelValue:e(o).carbon_date_format,"onUpdate:modelValue":r[3]||(r[3]=d=>e(o).carbon_date_format=d),"content-loading":e(i),options:e(t).dateFormats,label:"display_date","value-prop":"carbon_format_value","track-by":"carbon_format_value",searchable:"",invalid:e(n).carbon_date_format.$error,class:"w-full"},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),s(v,{"content-loading":e(i),error:e(n).fiscal_year.$error&&e(n).fiscal_year.$errors[0].$message,label:a.$tc("settings.preferences.fiscal_year"),required:""},{default:u(()=>[s(c,{modelValue:e(o).fiscal_year,"onUpdate:modelValue":r[4]||(r[4]=d=>e(o).fiscal_year=d),"content-loading":e(i),options:e(t).config.fiscal_years,label:"key","value-prop":"value",invalid:e(n).fiscal_year.$error,"track-by":"key",searchable:!0,class:"w-full"},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["content-loading","error","label"])]),_:1}),s(z,{"content-loading":e(i),disabled:e(b),loading:e(b),type:"submit",class:"mt-6"},{left:u(d=>[s(C,{name:"SaveIcon",class:Z(d.class)},null,8,["class"])]),default:u(()=>[R(" "+A(a.$tc("settings.company_info.save")),1)]),_:1},8,["content-loading","disabled","loading"]),s(M,{class:"mt-6 mb-2"}),H("ul",X,[s(D,{modelValue:e($),"onUpdate:modelValue":r[5]||(r[5]=d=>J($)?$.value=d:null),title:a.$t("settings.preferences.discount_per_item"),description:a.$t("settings.preferences.discount_setting_description")},null,8,["modelValue","title","description"])])]),_:1},8,["title","description"])],40,W)}}};export{ne as default}; diff --git a/public/build/assets/RecurringInvoiceCreate.d9762a04.js b/public/build/assets/RecurringInvoiceCreate.2830930f.js similarity index 87% rename from public/build/assets/RecurringInvoiceCreate.d9762a04.js rename to public/build/assets/RecurringInvoiceCreate.2830930f.js index 37e42f4d4..08a803931 100644 --- a/public/build/assets/RecurringInvoiceCreate.d9762a04.js +++ b/public/build/assets/RecurringInvoiceCreate.2830930f.js @@ -1 +1 @@ -var X=Object.defineProperty,Y=Object.defineProperties;var Z=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var ee=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable;var D=(e,i,d)=>i in e?X(e,i,{enumerable:!0,configurable:!0,writable:!0,value:d}):e[i]=d,j=(e,i)=>{for(var d in i||(i={}))ee.call(i,d)&&D(e,d,i[d]);if(N)for(var d of N(i))ne.call(i,d)&&D(e,d,i[d]);return e},x=(e,i)=>Y(e,Z(i));import{u as E,i as k,j as ie,k as h,D as P,M as te,r as g,o as b,c as O,t as m,b as r,y as n,x as L,w as u,s as _,A as C,F as A,a9 as re,g as ae,C as oe,m as y,n as q,aU as T,O as le,q as se,z as ce,v as ue,B as de}from"./vendor.e9042f2c.js";import{_ as ge,a as ve,b as me,c as fe,d as ye,e as be}from"./ItemModal.550811d2.js";import{B as G,m as Ie,c as $e,l as we}from"./main.c4ed6aa9.js";import{_ as _e}from"./ExchangeRateConverter.723e246f.js";import{_ as qe}from"./CreateCustomFields.b3e72776.js";import{_ as Re}from"./TaxTypeModal.e84ae727.js";import"./DragIcon.9fdb0cc4.js";import"./SelectNotePopup.957765bc.js";import"./NoteModal.ce9830bd.js";const pe={class:"col-span-5 pr-0"},Be={class:"flex mt-7"},he={class:"relative w-20 mt-8"},Ve={class:"ml-2"},Ce={class:"p-0 mb-1 leading-snug text-left text-black"},Se={class:"p-0 m-0 text-xs leading-tight text-left text-gray-500",style:{"max-width":"480px"}},Fe={class:"grid grid-cols-1 col-span-7 gap-4 mt-8 lg:gap-6 lg:mt-0 lg:grid-cols-2"},Le={props:{v:{type:Object,default:null},isLoading:{type:Boolean,default:!1},isEdit:{type:Boolean,default:!1}},setup(e){const i=e,d=E(),t=G(),R=Ie(),c=k(!1),f=ie([{label:"None",value:"NONE"},{label:"Date",value:"DATE"},{label:"Count",value:"COUNT"}]),S=h(()=>t.newRecurringInvoice.selectedFrequency&&t.newRecurringInvoice.selectedFrequency.value==="CUSTOM"),F=h(()=>i.isEdit?R.config.recurring_invoice_status.update_status:R.config.recurring_invoice_status.create_status);P(()=>t.newRecurringInvoice.selectedFrequency,l=>{t.isFetchingInitialSettings||(l&&l.value!=="CUSTOM"?t.newRecurringInvoice.frequency=l.value:t.newRecurringInvoice.frequency=null)}),te(()=>{d.params.id||B()});function $(l){return t.newRecurringInvoice.limit_by===l}const p=re(()=>{B()},500);async function B(){const l=t.newRecurringInvoice.frequency;if(!l)return;c.value=!0;let a={starts_at:t.newRecurringInvoice.starts_at,frequency:l};try{await t.fetchRecurringInvoiceFrequencyDate(a)}catch(I){console.error(I),c.value=!1}c.value=!1}return(l,a)=>{const I=g("BaseCustomerSelectPopup"),M=g("BaseSwitch"),V=g("BaseDatePicker"),o=g("BaseInputGroup"),v=g("BaseMultiselect"),w=g("BaseInput");return b(),O(A,null,[m("div",pe,[r(I,{modelValue:n(t).newRecurringInvoice.customer,"onUpdate:modelValue":a[0]||(a[0]=s=>n(t).newRecurringInvoice.customer=s),valid:e.v.customer_id,"content-loading":e.isLoading,type:"recurring-invoice"},null,8,["modelValue","valid","content-loading"]),m("div",Be,[m("div",he,[r(M,{modelValue:n(t).newRecurringInvoice.send_automatically,"onUpdate:modelValue":a[1]||(a[1]=s=>n(t).newRecurringInvoice.send_automatically=s),class:"absolute -top-4"},null,8,["modelValue"])]),m("div",Ve,[m("p",Ce,L(l.$t("recurring_invoices.send_automatically")),1),m("p",Se,L(l.$t("recurring_invoices.send_automatically_desc")),1)])])]),m("div",Fe,[r(o,{label:l.$t("recurring_invoices.starts_at"),"content-loading":e.isLoading,required:"",error:e.v.starts_at.$error&&e.v.starts_at.$errors[0].$message},{default:u(()=>[r(V,{modelValue:n(t).newRecurringInvoice.starts_at,"onUpdate:modelValue":a[2]||(a[2]=s=>n(t).newRecurringInvoice.starts_at=s),"content-loading":e.isLoading,"calendar-button":!0,"calendar-button-icon":"calendar",invalid:e.v.starts_at.$error,onChange:a[3]||(a[3]=s=>B())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),r(o,{label:l.$t("recurring_invoices.next_invoice_date"),"content-loading":e.isLoading,required:""},{default:u(()=>[r(V,{modelValue:n(t).newRecurringInvoice.next_invoice_at,"onUpdate:modelValue":a[4]||(a[4]=s=>n(t).newRecurringInvoice.next_invoice_at=s),"content-loading":e.isLoading,"calendar-button":!0,disabled:!0,loading:c.value,"calendar-button-icon":"calendar"},null,8,["modelValue","content-loading","loading"])]),_:1},8,["label","content-loading"]),r(o,{label:l.$t("recurring_invoices.limit_by"),"content-loading":e.isLoading,class:"lg:mt-0",required:"",error:e.v.limit_by.$error&&e.v.limit_by.$errors[0].$message},{default:u(()=>[r(v,{modelValue:n(t).newRecurringInvoice.limit_by,"onUpdate:modelValue":a[5]||(a[5]=s=>n(t).newRecurringInvoice.limit_by=s),"content-loading":e.isLoading,options:n(f),label:"label",invalid:e.v.limit_by.$error,"value-prop":"value"},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),$("DATE")?(b(),_(o,{key:0,label:l.$t("recurring_invoices.limit_date"),"content-loading":e.isLoading,required:$("DATE"),error:e.v.limit_date.$error&&e.v.limit_date.$errors[0].$message},{default:u(()=>[r(V,{modelValue:n(t).newRecurringInvoice.limit_date,"onUpdate:modelValue":a[6]||(a[6]=s=>n(t).newRecurringInvoice.limit_date=s),"content-loading":e.isLoading,invalid:e.v.limit_date.$error,"calendar-button-icon":"calendar"},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","required","error"])):C("",!0),$("COUNT")?(b(),_(o,{key:1,label:l.$t("recurring_invoices.count"),"content-loading":e.isLoading,required:$("COUNT"),error:e.v.limit_count.$error&&e.v.limit_count.$errors[0].$message},{default:u(()=>[r(w,{modelValue:n(t).newRecurringInvoice.limit_count,"onUpdate:modelValue":a[7]||(a[7]=s=>n(t).newRecurringInvoice.limit_count=s),"content-loading":e.isLoading,invalid:e.v.limit_count.$error,type:"number"},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","required","error"])):C("",!0),r(o,{label:l.$t("recurring_invoices.status"),required:"","content-loading":e.isLoading,error:e.v.status.$error&&e.v.status.$errors[0].$message},{default:u(()=>[r(v,{modelValue:n(t).newRecurringInvoice.status,"onUpdate:modelValue":a[8]||(a[8]=s=>n(t).newRecurringInvoice.status=s),options:n(F),"content-loading":e.isLoading,invalid:e.v.status.$error,placeholder:l.$t("recurring_invoices.select_a_status"),"value-prop":"value",label:"value"},null,8,["modelValue","options","content-loading","invalid","placeholder"])]),_:1},8,["label","content-loading","error"]),r(o,{label:l.$t("recurring_invoices.frequency.select_frequency"),required:"","content-loading":e.isLoading,error:e.v.selectedFrequency.$error&&e.v.selectedFrequency.$errors[0].$message},{default:u(()=>[r(v,{modelValue:n(t).newRecurringInvoice.selectedFrequency,"onUpdate:modelValue":a[9]||(a[9]=s=>n(t).newRecurringInvoice.selectedFrequency=s),"content-loading":e.isLoading,options:n(t).frequencies,label:"label",invalid:e.v.selectedFrequency.$error,object:"",onChange:B},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),n(S)?(b(),_(o,{key:2,label:l.$t("recurring_invoices.frequency.title"),"content-loading":e.isLoading,required:"",error:e.v.frequency.$error&&e.v.frequency.$errors[0].$message},{default:u(()=>[r(w,{modelValue:n(t).newRecurringInvoice.frequency,"onUpdate:modelValue":[a[10]||(a[10]=s=>n(t).newRecurringInvoice.frequency=s),n(p)],"content-loading":e.isLoading,disabled:!n(S),invalid:e.v.frequency.$error,loading:c.value},null,8,["modelValue","content-loading","disabled","invalid","loading","onUpdate:modelValue"])]),_:1},8,["label","content-loading","error"])):C("",!0),r(_e,{store:n(t),"store-prop":"newRecurringInvoice",v:e.v,"is-loading":e.isLoading,"is-edit":e.isEdit,"customer-currency":n(t).newRecurringInvoice.currency_id},null,8,["store","v","is-loading","is-edit","customer-currency"])])],64)}}},Me=["onSubmit"],ke={class:"flex"},Te={class:"grid-cols-12 gap-8 mt-6 mb-8 lg:grid"},Ue={class:"block mt-10 invoice-foot lg:flex lg:justify-between lg:items-start"},Ne={class:"w-full relative lg:w-1/2"},Je={setup(e){const i=G(),d=$e(),t=we(),R="newRecurringInvoice",{t:c}=ae();let f=k(!1);const S=k(["customer","company","customerCustom","invoice","invoiceCustom"]);let F=E(),$=oe(),p=h(()=>i.isFetchingInvoice||i.isFetchingInitialSettings),B=h(()=>l.value?c("recurring_invoices.edit_invoice"):c("recurring_invoices.new_invoice")),l=h(()=>F.name==="recurring-invoices.edit");const a={starts_at:{required:y.withMessage(c("validation.required"),q)},status:{required:y.withMessage(c("validation.required"),q)},frequency:{required:y.withMessage(c("validation.required"),q)},limit_by:{required:y.withMessage(c("validation.required"),q)},limit_date:{required:y.withMessage(c("validation.required"),T(function(){return i.newRecurringInvoice.limit_by==="DATE"}))},limit_count:{required:y.withMessage(c("validation.required"),T(function(){return i.newRecurringInvoice.limit_by==="COUNT"}))},selectedFrequency:{required:y.withMessage(c("validation.required"),q)},customer_id:{required:y.withMessage(c("validation.required"),q)},exchange_rate:{required:T(function(){return y.withMessage(c("validation.required"),q),i.showExchangeRate}),decimal:y.withMessage(c("validation.valid_exchange_rate"),le)}},I=se(a,h(()=>i.newRecurringInvoice),{$scope:R});i.resetCurrentRecurringInvoice(),i.fetchRecurringInvoiceInitialSettings(l.value),t.resetCustomFields(),I.value.$reset,P(()=>i.newRecurringInvoice.customer,o=>{o&&o.currency?i.newRecurringInvoice.currency=o.currency:i.newRecurringInvoice.currency=d.selectedCompanyCurrency});async function M(){if(I.value.$touch(),I.value.$invalid)return!1;f.value=!0;let o=x(j({},i.newRecurringInvoice),{sub_total:i.getSubTotal,total:i.getTotal,tax:i.getTotalTax});F.params.id?i.updateRecurringInvoice(o).then(v=>{v.data.data&&$.push(`/admin/recurring-invoices/${v.data.data.id}/view`),f.value=!1}).catch(v=>{f.value=!1}):V(o)}function V(o){i.addRecurringInvoice(o).then(v=>{v.data.data&&$.push(`/admin/recurring-invoices/${v.data.data.id}/view`),f.value=!1}).catch(v=>{f.value=!1})}return(o,v)=>{const w=g("BaseBreadcrumbItem"),s=g("BaseBreadcrumb"),U=g("BaseButton"),z=g("router-link"),H=g("BaseIcon"),J=g("BasePageHeader"),K=g("BaseScrollPane"),Q=g("BasePage");return b(),O(A,null,[r(ge),r(ve),r(Re),r(Q,{class:"relative invoice-create-page"},{default:u(()=>[m("form",{onSubmit:de(M,["prevent"])},[r(J,{title:n(B)},{actions:u(()=>[r(z,{to:`/invoices/pdf/${n(i).newRecurringInvoice.unique_hash}`},{default:u(()=>[o.$route.name==="invoices.edit"?(b(),_(U,{key:0,target:"_blank",class:"mr-3",variant:"primary-outline",type:"button"},{default:u(()=>[m("span",ke,L(o.$t("general.view_pdf")),1)]),_:1})):C("",!0)]),_:1},8,["to"]),r(U,{loading:n(f),disabled:n(f),variant:"primary",type:"submit"},{left:u(W=>[n(f)?C("",!0):(b(),_(H,{key:0,name:"SaveIcon",class:ce(W.class)},null,8,["class"]))]),default:u(()=>[ue(" "+L(o.$t("recurring_invoices.save_invoice")),1)]),_:1},8,["loading","disabled"])]),default:u(()=>[r(s,null,{default:u(()=>[r(w,{title:o.$t("general.home"),to:"/admin/dashboard"},null,8,["title"]),r(w,{title:o.$t("recurring_invoices.title",2),to:"/admin/recurring-invoices"},null,8,["title"]),o.$route.name==="invoices.edit"?(b(),_(w,{key:0,title:o.$t("recurring_invoices.edit_invoice"),to:"#",active:""},null,8,["title"])):(b(),_(w,{key:1,title:o.$t("recurring_invoices.new_invoice"),to:"#",active:""},null,8,["title"]))]),_:1})]),_:1},8,["title"]),m("div",Te,[r(Le,{v:n(I),"is-loading":n(p),"is-edit":n(l)},null,8,["v","is-loading","is-edit"])]),r(K,null,{default:u(()=>[r(me,{currency:n(i).newRecurringInvoice.currency,"is-loading":n(p),"item-validation-scope":R,store:n(i),"store-prop":"newRecurringInvoice"},null,8,["currency","is-loading","store"]),m("div",Ue,[m("div",Ne,[r(fe,{store:n(i),"store-prop":"newRecurringInvoice",fields:S.value,type:"Invoice"},null,8,["store","fields"]),r(qe,{type:"Invoice","is-edit":n(l),"is-loading":n(p),store:n(i),"store-prop":"newRecurringInvoice","custom-field-scope":R,class:"mb-6"},null,8,["is-edit","is-loading","store"]),r(ye,{store:n(i),"store-prop":"newRecurringInvoice"},null,8,["store"])]),r(be,{currency:n(i).newRecurringInvoice.currency,"is-loading":n(p),store:n(i),"store-prop":"newRecurringInvoice","tax-popup-type":"invoice"},null,8,["currency","is-loading","store"])])]),_:1})],40,Me)]),_:1})],64)}}};export{Je as default}; +var X=Object.defineProperty,Y=Object.defineProperties;var Z=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var ee=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable;var D=(e,i,d)=>i in e?X(e,i,{enumerable:!0,configurable:!0,writable:!0,value:d}):e[i]=d,j=(e,i)=>{for(var d in i||(i={}))ee.call(i,d)&&D(e,d,i[d]);if(N)for(var d of N(i))ne.call(i,d)&&D(e,d,i[d]);return e},x=(e,i)=>Y(e,Z(i));import{u as E,i as k,j as ie,k as h,D as P,M as te,r as g,o as I,c as O,t as m,b as r,y as n,x as L,w as u,s as _,A as C,F as A,a9 as re,g as ae,C as oe,m as y,n as q,aU as T,O as le,q as se,z as ce,v as ue,B as de}from"./vendor.e9042f2c.js";import{_ as ge,a as ve,b as me,c as fe,d as ye,e as Ie}from"./ItemModal.6c4a6110.js";import{B as G,m as be,c as $e,l as we}from"./main.f55cd568.js";import{_ as _e}from"./ExchangeRateConverter.2eb3213d.js";import{_ as qe}from"./CreateCustomFields.31e45d63.js";import{_ as Re}from"./TaxTypeModal.2309f47d.js";import"./DragIcon.0cd95723.js";import"./SelectNotePopup.8c3a3989.js";import"./NoteModal.0435aa4f.js";const pe={class:"col-span-5 pr-0"},Be={class:"flex mt-7"},he={class:"relative w-20 mt-8"},Ve={class:"ml-2"},Ce={class:"p-0 mb-1 leading-snug text-left text-black"},Se={class:"p-0 m-0 text-xs leading-tight text-left text-gray-500",style:{"max-width":"480px"}},Fe={class:"grid grid-cols-1 col-span-7 gap-4 mt-8 lg:gap-6 lg:mt-0 lg:grid-cols-2"},Le={props:{v:{type:Object,default:null},isLoading:{type:Boolean,default:!1},isEdit:{type:Boolean,default:!1}},setup(e){const i=e,d=E(),t=G(),R=be(),c=k(!1),f=ie([{label:"None",value:"NONE"},{label:"Date",value:"DATE"},{label:"Count",value:"COUNT"}]),S=h(()=>t.newRecurringInvoice.selectedFrequency&&t.newRecurringInvoice.selectedFrequency.value==="CUSTOM"),F=h(()=>i.isEdit?R.config.recurring_invoice_status.update_status:R.config.recurring_invoice_status.create_status);P(()=>t.newRecurringInvoice.selectedFrequency,l=>{t.isFetchingInitialSettings||(l&&l.value!=="CUSTOM"?t.newRecurringInvoice.frequency=l.value:t.newRecurringInvoice.frequency=null)}),te(()=>{d.params.id||B()});function $(l){return t.newRecurringInvoice.limit_by===l}const p=re(()=>{B()},500);async function B(){const l=t.newRecurringInvoice.frequency;if(!l)return;c.value=!0;let a={starts_at:t.newRecurringInvoice.starts_at,frequency:l};try{await t.fetchRecurringInvoiceFrequencyDate(a)}catch(b){console.error(b),c.value=!1}c.value=!1}return(l,a)=>{const b=g("BaseCustomerSelectPopup"),M=g("BaseSwitch"),V=g("BaseDatePicker"),o=g("BaseInputGroup"),v=g("BaseMultiselect"),w=g("BaseInput");return I(),O(A,null,[m("div",pe,[r(b,{modelValue:n(t).newRecurringInvoice.customer,"onUpdate:modelValue":a[0]||(a[0]=s=>n(t).newRecurringInvoice.customer=s),valid:e.v.customer_id,"content-loading":e.isLoading,type:"recurring-invoice"},null,8,["modelValue","valid","content-loading"]),m("div",Be,[m("div",he,[r(M,{modelValue:n(t).newRecurringInvoice.send_automatically,"onUpdate:modelValue":a[1]||(a[1]=s=>n(t).newRecurringInvoice.send_automatically=s),class:"absolute -top-4"},null,8,["modelValue"])]),m("div",Ve,[m("p",Ce,L(l.$t("recurring_invoices.send_automatically")),1),m("p",Se,L(l.$t("recurring_invoices.send_automatically_desc")),1)])])]),m("div",Fe,[r(o,{label:l.$t("recurring_invoices.starts_at"),"content-loading":e.isLoading,required:"",error:e.v.starts_at.$error&&e.v.starts_at.$errors[0].$message},{default:u(()=>[r(V,{modelValue:n(t).newRecurringInvoice.starts_at,"onUpdate:modelValue":a[2]||(a[2]=s=>n(t).newRecurringInvoice.starts_at=s),"content-loading":e.isLoading,"calendar-button":!0,"calendar-button-icon":"calendar",invalid:e.v.starts_at.$error,onChange:a[3]||(a[3]=s=>B())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","error"]),r(o,{label:l.$t("recurring_invoices.next_invoice_date"),"content-loading":e.isLoading,required:""},{default:u(()=>[r(V,{modelValue:n(t).newRecurringInvoice.next_invoice_at,"onUpdate:modelValue":a[4]||(a[4]=s=>n(t).newRecurringInvoice.next_invoice_at=s),"content-loading":e.isLoading,"calendar-button":!0,disabled:!0,loading:c.value,"calendar-button-icon":"calendar"},null,8,["modelValue","content-loading","loading"])]),_:1},8,["label","content-loading"]),r(o,{label:l.$t("recurring_invoices.limit_by"),"content-loading":e.isLoading,class:"lg:mt-0",required:"",error:e.v.limit_by.$error&&e.v.limit_by.$errors[0].$message},{default:u(()=>[r(v,{modelValue:n(t).newRecurringInvoice.limit_by,"onUpdate:modelValue":a[5]||(a[5]=s=>n(t).newRecurringInvoice.limit_by=s),"content-loading":e.isLoading,options:n(f),label:"label",invalid:e.v.limit_by.$error,"value-prop":"value"},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),$("DATE")?(I(),_(o,{key:0,label:l.$t("recurring_invoices.limit_date"),"content-loading":e.isLoading,required:$("DATE"),error:e.v.limit_date.$error&&e.v.limit_date.$errors[0].$message},{default:u(()=>[r(V,{modelValue:n(t).newRecurringInvoice.limit_date,"onUpdate:modelValue":a[6]||(a[6]=s=>n(t).newRecurringInvoice.limit_date=s),"content-loading":e.isLoading,invalid:e.v.limit_date.$error,"calendar-button-icon":"calendar"},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","required","error"])):C("",!0),$("COUNT")?(I(),_(o,{key:1,label:l.$t("recurring_invoices.count"),"content-loading":e.isLoading,required:$("COUNT"),error:e.v.limit_count.$error&&e.v.limit_count.$errors[0].$message},{default:u(()=>[r(w,{modelValue:n(t).newRecurringInvoice.limit_count,"onUpdate:modelValue":a[7]||(a[7]=s=>n(t).newRecurringInvoice.limit_count=s),"content-loading":e.isLoading,invalid:e.v.limit_count.$error,type:"number"},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","content-loading","required","error"])):C("",!0),r(o,{label:l.$t("recurring_invoices.status"),required:"","content-loading":e.isLoading,error:e.v.status.$error&&e.v.status.$errors[0].$message},{default:u(()=>[r(v,{modelValue:n(t).newRecurringInvoice.status,"onUpdate:modelValue":a[8]||(a[8]=s=>n(t).newRecurringInvoice.status=s),options:n(F),"content-loading":e.isLoading,invalid:e.v.status.$error,placeholder:l.$t("recurring_invoices.select_a_status"),"value-prop":"value",label:"value"},null,8,["modelValue","options","content-loading","invalid","placeholder"])]),_:1},8,["label","content-loading","error"]),r(o,{label:l.$t("recurring_invoices.frequency.select_frequency"),required:"","content-loading":e.isLoading,error:e.v.selectedFrequency.$error&&e.v.selectedFrequency.$errors[0].$message},{default:u(()=>[r(v,{modelValue:n(t).newRecurringInvoice.selectedFrequency,"onUpdate:modelValue":a[9]||(a[9]=s=>n(t).newRecurringInvoice.selectedFrequency=s),"content-loading":e.isLoading,options:n(t).frequencies,label:"label",invalid:e.v.selectedFrequency.$error,object:"",onChange:B},null,8,["modelValue","content-loading","options","invalid"])]),_:1},8,["label","content-loading","error"]),n(S)?(I(),_(o,{key:2,label:l.$t("recurring_invoices.frequency.title"),"content-loading":e.isLoading,required:"",error:e.v.frequency.$error&&e.v.frequency.$errors[0].$message},{default:u(()=>[r(w,{modelValue:n(t).newRecurringInvoice.frequency,"onUpdate:modelValue":[a[10]||(a[10]=s=>n(t).newRecurringInvoice.frequency=s),n(p)],"content-loading":e.isLoading,disabled:!n(S),invalid:e.v.frequency.$error,loading:c.value},null,8,["modelValue","content-loading","disabled","invalid","loading","onUpdate:modelValue"])]),_:1},8,["label","content-loading","error"])):C("",!0),r(_e,{store:n(t),"store-prop":"newRecurringInvoice",v:e.v,"is-loading":e.isLoading,"is-edit":e.isEdit,"customer-currency":n(t).newRecurringInvoice.currency_id},null,8,["store","v","is-loading","is-edit","customer-currency"])])],64)}}},Me=["onSubmit"],ke={class:"flex"},Te={class:"grid-cols-12 gap-8 mt-6 mb-8 lg:grid"},Ue={class:"block mt-10 invoice-foot lg:flex lg:justify-between lg:items-start"},Ne={class:"w-full relative lg:w-1/2"},Je={setup(e){const i=G(),d=$e(),t=we(),R="newRecurringInvoice",{t:c}=ae();let f=k(!1);const S=k(["customer","company","customerCustom","invoice","invoiceCustom"]);let F=E(),$=oe(),p=h(()=>i.isFetchingInvoice||i.isFetchingInitialSettings),B=h(()=>l.value?c("recurring_invoices.edit_invoice"):c("recurring_invoices.new_invoice")),l=h(()=>F.name==="recurring-invoices.edit");const a={starts_at:{required:y.withMessage(c("validation.required"),q)},status:{required:y.withMessage(c("validation.required"),q)},frequency:{required:y.withMessage(c("validation.required"),q)},limit_by:{required:y.withMessage(c("validation.required"),q)},limit_date:{required:y.withMessage(c("validation.required"),T(function(){return i.newRecurringInvoice.limit_by==="DATE"}))},limit_count:{required:y.withMessage(c("validation.required"),T(function(){return i.newRecurringInvoice.limit_by==="COUNT"}))},selectedFrequency:{required:y.withMessage(c("validation.required"),q)},customer_id:{required:y.withMessage(c("validation.required"),q)},exchange_rate:{required:T(function(){return y.withMessage(c("validation.required"),q),i.showExchangeRate}),decimal:y.withMessage(c("validation.valid_exchange_rate"),le)}},b=se(a,h(()=>i.newRecurringInvoice),{$scope:R});i.resetCurrentRecurringInvoice(),i.fetchRecurringInvoiceInitialSettings(l.value),t.resetCustomFields(),b.value.$reset,P(()=>i.newRecurringInvoice.customer,o=>{o&&o.currency?i.newRecurringInvoice.currency=o.currency:i.newRecurringInvoice.currency=d.selectedCompanyCurrency});async function M(){if(b.value.$touch(),b.value.$invalid)return!1;f.value=!0;let o=x(j({},i.newRecurringInvoice),{sub_total:i.getSubTotal,total:i.getTotal,tax:i.getTotalTax});F.params.id?i.updateRecurringInvoice(o).then(v=>{v.data.data&&$.push(`/admin/recurring-invoices/${v.data.data.id}/view`),f.value=!1}).catch(v=>{f.value=!1}):V(o)}function V(o){i.addRecurringInvoice(o).then(v=>{v.data.data&&$.push(`/admin/recurring-invoices/${v.data.data.id}/view`),f.value=!1}).catch(v=>{f.value=!1})}return(o,v)=>{const w=g("BaseBreadcrumbItem"),s=g("BaseBreadcrumb"),U=g("BaseButton"),z=g("router-link"),H=g("BaseIcon"),J=g("BasePageHeader"),K=g("BaseScrollPane"),Q=g("BasePage");return I(),O(A,null,[r(ge),r(ve),r(Re),r(Q,{class:"relative invoice-create-page"},{default:u(()=>[m("form",{onSubmit:de(M,["prevent"])},[r(J,{title:n(B)},{actions:u(()=>[r(z,{to:`/invoices/pdf/${n(i).newRecurringInvoice.unique_hash}`},{default:u(()=>[o.$route.name==="invoices.edit"?(I(),_(U,{key:0,target:"_blank",class:"mr-3",variant:"primary-outline",type:"button"},{default:u(()=>[m("span",ke,L(o.$t("general.view_pdf")),1)]),_:1})):C("",!0)]),_:1},8,["to"]),r(U,{loading:n(f),disabled:n(f),variant:"primary",type:"submit"},{left:u(W=>[n(f)?C("",!0):(I(),_(H,{key:0,name:"SaveIcon",class:ce(W.class)},null,8,["class"]))]),default:u(()=>[ue(" "+L(o.$t("recurring_invoices.save_invoice")),1)]),_:1},8,["loading","disabled"])]),default:u(()=>[r(s,null,{default:u(()=>[r(w,{title:o.$t("general.home"),to:"/admin/dashboard"},null,8,["title"]),r(w,{title:o.$t("recurring_invoices.title",2),to:"/admin/recurring-invoices"},null,8,["title"]),o.$route.name==="invoices.edit"?(I(),_(w,{key:0,title:o.$t("recurring_invoices.edit_invoice"),to:"#",active:""},null,8,["title"])):(I(),_(w,{key:1,title:o.$t("recurring_invoices.new_invoice"),to:"#",active:""},null,8,["title"]))]),_:1})]),_:1},8,["title"]),m("div",Te,[r(Le,{v:n(b),"is-loading":n(p),"is-edit":n(l)},null,8,["v","is-loading","is-edit"])]),r(K,null,{default:u(()=>[r(me,{currency:n(i).newRecurringInvoice.currency,"is-loading":n(p),"item-validation-scope":R,store:n(i),"store-prop":"newRecurringInvoice"},null,8,["currency","is-loading","store"]),m("div",Ue,[m("div",Ne,[r(fe,{store:n(i),"store-prop":"newRecurringInvoice",fields:S.value,type:"Invoice"},null,8,["store","fields"]),r(qe,{type:"Invoice","is-edit":n(l),"is-loading":n(p),store:n(i),"store-prop":"newRecurringInvoice","custom-field-scope":R,class:"mb-6"},null,8,["is-edit","is-loading","store"]),r(ye,{store:n(i),"store-prop":"newRecurringInvoice"},null,8,["store"])]),r(Ie,{currency:n(i).newRecurringInvoice.currency,"is-loading":n(p),store:n(i),"store-prop":"newRecurringInvoice","tax-popup-type":"invoice"},null,8,["currency","is-loading","store"])])]),_:1})],40,Me)]),_:1})],64)}}};export{Je as default}; diff --git a/public/build/assets/RecurringInvoiceIndexDropdown.9bd7780c.js b/public/build/assets/RecurringInvoiceIndexDropdown.63452d24.js similarity index 77% rename from public/build/assets/RecurringInvoiceIndexDropdown.9bd7780c.js rename to public/build/assets/RecurringInvoiceIndexDropdown.63452d24.js index 0f18e3a68..99948aabb 100644 --- a/public/build/assets/RecurringInvoiceIndexDropdown.9bd7780c.js +++ b/public/build/assets/RecurringInvoiceIndexDropdown.63452d24.js @@ -1 +1 @@ -import{g as b,u as E,C as k,am as C,r as c,o as a,s as n,w as o,y as t,b as s,v as p,x as v,A as I}from"./vendor.e9042f2c.js";import{B as x,u as S,i as V,d as $,e as y}from"./main.c4ed6aa9.js";const T={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:()=>{}}},setup(l){const _=l,g=x(),w=S(),B=V(),m=$(),{t:r}=b(),h=E();k(),C("utils");async function D(i=null){B.openDialog({title:r("general.are_you_sure"),message:r("invoices.confirm_delete"),yesLabel:r("general.ok"),noLabel:r("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async u=>{u&&await g.deleteMultipleRecurringInvoices(i).then(e=>{e.data.success?(_.table&&_.table.refresh(),g.$patch(d=>{d.selectedRecurringInvoices=[],d.selectAllField=!1}),w.showNotification({type:"success",message:r("recurring_invoices.deleted_message",2)})):e.data.error&&w.showNotification({type:"error",message:e.data.message})})})}return(i,u)=>{const e=c("BaseIcon"),d=c("BaseButton"),f=c("BaseDropdownItem"),R=c("router-link"),N=c("BaseDropdown");return a(),n(N,{"content-loading":t(g).isFetchingViewData},{activator:o(()=>[t(h).name==="recurring-invoices.view"?(a(),n(d,{key:0,variant:"primary"},{default:o(()=>[s(e,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(a(),n(e,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:o(()=>[t(m).hasAbilities(t(y).EDIT_RECURRING_INVOICE)?(a(),n(R,{key:0,to:`/admin/recurring-invoices/${l.row.id}/edit`},{default:o(()=>[s(f,null,{default:o(()=>[s(e,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),p(" "+v(i.$t("general.edit")),1)]),_:1})]),_:1},8,["to"])):I("",!0),t(h).name!=="recurring-invoices.view"&&t(m).hasAbilities(t(y).VIEW_RECURRING_INVOICE)?(a(),n(R,{key:1,to:`recurring-invoices/${l.row.id}/view`},{default:o(()=>[s(f,null,{default:o(()=>[s(e,{name:"EyeIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),p(" "+v(i.$t("general.view")),1)]),_:1})]),_:1},8,["to"])):I("",!0),t(m).hasAbilities(t(y).DELETE_RECURRING_INVOICE)?(a(),n(f,{key:2,onClick:u[0]||(u[0]=j=>D(l.row.id))},{default:o(()=>[s(e,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),p(" "+v(i.$t("general.delete")),1)]),_:1})):I("",!0)]),_:1},8,["content-loading"])}}};export{T as _}; +import{g as b,u as E,C as k,am as C,r as c,o as n,s as a,w as o,y as t,b as s,v as p,x as v,A as I}from"./vendor.e9042f2c.js";import{B as x,u as S,i as V,d as $,e as y}from"./main.f55cd568.js";const T={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:()=>{}}},setup(l){const _=l,g=x(),w=S(),B=V(),m=$(),{t:r}=b(),h=E();k(),C("utils");async function D(i=null){B.openDialog({title:r("general.are_you_sure"),message:r("invoices.confirm_delete"),yesLabel:r("general.ok"),noLabel:r("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async u=>{u&&await g.deleteMultipleRecurringInvoices(i).then(e=>{e.data.success?(_.table&&_.table.refresh(),g.$patch(d=>{d.selectedRecurringInvoices=[],d.selectAllField=!1}),w.showNotification({type:"success",message:r("recurring_invoices.deleted_message",2)})):e.data.error&&w.showNotification({type:"error",message:e.data.message})})})}return(i,u)=>{const e=c("BaseIcon"),d=c("BaseButton"),f=c("BaseDropdownItem"),R=c("router-link"),N=c("BaseDropdown");return n(),a(N,{"content-loading":t(g).isFetchingViewData},{activator:o(()=>[t(h).name==="recurring-invoices.view"?(n(),a(d,{key:0,variant:"primary"},{default:o(()=>[s(e,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(n(),a(e,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:o(()=>[t(m).hasAbilities(t(y).EDIT_RECURRING_INVOICE)?(n(),a(R,{key:0,to:`/admin/recurring-invoices/${l.row.id}/edit`},{default:o(()=>[s(f,null,{default:o(()=>[s(e,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),p(" "+v(i.$t("general.edit")),1)]),_:1})]),_:1},8,["to"])):I("",!0),t(h).name!=="recurring-invoices.view"&&t(m).hasAbilities(t(y).VIEW_RECURRING_INVOICE)?(n(),a(R,{key:1,to:`recurring-invoices/${l.row.id}/view`},{default:o(()=>[s(f,null,{default:o(()=>[s(e,{name:"EyeIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),p(" "+v(i.$t("general.view")),1)]),_:1})]),_:1},8,["to"])):I("",!0),t(m).hasAbilities(t(y).DELETE_RECURRING_INVOICE)?(n(),a(f,{key:2,onClick:u[0]||(u[0]=j=>D(l.row.id))},{default:o(()=>[s(e,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),p(" "+v(i.$t("general.delete")),1)]),_:1})):I("",!0)]),_:1},8,["content-loading"])}}};export{T as _}; diff --git a/public/build/assets/ResetPassword.c252645e.js b/public/build/assets/ResetPassword.27f6d6a2.js similarity index 97% rename from public/build/assets/ResetPassword.c252645e.js rename to public/build/assets/ResetPassword.27f6d6a2.js index 468a560a1..bad6e3dac 100644 --- a/public/build/assets/ResetPassword.c252645e.js +++ b/public/build/assets/ResetPassword.27f6d6a2.js @@ -1 +1 @@ -import{g as q,u as I,C as h,j as S,i as k,k as d,n as w,a2 as L,p as C,aQ as N,q as P,r as f,o as j,c as A,b as n,w as m,y as r,v as E,x as U,B as x,a as D}from"./vendor.e9042f2c.js";import{u as G,h as R}from"./main.c4ed6aa9.js";const F=["onSubmit"],z={setup(M){const v=G(),{t}=q(),c=I(),$=h(),o=S({email:"",password:"",password_confirmation:""}),u=k(!1),_=d(()=>({email:{required:w,email:L},password:{required:w,minLength:C(8)},password_confirmation:{sameAsPassword:N(o.password)}})),a=P(_,o),g=d(()=>a.value.email.$error?a.value.email.required.$invalid?t("validation.required"):a.value.email.email?t("validation.email_incorrect"):!1:""),b=d(()=>a.value.password.$error?a.value.password.required.$invalid?t("validation.required"):a.value.password.minLength?t("validation.password_min_length",{count:a.value.password.minLength.$params.min}):!1:""),y=d(()=>a.value.password_confirmation.$error?a.value.password_confirmation.sameAsPassword.$invalid?t("validation.password_incorrect"):!1:"");async function V(i){if(a.value.$touch(),!a.value.$invalid)try{let e={email:o.email,password:o.password,password_confirmation:o.password_confirmation,token:c.params.token};u.value=!0;let l=await D.post("/api/v1/auth/reset/password",e);u.value=!1,l.data&&(v.showNotification({type:"success",message:t("login.password_reset_successfully")}),$.push("/login"))}catch(e){R(e),u.value=!1,e.response&&e.response.status===403}}return(i,e)=>{const l=f("BaseInput"),p=f("BaseInputGroup"),B=f("BaseButton");return j(),A("form",{id:"loginForm",onSubmit:x(V,["prevent"])},[n(p,{error:r(g),label:i.$t("login.email"),class:"mb-4",required:""},{default:m(()=>[n(l,{modelValue:r(o).email,"onUpdate:modelValue":e[0]||(e[0]=s=>r(o).email=s),invalid:r(a).email.$error,focus:"",type:"email",name:"email",onInput:e[1]||(e[1]=s=>r(a).email.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["error","label"]),n(p,{error:r(b),label:i.$t("login.password"),class:"mb-4",required:""},{default:m(()=>[n(l,{modelValue:r(o).password,"onUpdate:modelValue":e[2]||(e[2]=s=>r(o).password=s),invalid:r(a).password.$error,type:"password",name:"password",onInput:e[3]||(e[3]=s=>r(a).password.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["error","label"]),n(p,{error:r(y),label:i.$t("login.retype_password"),class:"mb-4",required:""},{default:m(()=>[n(l,{modelValue:r(o).password_confirmation,"onUpdate:modelValue":e[4]||(e[4]=s=>r(o).password_confirmation=s),invalid:r(a).password_confirmation.$error,type:"password",name:"password",onInput:e[5]||(e[5]=s=>r(a).password_confirmation.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["error","label"]),n(B,{loading:u.value,type:"submit",variant:"primary"},{default:m(()=>[E(U(i.$t("login.reset_password")),1)]),_:1},8,["loading"])],40,F)}}};export{z as default}; +import{g as q,u as I,C as h,j as S,i as k,k as d,n as w,a2 as L,p as C,aQ as N,q as P,r as f,o as j,c as A,b as n,w as m,y as r,v as E,x as U,B as x,a as D}from"./vendor.e9042f2c.js";import{u as G,h as R}from"./main.f55cd568.js";const F=["onSubmit"],z={setup(M){const v=G(),{t}=q(),c=I(),$=h(),o=S({email:"",password:"",password_confirmation:""}),u=k(!1),_=d(()=>({email:{required:w,email:L},password:{required:w,minLength:C(8)},password_confirmation:{sameAsPassword:N(o.password)}})),a=P(_,o),g=d(()=>a.value.email.$error?a.value.email.required.$invalid?t("validation.required"):a.value.email.email?t("validation.email_incorrect"):!1:""),b=d(()=>a.value.password.$error?a.value.password.required.$invalid?t("validation.required"):a.value.password.minLength?t("validation.password_min_length",{count:a.value.password.minLength.$params.min}):!1:""),y=d(()=>a.value.password_confirmation.$error?a.value.password_confirmation.sameAsPassword.$invalid?t("validation.password_incorrect"):!1:"");async function V(i){if(a.value.$touch(),!a.value.$invalid)try{let e={email:o.email,password:o.password,password_confirmation:o.password_confirmation,token:c.params.token};u.value=!0;let l=await D.post("/api/v1/auth/reset/password",e);u.value=!1,l.data&&(v.showNotification({type:"success",message:t("login.password_reset_successfully")}),$.push("/login"))}catch(e){R(e),u.value=!1,e.response&&e.response.status===403}}return(i,e)=>{const l=f("BaseInput"),p=f("BaseInputGroup"),B=f("BaseButton");return j(),A("form",{id:"loginForm",onSubmit:x(V,["prevent"])},[n(p,{error:r(g),label:i.$t("login.email"),class:"mb-4",required:""},{default:m(()=>[n(l,{modelValue:r(o).email,"onUpdate:modelValue":e[0]||(e[0]=s=>r(o).email=s),invalid:r(a).email.$error,focus:"",type:"email",name:"email",onInput:e[1]||(e[1]=s=>r(a).email.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["error","label"]),n(p,{error:r(b),label:i.$t("login.password"),class:"mb-4",required:""},{default:m(()=>[n(l,{modelValue:r(o).password,"onUpdate:modelValue":e[2]||(e[2]=s=>r(o).password=s),invalid:r(a).password.$error,type:"password",name:"password",onInput:e[3]||(e[3]=s=>r(a).password.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["error","label"]),n(p,{error:r(y),label:i.$t("login.retype_password"),class:"mb-4",required:""},{default:m(()=>[n(l,{modelValue:r(o).password_confirmation,"onUpdate:modelValue":e[4]||(e[4]=s=>r(o).password_confirmation=s),invalid:r(a).password_confirmation.$error,type:"password",name:"password",onInput:e[5]||(e[5]=s=>r(a).password_confirmation.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["error","label"]),n(B,{loading:u.value,type:"submit",variant:"primary"},{default:m(()=>[E(U(i.$t("login.reset_password")),1)]),_:1},8,["loading"])],40,F)}}};export{z as default}; diff --git a/public/build/assets/RolesSettings.5caa3496.js b/public/build/assets/RolesSettings.c3b08c2c.js similarity index 98% rename from public/build/assets/RolesSettings.5caa3496.js rename to public/build/assets/RolesSettings.c3b08c2c.js index b652123cb..5cb037c76 100644 --- a/public/build/assets/RolesSettings.5caa3496.js +++ b/public/build/assets/RolesSettings.c3b08c2c.js @@ -1 +1 @@ -import{i as Q,u as W,y as V,d as P,g as N,c as Y}from"./main.c4ed6aa9.js";import{g as U,u as Z,am as A,r as d,o as u,s as R,w as n,y as o,b as i,v as $,x as b,A as M,i as z,k as j,m as O,n as G,p as ee,q as te,t as m,c as S,H as X,F as q,z as J,B as se,a5 as ae}from"./vendor.e9042f2c.js";const oe={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(C){const p=C,e=Q();W();const{t:f}=U(),g=V(),k=Z(),_=P(),I=N();A("utils");async function c(h){Promise.all([await g.fetchAbilities(),await g.fetchRole(h)]).then(()=>{I.openModal({title:f("settings.roles.edit_role"),componentName:"RolesModal",size:"lg",refreshData:p.loadData})})}async function D(h){e.openDialog({title:f("general.are_you_sure"),message:f("settings.roles.confirm_delete"),yesLabel:f("general.ok"),noLabel:f("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async r=>{r&&await g.deleteRole(h).then(v=>{v.data&&p.loadData&&p.loadData()})})}return(h,r)=>{const v=d("BaseIcon"),y=d("BaseButton"),t=d("BaseDropdownItem"),a=d("BaseDropdown");return u(),R(a,null,{activator:n(()=>[o(k).name==="roles.view"?(u(),R(y,{key:0,variant:"primary"},{default:n(()=>[i(v,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(u(),R(v,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:n(()=>[o(_).currentUser.is_owner?(u(),R(t,{key:0,onClick:r[0]||(r[0]=l=>c(C.row.id))},{default:n(()=>[i(v,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),$(" "+b(h.$t("general.edit")),1)]),_:1})):M("",!0),o(_).currentUser.is_owner?(u(),R(t,{key:1,onClick:r[1]||(r[1]=l=>D(C.row.id))},{default:n(()=>[i(v,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),$(" "+b(h.$t("general.delete")),1)]),_:1})):M("",!0)]),_:1})}}},ne={class:"flex justify-between w-full"},le=["onSubmit"],ie={class:"px-4 md:px-8 py-4 md:py-6"},re={class:"flex justify-between"},de={class:"text-sm not-italic font-medium text-primary-800 px-4 md:px-8 py-1.5"},ce=m("span",{class:"text-sm text-red-500"}," *",-1),ue={class:"text-sm not-italic font-medium text-gray-300 px-4 md:px-8 py-1.5"},me=$(" / "),pe={class:"border-t border-gray-200 py-3"},fe={class:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 px-8 sm:px-8"},be={class:"text-sm text-gray-500 border-b border-gray-200 pb-1 mb-2"},ge={key:0,class:"block mt-0.5 text-sm text-red-500"},_e={class:"z-0 flex justify-end p-4 border-t border-solid border--200 border-modal-bg"},ye={setup(C){const p=N(),e=V(),{t:f}=U();let g=z(!1),k=z(!1);const _=j(()=>p.active&&p.componentName==="RolesModal"),I=j(()=>({name:{required:O.withMessage(f("validation.required"),G),minLength:O.withMessage(f("validation.name_min_length",{count:3}),ee(3))},abilities:{required:O.withMessage(f("validation.at_least_one_ability"),G)}})),c=te(I,j(()=>e.currentRole));async function D(){if(c.value.$touch(),c.value.$invalid)return!0;try{const t=e.isEdit?e.updateRole:e.addRole;g.value=!0,await t(e.currentRole),g.value=!1,p.refreshData&&p.refreshData(),y()}catch{return g.value=!1,!0}}function h(t){var l,s;if(!e.currentRole.abilities.find(B=>B.ability===t.ability)&&((l=t==null?void 0:t.depends_on)==null?void 0:l.length)){v(t);return}(s=t==null?void 0:t.depends_on)==null||s.forEach(B=>{Object.keys(e.abilitiesList).forEach(L=>{e.abilitiesList[L].forEach(w=>{B===w.ability&&(w.disabled=!0,e.currentRole.abilities.find(x=>x.ability===B)||e.currentRole.abilities.push(w))})})})}function r(t){let a=[];Object.keys(e.abilitiesList).forEach(l=>{e.abilitiesList[l].forEach(s=>{(s==null?void 0:s.depends_on)&&(a=[...a,...s.depends_on])})}),Object.keys(e.abilitiesList).forEach(l=>{e.abilitiesList[l].forEach(s=>{a.includes(s.ability)&&(t?s.disabled=!0:s.disabled=!1),e.currentRole.abilities.push(s)})}),t||(e.currentRole.abilities=[])}function v(t){t.depends_on.forEach(a=>{Object.keys(e.abilitiesList).forEach(l=>{e.abilitiesList[l].forEach(s=>{let B=e.currentRole.abilities.find(L=>{var w;return(w=L.depends_on)==null?void 0:w.includes(s.ability)});a===s.ability&&!B&&(s.disabled=!1)})})})}function y(){p.closeModal(),setTimeout(()=>{e.currentRole={id:null,name:"",abilities:[]},Object.keys(e.abilitiesList).forEach(t=>{e.abilitiesList[t].forEach(a=>{a.disabled=!1})}),c.value.$reset()},300)}return(t,a)=>{const l=d("BaseIcon"),s=d("BaseInput"),B=d("BaseInputGroup"),L=d("BaseCheckbox"),w=d("BaseButton"),T=d("BaseModal");return u(),R(T,{show:o(_),onClose:y},{header:n(()=>[m("div",ne,[$(b(o(p).title)+" ",1),i(l,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:y})])]),default:n(()=>[m("form",{onSubmit:se(D,["prevent"])},[m("div",ie,[i(B,{label:t.$t("settings.roles.name"),class:"mt-3",error:o(c).name.$error&&o(c).name.$errors[0].$message,required:"","content-loading":o(k)},{default:n(()=>[i(s,{modelValue:o(e).currentRole.name,"onUpdate:modelValue":a[0]||(a[0]=x=>o(e).currentRole.name=x),invalid:o(c).name.$error,type:"text","content-loading":o(k),onInput:a[1]||(a[1]=x=>o(c).name.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","error","content-loading"])]),m("div",re,[m("h6",de,[$(b(t.$tc("settings.roles.permission",2))+" ",1),ce]),m("div",ue,[m("a",{class:"cursor-pointer text-primary-400",onClick:a[2]||(a[2]=x=>r(!0))},b(t.$t("settings.roles.select_all")),1),me,m("a",{class:"cursor-pointer text-primary-400",onClick:a[3]||(a[3]=x=>r(!1))},b(t.$t("settings.roles.none")),1)])]),m("div",pe,[m("div",fe,[(u(!0),S(q,null,X(o(e).abilitiesList,(x,F)=>(u(),S("div",{key:F,class:"flex flex-col space-y-1"},[m("p",be,b(F),1),(u(!0),S(q,null,X(x,(E,K)=>(u(),S("div",{key:K,class:"flex"},[i(L,{modelValue:o(e).currentRole.abilities,"onUpdate:modelValue":[a[4]||(a[4]=H=>o(e).currentRole.abilities=H),H=>h(E)],"set-initial-value":!0,variant:"primary",disabled:E.disabled,label:E.name,value:E},null,8,["modelValue","disabled","label","value","onUpdate:modelValue"])]))),128))]))),128)),o(c).abilities.$error?(u(),S("span",ge,b(o(c).abilities.$errors[0].$message),1)):M("",!0)])]),m("div",_e,[i(w,{class:"mr-3 text-sm",variant:"primary-outline",type:"button",onClick:y},{default:n(()=>[$(b(t.$t("general.cancel")),1)]),_:1}),i(w,{loading:o(g),disabled:o(g),variant:"primary",type:"submit"},{left:n(x=>[i(l,{name:"SaveIcon",class:J(x.class)},null,8,["class"])]),default:n(()=>[$(" "+b(o(e).isEdit?t.$t("general.update"):t.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,le)]),_:1},8,["show"])}}},Be={setup(C){const p=N(),e=V(),f=P(),g=Y(),{t:k}=U(),_=z(null),I=j(()=>[{key:"name",label:k("settings.roles.role_name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"created_at",label:k("settings.roles.added_on"),tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]);async function c({page:r,filter:v,sort:y}){let t={orderByField:y.fieldName||"created_at",orderBy:y.order||"desc",company_id:g.selectedCompany.id};return{data:(await e.fetchRoles(t)).data.data}}async function D(){_.value&&_.value.refresh()}async function h(){await e.fetchAbilities(),p.openModal({title:k("settings.roles.add_role"),componentName:"RolesModal",size:"lg",refreshData:_.value&&_.value.refresh})}return(r,v)=>{const y=d("BaseIcon"),t=d("BaseButton"),a=d("BaseTable"),l=d("BaseSettingCard");return u(),S(q,null,[i(ye),i(l,{title:r.$t("settings.roles.title"),description:r.$t("settings.roles.description")},ae({default:n(()=>[i(a,{ref:(s,B)=>{B.table=s,_.value=s},data:c,columns:o(I),class:"mt-14"},{"cell-created_at":n(({row:s})=>[$(b(s.data.formatted_created_at),1)]),"cell-actions":n(({row:s})=>[o(f).currentUser.is_owner&&s.data.name!=="super admin"?(u(),R(oe,{key:0,row:s.data,table:_.value,"load-data":D},null,8,["row","table"])):M("",!0)]),_:1},8,["columns"])]),_:2},[o(f).currentUser.is_owner?{name:"action",fn:n(()=>[i(t,{variant:"primary-outline",onClick:h},{left:n(s=>[i(y,{name:"PlusIcon",class:J(s.class)},null,8,["class"])]),default:n(()=>[$(" "+b(r.$t("settings.roles.add_new_role")),1)]),_:1})])}:void 0]),1032,["title","description"])],64)}}};export{Be as default}; +import{i as Q,u as W,y as V,d as P,g as N,c as Y}from"./main.f55cd568.js";import{g as U,u as Z,am as A,r as d,o as u,s as R,w as n,y as o,b as i,v as $,x as b,A as M,i as z,k as j,m as O,n as G,p as ee,q as te,t as m,c as S,H as X,F as q,z as J,B as se,a5 as ae}from"./vendor.e9042f2c.js";const oe={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(C){const p=C,e=Q();W();const{t:f}=U(),g=V(),k=Z(),_=P(),I=N();A("utils");async function c(h){Promise.all([await g.fetchAbilities(),await g.fetchRole(h)]).then(()=>{I.openModal({title:f("settings.roles.edit_role"),componentName:"RolesModal",size:"lg",refreshData:p.loadData})})}async function D(h){e.openDialog({title:f("general.are_you_sure"),message:f("settings.roles.confirm_delete"),yesLabel:f("general.ok"),noLabel:f("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async r=>{r&&await g.deleteRole(h).then(v=>{v.data&&p.loadData&&p.loadData()})})}return(h,r)=>{const v=d("BaseIcon"),y=d("BaseButton"),t=d("BaseDropdownItem"),a=d("BaseDropdown");return u(),R(a,null,{activator:n(()=>[o(k).name==="roles.view"?(u(),R(y,{key:0,variant:"primary"},{default:n(()=>[i(v,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(u(),R(v,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:n(()=>[o(_).currentUser.is_owner?(u(),R(t,{key:0,onClick:r[0]||(r[0]=l=>c(C.row.id))},{default:n(()=>[i(v,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),$(" "+b(h.$t("general.edit")),1)]),_:1})):M("",!0),o(_).currentUser.is_owner?(u(),R(t,{key:1,onClick:r[1]||(r[1]=l=>D(C.row.id))},{default:n(()=>[i(v,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),$(" "+b(h.$t("general.delete")),1)]),_:1})):M("",!0)]),_:1})}}},ne={class:"flex justify-between w-full"},le=["onSubmit"],ie={class:"px-4 md:px-8 py-4 md:py-6"},re={class:"flex justify-between"},de={class:"text-sm not-italic font-medium text-primary-800 px-4 md:px-8 py-1.5"},ce=m("span",{class:"text-sm text-red-500"}," *",-1),ue={class:"text-sm not-italic font-medium text-gray-300 px-4 md:px-8 py-1.5"},me=$(" / "),pe={class:"border-t border-gray-200 py-3"},fe={class:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 px-8 sm:px-8"},be={class:"text-sm text-gray-500 border-b border-gray-200 pb-1 mb-2"},ge={key:0,class:"block mt-0.5 text-sm text-red-500"},_e={class:"z-0 flex justify-end p-4 border-t border-solid border--200 border-modal-bg"},ye={setup(C){const p=N(),e=V(),{t:f}=U();let g=z(!1),k=z(!1);const _=j(()=>p.active&&p.componentName==="RolesModal"),I=j(()=>({name:{required:O.withMessage(f("validation.required"),G),minLength:O.withMessage(f("validation.name_min_length",{count:3}),ee(3))},abilities:{required:O.withMessage(f("validation.at_least_one_ability"),G)}})),c=te(I,j(()=>e.currentRole));async function D(){if(c.value.$touch(),c.value.$invalid)return!0;try{const t=e.isEdit?e.updateRole:e.addRole;g.value=!0,await t(e.currentRole),g.value=!1,p.refreshData&&p.refreshData(),y()}catch{return g.value=!1,!0}}function h(t){var l,s;if(!e.currentRole.abilities.find(B=>B.ability===t.ability)&&((l=t==null?void 0:t.depends_on)==null?void 0:l.length)){v(t);return}(s=t==null?void 0:t.depends_on)==null||s.forEach(B=>{Object.keys(e.abilitiesList).forEach(L=>{e.abilitiesList[L].forEach(w=>{B===w.ability&&(w.disabled=!0,e.currentRole.abilities.find(x=>x.ability===B)||e.currentRole.abilities.push(w))})})})}function r(t){let a=[];Object.keys(e.abilitiesList).forEach(l=>{e.abilitiesList[l].forEach(s=>{(s==null?void 0:s.depends_on)&&(a=[...a,...s.depends_on])})}),Object.keys(e.abilitiesList).forEach(l=>{e.abilitiesList[l].forEach(s=>{a.includes(s.ability)&&(t?s.disabled=!0:s.disabled=!1),e.currentRole.abilities.push(s)})}),t||(e.currentRole.abilities=[])}function v(t){t.depends_on.forEach(a=>{Object.keys(e.abilitiesList).forEach(l=>{e.abilitiesList[l].forEach(s=>{let B=e.currentRole.abilities.find(L=>{var w;return(w=L.depends_on)==null?void 0:w.includes(s.ability)});a===s.ability&&!B&&(s.disabled=!1)})})})}function y(){p.closeModal(),setTimeout(()=>{e.currentRole={id:null,name:"",abilities:[]},Object.keys(e.abilitiesList).forEach(t=>{e.abilitiesList[t].forEach(a=>{a.disabled=!1})}),c.value.$reset()},300)}return(t,a)=>{const l=d("BaseIcon"),s=d("BaseInput"),B=d("BaseInputGroup"),L=d("BaseCheckbox"),w=d("BaseButton"),T=d("BaseModal");return u(),R(T,{show:o(_),onClose:y},{header:n(()=>[m("div",ne,[$(b(o(p).title)+" ",1),i(l,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:y})])]),default:n(()=>[m("form",{onSubmit:se(D,["prevent"])},[m("div",ie,[i(B,{label:t.$t("settings.roles.name"),class:"mt-3",error:o(c).name.$error&&o(c).name.$errors[0].$message,required:"","content-loading":o(k)},{default:n(()=>[i(s,{modelValue:o(e).currentRole.name,"onUpdate:modelValue":a[0]||(a[0]=x=>o(e).currentRole.name=x),invalid:o(c).name.$error,type:"text","content-loading":o(k),onInput:a[1]||(a[1]=x=>o(c).name.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","error","content-loading"])]),m("div",re,[m("h6",de,[$(b(t.$tc("settings.roles.permission",2))+" ",1),ce]),m("div",ue,[m("a",{class:"cursor-pointer text-primary-400",onClick:a[2]||(a[2]=x=>r(!0))},b(t.$t("settings.roles.select_all")),1),me,m("a",{class:"cursor-pointer text-primary-400",onClick:a[3]||(a[3]=x=>r(!1))},b(t.$t("settings.roles.none")),1)])]),m("div",pe,[m("div",fe,[(u(!0),S(q,null,X(o(e).abilitiesList,(x,F)=>(u(),S("div",{key:F,class:"flex flex-col space-y-1"},[m("p",be,b(F),1),(u(!0),S(q,null,X(x,(E,K)=>(u(),S("div",{key:K,class:"flex"},[i(L,{modelValue:o(e).currentRole.abilities,"onUpdate:modelValue":[a[4]||(a[4]=H=>o(e).currentRole.abilities=H),H=>h(E)],"set-initial-value":!0,variant:"primary",disabled:E.disabled,label:E.name,value:E},null,8,["modelValue","disabled","label","value","onUpdate:modelValue"])]))),128))]))),128)),o(c).abilities.$error?(u(),S("span",ge,b(o(c).abilities.$errors[0].$message),1)):M("",!0)])]),m("div",_e,[i(w,{class:"mr-3 text-sm",variant:"primary-outline",type:"button",onClick:y},{default:n(()=>[$(b(t.$t("general.cancel")),1)]),_:1}),i(w,{loading:o(g),disabled:o(g),variant:"primary",type:"submit"},{left:n(x=>[i(l,{name:"SaveIcon",class:J(x.class)},null,8,["class"])]),default:n(()=>[$(" "+b(o(e).isEdit?t.$t("general.update"):t.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,le)]),_:1},8,["show"])}}},Be={setup(C){const p=N(),e=V(),f=P(),g=Y(),{t:k}=U(),_=z(null),I=j(()=>[{key:"name",label:k("settings.roles.role_name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"created_at",label:k("settings.roles.added_on"),tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]);async function c({page:r,filter:v,sort:y}){let t={orderByField:y.fieldName||"created_at",orderBy:y.order||"desc",company_id:g.selectedCompany.id};return{data:(await e.fetchRoles(t)).data.data}}async function D(){_.value&&_.value.refresh()}async function h(){await e.fetchAbilities(),p.openModal({title:k("settings.roles.add_role"),componentName:"RolesModal",size:"lg",refreshData:_.value&&_.value.refresh})}return(r,v)=>{const y=d("BaseIcon"),t=d("BaseButton"),a=d("BaseTable"),l=d("BaseSettingCard");return u(),S(q,null,[i(ye),i(l,{title:r.$t("settings.roles.title"),description:r.$t("settings.roles.description")},ae({default:n(()=>[i(a,{ref:(s,B)=>{B.table=s,_.value=s},data:c,columns:o(I),class:"mt-14"},{"cell-created_at":n(({row:s})=>[$(b(s.data.formatted_created_at),1)]),"cell-actions":n(({row:s})=>[o(f).currentUser.is_owner&&s.data.name!=="super admin"?(u(),R(oe,{key:0,row:s.data,table:_.value,"load-data":D},null,8,["row","table"])):M("",!0)]),_:1},8,["columns"])]),_:2},[o(f).currentUser.is_owner?{name:"action",fn:n(()=>[i(t,{variant:"primary-outline",onClick:h},{left:n(s=>[i(y,{name:"PlusIcon",class:J(s.class)},null,8,["class"])]),default:n(()=>[$(" "+b(r.$t("settings.roles.add_new_role")),1)]),_:1})])}:void 0]),1032,["title","description"])],64)}}};export{Be as default}; diff --git a/public/build/assets/SelectNotePopup.957765bc.js b/public/build/assets/SelectNotePopup.8c3a3989.js similarity index 91% rename from public/build/assets/SelectNotePopup.957765bc.js rename to public/build/assets/SelectNotePopup.8c3a3989.js index 852fc707e..4a9cf3efe 100644 --- a/public/build/assets/SelectNotePopup.957765bc.js +++ b/public/build/assets/SelectNotePopup.8c3a3989.js @@ -1 +1 @@ -var E=Object.defineProperty;var h=Object.getOwnPropertySymbols;var P=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var g=(s,t,e)=>t in s?E(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,x=(s,t)=>{for(var e in t||(t={}))P.call(t,e)&&g(s,e,t[e]);if(h)for(var e of h(t))T.call(t,e)&&g(s,e,t[e]);return s};import{i as k,g as F,k as L,r as w,o as l,c as i,b as r,t as n,w as p,y as o,s as O,v as D,x as m,z as U,a6 as G,A as N,T as H,a7 as W,F as C,H as q,a8 as J}from"./vendor.e9042f2c.js";import{g as K,r as Q,d as R,e as B}from"./main.c4ed6aa9.js";import{_ as X}from"./NoteModal.ce9830bd.js";const Y={class:"w-full"},Z={class:"overflow-hidden rounded-md shadow-lg ring-1 ring-black ring-opacity-5"},ee={class:"relative grid bg-white"},te={class:"relative p-4"},se={key:0,class:"relative flex flex-col overflow-auto list max-h-36"},oe=["onClick"],ae={class:"flex justify-between px-2"},ne={class:"m-0 text-base font-semibold leading-tight text-gray-700 cursor-pointer"},le={key:1,class:"flex justify-center p-5 text-gray-400"},re={class:"text-base text-gray-500"},ie={class:"m-0 ml-3 text-sm leading-none cursor-pointer font-base text-primary-400"},fe={props:{type:{type:String,default:null}},emits:["select"],setup(s,{emit:t}){const e=s;k(null);const{t:I}=F(),c=k(null),S=K(),d=Q(),y=R(),_=L(()=>c.value?d.notes.filter(function(a){return a.name.toLowerCase().indexOf(c.value.toLowerCase())!==-1}):d.notes);async function V(){await d.fetchNotes({filter:{},orderByField:"",orderBy:"",type:e.type?e.type:""})}function z(a,u){t("select",x({},d.notes[a])),c.value=null,u()}function j(){S.openModal({title:I("settings.customization.notes.add_note"),componentName:"NoteModal",size:"lg",data:e.type})}return(a,u)=>{const v=w("BaseIcon"),M=w("BaseInput");return l(),i(C,null,[r(X),n("div",Y,[r(o(J),null,{default:p(({isOpen:$})=>[o(y).hasAbilities(o(B).VIEW_NOTE)?(l(),O(o(G),{key:0,class:U([$?"":"text-opacity-90","flex items-center z-10 font-medium text-primary-400 focus:outline-none focus:border-none"]),onClick:V},{default:p(()=>[r(v,{name:"PlusIcon",class:"w-4 h-4 font-medium text-primary-400"}),D(" "+m(a.$t("general.insert_note")),1)]),_:2},1032,["class"])):N("",!0),r(H,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"translate-y-1 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-1 opacity-0"},{default:p(()=>[r(o(W),{class:"absolute z-20 px-4 mt-3 transform sm:px-0 w-screen max-w-full left-0 top-3"},{default:p(({close:A})=>[n("div",Z,[n("div",ee,[n("div",te,[r(M,{modelValue:c.value,"onUpdate:modelValue":u[0]||(u[0]=f=>c.value=f),placeholder:a.$t("general.search"),type:"text",class:"text-black"},null,8,["modelValue","placeholder"])]),o(_).length>0?(l(),i("div",se,[(l(!0),i(C,null,q(o(_),(f,b)=>(l(),i("div",{key:b,tabindex:"2",class:"px-6 py-4 border-b border-gray-200 border-solid cursor-pointer hover:bg-gray-100 hover:cursor-pointer last:border-b-0",onClick:ce=>z(b,A)},[n("div",ae,[n("label",ne,m(f.name),1)])],8,oe))),128))])):(l(),i("div",le,[n("label",re,m(a.$t("general.no_note_found")),1)]))]),o(y).hasAbilities(o(B).MANAGE_NOTE)?(l(),i("button",{key:0,type:"button",class:"h-10 flex items-center justify-center w-full px-2 py-3 bg-gray-200 border-none outline-none",onClick:j},[r(v,{name:"CheckCircleIcon",class:"text-primary-400"}),n("label",ie,m(a.$t("settings.customization.notes.add_new_note")),1)])):N("",!0)])]),_:1})]),_:1})]),_:1})])],64)}}};export{fe as _}; +var E=Object.defineProperty;var b=Object.getOwnPropertySymbols;var P=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var g=(s,t,e)=>t in s?E(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,x=(s,t)=>{for(var e in t||(t={}))P.call(t,e)&&g(s,e,t[e]);if(b)for(var e of b(t))T.call(t,e)&&g(s,e,t[e]);return s};import{i as k,g as F,k as L,r as w,o as l,c as i,b as r,t as n,w as p,y as o,s as O,v as D,x as m,z as U,a6 as G,A as N,T as H,a7 as W,F as C,H as q,a8 as J}from"./vendor.e9042f2c.js";import{g as K,r as Q,d as R,e as B}from"./main.f55cd568.js";import{_ as X}from"./NoteModal.0435aa4f.js";const Y={class:"w-full"},Z={class:"overflow-hidden rounded-md shadow-lg ring-1 ring-black ring-opacity-5"},ee={class:"relative grid bg-white"},te={class:"relative p-4"},se={key:0,class:"relative flex flex-col overflow-auto list max-h-36"},oe=["onClick"],ae={class:"flex justify-between px-2"},ne={class:"m-0 text-base font-semibold leading-tight text-gray-700 cursor-pointer"},le={key:1,class:"flex justify-center p-5 text-gray-400"},re={class:"text-base text-gray-500"},ie={class:"m-0 ml-3 text-sm leading-none cursor-pointer font-base text-primary-400"},fe={props:{type:{type:String,default:null}},emits:["select"],setup(s,{emit:t}){const e=s;k(null);const{t:I}=F(),c=k(null),S=K(),d=Q(),y=R(),_=L(()=>c.value?d.notes.filter(function(a){return a.name.toLowerCase().indexOf(c.value.toLowerCase())!==-1}):d.notes);async function V(){await d.fetchNotes({filter:{},orderByField:"",orderBy:"",type:e.type?e.type:""})}function z(a,u){t("select",x({},d.notes[a])),c.value=null,u()}function j(){S.openModal({title:I("settings.customization.notes.add_note"),componentName:"NoteModal",size:"lg",data:e.type})}return(a,u)=>{const v=w("BaseIcon"),M=w("BaseInput");return l(),i(C,null,[r(X),n("div",Y,[r(o(J),null,{default:p(({isOpen:$})=>[o(y).hasAbilities(o(B).VIEW_NOTE)?(l(),O(o(G),{key:0,class:U([$?"":"text-opacity-90","flex items-center z-10 font-medium text-primary-400 focus:outline-none focus:border-none"]),onClick:V},{default:p(()=>[r(v,{name:"PlusIcon",class:"w-4 h-4 font-medium text-primary-400"}),D(" "+m(a.$t("general.insert_note")),1)]),_:2},1032,["class"])):N("",!0),r(H,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"translate-y-1 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-1 opacity-0"},{default:p(()=>[r(o(W),{class:"absolute z-20 px-4 mt-3 transform sm:px-0 w-screen max-w-full left-0 top-3"},{default:p(({close:A})=>[n("div",Z,[n("div",ee,[n("div",te,[r(M,{modelValue:c.value,"onUpdate:modelValue":u[0]||(u[0]=f=>c.value=f),placeholder:a.$t("general.search"),type:"text",class:"text-black"},null,8,["modelValue","placeholder"])]),o(_).length>0?(l(),i("div",se,[(l(!0),i(C,null,q(o(_),(f,h)=>(l(),i("div",{key:h,tabindex:"2",class:"px-6 py-4 border-b border-gray-200 border-solid cursor-pointer hover:bg-gray-100 hover:cursor-pointer last:border-b-0",onClick:ce=>z(h,A)},[n("div",ae,[n("label",ne,m(f.name),1)])],8,oe))),128))])):(l(),i("div",le,[n("label",re,m(a.$t("general.no_note_found")),1)]))]),o(y).hasAbilities(o(B).MANAGE_NOTE)?(l(),i("button",{key:0,type:"button",class:"h-10 flex items-center justify-center w-full px-2 py-3 bg-gray-200 border-none outline-none",onClick:j},[r(v,{name:"CheckCircleIcon",class:"text-primary-400"}),n("label",ie,m(a.$t("settings.customization.notes.add_new_note")),1)])):N("",!0)])]),_:1})]),_:1})]),_:1})])],64)}}};export{fe as _}; diff --git a/public/build/assets/SendEstimateModal.d0eba7d1.js b/public/build/assets/SendEstimateModal.8b30678e.js similarity index 98% rename from public/build/assets/SendEstimateModal.d0eba7d1.js rename to public/build/assets/SendEstimateModal.8b30678e.js index 964a933f8..91a875466 100644 --- a/public/build/assets/SendEstimateModal.d0eba7d1.js +++ b/public/build/assets/SendEstimateModal.8b30678e.js @@ -1 +1 @@ -import{g as O,i as h,j as T,k as C,m as p,n as B,a2 as x,q as X,r as d,o as _,s as V,w as l,t as v,v as f,x as $,y as e,b as a,c as E,A as N}from"./vendor.e9042f2c.js";import{g as H,j as J,u as K,c as Q,v as W}from"./main.c4ed6aa9.js";const Y={class:"flex justify-between w-full"},Z={key:0,action:""},ee={class:"px-8 py-8 sm:p-6"},te={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},ae={key:1},oe={class:"my-6 mx-4 border border-gray-200 relative"},se=f(" Edit "),re=["src"],le={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},de={setup(ne){const m=H(),M=J(),U=K(),k=Q();W();const{t:u}=O(),n=h(!1),I=h(""),b=h(!1),P=h(["customer","customerCustom","estimate","estimateCustom","company"]);let o=T({id:null,from:null,to:null,subject:"New Estimate",body:null});const D=C(()=>m.active&&m.componentName==="SendEstimateModal"),q=C(()=>m.data),G={from:{required:p.withMessage(u("validation.required"),B),email:p.withMessage(u("validation.email_incorrect"),x)},to:{required:p.withMessage(u("validation.required"),B),email:p.withMessage(u("validation.email_incorrect"),x)},subject:{required:p.withMessage(u("validation.required"),B)},body:{required:p.withMessage(u("validation.required"),B)}},s=X(G,C(()=>o));function A(){b.value=!1}async function F(){let r=await k.fetchBasicMailConfig();o.id=m.id,r.data&&(o.from=r.data.from_mail),q.value&&(o.to=q.value.customer.email),o.body=k.selectedCompanySettings.estimate_mail_body}async function S(){if(s.value.$touch(),s.value.$invalid)return!0;try{if(n.value=!0,!b.value){const c=await M.previewEstimate(o);n.value=!1,b.value=!0;var r=new Blob([c.data],{type:"text/html"});I.value=URL.createObjectURL(r);return}const t=await M.sendEstimate(o);if(n.value=!1,t.data.success)return y(),!0}catch(t){console.error(t),n.value=!1,U.showNotification({type:"error",message:u("estimates.something_went_wrong")})}}function y(){m.closeModal(),setTimeout(()=>{s.value.$reset(),b.value=!1,I.value=null},300)}return(r,t)=>{const c=d("BaseIcon"),j=d("BaseInput"),w=d("BaseInputGroup"),L=d("BaseCustomInput"),R=d("BaseInputGrid"),g=d("BaseButton"),z=d("BaseModal");return _(),V(z,{show:e(D),onClose:y,onOpen:F},{header:l(()=>[v("div",Y,[f($(e(m).title)+" ",1),a(c,{name:"XIcon",class:"h-6 w-6 text-gray-500 cursor-pointer",onClick:y})])]),default:l(()=>[b.value?(_(),E("div",ae,[v("div",oe,[a(g,{class:"absolute top-4 right-4",disabled:n.value,variant:"primary-outline",onClick:A},{default:l(()=>[a(c,{name:"PencilIcon",class:"h-5 mr-2"}),se]),_:1},8,["disabled"]),v("iframe",{src:I.value,frameborder:"0",class:"w-full",style:{"min-height":"500px"}},null,8,re)]),v("div",le,[a(g,{class:"mr-3",variant:"primary-outline",type:"button",onClick:y},{default:l(()=>[f($(r.$t("general.cancel")),1)]),_:1}),a(g,{loading:n.value,disabled:n.value,variant:"primary",type:"button",onClick:S},{default:l(()=>[n.value?N("",!0):(_(),V(c,{key:0,name:"PaperAirplaneIcon",class:"mr-2"})),f(" "+$(r.$t("general.send")),1)]),_:1},8,["loading","disabled"])])])):(_(),E("form",Z,[v("div",ee,[a(R,{layout:"one-column"},{default:l(()=>[a(w,{label:r.$t("general.from"),required:"",error:e(s).from.$error&&e(s).from.$errors[0].$message},{default:l(()=>[a(j,{modelValue:e(o).from,"onUpdate:modelValue":t[0]||(t[0]=i=>e(o).from=i),type:"text",invalid:e(s).from.$error,onInput:t[1]||(t[1]=i=>e(s).from.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),a(w,{label:r.$t("general.to"),required:"",error:e(s).to.$error&&e(s).to.$errors[0].$message},{default:l(()=>[a(j,{modelValue:e(o).to,"onUpdate:modelValue":t[2]||(t[2]=i=>e(o).to=i),type:"text",invalid:e(s).to.$error,onInput:t[3]||(t[3]=i=>e(s).to.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),a(w,{label:r.$t("general.subject"),required:"",error:e(s).subject.$error&&e(s).subject.$errors[0].$message},{default:l(()=>[a(j,{modelValue:e(o).subject,"onUpdate:modelValue":t[4]||(t[4]=i=>e(o).subject=i),type:"text",invalid:e(s).subject.$error,onInput:t[5]||(t[5]=i=>e(s).subject.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),a(w,{label:r.$t("general.body"),required:""},{default:l(()=>[a(L,{modelValue:e(o).body,"onUpdate:modelValue":t[6]||(t[6]=i=>e(o).body=i),fields:P.value},null,8,["modelValue","fields"])]),_:1},8,["label"])]),_:1})]),v("div",te,[a(g,{class:"mr-3",variant:"primary-outline",type:"button",onClick:y},{default:l(()=>[f($(r.$t("general.cancel")),1)]),_:1}),a(g,{loading:n.value,disabled:n.value,variant:"primary",type:"button",class:"mr-3",onClick:S},{default:l(()=>[n.value?N("",!0):(_(),V(c,{key:0,name:"PhotographIcon",class:"h-5 mr-2"})),f(" "+$(r.$t("general.preview")),1)]),_:1},8,["loading","disabled"])])]))]),_:1},8,["show"])}}};export{de as _}; +import{g as O,i as h,j as T,k as C,m as p,n as B,a2 as x,q as X,r as d,o as _,s as V,w as l,t as v,v as f,x as $,y as e,b as a,c as E,A as N}from"./vendor.e9042f2c.js";import{g as H,j as J,u as K,c as Q,v as W}from"./main.f55cd568.js";const Y={class:"flex justify-between w-full"},Z={key:0,action:""},ee={class:"px-8 py-8 sm:p-6"},te={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},ae={key:1},oe={class:"my-6 mx-4 border border-gray-200 relative"},se=f(" Edit "),re=["src"],le={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},de={setup(ne){const m=H(),M=J(),U=K(),k=Q();W();const{t:u}=O(),n=h(!1),I=h(""),b=h(!1),P=h(["customer","customerCustom","estimate","estimateCustom","company"]);let o=T({id:null,from:null,to:null,subject:"New Estimate",body:null});const D=C(()=>m.active&&m.componentName==="SendEstimateModal"),q=C(()=>m.data),G={from:{required:p.withMessage(u("validation.required"),B),email:p.withMessage(u("validation.email_incorrect"),x)},to:{required:p.withMessage(u("validation.required"),B),email:p.withMessage(u("validation.email_incorrect"),x)},subject:{required:p.withMessage(u("validation.required"),B)},body:{required:p.withMessage(u("validation.required"),B)}},s=X(G,C(()=>o));function A(){b.value=!1}async function F(){let r=await k.fetchBasicMailConfig();o.id=m.id,r.data&&(o.from=r.data.from_mail),q.value&&(o.to=q.value.customer.email),o.body=k.selectedCompanySettings.estimate_mail_body}async function S(){if(s.value.$touch(),s.value.$invalid)return!0;try{if(n.value=!0,!b.value){const c=await M.previewEstimate(o);n.value=!1,b.value=!0;var r=new Blob([c.data],{type:"text/html"});I.value=URL.createObjectURL(r);return}const t=await M.sendEstimate(o);if(n.value=!1,t.data.success)return y(),!0}catch(t){console.error(t),n.value=!1,U.showNotification({type:"error",message:u("estimates.something_went_wrong")})}}function y(){m.closeModal(),setTimeout(()=>{s.value.$reset(),b.value=!1,I.value=null},300)}return(r,t)=>{const c=d("BaseIcon"),j=d("BaseInput"),w=d("BaseInputGroup"),L=d("BaseCustomInput"),R=d("BaseInputGrid"),g=d("BaseButton"),z=d("BaseModal");return _(),V(z,{show:e(D),onClose:y,onOpen:F},{header:l(()=>[v("div",Y,[f($(e(m).title)+" ",1),a(c,{name:"XIcon",class:"h-6 w-6 text-gray-500 cursor-pointer",onClick:y})])]),default:l(()=>[b.value?(_(),E("div",ae,[v("div",oe,[a(g,{class:"absolute top-4 right-4",disabled:n.value,variant:"primary-outline",onClick:A},{default:l(()=>[a(c,{name:"PencilIcon",class:"h-5 mr-2"}),se]),_:1},8,["disabled"]),v("iframe",{src:I.value,frameborder:"0",class:"w-full",style:{"min-height":"500px"}},null,8,re)]),v("div",le,[a(g,{class:"mr-3",variant:"primary-outline",type:"button",onClick:y},{default:l(()=>[f($(r.$t("general.cancel")),1)]),_:1}),a(g,{loading:n.value,disabled:n.value,variant:"primary",type:"button",onClick:S},{default:l(()=>[n.value?N("",!0):(_(),V(c,{key:0,name:"PaperAirplaneIcon",class:"mr-2"})),f(" "+$(r.$t("general.send")),1)]),_:1},8,["loading","disabled"])])])):(_(),E("form",Z,[v("div",ee,[a(R,{layout:"one-column"},{default:l(()=>[a(w,{label:r.$t("general.from"),required:"",error:e(s).from.$error&&e(s).from.$errors[0].$message},{default:l(()=>[a(j,{modelValue:e(o).from,"onUpdate:modelValue":t[0]||(t[0]=i=>e(o).from=i),type:"text",invalid:e(s).from.$error,onInput:t[1]||(t[1]=i=>e(s).from.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),a(w,{label:r.$t("general.to"),required:"",error:e(s).to.$error&&e(s).to.$errors[0].$message},{default:l(()=>[a(j,{modelValue:e(o).to,"onUpdate:modelValue":t[2]||(t[2]=i=>e(o).to=i),type:"text",invalid:e(s).to.$error,onInput:t[3]||(t[3]=i=>e(s).to.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),a(w,{label:r.$t("general.subject"),required:"",error:e(s).subject.$error&&e(s).subject.$errors[0].$message},{default:l(()=>[a(j,{modelValue:e(o).subject,"onUpdate:modelValue":t[4]||(t[4]=i=>e(o).subject=i),type:"text",invalid:e(s).subject.$error,onInput:t[5]||(t[5]=i=>e(s).subject.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),a(w,{label:r.$t("general.body"),required:""},{default:l(()=>[a(L,{modelValue:e(o).body,"onUpdate:modelValue":t[6]||(t[6]=i=>e(o).body=i),fields:P.value},null,8,["modelValue","fields"])]),_:1},8,["label"])]),_:1})]),v("div",te,[a(g,{class:"mr-3",variant:"primary-outline",type:"button",onClick:y},{default:l(()=>[f($(r.$t("general.cancel")),1)]),_:1}),a(g,{loading:n.value,disabled:n.value,variant:"primary",type:"button",class:"mr-3",onClick:S},{default:l(()=>[n.value?N("",!0):(_(),V(c,{key:0,name:"PhotographIcon",class:"h-5 mr-2"})),f(" "+$(r.$t("general.preview")),1)]),_:1},8,["loading","disabled"])])]))]),_:1},8,["show"])}}};export{de as _}; diff --git a/public/build/assets/SendInvoiceModal.f1dd071b.js b/public/build/assets/SendInvoiceModal.59d8474e.js similarity index 98% rename from public/build/assets/SendInvoiceModal.f1dd071b.js rename to public/build/assets/SendInvoiceModal.59d8474e.js index 2059a0608..cd72b9d03 100644 --- a/public/build/assets/SendInvoiceModal.f1dd071b.js +++ b/public/build/assets/SendInvoiceModal.59d8474e.js @@ -1 +1 @@ -import{g as O,c as X,u as H,f as J,v as K}from"./main.c4ed6aa9.js";import{g as Q,i as I,j as W,k as B,m as v,n as h,a2 as x,q as Y,r as d,o as _,s as j,w as l,t as p,v as f,x as $,y as e,b as a,c as N,z as Z,A as U}from"./vendor.e9042f2c.js";const ee={class:"flex justify-between w-full"},oe={key:0,action:""},te={class:"px-8 py-8 sm:p-6"},ae={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},re={key:1},se={class:"my-6 mx-4 border border-gray-200 relative"},ne=f(" Edit "),le=["src"],ie={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},me={setup(ue){const c=O(),M=X(),P=H(),k=J();K();const{t:u}=Q();let i=I(!1);const C=I(""),b=I(!1),z=I(["customer","customerCustom","invoice","invoiceCustom","company"]),r=W({id:null,from:null,to:null,subject:"New Invoice",body:null}),D=B(()=>c.active&&c.componentName==="SendInvoiceModal"),G=B(()=>c.title),q=B(()=>c.data),A={from:{required:v.withMessage(u("validation.required"),h),email:v.withMessage(u("validation.email_incorrect"),x)},to:{required:v.withMessage(u("validation.required"),h),email:v.withMessage(u("validation.email_incorrect"),x)},subject:{required:v.withMessage(u("validation.required"),h)},body:{required:v.withMessage(u("validation.required"),h)}},t=Y(A,B(()=>r));function F(){b.value=!1}async function L(){let s=await M.fetchBasicMailConfig();r.id=c.id,s.data&&(r.from=s.data.from_mail),q.value&&(r.to=q.value.customer.email),r.body=M.selectedCompanySettings.invoice_mail_body}async function S(){if(t.value.$touch(),t.value.$invalid)return!0;try{if(i.value=!0,!b.value){const m=await k.previewInvoice(r);i.value=!1,b.value=!0;var s=new Blob([m.data],{type:"text/html"});C.value=URL.createObjectURL(s);return}if((await k.sendInvoice(r)).data.success)return y(),!0}catch(o){console.error(o),i.value=!1,P.showNotification({type:"error",message:u("invoices.something_went_wrong")})}}function y(){c.closeModal(),setTimeout(()=>{t.value.$reset(),b.value=!1,C.value=null},300)}return(s,o)=>{const m=d("BaseIcon"),V=d("BaseInput"),w=d("BaseInputGroup"),R=d("BaseCustomInput"),T=d("BaseInputGrid"),g=d("BaseButton"),E=d("BaseModal");return _(),j(E,{show:e(D),onClose:y,onOpen:L},{header:l(()=>[p("div",ee,[f($(e(G))+" ",1),a(m,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:y})])]),default:l(()=>[b.value?(_(),N("div",re,[p("div",se,[a(g,{class:"absolute top-4 right-4",disabled:e(i),variant:"primary-outline",onClick:F},{default:l(()=>[a(m,{name:"PencilIcon",class:"h-5 mr-2"}),ne]),_:1},8,["disabled"]),p("iframe",{src:C.value,frameborder:"0",class:"w-full",style:{"min-height":"500px"}},null,8,le)]),p("div",ie,[a(g,{class:"mr-3",variant:"primary-outline",type:"button",onClick:y},{default:l(()=>[f($(s.$t("general.cancel")),1)]),_:1}),a(g,{loading:e(i),disabled:e(i),variant:"primary",type:"button",onClick:o[7]||(o[7]=n=>S())},{default:l(()=>[e(i)?U("",!0):(_(),j(m,{key:0,name:"PaperAirplaneIcon",class:"h-5 mr-2"})),f(" "+$(s.$t("general.send")),1)]),_:1},8,["loading","disabled"])])])):(_(),N("form",oe,[p("div",te,[a(T,{layout:"one-column",class:"col-span-7"},{default:l(()=>[a(w,{label:s.$t("general.from"),required:"",error:e(t).from.$error&&e(t).from.$errors[0].$message},{default:l(()=>[a(V,{modelValue:e(r).from,"onUpdate:modelValue":o[0]||(o[0]=n=>e(r).from=n),type:"text",invalid:e(t).from.$error,onInput:o[1]||(o[1]=n=>e(t).from.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),a(w,{label:s.$t("general.to"),required:"",error:e(t).to.$error&&e(t).to.$errors[0].$message},{default:l(()=>[a(V,{modelValue:e(r).to,"onUpdate:modelValue":o[2]||(o[2]=n=>e(r).to=n),type:"text",invalid:e(t).to.$error,onInput:o[3]||(o[3]=n=>e(t).to.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),a(w,{error:e(t).subject.$error&&e(t).subject.$errors[0].$message,label:s.$t("general.subject"),required:""},{default:l(()=>[a(V,{modelValue:e(r).subject,"onUpdate:modelValue":o[4]||(o[4]=n=>e(r).subject=n),type:"text",invalid:e(t).subject.$error,onInput:o[5]||(o[5]=n=>e(t).subject.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["error","label"]),a(w,{label:s.$t("general.body"),error:e(t).body.$error&&e(t).body.$errors[0].$message,required:""},{default:l(()=>[a(R,{modelValue:e(r).body,"onUpdate:modelValue":o[6]||(o[6]=n=>e(r).body=n),fields:z.value},null,8,["modelValue","fields"])]),_:1},8,["label","error"])]),_:1})]),p("div",ae,[a(g,{class:"mr-3",variant:"primary-outline",type:"button",onClick:y},{default:l(()=>[f($(s.$t("general.cancel")),1)]),_:1}),a(g,{loading:e(i),disabled:e(i),variant:"primary",type:"button",class:"mr-3",onClick:S},{left:l(n=>[e(i)?U("",!0):(_(),j(m,{key:0,class:Z(n.class),name:"PhotographIcon"},null,8,["class"]))]),default:l(()=>[f(" "+$(s.$t("general.preview")),1)]),_:1},8,["loading","disabled"])])]))]),_:1},8,["show"])}}};export{me as _}; +import{g as O,c as X,u as H,f as J,v as K}from"./main.f55cd568.js";import{g as Q,i as I,j as W,k as B,m as v,n as h,a2 as x,q as Y,r as d,o as _,s as j,w as l,t as p,v as f,x as $,y as e,b as a,c as N,z as Z,A as U}from"./vendor.e9042f2c.js";const ee={class:"flex justify-between w-full"},oe={key:0,action:""},te={class:"px-8 py-8 sm:p-6"},ae={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},re={key:1},se={class:"my-6 mx-4 border border-gray-200 relative"},ne=f(" Edit "),le=["src"],ie={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},me={setup(ue){const c=O(),M=X(),P=H(),k=J();K();const{t:u}=Q();let i=I(!1);const C=I(""),b=I(!1),z=I(["customer","customerCustom","invoice","invoiceCustom","company"]),r=W({id:null,from:null,to:null,subject:"New Invoice",body:null}),D=B(()=>c.active&&c.componentName==="SendInvoiceModal"),G=B(()=>c.title),q=B(()=>c.data),A={from:{required:v.withMessage(u("validation.required"),h),email:v.withMessage(u("validation.email_incorrect"),x)},to:{required:v.withMessage(u("validation.required"),h),email:v.withMessage(u("validation.email_incorrect"),x)},subject:{required:v.withMessage(u("validation.required"),h)},body:{required:v.withMessage(u("validation.required"),h)}},t=Y(A,B(()=>r));function F(){b.value=!1}async function L(){let s=await M.fetchBasicMailConfig();r.id=c.id,s.data&&(r.from=s.data.from_mail),q.value&&(r.to=q.value.customer.email),r.body=M.selectedCompanySettings.invoice_mail_body}async function S(){if(t.value.$touch(),t.value.$invalid)return!0;try{if(i.value=!0,!b.value){const m=await k.previewInvoice(r);i.value=!1,b.value=!0;var s=new Blob([m.data],{type:"text/html"});C.value=URL.createObjectURL(s);return}if((await k.sendInvoice(r)).data.success)return y(),!0}catch(o){console.error(o),i.value=!1,P.showNotification({type:"error",message:u("invoices.something_went_wrong")})}}function y(){c.closeModal(),setTimeout(()=>{t.value.$reset(),b.value=!1,C.value=null},300)}return(s,o)=>{const m=d("BaseIcon"),V=d("BaseInput"),w=d("BaseInputGroup"),R=d("BaseCustomInput"),T=d("BaseInputGrid"),g=d("BaseButton"),E=d("BaseModal");return _(),j(E,{show:e(D),onClose:y,onOpen:L},{header:l(()=>[p("div",ee,[f($(e(G))+" ",1),a(m,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:y})])]),default:l(()=>[b.value?(_(),N("div",re,[p("div",se,[a(g,{class:"absolute top-4 right-4",disabled:e(i),variant:"primary-outline",onClick:F},{default:l(()=>[a(m,{name:"PencilIcon",class:"h-5 mr-2"}),ne]),_:1},8,["disabled"]),p("iframe",{src:C.value,frameborder:"0",class:"w-full",style:{"min-height":"500px"}},null,8,le)]),p("div",ie,[a(g,{class:"mr-3",variant:"primary-outline",type:"button",onClick:y},{default:l(()=>[f($(s.$t("general.cancel")),1)]),_:1}),a(g,{loading:e(i),disabled:e(i),variant:"primary",type:"button",onClick:o[7]||(o[7]=n=>S())},{default:l(()=>[e(i)?U("",!0):(_(),j(m,{key:0,name:"PaperAirplaneIcon",class:"h-5 mr-2"})),f(" "+$(s.$t("general.send")),1)]),_:1},8,["loading","disabled"])])])):(_(),N("form",oe,[p("div",te,[a(T,{layout:"one-column",class:"col-span-7"},{default:l(()=>[a(w,{label:s.$t("general.from"),required:"",error:e(t).from.$error&&e(t).from.$errors[0].$message},{default:l(()=>[a(V,{modelValue:e(r).from,"onUpdate:modelValue":o[0]||(o[0]=n=>e(r).from=n),type:"text",invalid:e(t).from.$error,onInput:o[1]||(o[1]=n=>e(t).from.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),a(w,{label:s.$t("general.to"),required:"",error:e(t).to.$error&&e(t).to.$errors[0].$message},{default:l(()=>[a(V,{modelValue:e(r).to,"onUpdate:modelValue":o[2]||(o[2]=n=>e(r).to=n),type:"text",invalid:e(t).to.$error,onInput:o[3]||(o[3]=n=>e(t).to.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),a(w,{error:e(t).subject.$error&&e(t).subject.$errors[0].$message,label:s.$t("general.subject"),required:""},{default:l(()=>[a(V,{modelValue:e(r).subject,"onUpdate:modelValue":o[4]||(o[4]=n=>e(r).subject=n),type:"text",invalid:e(t).subject.$error,onInput:o[5]||(o[5]=n=>e(t).subject.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["error","label"]),a(w,{label:s.$t("general.body"),error:e(t).body.$error&&e(t).body.$errors[0].$message,required:""},{default:l(()=>[a(R,{modelValue:e(r).body,"onUpdate:modelValue":o[6]||(o[6]=n=>e(r).body=n),fields:z.value},null,8,["modelValue","fields"])]),_:1},8,["label","error"])]),_:1})]),p("div",ae,[a(g,{class:"mr-3",variant:"primary-outline",type:"button",onClick:y},{default:l(()=>[f($(s.$t("general.cancel")),1)]),_:1}),a(g,{loading:e(i),disabled:e(i),variant:"primary",type:"button",class:"mr-3",onClick:S},{left:l(n=>[e(i)?U("",!0):(_(),j(m,{key:0,class:Z(n.class),name:"PhotographIcon"},null,8,["class"]))]),default:l(()=>[f(" "+$(s.$t("general.preview")),1)]),_:1},8,["loading","disabled"])])]))]),_:1},8,["show"])}}};export{me as _}; diff --git a/public/build/assets/SendPaymentModal.ed5be265.js b/public/build/assets/SendPaymentModal.da770177.js similarity index 99% rename from public/build/assets/SendPaymentModal.ed5be265.js rename to public/build/assets/SendPaymentModal.da770177.js index 1aec9ce0f..3e4c0711a 100644 --- a/public/build/assets/SendPaymentModal.ed5be265.js +++ b/public/build/assets/SendPaymentModal.da770177.js @@ -1 +1 @@ -import{i as R,u as Y,o as G,d as Q,g as O,e as S,c as Z,v as ee}from"./main.c4ed6aa9.js";import{g as F,u as te,C as ae,am as oe,r as d,o as m,s as p,w as o,y as e,b as a,v as y,x as v,A as B,i as x,j as ne,k as z,m as k,n as E,a2 as H,q as re,t as C,c as W,z as se}from"./vendor.e9042f2c.js";const be={props:{row:{type:Object,default:null},table:{type:Object,default:null},contentLoading:{type:Boolean,default:!1}},setup(w){const I=w,j=R(),_=Y(),{t:$}=F(),g=G(),l=te(),M=ae(),c=Q(),q=O(),r=oe("utils");function A(i){j.openDialog({title:$("general.are_you_sure"),message:$("payments.confirm_delete",1),yesLabel:$("general.ok"),noLabel:$("general.cancel"),variant:"danger",size:"lg",hideNoButton:!1}).then(async t=>{if(t)return await g.deletePayment({ids:[i]}),M.push("/admin/payments"),I.table&&I.table.refresh(),!0})}function T(){var t;let i=`${window.location.origin}/payments/pdf/${(t=I.row)==null?void 0:t.unique_hash}`;r.copyTextToClipboard(i),_.showNotification({type:"success",message:$("general.copied_pdf_url_clipboard")})}async function D(i){q.openModal({title:$("payments.send_payment"),componentName:"SendPaymentModal",id:i.id,data:i,variant:"lg"})}return(i,t)=>{const b=d("BaseIcon"),U=d("BaseButton"),V=d("BaseDropdown-item"),f=d("BaseDropdownItem"),s=d("router-link"),n=d("BaseDropdown");return m(),p(n,{"content-loading":w.contentLoading},{activator:o(()=>[e(l).name==="payments.view"?(m(),p(U,{key:0,variant:"primary"},{default:o(()=>[a(b,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(m(),p(b,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:o(()=>[e(l).name==="payments.view"&&e(c).hasAbilities(e(S).VIEW_PAYMENT)?(m(),p(V,{key:0,class:"rounded-md",onClick:T},{default:o(()=>[a(b,{name:"LinkIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),y(" "+v(i.$t("general.copy_pdf_url")),1)]),_:1})):B("",!0),e(c).hasAbilities(e(S).EDIT_PAYMENT)?(m(),p(s,{key:1,to:`/admin/payments/${w.row.id}/edit`},{default:o(()=>[a(f,null,{default:o(()=>[a(b,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),y(" "+v(i.$t("general.edit")),1)]),_:1})]),_:1},8,["to"])):B("",!0),e(l).name!=="payments.view"&&e(c).hasAbilities(e(S).VIEW_PAYMENT)?(m(),p(s,{key:2,to:`/admin/payments/${w.row.id}/view`},{default:o(()=>[a(f,null,{default:o(()=>[a(b,{name:"EyeIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),y(" "+v(i.$t("general.view")),1)]),_:1})]),_:1},8,["to"])):B("",!0),w.row.status!=="SENT"&&e(l).name!=="payments.view"&&e(c).hasAbilities(e(S).SEND_PAYMENT)?(m(),p(f,{key:3,onClick:t[0]||(t[0]=h=>D(w.row))},{default:o(()=>[a(b,{name:"PaperAirplaneIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),y(" "+v(i.$t("payments.send_payment")),1)]),_:1})):B("",!0),e(c).hasAbilities(e(S).DELETE_PAYMENT)?(m(),p(f,{key:4,onClick:t[1]||(t[1]=h=>A(w.row.id))},{default:o(()=>[a(b,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),y(" "+v(i.$t("general.delete")),1)]),_:1})):B("",!0)]),_:1},8,["content-loading"])}}},le={class:"flex justify-between w-full"},ie={key:0,action:""},ue={class:"px-8 py-8 sm:p-6"},de={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},me={key:1},ce={class:"my-6 mx-4 border border-gray-200 relative"},pe=y(" Edit "),ye=["src"],fe={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},we={setup(w){const I=G(),j=Z(),_=O(),$=Y();ee(),R();const{t:g}=F();let l=x(!1);const M=x(""),c=x(!1),q=x(["customer","customerCustom","payments","paymentsCustom","company"]),r=ne({id:null,from:null,to:null,subject:"New Payment",body:null}),A=z(()=>_.active&&_.componentName==="SendPaymentModal"),T=z(()=>_.title),D=z(()=>_.data),i={from:{required:k.withMessage(g("validation.required"),E),email:k.withMessage(g("validation.email_incorrect"),H)},to:{required:k.withMessage(g("validation.required"),E),email:k.withMessage(g("validation.email_incorrect"),H)},subject:{required:k.withMessage(g("validation.required"),E)},body:{required:k.withMessage(g("validation.required"),E)}},t=re(i,r);function b(){c.value=!1}async function U(){let s=await j.fetchBasicMailConfig();r.id=_.id,s.data&&(r.from=s.data.from_mail),D.value&&(r.to=D.value.customer.email),r.body=j.selectedCompanySettings.payment_mail_body}async function V(){if(t.value.$touch(),t.value.$invalid)return!0;try{if(l.value=!0,!c.value){const h=await I.previewPayment(r);l.value=!1,c.value=!0;var s=new Blob([h.data],{type:"text/html"});M.value=URL.createObjectURL(s);return}if((await I.sendEmail(r)).data.success)return f(),!0}catch{l.value=!1,$.showNotification({type:"error",message:g("payments.something_went_wrong")})}}function f(){setTimeout(()=>{t.value.$reset(),c.value=!1,M.value=null,_.resetModalData()},300)}return(s,n)=>{const h=d("BaseIcon"),L=d("BaseInput"),N=d("BaseInputGroup"),X=d("BaseCustomInput"),J=d("BaseInputGrid"),P=d("BaseButton"),K=d("BaseModal");return m(),p(K,{show:e(A),onClose:f,onOpen:U},{header:o(()=>[C("div",le,[y(v(e(T))+" ",1),a(h,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:f})])]),default:o(()=>[c.value?(m(),W("div",me,[C("div",ce,[a(P,{class:"absolute top-4 right-4",disabled:e(l),variant:"primary-outline",onClick:b},{default:o(()=>[a(h,{name:"PencilIcon",class:"h-5 mr-2"}),pe]),_:1},8,["disabled"]),C("iframe",{src:M.value,frameborder:"0",class:"w-full",style:{"min-height":"500px"}},null,8,ye)]),C("div",fe,[a(P,{class:"mr-3",variant:"primary-outline",type:"button",onClick:f},{default:o(()=>[y(v(s.$t("general.cancel")),1)]),_:1}),a(P,{loading:e(l),disabled:e(l),variant:"primary",type:"button",onClick:n[7]||(n[7]=u=>V())},{default:o(()=>[e(l)?B("",!0):(m(),p(h,{key:0,name:"PaperAirplaneIcon",class:"h-5 mr-2"})),y(" "+v(s.$t("general.send")),1)]),_:1},8,["loading","disabled"])])])):(m(),W("form",ie,[C("div",ue,[a(J,{layout:"one-column",class:"col-span-7"},{default:o(()=>[a(N,{label:s.$t("general.from"),required:"",error:e(t).from.$error&&e(t).from.$errors[0].$message},{default:o(()=>[a(L,{modelValue:e(r).from,"onUpdate:modelValue":n[0]||(n[0]=u=>e(r).from=u),type:"text",invalid:e(t).from.$error,onInput:n[1]||(n[1]=u=>e(t).from.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),a(N,{label:s.$t("general.to"),required:"",error:e(t).to.$error&&e(t).to.$errors[0].$message},{default:o(()=>[a(L,{modelValue:e(r).to,"onUpdate:modelValue":n[2]||(n[2]=u=>e(r).to=u),type:"text",invalid:e(t).to.$error,onInput:n[3]||(n[3]=u=>e(t).to.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),a(N,{error:e(t).subject.$error&&e(t).subject.$errors[0].$message,label:s.$t("general.subject"),required:""},{default:o(()=>[a(L,{modelValue:e(r).subject,"onUpdate:modelValue":n[4]||(n[4]=u=>e(r).subject=u),type:"text",invalid:e(t).subject.$error,onInput:n[5]||(n[5]=u=>e(t).subject.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["error","label"]),a(N,{label:s.$t("general.body"),error:e(t).body.$error&&e(t).body.$errors[0].$message,required:""},{default:o(()=>[a(X,{modelValue:e(r).body,"onUpdate:modelValue":n[6]||(n[6]=u=>e(r).body=u),fields:q.value},null,8,["modelValue","fields"])]),_:1},8,["label","error"])]),_:1})]),C("div",de,[a(P,{class:"mr-3",variant:"primary-outline",type:"button",onClick:f},{default:o(()=>[y(v(s.$t("general.cancel")),1)]),_:1}),a(P,{loading:e(l),disabled:e(l),variant:"primary",type:"button",class:"mr-3",onClick:V},{left:o(u=>[e(l)?B("",!0):(m(),p(h,{key:0,class:se(u.class),name:"PhotographIcon"},null,8,["class"]))]),default:o(()=>[y(" "+v(s.$t("general.preview")),1)]),_:1},8,["loading","disabled"])])]))]),_:1},8,["show"])}}};export{we as _,be as a}; +import{i as R,u as Y,o as G,d as Q,g as O,e as S,c as Z,v as ee}from"./main.f55cd568.js";import{g as F,u as te,C as ae,am as oe,r as d,o as m,s as p,w as o,y as e,b as a,v as y,x as v,A as B,i as x,j as ne,k as z,m as k,n as E,a2 as H,q as re,t as C,c as W,z as se}from"./vendor.e9042f2c.js";const be={props:{row:{type:Object,default:null},table:{type:Object,default:null},contentLoading:{type:Boolean,default:!1}},setup(w){const I=w,j=R(),_=Y(),{t:$}=F(),g=G(),l=te(),M=ae(),c=Q(),q=O(),r=oe("utils");function A(i){j.openDialog({title:$("general.are_you_sure"),message:$("payments.confirm_delete",1),yesLabel:$("general.ok"),noLabel:$("general.cancel"),variant:"danger",size:"lg",hideNoButton:!1}).then(async t=>{if(t)return await g.deletePayment({ids:[i]}),M.push("/admin/payments"),I.table&&I.table.refresh(),!0})}function T(){var t;let i=`${window.location.origin}/payments/pdf/${(t=I.row)==null?void 0:t.unique_hash}`;r.copyTextToClipboard(i),_.showNotification({type:"success",message:$("general.copied_pdf_url_clipboard")})}async function D(i){q.openModal({title:$("payments.send_payment"),componentName:"SendPaymentModal",id:i.id,data:i,variant:"lg"})}return(i,t)=>{const b=d("BaseIcon"),U=d("BaseButton"),V=d("BaseDropdown-item"),f=d("BaseDropdownItem"),s=d("router-link"),n=d("BaseDropdown");return m(),p(n,{"content-loading":w.contentLoading},{activator:o(()=>[e(l).name==="payments.view"?(m(),p(U,{key:0,variant:"primary"},{default:o(()=>[a(b,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(m(),p(b,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:o(()=>[e(l).name==="payments.view"&&e(c).hasAbilities(e(S).VIEW_PAYMENT)?(m(),p(V,{key:0,class:"rounded-md",onClick:T},{default:o(()=>[a(b,{name:"LinkIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),y(" "+v(i.$t("general.copy_pdf_url")),1)]),_:1})):B("",!0),e(c).hasAbilities(e(S).EDIT_PAYMENT)?(m(),p(s,{key:1,to:`/admin/payments/${w.row.id}/edit`},{default:o(()=>[a(f,null,{default:o(()=>[a(b,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),y(" "+v(i.$t("general.edit")),1)]),_:1})]),_:1},8,["to"])):B("",!0),e(l).name!=="payments.view"&&e(c).hasAbilities(e(S).VIEW_PAYMENT)?(m(),p(s,{key:2,to:`/admin/payments/${w.row.id}/view`},{default:o(()=>[a(f,null,{default:o(()=>[a(b,{name:"EyeIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),y(" "+v(i.$t("general.view")),1)]),_:1})]),_:1},8,["to"])):B("",!0),w.row.status!=="SENT"&&e(l).name!=="payments.view"&&e(c).hasAbilities(e(S).SEND_PAYMENT)?(m(),p(f,{key:3,onClick:t[0]||(t[0]=h=>D(w.row))},{default:o(()=>[a(b,{name:"PaperAirplaneIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),y(" "+v(i.$t("payments.send_payment")),1)]),_:1})):B("",!0),e(c).hasAbilities(e(S).DELETE_PAYMENT)?(m(),p(f,{key:4,onClick:t[1]||(t[1]=h=>A(w.row.id))},{default:o(()=>[a(b,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),y(" "+v(i.$t("general.delete")),1)]),_:1})):B("",!0)]),_:1},8,["content-loading"])}}},le={class:"flex justify-between w-full"},ie={key:0,action:""},ue={class:"px-8 py-8 sm:p-6"},de={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},me={key:1},ce={class:"my-6 mx-4 border border-gray-200 relative"},pe=y(" Edit "),ye=["src"],fe={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},we={setup(w){const I=G(),j=Z(),_=O(),$=Y();ee(),R();const{t:g}=F();let l=x(!1);const M=x(""),c=x(!1),q=x(["customer","customerCustom","payments","paymentsCustom","company"]),r=ne({id:null,from:null,to:null,subject:"New Payment",body:null}),A=z(()=>_.active&&_.componentName==="SendPaymentModal"),T=z(()=>_.title),D=z(()=>_.data),i={from:{required:k.withMessage(g("validation.required"),E),email:k.withMessage(g("validation.email_incorrect"),H)},to:{required:k.withMessage(g("validation.required"),E),email:k.withMessage(g("validation.email_incorrect"),H)},subject:{required:k.withMessage(g("validation.required"),E)},body:{required:k.withMessage(g("validation.required"),E)}},t=re(i,r);function b(){c.value=!1}async function U(){let s=await j.fetchBasicMailConfig();r.id=_.id,s.data&&(r.from=s.data.from_mail),D.value&&(r.to=D.value.customer.email),r.body=j.selectedCompanySettings.payment_mail_body}async function V(){if(t.value.$touch(),t.value.$invalid)return!0;try{if(l.value=!0,!c.value){const h=await I.previewPayment(r);l.value=!1,c.value=!0;var s=new Blob([h.data],{type:"text/html"});M.value=URL.createObjectURL(s);return}if((await I.sendEmail(r)).data.success)return f(),!0}catch{l.value=!1,$.showNotification({type:"error",message:g("payments.something_went_wrong")})}}function f(){setTimeout(()=>{t.value.$reset(),c.value=!1,M.value=null,_.resetModalData()},300)}return(s,n)=>{const h=d("BaseIcon"),L=d("BaseInput"),N=d("BaseInputGroup"),X=d("BaseCustomInput"),J=d("BaseInputGrid"),P=d("BaseButton"),K=d("BaseModal");return m(),p(K,{show:e(A),onClose:f,onOpen:U},{header:o(()=>[C("div",le,[y(v(e(T))+" ",1),a(h,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:f})])]),default:o(()=>[c.value?(m(),W("div",me,[C("div",ce,[a(P,{class:"absolute top-4 right-4",disabled:e(l),variant:"primary-outline",onClick:b},{default:o(()=>[a(h,{name:"PencilIcon",class:"h-5 mr-2"}),pe]),_:1},8,["disabled"]),C("iframe",{src:M.value,frameborder:"0",class:"w-full",style:{"min-height":"500px"}},null,8,ye)]),C("div",fe,[a(P,{class:"mr-3",variant:"primary-outline",type:"button",onClick:f},{default:o(()=>[y(v(s.$t("general.cancel")),1)]),_:1}),a(P,{loading:e(l),disabled:e(l),variant:"primary",type:"button",onClick:n[7]||(n[7]=u=>V())},{default:o(()=>[e(l)?B("",!0):(m(),p(h,{key:0,name:"PaperAirplaneIcon",class:"h-5 mr-2"})),y(" "+v(s.$t("general.send")),1)]),_:1},8,["loading","disabled"])])])):(m(),W("form",ie,[C("div",ue,[a(J,{layout:"one-column",class:"col-span-7"},{default:o(()=>[a(N,{label:s.$t("general.from"),required:"",error:e(t).from.$error&&e(t).from.$errors[0].$message},{default:o(()=>[a(L,{modelValue:e(r).from,"onUpdate:modelValue":n[0]||(n[0]=u=>e(r).from=u),type:"text",invalid:e(t).from.$error,onInput:n[1]||(n[1]=u=>e(t).from.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),a(N,{label:s.$t("general.to"),required:"",error:e(t).to.$error&&e(t).to.$errors[0].$message},{default:o(()=>[a(L,{modelValue:e(r).to,"onUpdate:modelValue":n[2]||(n[2]=u=>e(r).to=u),type:"text",invalid:e(t).to.$error,onInput:n[3]||(n[3]=u=>e(t).to.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),a(N,{error:e(t).subject.$error&&e(t).subject.$errors[0].$message,label:s.$t("general.subject"),required:""},{default:o(()=>[a(L,{modelValue:e(r).subject,"onUpdate:modelValue":n[4]||(n[4]=u=>e(r).subject=u),type:"text",invalid:e(t).subject.$error,onInput:n[5]||(n[5]=u=>e(t).subject.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["error","label"]),a(N,{label:s.$t("general.body"),error:e(t).body.$error&&e(t).body.$errors[0].$message,required:""},{default:o(()=>[a(X,{modelValue:e(r).body,"onUpdate:modelValue":n[6]||(n[6]=u=>e(r).body=u),fields:q.value},null,8,["modelValue","fields"])]),_:1},8,["label","error"])]),_:1})]),C("div",de,[a(P,{class:"mr-3",variant:"primary-outline",type:"button",onClick:f},{default:o(()=>[y(v(s.$t("general.cancel")),1)]),_:1}),a(P,{loading:e(l),disabled:e(l),variant:"primary",type:"button",class:"mr-3",onClick:V},{left:o(u=>[e(l)?B("",!0):(m(),p(h,{key:0,class:se(u.class),name:"PhotographIcon"},null,8,["class"]))]),default:o(()=>[y(" "+v(s.$t("general.preview")),1)]),_:1},8,["loading","disabled"])])]))]),_:1},8,["show"])}}};export{we as _,be as a}; diff --git a/public/build/assets/SettingsIndex.f9f8f3ca.js b/public/build/assets/SettingsIndex.cba192c6.js similarity index 97% rename from public/build/assets/SettingsIndex.f9f8f3ca.js rename to public/build/assets/SettingsIndex.cba192c6.js index 3b68f1d45..cda048028 100644 --- a/public/build/assets/SettingsIndex.f9f8f3ca.js +++ b/public/build/assets/SettingsIndex.cba192c6.js @@ -1 +1 @@ -import{o as i,c as f,W as b,k as g,r as n,s as B,w as c,A as M,t as d,x as P,$ as R,g as j,i as N,u as H,C as q,ac as A,b as a,y as h,a0 as E,H as F,F as O}from"./vendor.e9042f2c.js";import{_ as k,m as U}from"./main.c4ed6aa9.js";const D={name:"List"},G={class:"list-none"};function T(o,u,t,s,l,p){return i(),f("div",G,[b(o.$slots,"default")])}var W=k(D,[["render",T]]);const z={name:"ListItem",props:{title:{type:String,required:!1,default:""},active:{type:Boolean,required:!0},index:{type:Number,default:null}},setup(o,{slots:u}){const t="cursor-pointer pb-2 pr-0 text-sm font-medium leading-5 flex items-center";let s=g(()=>!!u.icon),l=g(()=>o.active?`${t} text-primary-500`:`${t} text-gray-500`);return{hasIconSlot:s,containerClass:l}}},J={key:0,class:"mr-3"};function K(o,u,t,s,l,p){const m=n("router-link");return i(),B(m,R(o.$attrs,{class:s.containerClass}),{default:c(()=>[s.hasIconSlot?(i(),f("span",J,[b(o.$slots,"icon")])):M("",!0),d("span",null,P(t.title),1)]),_:3},16,["class"])}var Q=k(z,[["render",K]]);const X={class:"w-full mb-6 select-wrapper xl:hidden"},Y={class:"flex"},Z={class:"hidden mt-1 xl:block min-w-[240px]"},ee={class:"w-full overflow-hidden"},ne={setup(o){const{t:u}=j();let t=N({});const s=U(),l=H(),p=q(),m=g(()=>s.settingMenu.map(e=>Object.assign({},e,{title:u(e.title)})));A(()=>{l.path==="/admin/settings"&&p.push("/admin/settings/account-settings");const e=m.value.find(_=>_.link===l.path);t.value=e});function w(e){return l.path.indexOf(e)>-1}function x(e){return p.push(e.link)}return(e,_)=>{const v=n("BaseBreadcrumbItem"),y=n("BaseBreadcrumb"),S=n("BasePageHeader"),V=n("BaseMultiselect"),C=n("BaseIcon"),I=n("RouterView"),L=n("BasePage");return i(),B(L,null,{default:c(()=>[a(S,{title:e.$tc("settings.setting",1),class:"mb-6"},{default:c(()=>[a(y,null,{default:c(()=>[a(v,{title:e.$t("general.home"),to:"/admin/dashboard"},null,8,["title"]),a(v,{title:e.$tc("settings.setting",2),to:"/admin/settings/account-settings",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),d("div",X,[a(V,{modelValue:h(t),"onUpdate:modelValue":[_[0]||(_[0]=r=>E(t)?t.value=r:t=r),x],options:h(m),"can-deselect":!1,"value-prop":"title","track-by":"title",label:"title",object:""},null,8,["modelValue","options"])]),d("div",Y,[d("div",Z,[a(W,null,{default:c(()=>[(i(!0),f(O,null,F(h(s).settingMenu,(r,$)=>(i(),B(Q,{key:$,title:e.$t(r.title),to:r.link,active:w(r.link),index:$,class:"py-3"},{icon:c(()=>[a(C,{name:r.icon},null,8,["name"])]),_:2},1032,["title","to","active","index"]))),128))]),_:1})]),d("div",ee,[a(I)])])]),_:1})}}};export{ne as default}; +import{o as i,c as f,W as b,k as g,r as n,s as B,w as c,A as M,t as d,x as P,$ as R,g as j,i as N,u as H,C as q,ac as A,b as a,y as h,a0 as E,H as F,F as O}from"./vendor.e9042f2c.js";import{_ as k,m as U}from"./main.f55cd568.js";const D={name:"List"},G={class:"list-none"};function T(o,u,t,s,l,p){return i(),f("div",G,[b(o.$slots,"default")])}var W=k(D,[["render",T]]);const z={name:"ListItem",props:{title:{type:String,required:!1,default:""},active:{type:Boolean,required:!0},index:{type:Number,default:null}},setup(o,{slots:u}){const t="cursor-pointer pb-2 pr-0 text-sm font-medium leading-5 flex items-center";let s=g(()=>!!u.icon),l=g(()=>o.active?`${t} text-primary-500`:`${t} text-gray-500`);return{hasIconSlot:s,containerClass:l}}},J={key:0,class:"mr-3"};function K(o,u,t,s,l,p){const m=n("router-link");return i(),B(m,R(o.$attrs,{class:s.containerClass}),{default:c(()=>[s.hasIconSlot?(i(),f("span",J,[b(o.$slots,"icon")])):M("",!0),d("span",null,P(t.title),1)]),_:3},16,["class"])}var Q=k(z,[["render",K]]);const X={class:"w-full mb-6 select-wrapper xl:hidden"},Y={class:"flex"},Z={class:"hidden mt-1 xl:block min-w-[240px]"},ee={class:"w-full overflow-hidden"},ne={setup(o){const{t:u}=j();let t=N({});const s=U(),l=H(),p=q(),m=g(()=>s.settingMenu.map(e=>Object.assign({},e,{title:u(e.title)})));A(()=>{l.path==="/admin/settings"&&p.push("/admin/settings/account-settings");const e=m.value.find(_=>_.link===l.path);t.value=e});function w(e){return l.path.indexOf(e)>-1}function x(e){return p.push(e.link)}return(e,_)=>{const v=n("BaseBreadcrumbItem"),y=n("BaseBreadcrumb"),S=n("BasePageHeader"),V=n("BaseMultiselect"),C=n("BaseIcon"),I=n("RouterView"),L=n("BasePage");return i(),B(L,null,{default:c(()=>[a(S,{title:e.$tc("settings.setting",1),class:"mb-6"},{default:c(()=>[a(y,null,{default:c(()=>[a(v,{title:e.$t("general.home"),to:"/admin/dashboard"},null,8,["title"]),a(v,{title:e.$tc("settings.setting",2),to:"/admin/settings/account-settings",active:""},null,8,["title"])]),_:1})]),_:1},8,["title"]),d("div",X,[a(V,{modelValue:h(t),"onUpdate:modelValue":[_[0]||(_[0]=r=>E(t)?t.value=r:t=r),x],options:h(m),"can-deselect":!1,"value-prop":"title","track-by":"title",label:"title",object:""},null,8,["modelValue","options"])]),d("div",Y,[d("div",Z,[a(W,null,{default:c(()=>[(i(!0),f(O,null,F(h(s).settingMenu,(r,$)=>(i(),B(Q,{key:$,title:e.$t(r.title),to:r.link,active:w(r.link),index:$,class:"py-3"},{icon:c(()=>[a(C,{name:r.icon},null,8,["name"])]),_:2},1032,["title","to","active","index"]))),128))]),_:1})]),d("div",ee,[a(I)])])]),_:1})}}};export{ne as default}; diff --git a/public/build/assets/TaxTypeModal.e84ae727.js b/public/build/assets/TaxTypeModal.2309f47d.js similarity index 67% rename from public/build/assets/TaxTypeModal.e84ae727.js rename to public/build/assets/TaxTypeModal.2309f47d.js index cad4b2e2c..22363b96a 100644 --- a/public/build/assets/TaxTypeModal.e84ae727.js +++ b/public/build/assets/TaxTypeModal.2309f47d.js @@ -1 +1 @@ -import{g as k,i as z,k as $,m as c,n as b,p as N,aZ as j,a4 as D,q as G,r as i,o as g,s as B,w as l,t as y,v as x,x as v,y as e,b as o,z as L,A as U,B as E}from"./vendor.e9042f2c.js";import{q as A,g as X,u as Z,j as F}from"./main.c4ed6aa9.js";const H={class:"flex justify-between w-full"},J=["onSubmit"],K={class:"p-4 sm:p-6"},O={class:"z-0 flex justify-end p-4 border-t border-solid border--200 border-modal-bg"},Y={setup(P){const t=A(),u=X();Z(),F();const{t:p,tm:Q}=k();let d=z(!1);const h=$(()=>({currentTaxType:{name:{required:c.withMessage(p("validation.required"),b),minLength:c.withMessage(p("validation.name_min_length",{count:3}),N(3))},percent:{required:c.withMessage(p("validation.required"),b),between:c.withMessage(p("validation.enter_valid_tax_rate"),j(0,100))},description:{maxLength:c.withMessage(p("validation.description_maxlength",{count:255}),D(255))}}})),r=G(h,$(()=>t));async function w(){if(r.value.currentTaxType.$touch(),r.value.currentTaxType.$invalid)return!0;try{const s=t.isEdit?t.updateTaxType:t.addTaxType;d.value=!0;let a=await s(t.currentTaxType);d.value=!1,u.refreshData&&u.refreshData(a.data.data),m()}catch{return d.value=!1,!0}}function m(){u.closeModal(),setTimeout(()=>{t.resetCurrentTaxType(),r.value.$reset()},300)}return(s,a)=>{const f=i("BaseIcon"),V=i("BaseInput"),T=i("BaseInputGroup"),I=i("BaseMoney"),M=i("BaseTextarea"),S=i("BaseSwitch"),q=i("BaseInputGrid"),_=i("BaseButton"),C=i("BaseModal");return g(),B(C,{show:e(u).active&&e(u).componentName==="TaxTypeModal",onClose:m},{header:l(()=>[y("div",H,[x(v(e(u).title)+" ",1),o(f,{name:"XIcon",class:"h-6 w-6 text-gray-500 cursor-pointer",onClick:m})])]),default:l(()=>[y("form",{action:"",onSubmit:E(w,["prevent"])},[y("div",K,[o(q,{layout:"one-column"},{default:l(()=>[o(T,{label:s.$t("tax_types.name"),variant:"horizontal",error:e(r).currentTaxType.name.$error&&e(r).currentTaxType.name.$errors[0].$message,required:""},{default:l(()=>[o(V,{modelValue:e(t).currentTaxType.name,"onUpdate:modelValue":a[0]||(a[0]=n=>e(t).currentTaxType.name=n),invalid:e(r).currentTaxType.name.$error,type:"text",onInput:a[1]||(a[1]=n=>e(r).currentTaxType.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),o(T,{label:s.$t("tax_types.percent"),variant:"horizontal",error:e(r).currentTaxType.percent.$error&&e(r).currentTaxType.percent.$errors[0].$message,required:""},{default:l(()=>[o(I,{modelValue:e(t).currentTaxType.percent,"onUpdate:modelValue":a[2]||(a[2]=n=>e(t).currentTaxType.percent=n),currency:{decimal:".",thousands:",",symbol:"% ",precision:2,masked:!1},invalid:e(r).currentTaxType.percent.$error,class:"relative w-full focus:border focus:border-solid focus:border-primary",onInput:a[3]||(a[3]=n=>e(r).currentTaxType.percent.$touch())},null,8,["modelValue","currency","invalid"])]),_:1},8,["label","error"]),o(T,{label:s.$t("tax_types.description"),error:e(r).currentTaxType.description.$error&&e(r).currentTaxType.description.$errors[0].$message,variant:"horizontal"},{default:l(()=>[o(M,{modelValue:e(t).currentTaxType.description,"onUpdate:modelValue":a[4]||(a[4]=n=>e(t).currentTaxType.description=n),invalid:e(r).currentTaxType.description.$error,rows:"4",cols:"50",onInput:a[5]||(a[5]=n=>e(r).currentTaxType.description.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),o(T,{label:s.$t("tax_types.compound_tax"),variant:"horizontal",class:"flex flex-row-reverse"},{default:l(()=>[o(S,{modelValue:e(t).currentTaxType.compound_tax,"onUpdate:modelValue":a[6]||(a[6]=n=>e(t).currentTaxType.compound_tax=n),class:"flex items-center"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),y("div",O,[o(_,{class:"mr-3 text-sm",variant:"primary-outline",type:"button",onClick:m},{default:l(()=>[x(v(s.$t("general.cancel")),1)]),_:1}),o(_,{loading:e(d),disabled:e(d),variant:"primary",type:"submit"},{left:l(n=>[e(d)?U("",!0):(g(),B(f,{key:0,name:"SaveIcon",class:L(n.class)},null,8,["class"]))]),default:l(()=>[x(" "+v(e(t).isEdit?s.$t("general.update"):s.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,J)]),_:1},8,["show"])}}};export{Y as _}; +import{g as k,i as z,k as $,m as c,n as b,p as N,aZ as j,a4 as D,q as G,r as i,o as g,s as B,w as l,t as y,v as x,x as v,y as e,b as o,z as L,A as U,B as E}from"./vendor.e9042f2c.js";import{q as A,g as X,u as Z,j as F}from"./main.f55cd568.js";const H={class:"flex justify-between w-full"},J=["onSubmit"],K={class:"p-4 sm:p-6"},O={class:"z-0 flex justify-end p-4 border-t border-solid border--200 border-modal-bg"},Y={setup(P){const a=A(),u=X();Z(),F();const{t:p,tm:Q}=k();let d=z(!1);const h=$(()=>({currentTaxType:{name:{required:c.withMessage(p("validation.required"),b),minLength:c.withMessage(p("validation.name_min_length",{count:3}),N(3))},percent:{required:c.withMessage(p("validation.required"),b),between:c.withMessage(p("validation.enter_valid_tax_rate"),j(0,100))},description:{maxLength:c.withMessage(p("validation.description_maxlength",{count:255}),D(255))}}})),r=G(h,$(()=>a));async function w(){if(r.value.currentTaxType.$touch(),r.value.currentTaxType.$invalid)return!0;try{const s=a.isEdit?a.updateTaxType:a.addTaxType;d.value=!0;let t=await s(a.currentTaxType);d.value=!1,u.refreshData&&u.refreshData(t.data.data),m()}catch{return d.value=!1,!0}}function m(){u.closeModal(),setTimeout(()=>{a.resetCurrentTaxType(),r.value.$reset()},300)}return(s,t)=>{const f=i("BaseIcon"),V=i("BaseInput"),T=i("BaseInputGroup"),I=i("BaseMoney"),M=i("BaseTextarea"),S=i("BaseSwitch"),q=i("BaseInputGrid"),_=i("BaseButton"),C=i("BaseModal");return g(),B(C,{show:e(u).active&&e(u).componentName==="TaxTypeModal",onClose:m},{header:l(()=>[y("div",H,[x(v(e(u).title)+" ",1),o(f,{name:"XIcon",class:"h-6 w-6 text-gray-500 cursor-pointer",onClick:m})])]),default:l(()=>[y("form",{action:"",onSubmit:E(w,["prevent"])},[y("div",K,[o(q,{layout:"one-column"},{default:l(()=>[o(T,{label:s.$t("tax_types.name"),variant:"horizontal",error:e(r).currentTaxType.name.$error&&e(r).currentTaxType.name.$errors[0].$message,required:""},{default:l(()=>[o(V,{modelValue:e(a).currentTaxType.name,"onUpdate:modelValue":t[0]||(t[0]=n=>e(a).currentTaxType.name=n),invalid:e(r).currentTaxType.name.$error,type:"text",onInput:t[1]||(t[1]=n=>e(r).currentTaxType.name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),o(T,{label:s.$t("tax_types.percent"),variant:"horizontal",error:e(r).currentTaxType.percent.$error&&e(r).currentTaxType.percent.$errors[0].$message,required:""},{default:l(()=>[o(I,{modelValue:e(a).currentTaxType.percent,"onUpdate:modelValue":t[2]||(t[2]=n=>e(a).currentTaxType.percent=n),currency:{decimal:".",thousands:",",symbol:"% ",precision:2,masked:!1},invalid:e(r).currentTaxType.percent.$error,class:"relative w-full focus:border focus:border-solid focus:border-primary",onInput:t[3]||(t[3]=n=>e(r).currentTaxType.percent.$touch())},null,8,["modelValue","currency","invalid"])]),_:1},8,["label","error"]),o(T,{label:s.$t("tax_types.description"),error:e(r).currentTaxType.description.$error&&e(r).currentTaxType.description.$errors[0].$message,variant:"horizontal"},{default:l(()=>[o(M,{modelValue:e(a).currentTaxType.description,"onUpdate:modelValue":t[4]||(t[4]=n=>e(a).currentTaxType.description=n),invalid:e(r).currentTaxType.description.$error,rows:"4",cols:"50",onInput:t[5]||(t[5]=n=>e(r).currentTaxType.description.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),o(T,{label:s.$t("tax_types.compound_tax"),variant:"horizontal",class:"flex flex-row-reverse"},{default:l(()=>[o(S,{modelValue:e(a).currentTaxType.compound_tax,"onUpdate:modelValue":t[6]||(t[6]=n=>e(a).currentTaxType.compound_tax=n),class:"flex items-center"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),y("div",O,[o(_,{class:"mr-3 text-sm",variant:"primary-outline",type:"button",onClick:m},{default:l(()=>[x(v(s.$t("general.cancel")),1)]),_:1}),o(_,{loading:e(d),disabled:e(d),variant:"primary",type:"submit"},{left:l(n=>[e(d)?U("",!0):(g(),B(f,{key:0,name:"SaveIcon",class:L(n.class)},null,8,["class"]))]),default:l(()=>[x(" "+v(e(a).isEdit?s.$t("general.update"):s.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,J)]),_:1},8,["show"])}}};export{Y as _}; diff --git a/public/build/assets/TaxTypesSetting.577ebaa1.js b/public/build/assets/TaxTypesSetting.31d51667.js similarity index 97% rename from public/build/assets/TaxTypesSetting.577ebaa1.js rename to public/build/assets/TaxTypesSetting.31d51667.js index 242e5984d..cee57c937 100644 --- a/public/build/assets/TaxTypesSetting.577ebaa1.js +++ b/public/build/assets/TaxTypesSetting.31d51667.js @@ -1 +1 @@ -import{i as R,u as U,q as A,d as N,g as P,e as x,c as H}from"./main.c4ed6aa9.js";import{g as $,u as q,am as Y,r as n,o as m,s as g,w as t,y as s,b as l,v as T,x as B,A as I,i as z,k as M,a5 as j,z as G,c as J,a0 as K}from"./vendor.e9042f2c.js";import{_ as Q}from"./TaxTypeModal.e84ae727.js";const W={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(S){const o=S,b=R();U();const{t:i}=$(),h=A(),C=q(),_=N(),c=P();Y("utils");async function v(r){await h.fetchTaxType(r),c.openModal({title:i("settings.tax_types.edit_tax"),componentName:"TaxTypeModal",size:"sm",refreshData:o.loadData&&o.loadData})}function w(r){b.openDialog({title:i("general.are_you_sure"),message:i("settings.tax_types.confirm_delete"),yesLabel:i("general.ok"),noLabel:i("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async d=>{if(d){if((await h.deleteTaxType(r)).data.success)return o.loadData&&o.loadData(),!0;o.loadData&&o.loadData()}})}return(r,d)=>{const p=n("BaseIcon"),E=n("BaseButton"),D=n("BaseDropdownItem"),a=n("BaseDropdown");return m(),g(a,null,{activator:t(()=>[s(C).name==="tax-types.view"?(m(),g(E,{key:0,variant:"primary"},{default:t(()=>[l(p,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(m(),g(p,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:t(()=>[s(_).hasAbilities(s(x).EDIT_TAX_TYPE)?(m(),g(D,{key:0,onClick:d[0]||(d[0]=u=>v(S.row.id))},{default:t(()=>[l(p,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),T(" "+B(r.$t("general.edit")),1)]),_:1})):I("",!0),s(_).hasAbilities(s(x).DELETE_TAX_TYPE)?(m(),g(D,{key:1,onClick:d[1]||(d[1]=u=>w(S.row.id))},{default:t(()=>[l(p,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),T(" "+B(r.$t("general.delete")),1)]),_:1})):I("",!0)]),_:1})}}},Z={key:0},se={setup(S){const{t:o}=$(),b=Y("utils"),i=H(),h=A(),C=P(),_=N(),c=z(null),v=z(i.selectedCompanySettings.tax_per_item),w=M(()=>[{key:"name",label:o("settings.tax_types.tax_name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"compound_tax",label:o("settings.tax_types.compound_tax"),tdClass:"font-medium text-gray-900"},{key:"percent",label:o("settings.tax_types.percent"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]),r=M({get:()=>v.value==="YES",set:async a=>{const u=a?"YES":"NO";let y={settings:{tax_per_item:u}};v.value=u,await i.updateCompanySettings({data:y,message:"general.setting_updated"})}});function d(){return _.hasAbilities([x.DELETE_TAX_TYPE,x.EDIT_TAX_TYPE])}async function p({page:a,filter:u,sort:y}){let k={orderByField:y.fieldName||"created_at",orderBy:y.order||"desc",page:a},f=await h.fetchTaxTypes(k);return{data:f.data.data,pagination:{totalPages:f.data.meta.last_page,currentPage:a,totalCount:f.data.meta.total,limit:5}}}async function E(){c.value&&c.value.refresh()}function D(){C.openModal({title:o("settings.tax_types.add_tax"),componentName:"TaxTypeModal",size:"sm",refreshData:c.value&&c.value.refresh})}return(a,u)=>{const y=n("BaseIcon"),k=n("BaseButton"),f=n("BaseBadge"),O=n("BaseTable"),V=n("BaseDivider"),X=n("BaseSwitchSection"),L=n("BaseSettingCard");return m(),g(L,{title:a.$t("settings.tax_types.title"),description:a.$t("settings.tax_types.description")},j({default:t(()=>[l(Q),l(O,{ref:(e,F)=>{F.table=e,c.value=e},class:"mt-16",data:p,columns:s(w)},j({"cell-compound_tax":t(({row:e})=>[l(f,{"bg-color":s(b).getBadgeStatusColor(e.data.compound_tax?"YES":"NO").bgColor,color:s(b).getBadgeStatusColor(e.data.compound_tax?"YES":"NO").color},{default:t(()=>[T(B(e.data.compound_tax?"Yes":"No".replace("_"," ")),1)]),_:2},1032,["bg-color","color"])]),"cell-percent":t(({row:e})=>[T(B(e.data.percent)+" % ",1)]),_:2},[d()?{name:"cell-actions",fn:t(({row:e})=>[l(W,{row:e.data,table:c.value,"load-data":E},null,8,["row","table"])])}:void 0]),1032,["columns"]),s(_).currentUser.is_owner?(m(),J("div",Z,[l(V,{class:"mt-8 mb-2"}),l(X,{modelValue:s(r),"onUpdate:modelValue":u[0]||(u[0]=e=>K(r)?r.value=e:null),title:a.$t("settings.tax_types.tax_per_item"),description:a.$t("settings.tax_types.tax_setting_description")},null,8,["modelValue","title","description"])])):I("",!0)]),_:2},[s(_).hasAbilities(s(x).CREATE_TAX_TYPE)?{name:"action",fn:t(()=>[l(k,{type:"submit",variant:"primary-outline",onClick:D},{left:t(e=>[l(y,{class:G(e.class),name:"PlusIcon"},null,8,["class"])]),default:t(()=>[T(" "+B(a.$t("settings.tax_types.add_new_tax")),1)]),_:1})])}:void 0]),1032,["title","description"])}}};export{se as default}; +import{i as R,u as U,q as A,d as N,g as P,e as x,c as H}from"./main.f55cd568.js";import{g as $,u as q,am as Y,r as n,o as m,s as g,w as t,y as s,b as l,v as T,x as B,A as I,i as z,k as M,a5 as j,z as G,c as J,a0 as K}from"./vendor.e9042f2c.js";import{_ as Q}from"./TaxTypeModal.2309f47d.js";const W={props:{row:{type:Object,default:null},table:{type:Object,default:null},loadData:{type:Function,default:null}},setup(S){const o=S,b=R();U();const{t:i}=$(),h=A(),C=q(),_=N(),c=P();Y("utils");async function v(r){await h.fetchTaxType(r),c.openModal({title:i("settings.tax_types.edit_tax"),componentName:"TaxTypeModal",size:"sm",refreshData:o.loadData&&o.loadData})}function w(r){b.openDialog({title:i("general.are_you_sure"),message:i("settings.tax_types.confirm_delete"),yesLabel:i("general.ok"),noLabel:i("general.cancel"),variant:"danger",hideNoButton:!1,size:"lg"}).then(async d=>{if(d){if((await h.deleteTaxType(r)).data.success)return o.loadData&&o.loadData(),!0;o.loadData&&o.loadData()}})}return(r,d)=>{const p=n("BaseIcon"),E=n("BaseButton"),D=n("BaseDropdownItem"),a=n("BaseDropdown");return m(),g(a,null,{activator:t(()=>[s(C).name==="tax-types.view"?(m(),g(E,{key:0,variant:"primary"},{default:t(()=>[l(p,{name:"DotsHorizontalIcon",class:"h-5 text-white"})]),_:1})):(m(),g(p,{key:1,name:"DotsHorizontalIcon",class:"h-5 text-gray-500"}))]),default:t(()=>[s(_).hasAbilities(s(x).EDIT_TAX_TYPE)?(m(),g(D,{key:0,onClick:d[0]||(d[0]=u=>v(S.row.id))},{default:t(()=>[l(p,{name:"PencilIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),T(" "+B(r.$t("general.edit")),1)]),_:1})):I("",!0),s(_).hasAbilities(s(x).DELETE_TAX_TYPE)?(m(),g(D,{key:1,onClick:d[1]||(d[1]=u=>w(S.row.id))},{default:t(()=>[l(p,{name:"TrashIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500"}),T(" "+B(r.$t("general.delete")),1)]),_:1})):I("",!0)]),_:1})}}},Z={key:0},se={setup(S){const{t:o}=$(),b=Y("utils"),i=H(),h=A(),C=P(),_=N(),c=z(null),v=z(i.selectedCompanySettings.tax_per_item),w=M(()=>[{key:"name",label:o("settings.tax_types.tax_name"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"compound_tax",label:o("settings.tax_types.compound_tax"),tdClass:"font-medium text-gray-900"},{key:"percent",label:o("settings.tax_types.percent"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"actions",label:"",tdClass:"text-right text-sm font-medium",sortable:!1}]),r=M({get:()=>v.value==="YES",set:async a=>{const u=a?"YES":"NO";let y={settings:{tax_per_item:u}};v.value=u,await i.updateCompanySettings({data:y,message:"general.setting_updated"})}});function d(){return _.hasAbilities([x.DELETE_TAX_TYPE,x.EDIT_TAX_TYPE])}async function p({page:a,filter:u,sort:y}){let k={orderByField:y.fieldName||"created_at",orderBy:y.order||"desc",page:a},f=await h.fetchTaxTypes(k);return{data:f.data.data,pagination:{totalPages:f.data.meta.last_page,currentPage:a,totalCount:f.data.meta.total,limit:5}}}async function E(){c.value&&c.value.refresh()}function D(){C.openModal({title:o("settings.tax_types.add_tax"),componentName:"TaxTypeModal",size:"sm",refreshData:c.value&&c.value.refresh})}return(a,u)=>{const y=n("BaseIcon"),k=n("BaseButton"),f=n("BaseBadge"),O=n("BaseTable"),V=n("BaseDivider"),X=n("BaseSwitchSection"),L=n("BaseSettingCard");return m(),g(L,{title:a.$t("settings.tax_types.title"),description:a.$t("settings.tax_types.description")},j({default:t(()=>[l(Q),l(O,{ref:(e,F)=>{F.table=e,c.value=e},class:"mt-16",data:p,columns:s(w)},j({"cell-compound_tax":t(({row:e})=>[l(f,{"bg-color":s(b).getBadgeStatusColor(e.data.compound_tax?"YES":"NO").bgColor,color:s(b).getBadgeStatusColor(e.data.compound_tax?"YES":"NO").color},{default:t(()=>[T(B(e.data.compound_tax?"Yes":"No".replace("_"," ")),1)]),_:2},1032,["bg-color","color"])]),"cell-percent":t(({row:e})=>[T(B(e.data.percent)+" % ",1)]),_:2},[d()?{name:"cell-actions",fn:t(({row:e})=>[l(W,{row:e.data,table:c.value,"load-data":E},null,8,["row","table"])])}:void 0]),1032,["columns"]),s(_).currentUser.is_owner?(m(),J("div",Z,[l(V,{class:"mt-8 mb-2"}),l(X,{modelValue:s(r),"onUpdate:modelValue":u[0]||(u[0]=e=>K(r)?r.value=e:null),title:a.$t("settings.tax_types.tax_per_item"),description:a.$t("settings.tax_types.tax_setting_description")},null,8,["modelValue","title","description"])])):I("",!0)]),_:2},[s(_).hasAbilities(s(x).CREATE_TAX_TYPE)?{name:"action",fn:t(()=>[l(k,{type:"submit",variant:"primary-outline",onClick:D},{left:t(e=>[l(y,{class:G(e.class),name:"PlusIcon"},null,8,["class"])]),default:t(()=>[T(" "+B(a.$t("settings.tax_types.add_new_tax")),1)]),_:1})])}:void 0]),1032,["title","description"])}}};export{se as default}; diff --git a/public/build/assets/UpdateAppSetting.62204e18.js b/public/build/assets/UpdateAppSetting.0045e27a.js similarity index 98% rename from public/build/assets/UpdateAppSetting.62204e18.js rename to public/build/assets/UpdateAppSetting.0045e27a.js index 969575218..baf206c18 100644 --- a/public/build/assets/UpdateAppSetting.62204e18.js +++ b/public/build/assets/UpdateAppSetting.0045e27a.js @@ -1 +1 @@ -import{g as M,i as d,j as I,k as P,r as f,o as n,s as j,w as b,t,x as s,y as a,b as g,v as U,A as v,Z as R,al as O,c as r,F as L,H as V,z as Y}from"./vendor.e9042f2c.js";import{u as Z,c as G,t as J,h as T}from"./main.c4ed6aa9.js";import{L as Q}from"./LoadingIcon.562f15c9.js";const W={class:"pb-8 ml-0"},X={class:"text-sm not-italic font-medium input-label"},ee={class:"box-border flex w-16 p-3 my-2 text-sm text-gray-600 bg-gray-200 border border-gray-200 border-solid rounded-md version"},te={key:1,class:"mt-4 content"},se={class:"rounded-md bg-primary-50 p-4 mb-3"},ae={class:"flex"},ne={class:"flex-shrink-0"},ie={class:"ml-3"},re={class:"text-sm font-medium text-primary-800"},le={class:"mt-2 text-sm text-primary-700"},oe={class:"text-sm not-italic font-medium input-label"},de=t("br",null,null,-1),pe={class:"box-border flex w-16 p-3 my-2 text-sm text-gray-600 bg-gray-200 border border-gray-200 border-solid rounded-md version"},ue=["innerHTML"],ce={class:"text-sm not-italic font-medium input-label"},me={class:"w-1/2 mt-2 border-2 border-gray-200 BaseTable-fixed"},_e={width:"70%",class:"p-2 text-sm truncate"},fe={width:"30%",class:"p-2 text-sm text-right"},ge={key:0,class:"inline-block w-4 h-4 ml-3 mr-2 bg-green-500 rounded-full"},ve={key:1,class:"inline-block w-4 h-4 ml-3 mr-2 bg-red-500 rounded-full"},he={key:2,class:"relative flex justify-between mt-4 content"},ye={class:"m-0 mb-3 font-medium sw-section-title"},be={class:"mb-8 text-sm leading-snug text-gray-500",style:{"max-width":"480px"}},xe={key:3,class:"w-full p-0 list-none"},we={class:"m-0 text-sm leading-8"},ke={class:"flex flex-row items-center"},Be={key:0,class:"mr-3 text-xs text-gray-500"},Ke={setup(Ue){const x=Z(),{t:w,tm:$e}=M();G(),J();let h=d(!1),u=d(!1),$=d(""),k=d(""),c=d(null),C=d(null),l=d(!1);const B=I([{translationKey:"settings.update_app.download_zip_file",stepUrl:"/api/v1/update/download",time:null,started:!1,completed:!1},{translationKey:"settings.update_app.unzipping_package",stepUrl:"/api/v1/update/unzip",time:null,started:!1,completed:!1},{translationKey:"settings.update_app.copying_files",stepUrl:"/api/v1/update/copy",time:null,started:!1,completed:!1},{translationKey:"settings.update_app.deleting_files",stepUrl:"/api/v1/update/delete",time:null,started:!1,completed:!1},{translationKey:"settings.update_app.running_migrations",stepUrl:"/api/v1/update/migrate",time:null,started:!1,completed:!1},{translationKey:"settings.update_app.finishing_update",stepUrl:"/api/v1/update/finish",time:null,started:!1,completed:!1}]),y=I({isMinor:Boolean,installed:"",version:""});let q=d(null);window.addEventListener("beforeunload",e=>{l.value&&(e.returnValue="Update is in progress!")}),window.axios.get("/api/v1/app/version").then(e=>{k.value=e.data.version});const z=P(()=>c.value!==null?Object.keys(c.value).every(e=>c.value[e]):!0);function D(e){switch(N(e)){case"pending":return"text-primary-800 bg-gray-200";case"finished":return"text-teal-500 bg-teal-100";case"running":return"text-blue-400 bg-blue-100";case"error":return"text-danger bg-red-200";default:return""}}async function E(){try{u.value=!0;let e=await window.axios.get("/api/v1/check/update");if(u.value=!1,!e.data.version){x.showNotification({title:"Info!",type:"info",message:w("settings.update_app.latest_message")});return}e.data&&(y.isMinor=e.data.is_minor,y.version=e.data.version.version,$.value=e.data.version.description,c.value=e.data.version.extensions,h.value=!0,q.value=e.data.version.minimum_php_version,C.value=e.data.version.deleted_files)}catch(e){h.value=!1,u.value=!1,T(e)}}async function S(){let e=null;if(!z.value)return x.showNotification({type:"error",message:"Your current configuration does not match the update requirements. Please try again after all the requirements are fulfilled."}),!0;for(let p=0;p{location.reload()},3e3))}catch(m){return i.started=!1,i.completed=!0,T(m),H(i.translationKey),!1}}}function H(e){if(w(e).value){S();return}l.value=!1}function N(e){return e.started&&e.completed?"finished":e.started&&!e.completed?"running":!e.started&&!e.completed?"pending":"error"}return(e,p)=>{const i=f("BaseButton"),m=f("BaseDivider"),_=f("BaseHeading"),A=f("BaseIcon"),F=f("BaseSettingCard");return n(),j(F,{title:e.$t("settings.update_app.title"),description:e.$t("settings.update_app.description")},{default:b(()=>[t("div",W,[t("label",X,s(e.$t("settings.update_app.current_version")),1),t("div",ee,s(a(k)),1),g(i,{loading:a(u),disabled:a(u)||a(l),variant:"primary-outline",class:"mt-6",onClick:E},{default:b(()=>[U(s(e.$t("settings.update_app.check_update")),1)]),_:1},8,["loading","disabled"]),a(h)?(n(),j(m,{key:0,class:"mt-6 mb-4"})):v("",!0),a(h)?R((n(),r("div",te,[g(_,{type:"heading-title",class:"mb-2"},{default:b(()=>[U(s(e.$t("settings.update_app.avail_update")),1)]),_:1}),t("div",se,[t("div",ae,[t("div",ne,[g(A,{name:"InformationCircleIcon",class:"h-5 w-5 text-primary-400","aria-hidden":"true"})]),t("div",ie,[t("h3",re,s(e.$t("general.note")),1),t("div",le,[t("p",null,s(e.$t("settings.update_app.update_warning")),1)])])])]),t("label",oe,s(e.$t("settings.update_app.next_version")),1),de,t("div",pe,s(a(y).version),1),t("div",{class:"pl-5 mt-4 mb-8 text-sm leading-snug text-gray-500 update-description",style:{"white-space":"pre-wrap","max-width":"480px"},innerHTML:a($)},null,8,ue),t("label",ce,s(e.$t("settings.update_app.requirements")),1),t("table",me,[(n(!0),r(L,null,V(a(c),(o,K)=>(n(),r("tr",{key:K,class:"p-2 border-2 border-gray-200"},[t("td",_e,s(K),1),t("td",fe,[o?(n(),r("span",ge)):(n(),r("span",ve))])]))),128))]),g(i,{class:"mt-10",variant:"primary",onClick:S},{default:b(()=>[U(s(e.$t("settings.update_app.update")),1)]),_:1})],512)),[[O,!a(l)]]):v("",!0),a(l)?(n(),r("div",he,[t("div",null,[t("h6",ye,s(e.$t("settings.update_app.update_progress")),1),t("p",be,s(e.$t("settings.update_app.progress_text")),1)]),g(Q,{class:"absolute right-0 h-6 m-1 animate-spin text-primary-400"})])):v("",!0),a(l)?(n(),r("ul",xe,[(n(!0),r(L,null,V(a(B),o=>(n(),r("li",{key:o.stepUrl,class:"flex justify-between w-full py-3 border-b border-gray-200 border-solid last:border-b-0"},[t("p",we,s(e.$t(o.translationKey)),1),t("div",ke,[o.time?(n(),r("span",Be,s(o.time),1)):v("",!0),t("span",{class:Y([D(o),"block py-1 text-sm text-center uppercase rounded-full"]),style:{width:"88px"}},s(N(o)),3)])]))),128))])):v("",!0)])]),_:1},8,["title","description"])}}};export{Ke as default}; +import{g as M,i as d,j as I,k as P,r as f,o as n,s as j,w as b,t,x as s,y as a,b as g,v as U,A as v,Z as R,al as O,c as r,F as L,H as V,z as Y}from"./vendor.e9042f2c.js";import{u as Z,c as G,t as J,h as T}from"./main.f55cd568.js";import{L as Q}from"./LoadingIcon.edb4fe20.js";const W={class:"pb-8 ml-0"},X={class:"text-sm not-italic font-medium input-label"},ee={class:"box-border flex w-16 p-3 my-2 text-sm text-gray-600 bg-gray-200 border border-gray-200 border-solid rounded-md version"},te={key:1,class:"mt-4 content"},se={class:"rounded-md bg-primary-50 p-4 mb-3"},ae={class:"flex"},ne={class:"flex-shrink-0"},ie={class:"ml-3"},re={class:"text-sm font-medium text-primary-800"},le={class:"mt-2 text-sm text-primary-700"},oe={class:"text-sm not-italic font-medium input-label"},de=t("br",null,null,-1),pe={class:"box-border flex w-16 p-3 my-2 text-sm text-gray-600 bg-gray-200 border border-gray-200 border-solid rounded-md version"},ue=["innerHTML"],ce={class:"text-sm not-italic font-medium input-label"},me={class:"w-1/2 mt-2 border-2 border-gray-200 BaseTable-fixed"},_e={width:"70%",class:"p-2 text-sm truncate"},fe={width:"30%",class:"p-2 text-sm text-right"},ge={key:0,class:"inline-block w-4 h-4 ml-3 mr-2 bg-green-500 rounded-full"},ve={key:1,class:"inline-block w-4 h-4 ml-3 mr-2 bg-red-500 rounded-full"},he={key:2,class:"relative flex justify-between mt-4 content"},ye={class:"m-0 mb-3 font-medium sw-section-title"},be={class:"mb-8 text-sm leading-snug text-gray-500",style:{"max-width":"480px"}},xe={key:3,class:"w-full p-0 list-none"},we={class:"m-0 text-sm leading-8"},ke={class:"flex flex-row items-center"},Be={key:0,class:"mr-3 text-xs text-gray-500"},Ke={setup(Ue){const x=Z(),{t:w,tm:$e}=M();G(),J();let h=d(!1),u=d(!1),$=d(""),k=d(""),c=d(null),C=d(null),l=d(!1);const B=I([{translationKey:"settings.update_app.download_zip_file",stepUrl:"/api/v1/update/download",time:null,started:!1,completed:!1},{translationKey:"settings.update_app.unzipping_package",stepUrl:"/api/v1/update/unzip",time:null,started:!1,completed:!1},{translationKey:"settings.update_app.copying_files",stepUrl:"/api/v1/update/copy",time:null,started:!1,completed:!1},{translationKey:"settings.update_app.deleting_files",stepUrl:"/api/v1/update/delete",time:null,started:!1,completed:!1},{translationKey:"settings.update_app.running_migrations",stepUrl:"/api/v1/update/migrate",time:null,started:!1,completed:!1},{translationKey:"settings.update_app.finishing_update",stepUrl:"/api/v1/update/finish",time:null,started:!1,completed:!1}]),y=I({isMinor:Boolean,installed:"",version:""});let q=d(null);window.addEventListener("beforeunload",e=>{l.value&&(e.returnValue="Update is in progress!")}),window.axios.get("/api/v1/app/version").then(e=>{k.value=e.data.version});const z=P(()=>c.value!==null?Object.keys(c.value).every(e=>c.value[e]):!0);function D(e){switch(N(e)){case"pending":return"text-primary-800 bg-gray-200";case"finished":return"text-teal-500 bg-teal-100";case"running":return"text-blue-400 bg-blue-100";case"error":return"text-danger bg-red-200";default:return""}}async function E(){try{u.value=!0;let e=await window.axios.get("/api/v1/check/update");if(u.value=!1,!e.data.version){x.showNotification({title:"Info!",type:"info",message:w("settings.update_app.latest_message")});return}e.data&&(y.isMinor=e.data.is_minor,y.version=e.data.version.version,$.value=e.data.version.description,c.value=e.data.version.extensions,h.value=!0,q.value=e.data.version.minimum_php_version,C.value=e.data.version.deleted_files)}catch(e){h.value=!1,u.value=!1,T(e)}}async function S(){let e=null;if(!z.value)return x.showNotification({type:"error",message:"Your current configuration does not match the update requirements. Please try again after all the requirements are fulfilled."}),!0;for(let p=0;p{location.reload()},3e3))}catch(m){return i.started=!1,i.completed=!0,T(m),H(i.translationKey),!1}}}function H(e){if(w(e).value){S();return}l.value=!1}function N(e){return e.started&&e.completed?"finished":e.started&&!e.completed?"running":!e.started&&!e.completed?"pending":"error"}return(e,p)=>{const i=f("BaseButton"),m=f("BaseDivider"),_=f("BaseHeading"),A=f("BaseIcon"),F=f("BaseSettingCard");return n(),j(F,{title:e.$t("settings.update_app.title"),description:e.$t("settings.update_app.description")},{default:b(()=>[t("div",W,[t("label",X,s(e.$t("settings.update_app.current_version")),1),t("div",ee,s(a(k)),1),g(i,{loading:a(u),disabled:a(u)||a(l),variant:"primary-outline",class:"mt-6",onClick:E},{default:b(()=>[U(s(e.$t("settings.update_app.check_update")),1)]),_:1},8,["loading","disabled"]),a(h)?(n(),j(m,{key:0,class:"mt-6 mb-4"})):v("",!0),a(h)?R((n(),r("div",te,[g(_,{type:"heading-title",class:"mb-2"},{default:b(()=>[U(s(e.$t("settings.update_app.avail_update")),1)]),_:1}),t("div",se,[t("div",ae,[t("div",ne,[g(A,{name:"InformationCircleIcon",class:"h-5 w-5 text-primary-400","aria-hidden":"true"})]),t("div",ie,[t("h3",re,s(e.$t("general.note")),1),t("div",le,[t("p",null,s(e.$t("settings.update_app.update_warning")),1)])])])]),t("label",oe,s(e.$t("settings.update_app.next_version")),1),de,t("div",pe,s(a(y).version),1),t("div",{class:"pl-5 mt-4 mb-8 text-sm leading-snug text-gray-500 update-description",style:{"white-space":"pre-wrap","max-width":"480px"},innerHTML:a($)},null,8,ue),t("label",ce,s(e.$t("settings.update_app.requirements")),1),t("table",me,[(n(!0),r(L,null,V(a(c),(o,K)=>(n(),r("tr",{key:K,class:"p-2 border-2 border-gray-200"},[t("td",_e,s(K),1),t("td",fe,[o?(n(),r("span",ge)):(n(),r("span",ve))])]))),128))]),g(i,{class:"mt-10",variant:"primary",onClick:S},{default:b(()=>[U(s(e.$t("settings.update_app.update")),1)]),_:1})],512)),[[O,!a(l)]]):v("",!0),a(l)?(n(),r("div",he,[t("div",null,[t("h6",ye,s(e.$t("settings.update_app.update_progress")),1),t("p",be,s(e.$t("settings.update_app.progress_text")),1)]),g(Q,{class:"absolute right-0 h-6 m-1 animate-spin text-primary-400"})])):v("",!0),a(l)?(n(),r("ul",xe,[(n(!0),r(L,null,V(a(B),o=>(n(),r("li",{key:o.stepUrl,class:"flex justify-between w-full py-3 border-b border-gray-200 border-solid last:border-b-0"},[t("p",we,s(e.$t(o.translationKey)),1),t("div",ke,[o.time?(n(),r("span",Be,s(o.time),1)):v("",!0),t("span",{class:Y([D(o),"block py-1 text-sm text-center uppercase rounded-full"]),style:{width:"88px"}},s(N(o)),3)])]))),128))])):v("",!0)])]),_:1},8,["title","description"])}}};export{Ke as default}; diff --git a/public/build/assets/View.4c833594.js b/public/build/assets/View.08ff6615.js similarity index 97% rename from public/build/assets/View.4c833594.js rename to public/build/assets/View.08ff6615.js index 8c0ee1e9a..270dcf219 100644 --- a/public/build/assets/View.4c833594.js +++ b/public/build/assets/View.08ff6615.js @@ -1 +1 @@ -import{u as te,C as ae,g as se,i as m,j as M,am as oe,k as g,h as ne,D as re,l as le,r as d,o as c,c as _,b as o,w as n,y as t,s as x,v as de,x as p,A as y,t as r,F as C,H as ie,z as ce}from"./vendor.e9042f2c.js";import{o as ue,g as me,d as fe,i as _e,e as pe}from"./main.c4ed6aa9.js";import{_ as ye,a as he}from"./SendPaymentModal.ed5be265.js";import{L as be}from"./LoadingIcon.562f15c9.js";const ge={class:"fixed top-0 left-0 hidden h-full pt-16 pb-4 ml-56 bg-white xl:ml-64 w-88 xl:block"},xe={class:"flex items-center justify-between px-4 pt-8 pb-6 border border-gray-200 border-solid"},Be={class:"flex ml-3",role:"group","aria-label":"First group"},ve={class:"px-4 py-1 pb-2 mb-2 text-sm border-b border-gray-200 border-solid"},we={class:"px-2"},ke={class:"px-2"},Fe={class:"px-2"},Ie={key:0,class:"h-full pb-32 overflow-y-scroll border-l border-gray-200 border-solid"},Ve={class:"flex-2"},Pe={class:"mb-1 text-xs not-italic font-medium leading-5 text-gray-500 capitalize"},Se={class:"mb-1 text-xs not-italic font-medium leading-5 text-gray-500 capitalize"},De={class:"flex-1 whitespace-nowrap right"},Te={class:"text-sm text-right text-gray-500 non-italic"},$e={class:"flex justify-center p-4 items-center"},je={key:0,class:"flex justify-center px-4 mt-5 text-sm text-gray-600"},ze={class:"flex flex-col min-h-0 mt-8 overflow-hidden",style:{height:"75vh"}},Me=["src"],Ee={setup(Ce){const h=te();ae();const{t:w}=se();m(null),m(null);let f=M({});m(null);let s=M({orderBy:"",orderByField:"",searchText:""}),k=m(!1),L=m(!1);m(!1);let b=m(!1),B=m(!1);oe("utils");const i=ue(),N=me(),U=fe(),A=g(()=>f.payment_number||""),S=g(()=>s.orderBy==="asc"||s.orderBy==null);g(()=>S.value?w("general.ascending"):w("general.descending"));const D=g(()=>f.unique_hash?`/payments/pdf/${f.unique_hash}`:!1),E=g(()=>{var a;return ne((a=i==null?void 0:i.selectedPayment)==null?void 0:a.payment_date).format("YYYY/MM/DD")});re(h,()=>{T()}),R(),T(),u=le.exports.debounce(u,500);function Y(a){return h.params.id==a}_e();async function R(){b.value=!0,await i.fetchPayments({limit:"all"}),b.value=!1,setTimeout(()=>{H()},500)}async function T(){if(!h.params.id)return;B.value=!0;let a=await i.fetchPayment(h.params.id);a.data&&(B.value=!1,Object.assign(f,a.data.data))}function H(){const a=document.getElementById(`payment-${h.params.id}`);a&&(a.scrollIntoView({behavior:"smooth"}),a.classList.add("shake"))}async function u(){let a={};s.searchText!==""&&s.searchText!==null&&s.searchText!==void 0&&(a.search=s.searchText),s.orderBy!==null&&s.orderBy!==void 0&&(a.orderBy=s.orderBy),s.orderByField!==null&&s.orderByField!==void 0&&(a.orderByField=s.orderByField),k.value=!0;try{let l=await i.searchPayment(a);k.value=!1,l.data.data&&(i.payments=l.data.data)}catch{k.value=!1}}function q(){return s.orderBy==="asc"?(s.orderBy="desc",u(),!0):(s.orderBy="asc",u(),!0)}async function G(){N.openModal({title:w("payments.send_payment"),componentName:"SendPaymentModal",id:f.id,data:f,variant:"lg"})}return(a,l)=>{const F=d("BaseButton"),O=d("BasePageHeader"),v=d("BaseIcon"),J=d("BaseInput"),I=d("BaseRadio"),V=d("BaseInputGroup"),P=d("BaseDropdownItem"),K=d("BaseDropdown"),Q=d("BaseText"),W=d("BaseFormatMoney"),X=d("router-link"),Z=d("BasePage");return c(),_(C,null,[o(ye),o(Z,{class:"xl:pl-96"},{default:n(()=>{var $,j;return[o(O,{title:t(A)},{actions:n(()=>[t(U).hasAbilities(t(pe).SEND_PAYMENT)?(c(),x(F,{key:0,disabled:t(L),"content-loading":t(B),variant:"primary",onClick:G},{default:n(()=>[de(p(a.$t("payments.send_payment_receipt")),1)]),_:1},8,["disabled","content-loading"])):y("",!0),o(he,{"content-loading":t(B),class:"ml-3",row:t(f)},null,8,["content-loading","row"])]),_:1},8,["title"]),r("div",ge,[r("div",xe,[o(J,{modelValue:t(s).searchText,"onUpdate:modelValue":l[0]||(l[0]=e=>t(s).searchText=e),placeholder:a.$t("general.search"),type:"text",onInput:u},{default:n(()=>[o(v,{name:"SearchIcon",class:"h-5"})]),_:1},8,["modelValue","placeholder"]),r("div",Be,[o(K,{position:"bottom-start","width-class":"w-50","position-class":"left-0"},{activator:n(()=>[o(F,{variant:"gray"},{default:n(()=>[o(v,{name:"FilterIcon"})]),_:1})]),default:n(()=>[r("div",ve,p(a.$t("general.sort_by")),1),r("div",we,[o(P,{class:"pt-3 rounded-md hover:rounded-md"},{default:n(()=>[o(V,{class:"-mt-3 font-normal"},{default:n(()=>[o(I,{id:"filter_invoice_number",modelValue:t(s).orderByField,"onUpdate:modelValue":[l[1]||(l[1]=e=>t(s).orderByField=e),u],label:a.$t("invoices.title"),size:"sm",name:"filter",value:"invoice_number"},null,8,["modelValue","label"])]),_:1})]),_:1})]),r("div",ke,[o(P,{class:"pt-3 rounded-md hover:rounded-md"},{default:n(()=>[o(V,{class:"-mt-3 font-normal"},{default:n(()=>[o(I,{modelValue:t(s).orderByField,"onUpdate:modelValue":[l[2]||(l[2]=e=>t(s).orderByField=e),u],label:a.$t("payments.date"),size:"sm",name:"filter",value:"payment_date"},null,8,["modelValue","label"])]),_:1})]),_:1})]),r("div",Fe,[o(P,{class:"pt-3 rounded-md hover:rounded-md"},{default:n(()=>[o(V,{class:"-mt-3 font-normal"},{default:n(()=>[o(I,{id:"filter_payment_number",modelValue:t(s).orderByField,"onUpdate:modelValue":[l[3]||(l[3]=e=>t(s).orderByField=e),u],label:a.$t("payments.payment_number"),size:"sm",name:"filter",value:"payment_number"},null,8,["modelValue","label"])]),_:1})]),_:1})])]),_:1}),o(F,{class:"ml-1",size:"md",variant:"gray",onClick:q},{default:n(()=>[t(S)?(c(),x(v,{key:0,name:"SortAscendingIcon"})):(c(),x(v,{key:1,name:"SortDescendingIcon"}))]),_:1})])]),t(i)&&t(i).payments?(c(),_("div",Ie,[(c(!0),_(C,null,ie(t(i).payments,(e,ee)=>(c(),_("div",{key:ee},[e&&!t(b)?(c(),x(X,{key:0,id:"payment-"+e.id,to:`/admin/payments/${e.id}/view`,class:ce(["flex justify-between p-4 items-center cursor-pointer hover:bg-gray-100 border-l-4 border-transparent",{"bg-gray-100 border-l-4 border-primary-500 border-solid":Y(e.id)}]),style:{"border-bottom":"1px solid rgba(185, 193, 209, 0.41)"}},{default:n(()=>{var z;return[r("div",Ve,[o(Q,{text:(z=e==null?void 0:e.customer)==null?void 0:z.name,length:30,class:"pr-2 mb-2 text-sm not-italic font-normal leading-5 text-black capitalize truncate"},null,8,["text"]),r("div",Pe,p(e==null?void 0:e.payment_number),1),r("div",Se,p(e==null?void 0:e.invoice_number),1)]),r("div",De,[o(W,{class:"block mb-2 text-xl not-italic font-semibold leading-8 text-right text-gray-900",amount:e==null?void 0:e.amount,currency:e==null?void 0:e.currency},null,8,["amount","currency"]),r("div",Te,p(t(E)),1)])]}),_:2},1032,["id","to","class"])):y("",!0)]))),128)),r("div",$e,[t(b)?(c(),x(be,{key:0,class:"h-6 m-1 animate-spin text-primary-400"})):y("",!0)]),!((j=($=t(i))==null?void 0:$.payments)==null?void 0:j.length)&&!t(b)?(c(),_("p",je,p(a.$t("payments.no_matching_payments")),1)):y("",!0)])):y("",!0)]),r("div",ze,[t(D)?(c(),_("iframe",{key:0,src:t(D),class:"flex-1 border border-gray-400 border-solid rounded-md"},null,8,Me)):y("",!0)])]}),_:1})],64)}}};export{Ee as default}; +import{u as te,C as ae,g as se,i as m,j as M,am as oe,k as g,h as ne,D as re,l as le,r as d,o as c,c as _,b as o,w as n,y as t,s as x,v as de,x as p,A as y,t as r,F as C,H as ie,z as ce}from"./vendor.e9042f2c.js";import{o as ue,g as me,d as fe,i as _e,e as pe}from"./main.f55cd568.js";import{_ as ye,a as he}from"./SendPaymentModal.da770177.js";import{L as be}from"./LoadingIcon.edb4fe20.js";const ge={class:"fixed top-0 left-0 hidden h-full pt-16 pb-4 ml-56 bg-white xl:ml-64 w-88 xl:block"},xe={class:"flex items-center justify-between px-4 pt-8 pb-6 border border-gray-200 border-solid"},Be={class:"flex ml-3",role:"group","aria-label":"First group"},ve={class:"px-4 py-1 pb-2 mb-2 text-sm border-b border-gray-200 border-solid"},we={class:"px-2"},ke={class:"px-2"},Fe={class:"px-2"},Ie={key:0,class:"h-full pb-32 overflow-y-scroll border-l border-gray-200 border-solid"},Ve={class:"flex-2"},Pe={class:"mb-1 text-xs not-italic font-medium leading-5 text-gray-500 capitalize"},Se={class:"mb-1 text-xs not-italic font-medium leading-5 text-gray-500 capitalize"},De={class:"flex-1 whitespace-nowrap right"},Te={class:"text-sm text-right text-gray-500 non-italic"},$e={class:"flex justify-center p-4 items-center"},je={key:0,class:"flex justify-center px-4 mt-5 text-sm text-gray-600"},ze={class:"flex flex-col min-h-0 mt-8 overflow-hidden",style:{height:"75vh"}},Me=["src"],Ee={setup(Ce){const h=te();ae();const{t:w}=se();m(null),m(null);let f=M({});m(null);let s=M({orderBy:"",orderByField:"",searchText:""}),k=m(!1),L=m(!1);m(!1);let b=m(!1),B=m(!1);oe("utils");const i=ue(),N=me(),U=fe(),A=g(()=>f.payment_number||""),S=g(()=>s.orderBy==="asc"||s.orderBy==null);g(()=>S.value?w("general.ascending"):w("general.descending"));const D=g(()=>f.unique_hash?`/payments/pdf/${f.unique_hash}`:!1),E=g(()=>{var a;return ne((a=i==null?void 0:i.selectedPayment)==null?void 0:a.payment_date).format("YYYY/MM/DD")});re(h,()=>{T()}),R(),T(),u=le.exports.debounce(u,500);function Y(a){return h.params.id==a}_e();async function R(){b.value=!0,await i.fetchPayments({limit:"all"}),b.value=!1,setTimeout(()=>{H()},500)}async function T(){if(!h.params.id)return;B.value=!0;let a=await i.fetchPayment(h.params.id);a.data&&(B.value=!1,Object.assign(f,a.data.data))}function H(){const a=document.getElementById(`payment-${h.params.id}`);a&&(a.scrollIntoView({behavior:"smooth"}),a.classList.add("shake"))}async function u(){let a={};s.searchText!==""&&s.searchText!==null&&s.searchText!==void 0&&(a.search=s.searchText),s.orderBy!==null&&s.orderBy!==void 0&&(a.orderBy=s.orderBy),s.orderByField!==null&&s.orderByField!==void 0&&(a.orderByField=s.orderByField),k.value=!0;try{let l=await i.searchPayment(a);k.value=!1,l.data.data&&(i.payments=l.data.data)}catch{k.value=!1}}function q(){return s.orderBy==="asc"?(s.orderBy="desc",u(),!0):(s.orderBy="asc",u(),!0)}async function G(){N.openModal({title:w("payments.send_payment"),componentName:"SendPaymentModal",id:f.id,data:f,variant:"lg"})}return(a,l)=>{const F=d("BaseButton"),O=d("BasePageHeader"),v=d("BaseIcon"),J=d("BaseInput"),I=d("BaseRadio"),V=d("BaseInputGroup"),P=d("BaseDropdownItem"),K=d("BaseDropdown"),Q=d("BaseText"),W=d("BaseFormatMoney"),X=d("router-link"),Z=d("BasePage");return c(),_(C,null,[o(ye),o(Z,{class:"xl:pl-96"},{default:n(()=>{var $,j;return[o(O,{title:t(A)},{actions:n(()=>[t(U).hasAbilities(t(pe).SEND_PAYMENT)?(c(),x(F,{key:0,disabled:t(L),"content-loading":t(B),variant:"primary",onClick:G},{default:n(()=>[de(p(a.$t("payments.send_payment_receipt")),1)]),_:1},8,["disabled","content-loading"])):y("",!0),o(he,{"content-loading":t(B),class:"ml-3",row:t(f)},null,8,["content-loading","row"])]),_:1},8,["title"]),r("div",ge,[r("div",xe,[o(J,{modelValue:t(s).searchText,"onUpdate:modelValue":l[0]||(l[0]=e=>t(s).searchText=e),placeholder:a.$t("general.search"),type:"text",onInput:u},{default:n(()=>[o(v,{name:"SearchIcon",class:"h-5"})]),_:1},8,["modelValue","placeholder"]),r("div",Be,[o(K,{position:"bottom-start","width-class":"w-50","position-class":"left-0"},{activator:n(()=>[o(F,{variant:"gray"},{default:n(()=>[o(v,{name:"FilterIcon"})]),_:1})]),default:n(()=>[r("div",ve,p(a.$t("general.sort_by")),1),r("div",we,[o(P,{class:"pt-3 rounded-md hover:rounded-md"},{default:n(()=>[o(V,{class:"-mt-3 font-normal"},{default:n(()=>[o(I,{id:"filter_invoice_number",modelValue:t(s).orderByField,"onUpdate:modelValue":[l[1]||(l[1]=e=>t(s).orderByField=e),u],label:a.$t("invoices.title"),size:"sm",name:"filter",value:"invoice_number"},null,8,["modelValue","label"])]),_:1})]),_:1})]),r("div",ke,[o(P,{class:"pt-3 rounded-md hover:rounded-md"},{default:n(()=>[o(V,{class:"-mt-3 font-normal"},{default:n(()=>[o(I,{modelValue:t(s).orderByField,"onUpdate:modelValue":[l[2]||(l[2]=e=>t(s).orderByField=e),u],label:a.$t("payments.date"),size:"sm",name:"filter",value:"payment_date"},null,8,["modelValue","label"])]),_:1})]),_:1})]),r("div",Fe,[o(P,{class:"pt-3 rounded-md hover:rounded-md"},{default:n(()=>[o(V,{class:"-mt-3 font-normal"},{default:n(()=>[o(I,{id:"filter_payment_number",modelValue:t(s).orderByField,"onUpdate:modelValue":[l[3]||(l[3]=e=>t(s).orderByField=e),u],label:a.$t("payments.payment_number"),size:"sm",name:"filter",value:"payment_number"},null,8,["modelValue","label"])]),_:1})]),_:1})])]),_:1}),o(F,{class:"ml-1",size:"md",variant:"gray",onClick:q},{default:n(()=>[t(S)?(c(),x(v,{key:0,name:"SortAscendingIcon"})):(c(),x(v,{key:1,name:"SortDescendingIcon"}))]),_:1})])]),t(i)&&t(i).payments?(c(),_("div",Ie,[(c(!0),_(C,null,ie(t(i).payments,(e,ee)=>(c(),_("div",{key:ee},[e&&!t(b)?(c(),x(X,{key:0,id:"payment-"+e.id,to:`/admin/payments/${e.id}/view`,class:ce(["flex justify-between p-4 items-center cursor-pointer hover:bg-gray-100 border-l-4 border-transparent",{"bg-gray-100 border-l-4 border-primary-500 border-solid":Y(e.id)}]),style:{"border-bottom":"1px solid rgba(185, 193, 209, 0.41)"}},{default:n(()=>{var z;return[r("div",Ve,[o(Q,{text:(z=e==null?void 0:e.customer)==null?void 0:z.name,length:30,class:"pr-2 mb-2 text-sm not-italic font-normal leading-5 text-black capitalize truncate"},null,8,["text"]),r("div",Pe,p(e==null?void 0:e.payment_number),1),r("div",Se,p(e==null?void 0:e.invoice_number),1)]),r("div",De,[o(W,{class:"block mb-2 text-xl not-italic font-semibold leading-8 text-right text-gray-900",amount:e==null?void 0:e.amount,currency:e==null?void 0:e.currency},null,8,["amount","currency"]),r("div",Te,p(t(E)),1)])]}),_:2},1032,["id","to","class"])):y("",!0)]))),128)),r("div",$e,[t(b)?(c(),x(be,{key:0,class:"h-6 m-1 animate-spin text-primary-400"})):y("",!0)]),!((j=($=t(i))==null?void 0:$.payments)==null?void 0:j.length)&&!t(b)?(c(),_("p",je,p(a.$t("payments.no_matching_payments")),1)):y("",!0)])):y("",!0)]),r("div",ze,[t(D)?(c(),_("iframe",{key:0,src:t(D),class:"flex-1 border border-gray-400 border-solid rounded-md"},null,8,Me)):y("",!0)])]}),_:1})],64)}}};export{Ee as default}; diff --git a/public/build/assets/View.aa6e5085.js b/public/build/assets/View.3ffa9aec.js similarity index 96% rename from public/build/assets/View.aa6e5085.js rename to public/build/assets/View.3ffa9aec.js index f111affdd..1326c314d 100644 --- a/public/build/assets/View.aa6e5085.js +++ b/public/build/assets/View.3ffa9aec.js @@ -1 +1 @@ -var re=Object.defineProperty;var N=Object.getOwnPropertySymbols;var ne=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;var L=(p,c,s)=>c in p?re(p,c,{enumerable:!0,configurable:!0,writable:!0,value:s}):p[c]=s,M=(p,c)=>{for(var s in c||(c={}))ne.call(c,s)&&L(p,s,c[s]);if(N)for(var s of N(c))ie.call(c,s)&&L(p,s,c[s]);return p};import{g as de,am as ue,i as f,u as ce,C as me,j as fe,k as B,D as pe,l as _e,r as d,o as m,c as E,b as a,s as g,w as r,t as u,y as l,v as $,x as b,A as v,F as z,H as ye,z as ge}from"./vendor.e9042f2c.js";import{_ as be}from"./EstimateIndexDropdown.16bd4994.js";import{g as ve,j as he,u as xe,i as Be,d as Ee,e as R}from"./main.c4ed6aa9.js";import{_ as ke}from"./SendEstimateModal.d0eba7d1.js";import{L as Se}from"./LoadingIcon.562f15c9.js";const we={class:"mr-3 text-sm"},Te={class:"fixed top-0 left-0 hidden h-full pt-16 pb-4 ml-56 bg-white xl:ml-64 w-88 xl:block"},Ie={class:"flex items-center justify-between px-4 pt-8 pb-2 border border-gray-200 border-solid height-full"},De={class:"mb-6"},Fe={class:"flex mb-6 ml-3",role:"group","aria-label":"First group"},$e={class:"px-4 py-1 pb-2 mb-1 mb-2 text-sm border-b border-gray-200 border-solid"},Ve={key:0,class:"h-full pb-32 overflow-y-scroll border-l border-gray-200 border-solid base-scroll"},Ae={class:"flex-2"},je={class:"mt-1 mb-2 text-xs not-italic font-medium leading-5 text-gray-600"},Ce={class:"flex-1 whitespace-nowrap right"},Ne={class:"text-sm not-italic font-normal leading-5 text-right text-gray-600 est-date"},Le={class:"flex justify-center p-4 items-center"},Me={key:0,class:"flex justify-center px-4 mt-5 text-sm text-gray-600"},ze={class:"flex flex-col min-h-0 mt-8 overflow-hidden",style:{height:"75vh"}},Re=["src"],Oe={setup(p){const c=ve(),s=he();xe();const P=Be(),V=Ee(),{t:y}=de();ue("$utils"),f(null),f(null);const i=f(null);f(null);const h=ce();me(),f(["DRAFT","SENT","VIEWED","EXPIRED","ACCEPTED","REJECTED"]);const T=f(!1),U=f(!1);f(!1);const A=f(!1),x=f(!1),k=f(!1),t=fe({orderBy:null,orderByField:null,searchText:null}),H=B(()=>i.value.estimate_number),j=B(()=>t.orderBy==="asc"||t.orderBy==null);B(()=>j.value?y("general.ascending"):y("general.descending"));const G=B(()=>`/estimates/pdf/${i.value.unique_hash}`);B(()=>i.value&&i.value.id?estimate.value.id:null),pe(h,(e,n)=>{e.name==="estimates.view"&&C()}),J(),C(),_=_e.exports.debounce(_,500);function q(e){return h.params.id==e}async function J(){x.value=!0,await s.fetchEstimates(h.params.id),x.value=!1,setTimeout(()=>{O()},500)}function O(){const e=document.getElementById(`estimate-${h.params.id}`);e&&(e.scrollIntoView({behavior:"smooth"}),e.classList.add("shake"))}async function C(){k.value=!0;let e=await s.fetchEstimate(h.params.id);e.data&&(k.value=!1,i.value=M({},e.data.data))}async function _(){let e="";t.searchText!==""&&t.searchText!==null&&t.searchText!==void 0&&(e+=`search=${t.searchText}&`),t.orderBy!==null&&t.orderBy!==void 0&&(e+=`orderBy=${t.orderBy}&`),t.orderByField!==null&&t.orderByField!==void 0&&(e+=`orderByField=${t.orderByField}`),A.value=!0;let n=await s.searchEstimate(e);A.value=!1,n.data&&(s.estimates=n.data.data)}function W(){return t.orderBy==="asc"?(t.orderBy="desc",_(),!0):(t.orderBy="asc",_(),!0)}async function X(){P.openDialog({title:y("general.are_you_sure"),message:y("estimates.confirm_mark_as_sent"),yesLabel:y("general.ok"),noLabel:y("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(e=>{T.value=!1,e&&(s.markAsSent({id:i.value.id,status:"SENT"}),i.value.status="SENT",T.value=!0)})}async function K(e){c.openModal({title:y("estimates.send_estimate"),componentName:"SendEstimateModal",id:i.value.id,data:i.value})}return(e,n)=>{const S=d("BaseButton"),Q=d("BasePageHeader"),w=d("BaseIcon"),Y=d("BaseInput"),I=d("BaseRadio"),D=d("BaseInputGroup"),F=d("BaseDropdownItem"),Z=d("BaseDropdown"),ee=d("BaseText"),te=d("BaseEstimateStatusBadge"),ae=d("BaseFormatMoney"),se=d("router-link"),oe=d("BasePage");return m(),E(z,null,[a(ke),i.value?(m(),g(oe,{key:0,class:"xl:pl-96 xl:ml-8"},{default:r(()=>[a(Q,{title:l(H)},{actions:r(()=>[u("div",we,[i.value.status==="DRAFT"&&l(V).hasAbilities(l(R).EDIT_ESTIMATE)?(m(),g(S,{key:0,disabled:T.value,"content-loading":k.value,variant:"primary-outline",onClick:X},{default:r(()=>[$(b(e.$t("estimates.mark_as_sent")),1)]),_:1},8,["disabled","content-loading"])):v("",!0)]),i.value.status==="DRAFT"&&l(V).hasAbilities(l(R).SEND_ESTIMATE)?(m(),g(S,{key:0,disabled:U.value,"content-loading":k.value,variant:"primary",class:"text-sm",onClick:K},{default:r(()=>[$(b(e.$t("estimates.send_estimate")),1)]),_:1},8,["disabled","content-loading"])):v("",!0),a(be,{class:"ml-3",row:i.value},null,8,["row"])]),_:1},8,["title"]),u("div",Te,[u("div",Ie,[u("div",De,[a(Y,{modelValue:l(t).searchText,"onUpdate:modelValue":n[0]||(n[0]=o=>l(t).searchText=o),placeholder:e.$t("general.search"),type:"text",variant:"gray",onInput:n[1]||(n[1]=o=>_())},{right:r(()=>[a(w,{name:"SearchIcon",class:"text-gray-400"})]),_:1},8,["modelValue","placeholder"])]),u("div",Fe,[a(Z,{class:"ml-3",position:"bottom-start","width-class":"w-45","position-class":"left-0"},{activator:r(()=>[a(S,{size:"md",variant:"gray"},{default:r(()=>[a(w,{name:"FilterIcon"})]),_:1})]),default:r(()=>[u("div",$e,b(e.$t("general.sort_by")),1),a(F,{class:"flex px-4 py-2 cursor-pointer"},{default:r(()=>[a(D,{class:"-mt-3 font-normal"},{default:r(()=>[a(I,{id:"filter_estimate_date",modelValue:l(t).orderByField,"onUpdate:modelValue":[n[2]||(n[2]=o=>l(t).orderByField=o),_],label:e.$t("reports.estimates.estimate_date"),size:"sm",name:"filter",value:"estimate_date"},null,8,["modelValue","label"])]),_:1})]),_:1}),a(F,{class:"flex px-4 py-2 cursor-pointer"},{default:r(()=>[a(D,{class:"-mt-3 font-normal"},{default:r(()=>[a(I,{id:"filter_due_date",modelValue:l(t).orderByField,"onUpdate:modelValue":[n[3]||(n[3]=o=>l(t).orderByField=o),_],label:e.$t("estimates.due_date"),value:"expiry_date",size:"sm",name:"filter"},null,8,["modelValue","label"])]),_:1})]),_:1}),a(F,{class:"flex px-4 py-2 cursor-pointer"},{default:r(()=>[a(D,{class:"-mt-3 font-normal"},{default:r(()=>[a(I,{id:"filter_estimate_number",modelValue:l(t).orderByField,"onUpdate:modelValue":[n[4]||(n[4]=o=>l(t).orderByField=o),_],label:e.$t("estimates.estimate_number"),value:"estimate_number",size:"sm",name:"filter"},null,8,["modelValue","label"])]),_:1})]),_:1})]),_:1}),a(S,{class:"ml-1",size:"md",variant:"gray",onClick:W},{default:r(()=>[l(j)?(m(),g(w,{key:0,name:"SortAscendingIcon"})):(m(),g(w,{key:1,name:"SortDescendingIcon"}))]),_:1})])]),l(s)&&l(s).estimates?(m(),E("div",Ve,[(m(!0),E(z,null,ye(l(s).estimates,(o,le)=>(m(),E("div",{key:le},[o&&!x.value?(m(),g(se,{key:0,id:"estimate-"+o.id,to:`/admin/estimates/${o.id}/view`,class:ge(["flex justify-between side-estimate p-4 cursor-pointer hover:bg-gray-100 items-center border-l-4 border-transparent",{"bg-gray-100 border-l-4 border-primary-500 border-solid":q(o.id)}]),style:{"border-bottom":"1px solid rgba(185, 193, 209, 0.41)"}},{default:r(()=>[u("div",Ae,[a(ee,{text:o.customer.name,length:30,class:"pr-2 mb-2 text-sm not-italic font-normal leading-5 text-black capitalize truncate"},null,8,["text"]),u("div",je,b(o.estimate_number),1),a(te,{status:o.status,class:"px-1 text-xs"},{default:r(()=>[$(b(o.status),1)]),_:2},1032,["status"])]),u("div",Ce,[a(ae,{amount:o.total,currency:o.customer.currency,class:"block mb-2 text-xl not-italic font-semibold leading-8 text-right text-gray-900"},null,8,["amount","currency"]),u("div",Ne,b(o.formatted_estimate_date),1)])]),_:2},1032,["id","to","class"])):v("",!0)]))),128)),u("div",Le,[x.value?(m(),g(Se,{key:0,class:"h-6 m-1 animate-spin text-primary-400"})):v("",!0)]),!l(s).estimates.length&&!x.value?(m(),E("p",Me,b(e.$t("estimates.no_matching_estimates")),1)):v("",!0)])):v("",!0)]),u("div",ze,[u("iframe",{src:`${l(G)}`,class:"flex-1 border border-gray-400 border-solid rounded-md bg-white frame-style"},null,8,Re)])]),_:1})):v("",!0)],64)}}};export{Oe as default}; +var re=Object.defineProperty;var N=Object.getOwnPropertySymbols;var ne=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;var L=(p,c,s)=>c in p?re(p,c,{enumerable:!0,configurable:!0,writable:!0,value:s}):p[c]=s,M=(p,c)=>{for(var s in c||(c={}))ne.call(c,s)&&L(p,s,c[s]);if(N)for(var s of N(c))ie.call(c,s)&&L(p,s,c[s]);return p};import{g as de,am as ue,i as f,u as ce,C as me,j as fe,k as B,D as pe,l as _e,r as d,o as m,c as E,b as a,s as g,w as r,t as u,y as l,v as $,x as b,A as v,F as z,H as ye,z as ge}from"./vendor.e9042f2c.js";import{_ as be}from"./EstimateIndexDropdown.07f4535c.js";import{g as ve,j as he,u as xe,i as Be,d as Ee,e as R}from"./main.f55cd568.js";import{_ as ke}from"./SendEstimateModal.8b30678e.js";import{L as Se}from"./LoadingIcon.edb4fe20.js";const we={class:"mr-3 text-sm"},Te={class:"fixed top-0 left-0 hidden h-full pt-16 pb-4 ml-56 bg-white xl:ml-64 w-88 xl:block"},Ie={class:"flex items-center justify-between px-4 pt-8 pb-2 border border-gray-200 border-solid height-full"},De={class:"mb-6"},Fe={class:"flex mb-6 ml-3",role:"group","aria-label":"First group"},$e={class:"px-4 py-1 pb-2 mb-1 mb-2 text-sm border-b border-gray-200 border-solid"},Ve={key:0,class:"h-full pb-32 overflow-y-scroll border-l border-gray-200 border-solid base-scroll"},Ae={class:"flex-2"},je={class:"mt-1 mb-2 text-xs not-italic font-medium leading-5 text-gray-600"},Ce={class:"flex-1 whitespace-nowrap right"},Ne={class:"text-sm not-italic font-normal leading-5 text-right text-gray-600 est-date"},Le={class:"flex justify-center p-4 items-center"},Me={key:0,class:"flex justify-center px-4 mt-5 text-sm text-gray-600"},ze={class:"flex flex-col min-h-0 mt-8 overflow-hidden",style:{height:"75vh"}},Re=["src"],Oe={setup(p){const c=ve(),s=he();xe();const P=Be(),V=Ee(),{t:y}=de();ue("$utils"),f(null),f(null);const i=f(null);f(null);const h=ce();me(),f(["DRAFT","SENT","VIEWED","EXPIRED","ACCEPTED","REJECTED"]);const T=f(!1),U=f(!1);f(!1);const A=f(!1),x=f(!1),k=f(!1),t=fe({orderBy:null,orderByField:null,searchText:null}),H=B(()=>i.value.estimate_number),j=B(()=>t.orderBy==="asc"||t.orderBy==null);B(()=>j.value?y("general.ascending"):y("general.descending"));const G=B(()=>`/estimates/pdf/${i.value.unique_hash}`);B(()=>i.value&&i.value.id?estimate.value.id:null),pe(h,(e,n)=>{e.name==="estimates.view"&&C()}),J(),C(),_=_e.exports.debounce(_,500);function q(e){return h.params.id==e}async function J(){x.value=!0,await s.fetchEstimates(h.params.id),x.value=!1,setTimeout(()=>{O()},500)}function O(){const e=document.getElementById(`estimate-${h.params.id}`);e&&(e.scrollIntoView({behavior:"smooth"}),e.classList.add("shake"))}async function C(){k.value=!0;let e=await s.fetchEstimate(h.params.id);e.data&&(k.value=!1,i.value=M({},e.data.data))}async function _(){let e="";t.searchText!==""&&t.searchText!==null&&t.searchText!==void 0&&(e+=`search=${t.searchText}&`),t.orderBy!==null&&t.orderBy!==void 0&&(e+=`orderBy=${t.orderBy}&`),t.orderByField!==null&&t.orderByField!==void 0&&(e+=`orderByField=${t.orderByField}`),A.value=!0;let n=await s.searchEstimate(e);A.value=!1,n.data&&(s.estimates=n.data.data)}function W(){return t.orderBy==="asc"?(t.orderBy="desc",_(),!0):(t.orderBy="asc",_(),!0)}async function X(){P.openDialog({title:y("general.are_you_sure"),message:y("estimates.confirm_mark_as_sent"),yesLabel:y("general.ok"),noLabel:y("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(e=>{T.value=!1,e&&(s.markAsSent({id:i.value.id,status:"SENT"}),i.value.status="SENT",T.value=!0)})}async function K(e){c.openModal({title:y("estimates.send_estimate"),componentName:"SendEstimateModal",id:i.value.id,data:i.value})}return(e,n)=>{const S=d("BaseButton"),Q=d("BasePageHeader"),w=d("BaseIcon"),Y=d("BaseInput"),I=d("BaseRadio"),D=d("BaseInputGroup"),F=d("BaseDropdownItem"),Z=d("BaseDropdown"),ee=d("BaseText"),te=d("BaseEstimateStatusBadge"),ae=d("BaseFormatMoney"),se=d("router-link"),oe=d("BasePage");return m(),E(z,null,[a(ke),i.value?(m(),g(oe,{key:0,class:"xl:pl-96 xl:ml-8"},{default:r(()=>[a(Q,{title:l(H)},{actions:r(()=>[u("div",we,[i.value.status==="DRAFT"&&l(V).hasAbilities(l(R).EDIT_ESTIMATE)?(m(),g(S,{key:0,disabled:T.value,"content-loading":k.value,variant:"primary-outline",onClick:X},{default:r(()=>[$(b(e.$t("estimates.mark_as_sent")),1)]),_:1},8,["disabled","content-loading"])):v("",!0)]),i.value.status==="DRAFT"&&l(V).hasAbilities(l(R).SEND_ESTIMATE)?(m(),g(S,{key:0,disabled:U.value,"content-loading":k.value,variant:"primary",class:"text-sm",onClick:K},{default:r(()=>[$(b(e.$t("estimates.send_estimate")),1)]),_:1},8,["disabled","content-loading"])):v("",!0),a(be,{class:"ml-3",row:i.value},null,8,["row"])]),_:1},8,["title"]),u("div",Te,[u("div",Ie,[u("div",De,[a(Y,{modelValue:l(t).searchText,"onUpdate:modelValue":n[0]||(n[0]=o=>l(t).searchText=o),placeholder:e.$t("general.search"),type:"text",variant:"gray",onInput:n[1]||(n[1]=o=>_())},{right:r(()=>[a(w,{name:"SearchIcon",class:"text-gray-400"})]),_:1},8,["modelValue","placeholder"])]),u("div",Fe,[a(Z,{class:"ml-3",position:"bottom-start","width-class":"w-45","position-class":"left-0"},{activator:r(()=>[a(S,{size:"md",variant:"gray"},{default:r(()=>[a(w,{name:"FilterIcon"})]),_:1})]),default:r(()=>[u("div",$e,b(e.$t("general.sort_by")),1),a(F,{class:"flex px-4 py-2 cursor-pointer"},{default:r(()=>[a(D,{class:"-mt-3 font-normal"},{default:r(()=>[a(I,{id:"filter_estimate_date",modelValue:l(t).orderByField,"onUpdate:modelValue":[n[2]||(n[2]=o=>l(t).orderByField=o),_],label:e.$t("reports.estimates.estimate_date"),size:"sm",name:"filter",value:"estimate_date"},null,8,["modelValue","label"])]),_:1})]),_:1}),a(F,{class:"flex px-4 py-2 cursor-pointer"},{default:r(()=>[a(D,{class:"-mt-3 font-normal"},{default:r(()=>[a(I,{id:"filter_due_date",modelValue:l(t).orderByField,"onUpdate:modelValue":[n[3]||(n[3]=o=>l(t).orderByField=o),_],label:e.$t("estimates.due_date"),value:"expiry_date",size:"sm",name:"filter"},null,8,["modelValue","label"])]),_:1})]),_:1}),a(F,{class:"flex px-4 py-2 cursor-pointer"},{default:r(()=>[a(D,{class:"-mt-3 font-normal"},{default:r(()=>[a(I,{id:"filter_estimate_number",modelValue:l(t).orderByField,"onUpdate:modelValue":[n[4]||(n[4]=o=>l(t).orderByField=o),_],label:e.$t("estimates.estimate_number"),value:"estimate_number",size:"sm",name:"filter"},null,8,["modelValue","label"])]),_:1})]),_:1})]),_:1}),a(S,{class:"ml-1",size:"md",variant:"gray",onClick:W},{default:r(()=>[l(j)?(m(),g(w,{key:0,name:"SortAscendingIcon"})):(m(),g(w,{key:1,name:"SortDescendingIcon"}))]),_:1})])]),l(s)&&l(s).estimates?(m(),E("div",Ve,[(m(!0),E(z,null,ye(l(s).estimates,(o,le)=>(m(),E("div",{key:le},[o&&!x.value?(m(),g(se,{key:0,id:"estimate-"+o.id,to:`/admin/estimates/${o.id}/view`,class:ge(["flex justify-between side-estimate p-4 cursor-pointer hover:bg-gray-100 items-center border-l-4 border-transparent",{"bg-gray-100 border-l-4 border-primary-500 border-solid":q(o.id)}]),style:{"border-bottom":"1px solid rgba(185, 193, 209, 0.41)"}},{default:r(()=>[u("div",Ae,[a(ee,{text:o.customer.name,length:30,class:"pr-2 mb-2 text-sm not-italic font-normal leading-5 text-black capitalize truncate"},null,8,["text"]),u("div",je,b(o.estimate_number),1),a(te,{status:o.status,class:"px-1 text-xs"},{default:r(()=>[$(b(o.status),1)]),_:2},1032,["status"])]),u("div",Ce,[a(ae,{amount:o.total,currency:o.customer.currency,class:"block mb-2 text-xl not-italic font-semibold leading-8 text-right text-gray-900"},null,8,["amount","currency"]),u("div",Ne,b(o.formatted_estimate_date),1)])]),_:2},1032,["id","to","class"])):v("",!0)]))),128)),u("div",Le,[x.value?(m(),g(Se,{key:0,class:"h-6 m-1 animate-spin text-primary-400"})):v("",!0)]),!l(s).estimates.length&&!x.value?(m(),E("p",Me,b(e.$t("estimates.no_matching_estimates")),1)):v("",!0)])):v("",!0)]),u("div",ze,[u("iframe",{src:`${l(G)}`,class:"flex-1 border border-gray-400 border-solid rounded-md bg-white frame-style"},null,8,Re)])]),_:1})):v("",!0)],64)}}};export{Oe as default}; diff --git a/public/build/assets/View.5b253c8e.js b/public/build/assets/View.765a7253.js similarity index 97% rename from public/build/assets/View.5b253c8e.js rename to public/build/assets/View.765a7253.js index f04bf02bf..01ecc5353 100644 --- a/public/build/assets/View.5b253c8e.js +++ b/public/build/assets/View.765a7253.js @@ -1 +1 @@ -import{g as z,i as b,u as P,C as U,j as J,k as j,l as X,r as i,o as u,c as w,t as p,b as n,w as r,y as t,x as y,s as v,F as H,H as K,v as C,z as Q,A as I,am as Y,a5 as Z,D as ee}from"./vendor.e9042f2c.js";import{g as te,B as A,u as ne,d as M,i as G,e as R}from"./main.c4ed6aa9.js";import{L as ae}from"./LoadingIcon.562f15c9.js";import{_ as oe}from"./InvoiceIndexDropdown.d1c989d3.js";import{_ as re}from"./SendInvoiceModal.f1dd071b.js";import{_ as se}from"./RecurringInvoiceIndexDropdown.9bd7780c.js";const ie={class:"fixed top-0 left-0 hidden h-full pt-16 pb-4 ml-56 bg-white xl:ml-64 w-88 xl:block"},le={class:"flex items-center justify-between px-4 pt-8 pb-2 border border-gray-200 border-solid height-full"},ce={class:"mb-6"},ue={class:"flex mb-6 ml-3",role:"group","aria-label":"First group"},de={class:"px-2 py-1 pb-2 mb-1 mb-2 text-sm border-b border-gray-200 border-solid"},me={key:0,class:"h-full pb-32 overflow-y-scroll border-l border-gray-200 border-solid base-scroll"},_e={class:"flex-2"},ge={class:"mt-1 mb-2 text-xs not-italic font-medium leading-5 text-gray-600"},ve={class:"flex-1 whitespace-nowrap right"},pe={class:"text-sm not-italic font-normal leading-5 text-right text-gray-600 est-date"},fe={class:"flex justify-center p-4 items-center"},be={key:0,class:"flex justify-center px-4 mt-5 text-sm text-gray-600"},ye={setup(O){te();const a=A();ne(),M(),G(),z(),b(null),b(null),b(null);const d=P();U(),b(["DRAFT","SENT","VIEWED","EXPIRED","ACCEPTED","REJECTED"]);const l=b(!1),m=b(!1),e=J({orderBy:null,orderByField:null,searchText:null}),B=j(()=>e.orderBy==="asc"||e.orderBy==null);function h(s){return d.params.id==s}async function _(){m.value=!0,await a.fetchRecurringInvoices(),m.value=!1,setTimeout(()=>{E()},500)}function E(){const s=document.getElementById(`recurring-invoice-${d.params.id}`);s&&(s.scrollIntoView({behavior:"smooth"}),s.classList.add("shake"))}async function g(){let s="";e.searchText!==""&&e.searchText!==null&&e.searchText!==void 0&&(s+=`search=${e.searchText}&`),e.orderBy!==null&&e.orderBy!==void 0&&(s+=`orderBy=${e.orderBy}&`),e.orderByField!==null&&e.orderByField!==void 0&&(s+=`orderByField=${e.orderByField}`),l.value=!0;let o=await a.searchRecurringInvoice(s);l.value=!1,o.data&&(a.recurringInvoices=o.data.data)}function x(){return e.orderBy==="asc"?(e.orderBy="desc",g(),!0):(e.orderBy="asc",g(),!0)}return _(),g=X.exports.debounce(g,500),(s,o)=>{const f=i("BaseIcon"),V=i("BaseInput"),k=i("BaseButton"),D=i("BaseRadio"),$=i("BaseInputGroup"),S=i("BaseDropdownItem"),T=i("BaseDropdown"),F=i("BaseText"),N=i("BaseRecurringInvoiceStatusBadge"),L=i("BaseFormatMoney"),q=i("router-link");return u(),w("div",ie,[p("div",le,[p("div",ce,[n(V,{modelValue:t(e).searchText,"onUpdate:modelValue":o[0]||(o[0]=c=>t(e).searchText=c),placeholder:s.$t("general.search"),type:"text",variant:"gray",onInput:o[1]||(o[1]=c=>g())},{right:r(()=>[n(f,{name:"SearchIcon",class:"h-5 text-gray-400"})]),_:1},8,["modelValue","placeholder"])]),p("div",ue,[n(T,{class:"ml-3",position:"bottom-start"},{activator:r(()=>[n(k,{size:"md",variant:"gray"},{default:r(()=>[n(f,{name:"FilterIcon",class:"h-5"})]),_:1})]),default:r(()=>[p("div",de,y(s.$t("general.sort_by")),1),n(S,{class:"flex px-1 py-2 cursor-pointer"},{default:r(()=>[n($,{class:"-mt-3 font-normal"},{default:r(()=>[n(D,{id:"filter_next_invoice_date",modelValue:t(e).orderByField,"onUpdate:modelValue":[o[2]||(o[2]=c=>t(e).orderByField=c),g],label:s.$t("recurring_invoices.next_invoice_date"),size:"sm",name:"filter",value:"next_invoice_at"},null,8,["modelValue","label"])]),_:1})]),_:1}),n(S,{class:"flex px-1 py-2 cursor-pointer"},{default:r(()=>[n($,{class:"-mt-3 font-normal"},{default:r(()=>[n(D,{id:"filter_start_date",modelValue:t(e).orderByField,"onUpdate:modelValue":[o[3]||(o[3]=c=>t(e).orderByField=c),g],label:s.$t("recurring_invoices.starts_at"),value:"starts_at",size:"sm",name:"filter"},null,8,["modelValue","label"])]),_:1})]),_:1})]),_:1}),n(k,{class:"ml-1",size:"md",variant:"gray",onClick:x},{default:r(()=>[t(B)?(u(),v(f,{key:0,name:"SortAscendingIcon",class:"h-5"})):(u(),v(f,{key:1,name:"SortDescendingIcon",class:"h-5"}))]),_:1})])]),t(a)&&t(a).recurringInvoices?(u(),w("div",me,[(u(!0),w(H,null,K(t(a).recurringInvoices,(c,W)=>(u(),w("div",{key:W},[c&&!m.value?(u(),v(q,{key:0,id:"recurring-invoice-"+c.id,to:`/admin/recurring-invoices/${c.id}/view`,class:Q(["flex justify-between side-invoice p-4 cursor-pointer hover:bg-gray-100 items-center border-l-4 border-transparent",{"bg-gray-100 border-l-4 border-primary-500 border-solid":h(c.id)}]),style:{"border-bottom":"1px solid rgba(185, 193, 209, 0.41)"}},{default:r(()=>[p("div",_e,[n(F,{text:c.customer.name,length:30,class:"pr-2 mb-2 text-sm not-italic font-normal leading-5 text-black capitalize truncate"},null,8,["text"]),p("div",ge,y(c.invoice_number),1),n(N,{status:c.status,class:"px-1 text-xs"},{default:r(()=>[C(y(c.status),1)]),_:2},1032,["status"])]),p("div",ve,[n(L,{class:"block mb-2 text-xl not-italic font-semibold leading-8 text-right text-gray-900",amount:c.total,currency:c.customer.currency},null,8,["amount","currency"]),p("div",pe,y(c.formatted_starts_at),1)])]),_:2},1032,["id","to","class"])):I("",!0)]))),128)),p("div",fe,[m.value?(u(),v(ae,{key:0,class:"h-6 m-1 animate-spin text-primary-400"})):I("",!0)]),!t(a).recurringInvoices.length&&!m.value?(u(),w("p",be,y(s.$t("invoices.no_matching_invoices")),1)):I("",!0)])):I("",!0)])}}},Ie={class:"relative table-container"},Be={setup(O){const a=A(),d=b(null);b(null),Y("$utils");const{t:l}=z();b(null),U();const m=M(),e=j(()=>[{key:"invoice_date",label:l("invoices.date"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"invoice_number",label:l("invoices.invoice")},{key:"customer.name",label:l("invoices.customer")},{key:"status",label:l("invoices.status")},{key:"total",label:l("invoices.total")},{key:"actions",label:l("invoices.action"),tdClass:"text-right text-sm font-medium",thClass:"text-right",sortable:!1}]);function B(){return m.hasAbilities([R.DELETE_INVOICE,R.EDIT_INVOICE,R.VIEW_INVOICE,R.SEND_INVOICE])}return(h,_)=>{const E=i("router-link"),g=i("BaseFormatMoney"),x=i("BaseInvoiceStatusBadge"),s=i("BaseTable");return u(),w(H,null,[n(re),p("div",Ie,[n(s,{ref:(o,f)=>{f.table=o,d.value=o},data:t(a).newRecurringInvoice.invoices,columns:t(e),loading:t(a).isFetchingViewData,"placeholder-count":5,class:"mt-5"},Z({"cell-invoice_number":r(({row:o})=>[n(E,{to:{path:`/admin/invoices/${o.data.id}/view`},class:"font-medium text-primary-500"},{default:r(()=>[C(y(o.data.invoice_number),1)]),_:2},1032,["to"])]),"cell-total":r(({row:o})=>[n(g,{amount:o.data.due_amount,currency:o.data.currency},null,8,["amount","currency"])]),"cell-status":r(({row:o})=>[n(x,{status:o.data.status,class:"px-3 py-1"},{default:r(()=>[C(y(o.data.status),1)]),_:2},1032,["status"])]),_:2},[B()?{name:"cell-actions",fn:r(({row:o})=>[n(oe,{row:o.data,table:d.value},null,8,["row","table"])])}:void 0]),1032,["data","columns","loading"])])],64)}}},he={setup(O){const a=A(),d=P();let l=j(()=>a.isFetchingViewData);ee(d,()=>{d.params.id&&d.name==="recurring-invoices.view"&&m()},{immediate:!0});async function m(){await a.fetchRecurringInvoice(d.params.id)}return(e,B)=>{const h=i("BaseHeading"),_=i("BaseDescriptionListItem"),E=i("BaseDescriptionList"),g=i("BaseCard");return u(),v(g,{class:"mt-10"},{default:r(()=>[n(h,null,{default:r(()=>[C(y(e.$t("customers.basic_info")),1)]),_:1}),n(E,{class:"mt-5"},{default:r(()=>{var x,s,o,f,V,k,D,$,S,T,F,N,L;return[n(_,{label:e.$t("recurring_invoices.starts_at"),"content-loading":t(l),value:(x=t(a).newRecurringInvoice)==null?void 0:x.formatted_starts_at},null,8,["label","content-loading","value"]),n(_,{label:e.$t("recurring_invoices.next_invoice_date"),"content-loading":t(l),value:(s=t(a).newRecurringInvoice)==null?void 0:s.formatted_next_invoice_at},null,8,["label","content-loading","value"]),((o=t(a).newRecurringInvoice)==null?void 0:o.limit_date)&&((f=t(a).newRecurringInvoice)==null?void 0:f.limit_by)!=="NONE"?(u(),v(_,{key:0,label:e.$t("recurring_invoices.limit_date"),"content-loading":t(l),value:(V=t(a).newRecurringInvoice)==null?void 0:V.limit_date},null,8,["label","content-loading","value"])):I("",!0),((k=t(a).newRecurringInvoice)==null?void 0:k.limit_date)&&((D=t(a).newRecurringInvoice)==null?void 0:D.limit_by)!=="NONE"?(u(),v(_,{key:1,label:e.$t("recurring_invoices.limit_by"),"content-loading":t(l),value:($=t(a).newRecurringInvoice)==null?void 0:$.limit_by},null,8,["label","content-loading","value"])):I("",!0),((S=t(a).newRecurringInvoice)==null?void 0:S.limit_count)?(u(),v(_,{key:2,label:e.$t("recurring_invoices.limit_count"),value:(T=t(a).newRecurringInvoice)==null?void 0:T.limit_count,"content-loading":t(l)},null,8,["label","value","content-loading"])):I("",!0),((F=t(a).newRecurringInvoice)==null?void 0:F.selectedFrequency)?(u(),v(_,{key:3,label:e.$t("recurring_invoices.frequency.title"),value:(L=(N=t(a).newRecurringInvoice)==null?void 0:N.selectedFrequency)==null?void 0:L.label,"content-loading":t(l)},null,8,["label","value","content-loading"])):I("",!0)]}),_:1}),n(h,{class:"mt-8"},{default:r(()=>[C(y(e.$t("invoices.title",2)),1)]),_:1}),n(Be)]),_:1})}}},$e={setup(O){G();const a=A(),d=M();z(),U();const l=j(()=>{var e,B;return a.newRecurringInvoice?(B=(e=a.newRecurringInvoice)==null?void 0:e.customer)==null?void 0:B.name:""});function m(){return d.hasAbilities([R.DELETE_RECURRING_INVOICE,R.EDIT_RECURRING_INVOICE])}return(e,B)=>{const h=i("BasePageHeader"),_=i("BasePage");return u(),v(_,{class:"xl:pl-96"},{default:r(()=>[n(h,{title:t(l)},{actions:r(()=>[m()?(u(),v(se,{key:0,row:t(a).newRecurringInvoice},null,8,["row"])):I("",!0)]),_:1},8,["title"]),n(ye),n(he)]),_:1})}}};export{$e as default}; +import{g as z,i as b,u as P,C as U,j as J,k as j,l as X,r as i,o as u,c as w,t as p,b as n,w as r,y as t,x as y,s as v,F as H,H as K,v as C,z as Q,A as I,am as Y,a5 as Z,D as ee}from"./vendor.e9042f2c.js";import{g as te,B as A,u as ne,d as M,i as G,e as R}from"./main.f55cd568.js";import{L as ae}from"./LoadingIcon.edb4fe20.js";import{_ as oe}from"./InvoiceIndexDropdown.8a8f3a1b.js";import{_ as re}from"./SendInvoiceModal.59d8474e.js";import{_ as se}from"./RecurringInvoiceIndexDropdown.63452d24.js";const ie={class:"fixed top-0 left-0 hidden h-full pt-16 pb-4 ml-56 bg-white xl:ml-64 w-88 xl:block"},le={class:"flex items-center justify-between px-4 pt-8 pb-2 border border-gray-200 border-solid height-full"},ce={class:"mb-6"},ue={class:"flex mb-6 ml-3",role:"group","aria-label":"First group"},de={class:"px-2 py-1 pb-2 mb-1 mb-2 text-sm border-b border-gray-200 border-solid"},me={key:0,class:"h-full pb-32 overflow-y-scroll border-l border-gray-200 border-solid base-scroll"},_e={class:"flex-2"},ge={class:"mt-1 mb-2 text-xs not-italic font-medium leading-5 text-gray-600"},ve={class:"flex-1 whitespace-nowrap right"},pe={class:"text-sm not-italic font-normal leading-5 text-right text-gray-600 est-date"},fe={class:"flex justify-center p-4 items-center"},be={key:0,class:"flex justify-center px-4 mt-5 text-sm text-gray-600"},ye={setup(O){te();const a=A();ne(),M(),G(),z(),b(null),b(null),b(null);const d=P();U(),b(["DRAFT","SENT","VIEWED","EXPIRED","ACCEPTED","REJECTED"]);const l=b(!1),m=b(!1),e=J({orderBy:null,orderByField:null,searchText:null}),B=j(()=>e.orderBy==="asc"||e.orderBy==null);function h(s){return d.params.id==s}async function _(){m.value=!0,await a.fetchRecurringInvoices(),m.value=!1,setTimeout(()=>{E()},500)}function E(){const s=document.getElementById(`recurring-invoice-${d.params.id}`);s&&(s.scrollIntoView({behavior:"smooth"}),s.classList.add("shake"))}async function g(){let s="";e.searchText!==""&&e.searchText!==null&&e.searchText!==void 0&&(s+=`search=${e.searchText}&`),e.orderBy!==null&&e.orderBy!==void 0&&(s+=`orderBy=${e.orderBy}&`),e.orderByField!==null&&e.orderByField!==void 0&&(s+=`orderByField=${e.orderByField}`),l.value=!0;let o=await a.searchRecurringInvoice(s);l.value=!1,o.data&&(a.recurringInvoices=o.data.data)}function x(){return e.orderBy==="asc"?(e.orderBy="desc",g(),!0):(e.orderBy="asc",g(),!0)}return _(),g=X.exports.debounce(g,500),(s,o)=>{const f=i("BaseIcon"),V=i("BaseInput"),k=i("BaseButton"),D=i("BaseRadio"),$=i("BaseInputGroup"),S=i("BaseDropdownItem"),T=i("BaseDropdown"),F=i("BaseText"),N=i("BaseRecurringInvoiceStatusBadge"),L=i("BaseFormatMoney"),q=i("router-link");return u(),w("div",ie,[p("div",le,[p("div",ce,[n(V,{modelValue:t(e).searchText,"onUpdate:modelValue":o[0]||(o[0]=c=>t(e).searchText=c),placeholder:s.$t("general.search"),type:"text",variant:"gray",onInput:o[1]||(o[1]=c=>g())},{right:r(()=>[n(f,{name:"SearchIcon",class:"h-5 text-gray-400"})]),_:1},8,["modelValue","placeholder"])]),p("div",ue,[n(T,{class:"ml-3",position:"bottom-start"},{activator:r(()=>[n(k,{size:"md",variant:"gray"},{default:r(()=>[n(f,{name:"FilterIcon",class:"h-5"})]),_:1})]),default:r(()=>[p("div",de,y(s.$t("general.sort_by")),1),n(S,{class:"flex px-1 py-2 cursor-pointer"},{default:r(()=>[n($,{class:"-mt-3 font-normal"},{default:r(()=>[n(D,{id:"filter_next_invoice_date",modelValue:t(e).orderByField,"onUpdate:modelValue":[o[2]||(o[2]=c=>t(e).orderByField=c),g],label:s.$t("recurring_invoices.next_invoice_date"),size:"sm",name:"filter",value:"next_invoice_at"},null,8,["modelValue","label"])]),_:1})]),_:1}),n(S,{class:"flex px-1 py-2 cursor-pointer"},{default:r(()=>[n($,{class:"-mt-3 font-normal"},{default:r(()=>[n(D,{id:"filter_start_date",modelValue:t(e).orderByField,"onUpdate:modelValue":[o[3]||(o[3]=c=>t(e).orderByField=c),g],label:s.$t("recurring_invoices.starts_at"),value:"starts_at",size:"sm",name:"filter"},null,8,["modelValue","label"])]),_:1})]),_:1})]),_:1}),n(k,{class:"ml-1",size:"md",variant:"gray",onClick:x},{default:r(()=>[t(B)?(u(),v(f,{key:0,name:"SortAscendingIcon",class:"h-5"})):(u(),v(f,{key:1,name:"SortDescendingIcon",class:"h-5"}))]),_:1})])]),t(a)&&t(a).recurringInvoices?(u(),w("div",me,[(u(!0),w(H,null,K(t(a).recurringInvoices,(c,W)=>(u(),w("div",{key:W},[c&&!m.value?(u(),v(q,{key:0,id:"recurring-invoice-"+c.id,to:`/admin/recurring-invoices/${c.id}/view`,class:Q(["flex justify-between side-invoice p-4 cursor-pointer hover:bg-gray-100 items-center border-l-4 border-transparent",{"bg-gray-100 border-l-4 border-primary-500 border-solid":h(c.id)}]),style:{"border-bottom":"1px solid rgba(185, 193, 209, 0.41)"}},{default:r(()=>[p("div",_e,[n(F,{text:c.customer.name,length:30,class:"pr-2 mb-2 text-sm not-italic font-normal leading-5 text-black capitalize truncate"},null,8,["text"]),p("div",ge,y(c.invoice_number),1),n(N,{status:c.status,class:"px-1 text-xs"},{default:r(()=>[C(y(c.status),1)]),_:2},1032,["status"])]),p("div",ve,[n(L,{class:"block mb-2 text-xl not-italic font-semibold leading-8 text-right text-gray-900",amount:c.total,currency:c.customer.currency},null,8,["amount","currency"]),p("div",pe,y(c.formatted_starts_at),1)])]),_:2},1032,["id","to","class"])):I("",!0)]))),128)),p("div",fe,[m.value?(u(),v(ae,{key:0,class:"h-6 m-1 animate-spin text-primary-400"})):I("",!0)]),!t(a).recurringInvoices.length&&!m.value?(u(),w("p",be,y(s.$t("invoices.no_matching_invoices")),1)):I("",!0)])):I("",!0)])}}},Ie={class:"relative table-container"},Be={setup(O){const a=A(),d=b(null);b(null),Y("$utils");const{t:l}=z();b(null),U();const m=M(),e=j(()=>[{key:"invoice_date",label:l("invoices.date"),thClass:"extra",tdClass:"font-medium text-gray-900"},{key:"invoice_number",label:l("invoices.invoice")},{key:"customer.name",label:l("invoices.customer")},{key:"status",label:l("invoices.status")},{key:"total",label:l("invoices.total")},{key:"actions",label:l("invoices.action"),tdClass:"text-right text-sm font-medium",thClass:"text-right",sortable:!1}]);function B(){return m.hasAbilities([R.DELETE_INVOICE,R.EDIT_INVOICE,R.VIEW_INVOICE,R.SEND_INVOICE])}return(h,_)=>{const E=i("router-link"),g=i("BaseFormatMoney"),x=i("BaseInvoiceStatusBadge"),s=i("BaseTable");return u(),w(H,null,[n(re),p("div",Ie,[n(s,{ref:(o,f)=>{f.table=o,d.value=o},data:t(a).newRecurringInvoice.invoices,columns:t(e),loading:t(a).isFetchingViewData,"placeholder-count":5,class:"mt-5"},Z({"cell-invoice_number":r(({row:o})=>[n(E,{to:{path:`/admin/invoices/${o.data.id}/view`},class:"font-medium text-primary-500"},{default:r(()=>[C(y(o.data.invoice_number),1)]),_:2},1032,["to"])]),"cell-total":r(({row:o})=>[n(g,{amount:o.data.due_amount,currency:o.data.currency},null,8,["amount","currency"])]),"cell-status":r(({row:o})=>[n(x,{status:o.data.status,class:"px-3 py-1"},{default:r(()=>[C(y(o.data.status),1)]),_:2},1032,["status"])]),_:2},[B()?{name:"cell-actions",fn:r(({row:o})=>[n(oe,{row:o.data,table:d.value},null,8,["row","table"])])}:void 0]),1032,["data","columns","loading"])])],64)}}},he={setup(O){const a=A(),d=P();let l=j(()=>a.isFetchingViewData);ee(d,()=>{d.params.id&&d.name==="recurring-invoices.view"&&m()},{immediate:!0});async function m(){await a.fetchRecurringInvoice(d.params.id)}return(e,B)=>{const h=i("BaseHeading"),_=i("BaseDescriptionListItem"),E=i("BaseDescriptionList"),g=i("BaseCard");return u(),v(g,{class:"mt-10"},{default:r(()=>[n(h,null,{default:r(()=>[C(y(e.$t("customers.basic_info")),1)]),_:1}),n(E,{class:"mt-5"},{default:r(()=>{var x,s,o,f,V,k,D,$,S,T,F,N,L;return[n(_,{label:e.$t("recurring_invoices.starts_at"),"content-loading":t(l),value:(x=t(a).newRecurringInvoice)==null?void 0:x.formatted_starts_at},null,8,["label","content-loading","value"]),n(_,{label:e.$t("recurring_invoices.next_invoice_date"),"content-loading":t(l),value:(s=t(a).newRecurringInvoice)==null?void 0:s.formatted_next_invoice_at},null,8,["label","content-loading","value"]),((o=t(a).newRecurringInvoice)==null?void 0:o.limit_date)&&((f=t(a).newRecurringInvoice)==null?void 0:f.limit_by)!=="NONE"?(u(),v(_,{key:0,label:e.$t("recurring_invoices.limit_date"),"content-loading":t(l),value:(V=t(a).newRecurringInvoice)==null?void 0:V.limit_date},null,8,["label","content-loading","value"])):I("",!0),((k=t(a).newRecurringInvoice)==null?void 0:k.limit_date)&&((D=t(a).newRecurringInvoice)==null?void 0:D.limit_by)!=="NONE"?(u(),v(_,{key:1,label:e.$t("recurring_invoices.limit_by"),"content-loading":t(l),value:($=t(a).newRecurringInvoice)==null?void 0:$.limit_by},null,8,["label","content-loading","value"])):I("",!0),((S=t(a).newRecurringInvoice)==null?void 0:S.limit_count)?(u(),v(_,{key:2,label:e.$t("recurring_invoices.limit_count"),value:(T=t(a).newRecurringInvoice)==null?void 0:T.limit_count,"content-loading":t(l)},null,8,["label","value","content-loading"])):I("",!0),((F=t(a).newRecurringInvoice)==null?void 0:F.selectedFrequency)?(u(),v(_,{key:3,label:e.$t("recurring_invoices.frequency.title"),value:(L=(N=t(a).newRecurringInvoice)==null?void 0:N.selectedFrequency)==null?void 0:L.label,"content-loading":t(l)},null,8,["label","value","content-loading"])):I("",!0)]}),_:1}),n(h,{class:"mt-8"},{default:r(()=>[C(y(e.$t("invoices.title",2)),1)]),_:1}),n(Be)]),_:1})}}},$e={setup(O){G();const a=A(),d=M();z(),U();const l=j(()=>{var e,B;return a.newRecurringInvoice?(B=(e=a.newRecurringInvoice)==null?void 0:e.customer)==null?void 0:B.name:""});function m(){return d.hasAbilities([R.DELETE_RECURRING_INVOICE,R.EDIT_RECURRING_INVOICE])}return(e,B)=>{const h=i("BasePageHeader"),_=i("BasePage");return u(),v(_,{class:"xl:pl-96"},{default:r(()=>[n(h,{title:t(l)},{actions:r(()=>[m()?(u(),v(se,{key:0,row:t(a).newRecurringInvoice},null,8,["row"])):I("",!0)]),_:1},8,["title"]),n(ye),n(he)]),_:1})}}};export{$e as default}; diff --git a/public/build/assets/View.5eed5e9e.js b/public/build/assets/View.9941cf9f.js similarity index 96% rename from public/build/assets/View.5eed5e9e.js rename to public/build/assets/View.9941cf9f.js index 065ac10c2..ff1622451 100644 --- a/public/build/assets/View.5eed5e9e.js +++ b/public/build/assets/View.9941cf9f.js @@ -1 +1 @@ -var ne=Object.defineProperty;var z=Object.getOwnPropertySymbols;var re=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var L=(_,m,o)=>m in _?ne(_,m,{enumerable:!0,configurable:!0,writable:!0,value:o}):_[m]=o,M=(_,m)=>{for(var o in m||(m={}))re.call(m,o)&&L(_,o,m[o]);if(z)for(var o of z(m))le.call(m,o)&&L(_,o,m[o]);return _};import{g as ie,am as de,i as f,u as ce,C as ue,j as me,k as B,D as fe,l as ve,r as c,o as d,c as I,b as a,s as v,w as r,t as u,y as s,v as S,x as b,A as p,F as P,H as pe,z as _e}from"./vendor.e9042f2c.js";import{_ as ye}from"./InvoiceIndexDropdown.d1c989d3.js";import{g as be,f as ge,u as he,d as xe,i as Be,e as F}from"./main.c4ed6aa9.js";import{_ as Ie}from"./SendInvoiceModal.f1dd071b.js";import{L as ke}from"./LoadingIcon.562f15c9.js";const Ee={class:"text-sm mr-3"},Se={class:"fixed top-0 left-0 hidden h-full pt-16 pb-4 ml-56 bg-white xl:ml-64 w-88 xl:block"},we={class:"flex items-center justify-between px-4 pt-8 pb-2 border border-gray-200 border-solid height-full"},Te={class:"mb-6"},De={class:"flex mb-6 ml-3",role:"group","aria-label":"First group"},Ve={class:"px-2 py-1 pb-2 mb-1 mb-2 text-sm border-b border-gray-200 border-solid"},$e={key:0,class:"h-full pb-32 overflow-y-scroll border-l border-gray-200 border-solid base-scroll"},Fe={class:"flex-2"},Ae={class:"mt-1 mb-2 text-xs not-italic font-medium leading-5 text-gray-600"},Ne={class:"flex-1 whitespace-nowrap right"},Ce={class:"text-sm not-italic font-normal leading-5 text-right text-gray-600 est-date"},je={class:"flex justify-center p-4 items-center"},Re={key:0,class:"flex justify-center px-4 mt-5 text-sm text-gray-600"},ze={class:"flex flex-col min-h-0 mt-8 overflow-hidden",style:{height:"75vh"}},Le=["src"],We={setup(_){const m=be(),o=ge();he();const w=xe(),U=Be(),{t:g}=ie();de("$utils"),f(null),f(null);const l=f(null);f(null);const k=ce();ue(),f(["DRAFT","SENT","VIEWED","EXPIRED","ACCEPTED","REJECTED"]);const T=f(!1),O=f(!1);f(!1);const A=f(!1),h=f(!1),t=me({orderBy:null,orderByField:null,searchText:null}),H=B(()=>l.value.invoice_number),N=B(()=>t.orderBy==="asc"||t.orderBy==null);B(()=>N.value?g("general.ascending"):g("general.descending"));const G=B(()=>`/invoices/pdf/${l.value.unique_hash}`);B(()=>l.value&&l.value.id?invoice.value.id:null),fe(k,(e,i)=>{e.name==="invoices.view"&&j()});async function W(){U.openDialog({title:g("general.are_you_sure"),message:g("invoices.invoice_mark_as_sent"),yesLabel:g("general.ok"),noLabel:g("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(async e=>{T.value=!1,e&&(await o.markAsSent({id:l.value.id,status:"SENT"}),l.value.status="SENT",T.value=!0)})}async function q(e){m.openModal({title:g("invoices.send_invoice"),componentName:"SendInvoiceModal",id:l.value.id,data:l.value})}function J(e){return k.params.id==e}async function C(){h.value=!0,await o.fetchInvoices(),h.value=!1,setTimeout(()=>{X()},500)}function X(){const e=document.getElementById(`invoice-${k.params.id}`);e&&(e.scrollIntoView({behavior:"smooth"}),e.classList.add("shake"))}async function j(){let e=await o.fetchInvoice(k.params.id);e.data&&(l.value=M({},e.data.data))}async function y(){let e="";t.searchText!==""&&t.searchText!==null&&t.searchText!==void 0&&(e+=`search=${t.searchText}&`),t.orderBy!==null&&t.orderBy!==void 0&&(e+=`orderBy=${t.orderBy}&`),t.orderByField!==null&&t.orderByField!==void 0&&(e+=`orderByField=${t.orderByField}`),A.value=!0;let i=await o.searchInvoice(e);A.value=!1,i.data&&(o.invoices=i.data.data)}function Y(){return t.orderBy==="asc"?(t.orderBy="desc",y(),!0):(t.orderBy="asc",y(),!0)}return C(),j(),y=ve.exports.debounce(y,500),(e,i)=>{const x=c("BaseButton"),R=c("router-link"),K=c("BasePageHeader"),E=c("BaseIcon"),Q=c("BaseInput"),D=c("BaseRadio"),V=c("BaseInputGroup"),$=c("BaseDropdownItem"),Z=c("BaseDropdown"),ee=c("BaseText"),te=c("BaseEstimateStatusBadge"),ae=c("BaseFormatMoney"),se=c("BasePage");return d(),I(P,null,[a(Ie),l.value?(d(),v(se,{key:0,class:"xl:pl-96 xl:ml-8"},{default:r(()=>[a(K,{title:s(H)},{actions:r(()=>[u("div",Ee,[l.value.status==="DRAFT"&&s(w).hasAbilities(s(F).EDIT_INVOICE)?(d(),v(x,{key:0,disabled:T.value,variant:"primary-outline",onClick:W},{default:r(()=>[S(b(e.$t("invoices.mark_as_sent")),1)]),_:1},8,["disabled"])):p("",!0)]),l.value.status==="DRAFT"&&s(w).hasAbilities(s(F).SEND_INVOICE)?(d(),v(x,{key:0,disabled:O.value,variant:"primary",class:"text-sm",onClick:q},{default:r(()=>[S(b(e.$t("invoices.send_invoice")),1)]),_:1},8,["disabled"])):p("",!0),s(w).hasAbilities(s(F).CREATE_PAYMENT)?(d(),v(R,{key:1,to:`/admin/payments/${e.$route.params.id}/create`},{default:r(()=>[l.value.status==="SENT"||l.value.status==="OVERDUE"||l.value.status==="VIEWED"?(d(),v(x,{key:0,variant:"primary"},{default:r(()=>[S(b(e.$t("invoices.record_payment")),1)]),_:1})):p("",!0)]),_:1},8,["to"])):p("",!0),a(ye,{class:"ml-3",row:l.value,"load-data":C},null,8,["row"])]),_:1},8,["title"]),u("div",Se,[u("div",we,[u("div",Te,[a(Q,{modelValue:s(t).searchText,"onUpdate:modelValue":i[0]||(i[0]=n=>s(t).searchText=n),placeholder:e.$t("general.search"),type:"text",variant:"gray",onInput:i[1]||(i[1]=n=>y())},{right:r(()=>[a(E,{name:"SearchIcon",class:"h-5 text-gray-400"})]),_:1},8,["modelValue","placeholder"])]),u("div",De,[a(Z,{class:"ml-3",position:"bottom-start"},{activator:r(()=>[a(x,{size:"md",variant:"gray"},{default:r(()=>[a(E,{name:"FilterIcon"})]),_:1})]),default:r(()=>[u("div",Ve,b(e.$t("general.sort_by")),1),a($,{class:"flex px-1 py-2 cursor-pointer"},{default:r(()=>[a(V,{class:"-mt-3 font-normal"},{default:r(()=>[a(D,{id:"filter_invoice_date",modelValue:s(t).orderByField,"onUpdate:modelValue":[i[2]||(i[2]=n=>s(t).orderByField=n),y],label:e.$t("reports.invoices.invoice_date"),size:"sm",name:"filter",value:"invoice_date"},null,8,["modelValue","label"])]),_:1})]),_:1}),a($,{class:"flex px-1 py-2 cursor-pointer"},{default:r(()=>[a(V,{class:"-mt-3 font-normal"},{default:r(()=>[a(D,{id:"filter_due_date",modelValue:s(t).orderByField,"onUpdate:modelValue":[i[3]||(i[3]=n=>s(t).orderByField=n),y],label:e.$t("invoices.due_date"),value:"due_date",size:"sm",name:"filter"},null,8,["modelValue","label"])]),_:1})]),_:1}),a($,{class:"flex px-1 py-2 cursor-pointer"},{default:r(()=>[a(V,{class:"-mt-3 font-normal"},{default:r(()=>[a(D,{id:"filter_invoice_number",modelValue:s(t).orderByField,"onUpdate:modelValue":[i[4]||(i[4]=n=>s(t).orderByField=n),y],label:e.$t("invoices.invoice_number"),value:"invoice_number",size:"sm",name:"filter"},null,8,["modelValue","label"])]),_:1})]),_:1})]),_:1}),a(x,{class:"ml-1",size:"md",variant:"gray",onClick:Y},{default:r(()=>[s(N)?(d(),v(E,{key:0,name:"SortAscendingIcon"})):(d(),v(E,{key:1,name:"SortDescendingIcon"}))]),_:1})])]),s(o)&&s(o).invoices?(d(),I("div",$e,[(d(!0),I(P,null,pe(s(o).invoices,(n,oe)=>(d(),I("div",{key:oe},[n&&!h.value?(d(),v(R,{key:0,id:"invoice-"+n.id,to:`/admin/invoices/${n.id}/view`,class:_e(["flex justify-between side-invoice p-4 cursor-pointer hover:bg-gray-100 items-center border-l-4 border-transparent",{"bg-gray-100 border-l-4 border-primary-500 border-solid":J(n.id)}]),style:{"border-bottom":"1px solid rgba(185, 193, 209, 0.41)"}},{default:r(()=>[u("div",Fe,[a(ee,{text:n.customer.name,length:30,class:"pr-2 mb-2 text-sm not-italic font-normal leading-5 text-black capitalize truncate"},null,8,["text"]),u("div",Ae,b(n.invoice_number),1),a(te,{status:n.status,class:"px-1 text-xs"},{default:r(()=>[S(b(n.status),1)]),_:2},1032,["status"])]),u("div",Ne,[a(ae,{class:"mb-2 text-xl not-italic font-semibold leading-8 text-right text-gray-900 block",amount:n.total,currency:n.customer.currency},null,8,["amount","currency"]),u("div",Ce,b(n.formatted_invoice_date),1)])]),_:2},1032,["id","to","class"])):p("",!0)]))),128)),u("div",je,[h.value?(d(),v(ke,{key:0,class:"h-6 m-1 animate-spin text-primary-400"})):p("",!0)]),!s(o).invoices.length&&!h.value?(d(),I("p",Re,b(e.$t("invoices.no_matching_invoices")),1)):p("",!0)])):p("",!0)]),u("div",ze,[u("iframe",{src:`${s(G)}`,class:"flex-1 border border-gray-400 border-solid bg-white rounded-md frame-style"},null,8,Le)])]),_:1})):p("",!0)],64)}}};export{We as default}; +var ne=Object.defineProperty;var z=Object.getOwnPropertySymbols;var re=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;var L=(_,m,o)=>m in _?ne(_,m,{enumerable:!0,configurable:!0,writable:!0,value:o}):_[m]=o,M=(_,m)=>{for(var o in m||(m={}))re.call(m,o)&&L(_,o,m[o]);if(z)for(var o of z(m))le.call(m,o)&&L(_,o,m[o]);return _};import{g as ie,am as de,i as f,u as ce,C as ue,j as me,k as B,D as fe,l as ve,r as c,o as d,c as I,b as a,s as v,w as r,t as u,y as s,v as S,x as b,A as p,F as P,H as pe,z as _e}from"./vendor.e9042f2c.js";import{_ as ye}from"./InvoiceIndexDropdown.8a8f3a1b.js";import{g as be,f as ge,u as he,d as xe,i as Be,e as F}from"./main.f55cd568.js";import{_ as Ie}from"./SendInvoiceModal.59d8474e.js";import{L as ke}from"./LoadingIcon.edb4fe20.js";const Ee={class:"text-sm mr-3"},Se={class:"fixed top-0 left-0 hidden h-full pt-16 pb-4 ml-56 bg-white xl:ml-64 w-88 xl:block"},we={class:"flex items-center justify-between px-4 pt-8 pb-2 border border-gray-200 border-solid height-full"},Te={class:"mb-6"},De={class:"flex mb-6 ml-3",role:"group","aria-label":"First group"},Ve={class:"px-2 py-1 pb-2 mb-1 mb-2 text-sm border-b border-gray-200 border-solid"},$e={key:0,class:"h-full pb-32 overflow-y-scroll border-l border-gray-200 border-solid base-scroll"},Fe={class:"flex-2"},Ae={class:"mt-1 mb-2 text-xs not-italic font-medium leading-5 text-gray-600"},Ne={class:"flex-1 whitespace-nowrap right"},Ce={class:"text-sm not-italic font-normal leading-5 text-right text-gray-600 est-date"},je={class:"flex justify-center p-4 items-center"},Re={key:0,class:"flex justify-center px-4 mt-5 text-sm text-gray-600"},ze={class:"flex flex-col min-h-0 mt-8 overflow-hidden",style:{height:"75vh"}},Le=["src"],We={setup(_){const m=be(),o=ge();he();const w=xe(),U=Be(),{t:g}=ie();de("$utils"),f(null),f(null);const l=f(null);f(null);const k=ce();ue(),f(["DRAFT","SENT","VIEWED","EXPIRED","ACCEPTED","REJECTED"]);const T=f(!1),O=f(!1);f(!1);const A=f(!1),h=f(!1),t=me({orderBy:null,orderByField:null,searchText:null}),H=B(()=>l.value.invoice_number),N=B(()=>t.orderBy==="asc"||t.orderBy==null);B(()=>N.value?g("general.ascending"):g("general.descending"));const G=B(()=>`/invoices/pdf/${l.value.unique_hash}`);B(()=>l.value&&l.value.id?invoice.value.id:null),fe(k,(e,i)=>{e.name==="invoices.view"&&j()});async function W(){U.openDialog({title:g("general.are_you_sure"),message:g("invoices.invoice_mark_as_sent"),yesLabel:g("general.ok"),noLabel:g("general.cancel"),variant:"primary",hideNoButton:!1,size:"lg"}).then(async e=>{T.value=!1,e&&(await o.markAsSent({id:l.value.id,status:"SENT"}),l.value.status="SENT",T.value=!0)})}async function q(e){m.openModal({title:g("invoices.send_invoice"),componentName:"SendInvoiceModal",id:l.value.id,data:l.value})}function J(e){return k.params.id==e}async function C(){h.value=!0,await o.fetchInvoices(),h.value=!1,setTimeout(()=>{X()},500)}function X(){const e=document.getElementById(`invoice-${k.params.id}`);e&&(e.scrollIntoView({behavior:"smooth"}),e.classList.add("shake"))}async function j(){let e=await o.fetchInvoice(k.params.id);e.data&&(l.value=M({},e.data.data))}async function y(){let e="";t.searchText!==""&&t.searchText!==null&&t.searchText!==void 0&&(e+=`search=${t.searchText}&`),t.orderBy!==null&&t.orderBy!==void 0&&(e+=`orderBy=${t.orderBy}&`),t.orderByField!==null&&t.orderByField!==void 0&&(e+=`orderByField=${t.orderByField}`),A.value=!0;let i=await o.searchInvoice(e);A.value=!1,i.data&&(o.invoices=i.data.data)}function Y(){return t.orderBy==="asc"?(t.orderBy="desc",y(),!0):(t.orderBy="asc",y(),!0)}return C(),j(),y=ve.exports.debounce(y,500),(e,i)=>{const x=c("BaseButton"),R=c("router-link"),K=c("BasePageHeader"),E=c("BaseIcon"),Q=c("BaseInput"),D=c("BaseRadio"),V=c("BaseInputGroup"),$=c("BaseDropdownItem"),Z=c("BaseDropdown"),ee=c("BaseText"),te=c("BaseEstimateStatusBadge"),ae=c("BaseFormatMoney"),se=c("BasePage");return d(),I(P,null,[a(Ie),l.value?(d(),v(se,{key:0,class:"xl:pl-96 xl:ml-8"},{default:r(()=>[a(K,{title:s(H)},{actions:r(()=>[u("div",Ee,[l.value.status==="DRAFT"&&s(w).hasAbilities(s(F).EDIT_INVOICE)?(d(),v(x,{key:0,disabled:T.value,variant:"primary-outline",onClick:W},{default:r(()=>[S(b(e.$t("invoices.mark_as_sent")),1)]),_:1},8,["disabled"])):p("",!0)]),l.value.status==="DRAFT"&&s(w).hasAbilities(s(F).SEND_INVOICE)?(d(),v(x,{key:0,disabled:O.value,variant:"primary",class:"text-sm",onClick:q},{default:r(()=>[S(b(e.$t("invoices.send_invoice")),1)]),_:1},8,["disabled"])):p("",!0),s(w).hasAbilities(s(F).CREATE_PAYMENT)?(d(),v(R,{key:1,to:`/admin/payments/${e.$route.params.id}/create`},{default:r(()=>[l.value.status==="SENT"||l.value.status==="OVERDUE"||l.value.status==="VIEWED"?(d(),v(x,{key:0,variant:"primary"},{default:r(()=>[S(b(e.$t("invoices.record_payment")),1)]),_:1})):p("",!0)]),_:1},8,["to"])):p("",!0),a(ye,{class:"ml-3",row:l.value,"load-data":C},null,8,["row"])]),_:1},8,["title"]),u("div",Se,[u("div",we,[u("div",Te,[a(Q,{modelValue:s(t).searchText,"onUpdate:modelValue":i[0]||(i[0]=n=>s(t).searchText=n),placeholder:e.$t("general.search"),type:"text",variant:"gray",onInput:i[1]||(i[1]=n=>y())},{right:r(()=>[a(E,{name:"SearchIcon",class:"h-5 text-gray-400"})]),_:1},8,["modelValue","placeholder"])]),u("div",De,[a(Z,{class:"ml-3",position:"bottom-start"},{activator:r(()=>[a(x,{size:"md",variant:"gray"},{default:r(()=>[a(E,{name:"FilterIcon"})]),_:1})]),default:r(()=>[u("div",Ve,b(e.$t("general.sort_by")),1),a($,{class:"flex px-1 py-2 cursor-pointer"},{default:r(()=>[a(V,{class:"-mt-3 font-normal"},{default:r(()=>[a(D,{id:"filter_invoice_date",modelValue:s(t).orderByField,"onUpdate:modelValue":[i[2]||(i[2]=n=>s(t).orderByField=n),y],label:e.$t("reports.invoices.invoice_date"),size:"sm",name:"filter",value:"invoice_date"},null,8,["modelValue","label"])]),_:1})]),_:1}),a($,{class:"flex px-1 py-2 cursor-pointer"},{default:r(()=>[a(V,{class:"-mt-3 font-normal"},{default:r(()=>[a(D,{id:"filter_due_date",modelValue:s(t).orderByField,"onUpdate:modelValue":[i[3]||(i[3]=n=>s(t).orderByField=n),y],label:e.$t("invoices.due_date"),value:"due_date",size:"sm",name:"filter"},null,8,["modelValue","label"])]),_:1})]),_:1}),a($,{class:"flex px-1 py-2 cursor-pointer"},{default:r(()=>[a(V,{class:"-mt-3 font-normal"},{default:r(()=>[a(D,{id:"filter_invoice_number",modelValue:s(t).orderByField,"onUpdate:modelValue":[i[4]||(i[4]=n=>s(t).orderByField=n),y],label:e.$t("invoices.invoice_number"),value:"invoice_number",size:"sm",name:"filter"},null,8,["modelValue","label"])]),_:1})]),_:1})]),_:1}),a(x,{class:"ml-1",size:"md",variant:"gray",onClick:Y},{default:r(()=>[s(N)?(d(),v(E,{key:0,name:"SortAscendingIcon"})):(d(),v(E,{key:1,name:"SortDescendingIcon"}))]),_:1})])]),s(o)&&s(o).invoices?(d(),I("div",$e,[(d(!0),I(P,null,pe(s(o).invoices,(n,oe)=>(d(),I("div",{key:oe},[n&&!h.value?(d(),v(R,{key:0,id:"invoice-"+n.id,to:`/admin/invoices/${n.id}/view`,class:_e(["flex justify-between side-invoice p-4 cursor-pointer hover:bg-gray-100 items-center border-l-4 border-transparent",{"bg-gray-100 border-l-4 border-primary-500 border-solid":J(n.id)}]),style:{"border-bottom":"1px solid rgba(185, 193, 209, 0.41)"}},{default:r(()=>[u("div",Fe,[a(ee,{text:n.customer.name,length:30,class:"pr-2 mb-2 text-sm not-italic font-normal leading-5 text-black capitalize truncate"},null,8,["text"]),u("div",Ae,b(n.invoice_number),1),a(te,{status:n.status,class:"px-1 text-xs"},{default:r(()=>[S(b(n.status),1)]),_:2},1032,["status"])]),u("div",Ne,[a(ae,{class:"mb-2 text-xl not-italic font-semibold leading-8 text-right text-gray-900 block",amount:n.total,currency:n.customer.currency},null,8,["amount","currency"]),u("div",Ce,b(n.formatted_invoice_date),1)])]),_:2},1032,["id","to","class"])):p("",!0)]))),128)),u("div",je,[h.value?(d(),v(ke,{key:0,class:"h-6 m-1 animate-spin text-primary-400"})):p("",!0)]),!s(o).invoices.length&&!h.value?(d(),I("p",Re,b(e.$t("invoices.no_matching_invoices")),1)):p("",!0)])):p("",!0)]),u("div",ze,[u("iframe",{src:`${s(G)}`,class:"flex-1 border border-gray-400 border-solid bg-white rounded-md frame-style"},null,8,Le)])]),_:1})):p("",!0)],64)}}};export{We as default}; diff --git a/public/build/assets/View.6b03b301.js b/public/build/assets/View.b467c092.js similarity index 98% rename from public/build/assets/View.6b03b301.js rename to public/build/assets/View.b467c092.js index 1ec0f264c..6efbd1583 100644 --- a/public/build/assets/View.6b03b301.js +++ b/public/build/assets/View.b467c092.js @@ -1 +1 @@ -import{u as M,g as O,i as V,j as R,l as J,k as T,r as d,o as a,c as B,t as o,b as t,w as n,y as e,x,s as p,F as U,H as z,A as h,z as H,v as D,am as Y,D as K,a0 as Q,C as W}from"./vendor.e9042f2c.js";import{k as L,_ as Z,c as ee,i as te,d as se,e as E}from"./main.c4ed6aa9.js";import{L as ae}from"./LoadingIcon.562f15c9.js";import{_ as ne}from"./LineChart.1e4f5d60.js";import{_ as oe}from"./CustomerIndexDropdown.421e91b3.js";const le={class:"fixed top-0 left-0 hidden h-full pt-16 pb-4 ml-56 bg-white xl:ml-64 w-88 xl:block"},re={class:"flex items-center justify-between px-4 pt-8 pb-2 border border-gray-200 border-solid height-full"},ce={class:"flex mb-6 ml-3",role:"group","aria-label":"First group"},ie={class:"px-4 py-3 pb-2 mb-2 text-sm border-b border-gray-200 border-solid"},de={class:"px-2"},ue={class:"px-2"},me={class:"h-full pb-32 overflow-y-scroll border-l border-gray-200 border-solid sidebar base-scroll"},_e={class:"flex-1 font-bold text-right whitespace-nowrap"},pe={class:"flex justify-center p-4 items-center"},fe={key:0,class:"flex justify-center px-4 mt-5 text-sm text-gray-600"},he={setup(j){const y=L(),s=M(),{t:m}=O();let c=V(!1),i=V(!1),l=R({orderBy:"",orderByField:"",searchText:""});f=J.exports.debounce(f,500);const $=T(()=>l.orderBy==="asc"||l.orderBy==null);T(()=>$.value?m("general.ascending"):m("general.descending"));function v(r){return s.params.id==r}async function I(){i.value=!0,await y.fetchCustomers({limit:"all"}),i.value=!1,setTimeout(()=>{g()},500)}function g(){const r=document.getElementById(`customer-${s.params.id}`);r&&(r.scrollIntoView({behavior:"smooth"}),r.classList.add("shake"))}async function f(){let r={};l.searchText!==""&&l.searchText!==null&&l.searchText!==void 0&&(r.display_name=l.searchText),l.orderBy!==null&&l.orderBy!==void 0&&(r.orderBy=l.orderBy),l.orderByField!==null&&l.orderByField!==void 0&&(r.orderByField=l.orderByField),c.value=!0;try{let _=await y.fetchCustomers(r);c.value=!1,_.data&&(y.customers=_.data.data)}catch{c.value=!1}}function w(){return l.orderBy==="asc"?(l.orderBy="desc",f(),!0):(l.orderBy="asc",f(),!0)}return I(),(r,_)=>{const u=d("BaseIcon"),C=d("BaseInput"),k=d("BaseButton"),S=d("BaseRadio"),A=d("BaseInputGroup"),F=d("BaseDropdownItem"),P=d("BaseDropdown"),N=d("BaseText"),G=d("BaseFormatMoney"),X=d("router-link");return a(),B("div",le,[o("div",re,[t(C,{modelValue:e(l).searchText,"onUpdate:modelValue":_[0]||(_[0]=b=>e(l).searchText=b),placeholder:r.$t("general.search"),"container-class":"mb-6",type:"text",variant:"gray",onInput:_[1]||(_[1]=b=>f())},{default:n(()=>[t(u,{name:"SearchIcon",class:"text-gray-500"})]),_:1},8,["modelValue","placeholder"]),o("div",ce,[t(P,{"close-on-select":!1,position:"bottom-start","width-class":"w-40","position-class":"left-0"},{activator:n(()=>[t(k,{variant:"gray"},{default:n(()=>[t(u,{name:"FilterIcon"})]),_:1})]),default:n(()=>[o("div",ie,x(r.$t("general.sort_by")),1),o("div",de,[t(F,{class:"flex px-1 py-2 mt-1 cursor-pointer hover:rounded-md"},{default:n(()=>[t(A,{class:"pt-2 -mt-4"},{default:n(()=>[t(S,{id:"filter_create_date",modelValue:e(l).orderByField,"onUpdate:modelValue":[_[2]||(_[2]=b=>e(l).orderByField=b),f],label:r.$t("customers.create_date"),size:"sm",name:"filter",value:"invoices.created_at"},null,8,["modelValue","label"])]),_:1})]),_:1})]),o("div",ue,[t(F,{class:"flex px-1 cursor-pointer hover:rounded-md"},{default:n(()=>[t(A,{class:"pt-2 -mt-4"},{default:n(()=>[t(S,{id:"filter_display_name",modelValue:e(l).orderByField,"onUpdate:modelValue":[_[3]||(_[3]=b=>e(l).orderByField=b),f],label:r.$t("customers.display_name"),size:"sm",name:"filter",value:"name"},null,8,["modelValue","label"])]),_:1})]),_:1})])]),_:1}),t(k,{class:"ml-1",size:"md",variant:"gray",onClick:w},{default:n(()=>[e($)?(a(),p(u,{key:0,name:"SortAscendingIcon"})):(a(),p(u,{key:1,name:"SortDescendingIcon"}))]),_:1})])]),o("div",me,[(a(!0),B(U,null,z(e(y).customers,(b,q)=>(a(),B("div",{key:q},[b&&!e(i)?(a(),p(X,{key:0,id:"customer-"+b.id,to:`/admin/customers/${b.id}/view`,class:H(["flex justify-between p-4 items-center cursor-pointer hover:bg-gray-100 border-l-4 border-transparent",{"bg-gray-100 border-l-4 border-primary-500 border-solid":v(b.id)}]),style:{"border-top":"1px solid rgba(185, 193, 209, 0.41)"}},{default:n(()=>[o("div",null,[t(N,{text:b.name,length:30,class:"pr-2 text-sm not-italic font-normal leading-5 text-black capitalize truncate"},null,8,["text"]),b.contact_name?(a(),p(N,{key:0,text:b.contact_name,length:30,class:"mt-1 text-xs not-italic font-medium leading-5 text-gray-600"},null,8,["text"])):h("",!0)]),o("div",_e,[t(G,{amount:b.due_amount,currency:b.currency},null,8,["amount","currency"])])]),_:2},1032,["id","to","class"])):h("",!0)]))),128)),o("div",pe,[e(i)?(a(),p(ae,{key:0,class:"h-6 m-1 animate-spin text-primary-400"})):h("",!0)]),!e(y).customers.length&&!e(i)?(a(),B("p",fe,x(r.$t("customers.no_matching_customers")),1)):h("",!0)])])}}},ye={class:"pt-6 mt-5 border-t border-solid lg:pt-8 md:pt-4 border-gray-200"},ge={key:0,class:"text-sm font-bold leading-5 text-black non-italic"},xe={key:0},be={key:1},ve={key:1,class:"text-sm font-bold leading-5 text-black non-italic"},Be={setup(j){const y=L(),s=T(()=>y.selectedViewCustomer),m=T(()=>y.isFetchingViewData),c=T(()=>{var i,l;return((i=s==null?void 0:s.value)==null?void 0:i.fields)?(l=s==null?void 0:s.value)==null?void 0:l.fields:[]});return(i,l)=>{const $=d("BaseHeading"),v=d("BaseDescriptionListItem"),I=d("BaseDescriptionList"),g=d("BaseCustomerAddressDisplay");return a(),B("div",ye,[t($,null,{default:n(()=>[D(x(i.$t("customers.basic_info")),1)]),_:1}),t(I,null,{default:n(()=>{var f,w,r;return[t(v,{"content-loading":e(m),label:i.$t("customers.display_name"),value:(f=e(s))==null?void 0:f.name},null,8,["content-loading","label","value"]),t(v,{"content-loading":e(m),label:i.$t("customers.primary_contact_name"),value:(w=e(s))==null?void 0:w.contact_name},null,8,["content-loading","label","value"]),t(v,{"content-loading":e(m),label:i.$t("customers.email"),value:(r=e(s))==null?void 0:r.email},null,8,["content-loading","label","value"])]}),_:1}),t(I,{class:"mt-5"},{default:n(()=>{var f,w,r,_,u,C,k;return[t(v,{"content-loading":e(m),label:i.$t("wizard.currency"),value:((f=e(s))==null?void 0:f.currency)?`${(r=(w=e(s))==null?void 0:w.currency)==null?void 0:r.code} (${(u=(_=e(s))==null?void 0:_.currency)==null?void 0:u.symbol})`:""},null,8,["content-loading","label","value"]),t(v,{"content-loading":e(m),label:i.$t("customers.phone_number"),value:(C=e(s))==null?void 0:C.phone},null,8,["content-loading","label","value"]),t(v,{"content-loading":e(m),label:i.$t("customers.website"),value:(k=e(s))==null?void 0:k.website},null,8,["content-loading","label","value"])]}),_:1}),e(s).billing||e(s).shipping?(a(),p($,{key:0,class:"mt-8"},{default:n(()=>[D(x(i.$t("customers.address")),1)]),_:1})):h("",!0),t(I,{class:"mt-5"},{default:n(()=>[e(s).billing?(a(),p(v,{key:0,"content-loading":e(m),label:i.$t("customers.billing_address")},{default:n(()=>[t(g,{address:e(s).billing},null,8,["address"])]),_:1},8,["content-loading","label"])):h("",!0),e(s).shipping?(a(),p(v,{key:1,"content-loading":e(m),label:i.$t("customers.shipping_address")},{default:n(()=>[t(g,{address:e(s).shipping},null,8,["address"])]),_:1},8,["content-loading","label"])):h("",!0)]),_:1}),e(c).length>0?(a(),p($,{key:1,class:"mt-8"},{default:n(()=>[D(x(i.$t("settings.custom_fields.title")),1)]),_:1})):h("",!0),t(I,{class:"mt-5"},{default:n(()=>[(a(!0),B(U,null,z(e(c),(f,w)=>(a(),p(v,{key:w,"content-loading":e(m),label:f.custom_field.label},{default:n(()=>[f.type==="Switch"?(a(),B("p",ge,[f.default_answer===1?(a(),B("span",xe," Yes ")):(a(),B("span",be," No "))])):(a(),B("p",ve,x(f.default_answer),1))]),_:2},1032,["content-loading","label"]))),128))]),_:1})])}}},$e={},we={class:"col-span-12 xl:col-span-9 xxl:col-span-10"},Ce={class:"flex justify-between mt-1 mb-6"},ke={class:"grid col-span-12 mt-6 text-center xl:mt-0 sm:grid-cols-4 xl:text-right xl:col-span-3 xl:grid-cols-1 xxl:col-span-2"},Te={class:"flex flex-col items-center justify-center px-6 py-2 lg:justify-end lg:items-end"},Ee={class:"flex flex-col items-center justify-center px-6 py-2 lg:justify-end lg:items-end"},Ie={class:"flex flex-col items-center justify-center px-6 py-2 lg:justify-end lg:items-end"},De={class:"flex flex-col items-center justify-center px-6 py-2 lg:justify-end lg:items-end"};function Ae(j,y){const s=d("BaseContentPlaceholdersText"),m=d("BaseContentPlaceholdersBox"),c=d("BaseContentPlaceholders");return a(),p(c,{class:"grid grid-cols-12"},{default:n(()=>[o("div",we,[o("div",Ce,[t(s,{class:"h-10 w-36",lines:1}),t(s,{class:"h-10 w-40 !mt-0",lines:1})]),t(m,{class:"h-80 xl:h-72 sm:w-full"})]),o("div",ke,[o("div",Te,[t(s,{class:"h-3 w-14 xl:h-4",lines:1}),t(s,{class:"w-20 h-5 xl:h-6",lines:1})]),o("div",Ee,[t(s,{class:"h-3 w-14 xl:h-4",lines:1}),t(s,{class:"w-20 h-5 xl:h-6",lines:1})]),o("div",Ie,[t(s,{class:"h-3 w-14 xl:h-4",lines:1}),t(s,{class:"w-20 h-5 xl:h-6",lines:1})]),o("div",De,[t(s,{class:"h-3 w-14 xl:h-4",lines:1}),t(s,{class:"w-20 h-5 xl:h-6",lines:1})])])]),_:1})}var Se=Z($e,[["render",Ae]]);const Ve={key:1,class:"grid grid-cols-12"},je={class:"col-span-12 xl:col-span-9 xxl:col-span-10"},Fe={class:"flex justify-between mt-1 mb-6"},Pe={class:"flex items-center"},Re={class:"w-40 h-10"},Le={class:"grid col-span-12 mt-6 text-center xl:mt-0 sm:grid-cols-4 xl:text-right xl:col-span-3 xl:grid-cols-1 xxl:col-span-2"},Me={class:"px-6 py-2"},Ne={class:"text-xs leading-5 lg:text-sm"},Oe=o("br",null,null,-1),Ue={key:0,class:"block mt-1 text-xl font-semibold leading-8"},ze={class:"px-6 py-2"},He={class:"text-xs leading-5 lg:text-sm"},Ye=o("br",null,null,-1),Ge={key:0,class:"block mt-1 text-xl font-semibold leading-8",style:{color:"#00c99c"}},Xe={class:"px-6 py-2"},qe={class:"text-xs leading-5 lg:text-sm"},Je=o("br",null,null,-1),Ke={key:0,class:"block mt-1 text-xl font-semibold leading-8",style:{color:"#fb7178"}},Qe={class:"px-6 py-2"},We={class:"text-xs leading-5 lg:text-sm"},Ze=o("br",null,null,-1),et={key:0,class:"block mt-1 text-xl font-semibold leading-8",style:{color:"#5851d8"}},tt={setup(j){ee();const y=L();Y("utils");const s=M();let m=V(!1),c=R({}),i=R({}),l=R(["This year","Previous year"]),$=V("This year");const v=T(()=>c.expenseTotals?c.expenseTotals:[]),I=T(()=>c.netProfits?c.netProfits:[]),g=T(()=>c&&c.months?c.months:[]),f=T(()=>c.receiptTotals?c.receiptTotals:[]),w=T(()=>c.invoiceTotals?c.invoiceTotals:[]);K(s,()=>{s.params.id&&r(),$.value="This year"},{immediate:!0});async function r(){m.value=!1;let u=await y.fetchViewCustomer({id:s.params.id});u.data&&(Object.assign(c,u.data.meta.chartData),Object.assign(i,u.data.data)),m.value=!0}async function _(u){let C={id:s.params.id};u==="Previous year"?C.previous_year=!0:C.this_year=!0;let k=await y.fetchViewCustomer(C);return k.data.meta.chartData&&Object.assign(c,k.data.meta.chartData),!0}return(u,C)=>{const k=d("BaseIcon"),S=d("BaseMultiselect"),A=d("BaseFormatMoney"),F=d("BaseCard");return a(),p(F,{class:"flex flex-col mt-6"},{default:n(()=>[e(y).isFetchingViewData?(a(),p(Se,{key:0})):(a(),B("div",Ve,[o("div",je,[o("div",Fe,[o("h6",Pe,[t(k,{name:"ChartSquareBarIcon",class:"h-5 text-primary-400"}),D(" "+x(u.$t("dashboard.monthly_chart.title")),1)]),o("div",Re,[t(S,{modelValue:e($),"onUpdate:modelValue":C[0]||(C[0]=P=>Q($)?$.value=P:$=P),options:e(l),"allow-empty":!1,"show-labels":!1,placeholder:u.$t("dashboard.select_year"),"can-deselect":!1,onSelect:_},null,8,["modelValue","options","placeholder"])])]),e(m)?(a(),p(ne,{key:0,invoices:e(w),expenses:e(v),receipts:e(f),income:e(I),labels:e(g),class:"sm:w-full"},null,8,["invoices","expenses","receipts","income","labels"])):h("",!0)]),o("div",Le,[o("div",Me,[o("span",Ne,x(u.$t("dashboard.chart_info.total_sales")),1),Oe,e(m)?(a(),B("span",Ue,[t(A,{amount:e(c).salesTotal,currency:e(i).currency},null,8,["amount","currency"])])):h("",!0)]),o("div",ze,[o("span",He,x(u.$t("dashboard.chart_info.total_receipts")),1),Ye,e(m)?(a(),B("span",Ge,[t(A,{amount:e(c).totalExpenses,currency:e(i).currency},null,8,["amount","currency"])])):h("",!0)]),o("div",Xe,[o("span",qe,x(u.$t("dashboard.chart_info.total_expense")),1),Je,e(m)?(a(),B("span",Ke,[t(A,{amount:e(c).totalExpenses,currency:e(i).currency},null,8,["amount","currency"])])):h("",!0)]),o("div",Qe,[o("span",We,x(u.$t("dashboard.chart_info.net_income")),1),Ze,e(m)?(a(),B("span",et,[t(A,{amount:e(c).netProfit,currency:e(i).currency},null,8,["amount","currency"])])):h("",!0)])])])),t(Be)]),_:1})}}},rt={setup(j){Y("utils"),te();const y=L(),s=se();O();const m=W(),c=M();V(null);const i=T(()=>y.selectedViewCustomer.customer?y.selectedViewCustomer.customer.name:"");let l=T(()=>y.isFetchingViewData);function $(){return s.hasAbilities([E.CREATE_ESTIMATE,E.CREATE_INVOICE,E.CREATE_PAYMENT,E.CREATE_EXPENSE])}function v(){return s.hasAbilities([E.DELETE_CUSTOMER,E.EDIT_CUSTOMER])}function I(){m.push("/admin/customers")}return(g,f)=>{const w=d("BaseButton"),r=d("router-link"),_=d("BaseIcon"),u=d("BaseDropdownItem"),C=d("BaseDropdown"),k=d("BasePageHeader"),S=d("BasePage");return a(),p(S,{class:"xl:pl-96"},{default:n(()=>[t(k,{title:e(i)},{actions:n(()=>[e(s).hasAbilities(e(E).EDIT_CUSTOMER)?(a(),p(r,{key:0,to:`/admin/customers/${e(c).params.id}/edit`},{default:n(()=>[t(w,{class:"mr-3",variant:"primary-outline","content-loading":e(l)},{default:n(()=>[D(x(g.$t("general.edit")),1)]),_:1},8,["content-loading"])]),_:1},8,["to"])):h("",!0),$()?(a(),p(C,{key:1,position:"bottom-end","content-loading":e(l)},{activator:n(()=>[t(w,{class:"mr-3",variant:"primary","content-loading":e(l)},{default:n(()=>[D(x(g.$t("customers.new_transaction")),1)]),_:1},8,["content-loading"])]),default:n(()=>[e(s).hasAbilities(e(E).CREATE_ESTIMATE)?(a(),p(r,{key:0,to:`/admin/estimates/create?customer=${g.$route.params.id}`},{default:n(()=>[t(u,{class:""},{default:n(()=>[t(_,{name:"DocumentIcon",class:"mr-3 text-gray-600"}),D(" "+x(g.$t("estimates.new_estimate")),1)]),_:1})]),_:1},8,["to"])):h("",!0),e(s).hasAbilities(e(E).CREATE_INVOICE)?(a(),p(r,{key:1,to:`/admin/invoices/create?customer=${g.$route.params.id}`},{default:n(()=>[t(u,null,{default:n(()=>[t(_,{name:"DocumentTextIcon",class:"mr-3 text-gray-600"}),D(" "+x(g.$t("invoices.new_invoice")),1)]),_:1})]),_:1},8,["to"])):h("",!0),e(s).hasAbilities(e(E).CREATE_PAYMENT)?(a(),p(r,{key:2,to:`/admin/payments/create?customer=${g.$route.params.id}`},{default:n(()=>[t(u,null,{default:n(()=>[t(_,{name:"CreditCardIcon",class:"mr-3 text-gray-600"}),D(" "+x(g.$t("payments.new_payment")),1)]),_:1})]),_:1},8,["to"])):h("",!0),e(s).hasAbilities(e(E).CREATE_EXPENSE)?(a(),p(r,{key:3,to:`/admin/expenses/create?customer=${g.$route.params.id}`},{default:n(()=>[t(u,null,{default:n(()=>[t(_,{name:"CalculatorIcon",class:"mr-3 text-gray-600"}),D(" "+x(g.$t("expenses.new_expense")),1)]),_:1})]),_:1},8,["to"])):h("",!0)]),_:1},8,["content-loading"])):h("",!0),v()?(a(),p(oe,{key:2,class:H({"ml-3":e(l)}),row:e(y).selectedViewCustomer,"load-data":I},null,8,["class","row"])):h("",!0)]),_:1},8,["title"]),t(he),t(tt)]),_:1})}}};export{rt as default}; +import{u as M,g as O,i as V,j as R,l as J,k as T,r as d,o as a,c as B,t as o,b as t,w as n,y as e,x,s as p,F as U,H as z,A as h,z as H,v as D,am as Y,D as K,a0 as Q,C as W}from"./vendor.e9042f2c.js";import{k as L,_ as Z,c as ee,i as te,d as se,e as E}from"./main.f55cd568.js";import{L as ae}from"./LoadingIcon.edb4fe20.js";import{_ as ne}from"./LineChart.b8a2f8c7.js";import{_ as oe}from"./CustomerIndexDropdown.37892b71.js";const le={class:"fixed top-0 left-0 hidden h-full pt-16 pb-4 ml-56 bg-white xl:ml-64 w-88 xl:block"},re={class:"flex items-center justify-between px-4 pt-8 pb-2 border border-gray-200 border-solid height-full"},ce={class:"flex mb-6 ml-3",role:"group","aria-label":"First group"},ie={class:"px-4 py-3 pb-2 mb-2 text-sm border-b border-gray-200 border-solid"},de={class:"px-2"},ue={class:"px-2"},me={class:"h-full pb-32 overflow-y-scroll border-l border-gray-200 border-solid sidebar base-scroll"},_e={class:"flex-1 font-bold text-right whitespace-nowrap"},pe={class:"flex justify-center p-4 items-center"},fe={key:0,class:"flex justify-center px-4 mt-5 text-sm text-gray-600"},he={setup(j){const y=L(),s=M(),{t:m}=O();let c=V(!1),i=V(!1),l=R({orderBy:"",orderByField:"",searchText:""});f=J.exports.debounce(f,500);const $=T(()=>l.orderBy==="asc"||l.orderBy==null);T(()=>$.value?m("general.ascending"):m("general.descending"));function v(r){return s.params.id==r}async function I(){i.value=!0,await y.fetchCustomers({limit:"all"}),i.value=!1,setTimeout(()=>{g()},500)}function g(){const r=document.getElementById(`customer-${s.params.id}`);r&&(r.scrollIntoView({behavior:"smooth"}),r.classList.add("shake"))}async function f(){let r={};l.searchText!==""&&l.searchText!==null&&l.searchText!==void 0&&(r.display_name=l.searchText),l.orderBy!==null&&l.orderBy!==void 0&&(r.orderBy=l.orderBy),l.orderByField!==null&&l.orderByField!==void 0&&(r.orderByField=l.orderByField),c.value=!0;try{let _=await y.fetchCustomers(r);c.value=!1,_.data&&(y.customers=_.data.data)}catch{c.value=!1}}function w(){return l.orderBy==="asc"?(l.orderBy="desc",f(),!0):(l.orderBy="asc",f(),!0)}return I(),(r,_)=>{const u=d("BaseIcon"),C=d("BaseInput"),k=d("BaseButton"),S=d("BaseRadio"),A=d("BaseInputGroup"),F=d("BaseDropdownItem"),P=d("BaseDropdown"),N=d("BaseText"),G=d("BaseFormatMoney"),X=d("router-link");return a(),B("div",le,[o("div",re,[t(C,{modelValue:e(l).searchText,"onUpdate:modelValue":_[0]||(_[0]=b=>e(l).searchText=b),placeholder:r.$t("general.search"),"container-class":"mb-6",type:"text",variant:"gray",onInput:_[1]||(_[1]=b=>f())},{default:n(()=>[t(u,{name:"SearchIcon",class:"text-gray-500"})]),_:1},8,["modelValue","placeholder"]),o("div",ce,[t(P,{"close-on-select":!1,position:"bottom-start","width-class":"w-40","position-class":"left-0"},{activator:n(()=>[t(k,{variant:"gray"},{default:n(()=>[t(u,{name:"FilterIcon"})]),_:1})]),default:n(()=>[o("div",ie,x(r.$t("general.sort_by")),1),o("div",de,[t(F,{class:"flex px-1 py-2 mt-1 cursor-pointer hover:rounded-md"},{default:n(()=>[t(A,{class:"pt-2 -mt-4"},{default:n(()=>[t(S,{id:"filter_create_date",modelValue:e(l).orderByField,"onUpdate:modelValue":[_[2]||(_[2]=b=>e(l).orderByField=b),f],label:r.$t("customers.create_date"),size:"sm",name:"filter",value:"invoices.created_at"},null,8,["modelValue","label"])]),_:1})]),_:1})]),o("div",ue,[t(F,{class:"flex px-1 cursor-pointer hover:rounded-md"},{default:n(()=>[t(A,{class:"pt-2 -mt-4"},{default:n(()=>[t(S,{id:"filter_display_name",modelValue:e(l).orderByField,"onUpdate:modelValue":[_[3]||(_[3]=b=>e(l).orderByField=b),f],label:r.$t("customers.display_name"),size:"sm",name:"filter",value:"name"},null,8,["modelValue","label"])]),_:1})]),_:1})])]),_:1}),t(k,{class:"ml-1",size:"md",variant:"gray",onClick:w},{default:n(()=>[e($)?(a(),p(u,{key:0,name:"SortAscendingIcon"})):(a(),p(u,{key:1,name:"SortDescendingIcon"}))]),_:1})])]),o("div",me,[(a(!0),B(U,null,z(e(y).customers,(b,q)=>(a(),B("div",{key:q},[b&&!e(i)?(a(),p(X,{key:0,id:"customer-"+b.id,to:`/admin/customers/${b.id}/view`,class:H(["flex justify-between p-4 items-center cursor-pointer hover:bg-gray-100 border-l-4 border-transparent",{"bg-gray-100 border-l-4 border-primary-500 border-solid":v(b.id)}]),style:{"border-top":"1px solid rgba(185, 193, 209, 0.41)"}},{default:n(()=>[o("div",null,[t(N,{text:b.name,length:30,class:"pr-2 text-sm not-italic font-normal leading-5 text-black capitalize truncate"},null,8,["text"]),b.contact_name?(a(),p(N,{key:0,text:b.contact_name,length:30,class:"mt-1 text-xs not-italic font-medium leading-5 text-gray-600"},null,8,["text"])):h("",!0)]),o("div",_e,[t(G,{amount:b.due_amount,currency:b.currency},null,8,["amount","currency"])])]),_:2},1032,["id","to","class"])):h("",!0)]))),128)),o("div",pe,[e(i)?(a(),p(ae,{key:0,class:"h-6 m-1 animate-spin text-primary-400"})):h("",!0)]),!e(y).customers.length&&!e(i)?(a(),B("p",fe,x(r.$t("customers.no_matching_customers")),1)):h("",!0)])])}}},ye={class:"pt-6 mt-5 border-t border-solid lg:pt-8 md:pt-4 border-gray-200"},ge={key:0,class:"text-sm font-bold leading-5 text-black non-italic"},xe={key:0},be={key:1},ve={key:1,class:"text-sm font-bold leading-5 text-black non-italic"},Be={setup(j){const y=L(),s=T(()=>y.selectedViewCustomer),m=T(()=>y.isFetchingViewData),c=T(()=>{var i,l;return((i=s==null?void 0:s.value)==null?void 0:i.fields)?(l=s==null?void 0:s.value)==null?void 0:l.fields:[]});return(i,l)=>{const $=d("BaseHeading"),v=d("BaseDescriptionListItem"),I=d("BaseDescriptionList"),g=d("BaseCustomerAddressDisplay");return a(),B("div",ye,[t($,null,{default:n(()=>[D(x(i.$t("customers.basic_info")),1)]),_:1}),t(I,null,{default:n(()=>{var f,w,r;return[t(v,{"content-loading":e(m),label:i.$t("customers.display_name"),value:(f=e(s))==null?void 0:f.name},null,8,["content-loading","label","value"]),t(v,{"content-loading":e(m),label:i.$t("customers.primary_contact_name"),value:(w=e(s))==null?void 0:w.contact_name},null,8,["content-loading","label","value"]),t(v,{"content-loading":e(m),label:i.$t("customers.email"),value:(r=e(s))==null?void 0:r.email},null,8,["content-loading","label","value"])]}),_:1}),t(I,{class:"mt-5"},{default:n(()=>{var f,w,r,_,u,C,k;return[t(v,{"content-loading":e(m),label:i.$t("wizard.currency"),value:((f=e(s))==null?void 0:f.currency)?`${(r=(w=e(s))==null?void 0:w.currency)==null?void 0:r.code} (${(u=(_=e(s))==null?void 0:_.currency)==null?void 0:u.symbol})`:""},null,8,["content-loading","label","value"]),t(v,{"content-loading":e(m),label:i.$t("customers.phone_number"),value:(C=e(s))==null?void 0:C.phone},null,8,["content-loading","label","value"]),t(v,{"content-loading":e(m),label:i.$t("customers.website"),value:(k=e(s))==null?void 0:k.website},null,8,["content-loading","label","value"])]}),_:1}),e(s).billing||e(s).shipping?(a(),p($,{key:0,class:"mt-8"},{default:n(()=>[D(x(i.$t("customers.address")),1)]),_:1})):h("",!0),t(I,{class:"mt-5"},{default:n(()=>[e(s).billing?(a(),p(v,{key:0,"content-loading":e(m),label:i.$t("customers.billing_address")},{default:n(()=>[t(g,{address:e(s).billing},null,8,["address"])]),_:1},8,["content-loading","label"])):h("",!0),e(s).shipping?(a(),p(v,{key:1,"content-loading":e(m),label:i.$t("customers.shipping_address")},{default:n(()=>[t(g,{address:e(s).shipping},null,8,["address"])]),_:1},8,["content-loading","label"])):h("",!0)]),_:1}),e(c).length>0?(a(),p($,{key:1,class:"mt-8"},{default:n(()=>[D(x(i.$t("settings.custom_fields.title")),1)]),_:1})):h("",!0),t(I,{class:"mt-5"},{default:n(()=>[(a(!0),B(U,null,z(e(c),(f,w)=>(a(),p(v,{key:w,"content-loading":e(m),label:f.custom_field.label},{default:n(()=>[f.type==="Switch"?(a(),B("p",ge,[f.default_answer===1?(a(),B("span",xe," Yes ")):(a(),B("span",be," No "))])):(a(),B("p",ve,x(f.default_answer),1))]),_:2},1032,["content-loading","label"]))),128))]),_:1})])}}},$e={},we={class:"col-span-12 xl:col-span-9 xxl:col-span-10"},Ce={class:"flex justify-between mt-1 mb-6"},ke={class:"grid col-span-12 mt-6 text-center xl:mt-0 sm:grid-cols-4 xl:text-right xl:col-span-3 xl:grid-cols-1 xxl:col-span-2"},Te={class:"flex flex-col items-center justify-center px-6 py-2 lg:justify-end lg:items-end"},Ee={class:"flex flex-col items-center justify-center px-6 py-2 lg:justify-end lg:items-end"},Ie={class:"flex flex-col items-center justify-center px-6 py-2 lg:justify-end lg:items-end"},De={class:"flex flex-col items-center justify-center px-6 py-2 lg:justify-end lg:items-end"};function Ae(j,y){const s=d("BaseContentPlaceholdersText"),m=d("BaseContentPlaceholdersBox"),c=d("BaseContentPlaceholders");return a(),p(c,{class:"grid grid-cols-12"},{default:n(()=>[o("div",we,[o("div",Ce,[t(s,{class:"h-10 w-36",lines:1}),t(s,{class:"h-10 w-40 !mt-0",lines:1})]),t(m,{class:"h-80 xl:h-72 sm:w-full"})]),o("div",ke,[o("div",Te,[t(s,{class:"h-3 w-14 xl:h-4",lines:1}),t(s,{class:"w-20 h-5 xl:h-6",lines:1})]),o("div",Ee,[t(s,{class:"h-3 w-14 xl:h-4",lines:1}),t(s,{class:"w-20 h-5 xl:h-6",lines:1})]),o("div",Ie,[t(s,{class:"h-3 w-14 xl:h-4",lines:1}),t(s,{class:"w-20 h-5 xl:h-6",lines:1})]),o("div",De,[t(s,{class:"h-3 w-14 xl:h-4",lines:1}),t(s,{class:"w-20 h-5 xl:h-6",lines:1})])])]),_:1})}var Se=Z($e,[["render",Ae]]);const Ve={key:1,class:"grid grid-cols-12"},je={class:"col-span-12 xl:col-span-9 xxl:col-span-10"},Fe={class:"flex justify-between mt-1 mb-6"},Pe={class:"flex items-center"},Re={class:"w-40 h-10"},Le={class:"grid col-span-12 mt-6 text-center xl:mt-0 sm:grid-cols-4 xl:text-right xl:col-span-3 xl:grid-cols-1 xxl:col-span-2"},Me={class:"px-6 py-2"},Ne={class:"text-xs leading-5 lg:text-sm"},Oe=o("br",null,null,-1),Ue={key:0,class:"block mt-1 text-xl font-semibold leading-8"},ze={class:"px-6 py-2"},He={class:"text-xs leading-5 lg:text-sm"},Ye=o("br",null,null,-1),Ge={key:0,class:"block mt-1 text-xl font-semibold leading-8",style:{color:"#00c99c"}},Xe={class:"px-6 py-2"},qe={class:"text-xs leading-5 lg:text-sm"},Je=o("br",null,null,-1),Ke={key:0,class:"block mt-1 text-xl font-semibold leading-8",style:{color:"#fb7178"}},Qe={class:"px-6 py-2"},We={class:"text-xs leading-5 lg:text-sm"},Ze=o("br",null,null,-1),et={key:0,class:"block mt-1 text-xl font-semibold leading-8",style:{color:"#5851d8"}},tt={setup(j){ee();const y=L();Y("utils");const s=M();let m=V(!1),c=R({}),i=R({}),l=R(["This year","Previous year"]),$=V("This year");const v=T(()=>c.expenseTotals?c.expenseTotals:[]),I=T(()=>c.netProfits?c.netProfits:[]),g=T(()=>c&&c.months?c.months:[]),f=T(()=>c.receiptTotals?c.receiptTotals:[]),w=T(()=>c.invoiceTotals?c.invoiceTotals:[]);K(s,()=>{s.params.id&&r(),$.value="This year"},{immediate:!0});async function r(){m.value=!1;let u=await y.fetchViewCustomer({id:s.params.id});u.data&&(Object.assign(c,u.data.meta.chartData),Object.assign(i,u.data.data)),m.value=!0}async function _(u){let C={id:s.params.id};u==="Previous year"?C.previous_year=!0:C.this_year=!0;let k=await y.fetchViewCustomer(C);return k.data.meta.chartData&&Object.assign(c,k.data.meta.chartData),!0}return(u,C)=>{const k=d("BaseIcon"),S=d("BaseMultiselect"),A=d("BaseFormatMoney"),F=d("BaseCard");return a(),p(F,{class:"flex flex-col mt-6"},{default:n(()=>[e(y).isFetchingViewData?(a(),p(Se,{key:0})):(a(),B("div",Ve,[o("div",je,[o("div",Fe,[o("h6",Pe,[t(k,{name:"ChartSquareBarIcon",class:"h-5 text-primary-400"}),D(" "+x(u.$t("dashboard.monthly_chart.title")),1)]),o("div",Re,[t(S,{modelValue:e($),"onUpdate:modelValue":C[0]||(C[0]=P=>Q($)?$.value=P:$=P),options:e(l),"allow-empty":!1,"show-labels":!1,placeholder:u.$t("dashboard.select_year"),"can-deselect":!1,onSelect:_},null,8,["modelValue","options","placeholder"])])]),e(m)?(a(),p(ne,{key:0,invoices:e(w),expenses:e(v),receipts:e(f),income:e(I),labels:e(g),class:"sm:w-full"},null,8,["invoices","expenses","receipts","income","labels"])):h("",!0)]),o("div",Le,[o("div",Me,[o("span",Ne,x(u.$t("dashboard.chart_info.total_sales")),1),Oe,e(m)?(a(),B("span",Ue,[t(A,{amount:e(c).salesTotal,currency:e(i).currency},null,8,["amount","currency"])])):h("",!0)]),o("div",ze,[o("span",He,x(u.$t("dashboard.chart_info.total_receipts")),1),Ye,e(m)?(a(),B("span",Ge,[t(A,{amount:e(c).totalExpenses,currency:e(i).currency},null,8,["amount","currency"])])):h("",!0)]),o("div",Xe,[o("span",qe,x(u.$t("dashboard.chart_info.total_expense")),1),Je,e(m)?(a(),B("span",Ke,[t(A,{amount:e(c).totalExpenses,currency:e(i).currency},null,8,["amount","currency"])])):h("",!0)]),o("div",Qe,[o("span",We,x(u.$t("dashboard.chart_info.net_income")),1),Ze,e(m)?(a(),B("span",et,[t(A,{amount:e(c).netProfit,currency:e(i).currency},null,8,["amount","currency"])])):h("",!0)])])])),t(Be)]),_:1})}}},rt={setup(j){Y("utils"),te();const y=L(),s=se();O();const m=W(),c=M();V(null);const i=T(()=>y.selectedViewCustomer.customer?y.selectedViewCustomer.customer.name:"");let l=T(()=>y.isFetchingViewData);function $(){return s.hasAbilities([E.CREATE_ESTIMATE,E.CREATE_INVOICE,E.CREATE_PAYMENT,E.CREATE_EXPENSE])}function v(){return s.hasAbilities([E.DELETE_CUSTOMER,E.EDIT_CUSTOMER])}function I(){m.push("/admin/customers")}return(g,f)=>{const w=d("BaseButton"),r=d("router-link"),_=d("BaseIcon"),u=d("BaseDropdownItem"),C=d("BaseDropdown"),k=d("BasePageHeader"),S=d("BasePage");return a(),p(S,{class:"xl:pl-96"},{default:n(()=>[t(k,{title:e(i)},{actions:n(()=>[e(s).hasAbilities(e(E).EDIT_CUSTOMER)?(a(),p(r,{key:0,to:`/admin/customers/${e(c).params.id}/edit`},{default:n(()=>[t(w,{class:"mr-3",variant:"primary-outline","content-loading":e(l)},{default:n(()=>[D(x(g.$t("general.edit")),1)]),_:1},8,["content-loading"])]),_:1},8,["to"])):h("",!0),$()?(a(),p(C,{key:1,position:"bottom-end","content-loading":e(l)},{activator:n(()=>[t(w,{class:"mr-3",variant:"primary","content-loading":e(l)},{default:n(()=>[D(x(g.$t("customers.new_transaction")),1)]),_:1},8,["content-loading"])]),default:n(()=>[e(s).hasAbilities(e(E).CREATE_ESTIMATE)?(a(),p(r,{key:0,to:`/admin/estimates/create?customer=${g.$route.params.id}`},{default:n(()=>[t(u,{class:""},{default:n(()=>[t(_,{name:"DocumentIcon",class:"mr-3 text-gray-600"}),D(" "+x(g.$t("estimates.new_estimate")),1)]),_:1})]),_:1},8,["to"])):h("",!0),e(s).hasAbilities(e(E).CREATE_INVOICE)?(a(),p(r,{key:1,to:`/admin/invoices/create?customer=${g.$route.params.id}`},{default:n(()=>[t(u,null,{default:n(()=>[t(_,{name:"DocumentTextIcon",class:"mr-3 text-gray-600"}),D(" "+x(g.$t("invoices.new_invoice")),1)]),_:1})]),_:1},8,["to"])):h("",!0),e(s).hasAbilities(e(E).CREATE_PAYMENT)?(a(),p(r,{key:2,to:`/admin/payments/create?customer=${g.$route.params.id}`},{default:n(()=>[t(u,null,{default:n(()=>[t(_,{name:"CreditCardIcon",class:"mr-3 text-gray-600"}),D(" "+x(g.$t("payments.new_payment")),1)]),_:1})]),_:1},8,["to"])):h("",!0),e(s).hasAbilities(e(E).CREATE_EXPENSE)?(a(),p(r,{key:3,to:`/admin/expenses/create?customer=${g.$route.params.id}`},{default:n(()=>[t(u,null,{default:n(()=>[t(_,{name:"CalculatorIcon",class:"mr-3 text-gray-600"}),D(" "+x(g.$t("expenses.new_expense")),1)]),_:1})]),_:1},8,["to"])):h("",!0)]),_:1},8,["content-loading"])):h("",!0),v()?(a(),p(oe,{key:2,class:H({"ml-3":e(l)}),row:e(y).selectedViewCustomer,"load-data":I},null,8,["class","row"])):h("",!0)]),_:1},8,["title"]),t(he),t(tt)]),_:1})}}};export{rt as default}; diff --git a/public/build/assets/main.c4ed6aa9.js b/public/build/assets/main.f55cd568.js similarity index 99% rename from public/build/assets/main.c4ed6aa9.js rename to public/build/assets/main.f55cd568.js index 13a883cde..c2374889b 100644 --- a/public/build/assets/main.c4ed6aa9.js +++ b/public/build/assets/main.f55cd568.js @@ -1,4 +1,4 @@ -var Mt=Object.defineProperty,Bt=Object.defineProperties;var Vt=Object.getOwnPropertyDescriptors;var tt=Object.getOwnPropertySymbols;var Ot=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable;var at=(i,r,o)=>r in i?Mt(i,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):i[r]=o,M=(i,r)=>{for(var o in r||(r={}))Ot.call(r,o)&&at(i,o,r[o]);if(tt)for(var o of tt(r))Lt.call(r,o)&&at(i,o,r[o]);return i},H=(i,r)=>Bt(i,Vt(r));import{a as f,r as S,o as c,c as p,b as m,F as Z,d as W,e as st,l as nt,f as ie,u as oe,G as X,h as ye,g as be,i as L,j as Te,k as N,m as Q,n as je,p as Be,q as Ve,s as $,w as v,t as l,v as A,x as w,y as d,z as C,A as P,B as se,C as Oe,D as fe,E as it,H as G,T as De,I as Le,J as ke,K as Ue,L as Ke,M as we,N as Ut,O as Kt,V as qt,P as Wt,Q as Zt,R as Ht,S as Gt,U as Yt,W as B,X as qe,Y as xe,Z as Ie,_ as Jt,$ as _e,a0 as re,a1 as Xt,a2 as Qt,a3 as ea,a4 as $e,a5 as ta,a6 as aa,a7 as sa,a8 as na,a9 as ia,aa as ot,ab as oa,ac as rt,ad as ra,ae as da,af as la,ag as ca,ah as _a,ai as ua,aj as ma,ak as pa,al as dt,am as ga,an as fa,ao as ha,ap as va,aq as ya,ar as ba,as as lt,at as ka,au as wa,av as xa,aw as za,ax as Sa,ay as Pa,az as ja,aA as We,aB as ct,aC as _t,aD as Da,aE as Ca,aF as Aa,aG as Na,aH as Ea,aI as Ta,aJ as Ze,aK as Ia,aL as $a,aM as Ra,aN as Fa,aO as Ma,aP as Ba}from"./vendor.e9042f2c.js";var ut={get(i){return localStorage.getItem(i)?localStorage.getItem(i):null},set(i,r){localStorage.setItem(i,r)},remove(i){localStorage.removeItem(i)}};window.Ls=ut;window.axios=f;f.defaults.withCredentials=!0;f.defaults.headers.common={"X-Requested-With":"XMLHttpRequest"};f.interceptors.request.use(function(i){const r=ut.get("selectedCompany");return r&&(i.headers.common.company=r),i});var ee=(i,r)=>{const o=i.__vccOpts||i;for(const[t,s]of r)o[t]=s;return o};const Va={};function Oa(i,r){const o=S("router-view"),t=S("BaseDialog");return c(),p(Z,null,[m(o),m(t)],64)}var La=ee(Va,[["render",Oa]]);const Ua={dashboard:"Dashboard",customers:"Customers",items:"Items",invoices:"Invoices","recurring-invoices":"Recurring Invoices",expenses:"Expenses",estimates:"Estimates",payments:"Payments",reports:"Reports",settings:"Settings",logout:"Logout",users:"Users"},Ka={add_company:"Add Company",view_pdf:"View PDF",copy_pdf_url:"Copy PDF Url",download_pdf:"Download PDF",save:"Save",create:"Create",cancel:"Cancel",update:"Update",deselect:"Deselect",download:"Download",from_date:"From Date",to_date:"To Date",from:"From",to:"To",ok:"Ok",yes:"Yes",no:"No",sort_by:"Sort By",ascending:"Ascending",descending:"Descending",subject:"Subject",body:"Body",message:"Message",send:"Send",preview:"Preview",go_back:"Go Back",back_to_login:"Back to Login?",home:"Home",filter:"Filter",delete:"Delete",edit:"Edit",view:"View",add_new_item:"Add New Item",clear_all:"Clear All",showing:"Showing",of:"of",actions:"Actions",subtotal:"SUBTOTAL",discount:"DISCOUNT",fixed:"Fixed",percentage:"Percentage",tax:"TAX",total_amount:"TOTAL AMOUNT",bill_to:"Bill to",ship_to:"Ship to",due:"Due",draft:"Draft",sent:"Sent",all:"All",select_all:"Select All",select_template:"Select Template",choose_file:"Click here to choose a file",choose_template:"Choose a template",choose:"Choose",remove:"Remove",select_a_status:"Select a status",select_a_tax:"Select a tax",search:"Search",are_you_sure:"Are you sure?",list_is_empty:"List is empty.",no_tax_found:"No tax found!",four_zero_four:"404",you_got_lost:"Whoops! You got Lost!",go_home:"Go Home",test_mail_conf:"Test Mail Configuration",send_mail_successfully:"Mail sent successfully",setting_updated:"Setting updated successfully",select_state:"Select state",select_country:"Select Country",select_city:"Select City",street_1:"Street 1",street_2:"Street 2",action_failed:"Action Failed",retry:"Retry",choose_note:"Choose Note",no_note_found:"No Note Found",insert_note:"Insert Note",copied_pdf_url_clipboard:"Copied PDF url to clipboard!",docs:"Docs",do_you_wish_to_continue:"Do you wish to continue?",note:"Note"},qa={select_year:"Select year",cards:{due_amount:"Amount Due",customers:"Customers",invoices:"Invoices",estimates:"Estimates"},chart_info:{total_sales:"Sales",total_receipts:"Receipts",total_expense:"Expenses",net_income:"Net Income",year:"Select year"},monthly_chart:{title:"Sales & Expenses"},recent_invoices_card:{title:"Due Invoices",due_on:"Due On",customer:"Customer",amount_due:"Amount Due",actions:"Actions",view_all:"View All"},recent_estimate_card:{title:"Recent Estimates",date:"Date",customer:"Customer",amount_due:"Amount Due",actions:"Actions",view_all:"View All"}},Wa={name:"Name",description:"Description",percent:"Percent",compound_tax:"Compound Tax"},Za={search:"Search...",customers:"Customers",users:"Users",no_results_found:"No Results Found"},Ha={label:"SWITCH COMPANY",no_results_found:"No Results Found",add_new_company:"Add new company",new_company:"New company",created_message:"Company created successfully"},Ga={today:"Today",this_week:"This Week",this_month:"This Month",this_quarter:"This Quarter",this_year:"This Year",previous_week:"Previous Week",previous_month:"Previous Month",previous_quarter:"Previous Quarter",previous_year:"Previous Year",custom:"Custom"},Ya={title:"Customers",prefix:"Prefix",add_customer:"Add Customer",contacts_list:"Customer List",name:"Name",mail:"Mail | Mails",statement:"Statement",display_name:"Display Name",primary_contact_name:"Primary Contact Name",contact_name:"Contact Name",amount_due:"Amount Due",email:"Email",address:"Address",phone:"Phone",website:"Website",overview:"Overview",invoice_prefix:"Invoice Prefix",estimate_prefix:"Estimate Prefix",payment_prefix:"Payment Prefix",enable_portal:"Enable Portal",country:"Country",state:"State",city:"City",zip_code:"Zip Code",added_on:"Added On",action:"Action",password:"Password",confirm_password:"Confirm Password",street_number:"Street Number",primary_currency:"Primary Currency",description:"Description",add_new_customer:"Add New Customer",save_customer:"Save Customer",update_customer:"Update Customer",customer:"Customer | Customers",new_customer:"New Customer",edit_customer:"Edit Customer",basic_info:"Basic Info",billing_address:"Billing Address",shipping_address:"Shipping Address",copy_billing_address:"Copy from Billing",no_customers:"No customers yet!",no_customers_found:"No customers found!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"This section will contain the list of customers.",primary_display_name:"Primary Display Name",select_currency:"Select currency",select_a_customer:"Select a customer",type_or_click:"Type or click to select",new_transaction:"New Transaction",no_matching_customers:"There are no matching customers!",phone_number:"Phone Number",create_date:"Create Date",confirm_delete:"You will not be able to recover this customer and all the related Invoices, Estimates and Payments. | You will not be able to recover these customers and all the related Invoices, Estimates and Payments.",created_message:"Customer created successfully",updated_message:"Customer updated successfully",deleted_message:"Customer deleted successfully | Customers deleted successfully",edit_currency_not_allowed:"Cannot change currency once transactions created."},Ja={title:"Items",items_list:"Items List",name:"Name",unit:"Unit",description:"Description",added_on:"Added On",price:"Price",date_of_creation:"Date Of Creation",not_selected:"No item selected",action:"Action",add_item:"Add Item",save_item:"Save Item",update_item:"Update Item",item:"Item | Items",add_new_item:"Add New Item",new_item:"New Item",edit_item:"Edit Item",no_items:"No items yet!",list_of_items:"This section will contain the list of items.",select_a_unit:"select unit",taxes:"Taxes",item_attached_message:"Cannot delete an item which is already in use",confirm_delete:"You will not be able to recover this Item | You will not be able to recover these Items",created_message:"Item created successfully",updated_message:"Item updated successfully",deleted_message:"Item deleted successfully | Items deleted successfully"},Xa={title:"Estimates",estimate:"Estimate | Estimates",estimates_list:"Estimates List",days:"{days} Days",months:"{months} Month",years:"{years} Year",all:"All",paid:"Paid",unpaid:"Unpaid",customer:"CUSTOMER",ref_no:"REF NO.",number:"NUMBER",amount_due:"AMOUNT DUE",partially_paid:"Partially Paid",total:"Total",discount:"Discount",sub_total:"Sub Total",estimate_number:"Estimate Number",ref_number:"Ref Number",contact:"Contact",add_item:"Add an Item",date:"Date",due_date:"Due Date",expiry_date:"Expiry Date",status:"Status",add_tax:"Add Tax",amount:"Amount",action:"Action",notes:"Notes",tax:"Tax",estimate_template:"Template",convert_to_invoice:"Convert to Invoice",mark_as_sent:"Mark as Sent",send_estimate:"Send Estimate",resend_estimate:"Resend Estimate",record_payment:"Record Payment",add_estimate:"Add Estimate",save_estimate:"Save Estimate",confirm_conversion:"This estimate will be used to create a new Invoice.",conversion_message:"Invoice created successful",confirm_send_estimate:"This estimate will be sent via email to the customer",confirm_mark_as_sent:"This estimate will be marked as sent",confirm_mark_as_accepted:"This estimate will be marked as Accepted",confirm_mark_as_rejected:"This estimate will be marked as Rejected",no_matching_estimates:"There are no matching estimates!",mark_as_sent_successfully:"Estimate marked as sent successfully",send_estimate_successfully:"Estimate sent successfully",errors:{required:"Field is required"},accepted:"Accepted",rejected:"Rejected",expired:"Expired",sent:"Sent",draft:"Draft",viewed:"Viewed",declined:"Declined",new_estimate:"New Estimate",add_new_estimate:"Add New Estimate",update_Estimate:"Update Estimate",edit_estimate:"Edit Estimate",items:"items",Estimate:"Estimate | Estimates",add_new_tax:"Add New Tax",no_estimates:"No estimates yet!",list_of_estimates:"This section will contain the list of estimates.",mark_as_rejected:"Mark as rejected",mark_as_accepted:"Mark as accepted",marked_as_accepted_message:"Estimate marked as accepted",marked_as_rejected_message:"Estimate marked as rejected",confirm_delete:"You will not be able to recover this Estimate | You will not be able to recover these Estimates",created_message:"Estimate created successfully",updated_message:"Estimate updated successfully",deleted_message:"Estimate deleted successfully | Estimates deleted successfully",something_went_wrong:"something went wrong",item:{title:"Item Title",description:"Description",quantity:"Quantity",price:"Price",discount:"Discount",total:"Total",total_discount:"Total Discount",sub_total:"Sub Total",tax:"Tax",amount:"Amount",select_an_item:"Type or click to select an item",type_item_description:"Type Item Description (optional)"}},Qa={title:"Invoices",invoices_list:"Invoices List",days:"{days} Days",months:"{months} Month",years:"{years} Year",all:"All",paid:"Paid",unpaid:"Unpaid",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"CUSTOMER",paid_status:"PAID STATUS",ref_no:"REF NO.",number:"NUMBER",amount_due:"AMOUNT DUE",partially_paid:"Partially Paid",total:"Total",discount:"Discount",sub_total:"Sub Total",invoice:"Invoice | Invoices",invoice_number:"Invoice Number",ref_number:"Ref Number",contact:"Contact",add_item:"Add an Item",date:"Date",due_date:"Due Date",status:"Status",add_tax:"Add Tax",amount:"Amount",action:"Action",notes:"Notes",view:"View",send_invoice:"Send Invoice",resend_invoice:"Resend Invoice",invoice_template:"Invoice Template",conversion_message:"Invoice cloned successful",template:"Select Template",mark_as_sent:"Mark as sent",confirm_send_invoice:"This invoice will be sent via email to the customer",invoice_mark_as_sent:"This invoice will be marked as sent",confirm_mark_as_accepted:"This invoice will be marked as Accepted",confirm_mark_as_rejected:"This invoice will be marked as Rejected",confirm_send:"This invoice will be sent via email to the customer",invoice_date:"Invoice Date",record_payment:"Record Payment",add_new_invoice:"Add New Invoice",update_expense:"Update Expense",edit_invoice:"Edit Invoice",new_invoice:"New Invoice",save_invoice:"Save Invoice",update_invoice:"Update Invoice",add_new_tax:"Add New Tax",no_invoices:"No Invoices yet!",mark_as_rejected:"Mark as rejected",mark_as_accepted:"Mark as accepted",list_of_invoices:"This section will contain the list of invoices.",select_invoice:"Select Invoice",no_matching_invoices:"There are no matching invoices!",mark_as_sent_successfully:"Invoice marked as sent successfully",invoice_sent_successfully:"Invoice sent successfully",cloned_successfully:"Invoice cloned successfully",clone_invoice:"Clone Invoice",confirm_clone:"This invoice will be cloned into a new Invoice",item:{title:"Item Title",description:"Description",quantity:"Quantity",price:"Price",discount:"Discount",total:"Total",total_discount:"Total Discount",sub_total:"Sub Total",tax:"Tax",amount:"Amount",select_an_item:"Type or click to select an item",type_item_description:"Type Item Description (optional)"},payment_attached_message:"One of the selected invoices already have a payment attached to it. Make sure to delete the attached payments first in order to go ahead with the removal",confirm_delete:"You will not be able to recover this Invoice | You will not be able to recover these Invoices",created_message:"Invoice created successfully",updated_message:"Invoice updated successfully",deleted_message:"Invoice deleted successfully | Invoices deleted successfully",marked_as_sent_message:"Invoice marked as sent successfully",something_went_wrong:"something went wrong",invalid_due_amount_message:"Total Invoice amount cannot be less than total paid amount for this Invoice. Please update the invoice or delete the associated payments to continue."},es={title:"Recurring Invoices",invoices_list:"Recurring Invoices List",days:"{days} Days",months:"{months} Month",years:"{years} Year",all:"All",paid:"Paid",unpaid:"Unpaid",viewed:"Viewed",overdue:"Overdue",active:"Active",completed:"Completed",customer:"CUSTOMER",paid_status:"PAID STATUS",ref_no:"REF NO.",number:"NUMBER",amount_due:"AMOUNT DUE",partially_paid:"Partially Paid",total:"Total",discount:"Discount",sub_total:"Sub Total",invoice:"Recurring Invoice | Recurring Invoices",invoice_number:"Recurring Invoice Number",next_invoice_date:"Next Invoice Date",ref_number:"Ref Number",contact:"Contact",add_item:"Add an Item",date:"Date",limit_by:"Limit by",limit_date:"Limit Date",limit_count:"Limit Count",count:"Count",status:"Status",select_a_status:"Select a status",working:"Working",on_hold:"On Hold",complete:"Completed",add_tax:"Add Tax",amount:"Amount",action:"Action",notes:"Notes",view:"View",basic_info:"Basic Info",send_invoice:"Send Recurring Invoice",auto_send:"Auto Send",resend_invoice:"Resend Recurring Invoice",invoice_template:"Recurring Invoice Template",conversion_message:"Recurring Invoice cloned successful",template:"Template",mark_as_sent:"Mark as sent",confirm_send_invoice:"This recurring invoice will be sent via email to the customer",invoice_mark_as_sent:"This recurring invoice will be marked as sent",confirm_send:"This recurring invoice will be sent via email to the customer",starts_at:"Start Date",due_date:"Invoice Due Date",record_payment:"Record Payment",add_new_invoice:"Add New Recurring Invoice",update_expense:"Update Expense",edit_invoice:"Edit Recurring Invoice",new_invoice:"New Recurring Invoice",send_automatically:"Send Automatically",send_automatically_desc:"Enable this, if you would like to send the invoice automatically to the customer when its created.",save_invoice:"Save Recurring Invoice",update_invoice:"Update Recurring Invoice",add_new_tax:"Add New Tax",no_invoices:"No Recurring Invoices yet!",mark_as_rejected:"Mark as rejected",mark_as_accepted:"Mark as accepted",list_of_invoices:"This section will contain the list of recurring invoices.",select_invoice:"Select Invoice",no_matching_invoices:"There are no matching recurring invoices!",mark_as_sent_successfully:"Recurring Invoice marked as sent successfully",invoice_sent_successfully:"Recurring Invoice sent successfully",cloned_successfully:"Recurring Invoice cloned successfully",clone_invoice:"Clone Recurring Invoice",confirm_clone:"This recurring invoice will be cloned into a new Recurring Invoice",item:{title:"Item Title",description:"Description",quantity:"Quantity",price:"Price",discount:"Discount",total:"Total",total_discount:"Total Discount",sub_total:"Sub Total",tax:"Tax",amount:"Amount",select_an_item:"Type or click to select an item",type_item_description:"Type Item Description (optional)"},frequency:{title:"Frequency",select_frequency:"Select Frequency",minute:"Minute",hour:"Hour",day_month:"Day of month",month:"Month",day_week:"Day of week"},confirm_delete:"You will not be able to recover this Invoice | You will not be able to recover these Invoices",created_message:"Recurring Invoice created successfully",updated_message:"Recurring Invoice updated successfully",deleted_message:"Recurring Invoice deleted successfully | Recurring Invoices deleted successfully",marked_as_sent_message:"Recurring Invoice marked as sent successfully",user_email_does_not_exist:"User email does not exist",something_went_wrong:"something went wrong",invalid_due_amount_message:"Total Recurring Invoice amount cannot be less than total paid amount for this Recurring Invoice. Please update the invoice or delete the associated payments to continue."},ts={title:"Payments",payments_list:"Payments List",record_payment:"Record Payment",customer:"Customer",date:"Date",amount:"Amount",action:"Action",payment_number:"Payment Number",payment_mode:"Payment Mode",invoice:"Invoice",note:"Note",add_payment:"Add Payment",new_payment:"New Payment",edit_payment:"Edit Payment",view_payment:"View Payment",add_new_payment:"Add New Payment",send_payment_receipt:"Send Payment Receipt",send_payment:"Send Payment",save_payment:"Save Payment",update_payment:"Update Payment",payment:"Payment | Payments",no_payments:"No payments yet!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"There are no matching payments!",list_of_payments:"This section will contain the list of payments.",select_payment_mode:"Select payment mode",confirm_mark_as_sent:"This estimate will be marked as sent",confirm_send_payment:"This payment will be sent via email to the customer",send_payment_successfully:"Payment sent successfully",something_went_wrong:"something went wrong",confirm_delete:"You will not be able to recover this Payment | You will not be able to recover these Payments",created_message:"Payment created successfully",updated_message:"Payment updated successfully",deleted_message:"Payment deleted successfully | Payments deleted successfully",invalid_amount_message:"Payment amount is invalid"},as={title:"Expenses",expenses_list:"Expenses List",select_a_customer:"Select a customer",expense_title:"Title",customer:"Customer",currency:"Currency",contact:"Contact",category:"Category",from_date:"From Date",to_date:"To Date",expense_date:"Date",description:"Description",receipt:"Receipt",amount:"Amount",action:"Action",not_selected:"Not selected",note:"Note",category_id:"Category Id",date:"Date",add_expense:"Add Expense",add_new_expense:"Add New Expense",save_expense:"Save Expense",update_expense:"Update Expense",download_receipt:"Download Receipt",edit_expense:"Edit Expense",new_expense:"New Expense",expense:"Expense | Expenses",no_expenses:"No expenses yet!",list_of_expenses:"This section will contain the list of expenses.",confirm_delete:"You will not be able to recover this Expense | You will not be able to recover these Expenses",created_message:"Expense created successfully",updated_message:"Expense updated successfully",deleted_message:"Expense deleted successfully | Expenses deleted successfully",categories:{categories_list:"Categories List",title:"Title",name:"Name",description:"Description",amount:"Amount",actions:"Actions",add_category:"Add Category",new_category:"New Category",category:"Category | Categories",select_a_category:"Select a category"}},ss={email:"Email",password:"Password",forgot_password:"Forgot Password?",or_signIn_with:"or Sign in with",login:"Login",register:"Register",reset_password:"Reset Password",password_reset_successfully:"Password Reset Successfully",enter_email:"Enter email",enter_password:"Enter Password",retype_password:"Retype Password"},ns={title:"Users",users_list:"Users List",name:"Name",description:"Description",added_on:"Added On",date_of_creation:"Date Of Creation",action:"Action",add_user:"Add User",save_user:"Save User",update_user:"Update User",user:"User | Users",add_new_user:"Add New User",new_user:"New User",edit_user:"Edit User",no_users:"No users yet!",list_of_users:"This section will contain the list of users.",email:"Email",phone:"Phone",password:"Password",user_attached_message:"Cannot delete an item which is already in use",confirm_delete:"You will not be able to recover this User | You will not be able to recover these Users",created_message:"User created successfully",updated_message:"User updated successfully",deleted_message:"User deleted successfully | Users deleted successfully",select_company_role:"Select Role for {company}",companies:"Companies"},is={title:"Report",from_date:"From Date",to_date:"To Date",status:"Status",paid:"Paid",unpaid:"Unpaid",download_pdf:"Download PDF",view_pdf:"View PDF",update_report:"Update Report",report:"Report | Reports",profit_loss:{profit_loss:"Profit & Loss",to_date:"To Date",from_date:"From Date",date_range:"Select Date Range"},sales:{sales:"Sales",date_range:"Select Date Range",to_date:"To Date",from_date:"From Date",report_type:"Report Type"},taxes:{taxes:"Taxes",to_date:"To Date",from_date:"From Date",date_range:"Select Date Range"},errors:{required:"Field is required"},invoices:{invoice:"Invoice",invoice_date:"Invoice Date",due_date:"Due Date",amount:"Amount",contact_name:"Contact Name",status:"Status"},estimates:{estimate:"Estimate",estimate_date:"Estimate Date",due_date:"Due Date",estimate_number:"Estimate Number",ref_number:"Ref Number",amount:"Amount",contact_name:"Contact Name",status:"Status"},expenses:{expenses:"Expenses",category:"Category",date:"Date",amount:"Amount",to_date:"To Date",from_date:"From Date",date_range:"Select Date Range"}},os={menu_title:{account_settings:"Account Settings",company_information:"Company Information",customization:"Customization",preferences:"Preferences",notifications:"Notifications",tax_types:"Tax Types",expense_category:"Expense Categories",update_app:"Update App",backup:"Backup",file_disk:"File Disk",custom_fields:"Custom Fields",payment_modes:"Payment Modes",notes:"Notes",exchange_rate:"Exchange Rate"},title:"Settings",setting:"Settings | Settings",general:"General",language:"Language",primary_currency:"Primary Currency",timezone:"Time Zone",date_format:"Date Format",currencies:{title:"Currencies",currency:"Currency | Currencies",currencies_list:"Currencies List",select_currency:"Select Currency",name:"Name",code:"Code",symbol:"Symbol",precision:"Precision",thousand_separator:"Thousand Separator",decimal_separator:"Decimal Separator",position:"Position",position_of_symbol:"Position Of Symbol",right:"Right",left:"Left",action:"Action",add_currency:"Add Currency"},mail:{host:"Mail Host",port:"Mail Port",driver:"Mail Driver",secret:"Secret",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domain",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"Mail Password",username:"Mail Username",mail_config:"Mail Configuration",from_name:"From Mail Name",from_mail:"From Mail Address",encryption:"Mail Encryption",mail_config_desc:"Below is the form for Configuring Email driver for sending emails from the app. You can also configure third party providers like Sendgrid, SES etc."},pdf:{title:"PDF Setting",footer_text:"Footer Text",pdf_layout:"PDF Layout"},company_info:{company_info:"Company info",company_name:"Company Name",company_logo:"Company Logo",section_description:"Information about your company that will be displayed on invoices, estimates and other documents created by Crater.",phone:"Phone",country:"Country",state:"State",city:"City",address:"Address",zip:"Zip",save:"Save",delete:"Delete",updated_message:"Company information updated successfully",delete_company:"Delete Company",delete_company_description:"Once you delete your company, you will lose all the data and files associated with it permanently.",are_you_absolutely_sure:"Are you absolutely sure?",delete_company_modal_desc:"This action cannot be undone. This will permanently delete {company} and all of its associated data.",delete_company_modal_label:"Please type {company} to confirm"},custom_fields:{title:"Custom Fields",section_description:"Customize your Invoices, Estimates & Payment Receipts with your own fields. Make sure to use the below added fields on the address formats on Customization settings page.",add_custom_field:"Add Custom Field",edit_custom_field:"Edit Custom Field",field_name:"Field Name",label:"Label",type:"Type",name:"Name",slug:"Slug",required:"Required",placeholder:"Placeholder",help_text:"Help Text",default_value:"Default Value",prefix:"Prefix",starting_number:"Starting Number",model:"Model",help_text_description:"Enter some text to help users understand the purpose of this custom field.",suffix:"Suffix",yes:"Yes",no:"No",order:"Order",custom_field_confirm_delete:"You will not be able to recover this Custom Field",already_in_use:"Custom Field is already in use",deleted_message:"Custom Field deleted successfully",options:"options",add_option:"Add Options",add_another_option:"Add another option",sort_in_alphabetical_order:"Sort in Alphabetical Order",add_options_in_bulk:"Add options in bulk",use_predefined_options:"Use Predefined Options",select_custom_date:"Select Custom Date",select_relative_date:"Select Relative Date",ticked_by_default:"Ticked by default",updated_message:"Custom Field updated successfully",added_message:"Custom Field added successfully",press_enter_to_add:"Press enter to add new option",model_in_use:"Cannot update model for fields which are already in use.",type_in_use:"Cannot update type for fields which are already in use."},customization:{customization:"customization",updated_message:"Company information updated successfully",save:"Save",insert_fields:"Insert Fields",learn_custom_format:"Learn how to use custom format",add_new_component:"Add New Component",component:"Component",Parameter:"Parameter",series:"Series",series_description:"To set a static prefix/postfix like 'INV' across your company. It supports character length of up to 4 chars.",series_param_label:"Series Value",delimiter:"Delimiter",delimiter_description:"Single character for specifying the boundary between 2 separate components. By default its set to -",delimiter_param_label:"Delimiter Value",date_format:"Date Format",date_format_description:"A local date and time field which accepts a format parameter. The default format: 'Y' renders the current year.",date_format_param_label:"Format",sequence:"Sequence",sequence_description:"Consecutive sequence of numbers across your company. You can specify the length on the given paramter.",sequence_param_label:"Sequence Length",customer_series:"Customer Series",customer_series_description:"To set a different prefix/postfix for each customer.",customer_sequence:"Customer Sequence",customer_sequence_description:"Consecutive sequence of numbers for each of your customer.",customer_sequence_param_label:"Sequence Length",random_sequence:"Random Sequence",random_sequence_description:"Random alphanumeric string. You can specify the length on the given paramter.",random_sequence_param_label:"Sequence Length",invoices:{title:"Invoices",invoice_number_format:"Invoice Number Format",invoice_number_format_description:"Customize how your invoice number gets generated automatically when you create a new invoice.",preview_invoice_number:"Preview Invoice Number",due_date:"Due Date",due_date_description:"Specify how due date is automatically set when you create an invoice.",due_date_days:"Invoice Due after days",set_due_date_automatically:"Set Due Date Automatically",set_due_date_automatically_description:"Enable this if you wish to set due date automatically when you create a new invoice.",default_formats:"Default Formats",default_formats_description:"Below given formats are used to fill up the fields automatically on invoice creation.",default_invoice_email_body:"Default Invoice Email Body",company_address_format:"Company Address Format",shipping_address_format:"Shipping Address Format",billing_address_format:"Billing Address Format",invoice_email_attachment:"Send invoices as attachments",invoice_email_attachment_setting_description:"Enable this if you want to send invoices as email attachment. Please note that 'View Invoice' button in emails will not be displayed anymore when enabled.",invoice_settings_updated:"Invoice Settings updated successfully",retrospective_edits:"Retrospective Edits",allow:"Allow",disable_on_invoice_partial_paid:"Disable after partial payment is recorded",disable_on_invoice_paid:"Disable after full payment is recorded",disable_on_invoice_sent:"Disable after invoice is sent",retrospective_edits_description:" Based on your country's laws or your preference, you can restrict users from editing finalised invoices."},estimates:{title:"Estimates",estimate_number_format:"Estimate Number Format",estimate_number_format_description:"Customize how your estimate number gets generated automatically when you create a new estimate.",preview_estimate_number:"Preview Estimate Number",expiry_date:"Expiry Date",expiry_date_description:"Specify how expiry date is automatically set when you create an estimate.",expiry_date_days:"Estimate Expires after days",set_expiry_date_automatically:"Set Expiry Date Automatically",set_expiry_date_automatically_description:"Enable this if you wish to set expiry date automatically when you create a new estimate.",default_formats:"Default Formats",default_formats_description:"Below given formats are used to fill up the fields automatically on estimate creation.",default_estimate_email_body:"Default Estimate Email Body",company_address_format:"Company Address Format",shipping_address_format:"Shipping Address Format",billing_address_format:"Billing Address Format",estimate_email_attachment:"Send estimates as attachments",estimate_email_attachment_setting_description:"Enable this if you want to send the estimates as an email attachment. Please note that 'View Estimate' button in emails will not be displayed anymore when enabled.",estimate_settings_updated:"Estimate Settings updated successfully",convert_estimate_options:"Estimate Convert Action",convert_estimate_description:"Specify what happens to the estimate after it gets converted to an invoice.",no_action:"No action",delete_estimate:"Delete estimate",mark_estimate_as_accepted:"Mark estimate as accepted"},payments:{title:"Payments",payment_number_format:"Payment Number Format",payment_number_format_description:"Customize how your payment number gets generated automatically when you create a new payment.",preview_payment_number:"Preview Payment Number",default_formats:"Default Formats",default_formats_description:"Below given formats are used to fill up the fields automatically on payment creation.",default_payment_email_body:"Default Payment Email Body",company_address_format:"Company Address Format",from_customer_address_format:"From Customer Address Format",payment_email_attachment:"Send payments as attachments",payment_email_attachment_setting_description:"Enable this if you want to send the payment receipts as an email attachment. Please note that 'View Payment' button in emails will not be displayed anymore when enabled.",payment_settings_updated:"Payment Settings updated successfully"},items:{title:"Items",units:"Units",add_item_unit:"Add Item Unit",edit_item_unit:"Edit Item Unit",unit_name:"Unit Name",item_unit_added:"Item Unit Added",item_unit_updated:"Item Unit Updated",item_unit_confirm_delete:"You will not be able to recover this Item unit",already_in_use:"Item Unit is already in use",deleted_message:"Item Unit deleted successfully"},notes:{title:"Notes",description:"Save time by creating notes and reusing them on your invoices, estimates & payments.",notes:"Notes",type:"Type",add_note:"Add Note",add_new_note:"Add New Note",name:"Name",edit_note:"Edit Note",note_added:"Note added successfully",note_updated:"Note Updated successfully",note_confirm_delete:"You will not be able to recover this Note",already_in_use:"Note is already in use",deleted_message:"Note deleted successfully"}},account_settings:{profile_picture:"Profile Picture",name:"Name",email:"Email",password:"Password",confirm_password:"Confirm Password",account_settings:"Account Settings",save:"Save",section_description:"You can update your name, email & password using the form below.",updated_message:"Account Settings updated successfully"},user_profile:{name:"Name",email:"Email",password:"Password",confirm_password:"Confirm Password"},notification:{title:"Notifications",email:"Send Notifications to",description:"Which email notifications would you like to receive when something changes?",invoice_viewed:"Invoice viewed",invoice_viewed_desc:"When your customer views the invoice sent via crater dashboard.",estimate_viewed:"Estimate viewed",estimate_viewed_desc:"When your customer views the estimate sent via crater dashboard.",save:"Save",email_save_message:"Email saved successfully",please_enter_email:"Please Enter Email"},roles:{title:"Roles",description:"Manage the roles & permissions of this company",save:"Save",add_new_role:"Add New Role",role_name:"Role Name",added_on:"Added on",add_role:"Add Role",edit_role:"Edit Role",name:"Name",permission:"Permission | Permissions",select_all:"Select All",none:"None",confirm_delete:"You will not be able to recover this Role",created_message:"Role created successfully",updated_message:"Role updated successfully",deleted_message:"Role deleted successfully",already_in_use:"Role is already in use"},exchange_rate:{exchange_rate:"Exchange Rate",title:"Fix Currency Exchange issues",description:"Please enter exchange rate of all the currencies mentioned below to help Crater properly calculate the amounts in {currency}.",drivers:"Drivers",new_driver:"Add New Provider",edit_driver:"Edit Provider",select_driver:"Select Driver",update:"select exchange rate ",providers_description:"Configure your exchange rate providers here to automatically fetch the latest exchange rate on transactions.",key:"API Key",name:"Name",driver:"Driver",is_default:"IS DEFAULT",currency:"Currencies",exchange_rate_confirm_delete:"You will not be able to recover this driver",created_message:"Provider Created successfully",updated_message:"Provider Updated Successfully",deleted_message:"Provider Deleted Successfully",error:" You cannot Delete Active Driver",default_currency_error:"This currency is already used in one of the Active Provider",exchange_help_text:"Enter exchange rate to convert from {currency} to {baseCurrency}",currency_freak:"Currency Freak",currency_layer:"Currency Layer",open_exchange_rate:"Open Exchange Rate",currency_converter:"Currency Converter",server:"Server",url:"URL",active:"Active",currency_help_text:"This provider will only be used on above selected currencies",currency_in_used:"The following currencies are already active on another provider. Please remove these currencies from selection to activate this provider again."},tax_types:{title:"Tax Types",add_tax:"Add Tax",edit_tax:"Edit Tax",description:"You can add or Remove Taxes as you please. Crater supports Taxes on Individual Items as well as on the invoice.",add_new_tax:"Add New Tax",tax_settings:"Tax Settings",tax_per_item:"Tax Per Item",tax_name:"Tax Name",compound_tax:"Compound Tax",percent:"Percent",action:"Action",tax_setting_description:"Enable this if you want to add taxes to individual invoice items. By default, taxes are added directly to the invoice.",created_message:"Tax type created successfully",updated_message:"Tax type updated successfully",deleted_message:"Tax type deleted successfully",confirm_delete:"You will not be able to recover this Tax Type",already_in_use:"Tax is already in use"},payment_modes:{title:"Payment Modes",description:"Modes of transaction for payments",add_payment_mode:"Add Payment Mode",edit_payment_mode:"Edit Payment Mode",mode_name:"Mode Name",payment_mode_added:"Payment Mode Added",payment_mode_updated:"Payment Mode Updated",payment_mode_confirm_delete:"You will not be able to recover this Payment Mode",already_in_use:"Payment Mode is already in use",deleted_message:"Payment Mode deleted successfully"},expense_category:{title:"Expense Categories",action:"Action",description:"Categories are required for adding expense entries. You can Add or Remove these categories according to your preference.",add_new_category:"Add New Category",add_category:"Add Category",edit_category:"Edit Category",category_name:"Category Name",category_description:"Description",created_message:"Expense Category created successfully",deleted_message:"Expense category deleted successfully",updated_message:"Expense category updated successfully",confirm_delete:"You will not be able to recover this Expense Category",already_in_use:"Category is already in use"},preferences:{currency:"Currency",default_language:"Default Language",time_zone:"Time Zone",fiscal_year:"Financial Year",date_format:"Date Format",discount_setting:"Discount Setting",discount_per_item:"Discount Per Item ",discount_setting_description:"Enable this if you want to add Discount to individual invoice items. By default, Discount is added directly to the invoice.",save:"Save",preference:"Preference | Preferences",general_settings:"Default preferences for the system.",updated_message:"Preferences updated successfully",select_language:"Select Language",select_time_zone:"Select Time Zone",select_date_format:"Select Date Format",select_financial_year:"Select Financial Year",recurring_invoice_status:"Recurring Invoice Status",create_status:"Create Status",active:"Active",on_hold:"On Hold",update_status:"Update Status",completed:"Completed",company_currency_unchangeable:"Company currency cannot be changed"},update_app:{title:"Update App",description:"You can easily update Crater by checking for a new update by clicking the button below",check_update:"Check for updates",avail_update:"New Update available",next_version:"Next version",requirements:"Requirements",update:"Update Now",update_progress:"Update in progress...",progress_text:"It will just take a few minutes. Please do not refresh the screen or close the window before the update finishes",update_success:"App has been updated! Please wait while your browser window gets reloaded automatically.",latest_message:"No update available! You are on the latest version.",current_version:"Current Version",download_zip_file:"Download ZIP file",unzipping_package:"Unzipping Package",copying_files:"Copying Files",deleting_files:"Deleting Unused files",running_migrations:"Running Migrations",finishing_update:"Finishing Update",update_failed:"Update Failed",update_failed_text:"Sorry! Your update failed on : {step} step",update_warning:"All of the application files and default template files will be overwritten when you update the application using this utility. Please take a backup of your templates & database before updating."},backup:{title:"Backup | Backups",description:"The backup is a zipfile that contains all files in the directories you specify along with a dump of your database",new_backup:"Add New Backup",create_backup:"Create Backup",select_backup_type:"Select Backup Type",backup_confirm_delete:"You will not be able to recover this Backup",path:"path",new_disk:"New Disk",created_at:"created at",size:"size",dropbox:"dropbox",local:"local",healthy:"healthy",amount_of_backups:"amount of backups",newest_backups:"newest backups",used_storage:"used storage",select_disk:"Select Disk",action:"Action",deleted_message:"Backup deleted successfully",created_message:"Backup created successfully",invalid_disk_credentials:"Invalid credential of selected disk"},disk:{title:"File Disk | File Disks",description:"By default, Crater will use your local disk for saving backups, avatar and other image files. You can configure more than one disk drivers like DigitalOcean, S3 and Dropbox according to your preference.",created_at:"created at",dropbox:"dropbox",name:"Name",driver:"Driver",disk_type:"Type",disk_name:"Disk Name",new_disk:"Add New Disk",filesystem_driver:"Filesystem Driver",local_driver:"local Driver",local_root:"local Root",public_driver:"Public Driver",public_root:"Public Root",public_url:"Public URL",public_visibility:"Public Visibility",media_driver:"Media Driver",media_root:"Media Root",aws_driver:"AWS Driver",aws_key:"AWS Key",aws_secret:"AWS Secret",aws_region:"AWS Region",aws_bucket:"AWS Bucket",aws_root:"AWS Root",do_spaces_type:"Do Spaces type",do_spaces_key:"Do Spaces key",do_spaces_secret:"Do Spaces Secret",do_spaces_region:"Do Spaces Region",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces Endpoint",do_spaces_root:"Do Spaces Root",dropbox_type:"Dropbox Type",dropbox_token:"Dropbox Token",dropbox_key:"Dropbox Key",dropbox_secret:"Dropbox Secret",dropbox_app:"Dropbox App",dropbox_root:"Dropbox Root",default_driver:"Default Driver",is_default:"IS DEFAULT",set_default_disk:"Set Default Disk",set_default_disk_confirm:"This disk will be set as default and all the new PDFs will be saved on this disk",success_set_default_disk:"Disk set as default successfully",save_pdf_to_disk:"Save PDFs to Disk",disk_setting_description:" Enable this, if you wish to save a copy of each Invoice, Estimate & Payment Receipt PDF on your default disk automatically. Turning this option will decrease the load-time when viewing the PDFs.",select_disk:"Select Disk",disk_settings:"Disk Settings",confirm_delete:"Your existing files & folders in the specified disk will not be affected but your disk configuration will be deleted from Crater",action:"Action",edit_file_disk:"Edit File Disk",success_create:"Disk added successfully",success_update:"Disk updated successfully",error:"Disk addition failed",deleted_message:"File Disk deleted successfully",disk_variables_save_successfully:"Disk Configured Successfully",disk_variables_save_error:"Disk configuration failed.",invalid_disk_credentials:"Invalid credential of selected disk"}},rs={account_info:"Account Information",account_info_desc:"Below details will be used to create the main Administrator account. Also you can change the details anytime after logging in.",name:"Name",email:"Email",password:"Password",confirm_password:"Confirm Password",save_cont:"Save & Continue",company_info:"Company Information",company_info_desc:"This information will be displayed on invoices. Note that you can edit this later on settings page.",company_name:"Company Name",company_logo:"Company Logo",logo_preview:"Logo Preview",preferences:"Company Preferences",preferences_desc:"Specify the default preferences for this company.",currency_set_alert:"The company's currency cannot be changed later.",country:"Country",state:"State",city:"City",address:"Address",street:"Street1 | Street2",phone:"Phone",zip_code:"Zip Code",go_back:"Go Back",currency:"Currency",language:"Language",time_zone:"Time Zone",fiscal_year:"Financial Year",date_format:"Date Format",from_address:"From Address",username:"Username",next:"Next",continue:"Continue",skip:"Skip",database:{database:"Site URL & Database",connection:"Database Connection",host:"Database Host",port:"Database Port",password:"Database Password",app_url:"App URL",app_domain:"App Domain",username:"Database Username",db_name:"Database Name",db_path:"Database Path",desc:"Create a database on your server and set the credentials using the form below."},permissions:{permissions:"Permissions",permission_confirm_title:"Are you sure you want to continue?",permission_confirm_desc:"Folder permission check failed",permission_desc:"Below is the list of folder permissions which are required in order for the app to work. If the permission check fails, make sure to update your folder permissions."},verify_domain:{title:"Domain Verification",desc:"Crater uses Session based authentication which requires domain verification for security purposes. Please enter the domain on which you will be accessing your web application.",app_domain:"App Domain",verify_now:"Verify Now",success:"Domain Verify Successfully.",failed:"Domain verification failed. Please enter valid domain name.",verify_and_continue:"Verify And Continue"},mail:{host:"Mail Host",port:"Mail Port",driver:"Mail Driver",secret:"Secret",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domain",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"Mail Password",username:"Mail Username",mail_config:"Mail Configuration",from_name:"From Mail Name",from_mail:"From Mail Address",encryption:"Mail Encryption",mail_config_desc:"Below is the form for Configuring Email driver for sending emails from the app. You can also configure third party providers like Sendgrid, SES etc."},req:{system_req:"System Requirements",php_req_version:"Php (version {version} required)",check_req:"Check Requirements",system_req_desc:"Crater has a few server requirements. Make sure that your server has the required php version and all the extensions mentioned below."},errors:{migrate_failed:"Migrate Failed",database_variables_save_error:"Cannot write configuration to .env file. Please check its file permissions",mail_variables_save_error:"Email configuration failed.",connection_failed:"Database connection failed",database_should_be_empty:"Database should be empty"},success:{mail_variables_save_successfully:"Email configured successfully",database_variables_save_successfully:"Database configured successfully."}},ds={invalid_phone:"Invalid Phone Number",invalid_url:"Invalid url (ex: http://www.craterapp.com)",invalid_domain_url:"Invalid url (ex: craterapp.com)",required:"Field is required",email_incorrect:"Incorrect Email.",email_already_taken:"The email has already been taken.",email_does_not_exist:"User with given email doesn't exist",item_unit_already_taken:"This item unit name has already been taken",payment_mode_already_taken:"This payment mode name has already been taken",send_reset_link:"Send Reset Link",not_yet:"Not yet? Send it again",password_min_length:"Password must contain {count} characters",name_min_length:"Name must have at least {count} letters.",prefix_min_length:"Prefix must have at least {count} letters.",enter_valid_tax_rate:"Enter valid tax rate",numbers_only:"Numbers Only.",characters_only:"Characters Only.",password_incorrect:"Passwords must be identical",password_length:"Password must be {count} character long.",qty_must_greater_than_zero:"Quantity must be greater than zero.",price_greater_than_zero:"Price must be greater than zero.",payment_greater_than_zero:"Payment must be greater than zero.",payment_greater_than_due_amount:"Entered Payment is more than due amount of this invoice.",quantity_maxlength:"Quantity should not be greater than 20 digits.",price_maxlength:"Price should not be greater than 20 digits.",price_minvalue:"Price should be greater than 0.",amount_maxlength:"Amount should not be greater than 20 digits.",amount_minvalue:"Amount should be greater than 0.",discount_maxlength:"Discount should not be greater than max discount",description_maxlength:"Description should not be greater than 255 characters.",subject_maxlength:"Subject should not be greater than 100 characters.",message_maxlength:"Message should not be greater than 255 characters.",maximum_options_error:"Maximum of {max} options selected. First remove a selected option to select another.",notes_maxlength:"Notes should not be greater than 65,000 characters.",address_maxlength:"Address should not be greater than 255 characters.",ref_number_maxlength:"Ref Number should not be greater than 255 characters.",prefix_maxlength:"Prefix should not be greater than 5 characters.",something_went_wrong:"something went wrong",number_length_minvalue:"Number length should be greater than 0",at_least_one_ability:"Please select atleast one Permission.",valid_driver_key:"Please enter a valid {driver} key.",valid_exchange_rate:"Please enter a valid exchange rate.",company_name_not_same:"Company name must match with given name."},ls={starter_plan:"This feature is available on Starter plan and onwards!",invalid_provider_key:"Please Enter Valid Provider API Key.",estimate_number_used:"The estimate number has already been taken.",invoice_number_used:"The invoice number has already been taken.",payment_attached:"This invoice already has a payment attached to it. Make sure to delete the attached payments first in order to go ahead with the removal.",payment_number_used:"The payment number has already been taken.",name_already_taken:"The name has already been taken.",receipt_does_not_exist:"Receipt does not exist.",customer_cannot_be_changed_after_payment_is_added:"Customer cannot be change after payment is added",invalid_credentials:"Invalid Credentials.",not_allowed:"Not Allowed",login_invalid_credentials:"These credentials do not match our records.",enter_valid_cron_format:"Please enter a valid cron format",email_could_not_be_sent:"Email could not be sent to this email address."},cs="Estimate",_s="Estimate Number",us="Estimate Date",ms="Expiry date",ps="Invoice",gs="Invoice Number",fs="Invoice Date",hs="Due date",vs="Notes",ys="Items",bs="Quantity",ks="Price",ws="Discount",xs="Amount",zs="Subtotal",Ss="Total",Ps="Payment",js="PAYMENT RECEIPT",Ds="Payment Date",Cs="Payment Number",As="Payment Mode",Ns="Amount Received",Es="EXPENSES REPORT",Ts="TOTAL EXPENSE",Is="PROFIT & LOSS REPORT",$s="Sales Customer Report",Rs="Sales Item Report",Fs="Tax Summary Report",Ms="INCOME",Bs="NET PROFIT",Vs="Sales Report: By Customer",Os="TOTAL SALES",Ls="Sales Report: By Item",Us="TAX REPORT",Ks="TOTAL TAX",qs="Tax Types",Ws="Expenses",Zs="Bill to,",Hs="Ship to,",Gs="Received from:",Ys="Tax";var Js={navigation:Ua,general:Ka,dashboard:qa,tax_types:Wa,global_search:Za,company_switcher:Ha,dateRange:Ga,customers:Ya,items:Ja,estimates:Xa,invoices:Qa,recurring_invoices:es,payments:ts,expenses:as,login:ss,users:ns,reports:is,settings:os,wizard:rs,validation:ds,errors:ls,pdf_estimate_label:cs,pdf_estimate_number:_s,pdf_estimate_date:us,pdf_estimate_expire_date:ms,pdf_invoice_label:ps,pdf_invoice_number:gs,pdf_invoice_date:fs,pdf_invoice_due_date:hs,pdf_notes:vs,pdf_items_label:ys,pdf_quantity_label:bs,pdf_price_label:ks,pdf_discount_label:ws,pdf_amount_label:xs,pdf_subtotal:zs,pdf_total:Ss,pdf_payment_label:Ps,pdf_payment_receipt_label:js,pdf_payment_date:Ds,pdf_payment_number:Cs,pdf_payment_mode:As,pdf_payment_amount_received_label:Ns,pdf_expense_report_label:Es,pdf_total_expenses_label:Ts,pdf_profit_loss_label:Is,pdf_sales_customers_label:$s,pdf_sales_items_label:Rs,pdf_tax_summery_label:Fs,pdf_income_label:Ms,pdf_net_profit_label:Bs,pdf_customer_sales_report:Vs,pdf_total_sales_label:Os,pdf_item_sales_label:Ls,pdf_tax_report_label:Us,pdf_total_tax_label:Ks,pdf_tax_types_label:qs,pdf_expenses_label:Ws,pdf_bill_to:Zs,pdf_ship_to:Hs,pdf_received_from:Gs,pdf_tax_label:Ys};const Xs={dashboard:"Tableau de bord",customers:"Clients",items:"Articles",invoices:"Factures",expenses:"D\xE9penses",estimates:"Devis",payments:"Paiements",reports:"Rapports",settings:"Param\xE8tres",logout:"Se d\xE9connecter",users:"Utilisateurs"},Qs={add_company:"Ajouter une entreprise",view_pdf:"Voir PDF",copy_pdf_url:"Copier l'URL du PDF",download_pdf:"T\xE9l\xE9charger le PDF",save:"Sauvegarder",create:"Cr\xE9er",cancel:"Annuler",update:"Mise \xE0 jour",deselect:"Retirer",download:"T\xE9l\xE9charger",from_date:"A partir de la date",to_date:"\xC0 ce jour",from:"De",to:"\xC0",sort_by:"Trier par",ascending:"Ascendant",descending:"Descendant",subject:"mati\xE8re",body:"Corps du message",message:"Message",send:"Envoyer",go_back:"Retourner",back_to_login:"Retour \xE0 l'\xE9cran de connexion ?",home:"Accueil",filter:"Filtre",delete:"Effacer",edit:"Modifier",view:"Voir",add_new_item:"Ajoute un nouvel objet",clear_all:"Tout effacer",showing:"Montant",of:"de",actions:"Actions",subtotal:"SOUS-TOTAL",discount:"REMISE",fixed:"Fix\xE9e",percentage:"Pourcentage",tax:"IMP\xD4T",total_amount:"MONTANT TOTAL",bill_to:"facturer",ship_to:"Envoyez \xE0",due:"D\xFB",draft:"Brouillon",sent:"Envoy\xE9e",all:"Tout",select_all:"Tout s\xE9lectionner",choose_file:"Cliquez ici pour choisir un fichier",choose_template:"Choisissez un mod\xE8le",choose:"Choisir",remove:"Retirer",powered_by:"Propuls\xE9 par",bytefury:"Bytefury",select_a_status:"S\xE9lectionnez un statut",select_a_tax:"S\xE9lectionnez une taxe",search:"Rechercher",are_you_sure:"\xCAtes-vous s\xFBr ?",list_is_empty:"La liste est vide.",no_tax_found:"Aucune taxe trouv\xE9e !",four_zero_four:"404",you_got_lost:"Oups! Vous vous \xEAtes perdus!",go_home:"Retour \xE0 l'accueil",test_mail_conf:"Tester la configuration",send_mail_successfully:"Mail envoy\xE9 avec succ\xE8s",setting_updated:"Param\xE8tres mis \xE0 jour avec succ\xE8s",select_state:"S\xE9lectionnez l'\xE9tat",select_country:"Choisissez le pays",select_city:"S\xE9lectionnez une ville",street_1:"Rue 1",street_2:"Rue # 2",action_failed:"Action : \xE9chou\xE9",retry:"R\xE9essayez",choose_note:"Choisissez une note",no_note_found:"Aucune note trouv\xE9e",insert_note:"Ins\xE9rer une note"},en={select_year:"S\xE9lectionnez l'ann\xE9e",cards:{due_amount:"Montant d\xFB",customers:"Clients",invoices:"Factures",estimates:"Devis"},chart_info:{total_sales:"Ventes",total_receipts:"Re\xE7us",total_expense:"D\xE9penses",net_income:"Revenu net",year:"S\xE9lectionnez l'ann\xE9e"},monthly_chart:{title:"Recettes et d\xE9penses"},recent_invoices_card:{title:"Factures d\xFBes",due_on:"Due le",customer:"Client",amount_due:"Montant d\xFB",actions:"Actions",view_all:"Voir tout"},recent_estimate_card:{title:"Devis r\xE9cents",date:"Date",customer:"Client",amount_due:"Montant d\xFB",actions:"Actions",view_all:"Voir tout"}},tn={name:"Nom",description:"Description",percent:"Pourcent",compound_tax:"Taxe compos\xE9e"},an={search:"Rechercher...",customers:"Les clients",users:"Utilisateurs",no_results_found:"Aucun r\xE9sultat"},sn={title:"Clients",add_customer:"Ajouter un client",contacts_list:"Liste de clients",name:"Nom",mail:"Email | Emails",statement:"Statement",display_name:"Statut et Nom de la soci\xE9t\xE9",primary_contact_name:"Nom du contact principal",contact_name:"Nom du contact",amount_due:"Montant d\xFB",email:"Email",address:"Adresse",phone:"T\xE9l\xE9phone",website:"Site Internet",overview:"Aper\xE7u",enable_portal:"Activer le portail",country:"Pays",state:"\xC9tat",city:"Ville",zip_code:"Code postal",added_on:"Ajout\xE9 le",action:"action",password:"Mot de passe",street_number:"Num\xE9ro de rue",primary_currency:"Devise principale",description:"Description",add_new_customer:"Ajouter un nouveau client",save_customer:"Enregistrer le client",update_customer:"Mettre \xE0 jour le client",customer:"Client | Clients",new_customer:"Nouveau client",edit_customer:"Modifier le client",basic_info:"Informations de base",billing_address:"Adresse de facturation",shipping_address:"Adresse de livraison",copy_billing_address:"Copier depuis l'adresse de facturation",no_customers:"Vous n\u2019avez pas encore de clients !",no_customers_found:"Aucun client !",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"Cette section contiendra la liste des clients.",primary_display_name:"Nom d'affichage principal",select_currency:"S\xE9lectionnez la devise",select_a_customer:"S\xE9lectionnez un client",type_or_click:"Tapez ou cliquez pour s\xE9lectionner",new_transaction:"Nouvelle transaction",no_matching_customers:"Il n'y a aucun client correspondant !",phone_number:"Num\xE9ro de t\xE9l\xE9phone",create_date:"Date de cr\xE9ation",confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer ce client et les devis, factures et paiements associ\xE9s. | Vous ne serez pas en mesure de r\xE9cup\xE9rer ces clients et les devis, factures et paiements associ\xE9s.",created_message:"Client cr\xE9\xE9 avec succ\xE8s",updated_message:"Client mis \xE0 jour avec succ\xE8s",deleted_message:"Client supprim\xE9 avec succ\xE8s | Les clients supprim\xE9s avec succ\xE8s"},nn={title:"Articles",items_list:"Liste d'articles",name:"Nom",unit:"Unit\xE9",description:"Description",added_on:"Ajout\xE9 le",price:"Prix",date_of_creation:"Date de cr\xE9ation",not_selected:"No item selected",action:"action",add_item:"Ajouter un article",save_item:"Enregistrer l'article",update_item:"Mettre \xE0 jour l'article",item:"Article | Articles",add_new_item:"Ajoute un nouvel objet",new_item:"Nouvel article",edit_item:"Modifier larticle",no_items:"Aucun article !",list_of_items:"Cette section contiendra la liste des \xE9l\xE9ments.",select_a_unit:"S\xE9lectionnez l'unit\xE9",taxes:"Taxes",item_attached_message:"Impossible de supprimer un article d\xE9j\xE0 utilis\xE9",confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer cet article | Vous ne pourrez pas r\xE9cup\xE9rer ces objets",created_message:"Article cr\xE9\xE9 avec succ\xE8s",updated_message:"Article mis \xE0 jour avec succ\xE8s",deleted_message:"Article supprim\xE9 avec succ\xE8s | Articles supprim\xE9s avec succ\xE8s"},on={title:"Devis",estimate:"Devis | Devis",estimates_list:"Liste des devis",days:"jours jours",months:"mois mois",years:"ann\xE9es Ann\xE9e",all:"Tout",paid:"Pay\xE9",unpaid:"Non pay\xE9",customer:"Client",ref_no:"R\xE9f.",number:"N\xB0",amount_due:"MONTANT D\xDB",partially_paid:"Partiellement pay\xE9",total:"Total",discount:"Remise",sub_total:"Sous-total",estimate_number:"N\xB0",ref_number:"Num\xE9ro de r\xE9f\xE9rence",contact:"Contact",add_item:"Ajouter un article",date:"Date",due_date:"Date d'\xE9ch\xE9ance",expiry_date:"Date d'expiration",status:"Statut",add_tax:"Ajouter une taxe",amount:"Montant",action:"action",notes:"Remarques",tax:"Taxe",estimate_template:"Mod\xE8le de devis",convert_to_invoice:"Convertir en facture",mark_as_sent:"Marquer comme envoy\xE9",send_estimate:"Envoyer le devis",resend_estimate:"Renvoyer le devis",record_payment:"Enregistrer un paiement",add_estimate:"Ajouter un devis",save_estimate:"Sauvegarder le devis",confirm_conversion:"Vous souhaitez convertir ce devis en facture?",conversion_message:"Conversion r\xE9ussie",confirm_send_estimate:"Ce devis sera envoy\xE9e par courrier \xE9lectronique au client.",confirm_mark_as_sent:"Ce devis sera marqu\xE9 comme envoy\xE9",confirm_mark_as_accepted:"Ce devis sera marqu\xE9 comme accept\xE9",confirm_mark_as_rejected:"Ce devis sera marqu\xE9 comme rejet\xE9",no_matching_estimates:"Aucune estimation correspondante !",mark_as_sent_successfully:"Devis marqu\xE9e comme envoy\xE9e avec succ\xE8s",send_estimate_successfully:"Devis envoy\xE9 avec succ\xE8s",errors:{required:"Champ requis"},accepted:"Accept\xE9",rejected:"Rejected",sent:"Envoy\xE9",draft:"Brouillon",declined:"Refus\xE9",new_estimate:"Nouveau devis",add_new_estimate:"Ajouter un devis",update_Estimate:"Mise \xE0 jour du devis",edit_estimate:"Modifier le devis",items:"articles",Estimate:"Devis | Devis",add_new_tax:"Ajouter une taxe",no_estimates:"Aucune estimation pour le moment !",list_of_estimates:"Cette section contiendra la liste des devis.",mark_as_rejected:"Marquer comme rejet\xE9",mark_as_accepted:"Marquer comme accept\xE9",marked_as_accepted_message:"Devis marqu\xE9 comme accept\xE9",marked_as_rejected_message:"Devis marqu\xE9 comme rejet\xE9",confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer ce devis | Vous ne pourrez pas r\xE9cup\xE9rer ces devis",created_message:"Devis cr\xE9\xE9 avec succ\xE8s",updated_message:"Devis mise \xE0 jour avec succ\xE8s",deleted_message:"Devis supprim\xE9 | Devis supprim\xE9s",something_went_wrong:"quelque chose a mal tourn\xE9",item:{title:"Titre de l'article",description:"Description",quantity:"Quantit\xE9",price:"Prix",discount:"Remise",total:"Total",total_discount:"Remise totale",sub_total:"Sous-total",tax:"Taxe",amount:"Montant",select_an_item:"Tapez ou cliquez pour s\xE9lectionner un article",type_item_description:"Taper la description de l'article (facultatif)"}},rn={title:"Factures",invoices_list:"Liste des factures",days:"jours jours",months:"mois mois",years:"years ann\xE9es",all:"Toutes",paid:"Pay\xE9",unpaid:"Non pay\xE9",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"CLIENT",paid_status:"STATUT DU PAIEMENT",ref_no:"R\xE9f.",number:"N\xB0",amount_due:"MONTANT D\xDB",partially_paid:"Partiellement pay\xE9",total:"Total",discount:"Remise",sub_total:"Sous-total",invoice:"Facture | Factures",invoice_number:"Num\xE9ro de facture",ref_number:"Num\xE9ro de r\xE9f\xE9rence",contact:"Contact",add_item:"Ajouter un article",date:"Date",due_date:"Date d'\xE9ch\xE9ance",status:"Statut",add_tax:"Ajouter une taxe",amount:"Montant",action:"action",notes:"Remarques",view:"Voir",send_invoice:"Envoyer une facture",resend_invoice:"Renvoyer la facture",invoice_template:"Mod\xE8le de facture",template:"Mod\xE8le",mark_as_sent:"Marquer comme envoy\xE9e",confirm_send_invoice:"Cette facture sera envoy\xE9e par email au client",invoice_mark_as_sent:"Cette facture sera marqu\xE9e comme envoy\xE9",confirm_send:"Cette facture sera envoy\xE9e par courrier \xE9lectronique au client.",invoice_date:"Date de facturation",record_payment:"Enregistrer un paiement",add_new_invoice:"Ajouter une facture",update_expense:"Enregistrer la d\xE9pense",edit_invoice:"Modifier la facture",new_invoice:"Nouvelle facture",save_invoice:"Enregistrer la facture",update_invoice:"Mettre \xE0 jour la facture",add_new_tax:"Ajouter une taxe",no_invoices:"Aucune facture pour le moment !",list_of_invoices:"Cette section contiendra la liste des factures.",select_invoice:"S\xE9lectionnez facture",no_matching_invoices:"Aucune facture correspondante !",mark_as_sent_successfully:"Facture marqu\xE9e comme envoy\xE9e avec succ\xE8s",invoice_sent_successfully:"Facture envoy\xE9e avec succ\xE8s",cloned_successfully:"Facture clon\xE9e avec succ\xE8s",clone_invoice:"Dupliquer la facture",confirm_clone:"Cette facture sera dupliqu\xE9e dans une nouvelle facture",item:{title:"Titre de l'article",description:"Description",quantity:"Quantit\xE9",price:"Prix",discount:"Remise",total:"Total",total_discount:"Remise totale",sub_total:"Sous-total",tax:"Taxe",amount:"Montant",select_an_item:"Tapez ou cliquez pour s\xE9lectionner un \xE9l\xE9ment",type_item_description:"Tapez la description de l'article (facultatif)"},confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer cette facture | Vous ne pourrez pas r\xE9cup\xE9rer ces factures",created_message:"Facture cr\xE9\xE9e avec succ\xE8s",updated_message:"Facture mise \xE0 jour avec succ\xE8s",deleted_message:"La facture a \xE9t\xE9 supprim\xE9e | Les factures ont \xE9t\xE9 supprim\xE9es",marked_as_sent_message:"Facture supprim\xE9e avec succ\xE8s | Factures supprim\xE9es avec succ\xE8s",something_went_wrong:"quelque chose a mal tourn\xE9",invalid_due_amount_message:"Le paiement entr\xE9 est sup\xE9rieur au montant total d\xFB pour cette facture. Veuillez v\xE9rifier et r\xE9essayer"},dn={title:"Paiements",payments_list:"Liste de paiements",record_payment:"Enregistrer un paiement",customer:"Client",date:"Date",amount:"Montant",action:"action",payment_number:"N\xB0",payment_mode:"Mode de paiement",invoice:"Facture",note:"Remarque",add_payment:"Ajouter un paiement",new_payment:"Nouveau paiement",edit_payment:"Modifier le paiement",view_payment:"Voir le paiement",add_new_payment:"Ajouter un paiement",send_payment_receipt:"Envoyer le re\xE7u",send_payment:"Envoyer le paiement",save_payment:"Enregistrer le paiement",update_payment:"Mettre \xE0 jour le paiement",payment:"Paiement | Paiements",no_payments:"Aucun paiement pour le moment !",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"Il n'y a aucun paiement correspondant !",list_of_payments:"Cette section contiendra la liste des paiements",select_payment_mode:"S\xE9lectionnez le moyen de paiement",confirm_mark_as_sent:"Ce devis sera marqu\xE9 comme envoy\xE9",confirm_send_payment:"Ce paiement sera envoy\xE9 par email au client",send_payment_successfully:"Paiement envoy\xE9 avec succ\xE8s",something_went_wrong:"quelque chose a mal tourn\xE9",confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer ce paiement | Vous ne pourrez pas r\xE9cup\xE9rer ces paiements",created_message:"Paiement cr\xE9\xE9 avec succ\xE8s",updated_message:"Paiement mis \xE0 jour avec succ\xE8s",deleted_message:"Paiement supprim\xE9 avec succ\xE8s | Paiements supprim\xE9s avec succ\xE8s",invalid_amount_message:"Le montant du paiement est invalide"},ln={title:"D\xE9penses",expenses_list:"Liste des d\xE9penses",select_a_customer:"S\xE9lectionnez un client",expense_title:"Titre",customer:"Client",contact:"Contact",category:"Cat\xE9gorie",from_date:"A partir de la date",to_date:"\xC0 ce jour",expense_date:"Date",description:"Description",receipt:"Re\xE7u",amount:"Montant",action:"action",not_selected:"Not selected",note:"Remarque",category_id:"Identifiant de cat\xE9gorie",date:"Date",add_expense:"Ajouter une d\xE9pense",add_new_expense:"Ajouter une nouvelle d\xE9pense",save_expense:"Enregistrer la d\xE9pense",update_expense:"Mettre \xE0 jour la d\xE9pense",download_receipt:"T\xE9l\xE9charger le re\xE7u",edit_expense:"Modifier la d\xE9pense",new_expense:"Nouvelle d\xE9pense",expense:"D\xE9pense | D\xE9penses",no_expenses:"Pas de d\xE9penses pour le moment !",list_of_expenses:"Cette section contiendra la liste des d\xE9penses.",confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer cette d\xE9pense | Vous ne pourrez pas r\xE9cup\xE9rer ces d\xE9penses",created_message:"D\xE9pense cr\xE9\xE9e avec succ\xE8s",updated_message:"D\xE9pense mise \xE0 jour avec succ\xE8s",deleted_message:"D\xE9pense supprim\xE9e avec succ\xE8s | D\xE9penses supprim\xE9es avec succ\xE8s",categories:{categories_list:"Liste des cat\xE9gories",title:"Titre",name:"Nom",description:"Description",amount:"Montant",actions:"Actions",add_category:"Ajouter une cat\xE9gorie",new_category:"Nouvelle cat\xE9gorie",category:"Cat\xE9gorie | Cat\xE9gories",select_a_category:"Choisissez une cat\xE9gorie"}},cn={email:"Email",password:"Mot de passe",forgot_password:"Mot de passe oubli\xE9 ?",or_signIn_with:"ou connectez-vous avec",login:"S'identifier",register:"S'inscrire",reset_password:"R\xE9initialiser le mot de passe",password_reset_successfully:"R\xE9initialisation du mot de passe r\xE9ussie",enter_email:"Entrer l'email",enter_password:"Entrer le mot de passe",retype_password:"Retaper le mot de passe"},_n={title:"Utilisateurs",users_list:"Liste des utilisateurs",name:"Nom",description:"Description",added_on:"Ajout\xE9 le",date_of_creation:"Date de cr\xE9ation",action:"action",add_user:"Ajouter un utilisateur",save_user:"Enregistrer l'utilisateur",update_user:"Mettre \xE0 jour l'utilisateur",user:"Utilisateur | Utilisateurs",add_new_user:"Ajouter un nouvel utilisateur",new_user:"Nouvel utilisateur",edit_user:"Modifier l'utilisateur",no_users:"Pas encore d'utilisateurs !",list_of_users:"Cette section contiendra la liste des utilisateurs.",email:"Email",phone:"T\xE9l\xE9phone",password:"Mot de passe",user_attached_message:"Impossible de supprimer un \xE9l\xE9ment d\xE9j\xE0 utilis\xE9",confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer cet utilisateur | Vous ne pourrez pas r\xE9cup\xE9rer ces utilisateurs",created_message:"L'utilisateur a \xE9t\xE9 cr\xE9\xE9 avec succ\xE8s",updated_message:"L'utilisateur a bien \xE9t\xE9 mis \xE0 jour",deleted_message:"Utilisateur supprim\xE9 avec succ\xE8s | Utilisateur a bien \xE9t\xE9 supprim\xE9"},un={title:"Rapport",from_date:"\xC0 partir du",to_date:"Jusqu'au",status:"Statut",paid:"Pay\xE9",unpaid:"Non pay\xE9",download_pdf:"T\xE9l\xE9charger le PDF",view_pdf:"Voir le PDF",update_report:"Mettre \xE0 jour le rapport",report:"Rapport | Rapports",profit_loss:{profit_loss:"B\xE9n\xE9fices & Pertes",to_date:"Au",from_date:"Du",date_range:"S\xE9lectionner une plage de dates"},sales:{sales:"Ventes",date_range:"S\xE9lectionner une plage de dates",to_date:"\xC0 ce jour",from_date:"A partir de la date",report_type:"Type de rapport"},taxes:{taxes:"Les taxes",to_date:"\xC0 ce jour",from_date:"\xC0 partir du",date_range:"S\xE9lectionner une plage de dates"},errors:{required:"Champ requis"},invoices:{invoice:"Facture",invoice_date:"Date de facturation",due_date:"Date d\xE9ch\xE9ance",amount:"Montant ",contact_name:"Nom du contact",status:"Statut"},estimates:{estimate:"Devis",estimate_date:"Date du devis",due_date:"Date d'\xE9ch\xE9ance",estimate_number:"N\xB0",ref_number:"Num\xE9ro de r\xE9f\xE9rence",amount:"Montant",contact_name:"Nom du contact",status:"Statut"},expenses:{expenses:"D\xE9penses",category:"Cat\xE9gorie",date:"Date",amount:"Montant",to_date:"Jusqu'au",from_date:"\xC0 partir du",date_range:"S\xE9lectionner une plage de dates"}},mn={menu_title:{account_settings:"Param\xE8tres du compte",company_information:"Informations sur la soci\xE9t\xE9",customization:"Personnalisation",preferences:"Pr\xE9f\xE9rences",notifications:"Notifications",tax_types:"Types de taxe",expense_category:"Cat\xE9gories de d\xE9penses",update_app:"Mise \xE0 jour de l'application",backup:"Sauvegarde",file_disk:"Espace de stockage",custom_fields:"Champs personnalis\xE9s",payment_modes:"Moyens de paiement",notes:"Remarques"},title:"Param\xE8tres",setting:"Param\xE8tres | Param\xE8tres",general:"Param\xE8tres g\xE9n\xE9raux",language:"Langue",primary_currency:"Devise principale",timezone:"Fuseau horaire",date_format:"Format de date",currencies:{title:"Devises",currency:"Devise | Devises",currencies_list:"Liste des devises",select_currency:"S\xE9lectionnez la devise",name:"Nom",code:"Code\xA0",symbol:"Symbole",precision:"Pr\xE9cision",thousand_separator:"S\xE9parateur de milliers",decimal_separator:"S\xE9parateur d\xE9cimal",position:"Position",position_of_symbol:"Position du symbole",right:"Droite",left:"Gauche",action:"action",add_currency:"Ajouter une devise"},mail:{host:"Adresse du serveur",port:"Port",driver:"Pilote de courrier",secret:"Secret",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domaine",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"Mot de passe",username:"Nom d'utilisateur",mail_config:"Configuration des emails",from_name:"Nom de l'exp\xE9diteur",from_mail:"Email de l'exp\xE9diteur",encryption:"Chiffrement",mail_config_desc:"Vous pouvez modifier ci-dessous les param\xE8tres d'envoi des emails. Vous pourrez modifier \xE0 tout moment."},pdf:{title:"Param\xE8tre PDF",footer_text:"Pied de page",pdf_layout:"Mise en page PDF"},company_info:{company_info:"Information de l'entreprise",company_name:"Nom de l'entreprise",company_logo:"Logo de l'entreprise",section_description:"Informations sur votre entreprise qui figureront sur les factures, devis et autres documents cr\xE9\xE9s par Crater.",phone:"T\xE9l\xE9phone",country:"Pays",state:"\xC9tat",city:"Ville",address:"Adresse",zip:"Code postal",save:"Sauvegarder",updated_message:"Informations sur la soci\xE9t\xE9 mises \xE0 jour avec succ\xE8s"},custom_fields:{title:"Champs personnalis\xE9s",section_description:"Personnalisez vos factures, devis et re\xE7us de paiement avec vos propres champs. Assurez-vous d'utiliser les champs ajout\xE9s ci-dessous sur les formats d'adresse sur la page des param\xE8tres de personnalisation.",add_custom_field:"Ajouter un champ personnalis\xE9",edit_custom_field:"Modifier un champ personnalis\xE9",field_name:"Nom du champs",label:"\xC9tiquette",type:"Type\xA0",name:"Nom",required:"Obligatoire",placeholder:"Espace r\xE9serv\xE9",help_text:"Texte d'aide",default_value:"Valeur par d\xE9faut",prefix:"Pr\xE9fixe",starting_number:"Num\xE9ro de d\xE9part",model:"Mod\xE8le",help_text_description:"Saisissez du texte pour aider les utilisateurs \xE0 comprendre l'objectif de ce champ personnalis\xE9.",suffix:"Suffixe",yes:"Oui",no:"Non",order:"Ordre",custom_field_confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer ce champ personnalis\xE9",already_in_use:"Le champ personnalis\xE9 est d\xE9j\xE0 utilis\xE9",deleted_message:"Champ personnalis\xE9 supprim\xE9 avec succ\xE8s",options:"les options",add_option:"Ajouter des options",add_another_option:"Ajouter une autre option",sort_in_alphabetical_order:"Trier par ordre alphab\xE9tique",add_options_in_bulk:"Ajouter des options en masse",use_predefined_options:"Utiliser des options pr\xE9d\xE9finies",select_custom_date:"S\xE9lectionnez une date personnalis\xE9e",select_relative_date:"S\xE9lectionnez la date relative",ticked_by_default:"Coch\xE9 par d\xE9faut",updated_message:"Champ personnalis\xE9 mis \xE0 jour avec succ\xE8s",added_message:"Champ personnalis\xE9 ajout\xE9 avec succ\xE8s"},customization:{customization:"Personnalisation",save:"Sauvegarder",addresses:{title:"Adresses",section_description:"Vous pouvez d\xE9finir le format de l'adresse de facturation et de livraison du client (affich\xE9 en PDF uniquement). ",customer_billing_address:"Adresse de paiement",customer_shipping_address:"Adresse de livraison",company_address:"Adresse de l'entreprise",insert_fields:"Ajouter des champs",contact:"Contact",address:"Adresse",display_name:"Nom",primary_contact_name:"Nom du contact principal",email:"Email",website:"Site Internet",name:"Nom",country:"Pays",state:"Etat",city:"Ville",company_name:"Nom de l'entreprise",address_street_1:"Rue",address_street_2:"Compl\xE9ment",phone:"T\xE9l\xE9phone",zip_code:"Code postal",address_setting_updated:"Adresse mise \xE0 jour avec succ\xE8s"},updated_message:"Informations de l'entreprise mises \xE0 jour",invoices:{title:"Factures",notes:"Remarques",invoice_prefix:"Pr\xE9fixe",default_invoice_email_body:"Corps de l'e-mail de la facture par d\xE9faut",invoice_settings:"Param\xE8tres",autogenerate_invoice_number:"G\xE9n\xE9rer automatiquement le num\xE9ro de facture",autogenerate_invoice_number_desc:"D\xE9sactivez cette option si vous ne souhaitez pas g\xE9n\xE9rer automatiquement les num\xE9ros de facture \xE0 chaque fois que vous en cr\xE9ez une nouvelle.",enter_invoice_prefix:"Ajouter le pr\xE9fixe de facture",terms_and_conditions:"Termes et conditions",company_address_format:"Format d'adresse de l'entreprise",shipping_address_format:"Format d'adresse d'exp\xE9dition",billing_address_format:"Format d'adresse de facturation",invoice_settings_updated:"Param\xE8tres de facturation mis \xE0 jour"},estimates:{title:"Devis",estimate_prefix:"Pr\xE9fixe des devis",default_estimate_email_body:"Corps de l'e-mail estim\xE9 par d\xE9faut",estimate_settings:"Param\xE8tre",autogenerate_estimate_number:"G\xE9n\xE9rer automatiquement le num\xE9ro de devis",estimate_setting_description:"D\xE9sactivez cette option si vous ne souhaitez pas g\xE9n\xE9rer automatiquement les num\xE9ros de devis \xE0 chaque fois que vous en cr\xE9ez un nouveau.",enter_estimate_prefix:"Entrez le pr\xE9fixe d'estimation",estimate_setting_updated:"Param\xE8tres de devis mis \xE0 jour",company_address_format:"Format d'adresse de l'entreprise",billing_address_format:"Format d'adresse de facturation",shipping_address_format:"Format d'adresse d'exp\xE9dition"},payments:{title:"Paiements",description:"Modes de transaction pour les paiements",payment_prefix:"Pr\xE9fixe",default_payment_email_body:"Corps de l'e-mail de paiement par d\xE9faut",payment_settings:"Param\xE8tres",autogenerate_payment_number:"G\xE9n\xE9rer automatiquement le num\xE9ro de paiement",payment_setting_description:"D\xE9sactivez cette option si vous ne souhaitez pas g\xE9n\xE9rer automatiquement les num\xE9ros de paiement \xE0 chaque fois que vous en cr\xE9ez un nouveau.",enter_payment_prefix:"Entrez le pr\xE9fixe de paiement",payment_setting_updated:"Les param\xE8tres de paiement ont bien \xE9t\xE9 mis \xE0 jour",payment_modes:"Moyens de paiement",add_payment_mode:"Ajouter un mode de paiement",edit_payment_mode:"Modifier le moyen de paiement",mode_name:"Nom",payment_mode_added:"Moyen de paiement ajout\xE9",payment_mode_updated:"Moyen de paiement mis \xE0 jour",payment_mode_confirm_delete:"\xCAtes-vous sur de supprimer ce moyen de paiement",already_in_use:"Ce moyen de paiement existe d\xE9j\xE0",deleted_message:"Moyen de paiement supprim\xE9 avec succ\xE8s",company_address_format:"Format d'adresse de l'entreprise",from_customer_address_format:"\xC0 partir du format d'adresse client"},items:{title:"Articles",units:"Unit\xE9s",add_item_unit:"Ajouter une unit\xE9",edit_item_unit:"Modifier l'unit\xE9 d'\xE9l\xE9ment",unit_name:"Nom",item_unit_added:"Unit\xE9 ajout\xE9e",item_unit_updated:"Unit\xE9 mis \xE0 jour",item_unit_confirm_delete:"\xCAtes-vous sur de supprimer cette unit\xE9 ?",already_in_use:"Cette unit\xE9 existe d\xE9j\xE0",deleted_message:"Unit\xE9 supprim\xE9e avec succ\xE8s"},notes:{title:"Remarques",description:"Gagnez du temps en cr\xE9ant des notes et en les r\xE9utilisant sur vos factures, devis et paiements.",notes:"Remarques",type:"Type\xA0",add_note:"Ajouter une note",add_new_note:"Ajouter une nouvelle note",name:"Nom",edit_note:"Modifier la note",note_added:"Note ajout\xE9e",note_updated:"Note mise \xE0 jour",note_confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer cette note",already_in_use:"La note est d\xE9j\xE0 utilis\xE9e",deleted_message:"Note supprim\xE9e avec succ\xE8s"}},account_settings:{profile_picture:"Image de profil",name:"Nom",email:"Email",password:"Mot de passe",confirm_password:"Confirmez le mot de passe",account_settings:"Param\xE8tres du compte",save:"Sauvegarder",section_description:"Vous pouvez mettre \xE0 jour votre nom, votre email et votre mot de passe en utilisant le formulaire ci-dessous.",updated_message:"Param\xE8tres du compte mis \xE0 jour avec succ\xE8s"},user_profile:{name:"Nom",email:"Email",password:"Mot de passe",confirm_password:"Confirmez le mot de passe"},notification:{title:"Notification",email:"Envoyer des notifications \xE0",description:"Quelles notifications par courrier \xE9lectronique souhaitez-vous recevoir lorsque quelque chose change?",invoice_viewed:"Facture consult\xE9e",invoice_viewed_desc:"Lorsque le client visualise la facture envoy\xE9e via le tableau de bord de Neptune.",estimate_viewed:"Devis consult\xE9",estimate_viewed_desc:"Lorsque le client visualise le devis envoy\xE9 via le tableau de bord de Neptune.",save:"Sauvegarder",email_save_message:"Email enregistr\xE9 avec succ\xE8s",please_enter_email:"Veuillez entrer un email"},tax_types:{title:"Types de taxe",add_tax:"Ajouter une taxe",edit_tax:"Modifier la taxe",description:"Vous pouvez ajouter ou supprimer des taxes \xE0 votre guise. Crater prend en charge les taxes sur les articles individuels ainsi que sur la facture.",add_new_tax:"Ajouter une nouvelle taxe",tax_settings:"Param\xE8tres de taxe",tax_per_item:"Taxe par article",tax_name:"Nom de la taxe",compound_tax:"Taxe compos\xE9e",percent:"Pourcentage",action:"action",tax_setting_description:"Activez cette option si vous souhaitez ajouter des taxes \xE0 des postes de facture individuels. Par d\xE9faut, les taxes sont ajout\xE9es directement \xE0 la facture.",created_message:"Type de taxe cr\xE9\xE9 avec succ\xE8s",updated_message:"Type de taxe mis \xE0 jour avec succ\xE8s",deleted_message:"Type de taxe supprim\xE9 avec succ\xE8s",confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer ce type de taxe",already_in_use:"La taxe est d\xE9j\xE0 utilis\xE9e"},expense_category:{title:"Cat\xE9gories de d\xE9penses",action:"action",description:"Des cat\xE9gories sont requises pour ajouter des entr\xE9es de d\xE9penses. Vous pouvez ajouter ou supprimer ces cat\xE9gories selon vos pr\xE9f\xE9rences.",add_new_category:"Ajouter une nouvelle cat\xE9gorie",add_category:"Ajouter une cat\xE9gorie",edit_category:"Modifier la cat\xE9gorie",category_name:"Nom de cat\xE9gorie",category_description:"Description",created_message:"Cat\xE9gorie de d\xE9penses cr\xE9\xE9e avec succ\xE8s",deleted_message:"La cat\xE9gorie de d\xE9penses a \xE9t\xE9 supprim\xE9e avec succ\xE8s",updated_message:"Cat\xE9gorie de d\xE9penses mise \xE0 jour avec succ\xE8s",confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer cette cat\xE9gorie de d\xE9penses",already_in_use:"La cat\xE9gorie est d\xE9j\xE0 utilis\xE9e"},preferences:{currency:"Devise",default_language:"Langue par d\xE9faut",time_zone:"Fuseau horaire",fiscal_year:"Exercice fiscal",date_format:"Format de date",discount_setting:"R\xE9glage de remise",discount_per_item:"Remise par article",discount_setting_description:"Activez cette option si vous souhaitez ajouter une remise \xE0 des postes de facture individuels. Par d\xE9faut, les remises sont ajout\xE9es directement \xE0 la facture.",save:"Sauvegarder",preference:"Pr\xE9f\xE9rence | Pr\xE9f\xE9rences",general_settings:"Pr\xE9f\xE9rences par d\xE9faut pour le syst\xE8me.",updated_message:"Pr\xE9f\xE9rences mises \xE0 jour avec succ\xE8s",select_language:"Choisir la langue",select_time_zone:"S\xE9lectionnez le fuseau horaire",select_date_format:"S\xE9lectionnez le format de date",select_financial_year:"s\xE9lectionner lexercice"},update_app:{title:"Mise \xE0 jour de l'application",description:"Vous pouvez facilement mettre \xE0 jour Crater en cliquant sur le bouton ci-dessous",check_update:"V\xE9rifier les mises \xE0 jour",avail_update:"Nouvelle mise \xE0 jour disponible",next_version:"Version suivante",requirements:"Sp\xE9cifications requises",update:"Mettre \xE0 jour maintenant",update_progress:"Mise \xE0 jour en cours...",progress_text:"Cela ne prendra que quelques minutes. Veuillez ne pas actualiser ou fermer la fen\xEAtre avant la fin de la mise \xE0 jour",update_success:"App a \xE9t\xE9 mis \xE0 jour ! Veuillez patienter pendant le rechargement automatique de la fen\xEAtre de votre navigateur.",latest_message:"Pas de mise a jour disponible ! Vous \xEAtes sur la derni\xE8re version.",current_version:"Version actuelle",download_zip_file:"T\xE9l\xE9charger le fichier ZIP",unzipping_package:"D\xE9zipper le package",copying_files:"Copie de fichiers en cours",running_migrations:"Migrations en cours",finishing_update:"Finalisation de la mise \xE0 jour",update_failed:"\xC9chec de la mise \xE0 jour",update_failed_text:"D\xE9sol\xE9 ! Votre mise \xE0 jour a \xE9chou\xE9 \xE0: {step} \xE9tape"},backup:{title:"Sauvegarde | Sauvegardes",description:"La sauvegarde est un fichier ZIP qui contient tous les fichiers des r\xE9pertoires que vous sp\xE9cifiez, ainsi qu'un export de la base de donn\xE9es",new_backup:"Ajouter une nouvelle sauvegarde",create_backup:"Cr\xE9er une sauvegarde",select_backup_type:"S\xE9lectionnez le type de sauvegarde",backup_confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer cette sauvegarde",path:"chemin",new_disk:"Nouvel espace de stockage",created_at:"cr\xE9\xE9 \xE0",size:"taille",dropbox:"dropbox",local:"local",healthy:"en bonne sant\xE9",amount_of_backups:"nombre de sauvegardes",newest_backups:"derni\xE8res sauvegardes",used_storage:"Stockage utilis\xE9",select_disk:"S\xE9lectionnez l'espace de stockage",action:"action",deleted_message:"Sauvegarde supprim\xE9e avec succ\xE8s",created_message:"Sauvegarde cr\xE9\xE9e avec succ\xE8s",invalid_disk_credentials:"Informations d'identification invalides de l'espace de stockage"},disk:{title:"Espace de stockage | Espaces de stockage",description:"Par d\xE9faut, Crater utilisera votre disque local pour enregistrer les sauvegardes, l'avatar et d'autres fichiers image. Vous pouvez configurer plusieurs pilotes de disque comme DigitalOcean, S3 et Dropbox selon vos pr\xE9f\xE9rences.",created_at:"cr\xE9\xE9 \xE0",dropbox:"dropbox",name:"Nom",driver:"Pilote",disk_type:"Type\xA0",disk_name:"Nom",new_disk:"Ajouter un nouvel espace de stockage",filesystem_driver:"Pilote du syst\xE8me de fichiers",local_driver:"pilote local",local_root:"r\xE9pertoire local",public_driver:"Pilote public",public_root:"R\xE9pertoire public",public_url:"URL publique",public_visibility:"Visibilit\xE9 publique",media_driver:"Pilote multim\xE9dia",media_root:"R\xE9pertoire m\xE9dia",aws_driver:"Pilote AWS",aws_key:"AWS Key",aws_secret:"AWS Secret",aws_region:"R\xE9gion AWS",aws_bucket:"Bucket",aws_root:"R\xE9pertoire",do_spaces_type:"Type",do_spaces_key:"Key",do_spaces_secret:"Secret",do_spaces_region:"R\xE9gion",do_spaces_bucket:"Bucket",do_spaces_endpoint:"Endpoint",do_spaces_root:"R\xE9pertoire",dropbox_type:"Type",dropbox_token:"Token",dropbox_key:"Key",dropbox_secret:"Secret",dropbox_app:"Application",dropbox_root:"R\xE9pertoire",default_driver:"Fournisseur par d\xE9faut",is_default:"Par d\xE9faut",set_default_disk:"D\xE9finir l'espace par d\xE9faut",success_set_default_disk:"L'espace par d\xE9faut d\xE9fini avec succ\xE8s",save_pdf_to_disk:"Enregistrer les PDF sur le disque",disk_setting_description:"Activez cette option si vous souhaitez enregistrer automatiquement une copie de chaque facture, devis et re\xE7u de paiement PDF sur votre disque par d\xE9faut. L'activation de cette option r\xE9duira le temps de chargement lors de l'affichage des PDF.",select_disk:"S\xE9lectionnez le stockage",disk_settings:"Param\xE8tres de stockage",confirm_delete:"Vos fichiers et dossiers existants sur le disque sp\xE9cifi\xE9 ne seront pas affect\xE9s, mais la configuration de votre disque sera supprim\xE9e de Crater",action:"action",edit_file_disk:"Modifier le disque de fichiers",success_create:"Disque ajout\xE9 avec succ\xE8s",success_update:"Disque mis \xE0 jour avec succ\xE8s",error:"L'ajout de disque a \xE9chou\xE9",deleted_message:"Stockage supprim\xE9",disk_variables_save_successfully:"Stockage configur\xE9 avec succ\xE8s",disk_variables_save_error:"La configuration du stockage a \xE9chou\xE9.",invalid_disk_credentials:"Informations d'identification non valides du stockage s\xE9lectionn\xE9"}},pn={account_info:"Information du compte",account_info_desc:"Les d\xE9tails ci-dessous seront utilis\xE9s pour cr\xE9er le compte administrateur principal. Aussi, vous pouvez modifier les d\xE9tails \xE0 tout moment apr\xE8s la connexion.",name:"Nom",email:"Email",password:"Mot de passe",confirm_password:"Confirmez le mot de passe",save_cont:"Enregistrer et poursuivre",company_info:"Informations sur la soci\xE9t\xE9",company_info_desc:"Ces informations seront affich\xE9es sur les factures. Notez que vous pouvez \xE9diter ceci plus tard sur la page des param\xE8tres.",company_name:"Nom de l'entreprise",company_logo:"Logo de l'entreprise",logo_preview:"Aper\xE7u du logo",preferences:"Pr\xE9f\xE9rences",preferences_desc:"Pr\xE9f\xE9rences par d\xE9faut du syst\xE8me.",country:"Pays",state:"\xC9tat",city:"Ville",address:"Adresse",street:"Rue 1 | Rue 2",phone:"T\xE9l\xE9phone",zip_code:"Code postal",go_back:"Revenir",currency:"Devise",language:"Langue",time_zone:"Fuseau horaire",fiscal_year:"Exercice fiscal",date_format:"Format de date",from_address:"De l'adresse",username:"Nom d'utilisateur",next:"Suivant",continue:"Poursuivre",skip:"Ignorer",database:{database:"URL du site et base de donn\xE9es",connection:"Connexion \xE0 la base de donn\xE9es",host:"Serveur de la base de donn\xE9es",port:"Port de la base de donn\xE9es",password:"Mot de passe de la base de donn\xE9es",app_url:"Application URL",app_domain:"Nom de domaine",username:"Nom d'utilisateur de la base de donn\xE9es",db_name:"Nom de la base de donn\xE9es",db_path:"Emplacement de la base de donn\xE9es",desc:"Cr\xE9ez une base de donn\xE9es sur votre serveur et d\xE9finissez les informations d'identification \xE0 l'aide du formulaire ci-dessous."},permissions:{permissions:"Permissions",permission_confirm_title:"\xCAtes-vous certain de vouloir continuer ?",permission_confirm_desc:"La v\xE9rification des permissions du dossier a \xE9chou\xE9",permission_desc:"Vous trouverez ci-dessous la liste des permissions de dossier requises pour le fonctionnement de l'application. Si la v\xE9rification des permissions \xE9choue, veillez mettre \xE0 jour vos permissions de dossier."},mail:{host:"Serveur email",port:"Port",driver:"Fournisseur d'email",secret:"Secret",mailgun_secret:"Secret",mailgun_domain:"Nom de domaine",mailgun_endpoint:"Endpoint",ses_secret:"Secret",ses_key:"Key",password:"Mot de passe",username:"Nom d'utilisateur",mail_config:"Configuration des emails",from_name:"Nom de messagerie",from_mail:"Email de l'exp\xE9diteur",encryption:"Chiffrement des emails",mail_config_desc:"Les d\xE9tails ci-dessous seront utilis\xE9s pour mettre \xE0 jour le fournisseur de messagerie. Vous pourrez modifier ceux-ci \xE0 tout moment apr\xE8s la connexion."},req:{system_req:"Configuration requise",php_req_version:"Php (version {version} n\xE9cessaire)",check_req:"V\xE9rifier les pr\xE9requis",system_req_desc:"Crater a quelques pr\xE9requis. Assurez-vous que votre serveur dispose de la version Php requise et de toutes les extensions mentionn\xE9es ci-dessous."},errors:{migrate_failed:"\xC9chec de la migration",database_variables_save_error:"Impossible de cr\xE9er le fichier de configuration. Veuillez v\xE9rifier les permissions du r\xE9pertoire",mail_variables_save_error:"La configuration du courrier \xE9lectronique a \xE9chou\xE9.",connection_failed:"La connexion \xE0 la base de donn\xE9es a \xE9chou\xE9",database_should_be_empty:"La base de donn\xE9es devrait \xEAtre vide"},success:{mail_variables_save_successfully:"Email configur\xE9 avec succ\xE8s",database_variables_save_successfully:"Base de donn\xE9es configur\xE9e avec succ\xE8s."}},gn={invalid_phone:"Num\xE9ro de t\xE9l\xE9phone invalide",invalid_url:"URL invalide (ex: http://www.craterapp.com)",invalid_domain_url:"URL invalide (ex: craterapp.com)",required:"Champ requis",email_incorrect:"Adresse Email incorrecte.",email_already_taken:"Un compte est d\xE9j\xE0 associ\xE9 \xE0 cette adresse e-mail.",email_does_not_exist:"Cet utilisateur n'existe pas",item_unit_already_taken:"Cette unit\xE9 est d\xE9j\xE0 \xE9t\xE9 utilis\xE9e",payment_mode_already_taken:"Ce moyen de paiement est d\xE9j\xE0 utilis\xE9",send_reset_link:"Envoyer le lien de r\xE9initialisation",not_yet:"Pas encore re\xE7u ? R\xE9essayer",password_min_length:"Le mot de passe doit contenir {nombre} caract\xE8res",name_min_length:"Le nom doit avoir au moins {count} lettres.",enter_valid_tax_rate:"Entrez un taux de taxe valide",numbers_only:"Chiffres uniquement.",characters_only:"Caract\xE8res seulement.",password_incorrect:"Les mots de passe doivent \xEAtre identiques",password_length:"Le mot de passe doit comporter au moins {count} caract\xE8res.",qty_must_greater_than_zero:"La quantit\xE9 doit \xEAtre sup\xE9rieure \xE0 z\xE9ro.",price_greater_than_zero:"Le prix doit \xEAtre sup\xE9rieur \xE0 z\xE9ro.",payment_greater_than_zero:"Le paiement doit \xEAtre sup\xE9rieur \xE0 z\xE9ro.",payment_greater_than_due_amount:"Le paiement saisi est plus \xE9lev\xE9 que le montant d\xFB de cette facture.",quantity_maxlength:"La quantit\xE9 ne doit pas d\xE9passer 20 chiffres.",price_maxlength:"Le prix ne doit pas d\xE9passer 20 chiffres.",price_minvalue:"Le prix doit \xEAtre sup\xE9rieur \xE0 0.",amount_maxlength:"Le montant ne doit pas d\xE9passer 20 chiffres.",amount_minvalue:"Le montant doit \xEAtre sup\xE9rieur \xE0 0.",description_maxlength:"La description ne doit pas d\xE9passer 255 caract\xE8res.",subject_maxlength:"L'objet ne doit pas d\xE9passer 100 caract\xE8res.",message_maxlength:"Le message ne doit pas d\xE9passer 255 caract\xE8res.",maximum_options_error:"Maximum de {max} options s\xE9lectionn\xE9es. Commencez par supprimer une option s\xE9lectionn\xE9e pour en s\xE9lectionner une autre.",notes_maxlength:"Les notes ne doivent pas d\xE9passer 255 caract\xE8res.",address_maxlength:"L'adresse ne doit pas d\xE9passer 255 caract\xE8res.",ref_number_maxlength:"Le num\xE9ro de r\xE9f\xE9rence ne doit pas d\xE9passer 255 caract\xE8res.",prefix_maxlength:"Le pr\xE9fixe ne doit pas d\xE9passer 5 caract\xE8res.",something_went_wrong:"quelque chose a mal tourn\xE9"},fn="Devis",hn="N\xB0",vn="Date du devis",yn="Date d'expiration",bn="Facture",kn="Num\xE9ro de facture",wn="Date",xn="Date d\u2019\xE9ch\xE9ance",zn="Remarques",Sn="Articles",Pn="Quantit\xE9",jn="Prix",Dn="Remise",Cn="Montant",An="Sous-total",Nn="Total",En="Payment",Tn="Re\xE7u de paiement",In="Date de paiement",$n="N\xB0",Rn="Moyen de paiement",Fn="Montant re\xE7u",Mn="RAPPORT DE D\xC9PENSES",Bn="TOTAL DES D\xC9PENSES",Vn="RAPPORT DES B\xC9N\xC9FICES ET DES PERTES",On="Sales Customer Report",Ln="Sales Item Report",Un="Tax Summary Report",Kn="REVENU",qn="B\xC9N\xC9FICE NET",Wn="Rapport de ventes : par client",Zn="TOTAL DES VENTES",Hn="Rapport des ventes : par article",Gn="RAPPORT DES TAXES",Yn="TOTAL DES TAXES",Jn="Types de taxe",Xn="D\xE9penses",Qn="facturer,",ei="Envoyer \xE0,",ti="Re\xE7u de :",ai="Tax";var si={navigation:Xs,general:Qs,dashboard:en,tax_types:tn,global_search:an,customers:sn,items:nn,estimates:on,invoices:rn,payments:dn,expenses:ln,login:cn,users:_n,reports:un,settings:mn,wizard:pn,validation:gn,pdf_estimate_label:fn,pdf_estimate_number:hn,pdf_estimate_date:vn,pdf_estimate_expire_date:yn,pdf_invoice_label:bn,pdf_invoice_number:kn,pdf_invoice_date:wn,pdf_invoice_due_date:xn,pdf_notes:zn,pdf_items_label:Sn,pdf_quantity_label:Pn,pdf_price_label:jn,pdf_discount_label:Dn,pdf_amount_label:Cn,pdf_subtotal:An,pdf_total:Nn,pdf_payment_label:En,pdf_payment_receipt_label:Tn,pdf_payment_date:In,pdf_payment_number:$n,pdf_payment_mode:Rn,pdf_payment_amount_received_label:Fn,pdf_expense_report_label:Mn,pdf_total_expenses_label:Bn,pdf_profit_loss_label:Vn,pdf_sales_customers_label:On,pdf_sales_items_label:Ln,pdf_tax_summery_label:Un,pdf_income_label:Kn,pdf_net_profit_label:qn,pdf_customer_sales_report:Wn,pdf_total_sales_label:Zn,pdf_item_sales_label:Hn,pdf_tax_report_label:Gn,pdf_total_tax_label:Yn,pdf_tax_types_label:Jn,pdf_expenses_label:Xn,pdf_bill_to:Qn,pdf_ship_to:ei,pdf_received_from:ti,pdf_tax_label:ai};const ni={dashboard:"Tablero",customers:"Clientes",items:"Art\xEDculos",invoices:"Facturas",expenses:"Gastos",estimates:"Presupuestos",payments:"Pagos",reports:"Informes",settings:"Configuraciones",logout:"Cerrar sesi\xF3n",users:"Usuarios"},ii={add_company:"A\xF1adir empresa",view_pdf:"Ver PDF",copy_pdf_url:"Copiar direcci\xF3n URL del archivo PDF",download_pdf:"Descargar PDF",save:"Guardar",create:"Crear",cancel:"Cancelar",update:"Actualizar",deselect:"Deseleccionar",download:"Descargar",from_date:"Desde la fecha",to_date:"Hasta la fecha",from:"De",to:"A",sort_by:"Ordenar por",ascending:"Ascendente",descending:"Descendente",subject:"Sujeta",body:"Cuerpo",message:"Mensaje",send:"Enviar",go_back:"Volver",back_to_login:"\xBFVolver al inicio de sesi\xF3n?",home:"Inicio",filter:"Filtrar",delete:"Eliminar",edit:"Editar",view:"Ver",add_new_item:"Agregar \xEDtem nuevo",clear_all:"Limpiar todo",showing:"Mostrando",of:"de",actions:"Acciones",subtotal:"SUBTOTAL",discount:"DESCUENTO",fixed:"Fijo",percentage:"Porcentaje",tax:"IMPUESTO",total_amount:"CANTIDAD TOTAL",bill_to:"Cobrar a",ship_to:"Enviar a",due:"Debido",draft:"Borrador",sent:"Enviado",all:"Todas",select_all:"Seleccionar todo",choose_file:"Haga clic aqu\xED para elegir un archivo",choose_template:"Elige una plantilla",choose:"Escoger",remove:"Eliminar",powered_by:"Impulsado por",bytefury:"Bytefury",select_a_status:"Selecciona un estado",select_a_tax:"Selecciona un impuesto",search:"Buscar",are_you_sure:"\xBFEst\xE1s seguro?",list_is_empty:"La lista esta vac\xEDa.",no_tax_found:"\xA1No se encontraron impuestos!",four_zero_four:"404",you_got_lost:"Whoops! \xA1Te perdiste!",go_home:"Volver al Inicio",test_mail_conf:"Probar configuraci\xF3n de correo",send_mail_successfully:"El correo enviado con \xE9xito",setting_updated:"Configuraci\xF3n actualizada con \xE9xito",select_state:"Seleccionar estado",select_country:"Seleccionar pa\xEDs",select_city:"Seleccionar ciudad",street_1:"Calle 1",street_2:"Calle 2",action_failed:"Accion Fallida",retry:"Procesar de nuevo",choose_note:"Elegir nota",no_note_found:"No se encontr\xF3 ninguna nota",insert_note:"Insertar una nota"},oi={select_year:"Seleccionar a\xF1o",cards:{due_amount:"Cantidad Debida",customers:"Clientes",invoices:"Facturas",estimates:"Presupuestos"},chart_info:{total_sales:"Ventas",total_receipts:"Ingresos",total_expense:"Gastos",net_income:"Ingresos netos",year:"Seleccione a\xF1o"},monthly_chart:{title:"Gastos de venta"},recent_invoices_card:{title:"Facturas adeudadas",due_on:"Debido a",customer:"Cliente",amount_due:"Cantidad Debida",actions:"Acciones",view_all:"Ver todo"},recent_estimate_card:{title:"Presupuestos recientes",date:"Fecha",customer:"Cliente",amount_due:"Cantidad Debida",actions:"Acciones",view_all:"Ver todo"}},ri={name:"Nombre",description:"Descripci\xF3n",percent:"Por ciento",compound_tax:"Impuesto compuesto"},di={search:"Buscar...",customers:"Clientes",users:"Usuarios",no_results_found:"No se encontraron resultados"},li={title:"Clientes",add_customer:"Agregar cliente",contacts_list:"Lista de clientes",name:"Nombre",mail:"Correo | Correos",statement:"Declaraci\xF3n",display_name:"Nombre para mostrar",primary_contact_name:"Nombre de contacto primario",contact_name:"Nombre de contacto",amount_due:"Cantidad Debida",email:"Correo electr\xF3nico",address:"Direcci\xF3n",phone:"Tel\xE9fono",website:"Sitio web",overview:"Descripci\xF3n general",enable_portal:"Habilitar Portal",country:"Pa\xEDs",state:"Estado",city:"Ciudad",zip_code:"C\xF3digo postal",added_on:"A\xF1adido el",action:"Acci\xF3n",password:"Contrase\xF1a",street_number:"N\xFAmero de calle",primary_currency:"Moneda primaria",description:"Descripci\xF3n",add_new_customer:"Agregar nuevo cliente",save_customer:"Guardar cliente",update_customer:"Actualizar cliente",customer:"Cliente | Clientes",new_customer:"Nuevo cliente",edit_customer:"Editar cliente",basic_info:"Informaci\xF3n b\xE1sica",billing_address:"Direcci\xF3n de Facturaci\xF3n",shipping_address:"Direcci\xF3n de Env\xEDo",copy_billing_address:"Copia de facturaci\xF3n",no_customers:"\xA1A\xFAn no hay clientes!",no_customers_found:"\xA1No se encontraron clientes!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"Esta secci\xF3n contendr\xE1 la lista de clientes.",primary_display_name:"Nombre de visualizaci\xF3n principal",select_currency:"Seleccione el tipo de moneda",select_a_customer:"Selecciona un cliente",type_or_click:"Escriba o haga clic para seleccionar",new_transaction:"Nueva transacci\xF3n",no_matching_customers:"\xA1No hay clientes coincidentes!",phone_number:"N\xFAmero de tel\xE9fono",create_date:"Fecha de Creaci\xF3n",confirm_delete:"No podr\xE1 recuperar este cliente y todas las facturas, estimaciones y pagos relacionados. | No podr\xE1 recuperar estos clientes y todas las facturas, estimaciones y pagos relacionados.",created_message:"Cliente creado con \xE9xito",updated_message:"Cliente actualizado con \xE9xito",deleted_message:"Cliente eliminado correctamente | Clientes eliminados exitosamente"},ci={title:"Art\xEDculos",items_list:"Lista de art\xEDculos",name:"Nombre",unit:"Unidad",description:"Descripci\xF3n",added_on:"A\xF1adido",price:"Precio",date_of_creation:"Fecha de creaci\xF3n",not_selected:"No item selected",action:"Acci\xF3n",add_item:"A\xF1adir art\xEDculo",save_item:"Guardar art\xEDculo",update_item:"Actualizar elemento",item:"Art\xEDculo | Art\xEDculos",add_new_item:"Agregar \xEDtem nuevo",new_item:"Nuevo art\xEDculo",edit_item:"Editar elemento",no_items:"\xA1A\xFAn no hay art\xEDculos!",list_of_items:"Esta secci\xF3n contendr\xE1 la lista de art\xEDculos.",select_a_unit:"seleccionar unidad",taxes:"Impuestos",item_attached_message:"No se puede eliminar un elemento que ya est\xE1 en uso.",confirm_delete:"No podr\xE1 recuperar este art\xEDculo | No podr\xE1s recuperar estos elementos",created_message:"Art\xEDculo creado con \xE9xito",updated_message:"Art\xEDculo actualizado con \xE9xito",deleted_message:"Elemento eliminado con \xE9xito | Elementos eliminados correctamente"},_i={title:"Presupuestos",estimate:"Presupuesto | Presupuestos",estimates_list:"Lista de presupuestos",days:"d\xEDas D\xEDas",months:"meses Mes",years:"a\xF1os A\xF1o",all:"Todas",paid:"Pagada",unpaid:"No pagado",customer:"CLIENTE",ref_no:"N\xDAMERO DE REFERENCIA.",number:"N\xDAMERO",amount_due:"CANTIDAD DEBIDA",partially_paid:"Parcialmente pagado",total:"Total",discount:"Descuento",sub_total:"Subtotal",estimate_number:"N\xFAmero de Presupuesto",ref_number:"N\xFAmero de referencia",contact:"Contacto",add_item:"Agregar un art\xEDculo",date:"Fecha",due_date:"Fecha de vencimiento",expiry_date:"Fecha de caducidad",status:"Estado",add_tax:"Agregar impuesto",amount:"Cantidad",action:"Acci\xF3n",notes:"Notas",tax:"Impuesto",estimate_template:"Plantilla de presupuesto",convert_to_invoice:"Convertir a factura",mark_as_sent:"Marcar como enviado",send_estimate:"Enviar presupuesto",resend_estimate:"Reenviar estimado",record_payment:"Registro de pago",add_estimate:"Agregar presupuesto",save_estimate:"Guardar presupuesto",confirm_conversion:"\xBFQuiere convertir este presupuesto en una factura?",conversion_message:"Conversi\xF3n exitosa",confirm_send_estimate:"Este presupuesto se enviar\xE1 por correo electr\xF3nico al cliente",confirm_mark_as_sent:"Este presupuesto se marcar\xE1 como enviado",confirm_mark_as_accepted:"Este presupuesto se marcar\xE1 como Aceptado",confirm_mark_as_rejected:"Este presupuesto se marcar\xE1 como Rechazado",no_matching_estimates:"\xA1No hay presupuestos coincidentes!",mark_as_sent_successfully:"Presupuesto marcado como enviado correctamente",send_estimate_successfully:"Presupuesto enviado con \xE9xito",errors:{required:"Se requiere campo"},accepted:"Aceptado",rejected:"Rejected",sent:"Enviado",draft:"Borrador",declined:"Rechazado",new_estimate:"Nuevo presupuesto",add_new_estimate:"A\xF1adir nuevo presupuesto",update_Estimate:"Actualizar presupuesto",edit_estimate:"Editar presupuesto",items:"art\xEDculos",Estimate:"Presupuestos | Presupuestos",add_new_tax:"Agregar nuevo impuesto",no_estimates:"\xA1A\xFAn no hay presupuestos!",list_of_estimates:"Esta secci\xF3n contendr\xE1 la lista de presupuestos.",mark_as_rejected:"Marcar como rechazado",mark_as_accepted:"Marcar como aceptado",marked_as_accepted_message:"Presupuesto marcado como aceptado",marked_as_rejected_message:"Presupuesto marcado como rechazado",confirm_delete:"No podr\xE1 recuperar este presupuesto | No podr\xE1 recuperar estos presupuestos",created_message:"Presupuesto creada con \xE9xito",updated_message:"Presupuesto actualizada con \xE9xito",deleted_message:"Presupuesto eliminada con \xE9xito | Presupuestos eliminadas exitosamente",something_went_wrong:"Algo fue mal",item:{title:"T\xEDtulo del art\xEDculo",description:"Descripci\xF3n",quantity:"Cantidad",price:"Precio",discount:"Descuento",total:"Total",total_discount:"Descuento total",sub_total:"Subtotal",tax:"Impuesto",amount:"Cantidad",select_an_item:"Escriba o haga clic para seleccionar un elemento",type_item_description:"Descripci\xF3n del tipo de elemento(opcional)"}},ui={title:"Facturas",invoices_list:"Lista de facturas",days:"d\xEDas D\xEDas",months:"meses Mes",years:"a\xF1os A\xF1o",all:"Todas",paid:"Pagada",unpaid:"No pagado",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"CLIENTE",paid_status:"ESTADO PAGADO",ref_no:"N\xDAMERO DE REFERENCIA.",number:"N\xDAMERO",amount_due:"CANTIDAD DEBIDA",partially_paid:"Parcialmente pagado",total:"Total",discount:"Descuento",sub_total:"Subtotal",invoice:"Factura | Facturas",invoice_number:"Numero de factura",ref_number:"N\xFAmero de referencia",contact:"Contacto",add_item:"Agregar un art\xEDculo",date:"Fecha",due_date:"Fecha de vencimiento",status:"Estado",add_tax:"Agregar impuesto",amount:"Cantidad",action:"Acci\xF3n",notes:"Notas",view:"Ver",send_invoice:"Enviar la factura",resend_invoice:"Reenviar factura",invoice_template:"Plantilla de factura",template:"Modelo",mark_as_sent:"Marcar como enviada",confirm_send_invoice:"Esta factura ser\xE1 enviada por email al cliente",invoice_mark_as_sent:"Esta factura se marcar\xE1 como enviada",confirm_send:"Estas facturas se enviar\xE1n por correo electr\xF3nico al cliente.",invoice_date:"Fecha de la factura",record_payment:"Registro de pago",add_new_invoice:"A\xF1adir nueva factura",update_expense:"Actualizar gasto",edit_invoice:"Editar factura",new_invoice:"Nueva factura",save_invoice:"Guardar factura",update_invoice:"Actualizar factura",add_new_tax:"Agregar nuevo impuesto",no_invoices:"\xA1A\xFAn no hay facturas!",list_of_invoices:"Esta secci\xF3n contendr\xE1 la lista de facturas.",select_invoice:"Seleccionar factura",no_matching_invoices:"\xA1No hay facturas coincidentes con la selecci\xF3n!",mark_as_sent_successfully:"Factura marcada como enviada con \xE9xito",invoice_sent_successfully:"Factura enviada exitosamente",cloned_successfully:"Factura clonada exitosamente",clone_invoice:"Factura de clonaci\xF3n",confirm_clone:"Esta factura se clonar\xE1 en una nueva factura.",item:{title:"T\xEDtulo del art\xEDculo",description:"Descripci\xF3n",quantity:"Cantidad",price:"Precio",discount:"Descuento",total:"Total",total_discount:"Descuento total",sub_total:"Subtotal",tax:"Impuesto",amount:"Cantidad",select_an_item:"Escriba o haga clic para seleccionar un elemento",type_item_description:"Descripci\xF3n del tipo de elemento (opcional)"},confirm_delete:"No podr\xE1 recuperar esta factura | No podr\xE1 recuperar estas facturas",created_message:"Factura creada exitosamente",updated_message:"Factura actualizada exitosamente",deleted_message:"Factura eliminada con \xE9xito | Facturas borradas exitosamente",marked_as_sent_message:"Factura marcada como enviada con \xE9xito",something_went_wrong:"Algo fue mal",invalid_due_amount_message:"El pago ingresado es mayor que la cantidad total debida por esta factura. Por favor verificalo y vuelve a intentarlo"},mi={title:"Pagos",payments_list:"Lista de pagos",record_payment:"Registro de pago",customer:"Cliente",date:"Fecha",amount:"Cantidad",action:"Acci\xF3n",payment_number:"Numero de pago",payment_mode:"Modo de pago",invoice:"Factura",note:"Nota",add_payment:"Agregar pago",new_payment:"Nuevo pago",edit_payment:"Editar pago",view_payment:"Ver pago",add_new_payment:"Agregar nuevo pago",send_payment_receipt:"Enviar recibo de pago",send_payment:"Enviar pago",save_payment:"Guardar pago",update_payment:"Actualizar pago",payment:"Pago | Pagos",no_payments:"\xA1A\xFAn no hay pagos!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"\xA1No hay pagos equivalentes!",list_of_payments:"Esta secci\xF3n contendr\xE1 la lista de pagos.",select_payment_mode:"Seleccionar modo de pago",confirm_mark_as_sent:"Este presupuesto se marcar\xE1 como enviado",confirm_send_payment:"Este pago se enviar\xE1 por correo electr\xF3nico al cliente",send_payment_successfully:"Pago enviado correctamente",something_went_wrong:"Algo fue mal",confirm_delete:"No podr\xE1 recuperar este pago | No podr\xE1 recuperar estos pagos",created_message:"Pago creado con \xE9xito",updated_message:"Pago actualizado con \xE9xito",deleted_message:"Pago eliminado con \xE9xito | Pagos eliminados exitosamente",invalid_amount_message:"El importe del pago no es v\xE1lido."},pi={title:"Gastos",expenses_list:"Lista de gastos",select_a_customer:"Selecciona un cliente",expense_title:"T\xEDtulo",customer:"Cliente",contact:"Contacto",category:"Categor\xEDa",from_date:"Desde la fecha",to_date:"Hasta la fecha",expense_date:"Fecha",description:"Descripci\xF3n",receipt:"Recibo",amount:"Cantidad",action:"Acci\xF3n",not_selected:"Not selected",note:"Nota",category_id:"Categoria ID",date:"Fecha de gastos",add_expense:"A\xF1adir gastos",add_new_expense:"A\xF1adir nuevo gasto",save_expense:"Guardar gasto",update_expense:"Actualizar gasto",download_receipt:"Descargar recibo",edit_expense:"Editar gasto",new_expense:"Nuevo gasto",expense:"Gastos | Gastos",no_expenses:"\xA1No hay gastos todav\xEDa!",list_of_expenses:"Esta secci\xF3n contendr\xE1 la lista de gastos.",confirm_delete:"No podr\xE1 recuperar este gasto | No podr\xE1 recuperar estos gastos",created_message:"Gastos creados exitosamente",updated_message:"Gastos actualizados con \xE9xito",deleted_message:"Gastos eliminados con \xE9xito | Gastos eliminados exitosamente",categories:{categories_list:"Lista de categor\xEDas",title:"T\xEDtulo",name:"Nombre",description:"Descripci\xF3n",amount:"Cantidad",actions:"Comportamiento",add_category:"a\xF1adir categor\xEDa",new_category:"Nueva categor\xEDa",category:"Categor\xEDa | Categorias",select_a_category:"Seleccione una categor\xEDa"}},gi={email:"Correo electr\xF3nico",password:"Contrase\xF1a",forgot_password:"\xBFOlvidaste tu contrase\xF1a?",or_signIn_with:"o Inicia sesi\xF3n con",login:"Iniciar sesi\xF3n",register:"Registro",reset_password:"Restablecer la contrase\xF1a",password_reset_successfully:"Contrase\xF1a reestablecida con \xE9xito",enter_email:"Escriba el correo electr\xF3nico",enter_password:"Escriba la contrase\xF1a",retype_password:"Reescriba la contrase\xF1a"},fi={title:"Usuarios",users_list:"Lista de usuarios",name:"Nombre",description:"Descripci\xF3n",added_on:"A\xF1adido",date_of_creation:"Fecha de creaci\xF3n",action:"Acci\xF3n",add_user:"Agregar usuario",save_user:"Guardar usuario",update_user:"Actualizar usuario",user:"Usuario | Usuarios",add_new_user:"Agregar Nuevo Usuario",new_user:"Nuevo usuario",edit_user:"Editar usuario",no_users:"\xA1A\xFAn no hay usuarios!",list_of_users:"Esta secci\xF3n contendr\xE1 la lista de usuarios.",email:"Correo",phone:"Tel\xE9fono",password:"Contrase\xF1a",user_attached_message:"No se puede eliminar un elemento que ya est\xE1 en uso.",confirm_delete:"No podr\xE1 recuperar este Usuario | No podr\xE1 recuperar estos Usuarios",created_message:"Usuario creado satisfactoriamente",updated_message:"Usuario actualizado satisfactoriamente",deleted_message:"Usuario eliminado exitosamente | Usuario eliminado correctamente"},hi={title:"Informe",from_date:"A partir de la fecha",to_date:"Hasta la fecha",status:"Estado",paid:"Pagada",unpaid:"No pagado",download_pdf:"Descargar PDF",view_pdf:"Ver PDF",update_report:"Informe de actualizaci\xF3n",report:"Informe | Informes",profit_loss:{profit_loss:"P\xE9rdida de beneficios",to_date:"Hasta la fecha",from_date:"A partir de la fecha",date_range:"Seleccionar rango de fechas"},sales:{sales:"Ventas",date_range:"Seleccionar rango de fechas",to_date:"Hasta la fecha",from_date:"A partir de la fecha",report_type:"Tipo de informe"},taxes:{taxes:"Impuestos",to_date:"Hasta la fecha",from_date:"A partir de la fecha",date_range:"Seleccionar rango de fechas"},errors:{required:"Se requiere campo"},invoices:{invoice:"Factura",invoice_date:"Fecha de la factura",due_date:"Fecha de vencimiento",amount:"Cantidad",contact_name:"Nombre de contacto",status:"Estado"},estimates:{estimate:"Presupuestar",estimate_date:"Fecha presupuesto",due_date:"Fecha de vencimiento",estimate_number:"N\xFAmero de Presupuesto",ref_number:"N\xFAmero de referencia",amount:"Cantidad",contact_name:"Nombre de contacto",status:"Estado"},expenses:{expenses:"Gastos",category:"Categor\xEDa",date:"Fecha",amount:"Cantidad",to_date:"Hasta la fecha",from_date:"A partir de la fecha",date_range:"Seleccionar rango de fechas"}},vi={menu_title:{account_settings:"Configuraciones de la cuenta",company_information:"Informaci\xF3n de la empresa",customization:"Personalizaci\xF3n",preferences:"Preferencias",notifications:"Notificaciones",tax_types:"Tipos de impuestos",expense_category:"Categor\xEDas de gastos",update_app:"Actualizar aplicaci\xF3n",backup:"Copias de seguridad",file_disk:"Disco de archivo",custom_fields:"Campos Personalizados",payment_modes:"Modos de pago",notes:"Notas"},title:"Configuraciones",setting:"Configuraciones | Configuraciones",general:"General",language:"Idioma",primary_currency:"Moneda primaria",timezone:"Zona horaria",date_format:"Formato de fecha",currencies:{title:"Monedas",currency:"Moneda | Monedas",currencies_list:"Lista de monedas",select_currency:"Seleccione el tipo de moneda",name:"Nombre",code:"C\xF3digo",symbol:"S\xEDmbolo",precision:"Precisi\xF3n",thousand_separator:"Separador de miles",decimal_separator:"Separador decimal",position:"Posici\xF3n",position_of_symbol:"Posici\xF3n del s\xEDmbolo",right:"Derecho",left:"Izquierda",action:"Acci\xF3n",add_currency:"Agregar moneda"},mail:{host:"Host de correo",port:"Puerto de correo",driver:"Conductor de correo",secret:"Secreto",mailgun_secret:"Mailgun Secreto",mailgun_domain:"Domino",mailgun_endpoint:"Mailgun endpoint",ses_secret:"Secreto SES",ses_key:"Clave SES",password:"Contrase\xF1a de correo",username:"Nombre de usuario de correo",mail_config:"Configuraci\xF3n de correo",from_name:"Del nombre del correo",from_mail:"Desde la direcci\xF3n de correo",encryption:"Cifrado de correo",mail_config_desc:"Los detalles a continuaci\xF3n se utilizar\xE1n para actualizar el entorno de correo. Tambi\xE9n puede cambiar los detalles en cualquier momento despu\xE9s de iniciar sesi\xF3n."},pdf:{title:"Configuraci\xF3n de PDF",footer_text:"Texto de pie de p\xE1gina",pdf_layout:"Dise\xF1o PDF"},company_info:{company_info:"Informaci\xF3n de la compa\xF1\xEDa",company_name:"Nombre de Empresa",company_logo:"Logo de la compa\xF1\xEDa",section_description:"Informaci\xF3n sobre su empresa que se mostrar\xE1 en las facturas, presupuestos y otros documentos creados por Crater.",phone:"Tel\xE9fono",country:"Pa\xEDs",state:"Estado",city:"Ciudad",address:"Direcci\xF3n",zip:"C\xF3digo Postal",save:"Guardar",updated_message:"Informaci\xF3n de la empresa actualizada con \xE9xito"},custom_fields:{title:"Campos Personalizados",section_description:"Personalice sus facturas, estimaciones y recibos de pago en sus propios campos. Aseg\xFArese de usar los siguientes campos a\xF1adidos en los formatos de direcci\xF3n de la p\xE1gina de configuraci\xF3n de personalizaci\xF3n.",add_custom_field:"Agregar campo personalizado",edit_custom_field:"Editar campo personalizado",field_name:"Nombre del campo",label:"Etiqueta",type:"Tipo",name:"Nombre",required:"Necesaria",placeholder:"Marcador de posici\xF3n",help_text:"texto de ayuda",default_value:"Valor por defecto",prefix:"Prefijo",starting_number:"N\xFAmero inicial",model:"Modelo",help_text_description:"Ingrese un texto para ayudar a los usuarios a comprender el prop\xF3sito de este campo personalizado.",suffix:"Sufijo",yes:"si",no:"No",order:"Orden",custom_field_confirm_delete:"No podr\xE1 recuperar este campo personalizado",already_in_use:"El campo personalizado ya est\xE1 en uso",deleted_message:"Campo personalizado eliminado correctamente",options:"opciones",add_option:"Agregar opciones",add_another_option:"Agregar otra opci\xF3n",sort_in_alphabetical_order:"Ordenar en orden alfab\xE9tico",add_options_in_bulk:"Agregar opciones a granel",use_predefined_options:"Usar opciones predefinidas",select_custom_date:"Seleccionar fecha personalizada",select_relative_date:"Seleccionar fecha relativa",ticked_by_default:"Marcada por defecto",updated_message:"Campo personalizado actualizado correctamente",added_message:"Campo personalizado agregado correctamente"},customization:{customization:"Personalizaci\xF3n",save:"Guardar",addresses:{title:"Direcciones",section_description:"Puede configurar la Direcci\xF3n de facturaci\xF3n del cliente y el Formato de direcci\xF3n de env\xEDo del cliente (solo se muestra en PDF).",customer_billing_address:"Direcci\xF3n de facturaci\xF3n del cliente",customer_shipping_address:"Direcci\xF3n de env\xEDo del cliente",company_address:"Direcci\xF3n de la compa\xF1ia",insert_fields:"Insertar campos",contact:"Contacto",address:"Direcci\xF3n",display_name:"Nombre para mostrar",primary_contact_name:"Nombre de contacto principal",email:"Correo electr\xF3nico",website:"Sitio web",name:"Nombre",country:"Pa\xEDs",state:"Estado",city:"Ciudad",company_name:"Nombre de la compa\xF1ia",address_street_1:"Direcci\xF3n de la calle 1",address_street_2:"Direcci\xF3n de la calle 2",phone:"Telefono",zip_code:"Codigo postal",address_setting_updated:"Configuraci\xF3n de direcci\xF3n actualizada correctamente"},updated_message:"Informaci\xF3n de la empresa actualizada con \xE9xito",invoices:{title:"Facturas",notes:"Notas",invoice_prefix:"Prefijo de las facturas",default_invoice_email_body:"Cuerpo predeterminado del correo electr\xF3nico de la factura",invoice_settings:"Ajustes de facturas",autogenerate_invoice_number:"Autogenerar n\xFAmero de factura",autogenerate_invoice_number_desc:"Desactive esto, si no desea generar autom\xE1ticamente n\xFAmeros de factura cada vez que cree una nueva factura.",enter_invoice_prefix:"Introduzca el prefijo de factura",terms_and_conditions:"T\xE9rminos y Condiciones",company_address_format:"Formato de direcci\xF3n de la empresa",shipping_address_format:"Formato de la direcci\xF3n de env\xEDo",billing_address_format:"Formato de direcci\xF3n de facturaci\xF3n",invoice_settings_updated:"Configuraci\xF3n de factura actualizada correctamente"},estimates:{title:"Estimaciones",estimate_prefix:"Prefijo de los presupuestos",default_estimate_email_body:"Cuerpo predeterminado estimado del correo electr\xF3nico",estimate_settings:"Ajustes de presupuestos",autogenerate_estimate_number:"Autogenerar n\xFAmero de presupuesto",estimate_setting_description:"Desactive esto, si no desea generar autom\xE1ticamente n\xFAmeros de presupuesto cada vez que cree un nuevo presupuesto.",enter_estimate_prefix:"Introduzca el prefijo de presupuesto",estimate_setting_updated:"Configuraci\xF3n de presupuestos actualizada correctamente",company_address_format:"Formato de direcci\xF3n de la empresa",billing_address_format:"Formato de la direcci\xF3n de facturaci\xF3n",shipping_address_format:"Formato de direcci\xF3n de env\xEDo"},payments:{title:"Pagos",description:"Modos de transacci\xF3n de pagos",payment_prefix:"Prefijo de los pagos",default_payment_email_body:"Cuerpo predeterminado del correo electr\xF3nico del pago",payment_settings:"Ajustes de pagos",autogenerate_payment_number:"Autogenerar n\xFAmero de pago",payment_setting_description:"Desactive esto, si no desea generar autom\xE1ticamente n\xFAmeros de pago cada vez que cree un nuevo pago.",enter_payment_prefix:"Introduzca el prefijo de pago",payment_setting_updated:"Configuraci\xF3n de pagos actualizada correctamente",payment_modes:"Modos de pago",add_payment_mode:"Agregar modo de pago",edit_payment_mode:"Editar modo de pago",mode_name:"Nombre del modo",payment_mode_added:"Modo de pago agregado",payment_mode_updated:"Modo de pago actualizado",payment_mode_confirm_delete:"No podr\xE1 recuperar este modo de pago",already_in_use:"El modo de pago ya est\xE1 en uso",deleted_message:"Modo de pago eliminado correctamente",company_address_format:"Formato de direcci\xF3n de la empresa",from_customer_address_format:"Desde el formato de direcci\xF3n del cliente"},items:{title:"Art\xEDculos",units:"unidades",add_item_unit:"Agregar unidad de art\xEDculo",edit_item_unit:"Editar unidad de art\xEDculo",unit_name:"Nombre de la unidad",item_unit_added:"Unidad de art\xEDculo agregada",item_unit_updated:"Unidad de art\xEDculo actualizada",item_unit_confirm_delete:"No podr\xE1s recuperar esta unidad de art\xEDculo",already_in_use:"Unidad de art\xEDculo ya est\xE1 en uso",deleted_message:"Unidad de elemento eliminada correctamente"},notes:{title:"Notas",description:"Ahorre tiempo creando notas y reutiliz\xE1ndolas en sus facturas, c\xE1lculos y pagos.",notes:"Notas",type:"Tipo",add_note:"Agregar nota",add_new_note:"Agregar nueva nota",name:"Nombre",edit_note:"Editar nota",note_added:"Nota agregada correctamente",note_updated:"Nota actualizada correctamente",note_confirm_delete:"No podr\xE1 recuperar esta nota",already_in_use:"Nota ya est\xE1 en uso",deleted_message:"Nota eliminada correctamente"}},account_settings:{profile_picture:"Foto de perfil",name:"Nombre",email:"Correo electr\xF3nico",password:"Contrase\xF1a",confirm_password:"Confirmar contrase\xF1a",account_settings:"Configuraciones de la cuenta",save:"Guardar",section_description:"Puede actualizar su nombre, correo electr\xF3nico y contrase\xF1a utilizando el siguiente formulario.",updated_message:"Configuraci\xF3n de la cuenta actualizada correctamente"},user_profile:{name:"Nombre",email:"Correo electr\xF3nico",password:"Contrase\xF1a",confirm_password:"Confirmar contrase\xF1a"},notification:{title:"Notificaci\xF3n",email:"Enviar notificaciones a",description:"\xBFQu\xE9 notificaciones por correo electr\xF3nico le gustar\xEDa recibir cuando algo cambia?",invoice_viewed:"Factura vista",invoice_viewed_desc:"Cuando su cliente vio la factura enviada a trav\xE9s del panel de control de Crater.",estimate_viewed:"Presupuesto visto",estimate_viewed_desc:"Cuando su cliente vio el presupuesto enviado a trav\xE9s del panel de control de Crater.",save:"Guardar",email_save_message:"Correo electr\xF3nico guardado con \xE9xito",please_enter_email:"Por favor, introduzca su correo electr\xF3nico"},tax_types:{title:"Tipos de impuestos",add_tax:"Agregar impuesto",edit_tax:"Editar impuesto",description:"Puede agregar o eliminar impuestos a su gusto. Crater admite impuestos sobre art\xEDculos individuales, as\xED como sobre la factura.",add_new_tax:"Agregar nuevo impuesto",tax_settings:"Configuraciones de impuestos",tax_per_item:"Impuesto por art\xEDculo",tax_name:"Nombre del impuesto",compound_tax:"Impuesto compuesto",percent:"Porcentaje",action:"Acci\xF3n",tax_setting_description:"Habil\xEDtelo si desea agregar impuestos a art\xEDculos de factura de forma individual. Por defecto, los impuestos se agregan directamente a la factura.",created_message:"Tipo de impuesto creado con \xE9xito",updated_message:"Tipo de impuesto actualizado correctamente",deleted_message:"Tipo de impuesto eliminado correctamente",confirm_delete:"No podr\xE1 recuperar este tipo de impuesto",already_in_use:"El impuesto ya est\xE1 en uso."},expense_category:{title:"Categor\xEDas de gastos",action:"Acci\xF3n",description:"Se requieren categor\xEDas para agregar entradas de gastos. Puede Agregar o Eliminar estas categor\xEDas seg\xFAn su preferencia.",add_new_category:"A\xF1adir nueva categoria",add_category:"A\xF1adir categor\xEDa",edit_category:"Editar categoria",category_name:"nombre de la categor\xEDa",category_description:"Descripci\xF3n",created_message:"Categor\xEDa de gastos creada con \xE9xito",deleted_message:"Categor\xEDa de gastos eliminada correctamente",updated_message:"Categor\xEDa de gastos actualizada con \xE9xito",confirm_delete:"No podr\xE1 recuperar esta categor\xEDa de gastos",already_in_use:"La categor\xEDa ya est\xE1 en uso."},preferences:{currency:"Moneda",default_language:"Idioma predeterminado",time_zone:"Zona horaria",fiscal_year:"A\xF1o financiero",date_format:"Formato de fecha",discount_setting:"Ajuste de descuento",discount_per_item:"Descuento por art\xEDculo",discount_setting_description:"Habil\xEDtelo si desea agregar Descuento a art\xEDculos de factura individuales. Por defecto, los descuentos se agregan directamente a la factura.",save:"Guardar",preference:"Preferencia | Preferencias",general_settings:"Preferencias predeterminadas para el sistema.",updated_message:"Preferencias actualizadas exitosamente",select_language:"seleccione el idioma",select_time_zone:"selecciona la zona horaria",select_date_format:"Seleccionar formato de fecha",select_financial_year:"seleccione a\xF1o financiero"},update_app:{title:"Actualizar aplicaci\xF3n",description:"actualizar la descripci\xF3n de la aplicaci\xF3n",check_update:"Buscar actualizaciones",avail_update:"Nueva actualizaci\xF3n disponible",next_version:"Pr\xF3xima versi\xF3n",requirements:"Requisitos",update:"Actualizar",update_progress:"Actualizaci\xF3n en progreso...",progress_text:"Solo tomar\xE1 unos minutos. No actualice la pantalla ni cierre la ventana antes de que finalice la actualizaci\xF3n.",update_success:"\xA1La aplicaci\xF3n ha sido actualizada! Espere mientras la ventana de su navegador se vuelve a cargar autom\xE1ticamente.",latest_message:"\xA1Actualizaci\xF3n no disponible! Est\xE1s en la \xFAltima versi\xF3n.",current_version:"Versi\xF3n actual",download_zip_file:"Descargar archivo ZIP",unzipping_package:"Descomprimir paquete",copying_files:"Copiando documentos",running_migrations:"Ejecutar migraciones",finishing_update:"Actualizaci\xF3n final",update_failed:"Actualizaci\xF3n fallida",update_failed_text:"\xA1Lo siento! Su actualizaci\xF3n fall\xF3 el: {step} paso"},backup:{title:"Copia de seguridad | Copias de seguridad",description:"La copia de seguridad es un archivo comprimido zip que contiene todos los archivos en los directorios que especifiques junto con tu base de datos",new_backup:"Agregar nueva copia de seguridad",create_backup:"Crear copia de seguridad",select_backup_type:"Seleccione Tipo de Copia de Seguridad",backup_confirm_delete:"No podr\xE1 recuperar esta copia de seguridad",path:"ruta",new_disk:"Nuevo Disco",created_at:"creado el",size:"tama\xF1o",dropbox:"dropbox",local:"local",healthy:"saludable",amount_of_backups:"cantidad de copias de seguridad",newest_backups:"copias de seguridad m\xE1s recientes",used_storage:"almacenamiento utilizado",select_disk:"Seleccionar Disco",action:"Acci\xF3n",deleted_message:"Copia de seguridad eliminada exitosamente",created_message:"Copia de seguridad creada satisfactoriamente",invalid_disk_credentials:"Credencial no v\xE1lida del disco seleccionado"},disk:{title:"Disco de archivos | Discos de archivos",description:"Por defecto, Crater utilizar\xE1 su disco local para guardar copias de seguridad, avatar y otros archivos de imagen. Puede configurar varios controladores de disco como DigitalOcean, S3 y Dropbox seg\xFAn sus preferencias.",created_at:"creado el",dropbox:"dropbox",name:"Nombre",driver:"Controlador",disk_type:"Tipo",disk_name:"Nombre del disco",new_disk:"Agregar nuevo disco",filesystem_driver:"Controlador del sistema de archivos",local_driver:"controlador local",local_root:"ra\xEDz local",public_driver:"Controlador p\xFAblico",public_root:"Ra\xEDz p\xFAblica",public_url:"URL p\xFAblica",public_visibility:"Visibilidad p\xFAblica",media_driver:"Controlador multimedia",media_root:"Ra\xEDz multimedia",aws_driver:"Controlador AWS",aws_key:"Clave AWS",aws_secret:"Secreto AWS",aws_region:"Regi\xF3n de AWS",aws_bucket:"Cubo AWS",aws_root:"Ra\xEDz AWS",do_spaces_type:"Hacer Espacios tipo",do_spaces_key:"Disponer espacios",do_spaces_secret:"Disponer espacios secretos",do_spaces_region:"Disponer regi\xF3n de espacios",do_spaces_bucket:"Disponer espacios",do_spaces_endpoint:"Disponer espacios extremos",do_spaces_root:"Disponer espacios en la ra\xEDz",dropbox_type:"Tipo de Dropbox",dropbox_token:"Token de DropBox",dropbox_key:"Clave Dropbox",dropbox_secret:"Dropbox Secret",dropbox_app:"Aplicaci\xF3n Dropbox",dropbox_root:"Ra\xEDz Dropbox",default_driver:"Controlador por defecto",is_default:"ES PREDETERMINADO",set_default_disk:"Establecer disco predeterminado",success_set_default_disk:"Disco establecido correctamente como predeterminado",save_pdf_to_disk:"Guardar PDFs a disco",disk_setting_description:" Habilite esto, si desea guardar autom\xE1ticamente una copia en formato pdf de cada factura, c\xE1lculo y recibo de pago en su disco predeterminado. Al activar esta opci\xF3n, se reducir\xE1 el tiempo de carga al visualizar los archivos PDFs.",select_disk:"Seleccionar Disco",disk_settings:"Configuraci\xF3n del disco",confirm_delete:"Los archivos y carpetas existentes en el disco especificado no se ver\xE1n afectados, pero su configuraci\xF3n de disco ser\xE1 eliminada de Crater",action:"Acci\xF3n",edit_file_disk:"Editar disco de ficheros",success_create:"Disco a\xF1adido satisfactoriamente",success_update:"Disco actualizado satisfactoriamente",error:"Error al a\xF1adir disco",deleted_message:"Disco de archivo borrado correctamente",disk_variables_save_successfully:"Disco configurado correctamente",disk_variables_save_error:"La configuraci\xF3n del disco ha fallado.",invalid_disk_credentials:"Credencial no v\xE1lida del disco seleccionado"}},yi={account_info:"Informaci\xF3n de la cuenta",account_info_desc:"Los detalles a continuaci\xF3n se utilizar\xE1n para crear la cuenta principal de administrador. Tambi\xE9n puede cambiar los detalles en cualquier momento despu\xE9s de iniciar sesi\xF3n.",name:"Nombre",email:"Correo",password:"Contrase\xF1a",confirm_password:"Confirmar contrase\xF1a",save_cont:"Guardar y continuar",company_info:"Informaci\xF3n de la empresa",company_info_desc:"Esta informaci\xF3n se mostrar\xE1 en las facturas. Tenga en cuenta que puede editar esto m\xE1s adelante en la p\xE1gina de configuraci\xF3n.",company_name:"nombre de empresa",company_logo:"Logo de la compa\xF1\xEDa",logo_preview:"Vista previa del logotipo",preferences:"Preferencias",preferences_desc:"Preferencias predeterminadas para el sistema.",country:"Pa\xEDs",state:"Estado",city:"Ciudad",address:"Direcci\xF3n",street:"Calle1 | Calle2",phone:"Tel\xE9fono",zip_code:"C\xF3digo postal",go_back:"Regresa",currency:"Moneda",language:"Idioma",time_zone:"Zona horaria",fiscal_year:"A\xF1o financiero",date_format:"Formato de fecha",from_address:"Desde la Direcci\xF3n",username:"Nombre de usuario",next:"Siguiente",continue:"Continuar",skip:"Saltar",database:{database:"URL del sitio y base de datose",connection:"Conexi\xF3n de base de datos",host:"Host de la base de datos",port:"Puerto de la base de datos",password:"Contrase\xF1a de la base de datos",app_url:"URL de la aplicaci\xF3n",app_domain:"Dominio",username:"Nombre de usuario de la base de datos",db_name:"Nombre de la base de datos",db_path:"Ruta de la base de datos",desc:"Cree una base de datos en su servidor y establezca las credenciales utilizando el siguiente formulario."},permissions:{permissions:"Permisos",permission_confirm_title:"\xBFEst\xE1s seguro de que quieres continuar?",permission_confirm_desc:"Error de verificaci\xF3n de permisos de carpeta",permission_desc:"A continuaci\xF3n se muestra la lista de permisos de carpeta necesarios para que la aplicaci\xF3n funcione. Si la verificaci\xF3n de permisos falla, aseg\xFArese de actualizar los permisos de su carpeta."},mail:{host:"Host de correo",port:"Puerto de correo",driver:"Conductor de correo",secret:"Secreto",mailgun_secret:"Mailgun Secreto",mailgun_domain:"Dominio",mailgun_endpoint:"Mailgun endpoint",ses_secret:"Secreto SES",ses_key:"Clave SES",password:"Contrase\xF1a de correo",username:"Nombre de usuario de correo",mail_config:"Configuraci\xF3n de correo",from_name:"Del nombre del correo",from_mail:"Desde la direcci\xF3n de correo",encryption:"Cifrado de correo",mail_config_desc:"Los detalles a continuaci\xF3n se utilizar\xE1n para actualizar el entorno de correo. Tambi\xE9n puede cambiar los detalles en cualquier momento despu\xE9s de iniciar sesi\xF3n."},req:{system_req:"Requisitos del sistema",php_req_version:"Php (versi\xF3n {version} necesario)",check_req:"Consultar requisitos",system_req_desc:"Crater tiene algunos requisitos de servidor. Aseg\xFArese de que su servidor tenga la versi\xF3n de php requerida y todas las extensiones mencionadas a continuaci\xF3n."},errors:{migrate_failed:"La migraci\xF3n fall\xF3",database_variables_save_error:"No se puede conectar a la base de datos con los valores proporcionados.",mail_variables_save_error:"La configuraci\xF3n del correo electr\xF3nico ha fallado.",connection_failed:"Conexi\xF3n de base de datos fallida",database_should_be_empty:"La base de datos debe estar vac\xEDa"},success:{mail_variables_save_successfully:"Correo electr\xF3nico configurado correctamente",database_variables_save_successfully:"Base de datos configurada con \xE9xito."}},bi={invalid_phone:"Numero de telefono invalido",invalid_url:"URL no v\xE1lida (por ejemplo, http://www.crater.com)",invalid_domain_url:"URL no v\xE1lida (por ejemplo, crater.com)",required:"Se requiere campo",email_incorrect:"Email incorrecto.",email_already_taken:"Este email ya est\xE1 en uso",email_does_not_exist:"El usuario con el correo electr\xF3nico dado no existe",item_unit_already_taken:"El nombre de la unidad ya est\xE1 en uso",payment_mode_already_taken:"El modo de pago ya ha sido tomado",send_reset_link:"Enviar enlace de restablecimiento",not_yet:"\xBFA\xFAn no? Env\xEDalo de nuevo",password_min_length:"La contrase\xF1a debe contener {count} caracteres",name_min_length:"El nombre debe tener al menos {count} letras.",enter_valid_tax_rate:"Ingrese una tasa impositiva v\xE1lida",numbers_only:"Solo n\xFAmeros.",characters_only:"Solo caracteres.",password_incorrect:"Las contrase\xF1as deben ser id\xE9nticas",password_length:"La contrase\xF1a debe tener 5 caracteres de longitud.",qty_must_greater_than_zero:"La cantidad debe ser mayor que cero.",price_greater_than_zero:"El precio debe ser mayor que cero.",payment_greater_than_zero:"El pago debe ser mayor que cero.",payment_greater_than_due_amount:"El pago ingresado es mayor a la cantidad debida de esta factura.",quantity_maxlength:"La cantidad no debe ser mayor de 20 d\xEDgitos.",price_maxlength:"El precio no debe ser mayor de 20 d\xEDgitos.",price_minvalue:"El precio debe ser mayor que 0 d\xEDgitos",amount_maxlength:"La cantidad no debe ser mayor de 20 d\xEDgitos.",amount_minvalue:"La cantidad debe ser mayor que 0 d\xEDgitos",description_maxlength:"La descripci\xF3n no debe tener m\xE1s de 255 caracteres.",subject_maxlength:"El asunto no debe tener m\xE1s de 100 caracteres.",message_maxlength:"El mensaje no debe tener m\xE1s de 255 caracteres.",maximum_options_error:"M\xE1ximo de {max} opciones seleccionadas. Primero elimine una opci\xF3n seleccionada para seleccionar otra.",notes_maxlength:"Las notas no deben tener m\xE1s de 255 caracteres.",address_maxlength:"La direcci\xF3n no debe tener m\xE1s de 255 caracteres.",ref_number_maxlength:"El n\xFAmero de referencia no debe tener m\xE1s de 255 caracteres.",prefix_maxlength:"El prefijo no debe tener m\xE1s de 5 caracteres.",something_went_wrong:"Algo fue mal"},ki="Presupuestar",wi="N\xFAmero de Presupuesto",xi="Fecha presupuesto",zi="Fecha de caducidad",Si="Factura",Pi="Numero de factura",ji="Fecha de la factura",Di="Fecha final",Ci="Notas",Ai="Art\xEDculos",Ni="Cantidad",Ei="Precio",Ti="Descuento",Ii="Cantidad",$i="Subtotal",Ri="Total",Fi="Payment",Mi="RECIBO DE PAGO",Bi="Fecha de pago",Vi="Numero de pago",Oi="Modo de pago",Li="Monto Recibido",Ui="INFORME DE GASTOS",Ki="GASTO TOTAL",qi="INFORME PERDIDAS & GANANCIAS",Wi="Sales Customer Report",Zi="Sales Item Report",Hi="Tax Summary Report",Gi="INGRESO",Yi="GANANCIA NETA",Ji="Informe de ventas: Por cliente",Xi="VENTAS TOTALES",Qi="Informe de ventas: por art\xEDculo",eo="INFORME DE IMPUESTOS",to="TOTAL IMPUESTOS",ao="Tipos de impuestos",so="Gastos",no="Cobrar a,",io="Enviar a,",oo="Recibido desde:",ro="Imposto";var lo={navigation:ni,general:ii,dashboard:oi,tax_types:ri,global_search:di,customers:li,items:ci,estimates:_i,invoices:ui,payments:mi,expenses:pi,login:gi,users:fi,reports:hi,settings:vi,wizard:yi,validation:bi,pdf_estimate_label:ki,pdf_estimate_number:wi,pdf_estimate_date:xi,pdf_estimate_expire_date:zi,pdf_invoice_label:Si,pdf_invoice_number:Pi,pdf_invoice_date:ji,pdf_invoice_due_date:Di,pdf_notes:Ci,pdf_items_label:Ai,pdf_quantity_label:Ni,pdf_price_label:Ei,pdf_discount_label:Ti,pdf_amount_label:Ii,pdf_subtotal:$i,pdf_total:Ri,pdf_payment_label:Fi,pdf_payment_receipt_label:Mi,pdf_payment_date:Bi,pdf_payment_number:Vi,pdf_payment_mode:Oi,pdf_payment_amount_received_label:Li,pdf_expense_report_label:Ui,pdf_total_expenses_label:Ki,pdf_profit_loss_label:qi,pdf_sales_customers_label:Wi,pdf_sales_items_label:Zi,pdf_tax_summery_label:Hi,pdf_income_label:Gi,pdf_net_profit_label:Yi,pdf_customer_sales_report:Ji,pdf_total_sales_label:Xi,pdf_item_sales_label:Qi,pdf_tax_report_label:eo,pdf_total_tax_label:to,pdf_tax_types_label:ao,pdf_expenses_label:so,pdf_bill_to:no,pdf_ship_to:io,pdf_received_from:oo,pdf_tax_label:ro};const co={dashboard:"\u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",customers:"\u0627\u0644\u0639\u0645\u0644\u0627\u0621",items:"\u0627\u0644\u0623\u0635\u0646\u0627\u0641",invoices:"\u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631",expenses:"\u0627\u0644\u0646\u0641\u0642\u0627\u062A",estimates:"\u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A",payments:"\u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A",reports:"\u0627\u0644\u062A\u0642\u0627\u0631\u064A\u0631",settings:"\u0627\u0644\u0625\u0639\u062F\u0627\u062F\u0627\u062A",logout:"\u062E\u0631\u0648\u062C",users:"\u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645\u0648\u0646"},_o={add_company:"\u0623\u0636\u0641 \u0634\u0631\u0643\u0629",view_pdf:"\u0639\u0631\u0636 PDF",copy_pdf_url:"Copy PDF Url",download_pdf:"\u062A\u0646\u0632\u064A\u0644 PDF",save:"\u062D\u0641\u0638",create:"\u062E\u0644\u0642",cancel:"\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0623\u0645\u0631",update:"\u062A\u062D\u062F\u064A\u062B",deselect:"Deselect",download:"\u062A\u0646\u0632\u064A\u0644",from_date:"\u0645\u0646 \u062A\u0627\u0631\u064A\u062E",to_date:"\u0625\u0644\u0649 \u062A\u0627\u0631\u064A\u062E",from:"\u0645\u0646",to:"\u0625\u0644\u0649",sort_by:"\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628",ascending:"\u062A\u0635\u0627\u0639\u062F\u064A",descending:"\u062A\u0646\u0627\u0632\u0644\u064A",subject:"\u0645\u0648\u0636\u0648\u0639",body:"\u0627\u0644\u062C\u0633\u0645",message:"\u0631\u0633\u0627\u0644\u0629",send:"\u0625\u0631\u0633\u0627\u0644",go_back:"\u0625\u0644\u0649 \u0627\u0644\u062E\u0644\u0641",back_to_login:"\u0627\u0644\u0639\u0648\u062F\u0629 \u0625\u0644\u0649 \u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644\u061F",home:"\u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",filter:"\u062A\u0635\u0641\u064A\u0629",delete:"\u062D\u0630\u0641",edit:"\u062A\u0639\u062F\u064A\u0644",view:"\u0639\u0631\u0636",add_new_item:"\u0625\u0636\u0627\u0641\u0629 \u0635\u0646\u0641 \u062C\u062F\u064A\u062F",clear_all:"\u0645\u0633\u062D \u0627\u0644\u0643\u0644",showing:"\u0639\u0631\u0636",of:"\u0645\u0646",actions:"\u0627\u0644\u0639\u0645\u0644\u064A\u0627\u062A",subtotal:"\u0627\u0644\u0645\u062C\u0645\u0648\u0639 \u0627\u0644\u0641\u0631\u0639\u064A",discount:"\u062E\u0635\u0645",fixed:"\u062B\u0627\u0628\u062A",percentage:"\u0646\u0633\u0628\u0629",tax:"\u0636\u0631\u064A\u0628\u0629",total_amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0625\u062C\u0645\u0627\u0644\u064A",bill_to:"\u0645\u0637\u0644\u0648\u0628 \u0645\u0646",ship_to:"\u064A\u0634\u062D\u0646 \u0625\u0644\u0649",due:"\u0648\u0627\u062C\u0628\u0629 \u0627\u0644\u0633\u062F\u0627\u062F",draft:"\u0645\u0633\u0648\u062F\u0629",sent:"\u0645\u0631\u0633\u0644\u0629",all:"\u0627\u0644\u0643\u0644",select_all:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0644",choose_file:"\u0627\u0636\u063A\u0637 \u0647\u0646\u0627 \u0644\u0627\u062E\u062A\u064A\u0627\u0631 \u0645\u0644\u0641",choose_template:"\u0627\u062E\u062A\u064A\u0627\u0631 \u0627\u0644\u0642\u0627\u0644\u0628",choose:"\u0627\u062E\u062A\u0631",remove:"\u0625\u0632\u0627\u0644\u0629",powered_by:"\u062A\u0635\u0645\u064A\u0645",bytefury:"\u0628\u0627\u062A\u0631\u0641\u0648\u0631\u064A",select_a_status:"\u0627\u062E\u062A\u0631 \u0627\u0644\u062D\u0627\u0644\u0629",select_a_tax:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0636\u0631\u064A\u0628\u0629",search:"\u0628\u062D\u062B",are_you_sure:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F?",list_is_empty:"\u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0641\u0627\u0631\u063A\u0629.",no_tax_found:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0636\u0631\u064A\u0628\u0629!",four_zero_four:"404",you_got_lost:"\u0639\u0641\u0648\u0627\u064B! \u064A\u0628\u062F\u0648 \u0623\u0646\u0643 \u0642\u062F \u062A\u0647\u062A!",go_home:"\u0639\u0648\u062F\u0629 \u0625\u0644\u0649 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",test_mail_conf:"\u0627\u062E\u062A\u0628\u0627\u0631 \u062A\u0643\u0648\u064A\u0646 \u0627\u0644\u0628\u0631\u064A\u062F",send_mail_successfully:"\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0628\u0631\u064A\u062F \u0628\u0646\u062C\u0627\u062D",setting_updated:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0628\u0646\u062C\u0627\u062D",select_state:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0648\u0644\u0627\u064A\u0629/\u0627\u0644\u0645\u0646\u0637\u0642\u0629",select_country:"\u0627\u062E\u062A\u0631 \u0627\u0644\u062F\u0648\u0644\u0629",select_city:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0645\u062F\u064A\u0646\u0629",street_1:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0627\u0631\u0639 1",street_2:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0627\u0631\u0639 2",action_failed:"\u0641\u0634\u0644\u062A \u0627\u0644\u0639\u0645\u0644\u064A\u0629",retry:"\u0623\u0639\u062F \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629",choose_note:"\u0627\u062E\u062A\u0631 \u0645\u0644\u0627\u062D\u0638\u0629",no_note_found:"\u0644\u0645 \u064A\u062A\u0645 \u0627\u0644\u0639\u062B\u0648\u0631 \u0639\u0644\u0649 \u0627\u0644\u0645\u0644\u0627\u062D\u0638\u0629",insert_note:"\u0623\u062F\u062E\u0644 \u0645\u0644\u0627\u062D\u0638\u0629"},uo={select_year:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0633\u0646\u0629",cards:{due_amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",customers:"\u0627\u0644\u0639\u0645\u0644\u0627\u0621",invoices:"\u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631",estimates:"\u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A"},chart_info:{total_sales:"\u0627\u0644\u0645\u0628\u064A\u0639\u0627\u062A",total_receipts:"\u0625\u062C\u0645\u0627\u0644\u064A \u0627\u0644\u062F\u062E\u0644",total_expense:"\u0627\u0644\u0646\u0641\u0642\u0627\u062A",net_income:"\u0635\u0627\u0641\u064A \u0627\u0644\u062F\u062E\u0644",year:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0633\u0646\u0629"},monthly_chart:{title:"\u0627\u0644\u0645\u0628\u064A\u0639\u0627\u062A \u0648\u0627\u0644\u0646\u0641\u0642\u0627\u062A"},recent_invoices_card:{title:"\u0641\u0648\u0627\u062A\u064A\u0631 \u0645\u0633\u062A\u062D\u0642\u0629",due_on:"\u0645\u0633\u062A\u062D\u0642\u0629 \u0641\u064A",customer:"\u0627\u0644\u0639\u0645\u064A\u0644",amount_due:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",actions:"\u0627\u0644\u0639\u0645\u0644\u064A\u0627\u062A",view_all:"\u0639\u0631\u0636 \u0627\u0644\u0643\u0644"},recent_estimate_card:{title:"\u0623\u062D\u062F\u062B \u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A",date:"\u0627\u0644\u062A\u0627\u0631\u064A\u062E",customer:"\u0627\u0644\u0639\u0645\u064A\u0644",amount_due:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",actions:"\u0627\u0644\u0639\u0645\u0644\u064A\u0627\u062A",view_all:"\u0639\u0631\u0636 \u0627\u0644\u0643\u0644"}},mo={name:"\u0627\u0644\u0627\u0633\u0645",description:"\u0627\u0644\u0648\u0635\u0641",percent:"\u0646\u0633\u0628\u0647 \u0645\u0626\u0648\u064A\u0647",compound_tax:"\u0627\u0644\u0636\u0631\u064A\u0628\u0629 \u0627\u0644\u0645\u0631\u0643\u0628\u0629"},po={search:"\u0628\u062D\u062B...",customers:"\u0627\u0644\u0639\u0645\u0644\u0627\u0621",users:"\u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645\u0648\u0646",no_results_found:"\u0644\u0645 \u064A\u062A\u0645 \u0627\u0644\u0639\u062B\u0648\u0631 \u0639\u0644\u0649 \u0646\u062A\u0627\u0626\u062C"},go={title:"\u0627\u0644\u0639\u0645\u0644\u0627\u0621",add_customer:"\u0625\u0636\u0627\u0641\u0629 \u0639\u0645\u064A\u0644",contacts_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0639\u0645\u0644\u0627\u0621",name:"\u0627\u0644\u0627\u0633\u0645",mail:"\u0627\u0644\u0628\u0631\u064A\u062F",statement:"\u0627\u0644\u0628\u064A\u0627\u0646",display_name:"\u0627\u0633\u0645 \u0627\u0644\u0639\u0631\u0636",primary_contact_name:"\u0627\u0633\u0645 \u0627\u0644\u062A\u0648\u0627\u0635\u0644 \u0627\u0644\u0631\u0626\u064A\u0633\u064A",contact_name:"\u0627\u0633\u0645 \u062A\u0648\u0627\u0635\u0644 \u0622\u062E\u0631",amount_due:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",email:"\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",address:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",phone:"\u0627\u0644\u0647\u0627\u062A\u0641",website:"\u0645\u0648\u0642\u0639 \u0627\u0644\u0625\u0646\u062A\u0631\u0646\u062A",overview:"\u0627\u0633\u062A\u0639\u0631\u0627\u0636",enable_portal:"Enable Portal",country:"\u0627\u0644\u062F\u0648\u0644\u0629",state:"\u0627\u0644\u0648\u0644\u0627\u064A\u0629/\u0627\u0644\u0645\u0646\u0637\u0642\u0629",city:"\u0627\u0644\u0645\u062F\u064A\u0646\u0629",zip_code:"\u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0628\u0631\u064A\u062F\u064A",added_on:"\u0623\u0636\u064A\u0641 \u0641\u064A",action:"\u0625\u062C\u0631\u0627\u0621",password:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",street_number:"\u0631\u0642\u0645 \u0627\u0644\u0634\u0627\u0631\u0639",primary_currency:"\u0627\u0644\u0639\u0645\u0644\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",description:"\u0627\u0644\u0648\u0635\u0641",add_new_customer:"\u0625\u0636\u0627\u0641\u0629 \u0639\u0645\u064A\u0644 \u062C\u062F\u064A\u062F",save_customer:"\u062D\u0641\u0638 \u0627\u0644\u0639\u0645\u064A\u0644",update_customer:"\u062A\u062D\u062F\u064A\u062B \u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0639\u0645\u064A\u0644",customer:"\u0639\u0645\u064A\u0644 | \u0639\u0645\u0644\u0627\u0621",new_customer:"\u0639\u0645\u064A\u0644 \u062C\u062F\u064A\u062F",edit_customer:"\u062A\u0639\u062F\u064A\u0644 \u0639\u0645\u064A\u0644",basic_info:"\u0645\u0639\u0644\u0648\u0627\u062A \u0623\u0633\u0627\u0633\u064A\u0629",billing_address:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0641\u0648\u062A\u0631\u0629",shipping_address:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u062D\u0646",copy_billing_address:"\u0646\u0633\u062E \u0645\u0646 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0641\u0648\u062A\u0631\u0629",no_customers:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0639\u0645\u0644\u0627\u0621 \u062D\u062A\u0649 \u0627\u0644\u0622\u0646!",no_customers_found:"\u0644\u0645 \u064A\u062A\u0645 \u0627\u0644\u062D\u0635\u0648\u0644 \u0639\u0644\u0649 \u0639\u0645\u0644\u0627\u0621!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"\u0633\u0648\u0641 \u064A\u062D\u062A\u0648\u064A \u0647\u0630\u0627 \u0627\u0644\u0642\u0633\u0645 \u0639\u0644\u0649 \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0639\u0645\u0644\u0627\u0621.",primary_display_name:"\u0627\u0633\u0645 \u0627\u0644\u0639\u0631\u0636 \u0627\u0644\u0631\u0626\u064A\u0633\u064A",select_currency:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0639\u0645\u0644\u0629",select_a_customer:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0639\u0645\u064A\u0644",type_or_click:"\u0627\u0643\u062A\u0628 \u0623\u0648 \u0627\u0636\u063A\u0637 \u0644\u0644\u0627\u062E\u062A\u064A\u0627\u0631",new_transaction:"\u0645\u0639\u0627\u0645\u0644\u0629 \u062C\u062F\u064A\u062F\u0629",no_matching_customers:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0639\u0645\u0644\u0627\u0621 \u0645\u0637\u0627\u0628\u0642\u064A\u0646!",phone_number:"\u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062A\u0641",create_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0625\u0646\u0634\u0627\u0621",confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062F\u0627\u062F \u0647\u0630\u0627 \u0627\u0644\u0639\u0645\u064A\u0644 \u0648\u062C\u0645\u064A\u0639 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631 \u0648\u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A \u0648\u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A \u0630\u0627\u062A \u0627\u0644\u0635\u0644\u0629. | \u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062F\u0627\u062F \u0647\u0624\u0644\u0627\u0621 \u0627\u0644\u0639\u0645\u0644\u0627\u0621 \u0648\u062C\u0645\u064A\u0639 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631 \u0648\u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A \u0648\u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A \u0630\u0627\u062A \u0627\u0644\u0635\u0644\u0629.",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0639\u0645\u0644\u0627\u0621 \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0639\u0645\u0644\u0627\u0621 \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0639\u0645\u0644\u0627\u0621 \u0628\u0646\u062C\u0627\u062D | \u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0639\u0645\u064A\u0644 \u0628\u0646\u062C\u0627\u062D"},fo={title:"\u0627\u0644\u0623\u0635\u0646\u0627\u0641",items_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0623\u0635\u0646\u0627\u0641",name:"\u0627\u0644\u0627\u0633\u0645",unit:"\u0627\u0644\u0648\u062D\u062F\u0629",description:"\u0627\u0644\u0648\u0635\u0641",added_on:"\u0623\u0636\u064A\u0641 \u0641\u064A",price:"\u0627\u0644\u0633\u0639\u0631",date_of_creation:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0625\u0646\u0634\u0627\u0621",not_selected:"No item selected",action:"\u0625\u062C\u0631\u0627\u0621",add_item:"\u0625\u0636\u0627\u0641\u0629 \u0635\u0646\u0641",save_item:"\u062D\u0641\u0638 \u0627\u0644\u0635\u0646\u0641",update_item:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0635\u0646\u0641",item:"\u0635\u0646\u0641 | \u0623\u0635\u0646\u0627\u0641",add_new_item:"\u0625\u0636\u0627\u0641\u0629 \u0635\u0646\u0641 \u062C\u062F\u064A\u062F",new_item:"\u062C\u062F\u064A\u062F \u0635\u0646\u0641",edit_item:"\u062A\u062D\u062F\u064A\u062B \u0635\u0646\u0641",no_items:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0623\u0635\u0646\u0627\u0641 \u062D\u062A\u0649 \u0627\u0644\u0622\u0646!",list_of_items:"\u0647\u0630\u0627 \u0627\u0644\u0642\u0633\u0645 \u0633\u0648\u0641 \u064A\u062D\u062A\u0648\u064A \u0639\u0644\u0649 \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0623\u0635\u0646\u0627\u0641.",select_a_unit:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0648\u062D\u062F\u0629",taxes:"\u0627\u0644\u0636\u0631\u0627\u0626\u0628",item_attached_message:"\u0644\u0627 \u064A\u0645\u0643\u0646 \u062D\u0630\u0641 \u0627\u0644\u0635\u0646\u0641 \u0642\u064A\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645",confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0647\u0630\u0627 \u0627\u0644\u0635\u0646\u0641 | \u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0647\u0630\u0647 \u0627\u0644\u0623\u0635\u0646\u0627\u0641",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0635\u0646\u0641 \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0635\u0646\u0641 \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0635\u0646\u0641 \u0628\u0646\u062C\u0627\u062D | \u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0623\u0635\u0646\u0627\u0641 \u0628\u0646\u062C\u0627\u062D"},ho={title:"\u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A",estimate:"\u062A\u0642\u062F\u064A\u0631 | \u062A\u0642\u062F\u064A\u0631\u0627\u062A",estimates_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A",days:"{days} \u0623\u064A\u0627\u0645",months:"{months} \u0623\u0634\u0647\u0631",years:"{years} \u0633\u0646\u0648\u0627\u062A",all:"\u0627\u0644\u0643\u0644",paid:"\u0645\u062F\u0641\u0648\u0639",unpaid:"\u063A\u064A\u0631 \u0645\u062F\u0641\u0648\u0639",customer:"\u0627\u0644\u0639\u0645\u064A\u0644",ref_no:"\u0631\u0642\u0645 \u0627\u0644\u0645\u0631\u062C\u0639.",number:"\u0627\u0644\u0631\u0642\u0645",amount_due:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",partially_paid:"\u0645\u062F\u0641\u0648\u0639 \u062C\u0632\u0626\u064A\u0627",total:"\u0627\u0644\u0625\u062C\u0645\u0627\u0644\u064A",discount:"\u0627\u0644\u062E\u0635\u0645",sub_total:"\u062D\u0627\u0635\u0644 \u0627\u0644\u062C\u0645\u0639",estimate_number:"\u0631\u0642\u0645 \u062A\u0642\u062F\u064A\u0631",ref_number:"\u0631\u0642\u0645 \u0627\u0644\u0645\u0631\u062C\u0639",contact:"\u062A\u0648\u0627\u0635\u0644",add_item:"\u0625\u0636\u0627\u0641\u0629 \u0635\u0646\u0641",date:"\u062A\u0627\u0631\u064A\u062E",due_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0627\u0633\u062A\u062D\u0642\u0627\u0642",expiry_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0635\u0644\u0627\u062D\u064A\u0629",status:"\u0627\u0644\u062D\u0627\u0644\u0629",add_tax:"\u0625\u0636\u0627\u0641\u0629 \u0636\u0631\u064A\u0629",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",action:"\u0625\u062C\u0631\u0627\u0621",notes:"\u0645\u0644\u0627\u062D\u0638\u0627\u062A",tax:"\u0636\u0631\u064A\u0628\u0629",estimate_template:"\u0642\u0627\u0644\u0628",convert_to_invoice:"\u062A\u062D\u0648\u064A\u0644 \u0625\u0644\u0649 \u0641\u0627\u062A\u0648\u0631\u0629",mark_as_sent:"\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0631\u0633\u0644",send_estimate:"\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",resend_estimate:"\u0625\u0639\u0627\u062F\u0629 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",record_payment:"\u062A\u0633\u062C\u064A\u0644 \u0645\u062F\u0641\u0648\u0627\u062A",add_estimate:"\u0625\u0636\u0627\u0641\u0629 \u062A\u0642\u062F\u064A\u0631",save_estimate:"\u062D\u0641\u0638 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",confirm_conversion:"\u0647\u0644 \u062A\u0631\u064A\u062F \u062A\u062D\u0648\u064A\u0644 \u0647\u0630\u0627 \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0625\u0644\u0649 \u0641\u0627\u062A\u0648\u0631\u0629\u061F",conversion_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0646\u062C\u0627\u062D",confirm_send_estimate:"\u0633\u064A\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0647\u0630\u0627 \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0628\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0625\u0644\u0649 \u0627\u0644\u0639\u0645\u064A\u0644",confirm_mark_as_sent:"\u0633\u064A\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0631\u0633\u0644 \u0639\u0644\u0649 \u0647\u0630\u0627 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",confirm_mark_as_accepted:"\u0633\u064A\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0642\u0628\u0648\u0644 \u0639\u0644\u0649 \u0647\u0630\u0627 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",confirm_mark_as_rejected:"\u0633\u064A\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0631\u0641\u0648\u0636 \u0639\u0644\u0649 \u0647\u0630\u0627 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",no_matching_estimates:"\u0644\u0627 \u064A\u0648\u062C\u062F \u062A\u0642\u062F\u064A\u0631\u0627\u062A \u0645\u0637\u0627\u0628\u0642\u0629!",mark_as_sent_successfully:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0631\u0633\u0644 \u0628\u0646\u062C\u0627\u062D",send_estimate_successfully:"\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0628\u0646\u062C\u0627\u062D",errors:{required:"\u062D\u0642\u0644 \u0645\u0637\u0644\u0648\u0628"},accepted:"\u0645\u0642\u0628\u0648\u0644",rejected:"Rejected",sent:"\u0645\u0631\u0633\u0644",draft:"\u0645\u0633\u0648\u062F\u0629",declined:"\u0645\u0631\u0641\u0648\u0636",new_estimate:"\u062A\u0642\u062F\u064A\u0631 \u062C\u062F\u064A\u062F",add_new_estimate:"\u0625\u0636\u0627\u0641\u0629 \u062A\u0642\u062F\u064A\u0631 \u062C\u062F\u064A\u062F",update_Estimate:"\u062A\u062D\u062F\u064A\u062B \u062A\u0642\u062F\u064A\u0631",edit_estimate:"\u062A\u0639\u062F\u064A\u0644 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",items:"\u0627\u0644\u0623\u0635\u0646\u0627\u0641",Estimate:"\u062A\u0642\u062F\u064A\u0631 | \u062A\u0642\u062F\u064A\u0631\u0627\u062A",add_new_tax:"\u0625\u0636\u0627\u0641\u0629 \u0636\u0631\u064A\u0628\u0629 \u062C\u062F\u064A\u062F\u0629",no_estimates:"\u0644\u0627 \u064A\u0648\u062C\u062F \u062A\u0642\u062F\u064A\u0631\u0627\u062A \u062D\u0627\u0644\u064A\u0627\u064B!",list_of_estimates:"\u0647\u0630\u0627 \u0627\u0644\u0642\u0633\u0645 \u0633\u0648\u0641 \u064A\u062D\u062A\u0648\u064A \u0639\u0644\u0649 \u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A.",mark_as_rejected:"\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0631\u0641\u0648\u0636",mark_as_accepted:"\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0642\u0631\u0648\u0621",marked_as_accepted_message:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0643\u0645\u0642\u0628\u0648\u0644",marked_as_rejected_message:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0643\u0645\u0631\u0641\u0648\u0636",confirm_delete:"\u0644\u0646 \u062A\u0633\u062A\u0637\u064A\u0639 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0647\u0630\u0627 \u0627\u0644\u062A\u0642\u062F\u064A\u0631 | \u0644\u0646 \u062A\u0633\u062A\u0637\u064A\u0639 \u0625\u0633\u062A\u0639\u0627\u062F\u0629 \u0647\u0630\u0647 \u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0628\u0646\u062C\u0627\u062D | \u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A \u0628\u0646\u062C\u0627\u062D",something_went_wrong:"\u062E\u0637\u0623 \u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641!",item:{title:"\u0627\u0633\u0645 \u0627\u0644\u0635\u0646\u0641",description:"\u0627\u0644\u0648\u0635\u0641",quantity:"\u0627\u0644\u0643\u0645\u064A\u0629",price:"\u0627\u0644\u0633\u0639\u0631",discount:"\u0627\u0644\u062E\u0635\u0645",total:"\u0627\u0644\u0625\u062C\u0645\u0627\u0644\u064A",total_discount:"\u0645\u062C\u0645\u0648\u0639 \u0627\u0644\u062E\u0635\u0645",sub_total:"\u062D\u0627\u0635\u0644 \u0627\u0644\u062C\u0645\u0639",tax:"\u0627\u0644\u0636\u0631\u064A\u0629",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",select_an_item:"\u0627\u0643\u062A\u0628 \u0623\u0648 \u0627\u062E\u062A\u0631 \u0627\u0644\u0635\u0646\u0641",type_item_description:"\u0627\u0643\u062A\u0628 \u0648\u0635\u0641 \u0627\u0644\u0635\u0646\u0641 (\u0627\u062E\u062A\u064A\u0627\u0631\u064A)"}},vo={title:"\u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631",invoices_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631",days:"{days} \u0623\u064A\u0627\u0645",months:"{months} \u0623\u0634\u0647\u0631",years:"{years} \u0633\u0646\u0648\u0627\u062A",all:"\u0627\u0644\u0643\u0644",paid:"\u0645\u062F\u0641\u0648\u0639",unpaid:"\u063A\u064A\u0631 \u0645\u062F\u0641\u0648\u0639",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"\u0627\u0644\u0639\u0645\u064A\u0644",paid_status:"\u062D\u0627\u0644\u0629 \u0627\u0644\u062F\u0641\u0639",ref_no:"\u0631\u0642\u0645 \u0627\u0644\u0645\u0631\u062C\u0639.",number:"\u0627\u0644\u0631\u0642\u0645",amount_due:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",partially_paid:"\u0645\u062F\u0641\u0648\u0639 \u062C\u0632\u0626\u064A\u0627\u064B",total:"\u0627\u0644\u0625\u062C\u0645\u0627\u0644\u064A",discount:"\u0627\u0644\u062E\u0635\u0645",sub_total:"\u062D\u0627\u0635\u0644 \u0627\u0644\u062C\u0645\u0639",invoice:"\u0641\u0627\u062A\u0648\u0631\u0629 | \u0641\u0648\u0627\u062A\u064A\u0631",invoice_number:"\u0631\u0642\u0645 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",ref_number:"\u0631\u0642\u0645 \u0627\u0644\u0645\u0631\u062C\u0639",contact:"\u062A\u0648\u0627\u0635\u0644",add_item:"\u0625\u0636\u0627\u0641\u0629 \u0635\u0646\u0641",date:"\u0627\u0644\u062A\u0627\u0631\u064A\u062E",due_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0627\u0633\u062A\u062D\u0642\u0627\u0642",status:"\u0627\u0644\u062D\u0627\u0644\u0629",add_tax:"\u0625\u0636\u0627\u0641\u0629 \u0636\u0631\u064A\u0628\u0629",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",action:"\u0625\u062C\u0631\u0627\u0621",notes:"\u0645\u0644\u0627\u062D\u0638\u0627\u062A",view:"\u0639\u0631\u0636",send_invoice:"\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",resend_invoice:"\u0625\u0639\u0627\u062F\u0629 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",invoice_template:"\u0642\u0627\u0644\u0628 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",template:"\u0642\u0627\u0644\u0628",mark_as_sent:"\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0631\u0633\u0644",confirm_send_invoice:"\u0633\u064A\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0647\u0630\u0647 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0623\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0625\u0644\u0649 \u0627\u0644\u0639\u0645\u064A\u0644",invoice_mark_as_sent:"\u0633\u064A\u062A\u0645 \u062A\u062D\u062F\u064A\u062F \u0647\u0630\u0647 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0643\u0645\u0631\u0633\u0644\u0629",confirm_send:"\u0633\u064A\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0647\u0630\u0647 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0623\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0625\u0644\u0649 \u0627\u0644\u0639\u0645\u064A\u0644",invoice_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",record_payment:"\u062A\u0633\u062C\u064A\u0644 \u0645\u062F\u0641\u0648\u0639\u0627\u062A",add_new_invoice:"\u0625\u0636\u0627\u0641\u0629 \u0641\u0627\u062A\u0648\u0631\u0629 \u062C\u062F\u064A\u062F\u0629",update_expense:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0645\u0635\u0631\u0648\u0641\u0627\u062A",edit_invoice:"\u062A\u0639\u062F\u064A\u0644 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",new_invoice:"\u0641\u0627\u062A\u0648\u0631\u0629 \u062C\u062F\u064A\u062F\u0629",save_invoice:"\u062D\u0641\u0638 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",update_invoice:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",add_new_tax:"\u0625\u0636\u0627\u0641\u0629 \u0636\u0631\u064A\u0628\u0629 \u062C\u062F\u064A\u062F\u0629",no_invoices:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0641\u0648\u0627\u062A\u064A\u0631 \u062D\u062A\u0649 \u0627\u0644\u0622\u0646!",list_of_invoices:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631 .",select_invoice:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",no_matching_invoices:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0641\u0648\u0627\u062A\u064A\u0631 \u0645\u0637\u0627\u0628\u0642\u0629!",mark_as_sent_successfully:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0643\u0645\u0631\u0633\u0644\u0629 \u0628\u0646\u062C\u0627\u062D",invoice_sent_successfully:"\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0646\u062C\u0627\u062D",cloned_successfully:"\u062A\u0645 \u0627\u0633\u062A\u0646\u0633\u0627\u062E \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0646\u062C\u0627\u062D",clone_invoice:"\u0627\u0633\u062A\u0646\u0633\u0627\u062E \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",confirm_clone:"\u0633\u064A\u062A\u0645 \u0627\u0633\u062A\u0646\u0633\u0627\u062E \u0647\u0630\u0647 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0641\u064A \u0641\u0627\u062A\u0648\u0631\u0629 \u062C\u062F\u064A\u062F\u0629",item:{title:"\u0627\u0633\u0645 \u0627\u0644\u0635\u0646\u0641",description:"\u0627\u0644\u0648\u0635\u0641",quantity:"\u0627\u0644\u0643\u0645\u064A\u0629",price:"\u0627\u0644\u0633\u0639\u0631",discount:"\u0627\u0644\u062E\u0635\u0645",total:"\u0627\u0644\u0625\u062C\u0645\u0627\u0644\u064A",total_discount:"\u0625\u062C\u0645\u0627\u0644\u064A \u0627\u0644\u062E\u0635\u0645",sub_total:"\u062D\u0627\u0635\u0644 \u0627\u0644\u062C\u0645\u0639",tax:"\u0627\u0644\u0636\u0631\u064A\u0628\u0629",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",select_an_item:"\u0627\u0643\u062A\u0628 \u0623\u0648 \u0627\u0646\u0642\u0631 \u0644\u0627\u062E\u062A\u064A\u0627\u0631 \u0635\u0646\u0641",type_item_description:"\u0648\u0635\u0641 \u0627\u0644\u0635\u0646\u0641 (\u0627\u062E\u062A\u064A\u0627\u0631\u064A)"},confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0639\u062F \u0647\u0630\u0647 \u0627\u0644\u0625\u062C\u0631\u0627\u0621 | \u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631 \u0628\u0639\u062F \u0647\u0630\u0627 \u0627\u0644\u0625\u062C\u0631\u0627\u0621",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0646\u062C\u0627\u062D | \u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631 \u0628\u0646\u062C\u0627\u062D",marked_as_sent_message:"\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0646\u062C\u0627\u062D",something_went_wrong:"\u062E\u0637\u0623 \u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641!",invalid_due_amount_message:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0646\u0647\u0627\u0626\u064A \u0644\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0644\u0627 \u064A\u0645\u0643\u0646 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0623\u0642\u0644 \u0645\u0646 \u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628 \u0644\u0647\u0627. \u0631\u062C\u0627\u0621\u0627\u064B \u062D\u062F\u062B \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0623\u0648 \u0642\u0645 \u0628\u062D\u0630\u0641 \u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A \u0627\u0644\u0645\u0631\u062A\u0628\u0637\u0629 \u0628\u0647\u0627 \u0644\u0644\u0627\u0633\u062A\u0645\u0631\u0627\u0631."},yo={title:"\u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A",payments_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A",record_payment:"\u062A\u0633\u062C\u064A\u0644 \u062F\u0641\u0639\u0629",customer:"\u0627\u0644\u0639\u0645\u064A\u0644",date:"\u0627\u0644\u062A\u0627\u0631\u064A\u062E",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",action:"\u0625\u062C\u0631\u0627\u0621",payment_number:"\u0631\u0642\u0645 \u0627\u0644\u062F\u0641\u0639\u0629",payment_mode:"\u0646\u0648\u0639 \u0627\u0644\u062F\u0641\u0639\u0629",invoice:"\u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",note:"\u0645\u0644\u0627\u062D\u0638\u0629",add_payment:"\u0625\u0636\u0627\u0641\u0629 \u062F\u0641\u0639\u0629",new_payment:"\u062F\u0641\u0639\u0629 \u062C\u062F\u064A\u062F\u0629",edit_payment:"\u062A\u0639\u062F\u064A\u0644 \u0627\u0644\u062F\u0641\u0639\u0629",view_payment:"\u0639\u0631\u0636 \u0627\u0644\u062F\u0641\u0639\u0629",add_new_payment:"\u0625\u0636\u0627\u0641\u0629 \u062F\u0641\u0639\u0629 \u062C\u062F\u064A\u062F\u0629",send_payment_receipt:"Send Payment Receipt",send_payment:"\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u062F\u0641\u0639\u0629",save_payment:"\u062D\u0641\u0638 \u0627\u0644\u062F\u0641\u0639\u0629",update_payment:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u062F\u0641\u0639\u0629",payment:"\u062F\u0641\u0639\u0629 | \u0645\u062F\u0641\u0648\u0639\u0627\u062A",no_payments:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0645\u062F\u0641\u0648\u0639\u0627\u062A \u062D\u062A\u0649 \u0627\u0644\u0622\u0646!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u062F\u0641\u0648\u0639\u0627\u062A \u0645\u0637\u0627\u0628\u0642\u0629!",list_of_payments:"\u0633\u0648\u0641 \u062A\u062D\u062A\u0648\u064A \u0647\u0630\u0647 \u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0639\u0644\u0649 \u0645\u062F\u0641\u0648\u0639\u0627\u062A \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631.",select_payment_mode:"\u0627\u062E\u062A\u0631 \u0637\u0631\u064A\u0642\u0629 \u0627\u0644\u062F\u0641\u0639",confirm_mark_as_sent:"\u0633\u064A\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0631\u0633\u0644 \u0639\u0644\u0649 \u0647\u0630\u0627 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",confirm_send_payment:"This payment will be sent via email to the customer",send_payment_successfully:"Payment sent successfully",something_went_wrong:"\u062E\u0637\u0623 \u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641!",confirm_delete:"\u0644\u0646 \u062A\u0643\u0648\u0646 \u0642\u0627\u062F\u0631 \u0639\u0644\u0649 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0647\u0630\u0647 \u0627\u0644\u062F\u0641\u0639\u0629 | \u0644\u0646 \u062A\u0643\u0648\u0646 \u0642\u0627\u062F\u0631\u0627\u064B \u0639\u0644\u0649 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0647\u0630\u0647 \u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u062F\u0641\u0639\u0629 \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u062F\u0641\u0639\u0629 \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u062F\u0641\u0639\u0629 \u0628\u0646\u062C\u0627\u062D | \u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A \u0628\u0646\u062C\u0627\u062D",invalid_amount_message:"\u0642\u064A\u0645\u0629 \u0627\u0644\u062F\u0641\u0639\u0629 \u063A\u064A\u0631 \u0635\u062D\u064A\u062D\u0629!"},bo={title:"\u0627\u0644\u0646\u0641\u0642\u0627\u062A",expenses_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0646\u0641\u0642\u0627\u062A",select_a_customer:"\u062D\u062F\u062F \u0639\u0645\u064A\u0644\u0627\u064B",expense_title:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",customer:"\u0627\u0644\u0639\u0645\u064A\u0644",contact:"\u062A\u0648\u0627\u0635\u0644",category:"\u0627\u0644\u0641\u0626\u0629",from_date:"\u0645\u0646 \u062A\u0627\u0631\u064A\u062E",to_date:"\u062D\u062A\u0649 \u062A\u0627\u0631\u064A\u062E",expense_date:"\u0627\u0644\u062A\u0627\u0631\u064A\u062E",description:"\u0627\u0644\u0648\u0635\u0641",receipt:"\u0633\u0646\u062F \u0627\u0644\u0642\u0628\u0636",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",action:"\u0625\u062C\u0631\u0627\u0621",not_selected:"Not selected",note:"\u0645\u0644\u0627\u062D\u0638\u0629",category_id:"\u0631\u0645\u0632 \u0627\u0644\u0641\u0626\u0629",date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0646\u0641\u0642\u0627\u062A",add_expense:"\u0623\u0636\u0641 \u0646\u0641\u0642\u0627\u062A",add_new_expense:"\u0623\u0636\u0641 \u0646\u0641\u0642\u0627\u062A \u062C\u062F\u064A\u062F\u0629",save_expense:"\u062D\u0641\u0638 \u0627\u0644\u0646\u0641\u0642\u0627\u062A",update_expense:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u0641\u0642\u0627\u062A",download_receipt:"\u062A\u0646\u0632\u064A\u0644 \u0627\u0644\u0633\u0646\u062F",edit_expense:"\u062A\u0639\u062F\u064A\u0644 \u0627\u0644\u0646\u0641\u0642\u0627\u062A",new_expense:"\u0646\u0641\u0642\u0627\u062A \u062C\u062F\u064A\u062F\u0629",expense:"\u0625\u0646\u0641\u0627\u0642 | \u0646\u0641\u0642\u0627\u062A",no_expenses:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0646\u0641\u0642\u0627\u062A \u062D\u062A\u0649 \u0627\u0644\u0622\u0646!",list_of_expenses:"\u0647\u0630\u0647 \u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0633\u062A\u062D\u062A\u0648\u064A \u0627\u0644\u0646\u0641\u0642\u0627\u062A \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0643",confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0647\u0630\u0627 \u0627\u0644\u0625\u0646\u0641\u0627\u0642 | \u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0647\u0630\u0647 \u0627\u0644\u0646\u0641\u0642\u0627\u062A",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0646\u0641\u0642\u0627\u062A \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u0641\u0642\u0627\u062A \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0646\u0641\u0642\u0627\u062A \u0628\u0646\u062C\u0627\u062D",categories:{categories_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0641\u0626\u0627\u062A",title:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",name:"\u0627\u0644\u0627\u0633\u0645",description:"\u0627\u0644\u0648\u0635\u0641",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",actions:"\u0627\u0644\u0639\u0645\u0644\u064A\u0627\u062A",add_category:"\u0625\u0636\u0627\u0641\u0629 \u0641\u0626\u0645\u0629",new_category:"\u0641\u0626\u0629 \u062C\u062F\u064A\u062F\u0629",category:"\u0641\u0626\u0629 | \u0641\u0626\u0627\u062A",select_a_category:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0641\u0626\u0629"}},ko={email:"\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",password:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",forgot_password:"\u0646\u0633\u064A\u062A \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631\u061F",or_signIn_with:"\u0623\u0648 \u0633\u062C\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0628\u0648\u0627\u0633\u0637\u0629",login:"\u062F\u062E\u0648\u0644",register:"\u062A\u0633\u062C\u064A\u0644",reset_password:"\u0625\u0639\u0627\u062F\u0629 \u062A\u0639\u064A\u064A\u0646 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",password_reset_successfully:"\u062A\u0645 \u0625\u0639\u0627\u062F\u0629 \u062A\u0639\u064A\u064A\u0646 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0628\u0646\u062C\u0627\u062D",enter_email:"\u0623\u062F\u062E\u0644 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A",enter_password:"\u0623\u0643\u062A\u0628 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",retype_password:"\u0623\u0639\u062F \u0643\u062A\u0627\u0628\u0629 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631"},wo={title:"\u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645\u0648\u0646",users_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645\u064A\u0646",name:"\u0627\u0633\u0645",description:"\u0648\u0635\u0641",added_on:"\u0648\u0623\u0636\u0627\u0641 \u0641\u064A",date_of_creation:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u062E\u0644\u0642",action:"\u0639\u0645\u0644",add_user:"\u0625\u0636\u0627\u0641\u0629 \u0645\u0633\u062A\u062E\u062F\u0645",save_user:"\u062D\u0641\u0638 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645",update_user:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645",user:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645",add_new_user:"\u0625\u0636\u0627\u0641\u0629 \u0645\u0633\u062A\u062E\u062F\u0645 \u062C\u062F\u064A\u062F",new_user:"\u0645\u0633\u062A\u062E\u062F\u0645 \u062C\u062F\u064A\u062F",edit_user:"\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u0639\u0636\u0648",no_users:"\u0644\u0627 \u0645\u0633\u062A\u062E\u062F\u0645\u064A\u0646 \u062D\u062A\u0649 \u0627\u0644\u0622\u0646!",list_of_users:"\u0633\u064A\u062D\u062A\u0648\u064A \u0647\u0630\u0627 \u0627\u0644\u0642\u0633\u0645 \u0639\u0644\u0649 \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645\u064A\u0646.",email:"\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",phone:"\u0647\u0627\u062A\u0641",password:"\u0643\u0644\u0645\u0647 \u0627\u0644\u0633\u0631",user_attached_message:"\u0644\u0627 \u064A\u0645\u0643\u0646 \u062D\u0630\u0641 \u0639\u0646\u0635\u0631 \u0642\u064A\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0628\u0627\u0644\u0641\u0639\u0644",confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062F\u0627\u062F \u0647\u0630\u0627 \u0627\u0644\u0639\u0646\u0635\u0631 | \u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062F\u0627\u062F \u0647\u0624\u0644\u0627\u0621 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645\u064A\u0646",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u0628\u0646\u062C\u0627\u062D | \u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u0628\u0646\u062C\u0627\u062D"},xo={title:"\u062A\u0642\u0631\u064A\u0631",from_date:"\u0645\u0646 \u062A\u0627\u0631\u064A\u062E",to_date:"\u062D\u062A\u0649 \u062A\u0627\u0631\u064A\u062E",status:"\u0627\u0644\u062D\u0627\u0644\u0629",paid:"\u0645\u062F\u0641\u0648\u0639",unpaid:"\u063A\u064A\u0631 \u0645\u062F\u0641\u0648\u0639",download_pdf:"\u062A\u0646\u0632\u064A\u0644 PDF",view_pdf:"\u0639\u0631\u0636 PDF",update_report:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u062A\u0642\u0631\u064A\u0631",report:"\u062A\u0642\u0631\u064A\u0631 | \u062A\u0642\u0627\u0631\u064A\u0631",profit_loss:{profit_loss:"\u0627\u0644\u062E\u0633\u0627\u0626\u0631 \u0648\u0627\u0644\u0623\u0631\u0628\u0627\u062D",to_date:"\u062D\u062A\u0649 \u062A\u0627\u0631\u064A\u062E",from_date:"\u0645\u0646 \u062A\u0627\u0631\u064A\u062E",date_range:"\u0627\u062E\u062A\u0631 \u0645\u062F\u0649 \u0627\u0644\u062A\u0627\u0631\u064A\u062E"},sales:{sales:"\u0627\u0644\u0645\u0628\u064A\u0639\u0627\u062A",date_range:"\u0627\u062E\u062A\u0631 \u0645\u062F\u0649 \u0627\u0644\u062A\u0627\u0631\u064A\u062E",to_date:"\u062D\u062A\u0649 \u062A\u0627\u0631\u064A\u062E",from_date:"\u0645\u0646 \u062A\u0627\u0631\u064A\u062E",report_type:"\u0646\u0648\u0639 \u0627\u0644\u062A\u0642\u0631\u064A\u0631"},taxes:{taxes:"\u0627\u0644\u0636\u0631\u0627\u0626\u0628",to_date:"\u062D\u062A\u0649 \u062A\u0627\u0631\u064A\u062E",from_date:"\u0645\u0646 \u062A\u0627\u0631\u064A\u062E",date_range:"\u0627\u062E\u062A\u0631 \u0645\u062F\u0649 \u0627\u0644\u062A\u0627\u0631\u064A\u062E"},errors:{required:"\u062D\u0642\u0644 \u0645\u0637\u0644\u0648\u0628"},invoices:{invoice:"\u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",invoice_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",due_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0627\u0633\u062A\u062D\u0642\u0627\u0642",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",contact_name:"\u0627\u0633\u0645 \u0627\u0644\u062A\u0648\u0627\u0635\u0644",status:"\u0627\u0644\u062D\u0627\u0644\u0629"},estimates:{estimate:"\u062A\u0642\u062F\u064A\u0631",estimate_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u062A\u0642\u062F\u064A\u0631",due_date:"\u0645\u0633\u062A\u062D\u0642 \u0628\u062A\u0627\u0631\u064A\u062E",estimate_number:"\u0631\u0642\u0645 \u0645\u0633\u062A\u062D\u0642",ref_number:"\u0631\u0642\u0645 \u0627\u0644\u0645\u0631\u062C\u0639",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",contact_name:"\u0627\u0633\u0645 \u0627\u0644\u062A\u0648\u0627\u0635\u0644",status:"\u0627\u0644\u062D\u0627\u0644\u0629"},expenses:{expenses:"\u0627\u0644\u0646\u0641\u0642\u0627\u062A",category:"\u0627\u0644\u0641\u0626\u0629",date:"\u0627\u0644\u062A\u0627\u0631\u064A\u062E",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",to_date:"\u062D\u062A\u0649 \u062A\u0627\u0631\u064A\u062E",from_date:"\u0645\u0646 \u062A\u0627\u0631\u064A\u062E",date_range:"\u0627\u062E\u062A\u0631 \u0645\u062F\u0649 \u0627\u0644\u062A\u0627\u0631\u064A\u062E"}},zo={menu_title:{account_settings:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062D\u0633\u0627\u0628",company_information:"\u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0627\u0644\u0645\u0646\u0634\u0623\u0629",customization:"\u062A\u062E\u0635\u064A\u0635",preferences:"\u062A\u0641\u0636\u064A\u0644\u0627\u062A",notifications:"\u062A\u0646\u0628\u064A\u0647\u0627\u062A",tax_types:"\u0646\u0648\u0639 \u0627\u0644\u0636\u0631\u064A\u0628\u0629",expense_category:"\u0641\u0626\u0627\u062A \u0627\u0644\u0646\u0641\u0642\u0627\u062A",update_app:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u0638\u0627\u0645",backup:"\u062F\u0639\u0645",file_disk:"\u0642\u0631\u0635 \u0627\u0644\u0645\u0644\u0641",custom_fields:"\u0627\u0644\u062D\u0642\u0648\u0644 \u0627\u0644\u0645\u062E\u0635\u0635\u0629",payment_modes:"\u0637\u0631\u0642 \u0627\u0644\u062F\u0641\u0639",notes:"\u0645\u0644\u0627\u062D\u0638\u0627\u062A"},title:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A",setting:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A | \u0625\u0639\u062F\u0627\u062F\u0627\u062A",general:"\u0639\u0627\u0645",language:"\u0627\u0644\u0644\u063A\u0629",primary_currency:"\u0627\u0644\u0639\u0645\u0644\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",timezone:"\u0627\u0644\u0645\u0646\u0637\u0642\u0629 \u0627\u0644\u0632\u0645\u0646\u064A\u0629",date_format:"\u0635\u064A\u063A\u0629 \u0627\u0644\u062A\u0627\u0631\u064A\u062E",currencies:{title:"\u0627\u0644\u0639\u0645\u0644\u0627\u062A",currency:"\u0627\u0644\u0639\u0645\u0644\u0629 | \u0627\u0644\u0639\u0645\u0644\u0627\u062A",currencies_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0639\u0645\u0644\u0627\u062A",select_currency:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0639\u0645\u0644\u0629",name:"\u0627\u0644\u0627\u0633\u0645",code:"\u0627\u0644\u0645\u0631\u062C\u0639",symbol:"\u0627\u0644\u0631\u0645\u0632",precision:"\u0627\u0644\u062F\u0642\u0629",thousand_separator:"\u0641\u0627\u0635\u0644 \u0627\u0644\u0622\u0644\u0627\u0641",decimal_separator:"\u0627\u0644\u0641\u0627\u0635\u0644\u0629 \u0627\u0644\u0639\u0634\u0631\u064A\u0629",position:"\u0627\u0644\u0645\u0648\u0642\u0639",position_of_symbol:"\u0645\u0648\u0642\u0639 \u0631\u0645\u0632 \u0627\u0644\u0639\u0645\u0644\u0629",right:"\u064A\u0645\u064A\u0646",left:"\u064A\u0633\u0627\u0631",action:"\u0625\u062C\u0631\u0627\u0621",add_currency:"\u0623\u0636\u0641 \u0639\u0645\u0644\u0629"},mail:{host:"\u062E\u0627\u062F\u0645 \u0627\u0644\u0628\u0631\u064A\u062F",port:"\u0645\u0646\u0641\u0630 \u0627\u0644\u0628\u0631\u064A\u062F",driver:"\u0645\u0634\u063A\u0644 \u0627\u0644\u0628\u0631\u064A\u062F",secret:"\u0633\u0631\u064A",mailgun_secret:"\u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0633\u0631\u064A \u0644\u0640 Mailgun",mailgun_domain:"\u0627\u0644\u0645\u062C\u0627\u0644",mailgun_endpoint:"\u0627\u0644\u0646\u0647\u0627\u064A\u0629 \u0627\u0644\u0637\u0631\u0641\u064A\u0629 \u0644\u0640 Mailgun",ses_secret:"SES \u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0633\u0631\u064A",ses_key:"SES \u0645\u0641\u062A\u0627\u062D",password:"\u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A",username:"\u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u0644\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",mail_config:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A",from_name:"\u0627\u0633\u0645 \u0627\u0644\u0645\u0631\u0633\u0644",from_mail:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0644\u0644\u0645\u0631\u0633\u0644",encryption:"\u0635\u064A\u063A\u0629 \u0627 \u0644\u062A\u0634\u0641\u064A\u0631",mail_config_desc:"\u0623\u062F\u0646\u0627\u0647 \u0647\u0648 \u0646\u0645\u0648\u0630\u062C \u0644\u062A\u0643\u0648\u064A\u0646 \u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0644\u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0626\u0644 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0645\u0646 \u0627\u0644\u062A\u0637\u0628\u064A\u0642. \u064A\u0645\u0643\u0646\u0643 \u0623\u064A\u0636\u064B\u0627 \u062A\u0647\u064A\u0626\u0629 \u0645\u0648\u0641\u0631\u064A \u0627\u0644\u062C\u0647\u0627\u062A \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629 \u0645\u062B\u0644 Sendgrid \u0648 SES \u0625\u0644\u062E."},pdf:{title:"PDF \u0625\u0639\u062F\u0627\u062F\u0627\u062A",footer_text:"\u0646\u0635 \u0627\u0644\u062A\u0630\u064A\u064A\u0644",pdf_layout:"\u0627\u062A\u062C\u0627\u0647 \u0635\u0641\u062D\u0629 PDF"},company_info:{company_info:"\u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0627\u0644\u0634\u0631\u0643\u0629",company_name:"\u0627\u0633\u0645 \u0627\u0644\u0634\u0631\u0643\u0629",company_logo:"\u0634\u0639\u0627\u0631 \u0627\u0644\u0634\u0631\u0643\u0629",section_description:"\u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0639\u0646 \u0634\u0631\u0643\u062A\u0643 \u0633\u064A\u062A\u0645 \u0639\u0631\u0636\u0647\u0627 \u0639\u0644\u0649 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631 \u0648\u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A \u0648\u0627\u0644\u0645\u0633\u062A\u0646\u062F\u0627\u062A \u0627\u0644\u0623\u062E\u0631\u0649.",phone:"\u0627\u0644\u0647\u0627\u062A\u0641",country:"\u0627\u0644\u062F\u0648\u0644\u0629",state:"\u0627\u0644\u0648\u0644\u0627\u064A\u0629/\u0627\u0644\u0645\u0646\u0637\u0642\u0629",city:"\u0627\u0644\u0645\u062F\u064A\u0646\u0629",address:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",zip:"\u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0628\u0631\u064A\u062F\u064A",save:"\u062D\u0641\u0638",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0627\u0644\u0634\u0631\u0643\u0629 \u0628\u0646\u062C\u0627\u062D"},custom_fields:{title:"\u0627\u0644\u062D\u0642\u0648\u0644 \u0627\u0644\u0645\u062E\u0635\u0635\u0629",section_description:"\u0642\u0645 \u0628\u062A\u062E\u0635\u064A\u0635 \u0641\u0648\u0627\u062A\u064A\u0631\u0643 \u0648\u062A\u0642\u062F\u064A\u0631\u0627\u062A\u0643 \u0648\u0625\u064A\u0635\u0627\u0644\u0627\u062A \u0627\u0644\u062F\u0641\u0639 \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u062D\u0642\u0648\u0644 \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0643. \u062A\u0623\u0643\u062F \u0645\u0646 \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u062D\u0642\u0648\u0644 \u0627\u0644\u0645\u0636\u0627\u0641\u0629 \u0623\u062F\u0646\u0627\u0647 \u0641\u064A \u062A\u0646\u0633\u064A\u0642\u0627\u062A \u0627\u0644\u0639\u0646\u0627\u0648\u064A\u0646 \u0641\u064A \u0635\u0641\u062D\u0629 \u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062A\u062E\u0635\u064A\u0635.",add_custom_field:"\u0625\u0636\u0627\u0641\u0629 \u062D\u0642\u0644 \u0645\u062E\u0635\u0635",edit_custom_field:"\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u062D\u0642\u0644 \u0627\u0644\u0645\u062E\u0635\u0635",field_name:"\u0627\u0633\u0645 \u0627\u0644\u062D\u0642\u0644",label:"\u0636\u0639 \u0627\u0644\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0646\u0627\u0633\u0628\u0629",type:"\u0646\u0648\u0639",name:"\u0627\u0633\u0645",required:"\u0645\u0637\u0644\u0648\u0628",placeholder:"\u0639\u0646\u0635\u0631 \u0646\u0627\u0626\u0628",help_text:"\u0646\u0635 \u0627\u0644\u0645\u0633\u0627\u0639\u062F\u0629",default_value:"\u0627\u0644\u0642\u064A\u0645\u0629 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A\u0629",prefix:"\u0627\u062E\u062A\u0635\u0627\u0631",starting_number:"\u0631\u0642\u0645 \u0627\u0644\u0628\u062F\u0627\u064A\u0629",model:"\u0646\u0645\u0648\u0630\u062C",help_text_description:"\u0623\u062F\u062E\u0644 \u0628\u0639\u0636 \u0627\u0644\u0646\u0635 \u0644\u0645\u0633\u0627\u0639\u062F\u0629 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645\u064A\u0646 \u0639\u0644\u0649 \u0641\u0647\u0645 \u0627\u0644\u063A\u0631\u0636 \u0645\u0646 \u0647\u0630\u0627 \u0627\u0644\u062D\u0642\u0644 \u0627\u0644\u0645\u062E\u0635\u0635.",suffix:"\u0644\u0627\u062D\u0642\u0629",yes:"\u0646\u0639\u0645",no:"\u0644\u0627",order:"\u0637\u0644\u0628",custom_field_confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0639\u0627\u062F\u0629 \u0647\u0630\u0627 \u0627\u0644\u062D\u0642\u0644 \u0627\u0644\u0645\u062E\u0635\u0635",already_in_use:"\u0627\u0644\u062D\u0642\u0644 \u0627\u0644\u0645\u062E\u0635\u0635 \u0642\u064A\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0628\u0627\u0644\u0641\u0639\u0644",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u062D\u0642\u0644 \u0627\u0644\u0645\u062E\u0635\u0635 \u0628\u0646\u062C\u0627\u062D",options:"\u062E\u064A\u0627\u0631\u0627\u062A",add_option:"\u0623\u0636\u0641 \u062E\u064A\u0627\u0631\u0627\u062A",add_another_option:"\u0623\u0636\u0641 \u062E\u064A\u0627\u0631\u064B\u0627 \u0622\u062E\u0631",sort_in_alphabetical_order:"\u0641\u0631\u0632 \u062D\u0633\u0628 \u0627\u0644\u062A\u0631\u062A\u064A\u0628 \u0627\u0644\u0623\u0628\u062C\u062F\u064A",add_options_in_bulk:"\u0623\u0636\u0641 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A \u0628\u0634\u0643\u0644 \u0645\u062C\u0645\u0651\u0639",use_predefined_options:"\u0627\u0633\u062A\u062E\u062F\u0645 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629 \u0645\u0633\u0628\u0642\u064B\u0627",select_custom_date:"\u062D\u062F\u062F \u0627\u0644\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0645\u062E\u0635\u0635",select_relative_date:"\u062D\u062F\u062F \u0627\u0644\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0646\u0633\u0628\u064A",ticked_by_default:"\u064A\u062A\u0645 \u062A\u062D\u062F\u064A\u062F\u0647 \u0628\u0634\u0643\u0644 \u0627\u0641\u062A\u0631\u0627\u0636\u064A",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u062D\u0642\u0644 \u0627\u0644\u0645\u062E\u0635\u0635 \u0628\u0646\u062C\u0627\u062D",added_message:"\u062A\u0645\u062A \u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u062D\u0642\u0644 \u0627\u0644\u0645\u062E\u0635\u0635 \u0628\u0646\u062C\u0627\u062D"},customization:{customization:"\u0627\u0644\u062A\u062E\u0635\u064A\u0635",save:"\u062D\u0641\u0638",addresses:{title:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",section_description:"\u064A\u0645\u0643\u0646\u0643 \u0636\u0628\u0637 \u0639\u0646\u0648\u0627\u0646 \u0625\u0631\u0633\u0627\u0644 \u0641\u0648\u0627\u062A\u064A\u0631 \u0627\u0644\u0639\u0645\u0644\u0627\u0621 \u0648\u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0634\u062D\u0646 \u0627\u0644\u0639\u0645\u0644\u0627\u0621 (\u0645\u0639\u0631\u0648\u0636 \u0641\u064A PDF \u0641\u0642\u0637).",customer_billing_address:"\u0639\u0646\u0648\u0627\u0646 \u0641\u0648\u0627\u062A\u064A\u0631 \u0627\u0644\u0639\u0645\u064A\u0644",customer_shipping_address:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u062D\u0646 \u0644\u0644\u0639\u0645\u064A\u0644",company_address:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0631\u0643\u0629",insert_fields:"\u0623\u0636\u0641 \u062D\u0642\u0644",contact:"\u062A\u0648\u0627\u0635\u0644",address:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",display_name:"\u0627\u0644\u0627\u0633\u0645 \u0627\u0644\u0638\u0627\u0647\u0631",primary_contact_name:"\u0645\u0633\u0624\u0648\u0644 \u0627\u0644\u062A\u0648\u0627\u0635\u0644 \u0627\u0644\u0631\u0626\u064A\u0633\u064A",email:"\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",website:"\u0645\u0648\u0642\u0639 \u0627\u0644\u0625\u0646\u062A\u0631\u0646\u062A",name:"\u0627\u0644\u0627\u0633\u0645",country:"\u0627\u0644\u062F\u0648\u0644\u0629",state:"\u0627\u0644\u0648\u0644\u0627\u064A\u0629/\u0627\u0644\u0645\u0646\u0637\u0642\u0629",city:"\u0627\u0644\u0645\u062F\u064A\u0646\u0629",company_name:"\u0627\u0633\u0645 \u0627\u0644\u0634\u0631\u0643\u0629",address_street_1:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0627\u0631\u0639 1",address_street_2:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0627\u0631\u0639 2",phone:"\u0627\u0644\u0647\u0627\u062A\u0641",zip_code:"\u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0628\u0631\u064A\u062F\u064A",address_setting_updated:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0639\u0646\u0648\u0627\u0646 \u0628\u0646\u062C\u0627\u062D"},updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0627\u0644\u0634\u0631\u0643\u0629 \u0628\u0646\u062C\u0627\u062D",invoices:{title:"\u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631",notes:"\u0645\u0644\u0627\u062D\u0638\u0627\u062A",invoice_prefix:"\u0628\u0627\u062F\u0626\u0629 \u0631\u0642\u0645 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",default_invoice_email_body:"\u0646\u0635 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A \u0644\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",invoice_settings:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",autogenerate_invoice_number:"\u062A\u0631\u0642\u064A\u0645 \u0622\u0644\u064A \u0644\u0644\u0641\u0627\u062A\u0648\u0631\u0629",autogenerate_invoice_number_desc:"\u062A\u0639\u0637\u064A\u0644 \u0627\u0644\u062A\u0631\u0642\u064A\u0645 \u0627\u0644\u0622\u0644\u064A \u060C \u0625\u0630\u0627 \u0643\u0646\u062A \u0644\u0627 \u062A\u0631\u063A\u0628 \u0641\u064A \u0625\u0646\u0634\u0627\u0621 \u0623\u0631\u0642\u0627\u0645 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627 \u0641\u064A \u0643\u0644 \u0645\u0631\u0629 \u062A\u0642\u0648\u0645 \u0641\u064A\u0647\u0627 \u0628\u0625\u0646\u0634\u0627\u0621 \u0641\u0627\u062A\u0648\u0631\u0629 \u062C\u062F\u064A\u062F\u0629.",enter_invoice_prefix:"\u0623\u062F\u062E\u0644 \u0628\u0627\u062F\u0626\u0629 \u0631\u0642\u0645 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",terms_and_conditions:"\u0627\u0644\u0623\u062D\u0643\u0627\u0645 \u0648\u0627\u0644\u0634\u0631\u0648\u0637",company_address_format:"\u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0631\u0643\u0629",shipping_address_format:"\u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u062D\u0646",billing_address_format:"\u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631",invoice_settings_updated:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0625\u0639\u062F\u0627\u062F \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0646\u062C\u0627\u062D"},estimates:{title:"\u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A",estimate_prefix:"\u0628\u0627\u062F\u0626\u0629 \u0631\u0642\u0645 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",default_estimate_email_body:"\u062A\u0642\u062F\u064A\u0631 \u0646\u0635 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A",estimate_settings:"\u0625\u0639\u062F\u0627\u062F\u062A \u0627\u0644\u062A\u0642\u062F\u064A\u0631",autogenerate_estimate_number:"\u062A\u0631\u0642\u064A\u0645 \u0622\u0644\u064A \u0644\u0644\u062A\u0642\u062F\u064A\u0631",estimate_setting_description:"\u062A\u0639\u0637\u064A\u0644 \u0627\u0644\u062A\u0631\u0642\u064A\u0645 \u0627\u0644\u0622\u0644\u064A \u060C \u0625\u0630\u0627 \u0643\u0646\u062A \u0644\u0627 \u062A\u0631\u063A\u0628 \u0641\u064A \u0625\u0646\u0634\u0627\u0621 \u0623\u0631\u0642\u0627\u0645 \u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627 \u0641\u064A \u0643\u0644 \u0645\u0631\u0629 \u062A\u0642\u0648\u0645 \u0641\u064A\u0647\u0627 \u0628\u0625\u0646\u0634\u0627\u0621 \u062A\u0642\u062F\u064A\u0631 \u062C\u062F\u064A\u062F.",enter_estimate_prefix:"\u0623\u062F\u062E\u0644 \u0628\u0627\u062F\u0626\u0629 \u0631\u0642\u0645 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",estimate_setting_updated:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0628\u0646\u062C\u0627\u062D",company_address_format:"\u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0631\u0643\u0629",billing_address_format:"\u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631",shipping_address_format:"\u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u062D\u0646"},payments:{title:"\u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A",description:"Modes of transaction for payments",payment_prefix:"\u0628\u0627\u062F\u0626\u0629 \u0631\u0642\u0645 \u0627\u0644\u062F\u0641\u0639\u0629",default_payment_email_body:"\u0646\u0635 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0644\u0644\u062F\u0641\u0639 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A",payment_settings:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062F\u0641\u0639\u0629",autogenerate_payment_number:"\u062A\u0631\u0642\u064A\u0645 \u0622\u0644\u064A \u0644\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A",payment_setting_description:"\u062A\u0639\u0637\u064A\u0644 \u0627\u0644\u062A\u0631\u0642\u064A\u0645 \u0627\u0644\u0622\u0644\u064A \u060C \u0625\u0630\u0627 \u0643\u0646\u062A \u0644\u0627 \u062A\u0631\u063A\u0628 \u0641\u064A \u0625\u0646\u0634\u0627\u0621 \u0623\u0631\u0642\u0627\u0645 \u0627\u0644\u062F\u0641\u0639\u0629 \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627 \u0641\u064A \u0643\u0644 \u0645\u0631\u0629 \u062A\u0642\u0648\u0645 \u0641\u064A\u0647\u0627 \u0628\u0625\u0646\u0634\u0627\u0621 \u062F\u0641\u0639\u0629 \u062C\u062F\u064A\u062F\u0629.",enter_payment_prefix:"\u0623\u062F\u062E\u0644 \u0628\u0627\u062F\u0626\u0629 \u0631\u0642\u0645 \u0627\u0644\u062F\u0641\u0639\u0629",payment_setting_updated:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062F\u0641\u0639\u0629 \u0628\u0646\u062C\u0627\u062D",payment_modes:"\u0637\u0631\u0642 \u0627\u0644\u062F\u0641\u0639",add_payment_mode:"\u0623\u0636\u0641 \u0648\u0636\u0639 \u0627\u0644\u062F\u0641\u0639",edit_payment_mode:"\u062A\u062D\u0631\u064A\u0631 \u0648\u0636\u0639 \u0627\u0644\u062F\u0641\u0639",mode_name:"\u0627\u0633\u0645 \u0627\u0644\u0648\u0636\u0639",payment_mode_added:"\u062A\u0645\u062A \u0625\u0636\u0627\u0641\u0629 \u0648\u0636\u0639 \u0627\u0644\u062F\u0641\u0639",payment_mode_updated:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0648\u0636\u0639 \u0627\u0644\u062F\u0641\u0639",payment_mode_confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0639\u0627\u062F\u0629 \u0648\u0636\u0639 \u0627\u0644\u062F\u0641\u0639 \u0647\u0630\u0627",already_in_use:"\u0648\u0636\u0639 \u0627\u0644\u062F\u0641\u0639 \u0642\u064A\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0628\u0627\u0644\u0641\u0639\u0644",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0648\u0636\u0639 \u0627\u0644\u062F\u0641\u0639 \u0628\u0646\u062C\u0627\u062D",company_address_format:"\u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0631\u0643\u0629",from_customer_address_format:"\u0645\u0646 \u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0639\u0645\u064A\u0644"},items:{title:"\u0627\u0644\u0639\u0646\u0627\u0635\u0631",units:"\u0627\u0644\u0648\u062D\u062F\u0627\u062A",add_item_unit:"\u0625\u0636\u0627\u0641\u0629 \u0648\u062D\u062F\u0629 \u0639\u0646\u0635\u0631",edit_item_unit:"\u062A\u062D\u0631\u064A\u0631 \u0648\u062D\u062F\u0629 \u0627\u0644\u0639\u0646\u0627\u0635\u0631",unit_name:"\u0625\u0633\u0645 \u0627\u0644\u0648\u062D\u062F\u0629",item_unit_added:"\u062A\u0645\u062A \u0625\u0636\u0627\u0641\u0629 \u0648\u062D\u062F\u0629 \u0627\u0644\u0639\u0646\u0635\u0631",item_unit_updated:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0648\u062D\u062F\u0629 \u0627\u0644\u0639\u0646\u0635\u0631",item_unit_confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062F\u0627\u062F \u0648\u062D\u062F\u0629 \u0627\u0644\u0639\u0646\u0635\u0631 \u0647\u0630\u0647",already_in_use:"\u0648\u062D\u062F\u0629 \u0627\u0644\u0639\u0646\u0635\u0631 \u0642\u064A\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0628\u0627\u0644\u0641\u0639\u0644",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0648\u062D\u062F\u0629 \u0627\u0644\u0639\u0646\u0635\u0631 \u0628\u0646\u062C\u0627\u062D"},notes:{title:"\u0645\u0644\u0627\u062D\u0638\u0627\u062A",description:"Save time by creating notes and reusing them on your invoices, estimates & payments.",notes:"\u0645\u0644\u0627\u062D\u0638\u0627\u062A",type:"\u0646\u0648\u0639",add_note:"\u0627\u0636\u0641 \u0645\u0644\u0627\u062D\u0638\u0629",add_new_note:"\u0623\u0636\u0641 \u0645\u0644\u0627\u062D\u0638\u0629 \u062C\u062F\u064A\u062F\u0629",name:"\u0627\u0633\u0645",edit_note:"\u062A\u062D\u0631\u064A\u0631 \u0645\u0630\u0643\u0631\u0629",note_added:"\u062A\u0645\u062A \u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0645\u0644\u0627\u062D\u0638\u0629",note_updated:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0645\u0644\u0627\u062D\u0638\u0629",note_confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0639\u0627\u062F\u0629 \u0647\u0630\u0647 \u0627\u0644\u0645\u0644\u0627\u062D\u0638\u0629",already_in_use:"\u0627\u0644\u0645\u0644\u0627\u062D\u0638\u0629 \u0642\u064A\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0628\u0627\u0644\u0641\u0639\u0644",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0645\u0644\u0627\u062D\u0638\u0629 \u0628\u0646\u062C\u0627\u062D"}},account_settings:{profile_picture:"\u0635\u0648\u0631\u0629 \u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0634\u062E\u0635\u064A",name:"\u0627\u0644\u0627\u0633\u0645",email:"\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",password:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",confirm_password:"\u0623\u0639\u062F \u0643\u062A\u0627\u0628\u0629 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",account_settings:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062C\u0633\u0627\u0628",save:"\u062D\u0641\u0638",section_description:"\u064A\u0645\u0643\u0646\u0643 \u062A\u062D\u062F\u064A\u062B \u0627\u0633\u0645\u0643 \u0648\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0648\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0646\u0645\u0648\u0630\u062C \u0623\u062F\u0646\u0627\u0647.",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062D\u0633\u0627\u0628 \u0628\u0646\u062C\u0627\u062D"},user_profile:{name:"\u0627\u0644\u0627\u0633\u0645",email:"\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",password:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",confirm_password:"\u0623\u0639\u062F \u0643\u062A\u0627\u0628\u0629 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631"},notification:{title:"\u0627\u0644\u0625\u0634\u0639\u0627\u0631\u0627\u062A",email:"\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0625\u0634\u0639\u0627\u0631\u0627\u062A \u0625\u0644\u0649",description:"\u0645\u0627 \u0647\u064A \u0625\u0634\u0639\u0627\u0631\u0627\u062A \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0627\u0644\u062A\u064A \u062A\u0631\u063A\u0628 \u0641\u064A \u062A\u0644\u0642\u064A\u0647\u0627 \u0639\u0646\u062F\u0645\u0627 \u064A\u062A\u063A\u064A\u0631 \u0634\u064A\u0621 \u0645\u0627\u061F",invoice_viewed:"\u062A\u0645 \u0639\u0631\u0636 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",invoice_viewed_desc:"\u0639\u0646\u062F\u0645\u0627 \u064A\u0633\u062A\u0639\u0631\u0636 \u0639\u0645\u064A\u0644\u0643 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0627\u0644\u0645\u0631\u0633\u0644\u0629 \u0639\u0628\u0631 \u0627\u0644\u0634\u0627\u0634\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629.",estimate_viewed:"\u062A\u0645 \u0639\u0631\u0636 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",estimate_viewed_desc:"\u0639\u0646\u062F\u0645\u0627 \u064A\u0633\u062A\u0639\u0631\u0636 \u0639\u0645\u064A\u0644\u0643 \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0627\u0644\u0645\u0631\u0633\u0644\u0629 \u0639\u0628\u0631 \u0627\u0644\u0634\u0627\u0634\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629.",save:"\u062D\u0641\u0638",email_save_message:"\u062A\u0645 \u062D\u0641\u0638 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0628\u0646\u062C\u0627\u062D",please_enter_email:"\u0641\u0636\u0644\u0627\u064B \u0623\u062F\u062E\u0644 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A"},tax_types:{title:"\u0623\u0646\u0648\u0627\u0639 \u0627\u0644\u0636\u0631\u0627\u0626\u0628",add_tax:"\u0623\u0636\u0641 \u0636\u0631\u064A\u0628\u0629",edit_tax:"\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u0636\u0631\u064A\u0628\u0629",description:"\u064A\u0645\u0643\u0646\u0643 \u0625\u0636\u0627\u0641\u0629 \u0623\u0648 \u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0636\u0631\u0627\u0626\u0628 \u0643\u0645\u0627 \u064A\u062D\u0644\u0648 \u0644\u0643. \u0627\u0644\u0646\u0638\u0627\u0645 \u064A\u062F\u0639\u0645 \u0627\u0644\u0636\u0631\u0627\u0626\u0628 \u0639\u0644\u0649 \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0641\u0631\u062F\u064A\u0629 \u0648\u0643\u0630\u0644\u0643 \u0639\u0644\u0649 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629.",add_new_tax:"\u0625\u0636\u0627\u0641\u0629 \u0636\u0631\u064A\u0628\u0629 \u062C\u062F\u064A\u062F\u0629",tax_settings:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0636\u0631\u064A\u0628\u0629",tax_per_item:"\u0636\u0631\u064A\u0628\u0629 \u0639\u0644\u0649 \u0627\u0644\u0635\u0646\u0641",tax_name:"\u0627\u0633\u0645 \u0627\u0644\u0636\u0631\u064A\u0628\u0629",compound_tax:"\u0636\u0631\u064A\u0628\u0629 \u0645\u062C\u0645\u0639\u0629",percent:"\u0646\u0633\u0628\u0629 \u0645\u0624\u0648\u064A\u0629",action:"\u0625\u062C\u0631\u0627\u0621",tax_setting_description:"\u0642\u0645 \u0628\u062A\u0645\u0643\u064A\u0646 \u0647\u0630\u0627 \u0625\u0630\u0627 \u0643\u0646\u062A \u062A\u0631\u064A\u062F \u0625\u0636\u0627\u0641\u0629 \u0636\u0631\u0627\u0626\u0628 \u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0627\u0644\u0641\u0631\u062F\u064A\u0629. \u0628\u0634\u0643\u0644 \u0627\u0641\u062A\u0631\u0627\u0636\u064A \u060C \u062A\u0636\u0627\u0641 \u0627\u0644\u0636\u0631\u0627\u0626\u0628 \u0645\u0628\u0627\u0634\u0631\u0629 \u0625\u0644\u0649 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629.",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0646\u0648\u0639 \u0627\u0644\u0636\u0631\u064A\u0628\u0629 \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0646\u0648\u0639 \u0627\u0644\u0636\u0631\u064A\u0628\u0629 \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0646\u0648\u0639 \u0627\u0644\u0636\u0631\u064A\u0628\u0629 \u0628\u0646\u062C\u0627\u062D",confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0646\u0648\u0639 \u0627\u0644\u0636\u0631\u064A\u0629 \u0647\u0630\u0627",already_in_use:"\u0636\u0631\u064A\u0628\u0629 \u0642\u064A\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645"},expense_category:{title:"\u0641\u0626\u0627\u062A \u0627\u0644\u0646\u0641\u0642\u0627\u062A",action:"\u0625\u062C\u0631\u0627\u0621",description:"\u0627\u0644\u0641\u0626\u0627\u062A \u0645\u0637\u0644\u0648\u0628\u0629 \u0644\u0625\u0636\u0627\u0641\u0629 \u0625\u062F\u062E\u0627\u0644\u0627\u062A \u0627\u0644\u0646\u0641\u0642\u0627\u062A. \u064A\u0645\u0643\u0646\u0643 \u0625\u0636\u0627\u0641\u0629 \u0623\u0648 \u0625\u0632\u0627\u0644\u0629 \u0647\u0630\u0647 \u0627\u0644\u0641\u0626\u0627\u062A \u0648\u0641\u0642\u064B\u0627 \u0644\u062A\u0641\u0636\u064A\u0644\u0627\u062A\u0643.",add_new_category:"\u0625\u0636\u0627\u0641\u0629 \u0641\u0626\u0629 \u062C\u062F\u064A\u062F\u0629",add_category:"\u0625\u0636\u0627\u0641\u0629 \u0641\u0626\u0629",edit_category:"\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u0641\u0626\u0629",category_name:"\u0627\u0633\u0645 \u0627\u0644\u0641\u0626\u0629",category_description:"\u0627\u0644\u0648\u0635\u0641",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0646\u0648\u0639 \u0627\u0644\u0646\u0641\u0642\u0627\u062A \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0646\u0648\u0639 \u0627\u0644\u0646\u0641\u0642\u0627\u062A \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0646\u0648\u0639 \u0627\u0644\u0646\u0641\u0642\u0627\u062A \u0628\u0646\u062C\u0627\u062D",confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0646\u0648\u0639 \u0627\u0644\u0646\u0641\u0642\u0627\u062A \u0647\u0630\u0627",already_in_use:"\u0646\u0648\u0639 \u0642\u064A\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645"},preferences:{currency:"\u0627\u0644\u0639\u0645\u0644\u0629",default_language:"\u0627\u0644\u0644\u063A\u0629 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A\u0629",time_zone:"\u0627\u0644\u0645\u0646\u0637\u0629 \u0627\u0644\u0632\u0645\u0646\u064A\u0629",fiscal_year:"\u0627\u0644\u0633\u0646\u0629 \u0627\u0644\u0645\u0627\u0644\u064A\u0629",date_format:"\u0635\u064A\u063A\u0629 \u0627\u0644\u062A\u0627\u0631\u064A\u062E",discount_setting:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062E\u0635\u0645",discount_per_item:"\u062E\u0635\u0645 \u0639\u0644\u0649 \u0627\u0644\u0635\u0646\u0641 ",discount_setting_description:"\u0642\u0645 \u0628\u062A\u0645\u0643\u064A\u0646 \u0647\u0630\u0627 \u0625\u0630\u0627 \u0643\u0646\u062A \u062A\u0631\u064A\u062F \u0625\u0636\u0627\u0641\u0629 \u062E\u0635\u0645 \u0625\u0644\u0649 \u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0627\u0644\u0641\u0631\u062F\u064A\u0629. \u0628\u0634\u0643\u0644 \u0627\u0641\u062A\u0631\u0627\u0636\u064A \u060C \u064A\u062A\u0645 \u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u062E\u0635\u0645 \u0645\u0628\u0627\u0634\u0631\u0629 \u0625\u0644\u0649 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629.",save:"\u062D\u0641\u0638",preference:"\u062A\u0641\u0636\u064A\u0644 | \u062A\u0641\u0636\u064A\u0644\u0627\u062A",general_settings:"\u0627\u0644\u062A\u0641\u0636\u064A\u0644\u0627\u062A \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A\u0629 \u0644\u0644\u0646\u0638\u0627\u0645.",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u062A\u0641\u0636\u064A\u0644\u0627\u062A \u0628\u0646\u062C\u0627\u062D",select_language:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0644\u063A\u0629",select_time_zone:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0645\u0646\u0637\u0629 \u0627\u0644\u0632\u0645\u0646\u064A\u0629",select_date_format:"Select Date Format",select_financial_year:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0633\u0646\u0629 \u0627\u0644\u0645\u0627\u0644\u064A\u0629"},update_app:{title:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u0638\u0627\u0645",description:"\u064A\u0645\u0643\u0646\u0643 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u0638\u0627\u0645 \u0628\u0633\u0647\u0648\u0644\u0629 \u0639\u0646 \u0637\u0631\u064A\u0642 \u0627\u0644\u0628\u062D\u062B \u0639\u0646 \u062A\u062D\u062F\u064A\u062B \u062C\u062F\u064A\u062F \u0628\u0627\u0644\u0646\u0642\u0631 \u0641\u0648\u0642 \u0627\u0644\u0632\u0631 \u0623\u062F\u0646\u0627\u0647",check_update:"\u062A\u062D\u0642\u0642 \u0645\u0646 \u0627\u0644\u062A\u062D\u062F\u064A\u062B\u0627\u062A",avail_update:"\u062A\u062D\u062F\u064A\u062B \u062C\u062F\u064A\u062F \u0645\u062A\u0648\u0641\u0631",next_version:"\u0627\u0644\u0646\u0633\u062E\u0629 \u0627\u0644\u062C\u062F\u064A\u062F\u0629",requirements:"Requirements",update:"\u062D\u062F\u062B \u0627\u0644\u0622\u0646",update_progress:"\u0642\u064A\u062F \u0627\u0644\u062A\u062D\u062F\u064A\u062B...",progress_text:"\u0633\u0648\u0641 \u064A\u0633\u062A\u063A\u0631\u0642 \u0627\u0644\u062A\u062D\u062F\u064A\u062B \u0628\u0636\u0639 \u062F\u0642\u0627\u0626\u0642. \u064A\u0631\u062C\u0649 \u0639\u062F\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0634\u0627\u0634\u0629 \u0623\u0648 \u0625\u063A\u0644\u0627\u0642 \u0627\u0644\u0646\u0627\u0641\u0630\u0629 \u0642\u0628\u0644 \u0627\u0646\u062A\u0647\u0627\u0621 \u0627\u0644\u062A\u062D\u062F\u064A\u062B",update_success:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u0638\u0627\u0645! \u064A\u0631\u062C\u0649 \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631 \u062D\u062A\u0649 \u064A\u062A\u0645 \u0625\u0639\u0627\u062F\u0629 \u062A\u062D\u0645\u064A\u0644 \u0646\u0627\u0641\u0630\u0629 \u0627\u0644\u0645\u062A\u0635\u0641\u062D \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627.",latest_message:"\u0644\u0627 \u064A\u0648\u062C\u062F \u062A\u062D\u062F\u064A\u062B\u0627\u062A \u0645\u062A\u0648\u0641\u0631\u0629! \u0644\u062F\u064A\u0643 \u062D\u0627\u0644\u064A\u0627\u064B \u0623\u062D\u062F\u062B \u0646\u0633\u062E\u0629.",current_version:"\u0627\u0644\u0646\u0633\u062E\u0629 \u0627\u0644\u062D\u0627\u0644\u064A\u0629",download_zip_file:"\u062A\u0646\u0632\u064A\u0644 \u0645\u0644\u0641 ZIP",unzipping_package:"\u062D\u0632\u0645\u0629 \u0641\u0643 \u0627\u0644\u0636\u063A\u0637",copying_files:"\u0646\u0633\u062E \u0627\u0644\u0645\u0644\u0641\u0627\u062A",running_migrations:"\u0625\u062F\u0627\u0631\u0629 \u0639\u0645\u0644\u064A\u0627\u062A \u0627\u0644\u062A\u0631\u062D\u064A\u0644",finishing_update:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u062A\u0634\u0637\u064A\u0628",update_failed:"\u0641\u0634\u0644 \u0627\u0644\u062A\u062D\u062F\u064A\u062B",update_failed_text:"\u0622\u0633\u0641! \u0641\u0634\u0644 \u0627\u0644\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u062E\u0627\u0635 \u0628\u0643 \u0641\u064A: {step} \u062E\u0637\u0648\u0629"},backup:{title:"\u0627\u0644\u0646\u0633\u062E \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A | \u0627\u0644\u0646\u0633\u062E \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629",description:"\u0627\u0644\u0646\u0633\u062E\u0629 \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629 \u0647\u064A \u0645\u0644\u0641 \u0645\u0636\u063A\u0648\u0637 \u064A\u062D\u062A\u0648\u064A \u0639\u0644\u0649 \u062C\u0645\u064A\u0639 \u0627\u0644\u0645\u0644\u0641\u0627\u062A \u0641\u064A \u0627\u0644\u062F\u0644\u0627\u0626\u0644 \u0627\u0644\u062A\u064A \u062A\u062D\u062F\u062F\u0647\u0627 \u0645\u0639 \u062A\u0641\u0631\u064A\u063A \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0643",new_backup:"\u0625\u0636\u0627\u0641\u0629 \u0646\u0633\u062E\u0629 \u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629 \u062C\u062F\u064A\u062F\u0629",create_backup:"\u0627\u0646\u0634\u0626 \u0646\u0633\u062E\u0629 \u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629",select_backup_type:"\u062D\u062F\u062F \u0646\u0648\u0639 \u0627\u0644\u0646\u0633\u062E \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A",backup_confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0639\u0627\u062F\u0629 \u0647\u0630\u0647 \u0627\u0644\u0646\u0633\u062E\u0629 \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629",path:"\u0645\u0633\u0627\u0631",new_disk:"\u0642\u0631\u0635 \u062C\u062F\u064A\u062F",created_at:"\u0623\u0646\u0634\u0626\u062A \u0641\u064A",size:"size",dropbox:"\u0628\u0635\u0646\u062F\u0648\u0642 \u0627\u0644\u0625\u0633\u0642\u0627\u0637",local:"\u0645\u062D\u0644\u064A",healthy:"\u0635\u062D\u064A",amount_of_backups:"\u0643\u0645\u064A\u0629 \u0627\u0644\u0646\u0633\u062E \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629",newest_backups:"\u0623\u062D\u062F\u062B \u0627\u0644\u0646\u0633\u062E \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629",used_storage:"\u0627\u0644\u062A\u062E\u0632\u064A\u0646 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645",select_disk:"\u062D\u062F\u062F \u0627\u0644\u0642\u0631\u0635",action:"\u0639\u0645\u0644",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0646\u0633\u062E\u0629 \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629 \u0628\u0646\u062C\u0627\u062D",created_message:"Backup created successfully",invalid_disk_credentials:"\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0639\u062A\u0645\u0627\u062F \u063A\u064A\u0631 \u0635\u0627\u0644\u062D\u0629 \u0644\u0644\u0642\u0631\u0635 \u0627\u0644\u0645\u062D\u062F\u062F"},disk:{title:"\u0642\u0631\u0635 \u0627\u0644\u0645\u0644\u0641\u0627\u062A | \u0623\u0642\u0631\u0627\u0635 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",description:"\u0628\u0634\u0643\u0644 \u0627\u0641\u062A\u0631\u0627\u0636\u064A \u060C \u0633\u062A\u0633\u062A\u062E\u062F\u0645 Crater \u0627\u0644\u0642\u0631\u0635 \u0627\u0644\u0645\u062D\u0644\u064A \u0644\u062D\u0641\u0638 \u0627\u0644\u0646\u0633\u062E \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629 \u0648\u0627\u0644\u0623\u0641\u0627\u062A\u0627\u0631 \u0648\u0645\u0644\u0641\u0627\u062A \u0627\u0644\u0635\u0648\u0631 \u0627\u0644\u0623\u062E\u0631\u0649. \u064A\u0645\u0643\u0646\u0643 \u062A\u0643\u0648\u064A\u0646 \u0623\u0643\u062B\u0631 \u0645\u0646 \u0628\u0631\u0627\u0645\u062C \u062A\u0634\u063A\u064A\u0644 \u0642\u0631\u0635 \u0645\u062B\u0644 DigitalOcean \u0648 S3 \u0648 Dropbox \u0648\u0641\u0642\u064B\u0627 \u0644\u062A\u0641\u0636\u064A\u0644\u0627\u062A\u0643.",created_at:"\u0623\u0646\u0634\u0626\u062A \u0641\u064A",dropbox:"\u0628\u0635\u0646\u062F\u0648\u0642 \u0627\u0644\u0625\u0633\u0642\u0627\u0637",name:"\u0627\u0633\u0645",driver:"\u0633\u0627\u0626\u0642",disk_type:"\u0646\u0648\u0639",disk_name:"\u0627\u0633\u0645 \u0627\u0644\u0642\u0631\u0635",new_disk:"\u0625\u0636\u0627\u0641\u0629 \u0642\u0631\u0635 \u062C\u062F\u064A\u062F",filesystem_driver:"\u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0634\u063A\u064A\u0644 \u0646\u0638\u0627\u0645 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",local_driver:"\u0633\u0627\u0626\u0642 \u0645\u062D\u0644\u064A",local_root:"\u0627\u0644\u062C\u0630\u0631 \u0627\u0644\u0645\u062D\u0644\u064A",public_driver:"\u0633\u0627\u0626\u0642 \u0639\u0627\u0645",public_root:"\u0627\u0644\u062C\u0630\u0631 \u0627\u0644\u0639\u0627\u0645",public_url:"URL \u0627\u0644\u0639\u0627\u0645",public_visibility:"\u0627\u0644\u0631\u0624\u064A\u0629 \u0627\u0644\u0639\u0627\u0645\u0629",media_driver:"\u0633\u0627\u0626\u0642 \u0648\u0633\u0627\u0626\u0637",media_root:"\u062C\u0630\u0631 \u0627\u0644\u0648\u0633\u0627\u0626\u0637",aws_driver:"\u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0634\u063A\u064A\u0644 AWS",aws_key:"\u0645\u0641\u062A\u0627\u062D AWS",aws_secret:"AWS Secret",aws_region:"\u0645\u0646\u0637\u0642\u0629 AWS",aws_bucket:"\u062D\u0627\u0648\u064A\u0629 AWS",aws_root:"AWS \u0627\u0644\u062C\u0630\u0631",do_spaces_type:"\u0647\u0644 \u0646\u0648\u0639 \u0627\u0644\u0645\u0633\u0627\u062D\u0627\u062A",do_spaces_key:"\u0645\u0641\u062A\u0627\u062D Do Spaces",do_spaces_secret:"\u0647\u0644 \u0627\u0644\u0645\u0633\u0627\u062D\u0627\u062A \u0633\u0631\u064A\u0629",do_spaces_region:"\u0647\u0644 \u0645\u0646\u0637\u0642\u0629 \u0627\u0644\u0645\u0633\u0627\u062D\u0627\u062A",do_spaces_bucket:"\u0647\u0644 \u062F\u0644\u0648 \u0627\u0644\u0645\u0633\u0627\u062D\u0627\u062A",do_spaces_endpoint:"\u0642\u0645 \u0628\u0639\u0645\u0644 \u0646\u0642\u0637\u0629 \u0646\u0647\u0627\u064A\u0629 \u0644\u0644\u0645\u0633\u0627\u0641\u0627\u062A",do_spaces_root:"\u0639\u0645\u0644 \u0627\u0644\u062C\u0630\u0631 \u0644\u0644\u0645\u0633\u0627\u0641\u0627\u062A",dropbox_type:"\u0646\u0648\u0639 Dropbox",dropbox_token:"\u0631\u0645\u0632 Dropbox",dropbox_key:"\u0645\u0641\u062A\u0627\u062D Dropbox",dropbox_secret:"Dropbox Secret",dropbox_app:"\u062A\u0637\u0628\u064A\u0642 Dropbox",dropbox_root:"\u062C\u0630\u0631 Dropbox",default_driver:"\u0628\u0631\u0646\u0627\u0645\u062C \u0627\u0644\u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A",is_default:"\u0623\u0645\u0631 \u0627\u0641\u062A\u0631\u0627\u0636\u064A",set_default_disk:"\u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u0642\u0631\u0635 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A",success_set_default_disk:"Disk set as default successfully",save_pdf_to_disk:"\u062D\u0641\u0638 \u0645\u0644\u0641\u0627\u062A PDF \u0639\u0644\u0649 \u0627\u0644\u0642\u0631\u0635",disk_setting_description:"\u0642\u0645 \u0628\u062A\u0645\u0643\u064A\u0646 \u0647\u0630\u0627 \u060C \u0625\u0630\u0627 \u0643\u0646\u062A \u062A\u0631\u063A\u0628 \u0641\u064A \u062D\u0641\u0638 \u0646\u0633\u062E\u0629 \u0645\u0646 \u0643\u0644 \u0641\u0627\u062A\u0648\u0631\u0629 \u060C \u062A\u0642\u062F\u064A\u0631 \u0648\u0625\u064A\u0635\u0627\u0644 \u062F\u0641\u0639 PDF \u0639\u0644\u0649 \u0627\u0644\u0642\u0631\u0635 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A \u0627\u0644\u062E\u0627\u0635 \u0628\u0643 \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627. \u0633\u064A\u0624\u062F\u064A \u062A\u0634\u063A\u064A\u0644 \u0647\u0630\u0627 \u0627\u0644\u062E\u064A\u0627\u0631 \u0625\u0644\u0649 \u062A\u0642\u0644\u064A\u0644 \u0648\u0642\u062A \u0627\u0644\u062A\u062D\u0645\u064A\u0644 \u0639\u0646\u062F \u0639\u0631\u0636 \u0645\u0644\u0641\u0627\u062A PDF.",select_disk:"\u062D\u062F\u062F \u0627\u0644\u0642\u0631\u0635",disk_settings:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0642\u0631\u0635",confirm_delete:"Your existing files & folders in the specified disk will not be affected but your disk configuration will be deleted from Crater",action:"\u0639\u0645\u0644",edit_file_disk:"Edit File Disk",success_create:"\u062A\u0645\u062A \u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0642\u0631\u0635 \u0628\u0646\u062C\u0627\u062D",success_update:"Disk updated successfully",error:"\u0641\u0634\u0644 \u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0642\u0631\u0635",deleted_message:"File Disk deleted successfully",disk_variables_save_successfully:"\u062A\u0645 \u062A\u0643\u0648\u064A\u0646 \u0627\u0644\u0642\u0631\u0635 \u0628\u0646\u062C\u0627\u062D",disk_variables_save_error:"\u0641\u0634\u0644 \u062A\u0643\u0648\u064A\u0646 \u0627\u0644\u0642\u0631\u0635.",invalid_disk_credentials:"\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0639\u062A\u0645\u0627\u062F \u063A\u064A\u0631 \u0635\u0627\u0644\u062D\u0629 \u0644\u0644\u0642\u0631\u0635 \u0627\u0644\u0645\u062D\u062F\u062F"}},So={account_info:"\u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0627\u0644\u062D\u0633\u0627\u0628",account_info_desc:"\u0633\u064A\u062A\u0645 \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u062A\u0641\u0627\u0635\u064A\u0644 \u0623\u062F\u0646\u0627\u0647 \u0644\u0625\u0646\u0634\u0627\u0621 \u062D\u0633\u0627\u0628 \u0627\u0644\u0645\u0633\u0624\u0648\u0644 \u0627\u0644\u0631\u0626\u064A\u0633\u064A. \u0643\u0645\u0627 \u064A\u0645\u0643\u0646\u0643 \u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u062A\u0641\u0627\u0635\u064A\u0644 \u0641\u064A \u0623\u064A \u0648\u0642\u062A \u0628\u0639\u062F \u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644.",name:"\u0627\u0644\u0627\u0633\u0645",email:"\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",password:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",confirm_password:"\u0623\u0639\u062F \u0643\u062A\u0627\u0628\u0629 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",save_cont:"\u062D\u0641\u0638 \u0648\u0627\u0633\u062A\u0645\u0631\u0627\u0631",company_info:"\u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0627\u0644\u0634\u0631\u0643\u0629",company_info_desc:"\u0633\u064A\u062A\u0645 \u0639\u0631\u0636 \u0647\u0630\u0647 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0639\u0644\u0649 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631. \u0644\u0627\u062D\u0638 \u0623\u0646\u0647 \u064A\u0645\u0643\u0646\u0643 \u062A\u0639\u062F\u064A\u0644 \u0647\u0630\u0627 \u0644\u0627\u062D\u0642\u064B\u0627 \u0641\u064A \u0635\u0641\u062D\u0629 \u0627\u0644\u0625\u0639\u062F\u0627\u062F\u0627\u062A.",company_name:"\u0627\u0633\u0645 \u0627\u0644\u0634\u0631\u0643\u0629",company_logo:"\u0634\u0639\u0627\u0631 \u0627\u0644\u0634\u0631\u0643\u0629",logo_preview:"\u0627\u0633\u062A\u0639\u0631\u0627\u0636 \u0627\u0644\u0634\u0639\u0627\u0631",preferences:"\u0627\u0644\u062A\u0641\u0636\u064A\u0644\u0627\u062A",preferences_desc:"\u0627\u0644\u062A\u0641\u0636\u064A\u0644\u0627\u062A \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A\u0629 \u0644\u0644\u0646\u0638\u0627\u0645",country:"\u0627\u0644\u062F\u0648\u0644\u0629",state:"\u0627\u0644\u0648\u0644\u0627\u064A\u0629/\u0627\u0644\u0645\u0646\u0637\u0642\u0629",city:"\u0627\u0644\u0645\u062F\u064A\u0646\u0629",address:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",street:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646 1 | \u0627\u0644\u0639\u0646\u0648\u0627\u0646 2",phone:"\u0627\u0644\u0647\u0627\u062A\u0641",zip_code:"\u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0628\u0631\u064A\u062F\u064A",go_back:"\u0644\u0644\u062E\u0644\u0641",currency:"\u0627\u0644\u0639\u0645\u0644\u0629",language:"\u0627\u0644\u0644\u063A\u0629",time_zone:"\u0627\u0644\u0645\u0646\u0637\u0629 \u0627\u0644\u0632\u0645\u0646\u064A\u0629",fiscal_year:"\u0627\u0644\u0633\u0646\u0629 \u0627\u0644\u0645\u0627\u0644\u064A\u0629",date_format:"\u0635\u064A\u063A\u0629 \u0627\u0644\u062A\u0627\u0631\u064A\u062E",from_address:"\u0645\u0646 \u0627\u0644\u0639\u0646\u0648\u0627\u0646",username:"\u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645",next:"\u0627\u0644\u062A\u0627\u0644\u064A",continue:"\u0627\u0633\u062A\u0645\u0631\u0627\u0631",skip:"\u062A\u062E\u0637\u064A",database:{database:"\u0639\u0646\u0648\u0627\u0646 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",connection:"\u0627\u062A\u0635\u0627\u0644 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",host:"\u062E\u0627\u062F\u0645 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",port:"\u0645\u0646\u0641\u0630 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",password:"\u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",app_url:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0625\u0646\u062A\u0631\u0646\u062A \u0644\u0644\u0646\u0638\u0627\u0645",app_domain:"App Domain",username:"\u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u0644\u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",db_name:"\u0633\u0645 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",db_path:"Database Path",desc:"\u0642\u0645 \u0628\u0625\u0646\u0634\u0627\u0621 \u0642\u0627\u0639\u062F\u0629 \u0628\u064A\u0627\u0646\u0627\u062A \u0639\u0644\u0649 \u0627\u0644\u062E\u0627\u062F\u0645 \u0627\u0644\u062E\u0627\u0635 \u0628\u0643 \u0648\u062A\u0639\u064A\u064A\u0646 \u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0627\u0639\u062A\u0645\u0627\u062F \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0646\u0645\u0648\u0630\u062C \u0623\u062F\u0646\u0627\u0647."},permissions:{permissions:"\u0627\u0644\u0623\u0630\u0648\u0646\u0627\u062A",permission_confirm_title:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F \u0645\u0646 \u0627\u0644\u0627\u0633\u062A\u0645\u0631\u0627\u0631\u061F",permission_confirm_desc:"\u0641\u0634\u0644 \u0641\u062D\u0635 \u0623\u0630\u0648\u0646\u0627\u062A \u0627\u0644\u0645\u062C\u0644\u062F",permission_desc:"\u0641\u064A\u0645\u0627 \u064A\u0644\u064A \u0642\u0627\u0626\u0645\u0629 \u0623\u0630\u0648\u0646\u0627\u062A \u0627\u0644\u0645\u062C\u0644\u062F \u0627\u0644\u0645\u0637\u0644\u0648\u0628\u0629 \u062D\u062A\u0649 \u064A\u0639\u0645\u0644 \u0627\u0644\u062A\u0637\u0628\u064A\u0642. \u0641\u064A \u062D\u0627\u0644\u0629 \u0641\u0634\u0644 \u0641\u062D\u0635 \u0627\u0644\u0625\u0630\u0646 \u060C \u062A\u0623\u0643\u062F \u0645\u0646 \u062A\u062D\u062F\u064A\u062B \u0623\u0630\u0648\u0646\u0627\u062A \u0627\u0644\u0645\u062C\u0644\u062F."},mail:{host:"\u062E\u0627\u062F\u0645 \u0627\u0644\u0628\u0631\u064A\u062F",port:"\u0645\u0646\u0641\u0630 \u0627\u0644\u0628\u0631\u064A\u062F",driver:"\u0645\u0634\u063A\u0644 \u0627\u0644\u0628\u0631\u064A\u062F",secret:"\u0633\u0631\u064A",mailgun_secret:"\u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0633\u0631\u064A \u0644\u0640 Mailgun",mailgun_domain:"\u0627\u0644\u0645\u062C\u0627\u0644",mailgun_endpoint:"\u0627\u0644\u0646\u0647\u0627\u064A\u0629 \u0627\u0644\u0637\u0631\u0641\u064A\u0629 \u0644\u0640 Mailgun",ses_secret:"SES \u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0633\u0631\u064A",ses_key:"SES \u0645\u0641\u062A\u0627\u062D",password:"\u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A",username:"\u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u0644\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",mail_config:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A",from_name:"\u0627\u0633\u0645 \u0627\u0644\u0645\u0631\u0633\u0644",from_mail:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0644\u0644\u0645\u0631\u0633\u0644",encryption:"\u0635\u064A\u063A\u0629 \u0627 \u0644\u062A\u0634\u0641\u064A\u0631",mail_config_desc:"\u0623\u062F\u0646\u0627\u0647 \u0647\u0648 \u0646\u0645\u0648\u0630\u062C \u0644\u062A\u0643\u0648\u064A\u0646 \u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0644\u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0626\u0644 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0645\u0646 \u0627\u0644\u062A\u0637\u0628\u064A\u0642. \u064A\u0645\u0643\u0646\u0643 \u0623\u064A\u0636\u064B\u0627 \u062A\u0647\u064A\u0626\u0629 \u0645\u0648\u0641\u0631\u064A \u0627\u0644\u062C\u0647\u0627\u062A \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629 \u0645\u062B\u0644 Sendgrid \u0648 SES \u0625\u0644\u062E."},req:{system_req:"\u0645\u062A\u0637\u0644\u0628\u0627\u062A \u0627\u0644\u0646\u0638\u0627\u0645",php_req_version:"Php (\u0627\u0644\u0646\u0633\u062E\u0629 \u0627\u0644\u0645\u0637\u0644\u0648\u0628\u0629 {version} \u0628\u062D\u062F \u0623\u062F\u0646\u0649)",check_req:"\u0641\u062D\u0635 \u0645\u062A\u0637\u0644\u0628\u0627\u062A \u0627\u0644\u0646\u0638\u0627\u0645",system_req_desc:"\u064A\u062D\u062A\u0648\u064A \u0627\u0644\u0646\u0638\u0627\u0645 \u0639\u0644\u0649 \u0628\u0639\u0636 \u0645\u062A\u0637\u0644\u0628\u0627\u062A \u0627\u0644\u062E\u0627\u062F\u0645. \u062A\u0623\u0643\u062F \u0645\u0646 \u0623\u0646 \u062E\u0627\u062F\u0645\u0643 \u0644\u062F\u064A\u0647 \u0646\u0633\u062E\u0629 php \u0627\u0644\u0645\u0637\u0644\u0648\u0628\u0629 \u0648\u062C\u0645\u064A\u0639 \u0627\u0644\u0627\u0645\u062A\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0645\u0630\u0643\u0648\u0631\u0629 \u0623\u062F\u0646\u0627\u0647."},errors:{migrate_failed:"\u0641\u0634\u0644 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u062C\u062F\u0627\u0648\u0644",database_variables_save_error:"\u063A\u064A\u0631 \u0642\u0627\u062F\u0631 \u0639\u0644\u0649 \u0627\u0644\u0627\u062A\u0635\u0627\u0644 \u0628\u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0642\u064A\u0645 \u0627\u0644\u0645\u0642\u062F\u0645\u0629.",mail_variables_save_error:"\u0641\u0634\u0644 \u062A\u0643\u0648\u064A\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A.",connection_failed:"\u0641\u0634\u0644 \u0627\u062A\u0635\u0627\u0644 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",database_should_be_empty:"\u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0641\u0627\u0631\u063A\u0629"},success:{mail_variables_save_successfully:"\u062A\u0645 \u062A\u0643\u0648\u064A\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0628\u0646\u062C\u0627\u062D",database_variables_save_successfully:"\u062A\u0645 \u062A\u0643\u0648\u064A\u0646 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0628\u0646\u062C\u0627\u062D."}},Po={invalid_phone:"\u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062A\u0641 \u063A\u064A\u0631 \u0635\u062D\u064A\u062D",invalid_url:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0646\u062A\u0631\u0646\u062A \u063A\u064A\u0631 \u0635\u062D\u064A\u062D (\u0645\u062B\u0627\u0644: http://www.craterapp.com)",invalid_domain_url:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0646\u062A\u0631\u0646\u062A \u063A\u064A\u0631 \u0635\u062D\u064A\u062D (\u0645\u062B\u0627\u0644: craterapp.com)",required:"\u062D\u0642\u0644 \u0645\u0637\u0644\u0648\u0628",email_incorrect:"\u0628\u0631\u064A\u062F \u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u063A\u064A\u0631 \u0635\u062D\u064A\u062D.",email_already_taken:"\u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0645\u0633\u062A\u062E\u062F\u0645 \u0645\u0633\u0628\u0642\u0627\u064B",email_does_not_exist:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0643\u0633\u062A\u062E\u062F\u0645 \u0628\u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A",item_unit_already_taken:"\u0648\u062D\u062F\u0629 \u0627\u0644\u0628\u0646\u062F \u0642\u062F \u0627\u062A\u062E\u0630\u062A \u0628\u0627\u0644\u0641\u0639\u0644",payment_mode_already_taken:"\u0644\u0642\u062F \u062A\u0645 \u0628\u0627\u0644\u0641\u0639\u0644 \u0623\u062E\u0630 \u0637\u0631\u064A\u0642\u0629 \u0627\u0644\u062F\u0641\u0639",send_reset_link:"\u0623\u0631\u0633\u0627\u0644 \u0631\u0627\u0628\u0637 \u0627\u0633\u062A\u0639\u0627\u062F\u0629 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",not_yet:"\u0644\u064A\u0633 \u0628\u0639\u062F\u061F \u0623\u0639\u062F \u0627\u0644\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0622\u0646..",password_min_length:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u064A\u062C\u0628 \u0623\u0646 \u062A\u062A\u0643\u0648\u0646 \u0645\u0646 {count} \u0623\u062D\u0631\u0641 \u0639\u0644\u0649 \u0627\u0644\u0623\u0642\u0644",name_min_length:"\u0627\u0644\u0627\u0633\u0645 \u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0643\u0648\u0646 \u0645\u0646 {count} \u0623\u062D\u0631\u0641 \u0639\u0644\u0649 \u0627\u0644\u0623\u0642\u0644",enter_valid_tax_rate:"\u0623\u062F\u062E\u0644 \u0645\u0639\u062F\u0644 \u0627\u0644\u0636\u0631\u064A\u0628\u0629 \u0628\u0634\u0643\u0644 \u0635\u062D\u064A\u062D",numbers_only:"\u0623\u0631\u0642\u0627\u0645 \u0641\u0642\u0637.",characters_only:"\u062D\u0631\u0648\u0641 \u0641\u0642\u0637.",password_incorrect:"\u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0643\u0644\u0645\u0627\u062A \u0627\u0644\u0645\u0631\u0648\u0631 \u0645\u062A\u0637\u0627\u0628\u0642\u0629",password_length:"\u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0628\u0637\u0648\u0644 {count} \u062D\u0631\u0641.",qty_must_greater_than_zero:"\u0627\u0644\u0643\u0645\u064A\u0629 \u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0623\u0643\u0628\u0631 \u0645\u0646 \u0635\u0641\u0631.",price_greater_than_zero:"\u0627\u0644\u0633\u0639\u0631 \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0623\u0643\u0628\u0631 \u0645\u0646 \u0635\u0641\u0631.",payment_greater_than_zero:"\u0627\u0644\u062F\u0641\u0639\u0629 \u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0623\u0643\u0628\u0631 \u0645\u0646 \u0635\u0641\u0631.",payment_greater_than_due_amount:"\u0645\u0628\u0644\u063A \u0627\u0644\u062F\u0641\u0639\u0629 \u0623\u0643\u062B\u0631 \u0645\u0646 \u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0633\u062A\u062D\u0642 \u0644\u0647\u0630\u0647 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629.",quantity_maxlength:"\u064A\u062C\u0628 \u0623\u0644\u0627 \u062A\u0632\u064A\u062F \u0627\u0644\u0643\u0645\u064A\u0629 \u0639\u0646 20 \u0631\u0642\u0645\u0627\u064B.",price_maxlength:"\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u0632\u064A\u062F \u0627\u0644\u0633\u0639\u0631 \u0639\u0646 20 \u0631\u0642\u0645\u0627\u064B.",price_minvalue:"\u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0627\u0644\u0633\u0639\u0631 \u0623\u0643\u0628\u0631 \u0645\u0646 \u0635\u0641\u0631.",amount_maxlength:"\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u0632\u064A\u062F \u0627\u0644\u0645\u0628\u0644\u063A \u0639\u0646 20 \u0631\u0642\u0645\u0627\u064B.",amount_minvalue:"\u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0627\u0644\u0645\u0628\u0644\u063A \u0623\u0643\u0628\u0631 \u0645\u0646 \u0635\u0641\u0631.",description_maxlength:"\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u0632\u064A\u062F \u0627\u0644\u0648\u0635\u0641 \u0639\u0646 255 \u062D\u0631\u0641\u0627\u064B.",subject_maxlength:"Subject should not be greater than 100 characters.",message_maxlength:"Message should not be greater than 255 characters.",maximum_options_error:"\u0627\u0644\u062D\u062F \u0627\u0644\u0623\u0639\u0644\u0649 \u0647\u0648 {max} \u062E\u064A\u0627\u0631\u0627\u062A. \u0642\u0645 \u0628\u0625\u0632\u0627\u0644\u0629 \u0623\u062D\u062F \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A \u0644\u062A\u062D\u062F\u064A\u062F \u062E\u064A\u0627\u0631 \u0622\u062E\u0631.",notes_maxlength:"\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u0632\u064A\u062F \u062D\u062C\u0645 \u0627\u0644\u0645\u0644\u0627\u062D\u0638\u0627\u062A \u0639\u0646 255 \u062D\u0631\u0641\u0627\u064B.",address_maxlength:"\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u0632\u064A\u062F \u0627\u0644\u0639\u0646\u0648\u0627\u0646 \u0639\u0646 255 \u062D\u0631\u0641\u0627\u064B.",ref_number_maxlength:"\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u0632\u064A\u062F \u0627\u0644\u0631\u0642\u0645 \u0627\u0644\u0645\u0631\u062C\u0639\u064A \u0639\u0646 255 \u062D\u0631\u0641\u0627\u064B.",prefix_maxlength:"\u064A\u062C\u0628 \u0623\u0644\u0627 \u062A\u0632\u064A\u062F \u0627\u0644\u0628\u0627\u062F\u0626\u0629 \u0639\u0646 5 \u0623\u062D\u0631\u0641.",something_went_wrong:"\u062E\u0637\u0623 \u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641!"},jo="\u062A\u0642\u062F\u064A\u0631",Do="\u0631\u0642\u0645 \u062A\u0642\u062F\u064A\u0631",Co="\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u062A\u0642\u062F\u064A\u0631",Ao="Expiry date",No="\u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",Eo="\u0631\u0642\u0645 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",To="\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",Io="Due date",$o="\u0645\u0644\u0627\u062D\u0638\u0627\u062A",Ro="\u0627\u0644\u0623\u0635\u0646\u0627\u0641",Fo="\u0627\u0644\u0643\u0645\u064A\u0629",Mo="\u0627\u0644\u0633\u0639\u0631",Bo="\u0627\u0644\u062E\u0635\u0645",Vo="\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",Oo="Subtotal",Lo="\u0627\u0644\u0625\u062C\u0645\u0627\u0644\u064A",Uo="Payment",Ko="PAYMENT RECEIPT",qo="Payment Date",Wo="\u0631\u0642\u0645 \u0627\u0644\u062F\u0641\u0639\u0629",Zo="\u0646\u0648\u0639 \u0627\u0644\u062F\u0641\u0639\u0629",Ho="Amount Received",Go="EXPENSES REPORT",Yo="TOTAL EXPENSE",Jo="PROFIT & LOSS REPORT",Xo="Sales Customer Report",Qo="Sales Item Report",er="Tax Summary Report",tr="INCOME",ar="NET PROFIT",sr="Sales Report: By Customer",nr="TOTAL SALES",ir="Sales Report: By Item",or="TAX REPORT",rr="TOTAL TAX",dr="\u0623\u0646\u0648\u0627\u0639 \u0627\u0644\u0636\u0631\u0627\u0626\u0628",lr="\u0627\u0644\u0646\u0641\u0642\u0627\u062A",cr="\u0645\u0637\u0644\u0648\u0628 \u0645\u0646,",_r="\u064A\u0634\u062D\u0646 \u0625\u0644\u0649,",ur="Received from:",mr="\u0636\u0631\u064A\u0628\u0629";var pr={navigation:co,general:_o,dashboard:uo,tax_types:mo,global_search:po,customers:go,items:fo,estimates:ho,invoices:vo,payments:yo,expenses:bo,login:ko,users:wo,reports:xo,settings:zo,wizard:So,validation:Po,pdf_estimate_label:jo,pdf_estimate_number:Do,pdf_estimate_date:Co,pdf_estimate_expire_date:Ao,pdf_invoice_label:No,pdf_invoice_number:Eo,pdf_invoice_date:To,pdf_invoice_due_date:Io,pdf_notes:$o,pdf_items_label:Ro,pdf_quantity_label:Fo,pdf_price_label:Mo,pdf_discount_label:Bo,pdf_amount_label:Vo,pdf_subtotal:Oo,pdf_total:Lo,pdf_payment_label:Uo,pdf_payment_receipt_label:Ko,pdf_payment_date:qo,pdf_payment_number:Wo,pdf_payment_mode:Zo,pdf_payment_amount_received_label:Ho,pdf_expense_report_label:Go,pdf_total_expenses_label:Yo,pdf_profit_loss_label:Jo,pdf_sales_customers_label:Xo,pdf_sales_items_label:Qo,pdf_tax_summery_label:er,pdf_income_label:tr,pdf_net_profit_label:ar,pdf_customer_sales_report:sr,pdf_total_sales_label:nr,pdf_item_sales_label:ir,pdf_tax_report_label:or,pdf_total_tax_label:rr,pdf_tax_types_label:dr,pdf_expenses_label:lr,pdf_bill_to:cr,pdf_ship_to:_r,pdf_received_from:ur,pdf_tax_label:mr};const gr={dashboard:"\xDCbersicht",customers:"Kunden",items:"Artikel",invoices:"Rechnungen",expenses:"Kosten",estimates:"Kostenvoranschl\xE4ge",payments:"Zahlungen",reports:"Berichte",settings:"Einstellungen",logout:"Abmelden",users:"Benutzer"},fr={add_company:"Unternehmen hinzuf\xFCgen",view_pdf:"PDF anzeigen",copy_pdf_url:"PDF-Link kopieren",download_pdf:"PDF herunterladen",save:"Speichern",create:"Erstellen",cancel:"Abbrechen",update:"Aktualisieren",deselect:"Abw\xE4hlen",download:"Herunterladen",from_date:"Von Datum",to_date:"bis Datum",from:"Von",to:"bis",sort_by:"Sortieren nach",ascending:"Aufsteigend",descending:"Absteigend",subject:"Betreff",body:"Inhalt",message:"Nachricht",send:"Absenden",go_back:"zur\xFCck",back_to_login:"Zur\xFCck zum Login?",home:"Startseite",filter:"Filter",delete:"L\xF6schen",edit:"Bearbeiten",view:"Anzeigen",add_new_item:"Artikel hinzuf\xFCgen",clear_all:"Alle entfernen",showing:"Anzeigen",of:"von",actions:"Aktionen",subtotal:"ZWISCHENSUMME",discount:"RABATT",fixed:"Festsatz",percentage:"Prozentsatz",tax:"Steuer",total_amount:"GESAMTSUMME",bill_to:"Rechnungsempf\xE4nger",ship_to:"Versand ein",due:"F\xE4llig",draft:"Entwurf",sent:"Gesendet",all:"Alle",select_all:"Alle ausw\xE4hlen",choose_file:"Klicken Sie hier, um eine Datei auszuw\xE4hlen",choose_template:"W\xE4hlen Sie eine Vorlage",choose:"W\xE4hlen",remove:"Entfernen",powered_by:"Betrieben durch",bytefury:"Bytefury",select_a_status:"Status w\xE4hlen",select_a_tax:"Steuersatz w\xE4hlen",search:"Suchen",are_you_sure:"Sind Sie sicher?",list_is_empty:"Liste ist leer.",no_tax_found:"Kein Steuersatz gefunden!",four_zero_four:"Vier hundert vier",you_got_lost:"Hoppla! Du hast dich verirrt!",go_home:"Geh zur\xFCck",test_mail_conf:"E-Mail Konfiguration testen",send_mail_successfully:"E-Mail versendet erfolgreich",setting_updated:"Einstellungen erfolgreich aktualisiert",select_state:"Bundesland w\xE4hlen",select_country:"Land w\xE4hlen",select_city:"Stadt w\xE4hlen",street_1:"Stra\xDFe",street_2:"Zusatz Strasse",action_failed:"Aktion fehlgeschlagen",retry:"Wiederholen",choose_note:"Notiz ausw\xE4hlen",no_note_found:"Keine Notizen gefunden",insert_note:"Notiz einf\xFCgen"},hr={select_year:"Jahr w\xE4hlen",cards:{due_amount:"Offene Betr\xE4ge",customers:"Kunden",invoices:"Rechnungen",estimates:"Kostenvoranschl\xE4ge"},chart_info:{total_sales:"Auftr\xE4ge gesamt",total_receipts:"Zahlungen gesamt",total_expense:"Kosten gesamt",net_income:"Einnahmen Netto",year:"Jahr"},monthly_chart:{title:"Umsatz & Kosten"},recent_invoices_card:{title:"F\xE4llige Rechnungen",due_on:"F\xE4llig am",customer:"Kunden",amount_due:"Offener Betrag",actions:"Aktionen",view_all:"Alle Anzeigen"},recent_estimate_card:{title:"Aktuelle Kostenvoranschl\xE4ge",date:"Datum",customer:"Kunden",amount_due:"Betrag",actions:"Aktionen",view_all:"Alle Anzeigen"}},vr={name:"Name",description:"Beschreibung",percent:"Prozent",compound_tax:"zusammengesetzte Steuer"},yr={search:"Suchen...",customers:"Kunden",users:"Benutzer",no_results_found:"Keine Ergebnisse gefunden"},br={title:"Kunden",add_customer:"Kunde hinzuf\xFCgen",contacts_list:"Kunden-Liste",name:"Name",mail:"E-Mail| E-Mails",statement:"Stellungnahme",display_name:"Anzeige Name",primary_contact_name:"Ansprechpartner",contact_name:"Kontakt Name",amount_due:"Offener Betrag",email:"E-Mail",address:"Adresse",phone:"Telefon",website:"Webseite",overview:"\xDCbersicht",enable_portal:"Kunden-Portal aktivieren",country:"Land",state:"Bundesland",city:"Stadt",zip_code:"PLZ",added_on:"Hinzugef\xFCgt am",action:"Aktion",password:"Passwort",street_number:"Hausnummer",primary_currency:"Prim\xE4re W\xE4hrung",description:"Beschreibung",add_new_customer:"Neuen Kunden hinzuf\xFCgen",save_customer:"Kunde speichern",update_customer:"Kunden \xE4ndern",customer:"Kunde | Kunden",new_customer:"Neuer Kunde",edit_customer:"Kunde bearbeiten",basic_info:"Basisinformation",billing_address:"Rechnungsadresse",shipping_address:"Versand-Adresse",copy_billing_address:"Rechnungsadresse kopieren",no_customers:"Noch keine Kunden!",no_customers_found:"Keine Kunden gefunden!",no_contact:"Kein Kontakt",no_contact_name:"Kein Kontaktname",list_of_customers:"Dieser Abschnitt enth\xE4lt die Liste der Kunden.",primary_display_name:"Prim\xE4rer Anzeige Name",select_currency:"W\xE4hrung w\xE4hlen",select_a_customer:"W\xE4hlen Sie einen Kunden",type_or_click:"Eingeben oder anklicken zum ausw\xE4hlen",new_transaction:"Neue Transaktion",no_matching_customers:"Es gibt keine passenden Kunden!",phone_number:"Telefonnummer",create_date:"Erstellungsdatum",confirm_delete:"Sie k\xF6nnen diesen Kunden und alle zugeh\xF6rigen Rechnungen, Sch\xE4tzungen und Zahlungen nicht wiederherstellen. | Sie k\xF6nnen diesen Kunden und alle zugeh\xF6rigen Rechnungen, Sch\xE4tzungen und Zahlungen nicht wiederherstellen.",created_message:"Benutzer erfolgreich erstellt",updated_message:"Kunde erfolgreich aktualisiert",deleted_message:"Kunden erfolgreich gel\xF6scht | Kunden erfolgreich gel\xF6scht"},kr={title:"Artikel",items_list:"Artikel-Liste",name:"Name",unit:"Einheit",description:"Beschreibung",added_on:"Hinzugef\xFCgt am",price:"Preis",date_of_creation:"Erstellt am",not_selected:"Keine ausgew\xE4hlt",action:"Aktion",add_item:"Artikel hinzuf\xFCgen",save_item:"Artikel speichern",update_item:"Artikel \xE4ndern",item:"Artikel | Artikel",add_new_item:"Neuen Artikel hinzuf\xFCgen",new_item:"Neuer Artikel",edit_item:"Artikel bearbeiten",no_items:"Keine Artikel vorhanden!",list_of_items:"Dieser Abschnitt enth\xE4lt die Liste der Artikel.",select_a_unit:"w\xE4hlen Sie die Einheit",taxes:"Steuern",item_attached_message:"Ein Artikel der bereits verwendet wird kann nicht gel\xF6scht werden",confirm_delete:"Sie k\xF6nnen diesen Artikel nicht wiederherstellen | Sie k\xF6nnen diese Artikel nicht wiederherstellen",created_message:"Artikel erfolgreich erstellt",updated_message:"Artikel erfolgreich aktualisiert",deleted_message:"Artikel erfolgreich gel\xF6scht | Artikel erfolgreich gel\xF6scht"},wr={title:"Kostenvoranschl\xE4ge",estimate:"Kostenvoranschlag | Kostenvoranschl\xE4ge",estimates_list:"Liste Kostenvoranschl\xE4ge",days:"{days} Tage",months:"{months} Monat",years:"{years} Jahre",all:"Alle",paid:"Bezahlt",unpaid:"Unbezahlte",customer:"KUNDEN",ref_no:"REF. - NR.",number:"ANZAHL",amount_due:"OFFENER BETRAG",partially_paid:"Teilweise bezahlt",total:"Gesamt",discount:"Rabatt",sub_total:"Zwischensumme",estimate_number:"Kostenvoran. Nummer",ref_number:"Ref-Nummer",contact:"Kontakt",add_item:"F\xFCgen Sie ein Artikel hinzu",date:"Datum",due_date:"F\xE4lligkeit",expiry_date:"Zahlungsziel",status:"Status",add_tax:"Steuer hinzuf\xFCgen",amount:"Summe",action:"Aktion",notes:"Hinweise",tax:"Steuer",estimate_template:"Vorlage",convert_to_invoice:"Konvertieren in Rechnung",mark_as_sent:"Als gesendet markieren",send_estimate:"Kostenvoranschlag senden",resend_estimate:"Kostenvoranschlag erneut senden",record_payment:"Zahlung erfassen",add_estimate:"Kostenvoranschlag hinzuf\xFCgen",save_estimate:"Kostenvoranschlag speichern",confirm_conversion:"Sie m\xF6chten, konvertieren Sie diese Sch\xE4tzung in die Rechnung?",conversion_message:"Rechnung erfolgreich erstellt",confirm_send_estimate:"Der Kostenvoranschlag wird per E-Mail an den Kunden gesendet",confirm_mark_as_sent:"Dieser Kostenvoranschlag wird als gesendet markiert",confirm_mark_as_accepted:"Dieser Kostenvoranschlag wird als angenommen markiert",confirm_mark_as_rejected:"Dieser Kostenvoranschlag wird als abgelehnt markiert",no_matching_estimates:"Es gibt keine \xFCbereinstimmenden Kostenvoranschl\xE4ge!",mark_as_sent_successfully:"Kostenvoranschlag als gesendet markiert.",send_estimate_successfully:"Kostenvoranschlag erfolgreich gesendet",errors:{required:"Feld ist erforderlich"},accepted:"Angenommen",rejected:"Abgelehnt",sent:"Gesendet",draft:"Entwurf",declined:"Abgelehnt",new_estimate:"Neuer Kostenvoranschlag",add_new_estimate:"Neuen Kostenvoranschlag hinzuf\xFCgen",update_Estimate:"Kostenvoranschlag aktualisieren",edit_estimate:"Kostenvoranschlag \xE4ndern",items:"Artikel",Estimate:"Kostenvoranschlag | Kostenvoranschl\xE4ge",add_new_tax:"neuen Steuersatz hinzuf\xFCgen",no_estimates:"Keine Kostenvoranschl\xE4ge vorhanden!",list_of_estimates:"Dieser Abschnitt enth\xE4lt die Liste der Kostenvoranschl\xE4ge.",mark_as_rejected:"Markiert als abgelehnt",mark_as_accepted:"Markiert als angenommen",marked_as_accepted_message:"Kostenvoranschlag als angenommen markiert",marked_as_rejected_message:"Kostenvoranschlag als abgelehnt markiert",confirm_delete:"Der Kostenvoranschlag kann nicht wiederhergestellt werden | Die Kostenvoranschl\xE4ge k\xF6nnen nicht wiederhergestellt werden",created_message:"Kostenvoranschlag erfolgreich erstellt",updated_message:"Kostenvoranschlag erfolgreich aktualisiert",deleted_message:"Kostenvoranschlag erfolgreich gel\xF6scht | Kostenvoranschl\xE4ge erfolgreich gel\xF6scht",something_went_wrong:"Da ging etwas schief",item:{title:"Titel",description:"Beschreibung",quantity:"Menge",price:"Preis",discount:"Rabatt",total:"Gesamt",total_discount:"Rabatt Gesamt",sub_total:"Zwischensumme",tax:"Steuer",amount:"Summe",select_an_item:"W\xE4hlen Sie einen Artikel",type_item_description:"Artikel Beschreibung (optional)"}},xr={title:"Rechnungen",invoices_list:"Liste der Rechnungen",days:"{days} Tage",months:"{months} Monat",years:"{years} Jahre",all:"Alle",paid:"Bezahlt",unpaid:"Unbezahlt",viewed:"Gesehen",overdue:"\xDCberf\xE4llig",completed:"Abgeschlossen",customer:"KUNDEN",paid_status:"BEZAHLT-STATUS",ref_no:"REF. - NR.",number:"ANZAHL",amount_due:"OFFENER BETRAG",partially_paid:"Teilzahlung",total:"Gesamt",discount:"Rabatt",sub_total:"Zwischensumme",invoice:"Rechnung | Rechnungen",invoice_number:"Rechnungsnummer",ref_number:"Ref-Nummer",contact:"Kontakt",add_item:"F\xFCgen Sie ein Artikel hinzu",date:"Datum",due_date:"F\xE4lligkeit",status:"Status",add_tax:"Steuersatz hinzuf\xFCgen",amount:"Summe",action:"Aktion",notes:"Hinweise",view:"Anzeigen",send_invoice:"Rechnung senden",resend_invoice:"Rechnung erneut senden",invoice_template:"Rechnungs-Vorlage",template:"Vorlage",mark_as_sent:"Als gesendet markieren",confirm_send_invoice:"Diese Rechnung wird per E-Mail an den Kunden gesendet",invoice_mark_as_sent:"Diese Rechnung wird als gesendet markiert",confirm_send:"Diese Rechnung wird per E-Mail an den Kunden gesendet",invoice_date:"Rechnungsdatum",record_payment:"Zahlung erfassen",add_new_invoice:"Neue Rechnung hinzuf\xFCgen",update_expense:"Kosten aktualisieren",edit_invoice:"Rechnung bearbeiten",new_invoice:"Neue Rechnung",save_invoice:"Rechnung speichern",update_invoice:"Rechnung \xE4ndern",add_new_tax:"Neuen Steuersatz hinzuf\xFCgen",no_invoices:"Keine Rechnungen vorhanden!",list_of_invoices:"Dieser Abschnitt enth\xE4lt die Liste der Rechnungen.",select_invoice:"W\xE4hlen Sie eine Rechnung",no_matching_invoices:"Es gibt keine entsprechenden Rechnungen!",mark_as_sent_successfully:"Rechnung gekennzeichnet als erfolgreich gesendet",invoice_sent_successfully:"Rechnung erfolgreich versendet",cloned_successfully:"Rechnung erfolgreich kopiert",clone_invoice:"Rechnung kopieren",confirm_clone:"Diese Rechnung wird kopiert",item:{title:"Titel",description:"Beschreibung",quantity:"Menge",price:"Preis",discount:"Rabatt",total:"Gesamt",total_discount:"Rabatt Gesamt",sub_total:"Zwischensumme",tax:"Steuer",amount:"Summe",select_an_item:"Geben Sie oder w\xE4hlen Sie ein Artikel",type_item_description:"Artikel Beschreibung (optional)"},confirm_delete:"Sie k\xF6nnen diese Rechnung nicht wiederherstellen. | Sie k\xF6nnen diese Rechnungen nicht wiederherstellen.",created_message:"Rechnung erfolgreich erstellt",updated_message:"Rechnung erfolgreich aktualisiert",deleted_message:"Rechnung erfolgreich gel\xF6scht | Rechnungen erfolgreich gel\xF6scht",marked_as_sent_message:"Rechnung als erfolgreich gesendet markiert",something_went_wrong:"Da ist etwas schief gelaufen",invalid_due_amount_message:"Der Gesamtrechnungsbetrag darf nicht kleiner sein als der f\xFCr diese Rechnung bezahlte Gesamtbetrag. Bitte aktualisieren Sie die Rechnung oder l\xF6schen Sie die zugeh\xF6rigen Zahlungen um fortzufahren."},zr={title:"Zahlungen",payments_list:"Liste der Zahlungen",record_payment:"Zahlung eintragen",customer:"Kunden",date:"Datum",amount:"Summe",action:"Aktion",payment_number:"Zahlungsnummer",payment_mode:"Zahlungsart",invoice:"Rechnung",note:"Hinweis",add_payment:"Zahlung hinzuf\xFCgen",new_payment:"Neue Zahlung",edit_payment:"Zahlung bearbeiten",view_payment:"Zahlung anzeigen",add_new_payment:"Neue Zahlung hinzuf\xFCgen",send_payment_receipt:"Zahlungsbeleg senden",send_payment:"Senden Sie die Zahlung",save_payment:"Zahlung speichern",update_payment:"Zahlung \xE4ndern",payment:"Zahlung | Zahlungen",no_payments:"Keine Zahlungen vorhanden!",not_selected:"Nicht ausgew\xE4hlt",no_invoice:"Keine Rechnung",no_matching_payments:"Es gibt keine passenden Zahlungen!",list_of_payments:"Dieser Abschnitt enth\xE4lt die Liste der Zahlungen.",select_payment_mode:"W\xE4hlen Sie den Zahlungsmodus",confirm_mark_as_sent:"Dieser Kostenvoranschlag wird als gesendet markiert",confirm_send_payment:"Diese Zahlung wird per E-Mail an den Kunden gesendet",send_payment_successfully:"Zahlung erfolgreich gesendet",something_went_wrong:"Da ist etwas schief gelaufen",confirm_delete:"Sie k\xF6nnen diese Zahlung nicht wiederherstellen. | Sie k\xF6nnen diese Zahlungen nicht wiederherstellen.",created_message:"Zahlung erfolgreich erstellt",updated_message:"Zahlung erfolgreich aktualisiert",deleted_message:"Zahlung erfolgreich gel\xF6scht | Zahlungen erfolgreich gel\xF6scht",invalid_amount_message:"Zahlungsbetrag ist ung\xFCltig"},Sr={title:"Aufwendungen/Ausgaben",expenses_list:"Liste der Ausgaben",select_a_customer:"W\xE4hlen Sie einen Kunden",expense_title:"Titel",customer:"Kundin",contact:"Kontakt",category:"Kategorie",from_date:"Von Datum",to_date:"bis Datum",expense_date:"Datum",description:"Beschreibung",receipt:"Eingang",amount:"Summe",not_selected:"Nicht ausgew\xE4hlt",action:"Aktion",note:"Hinweis",category_id:"Kategorie-Id",date:"Aufwandsdatum",add_expense:"Aufwendung hinzuf\xFCgen",add_new_expense:"Neue Aufwendung hinzuf\xFCgen",save_expense:"Aufwendung speichern",update_expense:"Aufwendung aktualisieren",download_receipt:"Quittung herunterladen",edit_expense:"Aufwendung \xE4ndern",new_expense:"Neue Aufwendung",expense:"Aufwendung | Aufwendungen",no_expenses:"Noch keine Ausgaben!",list_of_expenses:"Dieser Abschnitt enth\xE4lt die Liste der Ausgaben.",confirm_delete:"Sie k\xF6nnen diese Ausgabe nicht wiederherstellen. | Sie k\xF6nnen diese Ausgaben nicht wiederherstellen.",created_message:"Aufwand erfolgreich erstellt",updated_message:"Aufwand erfolgreich aktualisiert",deleted_message:"Aufwand erfolgreich gel\xF6scht | Aufwand erfolgreich gel\xF6scht",categories:{categories_list:"Liste der Kategorien",title:"Titel",name:"Name",description:"Beschreibung",amount:"Summe",actions:"Aktionen",add_category:"Kategorie hinzuf\xFCgen",new_category:"Neue Kategorie",category:"Kategorie | Kategorien",select_a_category:"W\xE4hlen Sie eine Kategorie"}},Pr={email:"E-Mail",password:"Passwort",forgot_password:"Passwort vergessen?",or_signIn_with:"oder Anmelden mit",login:"Anmelden",register:"Registrieren",reset_password:"Passwort zur\xFCcksetzen",password_reset_successfully:"Passwort erfolgreich zur\xFCckgesetzt",enter_email:"Geben Sie Ihre E-Mail ein",enter_password:"Geben Sie das Passwort ein",retype_password:"Passwort best\xE4tigen"},jr={title:"Benutzer",users_list:"Benutzerliste",name:"Name",description:"Beschreibung",added_on:"Hinzugef\xFCgt am",date_of_creation:"Erstellt am",action:"Aktion",add_user:"Benutzer hinzuf\xFCgen",save_user:"Benutzer speichern",update_user:"Benutzer aktualisieren",user:"Benutzer",add_new_user:"Neuen Benutzer hinzuf\xFCgen",new_user:"Neuer Benutzer",edit_user:"Benutzer bearbeiten",no_users:"Noch keine Benutzer!",list_of_users:"Dieser Abschnitt enth\xE4lt die Liste der Benutzer.",email:"E-Mail",phone:"Telefon",password:"Passwort",user_attached_message:"Ein Artikel der bereits verwendet wird kann nicht gel\xF6scht werden",confirm_delete:"Sie werden diesen Benutzer nicht wiederherstellen k\xF6nnen | Sie werden nicht in der Lage sein, diese Benutzer wiederherzustellen",created_message:"Benutzer erfolgreich erstellt",updated_message:"Benutzer wurde erfolgreich aktualisiert",deleted_message:"Benutzer erfolgreich gel\xF6scht | Benutzer erfolgreich gel\xF6scht"},Dr={title:"Bericht",from_date:"Ab Datum",to_date:"bis Datum",status:"Status",paid:"Bezahlt",unpaid:"Unbezahlt",download_pdf:"PDF herunterladen",view_pdf:"PDF anzeigen",update_report:"Bericht aktualisieren",report:"Bericht | Berichte",profit_loss:{profit_loss:"Gewinn & Verlust",to_date:"bis Datum",from_date:"Ab Datum",date_range:"Datumsbereich ausw\xE4hlen"},sales:{sales:"Umsatz",date_range:"Datumsbereich ausw\xE4hlen",to_date:"bis Datum",from_date:"Ab Datum",report_type:"Berichtstyp"},taxes:{taxes:"Steuern",to_date:"bis Datum",from_date:"Ab Datum",date_range:"Datumsbereich ausw\xE4hlen"},errors:{required:"Feld ist erforderlich"},invoices:{invoice:"Rechnung",invoice_date:"Rechnungsdatum",due_date:"F\xE4lligkeit",amount:"Summe",contact_name:"Ansprechpartner",status:"Status"},estimates:{estimate:"Kostenvoranschlag",estimate_date:"Datum Kostenvoranschlag",due_date:"F\xE4lligkeit",estimate_number:"Kostenvoranschlag-Nr.",ref_number:"Ref-Nummer",amount:"Summe",contact_name:"Ansprechpartner",status:"Status"},expenses:{expenses:"Aufwendungen",category:"Kategorie",date:"Datum",amount:"Summe",to_date:"bis Datum",from_date:"Ab Datum",date_range:"Datumsbereich ausw\xE4hlen"}},Cr={menu_title:{account_settings:"Konto-Einstellungen",company_information:"Informationen zum Unternehmen",customization:"Anpassung",preferences:"Einstellungen",notifications:"Benachrichtigungen",tax_types:"Steuers\xE4tze",expense_category:"Ausgabenkategorien",update_app:"Applikation aktualisieren",backup:"Sicherung",file_disk:"Dateispeicher",custom_fields:"Benutzerdefinierte Felder",payment_modes:"Zahlungsarten",notes:"Hinweise"},title:"Einstellungen",setting:"Einstellung | Einstellungen",general:"Allgemeine",language:"Sprache",primary_currency:"Prim\xE4re W\xE4hrung",timezone:"Zeitzone",date_format:"Datum-Format",currencies:{title:"W\xE4hrungen",currency:"W\xE4hrung | W\xE4hrungen",currencies_list:"W\xE4hrungen Liste",select_currency:"W\xE4hrung w\xE4hlen",name:"Name",code:"Code",symbol:"Symbol",precision:"Pr\xE4zision",thousand_separator:"Tausendertrennzeichen",decimal_separator:"Dezimal-Trennzeichen",position:"Position",position_of_symbol:"Position des W\xE4hrungssymbol",right:"Rechts",left:"Links",action:"Aktion",add_currency:"W\xE4hrung einf\xFCgen"},mail:{host:"E-Mail Mailserver",port:"E-Mail Port",driver:"E-Mail Treiber",secret:"Verschl\xFCsselung",mailgun_secret:"Mailgun Verschl\xFCsselung",mailgun_domain:"Mailgun Adresse",mailgun_endpoint:"Mailgun-Endpunkt",ses_secret:"SES Verschl\xFCsselung",ses_key:"SES-Taste",password:"E-Mail-Kennwort",username:"E-Mail-Benutzername",mail_config:"E-Mail-Konfiguration",from_name:"Von E-Mail-Namen",from_mail:"Von E-Mail-Adresse",encryption:"E-Mail-Verschl\xFCsselung",mail_config_desc:"Unten finden Sie das Formular zum Konfigurieren des E-Mail-Treibers zum Senden von E-Mails \xFCber die App. Sie k\xF6nnen auch Drittanbieter wie Sendgrid, SES usw. konfigurieren."},pdf:{title:"PDF-Einstellung",footer_text:"Fu\xDFzeile Text",pdf_layout:"PDF-Layout"},company_info:{company_info:"Firmeninfo",company_name:"Name des Unternehmens",company_logo:"Firmenlogo",section_description:"Informationen zu Ihrem Unternehmen, die auf Rechnungen, Kostenvoranschl\xE4gen und anderen von Crater erstellten Dokumenten angezeigt werden.",phone:"Telefon",country:"Land",state:"Bundesland",city:"Stadt",address:"Adresse",zip:"PLZ",save:"Speichern",updated_message:"Unternehmensinformationen wurden erfolgreich aktualisiert"},custom_fields:{title:"Benutzerdefinierte Felder",section_description:"Passen Sie Ihre Rechnungen, Kostenvoranschl\xE4ge und Zahlungseinnahmen mit Ihren eigenen Feldern an. Benutzen Sie die unten aufgef\xFChrten Felder in den Adressformaten auf der Seite Anpassungseinstellungen.",add_custom_field:"Benutzerdefiniertes Feld hinzuf\xFCgen",edit_custom_field:"Benutzerdefiniertes Feld bearbeiten",field_name:"Feldname",label:"Etikette",type:"Art",name:"Name",required:"Erforderlich",placeholder:"Platzhalter",help_text:"Hilfstext",default_value:"Standardwert",prefix:"Pr\xE4fix",starting_number:"Startnummer",model:"Modell",help_text_description:"Geben Sie einen Text ein, damit Benutzer den Zweck dieses benutzerdefinierten Felds verstehen.",suffix:"Vorzeichen",yes:"Ja",no:"Nein",order:"Auftrag",custom_field_confirm_delete:"Sie k\xF6nnen dieses benutzerdefinierte Feld nicht wiederherstellen",already_in_use:"Benutzerdefiniertes Feld wird bereits verwendet",deleted_message:"Benutzerdefiniertes Feld erfolgreich gel\xF6scht",options:"Optionen",add_option:"Optionen hinzuf\xFCgen",add_another_option:"F\xFCgen Sie eine weitere Option hinzu",sort_in_alphabetical_order:"In alphabetischer Reihenfolge sortieren",add_options_in_bulk:"F\xFCgen Sie Optionen in gro\xDFen Mengen hinzu",use_predefined_options:"Verwenden Sie vordefinierte Optionen",select_custom_date:"W\xE4hlen Sie Benutzerdefiniertes Datum",select_relative_date:"W\xE4hlen Sie Relatives Datum",ticked_by_default:"Standardm\xE4\xDFig aktiviert",updated_message:"Benutzerdefiniertes Feld erfolgreich aktualisiert",added_message:"Benutzerdefiniertes Feld erfolgreich hinzugef\xFCgt"},customization:{customization:"Anpassung",save:"Speichern",addresses:{title:"Adressen",section_description:"Sie k\xF6nnen die Rechnungsadresse und das Versandadressenformat des Kunden festlegen (nur in PDF angezeigt). ",customer_billing_address:"Rechnungsadresse des Kunden",customer_shipping_address:"Versand-Adresse des Kunden",company_address:"Firma Adresse",insert_fields:"Felder einf\xFCgen",contact:"Kontakt",address:"Adresse",display_name:"Anzeigename",primary_contact_name:"Ansprechpartner",email:"E-Mail",website:"Webseite",name:"Name",country:"Land",state:"Bundesland",city:"Stadt",company_name:"Name des Unternehmens",address_street_1:"Strasse",address_street_2:"Zusatz Strasse",phone:"Telefon",zip_code:"PLZ",address_setting_updated:"Adresse-Einstellung erfolgreich aktualisiert"},updated_message:"Unternehmensinformationen wurden erfolgreich aktualisiert",invoices:{title:"Rechnungen",notes:"Hinweise",invoice_prefix:"Rechnung Pr\xE4fix",invoice_number_length:"Rechnungsnummerl\xE4nge",default_invoice_email_body:"Standard Rechnung E-Mail Inhalt",invoice_settings:"Rechnungseinstellungen",autogenerate_invoice_number:"Rechnungsnummer automatisch generieren",autogenerate_invoice_number_desc:"Deaktivieren Sie diese Option, wenn Sie Rechnungsnummern nicht jedes Mal automatisch generieren m\xF6chten, wenn Sie eine neue Rechnung erstellen.",enter_invoice_prefix:"Rechnungspr\xE4fix eingeben",terms_and_conditions:"Allgemeine Gesch\xE4ftsbedingungen",company_address_format:"Firmenadressformat",shipping_address_format:"Versandadressen Format",billing_address_format:"Rechnungsadressen Format",invoice_settings_updated:"Rechnungseinstellung erfolgreich aktualisiert"},estimates:{title:"Kostenvoranschl\xE4ge",estimate_prefix:"Kostenvoranschlag Pr\xE4fix",estimate_number_length:"Angebotsnummerl\xE4nge",default_estimate_email_body:"Rechnung - E-Mail Text",estimate_settings:"Einstellungen Kostenvoranschlag",autogenerate_estimate_number:"Kostenvoranschlagsnummer automatisch generieren",estimate_setting_description:"Deaktivieren Sie diese Option, wenn Sie nicht jedes Mal, wenn Sie einen neue Kostenvoranschlag erstellen, automatisch eine Sch\xE4tzung generieren m\xF6chten.",enter_estimate_prefix:"Geben Sie das Kostenvoranschlag Pr\xE4fix ein",estimate_setting_updated:"Einstellungen Kostenvoranschl\xE4ge erfolgreich aktualisiert",company_address_format:"Firmenadresse Format",billing_address_format:"Rechnungsadressen Format",shipping_address_format:"Versandadressen Format"},payments:{title:"Zahlungen",description:"Transaktionsmodi f\xFCr Zahlungen",payment_prefix:"Zahlung Pr\xE4fix",payment_number_length:"Zahlungsnummerl\xE4nge",default_payment_email_body:"Zahlung - E-Mail Text",payment_settings:"Zahlung Einstellungen",autogenerate_payment_number:"Zahlungsnummer automatisch generieren",payment_setting_description:"Deaktivieren Sie diese Option, wenn Sie nicht jedes Mal, wenn Sie eine neue Zahlung erstellen, automatisch Zahlungsnummern generieren m\xF6chten.",enter_payment_prefix:"Zahlungspr\xE4fix eingeben",payment_setting_updated:"Zahlungseinstellung erfolgreich aktualisiert",payment_modes:"Zahlungsarten",add_payment_mode:"Zahlungsmethode hinzuf\xFCgen",edit_payment_mode:"Zahlungsmodus bearbeiten",mode_name:"Methodenname",payment_mode_added:"Zahlungsmethode hinzugef\xFCgt",payment_mode_updated:"Zahlungsmethode aktualisiert",payment_mode_confirm_delete:"Du kannst diese Zahlungsmethode nicht wiederherstellen",already_in_use:"Zahlungsmethode bereits in Verwendung",deleted_message:"Zahlungsmethode erfolgreich",company_address_format:"Firmenadressformat",from_customer_address_format:"Rechnungsadressen Format"},items:{title:"Artikel",units:"Einheiten",add_item_unit:"Artikeleinheit hinzuf\xFCgen",edit_item_unit:"Elementeinheit bearbeiten",unit_name:"Einheitname",item_unit_added:"Artikeleinheit hinzugef\xFCgt",item_unit_updated:"Artikeleinheit aktualisiert",item_unit_confirm_delete:"Du kannst diese Artikeleinheit nicht wiederherstellen",already_in_use:"Diese Artikeleinheit ist bereits in Verwendung",deleted_message:"Artikeleinheit erfolgreich gel\xF6scht"},notes:{title:"Hinweise",description:"Sparen Sie Zeit, indem Sie Notizen erstellen und diese auf Ihren Rechnungen, Kostenvoranschl\xE4gen und Zahlungen wiederverwenden.",notes:"Hinweise",type:"Art",add_note:"Notiz hinzuf\xFCgen",add_new_note:"Neue Notiz hinzuf\xFCgen",name:"Name",edit_note:"Notiz bearbeiten",note_added:"Notiz erfolgreich hinzugef\xFCgt",note_updated:"Notiz erfolgreich aktualisiert",note_confirm_delete:"Dieser Hinweis wird unwiderruflich gel\xF6scht",already_in_use:"Hinweis bereits in verwendet",deleted_message:"Notiz erfolgreich gel\xF6scht"}},account_settings:{profile_picture:"Profil Bild",name:"Name",email:"E-Mail",password:"Passwort",confirm_password:"Kennwort Best\xE4tigen",account_settings:"Konto-Einstellungen",save:"Speichern",section_description:"Sie k\xF6nnen Ihren Namen, Ihre E-Mail-Adresse und Ihr Passwort mit dem folgenden Formular aktualisieren.",updated_message:"Kontoeinstellungen erfolgreich aktualisiert"},user_profile:{name:"Name",email:"E-Mail",password:"Passwort",confirm_password:"Kennwort best\xE4tigen"},notification:{title:"Benachrichtigung",email:"Benachrichtigungen senden an",description:"Welche E-Mail-Benachrichtigungen m\xF6chten Sie erhalten wenn sich etwas \xE4ndert?",invoice_viewed:"Rechnung angezeigt",invoice_viewed_desc:"Wenn Ihr Kunde die gesendete Rechnung anzeigt bekommt.",estimate_viewed:"Kostenvoranschlag angesehen",estimate_viewed_desc:"Wenn Ihr Kunde den gesendeten Kostenvoranschlag anzeigt bekommt.",save:"Speichern",email_save_message:"Email erfolgreich gespeichert",please_enter_email:"Bitte E-Mail eingeben"},tax_types:{title:"Steuers\xE4tze",add_tax:"Steuers\xE4tze hinzuf\xFCgen",edit_tax:"Steuer bearbeiten",description:"Sie k\xF6nnen Steuern nach Belieben hinzuf\xFCgen oder entfernen. Crater unterst\xFCtzt Steuern auf einzelne Artikel sowie auf die Rechnung.",add_new_tax:"Neuen Steuersatz hinzuf\xFCgen",tax_settings:"Einstellungen Steuersatz",tax_per_item:"Steuersatz pro Artikel",tax_name:"Name des Steuersatzes",compound_tax:"zusammengesetzte Steuer",percent:"Prozent",action:"Aktion",tax_setting_description:"Aktivieren Sie diese Option, wenn Sie den Steuersatz zu einzelnen Rechnungspositionen hinzuf\xFCgen m\xF6chten. Standardm\xE4\xDFig wird der Steuersatz direkt zur Rechnung hinzugef\xFCgt.",created_message:"Steuersatz erfolgreich erstellt",updated_message:"Steuersatz erfolgreich aktualisiert",deleted_message:"Steuersatz erfolgreich gel\xF6scht",confirm_delete:"Sie k\xF6nnen diesen Steuersatz nicht wiederherstellen",already_in_use:"Steuersatz wird bereits verwendet"},expense_category:{title:"Kategorien Kosten",action:"Aktion",description:"F\xFCr das Hinzuf\xFCgen von Ausgabeneintr\xE4gen sind Kategorien erforderlich. Sie k\xF6nnen diese Kategorien nach Ihren W\xFCnschen hinzuf\xFCgen oder entfernen.",add_new_category:"Neue Kategorie hinzuf\xFCgen",add_category:"Kategorie hinzuf\xFCgen",edit_category:"Kategorie bearbeiten",category_name:"Kategorie Name",category_description:"Beschreibung",created_message:"Ausgabenkategorie erfolgreich erstellt",deleted_message:"Ausgabenkategorie erfolgreich gel\xF6scht",updated_message:"Ausgabenkategorie erfolgreich aktualisiert",confirm_delete:"Sie k\xF6nnen diese Ausgabenkategorie nicht wiederherstellen",already_in_use:"Kategorie wird bereits verwendet"},preferences:{currency:"W\xE4hrung",default_language:"Standardsprache",time_zone:"Zeitzone",fiscal_year:"Gesch\xE4ftsjahr",date_format:"Datum-Format",discount_setting:"Einstellung Rabatt",discount_per_item:"Rabatt pro Artikel ",discount_setting_description:"Aktivieren Sie diese Option, wenn Sie einzelnen Rechnungspositionen einen Rabatt hinzuf\xFCgen m\xF6chten. Standardm\xE4\xDFig wird der Rabatt direkt zur Rechnung hinzugef\xFCgt.",save:"Speichern",preference:"Pr\xE4ferenz | Pr\xE4ferenzen",general_settings:"Standardeinstellungen f\xFCr das System.",updated_message:"Einstellungen erfolgreich aktualisiert",select_language:"Sprache ausw\xE4hlen",select_time_zone:"Zeitzone ausw\xE4hlen",select_date_format:"W\xE4hle das Datumsformat",select_financial_year:"Gesch\xE4ftsjahr ausw\xE4hlen"},update_app:{title:"Applikation aktualisieren",description:"Sie k\xF6nnen Crater ganz einfach aktualisieren, indem Sie auf die Schaltfl\xE4che unten klicken, um nach einem neuen Update zu suchen.",check_update:"Nach Updates suchen",avail_update:"Neues Update verf\xFCgbar",next_version:"N\xE4chste Version",requirements:"Voraussetzungen",update:"Jetzt aktualisieren",update_progress:"Update l\xE4uft ...",progress_text:"Es dauert nur ein paar Minuten. Bitte aktualisieren Sie den Bildschirm nicht und schlie\xDFen Sie das Fenster nicht, bevor das Update abgeschlossen ist.",update_success:"App wurde aktualisiert! Bitte warten Sie, w\xE4hrend Ihr Browserfenster automatisch neu geladen wird.",latest_message:"Kein Update verf\xFCgbar! Du bist auf der neuesten Version.",current_version:"Aktuelle Version",download_zip_file:"Laden Sie die ZIP-Datei herunter",unzipping_package:"Paket entpacken",copying_files:"Dateien kopieren",running_migrations:"Ausf\xFChren von Migrationen",finishing_update:"Update beenden",update_failed:"Update fehlgeschlagen",update_failed_text:"Es tut uns leid! Ihr Update ist am folgenden Schritt fehlgeschlagen: {step}"},backup:{title:"Sicherung | Sicherungen",description:"Die Sicherung ist eine ZIP-Datei, die alle Dateien der ausgew\xE4hlten Pfade und eine Kopie der Datenbank enth\xE4lt",new_backup:"Neues Backup",create_backup:"Datensicherung erstellen",select_backup_type:"W\xE4hlen Sie den Sicherungs-Typ",backup_confirm_delete:"Dieses Backup wird unwiderruflich gel\xF6scht",path:"Pfad",new_disk:"Speicher hinzuf\xFCgen",created_at:"erstellt am",size:"Gr\xF6\xDFe",dropbox:"Dropbox",local:"Lokal",healthy:"intakt",amount_of_backups:"Menge an Sicherungen",newest_backups:"Neuste Sicherung",used_storage:"Verwendeter Speicher",select_disk:"Speicher ausw\xE4hlen",action:"Aktion",deleted_message:"Sicherung erfolgreich gel\xF6scht",created_message:"Backup erfolgreich erstellt",invalid_disk_credentials:"Ung\xFCltige Anmeldeinformationen f\xFCr ausgew\xE4hlten Speicher"},disk:{title:"Dateispeicher | Dateispeicher",description:"Standardm\xE4\xDFig verwendet Crater Ihre lokale Festplatte zum Speichern von Sicherungen, Avatar und anderen Bilddateien. Sie k\xF6nnen mehr als einen Speicherort wie DigitalOcean, S3 und Dropbox nach Ihren W\xFCnschen konfigurieren.",created_at:"erstellt am",dropbox:"Dropbox",name:"Name",driver:"Treiber",disk_type:"Art",disk_name:"Speicher Bezeichnung",new_disk:"Speicher hinzuf\xFCgen",filesystem_driver:"Dateisystem-Treiber",local_driver:"Lokaler Treiber",local_root:"lokaler Pfad",public_driver:"\xD6ffentlicher Treiber",public_root:"\xD6ffentlicher Pfad",public_url:"\xD6ffentliche URL",public_visibility:"\xD6ffentliche Sichtbarkeit",media_driver:"Medientreiber",media_root:"Medienpfad",aws_driver:"AWS-Treiber",aws_key:"AWS-Schl\xFCssel",aws_secret:"AWS-Geheimnis",aws_region:"AWS-Region",aws_bucket:"AWS Bucket",aws_root:"AWS-Pfad",do_spaces_type:"Do Spaces-Typ",do_spaces_key:"Do Spaces-Schl\xFCssel",do_spaces_secret:"Do Spaces-Geheimnis",do_spaces_region:"Do Spaces Region",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces Endpoint",do_spaces_root:"Do Spaces Root",dropbox_type:"Dropbox Type",dropbox_token:"Dropbox Token",dropbox_key:"Dropbox Key",dropbox_secret:"Dropbox Secret",dropbox_app:"Dropbox App",dropbox_root:"Dropbox Root",default_driver:"Standard-Treiber",is_default:"Standard",set_default_disk:"Als Standard festlegen",success_set_default_disk:"Speicher wurde als Standard festgelegt",save_pdf_to_disk:"PDFs auf Festplatte speichern",disk_setting_description:" Aktivieren Sie dies, um eine Kopie von jeder Rechnung, jedem Kostenvoranschlag & jedem Zahlungsbelegung als PDF automatisch auf ihrem Standard-Speicher abzulegen. Wenn Sie diese Option aktivieren, verringert sich die Ladezeit beim Betrachten der PDFs.",select_disk:"Speicherort ausw\xE4hlen",disk_settings:"Speichermedienkonfiguration",confirm_delete:"Ihre existierenden Dateien und Ordner auf der angegebenen Festplatte werden nicht beeinflusst, aber Dieser Speicherort wird aus Crater gel\xF6scht",action:"Aktion",edit_file_disk:"Edit File Disk",success_create:"Speicher erfolgreich hinzugef\xFCgt",success_update:"Speicher erfolgreich bearbeitet",error:"Hinzuf\xFCgen des Speichers gescheitert",deleted_message:"Speicher erfolgreich gel\xF6scht",disk_variables_save_successfully:"Speicher erfolgreich konfiguriert",disk_variables_save_error:"Konfiguration des Speicher gescheitert",invalid_disk_credentials:"Ung\xFCltige Anmeldeinformationen f\xFCr ausgew\xE4hlten Speicher"}},Ar={account_info:"Account-Informationen",account_info_desc:"Die folgenden Details werden zum Erstellen des Hauptadministratorkontos verwendet. Sie k\xF6nnen die Details auch jederzeit nach dem Anmelden \xE4ndern.",name:"Name",email:"E-Mail",password:"Passwort",confirm_password:"Passwort best\xE4tigen",save_cont:"Speichern und weiter",company_info:"Unternehmensinformationen",company_info_desc:"Diese Informationen werden auf Rechnungen angezeigt. Beachten Sie, dass Sie diese sp\xE4ter auf der Einstellungsseite bearbeiten k\xF6nnen.",company_name:"Firmenname",company_logo:"Firmenlogo",logo_preview:"Vorschau Logo",preferences:"Einstellungen",preferences_desc:"Standardeinstellungen f\xFCr das System.",country:"Land",state:"Bundesland",city:"Stadt",address:"Adresse",street:"Stra\xDFe1 | Stra\xDFe2",phone:"Telefon",zip_code:"Postleitzahl",go_back:"Zur\xFCck",currency:"W\xE4hrung",language:"Sprache",time_zone:"Zeitzone",fiscal_year:"Gesch\xE4ftsjahr",date_format:"Datumsformat",from_address:"Absender",username:"Benutzername",next:"Weiter",continue:"Weiter",skip:"\xDCberspringen",database:{database:"URL der Seite & Datenbank",connection:"Datenbank Verbindung",host:"Datenbank Host",port:"Datenbank Port",password:"Datenbank Passwort",app_url:"App-URL",app_domain:"Domain der App",username:"Datenbank Benutzername",db_name:"Datenbank Name",db_path:"Datenbankpfad",desc:"Erstellen Sie eine Datenbank auf Ihrem Server und legen Sie die Anmeldeinformationen mithilfe des folgenden Formulars fest."},permissions:{permissions:"Berechtigungen",permission_confirm_title:"Sind Sie sicher, dass Sie fortfahren m\xF6chten?",permission_confirm_desc:"Pr\xFCfung der Berechtigung der Ordner fehlgeschlagen.",permission_desc:"Unten finden Sie eine Liste der Ordnerberechtigungen, die erforderlich sind, damit die App funktioniert. Wenn die Berechtigungspr\xFCfung fehlschl\xE4gt, m\xFCssen Sie Ihre Ordnerberechtigungen aktualisieren."},mail:{host:"E-Mail-Host",port:"E-Mail-Port",driver:"E-Mail-Treiber",secret:"Verschl\xFCsselung",mailgun_secret:"Mailgun Verschl\xFCsselung",mailgun_domain:"Domain",mailgun_endpoint:"Mailgun-Endpunkt",ses_secret:"SES Verschl\xFCsselung",ses_key:"SES-Taste",password:"E-Mail-Passwort",username:"E-Mail-Benutzername",mail_config:"E-Mail-Konfiguration",from_name:"Von E-Mail-Absendername",from_mail:"Von E-Mail-Absenderadresse",encryption:"E-Mail-Verschl\xFCsselung",mail_config_desc:"Unten finden Sie das Formular zum Konfigurieren des E-Mail-Treibers zum Senden von E-Mails \xFCber die App. Sie k\xF6nnen auch Drittanbieter wie Sendgrid, SES usw. konfigurieren."},req:{system_req:"System Anforderungen",php_req_version:"Php (version {version} erforderlich)",check_req:"Anforderungen pr\xFCfen",system_req_desc:"Crater hat einige Serveranforderungen. Stellen Sie sicher, dass Ihr Server die erforderliche PHP-Version und alle unten genannten Erweiterungen hat."},errors:{migrate_failed:"Migration ist Fehlgeschlagen",database_variables_save_error:"Konfiguration kann nicht in EN.env-Datei geschrieben werden. Bitte \xFCberpr\xFCfen Sie die Dateiberechtigungen.",mail_variables_save_error:"E-Mail-Konfiguration fehlgeschlagen.",connection_failed:"Datenbankverbindung fehlgeschlagen",database_should_be_empty:"Datenbank sollte leer sein"},success:{mail_variables_save_successfully:"E-Mail erfolgreich konfiguriert",database_variables_save_successfully:"Datenbank erfolgreich konfiguriert."}},Nr={invalid_phone:"Ung\xFCltige Telefonnummer",invalid_url:"Ung\xFCltige URL (Bsp.: http://www.craterapp.com)",invalid_domain_url:"Ung\xFCltige URL (Bsp.: craterapp.com)",required:"Feld ist erforderlich",email_incorrect:"Falsche E-Mail.",email_already_taken:"Die E-Mail ist bereits vergeben.",email_does_not_exist:"Benutzer mit der angegebenen E-Mail existiert nicht",item_unit_already_taken:"Die Artikeleinheit wurde bereits vergeben",payment_mode_already_taken:"Der Zahlungsmodus wurde bereits verwendet",send_reset_link:"Link zum Zur\xFCcksetzen senden",not_yet:"Noch erhalten? Erneut senden",password_min_length:"Password mu\xDF {count} Zeichen enthalten",name_min_length:"Name muss mindestens {count} Zeichen enthalten.",enter_valid_tax_rate:"Geben Sie einen g\xFCltige Steuersatz ein",numbers_only:"Nur Zahlen.",characters_only:"Nur Zeichen.",password_incorrect:"Passw\xF6rter m\xFCssen identisch sein",password_length:"Passwort muss {count} Zeichen lang sein.",qty_must_greater_than_zero:"Die Menge muss gr\xF6\xDFer als 0 sein.",price_greater_than_zero:"Preis muss gr\xF6\xDFer als 0 sein.",payment_greater_than_zero:"Die Zahlung muss gr\xF6\xDFer als 0 sein.",payment_greater_than_due_amount:"Die eingegebene Zahlung ist mehr als der f\xE4llige Betrag dieser Rechnung.",quantity_maxlength:"Die Menge sollte nicht gr\xF6\xDFer als 20 Ziffern sein.",price_maxlength:"Der Preis sollte nicht gr\xF6\xDFer als 20 Ziffern sein.",price_minvalue:"Der Preis sollte gr\xF6\xDFer als 0 sein.",amount_maxlength:"Der Betrag sollte nicht gr\xF6\xDFer als 20 Ziffern sein.",amount_minvalue:"Betrag sollte gr\xF6\xDFer als 0 sein.",description_maxlength:"Die Beschreibung sollte nicht l\xE4nger als 255 Zeichen sein.",subject_maxlength:"Der Betreff sollte nicht l\xE4nger als 100 Zeichen sein.",message_maxlength:"Die Nachricht sollte nicht l\xE4nger als 255 Zeichen sein.",maximum_options_error:"Maximal {max} Optionen ausgew\xE4hlt. Entfernen Sie zuerst eine ausgew\xE4hlte Option, um eine andere auszuw\xE4hlen.",notes_maxlength:"Notizen sollten nicht l\xE4nger als 255 Zeichen sein.",address_maxlength:"Die Adresse sollte nicht l\xE4nger als 255 Zeichen sein.",ref_number_maxlength:"Ref Number sollte nicht l\xE4nger als 255 Zeichen sein.",prefix_maxlength:"Das Pr\xE4fix sollte nicht l\xE4nger als 5 Zeichen sein.",something_went_wrong:"Da ist etwas schief gelaufen",number_length_minvalue:"Nummernl\xE4nge sollte gr\xF6\xDFer als 0 sein"},Er="Kostenvoranschlag",Tr="Kostenvoran. Nummer",Ir="Datum Kostenvoranschlag",$r="Ablaufdatum",Rr="Rechnung",Fr="Rechnungsnummer",Mr="Rechnungsdatum",Br="F\xE4lligkeitsdatum",Vr="Hinweise",Or="Artikel",Lr="Menge",Ur="Preis",Kr="Rabatt",qr="Summe",Wr="Zwischensumme",Zr="Gesamt",Hr="Zahlung",Gr="Zahlungsbeleg",Yr="Zahlungsdatum",Jr="Zahlungsnummer",Xr="Zahlungsart",Qr="Betrag erhalten",ed="Ausgaben Bericht",td="Gesamtausgaben",ad="Gewinn & Verlust Bericht",sd="Kundenverkaufs Bericht",nd="Artikelverkaufs Bericht",id="Steuer Bericht",od="Einkommen",rd="Nettogewinn",dd="Umsatzbericht: Nach Kunde",ld="GESAMTUMSATZ",cd="Umsatzbericht: Nach Artikel",_d="Umsatzsteuer BERICHT",ud="Gesamte Umsatzsteuer",md="Steuers\xE4tze",pd="Gesamtausgaben",gd="Rechnungsempf\xE4nger,",fd="Versand an,",hd="Erhalten von:",vd="Skat";var yd={navigation:gr,general:fr,dashboard:hr,tax_types:vr,global_search:yr,customers:br,items:kr,estimates:wr,invoices:xr,payments:zr,expenses:Sr,login:Pr,users:jr,reports:Dr,settings:Cr,wizard:Ar,validation:Nr,pdf_estimate_label:Er,pdf_estimate_number:Tr,pdf_estimate_date:Ir,pdf_estimate_expire_date:$r,pdf_invoice_label:Rr,pdf_invoice_number:Fr,pdf_invoice_date:Mr,pdf_invoice_due_date:Br,pdf_notes:Vr,pdf_items_label:Or,pdf_quantity_label:Lr,pdf_price_label:Ur,pdf_discount_label:Kr,pdf_amount_label:qr,pdf_subtotal:Wr,pdf_total:Zr,pdf_payment_label:Hr,pdf_payment_receipt_label:Gr,pdf_payment_date:Yr,pdf_payment_number:Jr,pdf_payment_mode:Xr,pdf_payment_amount_received_label:Qr,pdf_expense_report_label:ed,pdf_total_expenses_label:td,pdf_profit_loss_label:ad,pdf_sales_customers_label:sd,pdf_sales_items_label:nd,pdf_tax_summery_label:id,pdf_income_label:od,pdf_net_profit_label:rd,pdf_customer_sales_report:dd,pdf_total_sales_label:ld,pdf_item_sales_label:cd,pdf_tax_report_label:_d,pdf_total_tax_label:ud,pdf_tax_types_label:md,pdf_expenses_label:pd,pdf_bill_to:gd,pdf_ship_to:fd,pdf_received_from:hd,pdf_tax_label:vd};const bd={dashboard:"\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9",customers:"\u304A\u5BA2\u69D8",items:"\u30A2\u30A4\u30C6\u30E0",invoices:"\u8ACB\u6C42\u66F8",expenses:"\u7D4C\u8CBB",estimates:"\u898B\u7A4D\u308A",payments:"\u652F\u6255\u3044",reports:"\u30EC\u30DD\u30FC\u30C8",settings:"\u8A2D\u5B9A",logout:"\u30ED\u30B0\u30A2\u30A6\u30C8",users:"\u30E6\u30FC\u30B6\u30FC"},kd={add_company:"\u4F1A\u793E\u3092\u8FFD\u52A0",view_pdf:"PDF\u3092\u898B\u308B",copy_pdf_url:"PDFURL\u3092\u30B3\u30D4\u30FC\u3059\u308B",download_pdf:"PDF\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",save:"\u30BB\u30FC\u30D6",create:"\u4F5C\u6210\u3059\u308B",cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB",update:"\u66F4\u65B0",deselect:"\u9078\u629E\u3092\u89E3\u9664",download:"\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",from_date:"\u65E5\u4ED8\u304B\u3089",to_date:"\u73FE\u5728\u307E\u3067",from:"\u304B\u3089",to:"\u306B",sort_by:"\u4E26\u3073\u66FF\u3048",ascending:"\u4E0A\u6607",descending:"\u964D\u9806",subject:"\u4EF6\u540D",body:"\u4F53",message:"\u30E1\u30C3\u30BB\u30FC\u30B8",send:"\u9001\u4FE1",go_back:"\u623B\u308B",back_to_login:"\u30ED\u30B0\u30A4\u30F3\u306B\u623B\u308B\uFF1F",home:"\u30DB\u30FC\u30E0\u30DB\u30FC\u30E0",filter:"\u30D5\u30A3\u30EB\u30BF",delete:"\u524A\u9664",edit:"\u7DE8\u96C6",view:"\u898B\u308B",add_new_item:"\u65B0\u3057\u3044\u30A2\u30A4\u30C6\u30E0\u3092\u8FFD\u52A0\u3059\u308B",clear_all:"\u3059\u3079\u3066\u30AF\u30EA\u30A2",showing:"\u8868\u793A\u4E2D",of:"\u306E",actions:"\u884C\u52D5",subtotal:"\u5C0F\u8A08",discount:"\u30C7\u30A3\u30B9\u30AB\u30A6\u30F3\u30C8",fixed:"\u4FEE\u7E55",percentage:"\u30D1\u30FC\u30BB\u30F3\u30C6\u30FC\u30B8",tax:"\u7A0E\u91D1",total_amount:"\u5408\u8A08\u91D1\u984D",bill_to:"\u8ACB\u6C42\u66F8\u9001\u4ED8\u5148",ship_to:"\u9001\u308A\u5148",due:"\u671F\u9650",draft:"\u30C9\u30E9\u30D5\u30C8",sent:"\u9001\u4FE1\u6E08\u307F",all:"\u3059\u3079\u3066",select_all:"\u3059\u3079\u3066\u9078\u629E",choose_file:"\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E\u3059\u308B\u306B\u306F\u3001\u3053\u3053\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044",choose_template:"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",choose:"\u9078\u629E",remove:"\u524A\u9664\u3059\u308B",powered_by:"\u642D\u8F09",bytefury:"Bytefury",select_a_status:"\u30B9\u30C6\u30FC\u30BF\u30B9\u3092\u9078\u629E",select_a_tax:"\u7A0E\u91D1\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",search:"\u63A2\u3059",are_you_sure:"\u672C\u6C17\u3067\u3059\u304B\uFF1F",list_is_empty:"\u30EA\u30B9\u30C8\u306F\u7A7A\u3067\u3059\u3002",no_tax_found:"\u7A0E\u91D1\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\uFF01",four_zero_four:"404",you_got_lost:"\u304A\u3063\u3068\uFF01\u3042\u306A\u305F\u306F\u8FF7\u5B50\u306B\u306A\u308A\u307E\u3057\u305F\uFF01",go_home:"\u5BB6\u306B\u5E30\u308B",test_mail_conf:"\u30E1\u30FC\u30EB\u69CB\u6210\u306E\u30C6\u30B9\u30C8",send_mail_successfully:"\u30E1\u30FC\u30EB\u306F\u6B63\u5E38\u306B\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F",setting_updated:"\u8A2D\u5B9A\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",select_state:"\u72B6\u614B\u3092\u9078\u629E",select_country:"\u56FD\u3092\u9078\u629E",select_city:"\u90FD\u5E02\u3092\u9078\u629E",street_1:"\u30B9\u30C8\u30EA\u30FC\u30C81",street_2:"2\u4E01\u76EE",action_failed:"\u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u5931\u6557\u3057\u307E\u3057\u305F",retry:"\u30EA\u30C8\u30E9\u30A4",choose_note:"\u6CE8\u3092\u9078\u629E",no_note_found:"\u30E1\u30E2\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",insert_note:"\u30E1\u30E2\u3092\u633F\u5165",copied_pdf_url_clipboard:"PDF\u306EURL\u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F\uFF01"},wd={select_year:"\u5E74\u3092\u9078\u629E",cards:{due_amount:"\u6599\u91D1",customers:"\u304A\u5BA2\u69D8",invoices:"\u8ACB\u6C42\u66F8",estimates:"\u898B\u7A4D\u308A"},chart_info:{total_sales:"\u8CA9\u58F2",total_receipts:"\u9818\u53CE\u66F8",total_expense:"\u7D4C\u8CBB",net_income:"\u5F53\u671F\u7D14\u5229\u76CA",year:"\u5E74\u3092\u9078\u629E"},monthly_chart:{title:"\u8CA9\u58F2"},recent_invoices_card:{title:"\u671F\u65E5\u8ACB\u6C42\u66F8",due_on:"\u671F\u9650",customer:"\u304A\u5BA2\u69D8",amount_due:"\u6599\u91D1",actions:"\u884C\u52D5",view_all:"\u3059\u3079\u3066\u8868\u793A"},recent_estimate_card:{title:"\u6700\u8FD1\u306E\u898B\u7A4D\u3082\u308A",date:"\u65E5\u4ED8",customer:"\u304A\u5BA2\u69D8",amount_due:"\u6599\u91D1",actions:"\u884C\u52D5",view_all:"\u3059\u3079\u3066\u8868\u793A"}},xd={name:"\u540D\u524D",description:"\u8AAC\u660E",percent:"\u30D1\u30FC\u30BB\u30F3\u30C8",compound_tax:"\u8907\u5408\u7A0E"},zd={search:"\u63A2\u3059...",customers:"\u304A\u5BA2\u69D8",users:"\u30E6\u30FC\u30B6\u30FC",no_results_found:"\u7D50\u679C\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},Sd={title:"\u304A\u5BA2\u69D8",add_customer:"\u9867\u5BA2\u3092\u8FFD\u52A0",contacts_list:"\u9867\u5BA2\u30EA\u30B9\u30C8",name:"\u540D\u524D",mail:"\u30E1\u30FC\u30EB|\u30E1\u30FC\u30EB",statement:"\u30B9\u30C6\u30FC\u30C8\u30E1\u30F3\u30C8",display_name:"\u8868\u793A\u540D",primary_contact_name:"\u4E3B\u306A\u9023\u7D61\u5148\u540D",contact_name:"\u9023\u7D61\u5148",amount_due:"\u6599\u91D1",email:"E\u30E1\u30FC\u30EB",address:"\u4F4F\u6240",phone:"\u96FB\u8A71",website:"\u30A6\u30A7\u30D6\u30B5\u30A4\u30C8",overview:"\u6982\u8981\u6982\u8981",enable_portal:"\u30DD\u30FC\u30BF\u30EB\u3092\u6709\u52B9\u306B\u3059\u308B",country:"\u56FD",state:"\u72B6\u614B",city:"\u5E02",zip_code:"\u90F5\u4FBF\u756A\u53F7",added_on:"\u8FFD\u52A0\u3055\u308C\u305F",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",password:"\u30D1\u30B9\u30EF\u30FC\u30C9",street_number:"\u8857\u8DEF\u756A\u53F7",primary_currency:"\u4E00\u6B21\u901A\u8CA8",description:"\u8AAC\u660E",add_new_customer:"\u65B0\u898F\u9867\u5BA2\u306E\u8FFD\u52A0",save_customer:"\u9867\u5BA2\u3092\u6551\u3046",update_customer:"\u9867\u5BA2\u306E\u66F4\u65B0",customer:"\u9867\u5BA2|\u304A\u5BA2\u69D8",new_customer:"\u65B0\u898F\u9867\u5BA2",edit_customer:"\u9867\u5BA2\u306E\u7DE8\u96C6",basic_info:"\u57FA\u672C\u60C5\u5831",billing_address:"\u8ACB\u6C42\u5148\u4F4F\u6240",shipping_address:"\u304A\u5C4A\u3051\u5148\u306E\u4F4F\u6240",copy_billing_address:"\u8ACB\u6C42\u304B\u3089\u30B3\u30D4\u30FC",no_customers:"\u307E\u3060\u304A\u5BA2\u69D8\u306F\u3044\u307E\u305B\u3093\uFF01",no_customers_found:"\u9867\u5BA2\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\uFF01",no_contact:"\u63A5\u89E6\u7121\u3057",no_contact_name:"\u9023\u7D61\u5148\u540D\u306A\u3057",list_of_customers:"\u3053\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u306F\u3001\u9867\u5BA2\u306E\u30EA\u30B9\u30C8\u304C\u542B\u307E\u308C\u307E\u3059\u3002",primary_display_name:"\u4E00\u6B21\u8868\u793A\u540D",select_currency:"\u901A\u8CA8\u3092\u9078\u629E",select_a_customer:"\u9867\u5BA2\u3092\u9078\u629E\u3059\u308B",type_or_click:"\u5165\u529B\u307E\u305F\u306F\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u9078\u629E",new_transaction:"\u65B0\u3057\u3044\u30C8\u30E9\u30F3\u30B6\u30AF\u30B7\u30E7\u30F3",no_matching_customers:"\u4E00\u81F4\u3059\u308B\u9867\u5BA2\u306F\u3042\u308A\u307E\u305B\u3093\uFF01",phone_number:"\u96FB\u8A71\u756A\u53F7",create_date:"\u65E5\u4ED8\u3092\u4F5C\u6210\u3057\u307E\u3059",confirm_delete:"\u3053\u306E\u9867\u5BA2\u304A\u3088\u3073\u95A2\u9023\u3059\u308B\u3059\u3079\u3066\u306E\u8ACB\u6C42\u66F8\u3001\u898B\u7A4D\u3082\u308A\u3001\u304A\u3088\u3073\u652F\u6255\u3044\u3092\u56DE\u53CE\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002 |\u3053\u308C\u3089\u306E\u9867\u5BA2\u304A\u3088\u3073\u95A2\u9023\u3059\u308B\u3059\u3079\u3066\u306E\u8ACB\u6C42\u66F8\u3001\u898B\u7A4D\u3082\u308A\u3001\u652F\u6255\u3044\u3092\u56DE\u53CE\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002",created_message:"\u9867\u5BA2\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",updated_message:"\u304A\u5BA2\u69D8\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u304A\u5BA2\u69D8\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F|\u9867\u5BA2\u306F\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F"},Pd={title:"\u30A2\u30A4\u30C6\u30E0",items_list:"\u30A2\u30A4\u30C6\u30E0\u30EA\u30B9\u30C8",name:"\u540D\u524D",unit:"\u5358\u4F4D",description:"\u8AAC\u660E",added_on:"\u8FFD\u52A0\u3055\u308C\u305F",price:"\u4FA1\u683C",date_of_creation:"\u4F5C\u6210\u65E5",not_selected:"\u30A2\u30A4\u30C6\u30E0\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",add_item:"\u30A2\u30A4\u30C6\u30E0\u3092\u8FFD\u52A0",save_item:"\u30A2\u30A4\u30C6\u30E0\u3092\u4FDD\u5B58",update_item:"\u30A2\u30A4\u30C6\u30E0\u306E\u66F4\u65B0",item:"\u30A2\u30A4\u30C6\u30E0|\u30A2\u30A4\u30C6\u30E0",add_new_item:"\u65B0\u3057\u3044\u30A2\u30A4\u30C6\u30E0\u3092\u8FFD\u52A0\u3059\u308B",new_item:"\u65B0\u5546\u54C1",edit_item:"\u30A2\u30A4\u30C6\u30E0\u306E\u7DE8\u96C6",no_items:"\u307E\u3060\u30A2\u30A4\u30C6\u30E0\u306F\u3042\u308A\u307E\u305B\u3093\uFF01",list_of_items:"\u3053\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u306F\u3001\u30A2\u30A4\u30C6\u30E0\u306E\u30EA\u30B9\u30C8\u304C\u542B\u307E\u308C\u307E\u3059\u3002",select_a_unit:"\u30E6\u30CB\u30C3\u30C8\u3092\u9078\u629E",taxes:"\u7A0E\u91D1",item_attached_message:"\u3059\u3067\u306B\u4F7F\u7528\u4E2D\u306E\u30A2\u30A4\u30C6\u30E0\u306F\u524A\u9664\u3067\u304D\u307E\u305B\u3093",confirm_delete:"\u3053\u306E\u30A2\u30A4\u30C6\u30E0\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093|\u3053\u308C\u3089\u306E\u30A2\u30A4\u30C6\u30E0\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",created_message:"\u30A2\u30A4\u30C6\u30E0\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",updated_message:"\u30A2\u30A4\u30C6\u30E0\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u30A2\u30A4\u30C6\u30E0\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F|\u30A2\u30A4\u30C6\u30E0\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F"},jd={title:"\u898B\u7A4D\u308A",estimate:"\u898B\u7A4D\u3082\u308A|\u898B\u7A4D\u308A",estimates_list:"\u898B\u7A4D\u3082\u308A\u30EA\u30B9\u30C8",days:"{days}\u65E5",months:"{months}\u6708",years:"{years}\u5E74",all:"\u3059\u3079\u3066",paid:"\u6709\u6599",unpaid:"\u672A\u6255\u3044",customer:"\u304A\u5BA2\u69D8",ref_no:"\u53C2\u7167\u756A\u53F7",number:"\u6570",amount_due:"\u6599\u91D1",partially_paid:"\u90E8\u5206\u7684\u306B\u652F\u6255\u308F\u308C\u305F",total:"\u5408\u8A08",discount:"\u30C7\u30A3\u30B9\u30AB\u30A6\u30F3\u30C8",sub_total:"\u5C0F\u8A08",estimate_number:"\u898B\u7A4D\u3082\u308A\u756A\u53F7",ref_number:"\u53C2\u7167\u756A\u53F7",contact:"\u9023\u7D61\u5148",add_item:"\u30A2\u30A4\u30C6\u30E0\u3092\u8FFD\u52A0\u3059\u308B",date:"\u65E5\u4ED8",due_date:"\u671F\u65E5",expiry_date:"\u6709\u52B9\u671F\u9650",status:"\u72B6\u614B",add_tax:"\u7A0E\u91D1\u3092\u8FFD\u52A0\u3059\u308B",amount:"\u91CF",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",notes:"\u30CE\u30FC\u30C8",tax:"\u7A0E\u91D1",estimate_template:"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8",convert_to_invoice:"\u8ACB\u6C42\u66F8\u306B\u5909\u63DB",mark_as_sent:"\u9001\u4FE1\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF",send_estimate:"\u898B\u7A4D\u3082\u308A\u3092\u9001\u4FE1",resend_estimate:"\u898B\u7A4D\u3082\u308A\u3092\u518D\u9001",record_payment:"\u652F\u6255\u3044\u306E\u8A18\u9332",add_estimate:"\u898B\u7A4D\u3082\u308A\u3092\u8FFD\u52A0",save_estimate:"\u898B\u7A4D\u3082\u308A\u3092\u4FDD\u5B58",confirm_conversion:"\u3053\u306E\u898B\u7A4D\u3082\u308A\u306F\u3001\u65B0\u3057\u3044\u8ACB\u6C42\u66F8\u3092\u4F5C\u6210\u3059\u308B\u305F\u3081\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002",conversion_message:"\u8ACB\u6C42\u66F8\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",confirm_send_estimate:"\u3053\u306E\u898B\u7A4D\u3082\u308A\u306F\u3001\u96FB\u5B50\u30E1\u30FC\u30EB\u3067\u304A\u5BA2\u69D8\u306B\u9001\u4FE1\u3055\u308C\u307E\u3059",confirm_mark_as_sent:"\u3053\u306E\u898B\u7A4D\u3082\u308A\u306F\u9001\u4FE1\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u307E\u3059",confirm_mark_as_accepted:"\u3053\u306E\u898B\u7A4D\u3082\u308A\u306F\u627F\u8A8D\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u307E\u3059",confirm_mark_as_rejected:"\u3053\u306E\u898B\u7A4D\u3082\u308A\u306F\u62D2\u5426\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u307E\u3059",no_matching_estimates:"\u4E00\u81F4\u3059\u308B\u898B\u7A4D\u3082\u308A\u306F\u3042\u308A\u307E\u305B\u3093\uFF01",mark_as_sent_successfully:"\u6B63\u5E38\u306B\u9001\u4FE1\u3055\u308C\u305F\u3068\u30DE\u30FC\u30AF\u3055\u308C\u305F\u898B\u7A4D\u3082\u308A",send_estimate_successfully:"\u898B\u7A4D\u3082\u308A\u306F\u6B63\u5E38\u306B\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F",errors:{required:"\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u9805\u76EE\u3067\u3059"},accepted:"\u627F\u8A8D\u6E08\u307F",rejected:"\u62D2\u5426\u3055\u308C\u307E\u3057\u305F",sent:"\u9001\u4FE1\u6E08\u307F",draft:"\u30C9\u30E9\u30D5\u30C8",declined:"\u8F9E\u9000",new_estimate:"\u65B0\u3057\u3044\u898B\u7A4D\u3082\u308A",add_new_estimate:"\u65B0\u3057\u3044\u898B\u7A4D\u3082\u308A\u3092\u8FFD\u52A0",update_Estimate:"\u898B\u7A4D\u3082\u308A\u3092\u66F4\u65B0",edit_estimate:"\u898B\u7A4D\u3082\u308A\u306E\u7DE8\u96C6",items:"\u30A2\u30A4\u30C6\u30E0",Estimate:"\u898B\u7A4D\u3082\u308A|\u898B\u7A4D\u308A",add_new_tax:"\u65B0\u3057\u3044\u7A0E\u91D1\u3092\u8FFD\u52A0\u3059\u308B",no_estimates:"\u307E\u3060\u898B\u7A4D\u3082\u308A\u306F\u3042\u308A\u307E\u305B\u3093\uFF01",list_of_estimates:"\u3053\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u306F\u3001\u898B\u7A4D\u3082\u308A\u306E\u30EA\u30B9\u30C8\u304C\u542B\u307E\u308C\u307E\u3059\u3002",mark_as_rejected:"\u62D2\u5426\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF",mark_as_accepted:"\u627F\u8A8D\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF",marked_as_accepted_message:"\u627F\u8A8D\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u305F\u898B\u7A4D\u3082\u308A",marked_as_rejected_message:"\u62D2\u5426\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u305F\u898B\u7A4D\u3082\u308A",confirm_delete:"\u3053\u306E\u898B\u7A4D\u3082\u308A\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093|\u3053\u308C\u3089\u306E\u898B\u7A4D\u3082\u308A\u3092\u5FA9\u5143\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",created_message:"\u898B\u7A4D\u3082\u308A\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",updated_message:"\u898B\u7A4D\u3082\u308A\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u63A8\u5B9A\u306F\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F|\u63A8\u5B9A\u5024\u306F\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",something_went_wrong:"\u4F55\u304B\u304C\u3046\u307E\u304F\u3044\u304B\u306A\u304B\u3063\u305F",item:{title:"\u30A2\u30A4\u30C6\u30E0\u30BF\u30A4\u30C8\u30EB",description:"\u8AAC\u660E",quantity:"\u91CF",price:"\u4FA1\u683C",discount:"\u30C7\u30A3\u30B9\u30AB\u30A6\u30F3\u30C8",total:"\u5408\u8A08",total_discount:"\u5408\u8A08\u5272\u5F15",sub_total:"\u5C0F\u8A08",tax:"\u7A0E\u91D1",amount:"\u91CF",select_an_item:"\u5165\u529B\u307E\u305F\u306F\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30A2\u30A4\u30C6\u30E0\u3092\u9078\u629E\u3057\u307E\u3059",type_item_description:"\u30BF\u30A4\u30D7\u30A2\u30A4\u30C6\u30E0\u8AAC\u660E\uFF08\u30AA\u30D7\u30B7\u30E7\u30F3\uFF09"}},Dd={title:"\u8ACB\u6C42\u66F8",invoices_list:"\u8ACB\u6C42\u66F8\u30EA\u30B9\u30C8",days:"{days}\u65E5",months:"{months}\u6708",years:"{years}\u5E74",all:"\u3059\u3079\u3066",paid:"\u6709\u6599",unpaid:"\u672A\u6255\u3044",viewed:"\u95B2\u89A7\u6E08\u307F",overdue:"\u5EF6\u6EDE",completed:"\u5B8C\u4E86",customer:"\u304A\u5BA2\u69D8",paid_status:"\u6709\u6599\u30B9\u30C6\u30FC\u30BF\u30B9",ref_no:"\u53C2\u7167\u756A\u53F7",number:"\u6570",amount_due:"\u6599\u91D1",partially_paid:"\u90E8\u5206\u7684\u306B\u652F\u6255\u308F\u308C\u305F",total:"\u5408\u8A08",discount:"\u30C7\u30A3\u30B9\u30AB\u30A6\u30F3\u30C8",sub_total:"\u5C0F\u8A08",invoice:"\u8ACB\u6C42\u66F8|\u8ACB\u6C42\u66F8",invoice_number:"\u8ACB\u6C42\u66F8\u756A\u53F7",ref_number:"\u53C2\u7167\u756A\u53F7",contact:"\u9023\u7D61\u5148",add_item:"\u30A2\u30A4\u30C6\u30E0\u3092\u8FFD\u52A0\u3059\u308B",date:"\u65E5\u4ED8",due_date:"\u671F\u65E5",status:"\u72B6\u614B",add_tax:"\u7A0E\u91D1\u3092\u8FFD\u52A0\u3059\u308B",amount:"\u91CF",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",notes:"\u30CE\u30FC\u30C8",view:"\u898B\u308B",send_invoice:"\u8ACB\u6C42\u66F8\u3092\u9001\u308A\u307E\u3059",resend_invoice:"\u8ACB\u6C42\u66F8\u3092\u518D\u9001\u3059\u308B",invoice_template:"\u8ACB\u6C42\u66F8\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8",template:"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8",mark_as_sent:"\u9001\u4FE1\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF",confirm_send_invoice:"\u3053\u306E\u8ACB\u6C42\u66F8\u306F\u30E1\u30FC\u30EB\u3067\u304A\u5BA2\u69D8\u306B\u9001\u4FE1\u3055\u308C\u307E\u3059",invoice_mark_as_sent:"\u3053\u306E\u8ACB\u6C42\u66F8\u306F\u9001\u4FE1\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u307E\u3059",confirm_send:"\u3053\u306E\u8ACB\u6C42\u66F8\u306F\u30E1\u30FC\u30EB\u3067\u304A\u5BA2\u69D8\u306B\u9001\u4FE1\u3055\u308C\u307E\u3059",invoice_date:"\u8ACB\u6C42\u66F8\u306E\u65E5\u4ED8",record_payment:"\u652F\u6255\u3044\u306E\u8A18\u9332",add_new_invoice:"\u65B0\u3057\u3044\u8ACB\u6C42\u66F8\u3092\u8FFD\u52A0\u3059\u308B",update_expense:"\u7D4C\u8CBB\u306E\u66F4\u65B0",edit_invoice:"\u8ACB\u6C42\u66F8\u306E\u7DE8\u96C6",new_invoice:"\u65B0\u3057\u3044\u8ACB\u6C42\u66F8",save_invoice:"\u8ACB\u6C42\u66F8\u3092\u4FDD\u5B58\u3059\u308B",update_invoice:"\u8ACB\u6C42\u66F8\u3092\u66F4\u65B0\u3059\u308B",add_new_tax:"\u65B0\u3057\u3044\u7A0E\u91D1\u3092\u8FFD\u52A0\u3059\u308B",no_invoices:"\u8ACB\u6C42\u66F8\u306F\u307E\u3060\u3042\u308A\u307E\u305B\u3093\uFF01",list_of_invoices:"\u3053\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u306F\u3001\u8ACB\u6C42\u66F8\u306E\u30EA\u30B9\u30C8\u304C\u542B\u307E\u308C\u307E\u3059\u3002",select_invoice:"\u8ACB\u6C42\u66F8\u3092\u9078\u629E",no_matching_invoices:"\u4E00\u81F4\u3059\u308B\u8ACB\u6C42\u66F8\u306F\u3042\u308A\u307E\u305B\u3093\uFF01",mark_as_sent_successfully:"\u6B63\u5E38\u306B\u9001\u4FE1\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u305F\u8ACB\u6C42\u66F8",invoice_sent_successfully:"\u8ACB\u6C42\u66F8\u306F\u6B63\u5E38\u306B\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F",cloned_successfully:"\u8ACB\u6C42\u66F8\u306E\u30AF\u30ED\u30FC\u30F3\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",clone_invoice:"\u30AF\u30ED\u30FC\u30F3\u8ACB\u6C42\u66F8",confirm_clone:"\u3053\u306E\u8ACB\u6C42\u66F8\u306F\u65B0\u3057\u3044\u8ACB\u6C42\u66F8\u306B\u8907\u88FD\u3055\u308C\u307E\u3059",item:{title:"\u30A2\u30A4\u30C6\u30E0\u30BF\u30A4\u30C8\u30EB",description:"\u8AAC\u660E",quantity:"\u91CF",price:"\u4FA1\u683C",discount:"\u30C7\u30A3\u30B9\u30AB\u30A6\u30F3\u30C8",total:"\u5408\u8A08",total_discount:"\u5408\u8A08\u5272\u5F15",sub_total:"\u5C0F\u8A08",tax:"\u7A0E\u91D1",amount:"\u91CF",select_an_item:"\u5165\u529B\u307E\u305F\u306F\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30A2\u30A4\u30C6\u30E0\u3092\u9078\u629E\u3057\u307E\u3059",type_item_description:"\u30BF\u30A4\u30D7\u30A2\u30A4\u30C6\u30E0\u8AAC\u660E\uFF08\u30AA\u30D7\u30B7\u30E7\u30F3\uFF09"},confirm_delete:"\u3053\u306E\u8ACB\u6C42\u66F8\u3092\u56DE\u53CE\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093|\u3053\u308C\u3089\u306E\u8ACB\u6C42\u66F8\u3092\u56DE\u53CE\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002",created_message:"\u8ACB\u6C42\u66F8\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",updated_message:"\u8ACB\u6C42\u66F8\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u8ACB\u6C42\u66F8\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F|\u8ACB\u6C42\u66F8\u306F\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",marked_as_sent_message:"\u6B63\u5E38\u306B\u9001\u4FE1\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u305F\u8ACB\u6C42\u66F8",something_went_wrong:"\u4F55\u304B\u304C\u3046\u307E\u304F\u3044\u304B\u306A\u304B\u3063\u305F",invalid_due_amount_message:"\u8ACB\u6C42\u66F8\u306E\u5408\u8A08\u91D1\u984D\u306F\u3001\u3053\u306E\u8ACB\u6C42\u66F8\u306E\u652F\u6255\u3044\u7DCF\u984D\u3088\u308A\u5C11\u306A\u304F\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002\u7D9A\u884C\u3059\u308B\u306B\u306F\u3001\u8ACB\u6C42\u66F8\u3092\u66F4\u65B0\u3059\u308B\u304B\u3001\u95A2\u9023\u3059\u308B\u652F\u6255\u3044\u3092\u524A\u9664\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},Cd={title:"\u652F\u6255\u3044",payments_list:"\u652F\u6255\u3044\u30EA\u30B9\u30C8",record_payment:"\u652F\u6255\u3044\u306E\u8A18\u9332",customer:"\u304A\u5BA2\u69D8",date:"\u65E5\u4ED8",amount:"\u91CF",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",payment_number:"\u652F\u6255\u3044\u756A\u53F7",payment_mode:"\u652F\u6255\u3044\u30E2\u30FC\u30C9",invoice:"\u8ACB\u6C42\u66F8",note:"\u6CE8\u610F",add_payment:"\u652F\u6255\u3044\u3092\u8FFD\u52A0\u3059\u308B",new_payment:"\u65B0\u898F\u652F\u6255\u3044",edit_payment:"\u652F\u6255\u3044\u306E\u7DE8\u96C6",view_payment:"\u652F\u6255\u3044\u3092\u8868\u793A",add_new_payment:"\u65B0\u3057\u3044\u652F\u6255\u3044\u3092\u8FFD\u52A0\u3059\u308B",send_payment_receipt:"\u9818\u53CE\u66F8\u3092\u9001\u308B",send_payment:"\u652F\u6255\u3044\u3092\u9001\u308B",save_payment:"\u652F\u6255\u3044\u3092\u7BC0\u7D04\u3059\u308B",update_payment:"\u652F\u6255\u3044\u306E\u66F4\u65B0",payment:"\u652F\u6255\u3044|\u652F\u6255\u3044",no_payments:"\u307E\u3060\u652F\u6255\u3044\u306F\u3042\u308A\u307E\u305B\u3093\uFF01",not_selected:"\u9078\u629E\u3055\u308C\u3066\u3044\u306A\u3044",no_invoice:"\u8ACB\u6C42\u66F8\u306A\u3057",no_matching_payments:"\u4E00\u81F4\u3059\u308B\u652F\u6255\u3044\u306F\u3042\u308A\u307E\u305B\u3093\uFF01",list_of_payments:"\u3053\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u306F\u3001\u652F\u6255\u3044\u306E\u30EA\u30B9\u30C8\u304C\u542B\u307E\u308C\u307E\u3059\u3002",select_payment_mode:"\u652F\u6255\u3044\u30E2\u30FC\u30C9\u3092\u9078\u629E\u3057\u307E\u3059",confirm_mark_as_sent:"\u3053\u306E\u898B\u7A4D\u3082\u308A\u306F\u9001\u4FE1\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u307E\u3059",confirm_send_payment:"\u3053\u306E\u652F\u6255\u3044\u306F\u96FB\u5B50\u30E1\u30FC\u30EB\u3067\u9867\u5BA2\u306B\u9001\u4FE1\u3055\u308C\u307E\u3059",send_payment_successfully:"\u652F\u6255\u3044\u304C\u6B63\u5E38\u306B\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F",something_went_wrong:"\u4F55\u304B\u304C\u3046\u307E\u304F\u3044\u304B\u306A\u304B\u3063\u305F",confirm_delete:"\u3053\u306E\u652F\u6255\u3044\u3092\u56DE\u53CE\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093|\u3053\u308C\u3089\u306E\u652F\u6255\u3044\u3092\u56DE\u53CE\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",created_message:"\u652F\u6255\u3044\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",updated_message:"\u652F\u6255\u3044\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u652F\u6255\u3044\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F|\u652F\u6255\u3044\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",invalid_amount_message:"\u304A\u652F\u6255\u3044\u91D1\u984D\u304C\u7121\u52B9\u3067\u3059"},Ad={title:"\u7D4C\u8CBB",expenses_list:"\u7D4C\u8CBB\u30EA\u30B9\u30C8",select_a_customer:"\u9867\u5BA2\u3092\u9078\u629E\u3059\u308B",expense_title:"\u984C\u540D",customer:"\u304A\u5BA2\u69D8",contact:"\u9023\u7D61\u5148",category:"\u30AB\u30C6\u30B4\u30EA\u30FC",from_date:"\u65E5\u4ED8\u304B\u3089",to_date:"\u73FE\u5728\u307E\u3067",expense_date:"\u65E5\u4ED8",description:"\u8AAC\u660E",receipt:"\u9818\u53CE\u66F8",amount:"\u91CF",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",not_selected:"\u9078\u629E\u3055\u308C\u3066\u3044\u306A\u3044",note:"\u6CE8\u610F",category_id:"\u30AB\u30C6\u30B4\u30EAID",date:"\u65E5\u4ED8",add_expense:"\u7D4C\u8CBB\u3092\u8FFD\u52A0\u3059\u308B",add_new_expense:"\u65B0\u3057\u3044\u7D4C\u8CBB\u3092\u8FFD\u52A0\u3059\u308B",save_expense:"\u7D4C\u8CBB\u3092\u7BC0\u7D04",update_expense:"\u7D4C\u8CBB\u306E\u66F4\u65B0",download_receipt:"\u9818\u53CE\u66F8\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",edit_expense:"\u7D4C\u8CBB\u306E\u7DE8\u96C6",new_expense:"\u65B0\u3057\u3044\u7D4C\u8CBB",expense:"\u7D4C\u8CBB|\u7D4C\u8CBB",no_expenses:"\u307E\u3060\u8CBB\u7528\u306F\u304B\u304B\u308A\u307E\u305B\u3093\uFF01",list_of_expenses:"\u3053\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u306F\u3001\u7D4C\u8CBB\u306E\u30EA\u30B9\u30C8\u304C\u542B\u307E\u308C\u307E\u3059\u3002",confirm_delete:"\u3053\u306E\u8CBB\u7528\u3092\u56DE\u53CE\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093|\u3053\u308C\u3089\u306E\u8CBB\u7528\u3092\u56DE\u53CE\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002",created_message:"\u7D4C\u8CBB\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",updated_message:"\u7D4C\u8CBB\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u7D4C\u8CBB\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F|\u7D4C\u8CBB\u306F\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",categories:{categories_list:"\u30AB\u30C6\u30B4\u30EA\u30EA\u30B9\u30C8",title:"\u984C\u540D",name:"\u540D\u524D",description:"\u8AAC\u660E",amount:"\u91CF",actions:"\u884C\u52D5",add_category:"\u30AB\u30C6\u30B4\u30EA\u3092\u8FFD\u52A0",new_category:"\u65B0\u305F\u306A\u30AB\u30C6\u30B4\u30EA\u30FC",category:"\u30AB\u30C6\u30B4\u30EA|\u30AB\u30C6\u30B4\u30EA",select_a_category:"\u30AB\u30C6\u30B4\u30EA\u30FC\u3092\u9078\u3076"}},Nd={email:"E\u30E1\u30FC\u30EB",password:"\u30D1\u30B9\u30EF\u30FC\u30C9",forgot_password:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u304A\u5FD8\u308C\u3067\u3059\u304B\uFF1F",or_signIn_with:"\u307E\u305F\u306F\u3067\u30B5\u30A4\u30F3\u30A4\u30F3",login:"\u30ED\u30B0\u30A4\u30F3",register:"\u767B\u9332",reset_password:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u518D\u8A2D\u5B9A\u3059\u308B",password_reset_successfully:"\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u6B63\u5E38\u306B\u30EA\u30BB\u30C3\u30C8\u3055\u308C\u307E\u3057\u305F",enter_email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066",enter_password:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B\u3059\u308B",retype_password:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u518D\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},Ed={title:"\u30E6\u30FC\u30B6\u30FC",users_list:"\u30E6\u30FC\u30B6\u30FC\u30EA\u30B9\u30C8",name:"\u540D\u524D",description:"\u8AAC\u660E",added_on:"\u8FFD\u52A0\u3055\u308C\u305F",date_of_creation:"\u4F5C\u6210\u65E5",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",add_user:"\u30E6\u30FC\u30B6\u30FC\u3092\u8FFD\u52A0\u3059\u308B",save_user:"\u30E6\u30FC\u30B6\u30FC\u3092\u4FDD\u5B58",update_user:"\u30E6\u30FC\u30B6\u30FC\u306E\u66F4\u65B0",user:"\u30E6\u30FC\u30B6\u30FC|\u30E6\u30FC\u30B6\u30FC",add_new_user:"\u65B0\u3057\u3044\u30E6\u30FC\u30B6\u30FC\u3092\u8FFD\u52A0",new_user:"\u65B0\u3057\u3044\u30E6\u30FC\u30B6\u30FC",edit_user:"\u30E6\u30FC\u30B6\u30FC\u306E\u7DE8\u96C6",no_users:"\u307E\u3060\u30E6\u30FC\u30B6\u30FC\u306F\u3044\u307E\u305B\u3093\uFF01",list_of_users:"\u3053\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u306F\u3001\u30E6\u30FC\u30B6\u30FC\u306E\u30EA\u30B9\u30C8\u304C\u542B\u307E\u308C\u307E\u3059\u3002",email:"E\u30E1\u30FC\u30EB",phone:"\u96FB\u8A71",password:"\u30D1\u30B9\u30EF\u30FC\u30C9",user_attached_message:"\u3059\u3067\u306B\u4F7F\u7528\u4E2D\u306E\u30A2\u30A4\u30C6\u30E0\u306F\u524A\u9664\u3067\u304D\u307E\u305B\u3093",confirm_delete:"\u3053\u306E\u30E6\u30FC\u30B6\u30FC\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093|\u3053\u308C\u3089\u306E\u30E6\u30FC\u30B6\u30FC\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",created_message:"\u30E6\u30FC\u30B6\u30FC\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",updated_message:"\u30E6\u30FC\u30B6\u30FC\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u30E6\u30FC\u30B6\u30FC\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F|\u30E6\u30FC\u30B6\u30FC\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F"},Td={title:"\u5831\u544A\u3059\u308B",from_date:"\u65E5\u4ED8\u304B\u3089",to_date:"\u73FE\u5728\u307E\u3067",status:"\u72B6\u614B",paid:"\u6709\u6599",unpaid:"\u672A\u6255\u3044",download_pdf:"PDF\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",view_pdf:"PDF\u3092\u898B\u308B",update_report:"\u30EC\u30DD\u30FC\u30C8\u306E\u66F4\u65B0",report:"\u30EC\u30DD\u30FC\u30C8|\u30EC\u30DD\u30FC\u30C8",profit_loss:{profit_loss:"\u5229\u76CA",to_date:"\u73FE\u5728\u307E\u3067",from_date:"\u65E5\u4ED8\u304B\u3089",date_range:"\u65E5\u4ED8\u7BC4\u56F2\u3092\u9078\u629E"},sales:{sales:"\u8CA9\u58F2",date_range:"\u65E5\u4ED8\u7BC4\u56F2\u3092\u9078\u629E",to_date:"\u73FE\u5728\u307E\u3067",from_date:"\u65E5\u4ED8\u304B\u3089",report_type:"\u30EC\u30DD\u30FC\u30C8\u30BF\u30A4\u30D7"},taxes:{taxes:"\u7A0E\u91D1",to_date:"\u73FE\u5728\u307E\u3067",from_date:"\u65E5\u4ED8\u304B\u3089",date_range:"\u65E5\u4ED8\u7BC4\u56F2\u3092\u9078\u629E"},errors:{required:"\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u9805\u76EE\u3067\u3059"},invoices:{invoice:"\u8ACB\u6C42\u66F8",invoice_date:"\u8ACB\u6C42\u66F8\u306E\u65E5\u4ED8",due_date:"\u671F\u65E5",amount:"\u91CF",contact_name:"\u9023\u7D61\u5148",status:"\u72B6\u614B"},estimates:{estimate:"\u898B\u7A4D\u3082\u308A",estimate_date:"\u898B\u7A4D\u3082\u308A\u65E5",due_date:"\u671F\u65E5",estimate_number:"\u898B\u7A4D\u3082\u308A\u756A\u53F7",ref_number:"\u53C2\u7167\u756A\u53F7",amount:"\u91CF",contact_name:"\u9023\u7D61\u5148",status:"\u72B6\u614B"},expenses:{expenses:"\u7D4C\u8CBB",category:"\u30AB\u30C6\u30B4\u30EA\u30FC",date:"\u65E5\u4ED8",amount:"\u91CF",to_date:"\u73FE\u5728\u307E\u3067",from_date:"\u65E5\u4ED8\u304B\u3089",date_range:"\u65E5\u4ED8\u7BC4\u56F2\u3092\u9078\u629E"}},Id={menu_title:{account_settings:"\u30A2\u30AB\u30A6\u30F3\u30C8\u8A2D\u5B9A",company_information:"\u4F1A\u793E\u60C5\u5831",customization:"\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA",preferences:"\u74B0\u5883\u8A2D\u5B9A",notifications:"\u901A\u77E5",tax_types:"\u7A0E\u306E\u7A2E\u985E",expense_category:"\u7D4C\u8CBB\u30AB\u30C6\u30B4\u30EA",update_app:"\u30A2\u30D7\u30EA\u3092\u66F4\u65B0",backup:"\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7",file_disk:"\u30D5\u30A1\u30A4\u30EB\u30C7\u30A3\u30B9\u30AF",custom_fields:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9",payment_modes:"\u652F\u6255\u3044\u30E2\u30FC\u30C9",notes:"\u30CE\u30FC\u30C8"},title:"\u8A2D\u5B9A",setting:"\u8A2D\u5B9A|\u8A2D\u5B9A",general:"\u4E00\u822C",language:"\u8A00\u8A9E",primary_currency:"\u4E00\u6B21\u901A\u8CA8",timezone:"\u30BF\u30A4\u30E0\u30BE\u30FC\u30F3",date_format:"\u65E5\u4ED8\u5F62\u5F0F",currencies:{title:"\u901A\u8CA8",currency:"\u901A\u8CA8|\u901A\u8CA8",currencies_list:"\u901A\u8CA8\u30EA\u30B9\u30C8",select_currency:"\u901A\u8CA8\u3092\u9078\u629E",name:"\u540D\u524D",code:"\u30B3\u30FC\u30C9",symbol:"\u30B7\u30F3\u30DC\u30EB",precision:"\u7CBE\u5EA6",thousand_separator:"\u30B5\u30A6\u30B6\u30F3\u30C9\u30BB\u30D1\u30EC\u30FC\u30BF\u30FC",decimal_separator:"\u5C0F\u6570\u70B9\u8A18\u53F7",position:"\u30DD\u30B8\u30B7\u30E7\u30F3",position_of_symbol:"\u30B7\u30F3\u30DC\u30EB\u306E\u4F4D\u7F6E",right:"\u6B63\u3057\u3044",left:"\u5DE6",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",add_currency:"\u901A\u8CA8\u3092\u8FFD\u52A0\u3059\u308B"},mail:{host:"\u30E1\u30FC\u30EB\u30DB\u30B9\u30C8",port:"\u30E1\u30FC\u30EB\u30DD\u30FC\u30C8",driver:"\u30E1\u30FC\u30EB\u30C9\u30E9\u30A4\u30D0\u30FC",secret:"\u79D8\u5BC6",mailgun_secret:"\u30E1\u30FC\u30EB\u30AC\u30F3\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8",mailgun_domain:"\u30C9\u30E1\u30A4\u30F3",mailgun_endpoint:"Mailgun\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8",ses_secret:"SES\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8",ses_key:"SES\u30AD\u30FC",password:"\u30E1\u30FC\u30EB\u30D1\u30B9\u30EF\u30FC\u30C9",username:"\u30E1\u30FC\u30EB\u30E6\u30FC\u30B6\u30FC\u540D",mail_config:"\u30E1\u30FC\u30EB\u8A2D\u5B9A",from_name:"\u30E1\u30FC\u30EB\u540D\u304B\u3089",from_mail:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u304B\u3089",encryption:"\u30E1\u30FC\u30EB\u306E\u6697\u53F7\u5316",mail_config_desc:"\u4EE5\u4E0B\u306F\u3001\u30A2\u30D7\u30EA\u304B\u3089\u30E1\u30FC\u30EB\u3092\u9001\u4FE1\u3059\u308B\u305F\u3081\u306E\u30E1\u30FC\u30EB\u30C9\u30E9\u30A4\u30D0\u30FC\u3092\u69CB\u6210\u3059\u308B\u305F\u3081\u306E\u30D5\u30A9\u30FC\u30E0\u3067\u3059\u3002 Sendgrid\u3001SES\u306A\u3069\u306E\u30B5\u30FC\u30C9\u30D1\u30FC\u30C6\u30A3\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3092\u69CB\u6210\u3059\u308B\u3053\u3068\u3082\u3067\u304D\u307E\u3059\u3002"},pdf:{title:"PDF\u8A2D\u5B9A",footer_text:"\u30D5\u30C3\u30BF\u30FC\u30C6\u30AD\u30B9\u30C8",pdf_layout:"PDF\u30EC\u30A4\u30A2\u30A6\u30C8"},company_info:{company_info:"\u4F1A\u793E\u60C5\u5831",company_name:"\u4F1A\u793E\u540D",company_logo:"\u4F1A\u793E\u306E\u30ED\u30B4",section_description:"Crater\u306B\u3088\u3063\u3066\u4F5C\u6210\u3055\u308C\u305F\u8ACB\u6C42\u66F8\u3001\u898B\u7A4D\u3082\u308A\u3001\u304A\u3088\u3073\u305D\u306E\u4ED6\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306B\u8868\u793A\u3055\u308C\u308B\u4F1A\u793E\u306B\u95A2\u3059\u308B\u60C5\u5831\u3002",phone:"\u96FB\u8A71",country:"\u56FD",state:"\u72B6\u614B",city:"\u5E02",address:"\u4F4F\u6240",zip:"\u30B8\u30C3\u30D7",save:"\u30BB\u30FC\u30D6",updated_message:"\u4F1A\u793E\u60C5\u5831\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F"},custom_fields:{title:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9",section_description:"\u8ACB\u6C42\u66F8\u3001\u898B\u7A4D\u3082\u308A\u3092\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3059\u308B",add_custom_field:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u8FFD\u52A0",edit_custom_field:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u7DE8\u96C6",field_name:"\u30D5\u30A3\u30FC\u30EB\u30C9\u540D",label:"\u30E9\u30D9\u30EB",type:"\u30BF\u30A4\u30D7",name:"\u540D\u524D",required:"\u5FC5\u9808",placeholder:"\u30D7\u30EC\u30FC\u30B9\u30DB\u30EB\u30C0\u30FC",help_text:"\u30D8\u30EB\u30D7\u30C6\u30AD\u30B9\u30C8",default_value:"\u30C7\u30D5\u30A9\u30EB\u30C8\u5024",prefix:"\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9",starting_number:"\u958B\u59CB\u756A\u53F7",model:"\u30E2\u30C7\u30EB",help_text_description:"\u30E6\u30FC\u30B6\u30FC\u304C\u3053\u306E\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u76EE\u7684\u3092\u7406\u89E3\u3067\u304D\u308B\u3088\u3046\u306B\u3001\u30C6\u30AD\u30B9\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",suffix:"\u30B5\u30D5\u30A3\u30C3\u30AF\u30B9",yes:"\u306F\u3044",no:"\u756A\u53F7",order:"\u6CE8\u6587",custom_field_confirm_delete:"\u3053\u306E\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",already_in_use:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059",deleted_message:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",options:"\u30AA\u30D7\u30B7\u30E7\u30F3",add_option:"\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u8FFD\u52A0",add_another_option:"\u5225\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u8FFD\u52A0\u3059\u308B",sort_in_alphabetical_order:"\u30A2\u30EB\u30D5\u30A1\u30D9\u30C3\u30C8\u9806\u306B\u4E26\u3079\u66FF\u3048\u308B",add_options_in_bulk:"\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u307E\u3068\u3081\u3066\u8FFD\u52A0\u3059\u308B",use_predefined_options:"\u4E8B\u524D\u5B9A\u7FA9\u3055\u308C\u305F\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u4F7F\u7528\u3059\u308B",select_custom_date:"\u30AB\u30B9\u30BF\u30E0\u65E5\u4ED8\u3092\u9078\u629E",select_relative_date:"\u76F8\u5BFE\u65E5\u4ED8\u3092\u9078\u629E",ticked_by_default:"\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u30C1\u30A7\u30C3\u30AF\u3055\u308C\u3066\u3044\u307E\u3059",updated_message:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",added_message:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9\u304C\u6B63\u5E38\u306B\u8FFD\u52A0\u3055\u308C\u307E\u3057\u305F"},customization:{customization:"\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA",save:"\u30BB\u30FC\u30D6",addresses:{title:"\u4F4F\u6240",section_description:"\u9867\u5BA2\u306E\u8ACB\u6C42\u5148\u4F4F\u6240\u3068\u9867\u5BA2\u306E\u914D\u9001\u5148\u4F4F\u6240\u306E\u5F62\u5F0F\u3092\u8A2D\u5B9A\u3067\u304D\u307E\u3059\uFF08PDF\u3067\u306E\u307F\u8868\u793A\uFF09\u3002",customer_billing_address:"\u9867\u5BA2\u306E\u8ACB\u6C42\u5148\u4F4F\u6240",customer_shipping_address:"\u304A\u5BA2\u69D8\u306E\u914D\u9001\u5148\u4F4F\u6240",company_address:"\u4F1A\u793E\u306E\u4F4F\u6240",insert_fields:"\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u633F\u5165",contact:"\u9023\u7D61\u5148",address:"\u4F4F\u6240",display_name:"\u8868\u793A\u540D",primary_contact_name:"\u4E3B\u306A\u9023\u7D61\u5148\u540D",email:"E\u30E1\u30FC\u30EB",website:"\u30A6\u30A7\u30D6\u30B5\u30A4\u30C8",name:"\u540D\u524D",country:"\u56FD",state:"\u72B6\u614B",city:"\u5E02",company_name:"\u4F1A\u793E\u540D",address_street_1:"\u4F4F\u6240\u901A\u308A1",address_street_2:"\u30A2\u30C9\u30EC\u30B9\u30B9\u30C8\u30EA\u30FC\u30C82",phone:"\u96FB\u8A71",zip_code:"\u90F5\u4FBF\u756A\u53F7",address_setting_updated:"\u30A2\u30C9\u30EC\u30B9\u8A2D\u5B9A\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F"},updated_message:"\u4F1A\u793E\u60C5\u5831\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",invoices:{title:"\u8ACB\u6C42\u66F8",notes:"\u30CE\u30FC\u30C8",invoice_prefix:"\u8ACB\u6C42\u66F8\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9",default_invoice_email_body:"\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u8ACB\u6C42\u66F8\u30E1\u30FC\u30EB\u672C\u6587",invoice_settings:"\u8ACB\u6C42\u66F8\u306E\u8A2D\u5B9A",autogenerate_invoice_number:"\u8ACB\u6C42\u66F8\u756A\u53F7\u306E\u81EA\u52D5\u751F\u6210",autogenerate_invoice_number_desc:"\u65B0\u3057\u3044\u8ACB\u6C42\u66F8\u3092\u4F5C\u6210\u3059\u308B\u305F\u3073\u306B\u8ACB\u6C42\u66F8\u756A\u53F7\u3092\u81EA\u52D5\u751F\u6210\u3057\u305F\u304F\u306A\u3044\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u7121\u52B9\u306B\u3057\u307E\u3059\u3002",invoice_email_attachment:"\u8ACB\u6C42\u66F8\u3092\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u3068\u3057\u3066\u9001\u4FE1\u3059\u308B",invoice_email_attachment_setting_description:"\u8ACB\u6C42\u66F8\u3092\u96FB\u5B50\u30E1\u30FC\u30EB\u306E\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u3068\u3057\u3066\u9001\u4FE1\u3059\u308B\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002\u30E1\u30FC\u30EB\u306E[\u8ACB\u6C42\u66F8\u306E\u8868\u793A]\u30DC\u30BF\u30F3\u3092\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u8868\u793A\u3055\u308C\u306A\u304F\u306A\u308B\u3053\u3068\u306B\u6CE8\u610F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",enter_invoice_prefix:"\u8ACB\u6C42\u66F8\u306E\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",terms_and_conditions:"\u898F\u7D04\u3068\u6761\u4EF6",company_address_format:"\u4F1A\u793E\u306E\u4F4F\u6240\u5F62\u5F0F",shipping_address_format:"\u914D\u9001\u5148\u4F4F\u6240\u306E\u5F62\u5F0F",billing_address_format:"\u8ACB\u6C42\u5148\u4F4F\u6240\u306E\u5F62\u5F0F",invoice_settings_updated:"\u8ACB\u6C42\u66F8\u8A2D\u5B9A\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F"},estimates:{title:"\u898B\u7A4D\u308A",estimate_prefix:"\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u306E\u898B\u7A4D\u3082\u308A",default_estimate_email_body:"\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u898B\u7A4D\u3082\u308A\u30E1\u30FC\u30EB\u672C\u6587",estimate_settings:"\u898B\u7A4D\u3082\u308A\u306E\u8A2D\u5B9A",autogenerate_estimate_number:"\u898B\u7A4D\u3082\u308A\u756A\u53F7\u306E\u81EA\u52D5\u751F\u6210",estimate_setting_description:"\u65B0\u3057\u3044\u898B\u7A4D\u3082\u308A\u3092\u4F5C\u6210\u3059\u308B\u305F\u3073\u306B\u898B\u7A4D\u3082\u308A\u756A\u53F7\u3092\u81EA\u52D5\u751F\u6210\u3057\u305F\u304F\u306A\u3044\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u7121\u52B9\u306B\u3057\u307E\u3059\u3002",estimate_email_attachment:"\u898B\u7A4D\u3082\u308A\u3092\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u3068\u3057\u3066\u9001\u4FE1\u3059\u308B",estimate_email_attachment_setting_description:"\u898B\u7A4D\u3082\u308A\u3092\u96FB\u5B50\u30E1\u30FC\u30EB\u306E\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u3068\u3057\u3066\u9001\u4FE1\u3059\u308B\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u30E1\u30FC\u30EB\u306E[\u898B\u7A4D\u3082\u308A\u3092\u8868\u793A]\u30DC\u30BF\u30F3\u304C\u8868\u793A\u3055\u308C\u306A\u304F\u306A\u308B\u3053\u3068\u306B\u6CE8\u610F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",enter_estimate_prefix:"\u63A8\u5B9A\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u3092\u5165\u529B\u3057\u307E\u3059",estimate_setting_updated:"\u898B\u7A4D\u3082\u308A\u8A2D\u5B9A\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",company_address_format:"\u4F1A\u793E\u306E\u4F4F\u6240\u5F62\u5F0F",billing_address_format:"\u8ACB\u6C42\u5148\u4F4F\u6240\u306E\u5F62\u5F0F",shipping_address_format:"\u914D\u9001\u5148\u4F4F\u6240\u306E\u5F62\u5F0F"},payments:{title:"\u652F\u6255\u3044",description:"\u652F\u6255\u3044\u306E\u53D6\u5F15\u30E2\u30FC\u30C9",payment_prefix:"\u652F\u6255\u3044\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9",default_payment_email_body:"\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u652F\u6255\u3044\u30E1\u30FC\u30EB\u672C\u6587",payment_settings:"\u652F\u6255\u3044\u8A2D\u5B9A",autogenerate_payment_number:"\u652F\u6255\u3044\u756A\u53F7\u306E\u81EA\u52D5\u751F\u6210",payment_setting_description:"\u65B0\u3057\u3044\u652F\u6255\u3044\u3092\u4F5C\u6210\u3059\u308B\u305F\u3073\u306B\u652F\u6255\u3044\u756A\u53F7\u3092\u81EA\u52D5\u751F\u6210\u3057\u305F\u304F\u306A\u3044\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u7121\u52B9\u306B\u3057\u307E\u3059\u3002",payment_email_attachment:"\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u3068\u3057\u3066\u652F\u6255\u3044\u3092\u9001\u4FE1\u3059\u308B",payment_email_attachment_setting_description:"\u9818\u53CE\u66F8\u3092\u30E1\u30FC\u30EB\u306E\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u3068\u3057\u3066\u9001\u4FE1\u3059\u308B\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u30E1\u30FC\u30EB\u306E[\u652F\u6255\u3044\u306E\u8868\u793A]\u30DC\u30BF\u30F3\u304C\u8868\u793A\u3055\u308C\u306A\u304F\u306A\u308B\u3053\u3068\u306B\u6CE8\u610F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",enter_payment_prefix:"\u652F\u6255\u3044\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",payment_setting_updated:"\u652F\u6255\u3044\u8A2D\u5B9A\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",payment_modes:"\u652F\u6255\u3044\u30E2\u30FC\u30C9",add_payment_mode:"\u652F\u6255\u3044\u30E2\u30FC\u30C9\u306E\u8FFD\u52A0",edit_payment_mode:"\u652F\u6255\u3044\u30E2\u30FC\u30C9\u306E\u7DE8\u96C6",mode_name:"\u30E2\u30FC\u30C9\u540D",payment_mode_added:"\u652F\u6255\u3044\u30E2\u30FC\u30C9\u304C\u8FFD\u52A0\u3055\u308C\u307E\u3057\u305F",payment_mode_updated:"\u652F\u6255\u3044\u30E2\u30FC\u30C9\u304C\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",payment_mode_confirm_delete:"\u3053\u306E\u652F\u6255\u3044\u30E2\u30FC\u30C9\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",already_in_use:"\u652F\u6255\u3044\u30E2\u30FC\u30C9\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059",deleted_message:"\u652F\u6255\u3044\u30E2\u30FC\u30C9\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",company_address_format:"\u4F1A\u793E\u306E\u4F4F\u6240\u5F62\u5F0F",from_customer_address_format:"\u9867\u5BA2\u306E\u4F4F\u6240\u5F62\u5F0F\u304B\u3089"},items:{title:"\u30A2\u30A4\u30C6\u30E0",units:"\u5358\u4F4D",add_item_unit:"\u30A2\u30A4\u30C6\u30E0\u30E6\u30CB\u30C3\u30C8\u3092\u8FFD\u52A0",edit_item_unit:"\u30A2\u30A4\u30C6\u30E0\u30E6\u30CB\u30C3\u30C8\u306E\u7DE8\u96C6",unit_name:"\u30E6\u30CB\u30C3\u30C8\u540D",item_unit_added:"\u30A2\u30A4\u30C6\u30E0\u30E6\u30CB\u30C3\u30C8\u304C\u8FFD\u52A0\u3055\u308C\u307E\u3057\u305F",item_unit_updated:"\u30A2\u30A4\u30C6\u30E0\u30E6\u30CB\u30C3\u30C8\u304C\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",item_unit_confirm_delete:"\u3053\u306E\u30A2\u30A4\u30C6\u30E0\u30E6\u30CB\u30C3\u30C8\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",already_in_use:"\u30A2\u30A4\u30C6\u30E0\u30E6\u30CB\u30C3\u30C8\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059",deleted_message:"\u30A2\u30A4\u30C6\u30E0\u30E6\u30CB\u30C3\u30C8\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F"},notes:{title:"\u30CE\u30FC\u30C8",description:"\u30E1\u30E2\u3092\u4F5C\u6210\u3057\u3066\u8ACB\u6C42\u66F8\u3084\u898B\u7A4D\u3082\u308A\u306B\u518D\u5229\u7528\u3059\u308B\u3053\u3068\u3067\u6642\u9593\u3092\u7BC0\u7D04\u3067\u304D\u307E\u3059",notes:"\u30CE\u30FC\u30C8",type:"\u30BF\u30A4\u30D7",add_note:"\u30E1\u30E2\u3092\u8FFD\u52A0",add_new_note:"\u65B0\u3057\u3044\u30E1\u30E2\u3092\u8FFD\u52A0",name:"\u540D\u524D",edit_note:"\u30E1\u30E2\u3092\u7DE8\u96C6",note_added:"\u30E1\u30E2\u304C\u6B63\u5E38\u306B\u8FFD\u52A0\u3055\u308C\u307E\u3057\u305F",note_updated:"\u6CE8\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",note_confirm_delete:"\u3053\u306E\u30E1\u30E2\u3092\u5FA9\u5143\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",already_in_use:"\u30CE\u30FC\u30C8\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059",deleted_message:"\u30E1\u30E2\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F"}},account_settings:{profile_picture:"\u30D7\u30ED\u30D5\u30A3\u30FC\u30EB\u306E\u5199\u771F",name:"\u540D\u524D",email:"E\u30E1\u30FC\u30EB",password:"\u30D1\u30B9\u30EF\u30FC\u30C9",confirm_password:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8A8D\u8A3C\u3059\u308B",account_settings:"\u30A2\u30AB\u30A6\u30F3\u30C8\u8A2D\u5B9A",save:"\u30BB\u30FC\u30D6",section_description:"\u3042\u306A\u305F\u306F\u3042\u306A\u305F\u306E\u540D\u524D\u3001\u96FB\u5B50\u30E1\u30FC\u30EB\u3092\u66F4\u65B0\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059",updated_message:"\u30A2\u30AB\u30A6\u30F3\u30C8\u8A2D\u5B9A\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F"},user_profile:{name:"\u540D\u524D",email:"E\u30E1\u30FC\u30EB",password:"\u30D1\u30B9\u30EF\u30FC\u30C9",confirm_password:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8A8D\u8A3C\u3059\u308B"},notification:{title:"\u901A\u77E5",email:"\u306B\u901A\u77E5\u3092\u9001\u4FE1\u3059\u308B",description:"\u4F55\u304B\u304C\u5909\u308F\u3063\u305F\u3068\u304D\u306B\u3069\u306E\u30E1\u30FC\u30EB\u901A\u77E5\u3092\u53D7\u3051\u53D6\u308A\u305F\u3044\u3067\u3059\u304B\uFF1F",invoice_viewed:"\u8ACB\u6C42\u66F8\u3092\u8868\u793A",invoice_viewed_desc:"\u9867\u5BA2\u304C\u30AF\u30EC\u30FC\u30BF\u30FC\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u4ECB\u3057\u3066\u9001\u4FE1\u3055\u308C\u305F\u8ACB\u6C42\u66F8\u3092\u8868\u793A\u3057\u305F\u3068\u304D\u3002",estimate_viewed:"\u95B2\u89A7\u3057\u305F\u898B\u7A4D\u3082\u308A",estimate_viewed_desc:"\u9867\u5BA2\u304C\u30AF\u30EC\u30FC\u30BF\u30FC\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u4ECB\u3057\u3066\u9001\u4FE1\u3055\u308C\u305F\u898B\u7A4D\u3082\u308A\u3092\u8868\u793A\u3057\u305F\u3068\u304D\u3002",save:"\u30BB\u30FC\u30D6",email_save_message:"\u30E1\u30FC\u30EB\u304C\u6B63\u5E38\u306B\u4FDD\u5B58\u3055\u308C\u307E\u3057\u305F",please_enter_email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},tax_types:{title:"\u7A0E\u306E\u7A2E\u985E",add_tax:"\u7A0E\u91D1\u3092\u8FFD\u52A0\u3059\u308B",edit_tax:"\u7A0E\u91D1\u306E\u7DE8\u96C6",description:"\u5FC5\u8981\u306B\u5FDC\u3058\u3066\u7A0E\u91D1\u3092\u8FFD\u52A0\u307E\u305F\u306F\u524A\u9664\u3067\u304D\u307E\u3059\u3002\u30AF\u30EC\u30FC\u30BF\u30FC\u306F\u3001\u8ACB\u6C42\u66F8\u3060\u3051\u3067\u306A\u304F\u3001\u500B\u3005\u306E\u30A2\u30A4\u30C6\u30E0\u306B\u5BFE\u3059\u308B\u7A0E\u91D1\u3082\u30B5\u30DD\u30FC\u30C8\u3057\u3066\u3044\u307E\u3059\u3002",add_new_tax:"\u65B0\u3057\u3044\u7A0E\u91D1\u3092\u8FFD\u52A0\u3059\u308B",tax_settings:"\u7A0E\u8A2D\u5B9A",tax_per_item:"\u30A2\u30A4\u30C6\u30E0\u3054\u3068\u306E\u7A0E\u91D1",tax_name:"\u7A0E\u540D",compound_tax:"\u8907\u5408\u7A0E",percent:"\u30D1\u30FC\u30BB\u30F3\u30C8",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",tax_setting_description:"\u500B\u3005\u306E\u8ACB\u6C42\u66F8\u30A2\u30A4\u30C6\u30E0\u306B\u7A0E\u91D1\u3092\u8FFD\u52A0\u3059\u308B\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u306F\u3001\u7A0E\u91D1\u306F\u8ACB\u6C42\u66F8\u306B\u76F4\u63A5\u8FFD\u52A0\u3055\u308C\u307E\u3059\u3002",created_message:"\u7A0E\u30BF\u30A4\u30D7\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",updated_message:"\u7A0E\u30BF\u30A4\u30D7\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u7A0E\u30BF\u30A4\u30D7\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",confirm_delete:"\u3053\u306E\u7A0E\u30BF\u30A4\u30D7\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",already_in_use:"\u7A0E\u91D1\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059"},expense_category:{title:"\u7D4C\u8CBB\u30AB\u30C6\u30B4\u30EA",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",description:"\u7D4C\u8CBB\u30A8\u30F3\u30C8\u30EA\u3092\u8FFD\u52A0\u3059\u308B\u306B\u306F\u3001\u30AB\u30C6\u30B4\u30EA\u304C\u5FC5\u8981\u3067\u3059\u3002\u597D\u307F\u306B\u5FDC\u3058\u3066\u3001\u3053\u308C\u3089\u306E\u30AB\u30C6\u30B4\u30EA\u3092\u8FFD\u52A0\u307E\u305F\u306F\u524A\u9664\u3067\u304D\u307E\u3059\u3002",add_new_category:"\u65B0\u3057\u3044\u30AB\u30C6\u30B4\u30EA\u3092\u8FFD\u52A0",add_category:"\u30AB\u30C6\u30B4\u30EA\u3092\u8FFD\u52A0",edit_category:"\u30AB\u30C6\u30B4\u30EA\u306E\u7DE8\u96C6",category_name:"\u7A2E\u5225\u540D",category_description:"\u8AAC\u660E",created_message:"\u7D4C\u8CBB\u30AB\u30C6\u30B4\u30EA\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u7D4C\u8CBB\u30AB\u30C6\u30B4\u30EA\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",updated_message:"\u7D4C\u8CBB\u30AB\u30C6\u30B4\u30EA\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",confirm_delete:"\u3053\u306E\u7D4C\u8CBB\u30AB\u30C6\u30B4\u30EA\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",already_in_use:"\u30AB\u30C6\u30B4\u30EA\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059"},preferences:{currency:"\u901A\u8CA8",default_language:"\u65E2\u5B9A\u306E\u8A00\u8A9E",time_zone:"\u30BF\u30A4\u30E0\u30BE\u30FC\u30F3",fiscal_year:"\u4F1A\u8A08\u5E74\u5EA6",date_format:"\u65E5\u4ED8\u5F62\u5F0F",discount_setting:"\u5272\u5F15\u8A2D\u5B9A",discount_per_item:"\u30A2\u30A4\u30C6\u30E0\u3054\u3068\u306E\u5272\u5F15",discount_setting_description:"\u500B\u3005\u306E\u8ACB\u6C42\u66F8\u30A2\u30A4\u30C6\u30E0\u306B\u5272\u5F15\u3092\u8FFD\u52A0\u3059\u308B\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u306F\u3001\u5272\u5F15\u306F\u8ACB\u6C42\u66F8\u306B\u76F4\u63A5\u8FFD\u52A0\u3055\u308C\u307E\u3059\u3002",save:"\u30BB\u30FC\u30D6",preference:"\u597D\u307F|\u74B0\u5883\u8A2D\u5B9A",general_settings:"\u30B7\u30B9\u30C6\u30E0\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u8A2D\u5B9A\u3002",updated_message:"\u30D7\u30EA\u30D5\u30A1\u30EC\u30F3\u30B9\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",select_language:"\u8A00\u8A9E\u3092\u9078\u629E\u3059\u308B",select_time_zone:"\u30BF\u30A4\u30E0\u30BE\u30FC\u30F3\u3092\u9078\u629E",select_date_format:"\u65E5\u4ED8\u5F62\u5F0F\u306E\u9078\u629E",select_financial_year:"\u4F1A\u8A08\u5E74\u5EA6\u3092\u9078\u629E"},update_app:{title:"\u30A2\u30D7\u30EA\u3092\u66F4\u65B0",description:"\u4E0B\u306E\u30DC\u30BF\u30F3\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u65B0\u3057\u3044\u66F4\u65B0\u3092\u78BA\u8A8D\u3059\u308B\u3053\u3068\u3067\u3001\u30AF\u30EC\u30FC\u30BF\u30FC\u3092\u7C21\u5358\u306B\u66F4\u65B0\u3067\u304D\u307E\u3059\u3002",check_update:"\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u3092\u78BA\u8A8D\u3059\u308B",avail_update:"\u65B0\u3057\u3044\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u304C\u5229\u7528\u53EF\u80FD",next_version:"\u6B21\u306E\u30D0\u30FC\u30B8\u30E7\u30F3",requirements:"\u8981\u4EF6",update:"\u4ECA\u3059\u3050\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8",update_progress:"\u66F4\u65B0\u4E2D...",progress_text:"\u307B\u3093\u306E\u6570\u5206\u304B\u304B\u308A\u307E\u3059\u3002\u66F4\u65B0\u304C\u5B8C\u4E86\u3059\u308B\u524D\u306B\u3001\u753B\u9762\u3092\u66F4\u65B0\u3057\u305F\u308A\u3001\u30A6\u30A3\u30F3\u30C9\u30A6\u3092\u9589\u3058\u305F\u308A\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002",update_success:"\u30A2\u30D7\u30EA\u304C\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F\uFF01\u30D6\u30E9\u30A6\u30B6\u30A6\u30A3\u30F3\u30C9\u30A6\u304C\u81EA\u52D5\u7684\u306B\u518D\u8AAD\u307F\u8FBC\u307F\u3055\u308C\u308B\u307E\u3067\u304A\u5F85\u3061\u304F\u3060\u3055\u3044\u3002",latest_message:"\u5229\u7528\u53EF\u80FD\u306A\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u306F\u3042\u308A\u307E\u305B\u3093\uFF01\u3042\u306A\u305F\u306F\u6700\u65B0\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\u3002",current_version:"\u73FE\u884C\u7248",download_zip_file:"ZIP\u30D5\u30A1\u30A4\u30EB\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3059\u308B",unzipping_package:"\u30D1\u30C3\u30B1\u30FC\u30B8\u306E\u89E3\u51CD",copying_files:"\u30D5\u30A1\u30A4\u30EB\u306E\u30B3\u30D4\u30FC",deleting_files:"\u672A\u4F7F\u7528\u30D5\u30A1\u30A4\u30EB\u306E\u524A\u9664",running_migrations:"\u79FB\u884C\u306E\u5B9F\u884C",finishing_update:"\u66F4\u65B0\u306E\u7D42\u4E86",update_failed:"\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u306B\u5931\u6557\u3057\u307E\u3057\u305F",update_failed_text:"\u3054\u3081\u3093\u306A\u3055\u3044\uFF01\u66F4\u65B0\u304C\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{step} step"},backup:{title:"\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7|\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7",description:"\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u306F\u3001\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u306E\u30C0\u30F3\u30D7\u3068\u3068\u3082\u306B\u3001\u6307\u5B9A\u3057\u305F\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u5185\u306E\u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u542B\u3080zip\u30D5\u30A1\u30A4\u30EB\u3067\u3059\u3002",new_backup:"\u65B0\u3057\u3044\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u3092\u8FFD\u52A0\u3059\u308B",create_backup:"\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u3092\u4F5C\u6210\u3059\u308B",select_backup_type:"\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u307E\u3059",backup_confirm_delete:"\u3053\u306E\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",path:"\u9053",new_disk:"\u65B0\u3057\u3044\u30C7\u30A3\u30B9\u30AF",created_at:"\u3067\u4F5C\u6210\u3055\u308C\u305F",size:"\u30B5\u30A4\u30BA",dropbox:"\u30C9\u30ED\u30C3\u30D7\u30DC\u30C3\u30AF\u30B9",local:"\u5730\u5143",healthy:"\u5143\u6C17",amount_of_backups:"\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u306E\u91CF",newest_backups:"\u6700\u65B0\u306E\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7",used_storage:"\u4F7F\u7528\u6E08\u307F\u30B9\u30C8\u30EC\u30FC\u30B8",select_disk:"\u30C7\u30A3\u30B9\u30AF\u3092\u9078\u629E",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",deleted_message:"\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",created_message:"\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",invalid_disk_credentials:"\u9078\u629E\u3057\u305F\u30C7\u30A3\u30B9\u30AF\u306E\u8CC7\u683C\u60C5\u5831\u304C\u7121\u52B9\u3067\u3059"},disk:{title:"\u30D5\u30A1\u30A4\u30EB\u30C7\u30A3\u30B9\u30AF|\u30D5\u30A1\u30A4\u30EB\u30C7\u30A3\u30B9\u30AF",description:"\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u306F\u3001Crater\u306F\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u3001\u30A2\u30D0\u30BF\u30FC\u3001\u305D\u306E\u4ED6\u306E\u753B\u50CF\u30D5\u30A1\u30A4\u30EB\u3092\u4FDD\u5B58\u3059\u308B\u305F\u3081\u306B\u30ED\u30FC\u30AB\u30EB\u30C7\u30A3\u30B9\u30AF\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002\u597D\u307F\u306B\u5FDC\u3058\u3066\u3001DigitalOcean\u3001S3\u3001Dropbox\u306A\u3069\u306E\u8907\u6570\u306E\u30C7\u30A3\u30B9\u30AF\u30C9\u30E9\u30A4\u30D0\u30FC\u3092\u69CB\u6210\u3067\u304D\u307E\u3059\u3002",created_at:"\u3067\u4F5C\u6210\u3055\u308C\u305F",dropbox:"\u30C9\u30ED\u30C3\u30D7\u30DC\u30C3\u30AF\u30B9",name:"\u540D\u524D",driver:"\u904B\u8EE2\u8005",disk_type:"\u30BF\u30A4\u30D7",disk_name:"\u30C7\u30A3\u30B9\u30AF\u540D",new_disk:"\u65B0\u3057\u3044\u30C7\u30A3\u30B9\u30AF\u3092\u8FFD\u52A0\u3059\u308B",filesystem_driver:"\u30D5\u30A1\u30A4\u30EB\u30B7\u30B9\u30C6\u30E0\u30C9\u30E9\u30A4\u30D0\u30FC",local_driver:"\u30ED\u30FC\u30AB\u30EB\u30C9\u30E9\u30A4\u30D0\u30FC",local_root:"\u30ED\u30FC\u30AB\u30EB\u30EB\u30FC\u30C8",public_driver:"\u30D1\u30D6\u30EA\u30C3\u30AF\u30C9\u30E9\u30A4\u30D0\u30FC",public_root:"\u30D1\u30D6\u30EA\u30C3\u30AF\u30EB\u30FC\u30C8",public_url:"\u30D1\u30D6\u30EA\u30C3\u30AFURL",public_visibility:"\u30D1\u30D6\u30EA\u30C3\u30AF\u30D3\u30B8\u30D3\u30EA\u30C6\u30A3",media_driver:"\u30E1\u30C7\u30A3\u30A2\u30C9\u30E9\u30A4\u30D0\u30FC",media_root:"\u30E1\u30C7\u30A3\u30A2\u30EB\u30FC\u30C8",aws_driver:"AWS\u30C9\u30E9\u30A4\u30D0\u30FC",aws_key:"AWS\u30AD\u30FC",aws_secret:"AWS\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8",aws_region:"AWS\u30EA\u30FC\u30B8\u30E7\u30F3",aws_bucket:"AWS\u30D0\u30B1\u30C3\u30C8",aws_root:"AWS\u30EB\u30FC\u30C8",do_spaces_type:"\u30B9\u30DA\u30FC\u30B9\u30BF\u30A4\u30D7\u3092\u5B9F\u884C\u3057\u307E\u3059",do_spaces_key:"\u30B9\u30DA\u30FC\u30B9\u30AD\u30FC\u3092\u5B9F\u884C\u3057\u307E\u3059",do_spaces_secret:"\u30B9\u30DA\u30FC\u30B9\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u3092\u884C\u3046",do_spaces_region:"Do Spaces Region",do_spaces_bucket:"\u30B9\u30DA\u30FC\u30B9\u30D0\u30B1\u30C3\u30C8\u3092\u884C\u3046",do_spaces_endpoint:"\u30B9\u30DA\u30FC\u30B9\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u3092\u5B9F\u884C",do_spaces_root:"\u30B9\u30DA\u30FC\u30B9\u30EB\u30FC\u30C8\u3092\u5B9F\u884C\u3057\u307E\u3059",dropbox_type:"Dropbox\u30BF\u30A4\u30D7",dropbox_token:"Dropbox\u30C8\u30FC\u30AF\u30F3",dropbox_key:"Dropbox\u30AD\u30FC",dropbox_secret:"Dropbox\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8",dropbox_app:"Dropbox\u30A2\u30D7\u30EA",dropbox_root:"Dropbox\u30EB\u30FC\u30C8",default_driver:"\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u30C9\u30E9\u30A4\u30D0\u30FC",is_default:"\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u3059",set_default_disk:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30C7\u30A3\u30B9\u30AF\u306E\u8A2D\u5B9A",set_default_disk_confirm:"\u3053\u306E\u30C7\u30A3\u30B9\u30AF\u306F\u30C7\u30D5\u30A9\u30EB\u30C8\u3068\u3057\u3066\u8A2D\u5B9A\u3055\u308C\u3001\u3059\u3079\u3066\u306E\u65B0\u3057\u3044PDF\u304C\u3053\u306E\u30C7\u30A3\u30B9\u30AF\u306B\u4FDD\u5B58\u3055\u308C\u307E\u3059",success_set_default_disk:"\u30C7\u30A3\u30B9\u30AF\u304C\u30C7\u30D5\u30A9\u30EB\u30C8\u3068\u3057\u3066\u6B63\u5E38\u306B\u8A2D\u5B9A\u3055\u308C\u307E\u3057\u305F",save_pdf_to_disk:"PDF\u3092\u30C7\u30A3\u30B9\u30AF\u306B\u4FDD\u5B58",disk_setting_description:"\u5404\u8ACB\u6C42\u66F8\u306E\u30B3\u30D4\u30FC\u3092\u4FDD\u5B58\u3059\u308B\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002\u898B\u7A4D\u3082\u308A",select_disk:"\u30C7\u30A3\u30B9\u30AF\u3092\u9078\u629E",disk_settings:"\u30C7\u30A3\u30B9\u30AF\u8A2D\u5B9A",confirm_delete:"\u65E2\u5B58\u306E\u30D5\u30A1\u30A4\u30EB",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",edit_file_disk:"\u30D5\u30A1\u30A4\u30EB\u30C7\u30A3\u30B9\u30AF\u306E\u7DE8\u96C6",success_create:"\u30C7\u30A3\u30B9\u30AF\u304C\u6B63\u5E38\u306B\u8FFD\u52A0\u3055\u308C\u307E\u3057\u305F",success_update:"\u30C7\u30A3\u30B9\u30AF\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",error:"\u30C7\u30A3\u30B9\u30AF\u306E\u8FFD\u52A0\u306B\u5931\u6557\u3057\u307E\u3057\u305F",deleted_message:"\u30D5\u30A1\u30A4\u30EB\u30C7\u30A3\u30B9\u30AF\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",disk_variables_save_successfully:"\u30C7\u30A3\u30B9\u30AF\u304C\u6B63\u5E38\u306B\u69CB\u6210\u3055\u308C\u307E\u3057\u305F",disk_variables_save_error:"\u30C7\u30A3\u30B9\u30AF\u69CB\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002",invalid_disk_credentials:"\u9078\u629E\u3057\u305F\u30C7\u30A3\u30B9\u30AF\u306E\u8CC7\u683C\u60C5\u5831\u304C\u7121\u52B9\u3067\u3059"}},$d={account_info:"\u53E3\u5EA7\u60C5\u5831",account_info_desc:"\u4EE5\u4E0B\u306E\u8A73\u7D30\u306F\u3001\u30E1\u30A4\u30F3\u306E\u7BA1\u7406\u8005\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u6210\u3059\u308B\u305F\u3081\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002\u307E\u305F\u3001\u30ED\u30B0\u30A4\u30F3\u5F8C\u306F\u3044\u3064\u3067\u3082\u8A73\u7D30\u3092\u5909\u66F4\u3067\u304D\u307E\u3059\u3002",name:"\u540D\u524D",email:"E\u30E1\u30FC\u30EB",password:"\u30D1\u30B9\u30EF\u30FC\u30C9",confirm_password:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8A8D\u8A3C\u3059\u308B",save_cont:"\u30BB\u30FC\u30D6",company_info:"\u4F1A\u793E\u60C5\u5831",company_info_desc:"\u3053\u306E\u60C5\u5831\u306F\u8ACB\u6C42\u66F8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002\u3053\u308C\u306F\u5F8C\u3067\u8A2D\u5B9A\u30DA\u30FC\u30B8\u3067\u7DE8\u96C6\u3067\u304D\u308B\u3053\u3068\u306B\u6CE8\u610F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",company_name:"\u4F1A\u793E\u540D",company_logo:"\u4F1A\u793E\u306E\u30ED\u30B4",logo_preview:"\u30ED\u30B4\u30D7\u30EC\u30D3\u30E5\u30FC",preferences:"\u74B0\u5883\u8A2D\u5B9A",preferences_desc:"\u30B7\u30B9\u30C6\u30E0\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u8A2D\u5B9A\u3002",country:"\u56FD",state:"\u72B6\u614B",city:"\u5E02",address:"\u4F4F\u6240",street:"Street1 | 2\u4E01\u76EE",phone:"\u96FB\u8A71",zip_code:"\u90F5\u4FBF\u756A\u53F7",go_back:"\u623B\u308B",currency:"\u901A\u8CA8",language:"\u8A00\u8A9E",time_zone:"\u30BF\u30A4\u30E0\u30BE\u30FC\u30F3",fiscal_year:"\u4F1A\u8A08\u5E74\u5EA6",date_format:"\u65E5\u4ED8\u5F62\u5F0F",from_address:"\u5DEE\u51FA\u4EBA\u4F4F\u6240",username:"\u30E6\u30FC\u30B6\u30FC\u540D",next:"\u6B21",continue:"\u7D99\u7D9A\u3059\u308B",skip:"\u30B9\u30AD\u30C3\u30D7",database:{database:"\u30B5\u30A4\u30C8\u306EURL",connection:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u63A5\u7D9A",host:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30DB\u30B9\u30C8",port:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30DD\u30FC\u30C8",password:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30D1\u30B9\u30EF\u30FC\u30C9",app_url:"\u30A2\u30D7\u30EA\u306EURL",app_domain:"\u30A2\u30D7\u30EA\u30C9\u30E1\u30A4\u30F3",username:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30E6\u30FC\u30B6\u30FC\u540D",db_name:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u540D",db_path:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30D1\u30B9",desc:"\u30B5\u30FC\u30D0\u30FC\u4E0A\u306B\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u3092\u4F5C\u6210\u3057\u3001\u4EE5\u4E0B\u306E\u30D5\u30A9\u30FC\u30E0\u3092\u4F7F\u7528\u3057\u3066\u8CC7\u683C\u60C5\u5831\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002"},permissions:{permissions:"\u6A29\u9650",permission_confirm_title:"\u7D9A\u884C\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F",permission_confirm_desc:"\u30D5\u30A9\u30EB\u30C0\u306E\u30A2\u30AF\u30BB\u30B9\u8A31\u53EF\u306E\u78BA\u8A8D\u306B\u5931\u6557\u3057\u307E\u3057\u305F",permission_desc:"\u4EE5\u4E0B\u306F\u3001\u30A2\u30D7\u30EA\u304C\u6A5F\u80FD\u3059\u308B\u305F\u3081\u306B\u5FC5\u8981\u306A\u30D5\u30A9\u30EB\u30C0\u30FC\u306E\u30A2\u30AF\u30BB\u30B9\u8A31\u53EF\u306E\u30EA\u30B9\u30C8\u3067\u3059\u3002\u6A29\u9650\u30C1\u30A7\u30C3\u30AF\u306B\u5931\u6557\u3057\u305F\u5834\u5408\u306F\u3001\u5FC5\u305A\u30D5\u30A9\u30EB\u30C0\u306E\u6A29\u9650\u3092\u66F4\u65B0\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},mail:{host:"\u30E1\u30FC\u30EB\u30DB\u30B9\u30C8",port:"\u30E1\u30FC\u30EB\u30DD\u30FC\u30C8",driver:"\u30E1\u30FC\u30EB\u30C9\u30E9\u30A4\u30D0\u30FC",secret:"\u79D8\u5BC6",mailgun_secret:"\u30E1\u30FC\u30EB\u30AC\u30F3\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8",mailgun_domain:"\u30C9\u30E1\u30A4\u30F3",mailgun_endpoint:"Mailgun\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8",ses_secret:"SES\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8",ses_key:"SES\u30AD\u30FC",password:"\u30E1\u30FC\u30EB\u30D1\u30B9\u30EF\u30FC\u30C9",username:"\u30E1\u30FC\u30EB\u30E6\u30FC\u30B6\u30FC\u540D",mail_config:"\u30E1\u30FC\u30EB\u8A2D\u5B9A",from_name:"\u30E1\u30FC\u30EB\u540D\u304B\u3089",from_mail:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u304B\u3089",encryption:"\u30E1\u30FC\u30EB\u306E\u6697\u53F7\u5316",mail_config_desc:"\u4EE5\u4E0B\u306F\u3001\u30A2\u30D7\u30EA\u304B\u3089\u30E1\u30FC\u30EB\u3092\u9001\u4FE1\u3059\u308B\u305F\u3081\u306E\u30E1\u30FC\u30EB\u30C9\u30E9\u30A4\u30D0\u30FC\u3092\u69CB\u6210\u3059\u308B\u305F\u3081\u306E\u30D5\u30A9\u30FC\u30E0\u3067\u3059\u3002 Sendgrid\u3001SES\u306A\u3069\u306E\u30B5\u30FC\u30C9\u30D1\u30FC\u30C6\u30A3\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3092\u69CB\u6210\u3059\u308B\u3053\u3068\u3082\u3067\u304D\u307E\u3059\u3002"},req:{system_req:"\u30B7\u30B9\u30C6\u30E0\u8981\u6C42",php_req_version:"PHP\uFF08\u30D0\u30FC\u30B8\u30E7\u30F3{version}\u304C\u5FC5\u8981\uFF09",check_req:"\u8981\u4EF6\u3092\u78BA\u8A8D\u3059\u308B",system_req_desc:"\u30AF\u30EC\u30FC\u30BF\u30FC\u306B\u306F\u3044\u304F\u3064\u304B\u306E\u30B5\u30FC\u30D0\u30FC\u8981\u4EF6\u304C\u3042\u308A\u307E\u3059\u3002\u30B5\u30FC\u30D0\u30FC\u306B\u5FC5\u8981\u306Aphp\u30D0\u30FC\u30B8\u30E7\u30F3\u3068\u4EE5\u4E0B\u306B\u8A18\u8F09\u3055\u308C\u3066\u3044\u308B\u3059\u3079\u3066\u306E\u62E1\u5F35\u6A5F\u80FD\u304C\u3042\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},errors:{migrate_failed:"\u79FB\u884C\u306B\u5931\u6557\u3057\u307E\u3057\u305F",database_variables_save_error:"\u69CB\u6210\u3092.env\u30D5\u30A1\u30A4\u30EB\u306B\u66F8\u304D\u8FBC\u3081\u307E\u305B\u3093\u3002\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30AF\u30BB\u30B9\u8A31\u53EF\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044",mail_variables_save_error:"\u96FB\u5B50\u30E1\u30FC\u30EB\u306E\u69CB\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002",connection_failed:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u63A5\u7D9A\u306B\u5931\u6557\u3057\u307E\u3057\u305F",database_should_be_empty:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u306F\u7A7A\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059"},success:{mail_variables_save_successfully:"\u96FB\u5B50\u30E1\u30FC\u30EB\u304C\u6B63\u5E38\u306B\u69CB\u6210\u3055\u308C\u307E\u3057\u305F",database_variables_save_successfully:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u304C\u6B63\u5E38\u306B\u69CB\u6210\u3055\u308C\u307E\u3057\u305F\u3002"}},Rd={invalid_phone:"\u7121\u52B9\u306A\u96FB\u8A71\u756A\u53F7",invalid_url:"\u7121\u52B9\u306AURL\uFF08\u4F8B\uFF1Ahttp\uFF1A//www.craterapp.com\uFF09",invalid_domain_url:"\u7121\u52B9\u306AURL\uFF08\u4F8B\uFF1Acraterapp.com\uFF09",required:"\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u9805\u76EE\u3067\u3059",email_incorrect:"\u8AA4\u3063\u305F\u30E1\u30FC\u30EB\u3002",email_already_taken:"\u30E1\u30FC\u30EB\u306F\u3059\u3067\u306B\u53D6\u3089\u308C\u3066\u3044\u307E\u3059\u3002",email_does_not_exist:"\u6307\u5B9A\u3055\u308C\u305F\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u6301\u3064\u30E6\u30FC\u30B6\u30FC\u306F\u5B58\u5728\u3057\u307E\u305B\u3093",item_unit_already_taken:"\u3053\u306E\u30A2\u30A4\u30C6\u30E0\u306E\u30E6\u30CB\u30C3\u30C8\u540D\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059",payment_mode_already_taken:"\u3053\u306E\u652F\u6255\u3044\u30E2\u30FC\u30C9\u540D\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059",send_reset_link:"\u30EA\u30BB\u30C3\u30C8\u30EA\u30F3\u30AF\u3092\u9001\u4FE1\u3059\u308B",not_yet:"\u672A\u3060\u306B\uFF1F\u3082\u3046\u4E00\u5EA6\u9001\u4FE1\u3057\u3066\u304F\u3060\u3055\u3044",password_min_length:"\u30D1\u30B9\u30EF\u30FC\u30C9\u306B\u306F{count}\u6587\u5B57\u3092\u542B\u3081\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",name_min_length:"\u540D\u524D\u306B\u306F\u5C11\u306A\u304F\u3068\u3082{count}\u6587\u5B57\u304C\u5FC5\u8981\u3067\u3059\u3002",enter_valid_tax_rate:"\u6709\u52B9\u306A\u7A0E\u7387\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",numbers_only:"\u6570\u5B57\u306E\u307F\u3002",characters_only:"\u6587\u5B57\u306E\u307F\u3002",password_incorrect:"\u30D1\u30B9\u30EF\u30FC\u30C9\u306F\u540C\u4E00\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",password_length:"\u30D1\u30B9\u30EF\u30FC\u30C9\u306F{count}\u6587\u5B57\u306E\u9577\u3055\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",qty_must_greater_than_zero:"\u6570\u91CF\u306F\u30BC\u30ED\u3088\u308A\u5927\u304D\u304F\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",price_greater_than_zero:"\u4FA1\u683C\u306F\u30BC\u30ED\u3088\u308A\u5927\u304D\u304F\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",payment_greater_than_zero:"\u652F\u6255\u3044\u306F\u30BC\u30ED\u3088\u308A\u5927\u304D\u304F\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",payment_greater_than_due_amount:"\u5165\u529B\u3055\u308C\u305F\u652F\u6255\u3044\u306F\u3001\u3053\u306E\u8ACB\u6C42\u66F8\u306E\u652F\u6255\u984D\u3092\u8D85\u3048\u3066\u3044\u307E\u3059\u3002",quantity_maxlength:"\u6570\u91CF\u306F20\u6841\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",price_maxlength:"\u4FA1\u683C\u306F20\u6841\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",price_minvalue:"\u4FA1\u683C\u306F0\u3088\u308A\u5927\u304D\u304F\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",amount_maxlength:"\u91D1\u984D\u306F20\u6841\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",amount_minvalue:"\u91D1\u984D\u306F0\u3088\u308A\u5927\u304D\u304F\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",description_maxlength:"\u8AAC\u660E\u306F65,000\u6587\u5B57\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",subject_maxlength:"\u4EF6\u540D\u306F100\u6587\u5B57\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",message_maxlength:"\u30E1\u30C3\u30BB\u30FC\u30B8\u306F255\u6587\u5B57\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",maximum_options_error:"\u9078\u629E\u3055\u308C\u305F{max}\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u6700\u5927\u6570\u3002\u307E\u305A\u3001\u9078\u629E\u3057\u305F\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u524A\u9664\u3057\u3066\u3001\u5225\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u9078\u629E\u3057\u307E\u3059\u3002",notes_maxlength:"\u30E1\u30E2\u306F65,000\u6587\u5B57\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",address_maxlength:"\u30A2\u30C9\u30EC\u30B9\u306F255\u6587\u5B57\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",ref_number_maxlength:"\u53C2\u7167\u756A\u53F7\u306F255\u6587\u5B57\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",prefix_maxlength:"\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u306F5\u6587\u5B57\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",something_went_wrong:"\u4F55\u304B\u304C\u3046\u307E\u304F\u3044\u304B\u306A\u304B\u3063\u305F"},Fd="\u898B\u7A4D\u3082\u308A",Md="\u898B\u7A4D\u3082\u308A\u756A\u53F7",Bd="\u898B\u7A4D\u3082\u308A\u65E5",Vd="\u6709\u52B9\u671F\u9650",Od="\u8ACB\u6C42\u66F8",Ld="\u8ACB\u6C42\u66F8\u756A\u53F7",Ud="\u8ACB\u6C42\u66F8\u306E\u65E5\u4ED8",Kd="\u671F\u65E5",qd="\u30CE\u30FC\u30C8",Wd="\u30A2\u30A4\u30C6\u30E0",Zd="\u91CF",Hd="\u4FA1\u683C",Gd="\u30C7\u30A3\u30B9\u30AB\u30A6\u30F3\u30C8",Yd="\u91CF",Jd="\u5C0F\u8A08",Xd="\u5408\u8A08",Qd="\u652F\u6255\u3044",el="\u304A\u652F\u6255\u3044\u306E\u9818\u53CE\u66F8",tl="\u652F\u6255\u671F\u65E5",al="\u652F\u6255\u3044\u756A\u53F7",sl="\u652F\u6255\u3044\u30E2\u30FC\u30C9",nl="\u3082\u3089\u3063\u305F\u5206\u91CF",il="\u7D4C\u8CBB\u5831\u544A\u66F8",ol="\u7DCF\u7D4C\u8CBB",rl="\u5229\u76CA",dl="\u30BB\u30FC\u30EB\u30B9\u30AB\u30B9\u30BF\u30DE\u30FC\u30EC\u30DD\u30FC\u30C8",ll="\u8CA9\u58F2\u30A2\u30A4\u30C6\u30E0\u30EC\u30DD\u30FC\u30C8",cl="\u7A0E\u6982\u8981\u30EC\u30DD\u30FC\u30C8",_l="\u6240\u5F97",ul="\u7D14\u5229\u76CA",ml="\u8CA9\u58F2\u30EC\u30DD\u30FC\u30C8\uFF1A\u9867\u5BA2\u5225",pl="\u7DCF\u58F2\u4E0A\u9AD8",gl="\u8CA9\u58F2\u30EC\u30DD\u30FC\u30C8\uFF1A\u30A2\u30A4\u30C6\u30E0\u5225",fl="\u7A0E\u30EC\u30DD\u30FC\u30C8",hl="\u7DCF\u7A0E",vl="\u7A0E\u306E\u7A2E\u985E",yl="\u7D4C\u8CBB",bl="\u8ACB\u6C42\u66F8\u9001\u4ED8\u5148\u3001",kl="\u9001\u308A\u5148\u3001",wl="\u304B\u3089\u53D7\u3051\u53D6\u308A\u307E\u3057\u305F\uFF1A",xl="\u7A0E";var zl={navigation:bd,general:kd,dashboard:wd,tax_types:xd,global_search:zd,customers:Sd,items:Pd,estimates:jd,invoices:Dd,payments:Cd,expenses:Ad,login:Nd,users:Ed,reports:Td,settings:Id,wizard:$d,validation:Rd,pdf_estimate_label:Fd,pdf_estimate_number:Md,pdf_estimate_date:Bd,pdf_estimate_expire_date:Vd,pdf_invoice_label:Od,pdf_invoice_number:Ld,pdf_invoice_date:Ud,pdf_invoice_due_date:Kd,pdf_notes:qd,pdf_items_label:Wd,pdf_quantity_label:Zd,pdf_price_label:Hd,pdf_discount_label:Gd,pdf_amount_label:Yd,pdf_subtotal:Jd,pdf_total:Xd,pdf_payment_label:Qd,pdf_payment_receipt_label:el,pdf_payment_date:tl,pdf_payment_number:al,pdf_payment_mode:sl,pdf_payment_amount_received_label:nl,pdf_expense_report_label:il,pdf_total_expenses_label:ol,pdf_profit_loss_label:rl,pdf_sales_customers_label:dl,pdf_sales_items_label:ll,pdf_tax_summery_label:cl,pdf_income_label:_l,pdf_net_profit_label:ul,pdf_customer_sales_report:ml,pdf_total_sales_label:pl,pdf_item_sales_label:gl,pdf_tax_report_label:fl,pdf_total_tax_label:hl,pdf_tax_types_label:vl,pdf_expenses_label:yl,pdf_bill_to:bl,pdf_ship_to:kl,pdf_received_from:wl,pdf_tax_label:xl};const Sl={dashboard:"Panel zarz\u0105dzania",customers:"Kontrahenci",items:"Pozycje",invoices:"Faktury",expenses:"Wydatki",estimates:"Oferty",payments:"P\u0142atno\u015Bci",reports:"Raporty",settings:"Ustawienia",logout:"Wyloguj",users:"U\u017Cytkownicy"},Pl={add_company:"Dodaj firm\u0119",view_pdf:"Wy\u015Bwietl PDF",copy_pdf_url:"Kopiuj adres URL PDF",download_pdf:"\u015Aci\u0105gnij PDF",save:"Zapisz",create:"Stw\xF3rz",cancel:"Anuluj",update:"Zaktualizuj",deselect:"Odznacz",download:"Pobierz",from_date:"Od daty",to_date:"Do daty",from:"Od",to:"Do",sort_by:"Sortuj wed\u0142ug",ascending:"Rosn\u0105co",descending:"Malej\u0105co",subject:"Temat",body:"Tre\u015B\u0107",message:"Wiadomo\u015B\u0107",send:"Wy\u015Blij",go_back:"Wstecz",back_to_login:"Wr\xF3\u0107 do logowania?",home:"Strona g\u0142\xF3wna",filter:"Filtr",delete:"Usu\u0144",edit:"Edytuj",view:"Widok",add_new_item:"Dodaj now\u0105 pozycj\u0119",clear_all:"Wyczy\u015B\u0107 wszystko",showing:"Wy\u015Bwietlanie",of:"z",actions:"Akcje",subtotal:"SUMA CZ\u0118\u015ACIOWA",discount:"RABAT",fixed:"Sta\u0142y",percentage:"Procentowo",tax:"PODATEK",total_amount:"\u0141\u0104CZNA KWOTA",bill_to:"P\u0142atnik",ship_to:"Wy\u015Blij do",due:"Nale\u017Cno\u015B\u0107",draft:"Wersja robocza",sent:"Wys\u0142ano",all:"Wszystko",select_all:"Zaznacz wszystkie",choose_file:"Kliknij tutaj, aby wybra\u0107 plik",choose_template:"Wybierz szablon",choose:"Wybierz",remove:"Usu\u0144",powered_by:"Wspierane przez",bytefury:"Bytefury",select_a_status:"Wybierz status",select_a_tax:"Wybierz podatek",search:"Wyszukaj",are_you_sure:"Czy jeste\u015B pewien?",list_is_empty:"Lista jest pusta.",no_tax_found:"Nie znaleziono podatku!",four_zero_four:"404",you_got_lost:"Ups! Zgubi\u0142e\u015B si\u0119!",go_home:"Wr\xF3\u0107 do strony g\u0142\xF3wnej",test_mail_conf:"Konfiguracja poczty testowej",send_mail_successfully:"Wiadomo\u015B\u0107 wys\u0142ana pomy\u015Blnie",setting_updated:"Ustawienia zosta\u0142y zaktualizowane",select_state:"Wybierz wojew\xF3dztwo",select_country:"Wybierz kraj",select_city:"Wybierz miasto",street_1:"Adres 1",street_2:"Adres 2",action_failed:"Niepowodzenie",retry:"Spr\xF3buj ponownie",choose_note:"Wybierz notatk\u0119",no_note_found:"Nie znaleziono notatki",insert_note:"Wstaw notatk\u0119",copied_pdf_url_clipboard:"Skopiowano adres URL pliku PDF do schowka!"},jl={select_year:"Wybierz rok",cards:{due_amount:"Do zap\u0142aty",customers:"Kontrahenci",invoices:"Faktury",estimates:"Oferty"},chart_info:{total_sales:"Sprzeda\u017C",total_receipts:"Przychody",total_expense:"Wydatki",net_income:"Doch\xF3d netto",year:"Wybierz rok"},weekly_invoices:{title:"Faktury tygodniowe"},monthly_chart:{title:"Sprzeda\u017C i wydatki"},recent_invoices_card:{title:"Nale\u017Cne faktury",due_on:"Termin p\u0142atno\u015Bci",customer:"Kontrahent",amount_due:"Do zap\u0142aty",actions:"Akcje",view_all:"Zobacz wszsytkie"},recent_estimate_card:{title:"Najnowsze oferty",date:"Data",customer:"Kontrahent",amount_due:"Do zap\u0142aty",actions:"Akcje",view_all:"Zobacz wszsytkie"}},Dl={name:"Nazwa",description:"Opis",percent:"Procent",compound_tax:"Podatek z\u0142o\u017Cony"},Cl={search:"Wyszukaj...",customers:"Kontrahenci",users:"U\u017Cytkownicy",no_results_found:"Nie znaleziono wynik\xF3w"},Al={title:"Kontrahenci",add_customer:"Dodaj kontrahenta",contacts_list:"Lista kontrahent\xF3w",name:"Nazwa",mail:"Poczta | Poczta",statement:"Komunikat",display_name:"Widoczna nazwa",primary_contact_name:"G\u0142\xF3wna osoba kontaktowa",contact_name:"Nazwa kontaktu",amount_due:"Do zap\u0142aty",email:"E-mail",address:"Adres",phone:"Telefon",website:"Strona internetowa",overview:"Przegl\u0105d",enable_portal:"W\u0142\u0105cz portal",country:"Kraj",state:"Wojew\xF3dztwo",city:"Miasto",zip_code:"Kod pocztowy",added_on:"Dodano dnia",action:"Akcja",password:"Has\u0142a",street_number:"Numer ulicy",primary_currency:"Waluta g\u0142\xF3wna",description:"Opis",add_new_customer:"Dodaj nowego kontrahenta",save_customer:"Zapisz kontrahenta",update_customer:"Aktualizuj kontrahenta",customer:"Kontrahent | Kontrahenci",new_customer:"Nowy kontrahent",edit_customer:"Edytuj kontrahenta",basic_info:"Podstawowe informacje",billing_address:"Adres do faktury",shipping_address:"Adres dostawy",copy_billing_address:"Kopiuj z rachunku",no_customers:"Brak kontrahent\xF3w!",no_customers_found:"Nie znaleziono kontrahent\xF3w!",no_contact:"Brak kontaktu",no_contact_name:"Brak nazwy kontaktu",list_of_customers:"Ta sekcja b\u0119dzie zawiera\u0107 list\u0119 kontrahent\xF3w.",primary_display_name:"G\u0142\xF3wna nazwa wy\u015Bwietlana",select_currency:"Wybierz walut\u0119",select_a_customer:"Wybierz kontrahenta",type_or_click:"Wpisz lub kliknij aby wybra\u0107",new_transaction:"Nowa transakcja",no_matching_customers:"Brak pasuj\u0105cych kontrahent\xF3w!",phone_number:"Numer telefonu",create_date:"Data utworzenia",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tego kontrahenta i wszystkich powi\u0105zanych faktur, ofert i p\u0142atno\u015Bci. | Nie b\u0119dziesz w stanie odzyska\u0107 tych kontrahent\xF3w i wszystkich powi\u0105zanych faktur, ofert i p\u0142atno\u015Bci.",created_message:"Kontrahent zosta\u0142 utworzony poprawnie",updated_message:"Kontrahent zosta\u0142 zaktualizowany poprawnie",deleted_message:"Kontrahent zosta\u0142 usuni\u0119ty pomy\u015Blnie | Kontrahenci zostali usuni\u0119ci pomy\u015Blnie"},Nl={title:"Pozycje",items_list:"Lista artyku\u0142\xF3w",name:"Nazwa",unit:"Jednostka",description:"Opis",added_on:"Dodane",price:"Cena",date_of_creation:"Data utworzenia",not_selected:"Nie wybrano element\xF3w",action:"Akcja",add_item:"Dodaj pozycj\u0119",save_item:"Zapisz element",update_item:"Aktualizuj element",item:"Pozycja | Pozycje",add_new_item:"Dodaj now\u0105 pozycj\u0119",new_item:"Nowy produkt",edit_item:"Edytuj element",no_items:"Brak element\xF3w!",list_of_items:"Ta sekcja b\u0119dzie zawiera\u0107 list\u0119 pozycji.",select_a_unit:"wybierz jednostk\u0119",taxes:"Podatki",item_attached_message:"Nie mo\u017Cna usun\u0105\u0107 elementu, kt\xF3ry jest ju\u017C u\u017Cywany",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej pozycji | Nie b\u0119dziesz w stanie odzyska\u0107 tych pozycji",created_message:"Element zosta\u0142 pomy\u015Blnie zaktualizowany",updated_message:"Element zosta\u0142 pomy\u015Blnie zaktualizowany",deleted_message:"Pozycja usuni\u0119ta pomy\u015Blnie | Pozycje usuni\u0119te pomy\u015Blnie"},El={title:"Oferty",estimate:"Oferta | Oferty",estimates_list:"Lista ofert",days:"{days} Dni",months:"{months} Miesi\u0105c",years:"{years} Rok",all:"Wszystkie",paid:"Zap\u0142acone",unpaid:"Niezap\u0142acone",customer:"KONTRAHENT",ref_no:"NR REF.",number:"NUMER",amount_due:"DO ZAP\u0141ATY",partially_paid:"Cz\u0119\u015Bciowo op\u0142acona",total:"Razem",discount:"Rabat",sub_total:"Podsumowanie",estimate_number:"Numer oferty",ref_number:"Numer referencyjny",contact:"Kontakt",add_item:"Dodaj pozycj\u0119",date:"Data",due_date:"Data wa\u017Cno\u015Bci",expiry_date:"Data wyga\u015Bni\u0119cia",status:"Status",add_tax:"Dodaj podatek",amount:"Kwota",action:"Akcja",notes:"Notatki",tax:"Podatek",estimate_template:"Szablon",convert_to_invoice:"Konwertuj do faktury",mark_as_sent:"Oznacz jako wys\u0142ane",send_estimate:"Wy\u015Blij ofert\u0119",resend_estimate:"Wy\u015Blij ponownie ofert\u0119",record_payment:"Zarejestruj p\u0142atno\u015B\u0107",add_estimate:"Dodaj ofert\u0119",save_estimate:"Zapisz ofert\u0119",confirm_conversion:"Ta oferta zostanie u\u017Cyta do utworzenia nowej faktury.",conversion_message:"Faktura zosta\u0142a utworzona pomy\u015Blnie",confirm_send_estimate:"Ta oferta zostanie wys\u0142ana poczt\u0105 elektroniczn\u0105 do kontrahenta",confirm_mark_as_sent:"Ta oferta zostanie oznaczona jako wys\u0142ana",confirm_mark_as_accepted:"Ta oferta zostanie oznaczona jako zatwierdzona",confirm_mark_as_rejected:"Ta oferta zostanie oznaczona jako odrzucona",no_matching_estimates:"Brak pasuj\u0105cych ofert!",mark_as_sent_successfully:"Oferta oznaczona jako wys\u0142ana pomy\u015Blnie",send_estimate_successfully:"Kalkulacja wys\u0142ana pomy\u015Blnie",errors:{required:"To pole jest wymagane"},accepted:"Zaakceptowano",rejected:"Odrzucono",sent:"Wys\u0142ano",draft:"Wersja robocza",declined:"Odrzucony",new_estimate:"Nowa oferta",add_new_estimate:"Dodaj now\u0105 ofert\u0119",update_Estimate:"Zaktualizuj ofert\u0119",edit_estimate:"Edytuj ofert\u0119",items:"pozycje",Estimate:"Oferta | Oferty",add_new_tax:"Dodaj nowy podatek",no_estimates:"Nie ma jeszcze ofert!",list_of_estimates:"Ta sekcja b\u0119dzie zawiera\u0142a list\u0119 ofert.",mark_as_rejected:"Oznacz jako odrzucon\u0105",mark_as_accepted:"Oznacz jako zaakceptowan\u0105",marked_as_accepted_message:"Oferty oznaczone jako zaakceptowane",marked_as_rejected_message:"Oferty oznaczone jako odrzucone",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej oferty | Nie b\u0119dziesz w stanie odzyska\u0107 tych ofert",created_message:"Oferta utworzona pomy\u015Blnie",updated_message:"Oferta zaktualizowana pomy\u015Blnie",deleted_message:"Oferta usuni\u0119ta pomy\u015Blnie | Oferty usuni\u0119te pomy\u015Blnie",user_email_does_not_exist:"E-mail u\u017Cytkownika nie istnieje",something_went_wrong:"co\u015B posz\u0142o nie tak",item:{title:"Tytu\u0142 pozycji",description:"Opis",quantity:"Ilo\u015B\u0107",price:"Cena",discount:"Rabat",total:"Razem",total_discount:"Rabat \u0142\u0105cznie",sub_total:"Podsumowanie",tax:"Podatek",amount:"Kwota",select_an_item:"Wpisz lub kliknij aby wybra\u0107 element",type_item_description:"Opis pozycji (opcjonalnie)"}},Tl={title:"Faktury",invoices_list:"Lista faktur",days:"{days} Dni",months:"{months} Miesi\u0105c",years:"{years} Rok",all:"Wszystko",paid:"Zap\u0142acono",unpaid:"Nie zap\u0142acono",viewed:"Przejrzane",overdue:"Zaleg\u0142e",completed:"Uko\u0144czone",customer:"KONTRAHENT",paid_status:"STATUS P\u0141ATNO\u015ACI",ref_no:"NR REF.",number:"NUMER",amount_due:"DO ZAP\u0141ATY",partially_paid:"Cz\u0119\u015Bciowo op\u0142acona",total:"Razem",discount:"Rabat",sub_total:"Podsumowanie",invoice:"Faktura | Faktury",invoice_number:"Numer faktury",ref_number:"Numer referencyjny",contact:"Kontakt",add_item:"Dodaj pozycj\u0119",date:"Data",due_date:"Termin p\u0142atno\u015Bci",status:"Status",add_tax:"Dodaj podatek",amount:"Kwota",action:"Akcja",notes:"Notatki",view:"Widok",send_invoice:"Wy\u015Blij faktur\u0119",resend_invoice:"Wy\u015Blij faktur\u0119 ponownie",invoice_template:"Szablon faktury",template:"Szablon",mark_as_sent:"Oznacz jako wys\u0142ane",confirm_send_invoice:"Ta faktura zostanie wys\u0142ana poczt\u0105 elektroniczn\u0105 do kontrahenta",invoice_mark_as_sent:"Ta faktura zostanie oznaczona jako wys\u0142ana",confirm_send:"Ta faktura zostanie wys\u0142ana poczt\u0105 elektroniczn\u0105 do kontrahenta",invoice_date:"Data faktury",record_payment:"Zarejestruj p\u0142atno\u015B\u0107",add_new_invoice:"Dodaj now\u0105 faktur\u0119",update_expense:"Zaktualizuj wydatki",edit_invoice:"Edytuj faktur\u0119",new_invoice:"Nowa faktura",save_invoice:"Zapisz faktur\u0119",update_invoice:"Zaktualizuj faktur\u0119",add_new_tax:"Dodaj nowy podatek",no_invoices:"Brak faktur!",list_of_invoices:"Ta sekcja b\u0119dzie zawiera\u0107 list\u0119 faktur.",select_invoice:"Wybierz faktur\u0119",no_matching_invoices:"Brak pasuj\u0105cych faktur!",mark_as_sent_successfully:"Faktura oznaczona jako wys\u0142ana pomy\u015Blnie",send_invoice_successfully:"Faktura wys\u0142ana pomy\u015Blnie",cloned_successfully:"Faktura sklonowana pomy\u015Blnie",clone_invoice:"Sklonuj faktur\u0119",confirm_clone:"Ta faktura zostanie sklonowana do nowej faktury",item:{title:"Tytu\u0142 pozycji",description:"Opis",quantity:"Ilo\u015B\u0107",price:"Cena",discount:"Rabat",total:"Razem",total_discount:"Rabat \u0142\u0105cznie",sub_total:"Podsumowanie",tax:"Podatek",amount:"Kwota",select_an_item:"Wpisz lub kliknij aby wybra\u0107 element",type_item_description:"Opis pozycji (opcjonalnie)"},payment_attached_message:"Jedna z wybranych faktur ma do\u0142\u0105czon\u0105 p\u0142atno\u015B\u0107. Upewnij si\u0119, \u017Ce najpierw usuniesz za\u0142\u0105czone p\u0142atno\u015Bci, aby kontynuowa\u0107 usuwanie",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej faktury | Nie b\u0119dziesz w stanie odzyska\u0107 tych faktur",created_message:"Faktura zosta\u0142a utworzona pomy\u015Blnie",updated_message:"Faktura zosta\u0142a pomy\u015Blnie zaktualizowana",deleted_message:"Faktura usuni\u0119ta pomy\u015Blnie | Faktury usuni\u0119te pomy\u015Blnie",marked_as_sent_message:"Faktura oznaczona jako wys\u0142ana pomy\u015Blnie",user_email_does_not_exist:"E-mail u\u017Cytkownika nie istnieje",something_went_wrong:"co\u015B posz\u0142o nie tak",invalid_due_amount_message:"Ca\u0142kowita kwota faktury nie mo\u017Ce by\u0107 mniejsza ni\u017C ca\u0142kowita kwota zap\u0142acona za t\u0119 faktur\u0119. Prosz\u0119 zaktualizowa\u0107 faktur\u0119 lub usun\u0105\u0107 powi\u0105zane p\u0142atno\u015Bci, aby kontynuowa\u0107."},Il={title:"Noty kredytowe",credit_notes_list:"Lista not kredytowych",credit_notes:"Noty kredytowe",contact:"Kontakt",date:"Data",amount:"Kwota",action:"Akcja",credit_number:"Numer kredytu",notes:"Notatki",confirm_delete:"Czy na pewno chcesz usun\u0105\u0107 notatk\u0119 kredytow\u0105?",item:{title:"Tytu\u0142 pozycji",description:"Opis",quantity:"Ilo\u015B\u0107",price:"Cena",discount:"Rabat",total:"Razem",total_discount:"Rabat \u0142\u0105cznie",sub_total:"Podsumowanie",tax:"Podatek"}},$l={title:"P\u0142atno\u015Bci",payments_list:"Lista p\u0142atno\u015Bci",record_payment:"Zarejestruj p\u0142atno\u015B\u0107",customer:"Kontrahent",date:"Data",amount:"Kwota",action:"Akcja",payment_number:"Numer p\u0142atno\u015Bci",payment_mode:"Metoda p\u0142atno\u015Bci",invoice:"Faktura",note:"Notatka",add_payment:"Dodaj p\u0142atno\u015B\u0107",new_payment:"Nowa p\u0142atno\u015B\u0107",edit_payment:"Edytuj p\u0142atno\u015B\u0107",view_payment:"Wy\u015Bwietl p\u0142atno\u015B\u0107",add_new_payment:"Dodaj now\u0105 p\u0142atno\u015B\u0107",send_payment_receipt:"Wy\u015Blij potwierdzenie p\u0142atno\u015Bci",send_payment:"Wy\u015Blij p\u0142atno\u015B\u0107",save_payment:"Zapisz p\u0142atno\u015B\u0107",update_payment:"Zaktualizuj p\u0142atno\u015B\u0107",payment:"P\u0142atno\u015B\u0107 | P\u0142atno\u015Bci",no_payments:"Nie ma jeszcze p\u0142atno\u015Bci!",not_selected:"Nie wybrano",no_invoice:"Brak faktury",no_matching_payments:"Brak pasuj\u0105cych p\u0142atno\u015Bci!",list_of_payments:"Ta sekcja b\u0119dzie zawiera\u0107 list\u0119 p\u0142atno\u015Bci.",select_payment_mode:"Wybierz spos\xF3b p\u0142atno\u015Bci",confirm_mark_as_sent:"Ta oferta zostanie oznaczona jako wys\u0142ana",confirm_send_payment:"Ta p\u0142atno\u015B\u0107 zostanie wys\u0142ana e-mailem do kontrahenta",send_payment_successfully:"P\u0142atno\u015B\u0107 wys\u0142ana pomy\u015Blnie",user_email_does_not_exist:"E-mail u\u017Cytkownika nie istnieje",something_went_wrong:"co\u015B posz\u0142o nie tak",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej p\u0142atno\u015Bci | Nie b\u0119dziesz w stanie odzyska\u0107 tych p\u0142atno\u015Bci",created_message:"P\u0142atno\u015B\u0107 zosta\u0142a pomy\u015Blnie utworzona",updated_message:"P\u0142atno\u015B\u0107 zosta\u0142a pomy\u015Blnie zaktualizowana",deleted_message:"P\u0142atno\u015B\u0107 usuni\u0119ta pomy\u015Blnie | P\u0142atno\u015Bci usuni\u0119te pomy\u015Blnie",invalid_amount_message:"Kwota p\u0142atno\u015Bci jest nieprawid\u0142owa"},Rl={title:"Wydatki",expenses_list:"Lista wydatk\xF3w",select_a_customer:"Wybierz kontrahenta",expense_title:"Tytu\u0142",customer:"Kontrahent",contact:"Kontakt",category:"Kategoria",from_date:"Od daty",to_date:"Do daty",expense_date:"Data",description:"Opis",receipt:"Potwierdzenie",amount:"Kwota",action:"Akcja",not_selected:"Nie wybrano",note:"Notatka",category_id:"Identyfikator kategorii",date:"Data",add_expense:"Dodaj wydatek",add_new_expense:"Dodaj nowy wydatek",save_expense:"Zapisz wydatek",update_expense:"Zaktualizuj wydatek",download_receipt:"Pobierz potwierdzenie wp\u0142aty",edit_expense:"Edytuj wydatek",new_expense:"Nowy wydatek",expense:"Wydatek | Wydatki",no_expenses:"Nie ma jeszcze wydatk\xF3w!",list_of_expenses:"Ta sekcja b\u0119dzie zawiera\u0142a list\u0119 wydatk\xF3w.",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tego wydatku | Nie b\u0119dziesz w stanie odzyska\u0107 tych wydatk\xF3w",created_message:"Wydatek utworzony pomy\u015Blnie",updated_message:"Wydatek zaktualizowany pomy\u015Blnie",deleted_message:"Wydatek usuni\u0119ty pomy\u015Blnie | Wydatki usuni\u0119te pomy\u015Blnie",categories:{categories_list:"Lista kategorii",title:"Tytu\u0142",name:"Nazwa",description:"Opis",amount:"Kwota",actions:"Akcje",add_category:"Dodaj kategori\u0119",new_category:"Nowa kategoria",category:"Kategoria | Kategorie",select_a_category:"Wybierz kategori\u0119"}},Fl={email:"E-mail",password:"Has\u0142o",forgot_password:"Nie pami\u0119tasz has\u0142a?",or_signIn_with:"lub zaloguj si\u0119 przez",login:"Logowanie",register:"Rejestracja",reset_password:"Resetuj has\u0142o",password_reset_successfully:"Has\u0142o zosta\u0142o pomy\u015Blnie zresetowane",enter_email:"Wprowad\u017A adres e-mail",enter_password:"Wprowad\u017A has\u0142o",retype_password:"Wprowad\u017A has\u0142o ponownie",login_placeholder:"mail@example.com"},Ml={title:"U\u017Cytkownicy",users_list:"Lista u\u017Cytkownik\xF3w",name:"Nazwa",description:"Opis",added_on:"Dodano dnia",date_of_creation:"Data utworzenia",action:"Akcja",add_user:"Dodaj u\u017Cytkownika",save_user:"Zapisz u\u017Cytkownika",update_user:"Zaktualizuj u\u017Cytkownika",user:"U\u017Cytkownik | U\u017Cytkownicy",add_new_user:"Dodaj nowego u\u017Cytkownika",new_user:"Nowy u\u017Cytkownik",edit_user:"Edytuj u\u017Cytkownika",no_users:"Brak u\u017Cytkownik\xF3w!",list_of_users:"Ta sekcja b\u0119dzie zawiera\u0142a list\u0119 u\u017Cytkownik\xF3w.",email:"Email",phone:"Telefon",password:"Has\u0142o",user_attached_message:"Nie mo\u017Cna usun\u0105\u0107 elementu, kt\xF3ry jest ju\u017C w u\u017Cyciu",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tego u\u017Cytkownika | Nie b\u0119dziesz w stanie odzyska\u0107 tych u\u017Cytkownik\xF3w",created_message:"U\u017Cytkownik zosta\u0142 utworzony pomy\u015Blnie",updated_message:"U\u017Cytkownik zosta\u0142 zaktualizowany pomy\u015Blnie",deleted_message:"U\u017Cytkownik usuni\u0119ty pomy\u015Blnie | U\u017Cytkownicy usuni\u0119ci pomy\u015Blnie"},Bl={title:"Raport",from_date:"Od daty",to_date:"Do daty",status:"Status",paid:"Zap\u0142acono",unpaid:"Nie zap\u0142acono",download_pdf:"Pobierz plik PDF",view_pdf:"Podgl\u0105d PDF",update_report:"Aktualizuj raport",report:"Raport | Raporty",profit_loss:{profit_loss:"Zyski i straty",to_date:"Do daty",from_date:"Od daty",date_range:"Wybierz zakres dat"},sales:{sales:"Sprzeda\u017C",date_range:"Wybierz zakres dat",to_date:"Do daty",from_date:"Od daty",report_type:"Typ raportu"},taxes:{taxes:"Podatki",to_date:"Do daty",from_date:"Od daty",date_range:"Wybierz zakres dat"},errors:{required:"To pole jest wymagane"},invoices:{invoice:"Faktura",invoice_date:"Data faktury",due_date:"Termin p\u0142atno\u015Bci",amount:"Kwota",contact_name:"Nazwa kontaktu",status:"Status"},estimates:{estimate:"Oferta",estimate_date:"Data oferty",due_date:"Data wa\u017Cno\u015Bci",estimate_number:"Numer oferty",ref_number:"Numer referencyjny",amount:"Kwota",contact_name:"Nazwa kontaktu",status:"Status"},expenses:{expenses:"Wydatki",category:"Kategoria",date:"Data",amount:"Kwota",to_date:"Do daty",from_date:"Od daty",date_range:"Wybierz zakres dat"}},Vl={menu_title:{account_settings:"Ustawienia konta",company_information:"Informacje o firmie",customization:"Dostosowywanie",preferences:"Opcje",notifications:"Powiadomienia",tax_types:"Rodzaje podatku",expense_category:"Kategorie wydatku",update_app:"Aktualizuj aplikacj\u0119",backup:"Kopia zapasowa",file_disk:"Dysk plik\xF3w",custom_fields:"Pola niestandardowe",payment_modes:"Rodzaje p\u0142atno\u015Bci",notes:"Notatki"},title:"Ustawienia",setting:"Ustawienia | Ustawienia",general:"Og\xF3lne",language:"J\u0119zyk",primary_currency:"Waluta g\u0142\xF3wna",timezone:"Strefa czasowa",date_format:"Format daty",currencies:{title:"Waluty",currency:"Waluta | Waluty",currencies_list:"Lista walut",select_currency:"Wybierz walut\u0119",name:"Nazwa",code:"Kod",symbol:"Symbol",precision:"Dok\u0142adno\u015B\u0107",thousand_separator:"Separator tysi\u0119cy",decimal_separator:"Separator dziesi\u0119tny",position:"Pozycja",position_of_symbol:"Po\u0142o\u017Cenie symbolu",right:"Do prawej",left:"Do lewej",action:"Akcja",add_currency:"Dodaj walut\u0119"},mail:{host:"Adres hosta poczty",port:"Port poczty",driver:"Sterownik poczty",secret:"Tajny klucz",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domena",mailgun_endpoint:"Punkt dost\u0119powy Mailgun",ses_secret:"Tajny klucz SES",ses_key:"Klucz SES",password:"Has\u0142o poczty",username:"Nazwa u\u017Cytkownika poczty",mail_config:"Konfiguracja poczty",from_name:"Nazwa nadawcy",from_mail:"Adres e-mail nadawcy",encryption:"Szyfrowanie poczty",mail_config_desc:"Poni\u017Cej znajduje si\u0119 formularz konfiguracji sterownika poczty e-mail do wysy\u0142ania wiadomo\u015Bci e-mail z aplikacji. Mo\u017Cesz r\xF3wnie\u017C skonfigurowa\u0107 zewn\u0119trznych dostawc\xF3w takich jak Sendgrid, SES itp."},pdf:{title:"Ustawienia PDF",footer_text:"Teks stopki",pdf_layout:"Szablon PDF"},company_info:{company_info:"Dane firmy",company_name:"Nazwa firmy",company_logo:"Logo firmy",section_description:"Informacje o Twojej firmie, kt\xF3re b\u0119d\u0105 wy\u015Bwietlane na fakturach, ofertach i innych dokumentach stworzonych przez Crater.",phone:"Telefon",country:"Kraj",state:"Wojew\xF3dztwo",city:"Miasto",address:"Adres",zip:"Kod pocztowy",save:"Zapisz",updated_message:"Informacje o firmie zosta\u0142y pomy\u015Blnie zaktualizowane"},custom_fields:{title:"Pola niestandardowe",section_description:"Dostosuj swoje faktury, oferty i wp\u0142ywy p\u0142atno\u015Bci w\u0142asnymi polami. Upewnij si\u0119, \u017Ce u\u017Cywasz poni\u017Cszych p\xF3l w formatach adresowych na stronie ustawie\u0144 dostosowywania.",add_custom_field:"Dodaj pole niestandardowe",edit_custom_field:"Edytuj pole niestandardowe",field_name:"Nazwa pola",label:"Etykieta",type:"Typ",name:"Nazwa",required:"Wymagane",placeholder:"Symbol zast\u0119pczy",help_text:"Tekst pomocy",default_value:"Warto\u015B\u0107 domy\u015Blna",prefix:"Prefiks",starting_number:"Numer pocz\u0105tkowy",model:"Model",help_text_description:"Wprowad\u017A jaki\u015B tekst, aby pom\xF3c u\u017Cytkownikom zrozumie\u0107 cel tego pola niestandardowego.",suffix:"Sufiks",yes:"Tak",no:"Nie",order:"Zam\xF3wienie",custom_field_confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tego niestandardowego pola",already_in_use:"Pole niestandardowe jest ju\u017C w u\u017Cyciu",deleted_message:"Pole niestandardowe zosta\u0142o usuni\u0119te pomy\u015Blnie",options:"opcje",add_option:"Dodaj opcje",add_another_option:"Dodaj inn\u0105 opcj\u0119",sort_in_alphabetical_order:"Sortuj wed\u0142ug kolejno\u015Bci alfabetycznej",add_options_in_bulk:"Dodaj opcje zbiorcze",use_predefined_options:"U\u017Cyj predefiniowanych opcji",select_custom_date:"Wybierz niestandardow\u0105 dat\u0119",select_relative_date:"Wybierz dat\u0119 wzgl\u0119dn\u0105",ticked_by_default:"Zaznaczone domy\u015Blnie",updated_message:"Pole niestandardowe zosta\u0142o zaktualizowane pomy\u015Blnie",added_message:"Pole niestandardowe zosta\u0142o dodane pomy\u015Blnie"},customization:{customization:"dostosowywanie",save:"Zapisz",addresses:{title:"Adresy",section_description:"Mo\u017Cesz ustawi\u0107 adres rozliczeniowy kontrahenta i format adresu dostawy kontrahenta (tylko w formacie PDF). ",customer_billing_address:"Adres rozliczeniowy kontrahenta",customer_shipping_address:"Adres dostawy kontrahenta",company_address:"Adres firmy",insert_fields:"Wstaw pola",contact:"Kontakt",address:"Adres",display_name:"Widoczna nazwa",primary_contact_name:"G\u0142\xF3wna osoba kontaktowa",email:"Email",website:"Strona internetowa",name:"Nazwa",country:"Kraj",state:"Wojew\xF3dztwo",city:"Miasto",company_name:"Nazwa firmy",address_street_1:"Ulica 1",address_street_2:"Ulica 2",phone:"Telefon",zip_code:"Kod pocztowy",address_setting_updated:"Ustawienia adresu zosta\u0142y pomy\u015Blnie zaktualizowane"},updated_message:"Informacje o firmie zosta\u0142y pomy\u015Blnie zaktualizowane",invoices:{title:"Faktury",notes:"Notatki",invoice_prefix:"Prefiks faktury",invoice_number_length:"D\u0142ugo\u015B\u0107 numeru faktury",default_invoice_email_body:"Domy\u015Blny nag\u0142\xF3wek e-maila faktury",invoice_settings:"Ustawienia faktury",autogenerate_invoice_number:"Automatycznie generuj numer faktury",invoice_setting_description:"Wy\u0142\u0105cz to, je\u015Bli nie chcesz automatycznie generowa\u0107 numer\xF3w faktur za ka\u017Cdym razem, gdy tworzysz now\u0105 faktur\u0119.",invoice_email_attachment:"Wy\u015Blij faktury jako za\u0142\u0105czniki",invoice_email_attachment_setting_description:"W\u0142\u0105cz to, je\u015Bli chcesz wysy\u0142a\u0107 faktury jako za\u0142\u0105cznik e-mail. Pami\u0119taj, \u017Ce przycisk 'Zobacz faktur\u0119' w wiadomo\u015Bciach e-mail nie b\u0119dzie ju\u017C wy\u015Bwietlany, gdy jest w\u0142\u0105czony.",enter_invoice_prefix:"Wprowad\u017A prefiks faktury",terms_and_conditions:"Zasady i warunki",company_address_format:"Format adresu firmy",shipping_address_format:"Format adresu dostawy",billing_address_format:"Format adresu do faktury",invoice_setting_updated:"Ustawienia faktury zosta\u0142y pomy\u015Blnie zaktualizowane"},estimates:{title:"Oferty",estimate_prefix:"Prefiks oferty",estimate_number_length:"D\u0142ugo\u015B\u0107 numeru oferty",default_estimate_email_body:"Domy\u015Blny nag\u0142\xF3wek e-maila oferty",estimate_settings:"Ustawienia oferty",autogenerate_estimate_number:"Automatycznie generuj numer oferty",estimate_setting_description:"Wy\u0142\u0105cz to, je\u015Bli nie chcesz automatycznie generowa\u0107 numer\xF3w ofert za ka\u017Cdym razem, gdy tworzysz now\u0105 ofert\u0119.",estimate_email_attachment:"Wy\u015Blij oferty jako za\u0142\u0105czniki",estimate_email_attachment_setting_description:"W\u0142\u0105cz to, je\u015Bli chcesz wysy\u0142a\u0107 oferty jako za\u0142\u0105cznik e-mail. Pami\u0119taj, \u017Ce przycisk 'Zobacz ofert\u0119' w wiadomo\u015Bciach e-mail nie b\u0119dzie ju\u017C wy\u015Bwietlany, gdy jest w\u0142\u0105czony.",enter_estimate_prefix:"Wprowad\u017A prefiks oferty",estimate_setting_updated:"Ustawienia oferty zosta\u0142y pomy\u015Blnie zaktualizowane",company_address_format:"Format adresu firmy",billing_address_format:"Format adresu do faktury",shipping_address_format:"Format adresu dostawy"},payments:{title:"P\u0142atno\u015Bci",description:"Sposoby transakcji dla p\u0142atno\u015Bci",payment_prefix:"Prefiks p\u0142atno\u015Bci",payment_number_length:"D\u0142ugo\u015B\u0107 numeru p\u0142atno\u015Bci",default_payment_email_body:"Domy\u015Blny nag\u0142\xF3wek e-maila p\u0142atno\u015Bci",payment_settings:"Ustawienia p\u0142atno\u015Bci",autogenerate_payment_number:"Automatycznie generuj numer p\u0142atno\u015Bci",payment_setting_description:"Wy\u0142\u0105cz to, je\u015Bli nie chcesz automatycznie generowa\u0107 numer\xF3w p\u0142atno\u015Bci za ka\u017Cdym razem, gdy tworzysz now\u0105 p\u0142atno\u015B\u0107.",payment_email_attachment:"Wy\u015Blij p\u0142atno\u015Bci jako za\u0142\u0105czniki",payment_email_attachment_setting_description:"W\u0142\u0105cz to, je\u015Bli chcesz wysy\u0142a\u0107 p\u0142atno\u015Bci jako za\u0142\u0105cznik e-mail. Pami\u0119taj, \u017Ce przycisk 'Zobacz p\u0142atno\u015B\u0107' w wiadomo\u015Bciach e-mail nie b\u0119dzie ju\u017C wy\u015Bwietlany, gdy jest w\u0142\u0105czony.",enter_payment_prefix:"Wprowad\u017A prefiks p\u0142atno\u015Bci",payment_setting_updated:"Ustawienia p\u0142atno\u015Bci zosta\u0142y pomy\u015Blnie zaktualizowane",payment_modes:"Rodzaje p\u0142atno\u015Bci",add_payment_mode:"Dodaj metod\u0119 p\u0142atno\u015Bci",edit_payment_mode:"Edytuj metod\u0119 p\u0142atno\u015Bci",mode_name:"Metoda p\u0142atno\u015Bci",payment_mode_added:"Dodano metod\u0119 p\u0142atno\u015Bci",payment_mode_updated:"Zaktualizowano metod\u0119 p\u0142atno\u015Bci",payment_mode_confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej metody p\u0142atno\u015Bci",already_in_use:"Metoda p\u0142atno\u015Bci jest ju\u017C w u\u017Cyciu",deleted_message:"Metoda p\u0142atno\u015Bci zosta\u0142a pomy\u015Blnie usuni\u0119ta",company_address_format:"Format adresu firmy",from_customer_address_format:"Format adresu nadawcy"},items:{title:"Pozycje",units:"Jednostki",add_item_unit:"Dodaj jednostk\u0119",edit_item_unit:"Edytuj jednostk\u0119",unit_name:"Nazwa jednostki",item_unit_added:"Dodano jednostk\u0119",item_unit_updated:"Zaktualizowano jednostk\u0119",item_unit_confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej jednostki przedmiotu",already_in_use:"Jednostka pozycji jest ju\u017C w u\u017Cyciu",deleted_message:"Jednostka pozycji zosta\u0142a usuni\u0119ta pomy\u015Blnie"},notes:{title:"Notatki",description:"Oszcz\u0119dzaj czas, tworz\u0105c notatki i ponownie u\u017Cywaj\u0105c ich na fakturach, ofertach i p\u0142atno\u015Bciach.",notes:"Notatki",type:"Typ",add_note:"Dodaj notatk\u0119",add_new_note:"Dodaj now\u0105 notatk\u0119",name:"Nazwa",edit_note:"Edytuj notatk\u0119",note_added:"Notatka zosta\u0142a dodana pomy\u015Blnie",note_updated:"Notatka zaktualizowana pomy\u015Blnie",note_confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej notatki",already_in_use:"Notatka jest ju\u017C w u\u017Cyciu",deleted_message:"Notatka zosta\u0142a usuni\u0119ta pomy\u015Blnie"}},account_settings:{profile_picture:"Zdj\u0119cie profilowe",name:"Nazwa",email:"Email",password:"Has\u0142o",confirm_password:"Potwierd\u017A has\u0142o",account_settings:"Ustawienia konta",save:"Zapisz",section_description:"Mo\u017Cesz zaktualizowa\u0107 swoje imi\u0119, e-mail i has\u0142o u\u017Cywaj\u0105c poni\u017Cszego formularza.",updated_message:"Ustawienia konta zosta\u0142y pomy\u015Blnie zaktualizowane"},user_profile:{name:"Nazwa",email:"Email",password:"Has\u0142o",confirm_password:"Potwierd\u017A has\u0142o"},notification:{title:"Powiadomienie",email:"Wy\u015Blij powiadomienie do",description:"Kt\xF3re powiadomienia e-mail chcesz otrzymywa\u0107 kiedy co\u015B si\u0119 zmieni?",invoice_viewed:"Faktura wy\u015Bwietlona",invoice_viewed_desc:"Kiedy klient wy\u015Bwietli faktur\u0119 wys\u0142an\u0105 za po\u015Brednictwem kokpitu Cratera.",estimate_viewed:"Oferta wy\u015Bwietlona",estimate_viewed_desc:"Kiedy klient wy\u015Bwietli ofert\u0119 wys\u0142an\u0105 za po\u015Brednictwem kokpitu Cratera.",save:"Zapisz",email_save_message:"Wiadomo\u015B\u0107 zapisana pomy\u015Blnie",please_enter_email:"Prosz\u0119 wpisa\u0107 adres e-mail"},tax_types:{title:"Rodzaje opodatkowania",add_tax:"Dodaj podatek",edit_tax:"Edytuj podatek",description:"Mo\u017Cesz dodawa\u0107 lub usuwa\u0107 podatki. Crater obs\u0142uguje podatki od poszczeg\xF3lnych produkt\xF3w, jak r\xF3wnie\u017C na fakturze.",add_new_tax:"Dodaj nowy podatek",tax_settings:"Ustawienia podatku",tax_per_item:"Podatek na produkt",tax_name:"Nazwa podatku",compound_tax:"Podatek z\u0142o\u017Cony",percent:"Procent",action:"Akcja",tax_setting_description:"W\u0142\u0105cz to, je\u015Bli chcesz doda\u0107 podatki do poszczeg\xF3lnych element\xF3w faktury. Domy\u015Blnie podatki s\u0105 dodawane bezpo\u015Brednio do ca\u0142ej faktury.",created_message:"Typ podatku zosta\u0142 pomy\u015Blnie utworzony",updated_message:"Typ podatku zosta\u0142 pomy\u015Blnie zaktualizowany",deleted_message:"Typ podatku zosta\u0142 pomy\u015Blnie usuni\u0119ty",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tego typu podatku",already_in_use:"Ten podatek jest w u\u017Cyciu"},expense_category:{title:"Kategorie wydatk\xF3w",action:"Akcja",description:"Kategorie s\u0105 wymagane do dodawania wpis\xF3w wydatk\xF3w. Mo\u017Cesz doda\u0107 lub usun\u0105\u0107 te kategorie zgodnie ze swoimi preferencjami.",add_new_category:"Dodaj now\u0105 kategori\u0119",add_category:"Dodaj kategori\u0119",edit_category:"Edytuj kategori\u0119",category_name:"Nazwa kategorii",category_description:"Opis",created_message:"Kategoria wydatk\xF3w zosta\u0142a utworzona pomy\u015Blnie",deleted_message:"Kategoria wydatk\xF3w zosta\u0142a usuni\u0119ta pomy\u015Blnie",updated_message:"Kategoria wydatk\xF3w zaktualizowana pomy\u015Blnie",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej kategorii wydatk\xF3w",already_in_use:"Kategoria jest ju\u017C w u\u017Cyciu"},preferences:{currency:"Waluta",default_language:"Domy\u015Blny j\u0119zyk",time_zone:"Strefa czasowa",fiscal_year:"Rok finansowy",date_format:"Format daty",discount_setting:"Ustawienia rabatu",discount_per_item:"Rabat na produkt ",discount_setting_description:"W\u0142\u0105cz to, je\u015Bli chcesz doda\u0107 rabat do poszczeg\xF3lnych element\xF3w faktury. Domy\u015Blnie rabat jest dodawany bezpo\u015Brednio do ca\u0142ej faktury.",save:"Zapisz",preference:"Preferencje | Preferencje",general_settings:"Domy\u015Blne ustawienia systemu.",updated_message:"Preferencje pomy\u015Blnie zaktualizowane",select_language:"Wybierz j\u0119zyk",select_time_zone:"Ustaw stref\u0119 czasow\u0105",select_date_format:"Wybierz format daty",select_financial_year:"Wybierz rok podatkowy"},update_app:{title:"Aktualizuj aplikacj\u0119",description:"Mo\u017Cesz \u0142atwo zaktualizowa\u0107 Cratera poprzez klikni\u0119cie przycisku poni\u017Cej",check_update:"Sprawd\u017A czy s\u0105 dost\u0119pne nowe aktualizacje",avail_update:"Dost\u0119pna nowa aktualizacja",next_version:"Nowa wersja",requirements:"Wymagania",update:"Aktualizuj teraz",update_progress:"Aktualizacja w toku...",progress_text:"To zajmie tylko kilka minut. Prosz\u0119 nie od\u015Bwie\u017Ca\u0107 ekranu ani zamyka\u0107 okna przed zako\u0144czeniem aktualizacji",update_success:"Aplikacja zosta\u0142a zaktualizowana! Prosz\u0119 czeka\u0107, a\u017C okno przegl\u0105darki zostanie automatycznie prze\u0142adowane.",latest_message:"Brak dost\u0119pnych aktualizacji! Posiadasz najnowsz\u0105 wersj\u0119.",current_version:"Aktualna wersja",download_zip_file:"Pobierz plik ZIP",unzipping_package:"Rozpakuj pakiet",copying_files:"Kopiowanie plik\xF3w",deleting_files:"Usuwanie nieu\u017Cywanych plik\xF3w",running_migrations:"Uruchamianie migracji",finishing_update:"Ko\u0144czenie aktualizacji",update_failed:"Aktualizacja nie powiod\u0142a si\u0119",update_failed_text:"Przepraszamy! Twoja aktualizacja nie powiod\u0142a si\u0119 w kroku: {step}"},backup:{title:"Kopia zapasowa | Kopie zapasowe",description:"Kopia zapasowa jest plikiem zipfile zawieraj\u0105cym wszystkie pliki w katalogach kt\xF3re podasz wraz z zrzutem bazy danych",new_backup:"Dodaj now\u0105 kopi\u0119 zapasow\u0105",create_backup:"Utw\xF3rz kopi\u0119 zapasow\u0105",select_backup_type:"Wybierz typ kopii zapasowej",backup_confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej kopii zapasowej",path:"\u015Bcie\u017Cka",new_disk:"Nowy dysk",created_at:"utworzono w",size:"rozmiar",dropbox:"dropbox",local:"lokalny",healthy:"zdrowy",amount_of_backups:"liczba kopii zapasowych",newest_backups:"najnowsza kopia zapasowa",used_storage:"zu\u017Cyta pami\u0119\u0107",select_disk:"Wybierz dysk",action:"Akcja",deleted_message:"Kopia zapasowa usuni\u0119ta pomy\u015Blnie",created_message:"Kopia zapasowa utworzona pomy\u015Blnie",invalid_disk_credentials:"Nieprawid\u0142owe dane uwierzytelniaj\u0105ce wybranego dysku"},disk:{title:"Dysk plik\xF3w | Dyski plik\xF3w",description:"Domy\u015Blnie Crater u\u017Cyje twojego lokalnego dysku do zapisywania kopii zapasowych, awatara i innych plik\xF3w obrazu. Mo\u017Cesz skonfigurowa\u0107 wi\u0119cej ni\u017C jeden serwer dysku, taki jak DigitalOcean, S3 i Dropbox, zgodnie z Twoimi preferencjami.",created_at:"utworzono w",dropbox:"dropbox",name:"Nazwa",driver:"Sterownik",disk_type:"Typ",disk_name:"Nazwa dysku",new_disk:"Dodaj nowy dysk",filesystem_driver:"Sterownik systemu plik\xF3w",local_driver:"lokalny sterownik",local_root:"g\u0142\xF3wny katalog lokalny",public_driver:"Publiczny sterownik",public_root:"Publiczny g\u0142\xF3wny katalog",public_url:"Publiczny URL",public_visibility:"Widoczno\u015B\u0107 publiczna",media_driver:"Media Driver",media_root:"Media Root",aws_driver:"Sterownik AWS",aws_key:"Klucz AWS",aws_secret:"Tajny klucz AWS",aws_region:"Region AWS",aws_bucket:"Zasobnik AWS",aws_root:"Katalog g\u0142\xF3wny AWS",do_spaces_type:"Typ Do Spaces",do_spaces_key:"Klucz Do Spaces",do_spaces_secret:"Tajny klucz Do Spaces",do_spaces_region:"Region Do Spaces",do_spaces_bucket:"Zasobnik Do Spaces",do_spaces_endpoint:"Punkt dost\u0119powy Do Spaces",do_spaces_root:"Katalog g\u0142\xF3wny Do Spaces",dropbox_type:"Typ Dropbox",dropbox_token:"Token Dropbox",dropbox_key:"Klucz Dropbox",dropbox_secret:"Tajny klucz Dropbox",dropbox_app:"Aplikacja Dropbox",dropbox_root:"Root Dropbox",default_driver:"Domy\u015Blny sterownik",is_default:"JEST DOMY\u015ALNY",set_default_disk:"Ustaw domy\u015Blny dysk",set_default_disk_confirm:"Ten dysk zostanie ustawiony jako domy\u015Blny, a wszystkie nowe pliki PDF zostan\u0105 zapisane na tym dysku",success_set_default_disk:"Dysk zosta\u0142 pomy\u015Blnie ustawiony jako domy\u015Blny",save_pdf_to_disk:"Zapisz pliki PDF na dysku",disk_setting_description:" W\u0142\u0105cz t\u0119 opcj\u0119, je\u015Bli chcesz automatycznie zapisa\u0107 kopi\u0119 ka\u017Cdej faktury, oferty i potwierdzenia p\u0142atno\u015Bci PDF na swoim domy\u015Blnym dysku. W\u0142\u0105czenie tej opcji spowoduje skr\xF3cenie czasu \u0142adowania podczas przegl\u0105dania PDF.",select_disk:"Wybierz dysk",disk_settings:"Ustawienia dysku",confirm_delete:"Twoje istniej\u0105ce pliki i foldery na okre\u015Blonym dysku nie zostan\u0105 zmienione, ale konfiguracja twojego dysku zostanie usuni\u0119ta z Cratera",action:"Akcja",edit_file_disk:"Edytuj dysk plk\xF3w",success_create:"Dysk dodany pomy\u015Blnie",success_update:"Dysk zaktualizowany pomy\u015Blnie",error:"B\u0142\u0105d dodawania dysku",deleted_message:"Dysk plik\xF3w zosta\u0142 usuni\u0119ty pomy\u015Blnie",disk_variables_save_successfully:"Dysk skonfigurowany pomy\u015Blnie",disk_variables_save_error:"Konfiguracja dysku nieudana.",invalid_disk_credentials:"Nieprawid\u0142owe dane uwierzytelniaj\u0105ce wybranego dysku"}},Ol={account_info:"Informacje o koncie",account_info_desc:"Poni\u017Csze szczeg\xF3\u0142y zostan\u0105 u\u017Cyte do utworzenia g\u0142\xF3wnego konta administratora. Mo\u017Cesz tak\u017Ce zmieni\u0107 szczeg\xF3\u0142y w dowolnym momencie po zalogowaniu.",name:"Nazwa",email:"E-mail",password:"Has\u0142o",confirm_password:"Potwierd\u017A has\u0142o",save_cont:"Zapisz i kontynuuj",company_info:"Informacje o firmie",company_info_desc:"Ta informacja b\u0119dzie wy\u015Bwietlana na fakturach. Pami\u0119taj, \u017Ce mo\u017Cesz to p\xF3\u017Aniej edytowa\u0107 na stronie ustawie\u0144.",company_name:"Nazwa firmy",company_logo:"Logo firmy",logo_preview:"Podgl\u0105d loga",preferences:"Preferencje",preferences_desc:"Domy\u015Blne preferencje dla systemu.",country:"Kraj",state:"Wojew\xF3dztwo",city:"Miasto",address:"Adres",street:"Ulica1 | Ulica2",phone:"Telefon",zip_code:"Kod pocztowy",go_back:"Wstecz",currency:"Waluta",language:"J\u0119zyk",time_zone:"Strefa czasowa",fiscal_year:"Rok finansowy",date_format:"Format daty",from_address:"Adres nadawcy",username:"Nazwa u\u017Cytkownika",next:"Nast\u0119pny",continue:"Kontynuuj",skip:"Pomi\u0144",database:{database:"Adres URL witryny i baza danych",connection:"Po\u0142\u0105czenie z baz\u0105 danych",host:"Host bazy danych",port:"Port bazy danych",password:"Has\u0142o bazy danych",app_url:"Adres aplikacji",app_domain:"Domena aplikacji",username:"Nazwa u\u017Cytkownika bazy danych",db_name:"Nazwa bazy danych",db_path:"\u015Acie\u017Cka do bazy danych",desc:"Utw\xF3rz baz\u0119 danych na swoim serwerze i ustaw dane logowania za pomoc\u0105 poni\u017Cszego formularza."},permissions:{permissions:"Uprawnienia",permission_confirm_title:"Czy na pewno chcesz kontynuowa\u0107?",permission_confirm_desc:"Sprawdzanie uprawnie\u0144 do katalogu nie powiod\u0142o si\u0119",permission_desc:"Poni\u017Cej znajduje si\u0119 lista uprawnie\u0144 folder\xF3w, kt\xF3re s\u0105 wymagane do dzia\u0142ania aplikacji. Je\u015Bli sprawdzenie uprawnie\u0144 nie powiedzie si\u0119, upewnij si\u0119, \u017Ce zaktualizujesz uprawnienia folderu."},verify_domain:{title:"Weryfikacja domeny",desc:"Crater u\u017Cywa uwierzytelniania opartego na sesji, kt\xF3re wymaga weryfikacji domeny dla cel\xF3w bezpiecze\u0144stwa. Wprowad\u017A domen\u0119, na kt\xF3rej b\u0119dziesz mie\u0107 dost\u0119p do swojej aplikacji internetowej.",app_domain:"Domena aplikacji",verify_now:"Potwierd\u017A teraz",success:"Pomy\u015Blnie zweryfikowano domen\u0119.",verify_and_continue:"Weryfikuj i kontynuuj"},mail:{host:"Adres hosta poczty",port:"Port poczty",driver:"Spos\xF3b wysy\u0142ania wiadomo\u015Bci e-mail",secret:"Tajny klucz",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domena",mailgun_endpoint:"Punkt dost\u0119powy Mailgun",ses_secret:"Tajny klucz SES",ses_key:"Klucz SES",password:"Has\u0142o poczty",username:"Nazwa u\u017Cytkownika poczty",mail_config:"Konfiguracja poczty",from_name:"Nazwa nadawcy",from_mail:"Adres e-mail nadawcy",encryption:"Szyfrowanie poczty",mail_config_desc:"Poni\u017Cej znajduje si\u0119 formularz konfiguracji sterownika poczty e-mail do wysy\u0142ania wiadomo\u015Bci e-mail z aplikacji. Mo\u017Cesz r\xF3wnie\u017C skonfigurowa\u0107 zewn\u0119trznych dostawc\xF3w takich jak Sendgrid, SES itp."},req:{system_req:"Wymagania systemowe",php_req_version:"Minimalna wersja Php (wymagana wersja {version})",check_req:"Sprawd\u017A wymagania",system_req_desc:"Crater posiada kilka wymaga\u0144 serwera. Upewnij si\u0119, \u017Ce Tw\xF3j serwer ma wymagan\u0105 wersj\u0119 php oraz wszystkie rozszerzenia wymienione poni\u017Cej."},errors:{migrate_failed:"Migracja nie powiod\u0142a si\u0119",domain_verification_failed:"Weryfikacja domeny nie powiod\u0142a si\u0119",database_variables_save_error:"Nie mo\u017Cna zapisa\u0107 konfiguracji do pliku .env. Prosz\u0119 sprawdzi\u0107 jego uprawnienia",mail_variables_save_error:"Konfiguracja email nie powiod\u0142a si\u0119.",connection_failed:"B\u0142\u0105d po\u0142\u0105czenia z baz\u0105 danych",database_should_be_empty:"Baza danych powinna by\u0107 pusta"},success:{mail_variables_save_successfully:"Email zosta\u0142 skonfigurowany pomy\u015Blnie",domain_variable_save_successfully:"Domena zosta\u0142a skonfigurowana pomy\u015Blnie",database_variables_save_successfully:"Baza danych zosta\u0142a skonfigurowana poprawnie."}},Ll={copyright_crater:"Copyright @ Crater - 2020",super_simple_invoicing:"Super proste fakturowanie",for_freelancer:"dla Freelancer\xF3w i",small_businesses:"Mikroprzedsi\u0119biorstw ",crater_help:"Crater pomaga \u015Bledzi\u0107 Twoje wydatki, zapisywa\u0107 p\u0142atno\u015Bci i generowa\u0107 pi\u0119kne",invoices_and_estimates:"faktury i oferty z mo\u017Cliwo\u015Bci\u0105 wyboru wielu szablon\xF3w."},Ul={invalid_phone:"Nieprawid\u0142owy numer telefonu",invalid_url:"Nieprawid\u0142owy adres url (np. http://www.crater.com)",invalid_domain_url:"Nieprawid\u0142owy adres url (np. crater.com)",required:"Pole jest wymagane",email_incorrect:"Niepoprawny email.",email_already_taken:"Ten adres e-mail jest ju\u017C zaj\u0119ty.",email_does_not_exist:"U\u017Cytkownik z podanym adresem email nie istnieje",item_unit_already_taken:"Ta nazwa jednostki zosta\u0142a ju\u017C zaj\u0119ta",payment_mode_already_taken:"Ta nazwa trybu p\u0142atno\u015Bci zosta\u0142a ju\u017C zaj\u0119ta",send_reset_link:"Wy\u015Blij link do resetowania has\u0142a",not_yet:"Jeszcze nie? Wy\u015Blij ponownie",password_min_length:"Has\u0142o musi zawiera\u0107 co najmniej {count} znak\xF3w",name_min_length:"Nazwa u\u017Cytkownika musi zawiera\u0107 co najmniej {count} znak\xF3w.",enter_valid_tax_rate:"Wprowad\u017A poprawn\u0105 stawk\u0119 podatku",numbers_only:"Tylko liczby.",characters_only:"Tylko znaki.",password_incorrect:"Has\u0142a musz\u0105 by\u0107 identyczne",password_length:"Has\u0142o musi zawiera\u0107 {count} znak\xF3w.",qty_must_greater_than_zero:"Ilo\u015B\u0107 musi by\u0107 wi\u0119ksza ni\u017C zero.",price_greater_than_zero:"Cena musi by\u0107 wi\u0119ksza ni\u017C zero.",payment_greater_than_zero:"P\u0142atno\u015B\u0107 musi by\u0107 wi\u0119ksza ni\u017C zero.",payment_greater_than_due_amount:"Wprowadzona p\u0142atno\u015B\u0107 to wi\u0119cej ni\u017C nale\u017Cna kwota tej faktury.",quantity_maxlength:"Ilo\u015B\u0107 nie powinna by\u0107 wi\u0119ksza ni\u017C 20 cyfr.",price_maxlength:"Cena nie powinna by\u0107 wi\u0119ksza ni\u017C 20 cyfr.",price_minvalue:"Cena powinna by\u0107 wi\u0119ksza ni\u017C 0.",amount_maxlength:"Kwota nie powinna by\u0107 wi\u0119ksza ni\u017C 20 cyfr.",amount_minvalue:"Kwota powinna by\u0107 wi\u0119ksza ni\u017C 0.",description_maxlength:"Opis nie powinien przekracza\u0107 65 000 znak\xF3w.",subject_maxlength:"Temat nie powinien by\u0107 d\u0142u\u017Cszy ni\u017C 100 znak\xF3w.",message_maxlength:"Wiadomo\u015B\u0107 nie powinna by\u0107 d\u0142u\u017Csza ni\u017C 255 znak\xF3w.",maximum_options_error:"Wybrano maksymalnie {max} opcji. Najpierw usu\u0144 wybran\u0105 opcj\u0119, aby wybra\u0107 inn\u0105.",notes_maxlength:"Notatki nie powinny by\u0107 wi\u0119ksze ni\u017C 65 000 znak\xF3w.",address_maxlength:"Adres nie powinien mie\u0107 wi\u0119cej ni\u017C 255 znak\xF3w.",ref_number_maxlength:"Numer referencyjny nie mo\u017Ce by\u0107 d\u0142u\u017Cszy ni\u017C 255 znak\xF3w.",prefix_maxlength:"Prefiks nie powinien by\u0107 d\u0142u\u017Cszy ni\u017C 5 znak\xF3w.",something_went_wrong:"co\u015B posz\u0142o nie tak",number_length_minvalue:"D\u0142ugo\u015B\u0107 numeru powinna by\u0107 wi\u0119ksza ni\u017C 0"},Kl="Oferta",ql="Numer oferty",Wl="Data oferty",Zl="Termin wa\u017Cno\u015Bci",Hl="Faktura",Gl="Numer faktury",Yl="Data faktury",Jl="Termin",Xl="Notatki",Ql="Pozycje",ec="Ilo\u015B\u0107",tc="Cena",ac="Rabat",sc="Kwota",nc="Suma cz\u0119\u015Bciowa",ic="Razem",oc="P\u0142atno\u015B\u0107",rc="POTWIERDZENIE P\u0141ATNO\u015ACI",dc="Data p\u0142atno\u015Bci",lc="Numer p\u0142atno\u015Bci",cc="Metoda p\u0142atno\u015Bci",_c="Kwota otrzymana",uc="SPRAWOZDANIE Z WYDATK\xD3W",mc="WYDATKI OG\xD3\u0141EM",pc="RAPORT ZYSK\xD3W I STRAT",gc="Raport sprzeda\u017Cy obs\u0142ugi kontrahenta",fc="Raport dotycz\u0105cy przedmiotu sprzeda\u017Cy",hc="Raport podsumowania podatku",vc="PRZYCH\xD3D",yc="ZYSK NETTO",bc="Raport sprzeda\u017Cy: Wed\u0142ug Kontrahenta",kc="CA\u0141KOWITA SPRZEDA\u017B",wc="Raport sprzeda\u017Cy: Wed\u0142ug produktu",xc="RAPORT PODATKOWY",zc="CA\u0141KOWITY PODATEK",Sc="Rodzaje podatku",Pc="Wydatki",jc="Wystawiono dla",Dc="Wysy\u0142ka do",Cc="Otrzymane od:";var Ac={navigation:Sl,general:Pl,dashboard:jl,tax_types:Dl,global_search:Cl,customers:Al,items:Nl,estimates:El,invoices:Tl,credit_notes:Il,payments:$l,expenses:Rl,login:Fl,users:Ml,reports:Bl,settings:Vl,wizard:Ol,layout_login:Ll,validation:Ul,pdf_estimate_label:Kl,pdf_estimate_number:ql,pdf_estimate_date:Wl,pdf_estimate_expire_date:Zl,pdf_invoice_label:Hl,pdf_invoice_number:Gl,pdf_invoice_date:Yl,pdf_invoice_due_date:Jl,pdf_notes:Xl,pdf_items_label:Ql,pdf_quantity_label:ec,pdf_price_label:tc,pdf_discount_label:ac,pdf_amount_label:sc,pdf_subtotal:nc,pdf_total:ic,pdf_payment_label:oc,pdf_payment_receipt_label:rc,pdf_payment_date:dc,pdf_payment_number:lc,pdf_payment_mode:cc,pdf_payment_amount_received_label:_c,pdf_expense_report_label:uc,pdf_total_expenses_label:mc,pdf_profit_loss_label:pc,pdf_sales_customers_label:gc,pdf_sales_items_label:fc,pdf_tax_summery_label:hc,pdf_income_label:vc,pdf_net_profit_label:yc,pdf_customer_sales_report:bc,pdf_total_sales_label:kc,pdf_item_sales_label:wc,pdf_tax_report_label:xc,pdf_total_tax_label:zc,pdf_tax_types_label:Sc,pdf_expenses_label:Pc,pdf_bill_to:jc,pdf_ship_to:Dc,pdf_received_from:Cc};const Nc={dashboard:"Painel",customers:"Clientes",items:"Itens",invoices:"Faturas",expenses:"Despesas",estimates:"Or\xE7amentos",payments:"Pagamentos",reports:"Relat\xF3rios",settings:"Configura\xE7\xF5es",logout:"Encerrar sess\xE3o"},Ec={view_pdf:"Ver PDF",download_pdf:"Baixar PDF",save:"Salvar",cancel:"Cancelar",update:"Atualizar",deselect:"Desmarcar",download:"Baixar",from_date:"A partir da Data",to_date:"At\xE9 a Data",from:"De",to:"Para",sort_by:"Ordenar por",ascending:"Crescente",descending:"Descendente",subject:"Sujeita",body:"Corpo",message:"Mensagem",go_back:"Voltar",back_to_login:"Voltar ao Login",home:"Home",filter:"Filtrar",delete:"Excluir",edit:"Editar",view:"Ver",add_new_item:"Adicionar novo item",clear_all:"Limpar tudo",showing:"Mostrando",of:"de",actions:"A\xE7\xF5es",subtotal:"Total parcial",discount:"Desconto",fixed:"Fixado",percentage:"Porcentagem",tax:"Imposto",total_amount:"Quantidade Total",bill_to:"Cobrar a",ship_to:"Envie a",due:"Vencida",draft:"Rascunho",sent:"Enviado",all:"Todos",select_all:"Selecionar tudo",choose_file:"Escolha um arquivo.",choose_template:"Escolha um modelo",choose:"Escolher",remove:"Excluir",powered_by:"Distribu\xEDdo por",bytefury:"Bytefury",select_a_status:"Selecione um status",select_a_tax:"Selecione um Imposto",search:"Buscar",are_you_sure:"Tem certeza?",list_is_empty:"Lista est\xE1 vazia.",no_tax_found:"Imposto n\xE3o encontrado!",four_zero_four:"404",you_got_lost:"Ops! Se perdeu!",go_home:"Ir para Home",test_mail_conf:"Testar configura\xE7\xE3o de email",send_mail_successfully:"Correio enviado com sucesso",setting_updated:"Configura\xE7\xE3o atualizada com sucesso",select_state:"Selecione Estado",select_country:"Selecionar pais",select_city:"Selecionar cidade",street_1:"Rua 1",street_2:"Rua # 2",action_failed:"A\xE7\xE3o: Falhou",retry:"Atualiza\xE7\xE3o falhou"},Tc={select_year:"Selecione Ano",cards:{due_amount:"Montante devido",customers:"Clientes",invoices:"Faturas",estimates:"Or\xE7amentos"},chart_info:{total_sales:"Vendas",total_receipts:"Receitas",total_expense:"Despesas",net_income:"Resultado l\xEDquido",year:"Selecione Ano"},monthly_chart:{title:"Vendas e Despesas"},recent_invoices_card:{title:"Faturas vencidas",due_on:"vencido em",customer:"Cliente",amount_due:"Valor Devido",actions:"A\xE7\xF5es",view_all:"Ver todos"},recent_estimate_card:{title:"Or\xE7amentos Recentes",date:"Data",customer:"Cliente",amount_due:"Valor Devido",actions:"A\xE7\xF5es",view_all:"Ver todos"}},Ic={name:"Nome",description:"Descri\xE7\xE3o",percent:"Porcentagem",compound_tax:"Imposto compuesto"},$c={title:"Clientes",add_customer:"Adicionar cliente",contacts_list:"Lista de clientes",name:"Nome",display_name:"Nome de exibi\xE7\xE3o",primary_contact_name:"Nome do contato principal",contact_name:"Nome de Contato",amount_due:"Valor Devido",email:"Email",address:"Endere\xE7o",phone:"Telefone",website:"Site",country:"Pais",state:"Estado",city:"Cidade",zip_code:"C\xF3digo postal",added_on:"Adicionado",action:"A\xE7\xE3o",password:"Senha",street_number:"N\xFAmero",primary_currency:"Moeda principal",add_new_customer:"Adicionar novo cliente",save_customer:"Salvar cliente",update_customer:"Atualizar cliente",customer:"Cliente | Clientes",new_customer:"Novo cliente",edit_customer:"Editar cliente",basic_info:"Informa\xE7\xE3o basica",billing_address:"Endere\xE7o de cobran\xE7a",shipping_address:"Endere\xE7o de entrega",copy_billing_address:"C\xF3pia de faturamento",no_customers:"Ainda n\xE3o h\xE1 clientes!",no_customers_found:"Clientes n\xE3o encontrados!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"Esta se\xE7\xE3o conter\xE1 a lista de clientes.",primary_display_name:"Nome de exibi\xE7\xE3o principal",select_currency:"Selecione o tipo de moeda",select_a_customer:"Selecione um cliente",type_or_click:"Digite ou clique para selecionar",new_transaction:"Nova transa\xE7\xE3o",no_matching_customers:"N\xE3o h\xE1 clientes correspondentes!",phone_number:"N\xFAmero de telefone",create_date:"Criar Data",confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar este cliente e todas as faturas, estimativas e pagamentos relacionados. | Voc\xEA n\xE3o poder\xE1 recuperar esses clientes e todas as faturas, estimativas e pagamentos relacionados.",created_message:"Cliente criado com sucesso",updated_message:"Cliente atualizado com sucesso",deleted_message:"Cliente exclu\xEDdo com sucesso | Clientes exclu\xEDdos com sucesso"},Rc={title:"Itens",items_list:"Lista de Itens",name:"Nome",unit:"Unidade",description:"Descri\xE7\xE3o",added_on:"Adicionado",price:"Pre\xE7o",date_of_creation:"Data de cria\xE7\xE3o",not_selected:"No item selected",action:"A\xE7\xE3o",add_item:"Adicionar item",save_item:"Salvar item",update_item:"Atualizar item",item:"Item | Itens",add_new_item:"Adicionar novo item",new_item:"Novo item",edit_item:"Editar item",no_items:"Ainda n\xE3o existe itens",list_of_items:"Esta se\xE7\xE3o conter\xE1 a lista de itens.",select_a_unit:"Seleciona unidade",taxes:"Impostos",item_attached_message:"N\xE3o \xE9 poss\xEDvel excluir um item que j\xE1 est\xE1 em uso.",confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar este item | Voc\xEA n\xE3o poder\xE1 recuperar esses itens",created_message:"Item criado com sucesso",updated_message:"Item atualizado com sucesso",deleted_message:"Item exclu\xEDdo com sucesso | Itens Exclu\xEDdos com sucesso"},Fc={title:"Or\xE7amentos",estimate:"Or\xE7amento | Or\xE7amentos",estimates_list:"Lista de or\xE7amentos",days:"{dias} dias",months:"{meses} M\xEAs",years:"{Anos} Ano",all:"Todos",paid:"Pago",unpaid:"N\xE3o pago",customer:"CLIENTE",ref_no:"N\xDAMERO DE REFER\xCANCIA.",number:"N\xDAMERO",amount_due:"Valor Devido",partially_paid:"Pago parcialmente",total:"Total",discount:"Desconto",sub_total:"Subtotal",estimate_number:"Numero do Or\xE7amento",ref_number:"Refer\xEAncia",contact:"Contato",add_item:"Adicionar Item",date:"Data",due_date:"Data de Vencimento",expiry_date:"Data de expira\xE7\xE3o",status:"Status",add_tax:"Adicionar Imposto",amount:"Montante",action:"A\xE7\xE3o",notes:"Observa\xE7\xF5es",tax:"Imposto",estimate_template:"Modelo de or\xE7amento",convert_to_invoice:"Converter em fatura",mark_as_sent:"Marcar como enviado",send_estimate:"Enviar or\xE7amento",record_payment:"Registro de pago",add_estimate:"Adicionar or\xE7amento",save_estimate:"Salvar Or\xE7amento",confirm_conversion:"Deseja converter este or\xE7amento em uma fatura?",conversion_message:"Conver\xE7\xE3o realizada com sucesso",confirm_send_estimate:"Este or\xE7amento ser\xE1 enviado por email ao cliente",confirm_mark_as_sent:"Este or\xE7amento ser\xE1 marcado como enviado",confirm_mark_as_accepted:"Este or\xE7amento ser\xE1 marcado como Aceito",confirm_mark_as_rejected:"Este or\xE7amento ser\xE1 marcado como Rejeitado",no_matching_estimates:"N\xE3o h\xE1 or\xE7amentos correspondentes!",mark_as_sent_successfully:"Or\xE7amento como marcado como enviado com sucesso",send_estimate_successfully:"Or\xE7amento enviado com sucesso",errors:{required:"Campo obrigat\xF3rio"},accepted:"Aceito",rejected:"Rejected",sent:"Enviado",draft:"Rascunho",declined:"Rejeitado",new_estimate:"Novo or\xE7amento",add_new_estimate:"Adicionar novo or\xE7amento",update_Estimate:"Atualizar or\xE7amento",edit_estimate:"Editar or\xE7amento",items:"art\xEDculos",Estimate:"Or\xE7amento | Or\xE7amentos",add_new_tax:"Adicionar novo imposto",no_estimates:"Ainda n\xE3o h\xE1 orcamentos",list_of_estimates:"Esta se\xE7\xE3o cont\xE9m a lista de or\xE7amentos.",mark_as_rejected:"Marcar como rejeitado",mark_as_accepted:"Marcar como aceito",marked_as_accepted_message:"Or\xE7amento marcado como aceito",marked_as_rejected_message:"Or\xE7amento marcado como rejeitado",confirm_delete:"N\xE3o poder\xE1 recuperar este or\xE7amento | N\xE3o poder\xE1 recuperar estes or\xE7amentos",created_message:"Or\xE7amento criado com sucesso",updated_message:"Or\xE7amento atualizado com sucesso",deleted_message:"Or\xE7amento exclu\xEDdo com sucesso | Or\xE7amentos exclu\xEDdos com sucesso",something_went_wrong:"Algo deu errado",item:{title:"Titulo do item",description:"Descri\xE7\xE3o",quantity:"Quantidade",price:"Pre\xE7o",discount:"Desconto",total:"Total",total_discount:"Desconto total",sub_total:"Subtotal",tax:"Imposto",amount:"Montante",select_an_item:"Escreva ou clique para selecionar um item",type_item_description:"Tipo Item Descri\xE7\xE3o (opcional)"}},Mc={title:"Faturas",invoices_list:"Lista de faturas",days:"{dias} dias",months:"{meses} M\xEAs",years:"{anos} Ano",all:"Todas",paid:"Paga",unpaid:"N\xE3o Paga",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"CLIENTE",paid_status:"STATUS PAGAMENTO",ref_no:"REFER\xCANCIA",number:"N\xDAMERO",amount_due:"VALOR DEVIDO",partially_paid:"Parcialmente pago",total:"Total",discount:"Desconto",sub_total:"Subtotal",invoice:"Fatura | Faturas",invoice_number:"N\xFAmero da fatura",ref_number:"Refer\xEAncia",contact:"Contato",add_item:"Adicionar um item",date:"Data",due_date:"Data de Vencimento",status:"Status",add_tax:"Adicionar imposto",amount:"Montante",action:"A\xE7\xE3o",notes:"Observa\xE7\xF5es",view:"Ver",send_invoice:"Enviar Fatura",invoice_template:"Modelo da Fatura",template:"Modelo",mark_as_sent:"Marcar como enviada",confirm_send_invoice:"Esta fatura ser\xE1 enviada por e-mail ao cliente",invoice_mark_as_sent:"Esta fatura ser\xE1 marcada como enviada",confirm_send:"Esta fatura ser\xE1 enviada por e-mail ao cliente",invoice_date:"Data da Fatura",record_payment:"Gravar Pagamento",add_new_invoice:"Adicionar Nova Fatura",update_expense:"Atualizar Despesa",edit_invoice:"Editar Fatura",new_invoice:"Nova Fatura",save_invoice:"Salvar Fatura",update_invoice:"Atualizar Fatura",add_new_tax:"Adicionar novo Imposto",no_invoices:"Ainda n\xE3o h\xE1 faturas!",list_of_invoices:"Esta se\xE7\xE3o conter\xE1 a lista de faturas.",select_invoice:"Selecionar Fatura",no_matching_invoices:"N\xE3o h\xE1 faturas correspondentes!",mark_as_sent_successfully:"Fatura marcada como enviada com sucesso",invoice_sent_successfully:"Fatura enviada com sucesso",cloned_successfully:"Fatura clonada com sucesso",clone_invoice:"Clonar fatura",confirm_clone:"Esta fatura ser\xE1 clonada em uma nova fatura",item:{title:"Titulo do Item",description:"Descri\xE7\xE3o",quantity:"Quantidade",price:"Pre\xE7o",discount:"Desconto",total:"Total",total_discount:"Desconto Total",sub_total:"SubTotal",tax:"Imposto",amount:"Montante",select_an_item:"Digite ou clique para selecionar um item",type_item_description:"Tipo Descri\xE7\xE3o do item (opcional)"},confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar esta fatura | Voc\xEA n\xE3o poder\xE1 recuperar essas faturas",created_message:"Fatura criada com sucesso",updated_message:"Fatura atualizada com sucesso",deleted_message:"Fatura exclu\xEDda com sucesso | Faturas exclu\xEDdas com sucesso",marked_as_sent_message:"Fatura marcada como enviada com sucesso",something_went_wrong:"Algo deu errado",invalid_due_amount_message:"O valor total da fatura n\xE3o pode ser menor que o valor total pago para esta fatura. Atualize a fatura ou exclua os pagamentos associados para continuar."},Bc={title:"Pagamentos",payments_list:"Lista de Pagamentos",record_payment:"Gravar Pagamento",customer:"Cliente",date:"Data",amount:"Montante",action:"A\xE7\xE3o",payment_number:"N\xFAmero do Pagamento",payment_mode:"Forma de Pagamento",invoice:"Fatura",note:"Observa\xE7\xE3o",add_payment:"Adicionar Pagamento",new_payment:"Novo Pagamento",edit_payment:"Editar Pagamento",view_payment:"Ver Pagamento",add_new_payment:"Adicionar novo Pagamento",send_payment_receipt:"Enviar recibo de pagamento",save_payment:"Salvar Pagamento",send_payment:"Mande o pagamento",update_payment:"Atualizar Pagamento",payment:"Pagamento | Pagamentos",no_payments:"Ainda sem pagamentos!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"N\xE3o h\xE1 pagamentos correspondentes!",list_of_payments:"Esta se\xE7\xE3o conter\xE1 a lista de pagamentos.",select_payment_mode:"Selecione a forma de pagamento",confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar este Pagamento | Voc\xEA n\xE3o poder\xE1 recuperar esses Pagamentos",created_message:"Pagamento criado com sucesso",updated_message:"Pagamento atualizado com sucesso",deleted_message:"Pagamento exclu\xEDdo com sucesso | Pagamentos exclu\xEDdos com sucesso",invalid_amount_message:"O valor do pagamento \xE9 inv\xE1lido"},Vc={title:"Despesas",expenses_list:"Lista de Despesas",expense_title:"T\xEDtulo",contact:"Contato",category:"Categoria",customer:"Cliente",from_date:"A partir da Data",to_date:"At\xE9 a Data",expense_date:"Data",description:"Descri\xE7\xE3o",receipt:"Receita",amount:"Montante",action:"A\xE7\xE3o",not_selected:"Not selected",note:"Observa\xE7\xE3o",category_id:"Categoria",date:"Data da Despesa",add_expense:"Adicionar Despesa",add_new_expense:"Adicionar Nova Despesa",save_expense:"Salvar Despesa",update_expense:"Atualizar Despesa",download_receipt:"Baixar Receita",edit_expense:"Editar Despesa",new_expense:"Nova Despesa",expense:"Despesa | Despesas",no_expenses:"Ainda sem Despesas!",list_of_expenses:"Esta se\xE7\xE3o conter\xE1 a lista de despesas.",confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar esta despesa | Voc\xEA n\xE3o poder\xE1 recuperar essas despesas",created_message:"Despesa criada com sucesso",updated_message:"Despesa atualizada com sucesso",deleted_message:"Despesas exclu\xEDdas com sucesso | Despesas exclu\xEDdas com sucesso",categories:{categories_list:"Lista de Categorias",title:"T\xEDtulo",name:"Nome",description:"Descri\xE7\xE3o",amount:"Montante",actions:"A\xE7\xF5es",add_category:"Adicionar Categoria",new_category:"Nova Categoria",category:"Categoria | Categorias",select_a_category:"Selecionar uma Categoria"}},Oc={email:"Email",password:"Senha",forgot_password:"Esqueceu a senha?",or_signIn_with:"ou Entre com",login:"Entrar",register:"Registre-se",reset_password:"Resetar Senha",password_reset_successfully:"Senha redefinida com sucesso",enter_email:"Digite email",enter_password:"Digite a senha",retype_password:"Confirme a Senha"},Lc={title:"Relat\xF3rio",from_date:"A partir da Data",to_date:"At\xE9 a Data",status:"Status",paid:"Pago",unpaid:"N\xE3o Pago",download_pdf:"Baixar PDF",view_pdf:"Ver PDF",update_report:"Atualizar Relat\xF3rio",report:"Relat\xF3rio | Relat\xF3rios",profit_loss:{profit_loss:"Perda de lucro",to_date:"At\xE9 a Data",from_date:"A partir da Data",date_range:"Selecionar per\xEDodo"},sales:{sales:"Vendas",date_range:"Selecionar per\xEDodo",to_date:"At\xE9 a Data",from_date:"A partir da Data",report_type:"Tipo de Relat\xF3rio"},taxes:{taxes:"Impostos",to_date:"At\xE9 a Data",from_date:"A partir da Data",date_range:"Selecionar per\xEDodo"},errors:{required:"Campo obrigat\xF3rio"},invoices:{invoice:"Fatura",invoice_date:"Data da Fatura",due_date:"Data de Vencimento",amount:"Montante",contact_name:"Nome de Contato",status:"Status"},estimates:{estimate:"Or\xE7amento",estimate_date:"Data do Or\xE7amento",due_date:"Data de Vencimento",estimate_number:"N\xFAmero do Or\xE7amento",ref_number:"Refer\xEAncia",amount:"Montante",contact_name:"Nome de Contato",status:"Status"},expenses:{expenses:"Despesas",category:"Categoria",date:"Data",amount:"Montante",to_date:"At\xE9 a Data",from_date:"A partir da Data",date_range:"Selecionar per\xEDodo"}},Uc={menu_title:{account_settings:"Configura\xE7\xF5es da conta",company_information:"Informa\xE7\xF5es da Empresa",customization:"Personalizar",preferences:"Prefer\xEAncias",notifications:"Notifica\xE7\xF5es",tax_types:"Tipos de Impostos",expense_category:"Categorias de Despesas",update_app:"Atualizar Aplicativo",custom_fields:"Os campos personalizados"},title:"Configura\xE7\xF5es",setting:"Configura\xE7\xE3o | Configura\xE7\xF5es",general:"Geral",language:"Idioma",primary_currency:"Mo\xE9da Principal",timezone:"Fuso hor\xE1rio",date_format:"Formato de data",currencies:{title:"Moedas",currency:"Moeda | Moedas",currencies_list:"Moedas",select_currency:"Selecione uma Moeda",name:"Nome",code:"C\xF3digo",symbol:"S\xEDmbolo",precision:"Precis\xE3o",thousand_separator:"Separador de Milhar",decimal_separator:"Separador Decimal",position:"Posi\xE7\xE3o",position_of_symbol:"Posi\xE7\xE3o do S\xEDmbolo",right:"Direita",left:"Esquerda",action:"A\xE7\xE3o",add_currency:"Adicionar Moeda"},mail:{host:"Host de Email",port:"Porta de Email",driver:"Mail Driver",secret:"Segredo",mailgun_secret:"Mailgun Segredo",mailgun_domain:"Dom\xEDnio",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Segredo",ses_key:"SES Chave",password:"Senha do Email",username:"Nome de Usu\xE1rio do Email",mail_config:"Configura\xE7\xE3o de Email",from_name:"Do Nome de Email",from_mail:"Do Endere\xE7o de Email",encryption:"Criptografia de Email",mail_config_desc:"Abaixo est\xE1 o formul\xE1rio para configurar o driver de email para enviar emails do aplicativo. Voc\xEA tamb\xE9m pode configurar provedores de terceiros como Sendgrid, SES etc."},pdf:{title:"Configura\xE7\xF5es de PDF",footer_text:"Texto do Rodap\xE9",pdf_layout:"Layout de PDF"},company_info:{company_info:"Informa\xE7\xE3o da Empresa",company_name:"Nome da Empresa",company_logo:"Logotipo da Empresa",section_description:"Informa\xE7\xF5es sobre sua empresa que ser\xE3o exibidas em Faturas, Or\xE7amentos e outros documentos criados pela Crater.",phone:"Telefone",country:"Pais",state:"Estado",city:"Cidade",address:"Endere\xE7o",zip:"CEP",save:"Salvar",updated_message:"Informa\xE7\xF5es da Empresa atualizadas com sucesso"},custom_fields:{title:"Os campos personalizados",add_custom_field:"Adicionar campo personalizado",edit_custom_field:"Editar campo personalizado",field_name:"Nome do campo",type:"Tipo",name:"Nome",required:"Requeridas",label:"R\xF3tulo",placeholder:"Placeholder",help_text:"Texto de ajuda",default_value:"Valor padr\xE3o",prefix:"Prefixo",starting_number:"N\xFAmero inicial",model:"Modelo",help_text_description:"Digite algum texto para ajudar os usu\xE1rios a entender a finalidade desse campo personalizado.",suffix:"Sufixo",yes:"sim",no:"N\xE3o",order:"Ordem",custom_field_confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar este campo personalizado",already_in_use:"O campo personalizado j\xE1 est\xE1 em uso",deleted_message:"Campo personalizado exclu\xEDdo com sucesso",options:"op\xE7\xF5es",add_option:"Adicionar op\xE7\xF5es",add_another_option:"Adicione outra op\xE7\xE3o",sort_in_alphabetical_order:"Classificar em ordem alfab\xE9tica",add_options_in_bulk:"Adicionar op\xE7\xF5es em massa",use_predefined_options:"Use Predefined Options",select_custom_date:"Selecionar data personalizada",select_relative_date:"Selecionar data relativa",ticked_by_default:"Marcado por padr\xE3o",updated_message:"Campo personalizado atualizado com sucesso",added_message:"Campo personalizado adicionado com sucesso"},customization:{customization:"Personalizar",save:"Salvar",addresses:{title:"Endere\xE7o",section_description:"Voc\xEA pode definir o endere\xE7o de cobran\xE7a do cliente e o formato do endere\xE7o de entrega do cliente (exibido apenas em PDF).",customer_billing_address:"Endere\xE7o de Cobran\xE7a do Cliente",customer_shipping_address:"Endere\xE7o de Entrega do Cliente",company_address:"Endere\xE7o da Empresa",insert_fields:"Inserir Campos",contact:"Contato",address:"Endere\xE7o",display_name:"Nome em Exibi\xE7\xE3o",primary_contact_name:"Nome do Contato Principal",email:"Email",website:"Website",name:"Nome",country:"Pais",state:"Estado",city:"Cidade",company_name:"Nome da Empresa",address_street_1:"Endere\xE7o Rua 1",address_street_2:"Endere\xE7o Rua 2",phone:"Telefone",zip_code:"CEP",address_setting_updated:"Configura\xE7\xE3o de Endere\xE7o Atualizada com Sucesso"},updated_message:"Informa\xE7\xF5es da Empresa atualizadas com sucesso",invoices:{title:"Faturas",notes:"Notas",invoice_prefix:"Fatura Prefixo",invoice_settings:"Configra\xE7\xF5es da Fatura",autogenerate_invoice_number:"Gerar automaticamente o n\xFAmero da Fatura",autogenerate_invoice_number_desc:"Desative isso, se voc\xEA n\xE3o deseja gerar automaticamente n\xFAmeros da Fatura sempre que criar uma nova.",enter_invoice_prefix:"Digite o prefixo da Fatura",terms_and_conditions:"Termos e Condi\xE7\xF5es",invoice_settings_updated:"Configura\xE7\xE3o da Fatura atualizada com sucesso"},estimates:{title:"Or\xE7amentos",estimate_prefix:"Or\xE7amento Prefixo",estimate_settings:"Configura\xE7\xF5es do Or\xE7amento",autogenerate_estimate_number:"Gerar automaticamente o n\xFAmero do Or\xE7amento",estimate_setting_description:"Desative isso, se voc\xEA n\xE3o deseja gerar automaticamente n\xFAmeros do Or\xE7amento sempre que criar um novo.",enter_estimate_prefix:"Digite o prefixo do Or\xE7amento",estimate_setting_updated:"Configura\xE7\xE3o do Or\xE7amento atualizada com sucesso"},payments:{title:"Pagamentos",payment_prefix:"Pagamento Prefixo",payment_settings:"Configura\xE7\xF5es de Pagamento",autogenerate_payment_number:"Gerar automaticamente n\xFAmero do Pagamento",payment_setting_description:"Desative isso, se voc\xEA n\xE3o deseja gerar automaticamente n\xFAmeros do Pagamento sempre que criar um novo.",enter_payment_prefix:"Digite o Prefixo do Pagamento",payment_setting_updated:"Configura\xE7\xF5es de Pagamento atualizada com sucesso",payment_mode:"Modo de pagamento",add_payment_mode:"Adicionar modo de pagamento",edit_payment_mode:"Editar modo de pagamento",mode_name:"Nome do modo",payment_mode_added:"Modo de pagamento adicionado",payment_mode_updated:"Modo de pagamento atualizado",payment_mode_confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar este modo de pagamento",already_in_use:"O modo de pagamento j\xE1 est\xE1 em uso",deleted_message:"Modo de pagamento exclu\xEDdo com sucesso"},items:{title:"Itens",units:"unidades",add_item_unit:"Adicionar unidade de item",edit_item_unit:"Editar unidade de item",unit_name:"Nome da unidade",item_unit_added:"Item Unit Added",item_unit_updated:"Item Unit Updated",item_unit_confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar esta unidade de item",already_in_use:"A unidade do item j\xE1 est\xE1 em uso",deleted_message:"Unidade de item exclu\xEDda com sucesso"}},account_settings:{profile_picture:"Foto do Perfil",name:"Nome",email:"Email",password:"Senha",confirm_password:"Confirmar Senha",account_settings:"Configura\xE7\xF5es da conta",save:"Salvar",section_description:"Voc\xEA pode atualizar seu nome, email e senha usando o formul\xE1rio abaixo.",updated_message:"Configura\xE7\xF5es da conta atualizadas com sucesso"},user_profile:{name:"Nome",email:"Email",password:"Password",confirm_password:"Confirmar Senha"},notification:{title:"Notifica\xE7\xE3o",email:"Enviar Notifica\xE7\xF5es para",description:"Quais notifica\xE7\xF5es por email voc\xEA gostaria de receber quando algo mudar?",invoice_viewed:"Fatura Visualizada",invoice_viewed_desc:"Quando o seu cliente visualiza uma Fatura enviada pelo painel do Crater.",estimate_viewed:"Or\xE7amento Visualizado",estimate_viewed_desc:"Quando o seu cliente visualiza um Or\xE7amento enviada pelo painel do Crater.",save:"Salvar",email_save_message:"E-mail salvo com sucesso",please_enter_email:"Por favor digite um E-mail"},tax_types:{title:"Tipos de Impostos",add_tax:"Adicionar Imposto",edit_tax:"Editar imposto",description:"Voc\xEA pode adicionar ou remover impostos conforme desejar. O Crater suporta impostos sobre itens individuais e tamb\xE9m na Fatura.",add_new_tax:"Adicionar Novo Imposto",tax_settings:"Configura\xE7\xF5es de Impostos",tax_per_item:"Imposto por Item",tax_name:"Nome do Imposto",compound_tax:"Imposto Composto",percent:"Porcentagem",action:"A\xE7\xE3o",tax_setting_description:"Habilite isso se desejar adicionar Impostos a itens da Fatura Idividualmente. Por padr\xE3o, os impostos s\xE3o adicionados diretamente \xE0 Fatura.",created_message:"Tipo de Imposto criado com sucesso",updated_message:"Tipo de Imposto Atualizado com sucesso",deleted_message:"Tipo de Imposto Deletado com sucesso",confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar este tipo de Imposto",already_in_use:"O Imposto j\xE1 est\xE1 em uso"},expense_category:{title:"Categoria de Despesa",action:"A\xE7\xE3o",description:"As Categorias s\xE3o necess\xE1rias para adicionar entradas de Despesas. Voc\xEA pode adicionar ou remover essas Categorias de acordo com sua prefer\xEAncia.",add_new_category:"Adicionar Nova Categoria",add_category:"Adicionar categoria",edit_category:"Editar categoria",category_name:"Nome da Categoria",category_description:"Descri\xE7\xE3o",created_message:"Categoria de Despesa criada com sucesso",deleted_message:"Categoria de Despesa exclu\xEDda com sucesso",updated_message:"Categoria de Despesa atualizada com sucesso",confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar esta Categoria de Despesa",already_in_use:"A categoria j\xE1 est\xE1 em uso"},preferences:{currency:"Moeda",language:"Idioma",time_zone:"Fuso Hor\xE1rio",fiscal_year:"Ano Financeiro",date_format:"Formato da Data",discount_setting:"Configura\xE7\xE3o de Desconto",discount_per_item:"Desconto por Item ",discount_setting_description:"Habilite isso se desejar adicionar desconto a itens de Fatura individualmente. Por padr\xE3o, o desconto \xE9 adicionado diretamente \xE0 Fatura.",save:"Salvar",preference:"Prefer\xEAncia | Prefer\xEAncias",general_settings:"Prefer\xEAncias padr\xE3o para o sistema.",updated_message:"Prefer\xEAncias atualizadas com sucesso",select_language:"Selecione um Idioma",select_time_zone:"Selecione um fuso hor\xE1rio",select_date_formate:"Selecione um formato de data",select_financial_year:"Selecione o ano financeiro"},update_app:{title:"Atualizar Aplicativo",description:"Voc\xEA pode atualizar facilmente o Crater, verifique se h\xE0 novas atualiza\xE7\xF5es, clicando no bot\xE3o abaixo",check_update:"Verifique se h\xE1 atualiza\xE7\xF5es",avail_update:"Nova atualiza\xE7\xE3o dispon\xEDvel",next_version:"Pr\xF3xima vers\xE3o",update:"Atualizar agora",update_progress:"Atualiza\xE7\xE3o em progresso...",progress_text:"Levar\xE1 apenas alguns minutos. N\xE3o atualize a tela ou feche a janela antes que a atualiza\xE7\xE3o seja conclu\xEDda",update_success:"O aplicativo foi atualizado! Aguarde enquanto a janela do navegador \xE9 recarregada automaticamente.",latest_message:"Nenhuma atualiza\xE7\xE3o dispon\xEDvel! Voc\xEA est\xE1 na vers\xE3o mais recente.",current_version:"Vers\xE3o Atual",download_zip_file:"Baixar arquivo ZIP",unzipping_package:"Descompactando o pacote",copying_files:"Copiando arquivos",running_migrations:"Executando migra\xE7\xF5es",finishing_update:"Atualiza\xE7\xE3o de acabamento",update_failed:"Atualiza\xE7\xE3o falhou",update_failed_text:"Desculpa! Sua atualiza\xE7\xE3o falhou em: {step} step"}},Kc={account_info:"Informa\xE7\xE3o da conta",account_info_desc:"Os detalhes abaixo ser\xE3o usados para criar a conta principal do administrador. Al\xE9m disso, voc\xEA pode alterar os detalhes a qualquer momento ap\xF3s o login.",name:"Nome",email:"Email",password:"Senha",confirm_password:"Confirmar Senha",save_cont:"Salvar e Continuar",company_info:"Informa\xE7\xE3o da Empresa",company_info_desc:"Esta informa\xE7\xE3o ser\xE1 exibida nas Faturas. Observe que voc\xEA pode editar isso mais tarde na p\xE1gina de configura\xE7\xF5es.",company_name:"Nome da Empresa",company_logo:"Logotipo da Empresa",logo_preview:"Previsualizar Logotipo",preferences:"Prefer\xEAncias",preferences_desc:"Prefer\xEAncias padr\xE3o para o sistema.",country:"Pais",state:"Estado",city:"Cidade",address:"Endere\xE7o",street:"Rua 1 | Rua 2",phone:"Telefone",zip_code:"CEP",go_back:"Voltar",currency:"Moeda",language:"Idioma",time_zone:"Fuso Hor\xE1rio",fiscal_year:"Ano Financeiro",date_format:"Formato de Data",from_address:"Do Endere\xE7o",username:"Nome de Usu\xE1rio",next:"Pr\xF3ximo",continue:"Continuar",skip:"Pular",database:{database:"URL do Site e Base de Dados",connection:"Conex\xE3o da Base de Dados",host:"Host da Base de Dados",port:"Porta da Base de Dados",password:"Senha da Base de Dados",app_url:"URL do Aplicativo",username:"Usu\xE1rio da Base de Dados",db_name:"Nome da Base de Dados",desc:"Crie um Banco de Dados no seu servidor e defina as credenciais usando o formul\xE1rio abaixo."},permissions:{permissions:"Permiss\xF5es",permission_confirm_title:"Voc\xEA tem certeza que quer continuar?",permission_confirm_desc:"Falha na verifica\xE7\xE3o de permiss\xE3o da pasta",permission_desc:"Abaixo est\xE1 a lista de permiss\xF5es de pasta que s\xE3o necess\xE1rias para que o aplicativo funcione. Se a verifica\xE7\xE3o da permiss\xE3o falhar, atualize as permiss\xF5es da pasta."},mail:{host:"Host do email",port:"Porta do email",driver:"Driver do email",secret:"Segredo",mailgun_secret:"Segredo do Mailgun",mailgun_domain:"Dom\xEDnio",mailgun_endpoint:"Endpoint do Mailgun",ses_secret:"Segredo do SES",ses_key:"Chave SES",password:"Senha do email",username:"Nome do Usu\xE1rio do email",mail_config:"Configura\xE7\xE3o de email",from_name:"Nome do email",from_mail:"Endere\xE7o de email",encryption:"Criptografia de email",mail_config_desc:"Abaixo est\xE1 o formul\xE1rio para configurar o driver de email que ser\xE1 usado para enviar emails do aplicativo. Voc\xEA tamb\xE9m pode configurar provedores de terceiros como Sendgrid, SES etc."},req:{system_req:"Requisitos de Sistema",php_req_version:"PHP (vers\xE3o {version} obrigat\xF3ria)",check_req:"Verificar Requisitos",system_req_desc:"O Crater tem alguns requisitos de servidor. Verifique se o seu servidor possui a vers\xE3o do PHP necess\xE1ria e todas as extens\xF5es mencionadas abaixo."},errors:{migrate_failed:"Falha na migra\xE7\xE3o",database_variables_save_error:"N\xE3o \xE9 poss\xEDvel gravar a configura\xE7\xE3o no arquivo .env. Por favor, verifique suas permiss\xF5es de arquivo",mail_variables_save_error:"A configura\xE7\xE3o do email falhou.",connection_failed:"Falha na conex\xE3o com o banco de dados",database_should_be_empty:"O banco de dados deve estar vazio"},success:{mail_variables_save_successfully:"Email configurado com sucesso",database_variables_save_successfully:"Banco de dados configurado com sucesso."}},qc={invalid_phone:"N\xFAmero de telefone inv\xE1lido",invalid_url:"url inv\xE1lidas (ex: http://www.craterapp.com)",required:"Campo obrigat\xF3rio",email_incorrect:"E-mail incorreto",email_already_taken:"O email j\xE1 foi recebido.",email_does_not_exist:"O usu\xE1rio com determinado email n\xE3o existe",send_reset_link:"Enviar link de redefini\xE7\xE3o",not_yet:"Ainda n\xE3o? Envie novamente",password_min_length:"A senha deve conter {count} caracteres",name_min_length:"O nome deve ter pelo menos {count} letras.",enter_valid_tax_rate:"Insira uma taxa de imposto v\xE1lida",numbers_only:"Apenas N\xFAmeros.",characters_only:"Apenas Caracteres.",password_incorrect:"As senhas devem ser id\xEAnticas",password_length:"A senha deve ter {count} caracteres.",qty_must_greater_than_zero:"A quantidade deve ser maior que zero.",price_greater_than_zero:"O pre\xE7o deve ser maior que zero.",payment_greater_than_zero:"O pagamento deve ser maior que zero.",payment_greater_than_due_amount:"O pagamento inserido \xE9 mais do que o valor devido desta fatura.",quantity_maxlength:"A quantidade n\xE3o deve exceder 20 d\xEDgitos.",price_maxlength:"O pre\xE7o n\xE3o deve ser superior a 20 d\xEDgitos.",price_minvalue:"O pre\xE7o deve ser maior que 0.",amount_maxlength:"Montante n\xE3o deve ser superior a 20 d\xEDgitos.",amount_minvalue:"Montante deve ser maior que zero",description_maxlength:"A descri\xE7\xE3o n\xE3o deve ter mais que 255 caracteres.",maximum_options_error:"M\xE1ximo de {max} op\xE7\xF5es selecionadas. Primeiro remova uma op\xE7\xE3o selecionada para selecionar outra.",notes_maxlength:"As anota\xE7\xF5es n\xE3o devem ter mais que 255 caracteres.",address_maxlength:"O endere\xE7o n\xE3o deve ter mais que 255 caracteres.",ref_number_maxlength:"O n\xFAmero de refer\xEAncia n\xE3o deve ter mais que 255 caracteres.",prefix_maxlength:"O prefixo n\xE3o deve ter mais que 5 caracteres."};var Wc={navigation:Nc,general:Ec,dashboard:Tc,tax_types:Ic,customers:$c,items:Rc,estimates:Fc,invoices:Mc,payments:Bc,expenses:Vc,login:Oc,reports:Lc,settings:Uc,wizard:Kc,validation:qc};const Zc={dashboard:"Dashboard",customers:"Clienti",items:"Commesse",invoices:"Fatture",expenses:"Spese",estimates:"Preventivi",payments:"Pagamenti",reports:"Reports",settings:"Configurazione",logout:"Logout",users:"Users"},Hc={add_company:"Add Company",view_pdf:"Vedi PDF",copy_pdf_url:"Copy PDF Url",download_pdf:"Scarica PDF",save:"Salva",create:"Create",cancel:"Elimina",update:"Aggiorna",deselect:"Deseleziona",download:"Download",from_date:"Dalla Data",to_date:"Alla Data",from:"Da",to:"A",sort_by:"Ordina per",ascending:"Crescente",descending:"Decrescente",subject:"Oggetto",body:"Corpo",message:"Messaggio",send:"Send",go_back:"Torna indietro",back_to_login:"Torna al Login?",home:"Home",filter:"Filtro",delete:"Elimina",edit:"Modifica",view:"Visualizza",add_new_item:"Aggiungi nuova Commessa",clear_all:"Pulisci tutto",showing:"Showing",of:"di",actions:"Azioni",subtotal:"SUBTOTALE",discount:"SCONTO",fixed:"Fissato",percentage:"Percentuale",tax:"TASSA",total_amount:"AMMONTARE TOTALE",bill_to:"Fattura a",ship_to:"Invia a",due:"Dovuto",draft:"Bozza",sent:"Inviata",all:"Tutte",select_all:"Seleziona tutto",choose_file:"Clicca per selezionare un file",choose_template:"Scegli un modello",choose:"Scegli",remove:"Rimuovi",powered_by:"Prodotto da",bytefury:"Bytefury",select_a_status:"Seleziona uno Stato",select_a_tax:"Seleziona una Tassa",search:"Cerca",are_you_sure:"Sei sicuro/a?",list_is_empty:"La lista \xE8 vuota.",no_tax_found:"Nessuna Tassa trovata!",four_zero_four:"404",you_got_lost:"Hoops! Ti sei perso",go_home:"Vai alla Home",test_mail_conf:"Configurazione della mail di test",send_mail_successfully:"Mail inviata con successo",setting_updated:"Configurazioni aggiornate con successo",select_state:"Seleziona lo Stato",select_country:"Seleziona Paese",select_city:"Seleziona Citt\xE0",street_1:"Indirizzo 1",street_2:"Indirizzo 2",action_failed:"Errore",retry:"Retry",choose_note:"Choose Note",no_note_found:"No Note Found",insert_note:"Insert Note"},Gc={select_year:"Seleziona anno",cards:{due_amount:"Somma dovuta",customers:"Clienti",invoices:"Fatture",estimates:"Preventivi"},chart_info:{total_sales:"Vendite",total_receipts:"Ricevute",total_expense:"Uscite",net_income:"Guadagno netto",year:"Seleziona anno"},monthly_chart:{title:"Entrate & Uscite"},recent_invoices_card:{title:"Fatture insolute",due_on:"Data di scadenza",customer:"Cliente",amount_due:"Ammontare dovuto",actions:"Azioni",view_all:"Vedi tutto"},recent_estimate_card:{title:"Preventivi recenti",date:"Data",customer:"Cliente",amount_due:"Ammontare dovuto",actions:"Azioni",view_all:"Vedi tutto"}},Yc={name:"Nome",description:"Descrizione",percent:"Percento",compound_tax:"Tassa composta"},Jc={search:"Search...",customers:"Clienti",users:"Users",no_results_found:"No Results Found"},Xc={title:"Clienti",add_customer:"Aggiungi cliente",contacts_list:"Lista clienti",name:"Nome",mail:"Mail | Mails",statement:"Statement",display_name:"Mostra nome",primary_contact_name:"Riferimento",contact_name:"Nome Contatto",amount_due:"Ammontare dovuto",email:"Email",address:"Indirizzo",phone:"Telefono",website:"Sito web",overview:"Overview",enable_portal:"Enable Portal",country:"Paese",state:"Stato",city:"Citt\xE0",zip_code:"Codice Postale",added_on:"Aggiunto il",action:"Azione",password:"Password",street_number:"Numero Civico",primary_currency:"Val\xF9ta Principale",description:"Descrizione",add_new_customer:"Aggiungi nuovo Cliente",save_customer:"Salva Cliente",update_customer:"Aggiorna Cliente",customer:"Cliente | Clienti",new_customer:"Nuovo cliente",edit_customer:"Modifica Cliente",basic_info:"Informazioni",billing_address:"Indirizzo di Fatturazione",shipping_address:"Indirizzo di Spedizione",copy_billing_address:"Copia da Fatturazione",no_customers:"Ancora nessun Cliente!",no_customers_found:"Nessun cliente trovato!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"Qui ci sar\xE0 la lista dei tuoi clienti",primary_display_name:"Mostra il Nome Principale",select_currency:"Selezione Val\xF9ta",select_a_customer:"Seleziona Cliente",type_or_click:"Scrivi o clicca per selezionare",new_transaction:"Nuova transazione",no_matching_customers:"Non ci sono clienti corrispondenti!",phone_number:"Numero di telefono",create_date:"Crea data",confirm_delete:"Non sarai in grado di recuperare questo cliente e tutte le relative fatture, stime e pagamenti. | Non sarai in grado di recuperare questi clienti e tutte le relative fatture, stime e pagamenti.",created_message:"Cliente creato con successo",updated_message:"Cliente aggiornato con successo",deleted_message:"Cliente cancellato con successo | Clienti cancellati con successo"},Qc={title:"Commesse",items_list:"Lista Commesse",name:"Nome",unit:"Unit\xE0/Tipo",description:"Descrizione",added_on:"Aggiunto il",price:"Prezzo",date_of_creation:"Data di creazione",not_selected:"No item selected",action:"Azione",add_item:"Aggiungi Commessa",save_item:"Salva",update_item:"Aggiorna",item:"Commessa | Commesse",add_new_item:"Aggiungi nuova Commessa",new_item:"Nuova Commessa",edit_item:"Modifica Commessa",no_items:"Ancora nessuna commessa!",list_of_items:"Qui ci sar\xE0 la lista delle commesse.",select_a_unit:"Seleziona",taxes:"Imposte",item_attached_message:"Non puoi eliminare una Commessa che \xE8 gi\xE0 attiva",confirm_delete:"Non potrai ripristinare la Commessa | Non potrai ripristinare le Commesse",created_message:"Commessa creata con successo",updated_message:"Commessa aggiornata con successo",deleted_message:"Commessa eliminata con successo | Commesse eliminate con successo"},e_={title:"Preventivi",estimate:"Preventivo | Preventivi",estimates_list:"Lista Preventivi",days:"{days} Giorni",months:"{months} Mese",years:"{years} Anno",all:"Tutti",paid:"Pagato",unpaid:"Non pagato",customer:"CLIENTE",ref_no:"RIF N.",number:"NUMERO",amount_due:"AMMONTARE DOVUTO",partially_paid:"Pagamento Parziale",total:"Totale",discount:"Sconto",sub_total:"Sub Totale",estimate_number:"Preventivo Numero",ref_number:"Numero di Rif.",contact:"Contatto",add_item:"Aggiungi un item",date:"Data",due_date:"Data di pagamento",expiry_date:"Data di scadenza",status:"Stato",add_tax:"Aggiungi Imposta",amount:"Ammontare",action:"Azione",notes:"Note",tax:"Imposta",estimate_template:"Modello",convert_to_invoice:"Converti in Fattura",mark_as_sent:"Segna come Inviata",send_estimate:"Invia preventivo",resend_estimate:"Resend Estimate",record_payment:"Registra Pagamento",add_estimate:"Aggiungi Preventivo",save_estimate:"Salva Preventivo",confirm_conversion:"Questo preventivo verr\xE0 usato per generare una nuova fattura.",conversion_message:"Fattura creata",confirm_send_estimate:"Questo preventivo verr\xE0 inviato al cliente via mail",confirm_mark_as_sent:"Questo preventivo verr\xE0 contrassegnato come inviato",confirm_mark_as_accepted:"Questo preventivo verr\xE0 contrassegnato come Accettato",confirm_mark_as_rejected:"Questo preventivo verr\xE0 contrassegnato come Rifiutato",no_matching_estimates:"Nessun preventivo trovato!",mark_as_sent_successfully:"Preventivo contrassegnato come inviato con successo",send_estimate_successfully:"Preventivo inviato con successo",errors:{required:"Campo obbligatorio"},accepted:"Accettato",rejected:"Rejected",sent:"Inviato",draft:"Bozza",declined:"Rifiutato",new_estimate:"Nuovo Preventivo",add_new_estimate:"Crea Nuovo Preventivo",update_Estimate:"Aggiorna preventivo",edit_estimate:"Modifica Preventivo",items:"Commesse",Estimate:"Preventivo | Preventivi",add_new_tax:"Aggiungi una nuova tassa/imposta",no_estimates:"Ancora nessun preventivo!",list_of_estimates:"Questa sezione conterr\xE0 la lista dei preventivi.",mark_as_rejected:"Segna come Rifiutato",mark_as_accepted:"Segna come Accettato",marked_as_accepted_message:"Preventivo contrassegnato come accettato",marked_as_rejected_message:"Preventivo contrassegnato come rifiutato",confirm_delete:"Non potrai pi\xF9 recuperare questo preventivo | Non potrai pi\xF9 recuperare questi preventivi",created_message:"Preventivo creato con successo",updated_message:"Preventivo modificato con successo",deleted_message:"Preventivo eliminato con successo | Preventivi eliminati con successo",something_went_wrong:"Si \xE8 verificato un errore",item:{title:"Titolo Commessa",description:"Descrizione",quantity:"Quantit\xE0",price:"Prezzo",discount:"Sconto",total:"Totale",total_discount:"Sconto Totale",sub_total:"Sub Totale",tax:"Tasse",amount:"Ammontare",select_an_item:"Scrivi o clicca per selezionare un item",type_item_description:"Scrivi una Descrizione (opzionale)"}},t_={title:"Fatture",invoices_list:"Lista Fatture",days:"{days} Giorni",months:"{months} Mese",years:"{years} Anno",all:"Tutti",paid:"Pagato",unpaid:"Insoluto",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"CLIENTE",paid_status:"STATO DI PAGAMENTO",ref_no:"RIF N.",number:"NUMERO",amount_due:"AMMONTARE DOVUTO",partially_paid:"Parzialmente Pagata",total:"Totale",discount:"Sconto",sub_total:"Sub Totale",invoice:"Fattura | Fatture",invoice_number:"Numero Fattura",ref_number:"Rif Numero",contact:"Contatto",add_item:"Aggiungi Commessa/Item",date:"Data",due_date:"Data di pagamento",status:"Stato",add_tax:"Aggiungi Imposta",amount:"Ammontare",action:"Azione",notes:"Note",view:"Vedi",send_invoice:"Invia Fattura",resend_invoice:"Resend Invoice",invoice_template:"Modello Fattura",template:"Modello",mark_as_sent:"Segna come inviata",confirm_send_invoice:"Questa fattura sar\xE0 inviata via Mail al Cliente",invoice_mark_as_sent:"Questa fattura sar\xE0 contrassegnata come inviata",confirm_send:"Questa fattura sar\xE0 inviata via Mail al Cliente",invoice_date:"Data fattura",record_payment:"Registra Pagamento",add_new_invoice:"Aggiungi nuova Fattura",update_expense:"Aggiorna Costo",edit_invoice:"Modifica Fattura",new_invoice:"Nuova Fattura",save_invoice:"Salva fattura",update_invoice:"Aggiorna Fattura",add_new_tax:"Aggiungi tassa/imposta",no_invoices:"Ancora nessuna fattura!",list_of_invoices:"Questa sezione conterr\xE0 la lista delle Fatture.",select_invoice:"Seleziona Fattura",no_matching_invoices:"Nessuna fattura trovata!",mark_as_sent_successfully:"Fattura contassegnata come inviata con successo",invoice_sent_successfully:"Fattura inviata con successo",cloned_successfully:"Fattura copiata con successo",clone_invoice:"Clona Fattura",confirm_clone:"Questa fattura verr\xE0 clonata in una nuova fattura",item:{title:"Titolo Commessa",description:"Descrizione",quantity:"Quantit\xE0",price:"Prezzo",discount:"Sconto",total:"Totale",total_discount:"Sconto Totale",sub_total:"Sub Totale",tax:"Tassa",amount:"Ammontare",select_an_item:"Scrivi o clicca per selezionare un item",type_item_description:"Scrivi una descrizione (opzionale)"},confirm_delete:"Non potrai recuperare la Fattura cancellata | Non potrai recuperare le Fatture cancellate",created_message:"Fattura creata con successo",updated_message:"Fattura aggiornata con successo",deleted_message:"Fattura cancellata con successo | Fatture cancellate con successo",marked_as_sent_message:"Fattura contrassegnata come inviata con successo",something_went_wrong:"Si \xE8 verificato un errore",invalid_due_amount_message:"L'ammontare totale della fattura non pu\xF2 essere inferiore all'ammontare totale pagato per questa fattura. Modifica la fattura o cancella i pagamenti associati per continuare."},a_={title:"Pagamenti",payments_list:"Lista Pagamenti",record_payment:"Registra Pagamento",customer:"Cliente",date:"Data",amount:"Ammontare",action:"Azione",payment_number:"Numero di pagamento",payment_mode:"Modalit\xE0 di Pagamento",invoice:"Fattura",note:"Nota",add_payment:"Aggiungi Pagamento",new_payment:"Nuovo Pagamento",edit_payment:"Modifica Pagamento",view_payment:"Vedi Pagamento",add_new_payment:"Aggiungi nuovo pagamento",send_payment_receipt:"Invia ricevuta di pagamento",send_payment:"Inviare il pagamento",save_payment:"Salva pagamento",update_payment:"Aggiorna pagamento",payment:"Pagamento | Pagamenti",no_payments:"Ancora nessun pagamento!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"Non ci sono pagamenti!",list_of_payments:"Questa sezione conterr\xE0 la lista dei pagamenti.",select_payment_mode:"Seleziona modalit\xE0 di pagamento",confirm_mark_as_sent:"Questo preventivo verr\xE0 contrassegnato come inviato",confirm_send_payment:"Questo pagamento verr\xE0 inviato via email al cliente",send_payment_successfully:"Pagamento inviato con successo",something_went_wrong:"si \xE8 verificato un errore",confirm_delete:"Non potrai recuperare questo pagamento | Non potrai recuperare questi pagamenti",created_message:"Pagamento creato con successo",updated_message:"Pagamento aggiornato con successo",deleted_message:"Pagamento cancellato con successo | Pagamenti cancellati con successo",invalid_amount_message:"L'ammontare del pagamento non \xE8 valido"},s_={title:"Spese",expenses_list:"Lista Costi",select_a_customer:"Seleziona Cliente",expense_title:"Titolo",customer:"Cliente",contact:"Contatto",category:"Categoria",from_date:"Dalla Data",to_date:"Alla Data",expense_date:"Data",description:"Descrizione",receipt:"Ricevuta",amount:"Ammontare",action:"Azione",not_selected:"Not selected",note:"Nota",category_id:"Id categoria",date:"Data Spesa",add_expense:"Aggiungi Spesa",add_new_expense:"Aggiungi nuova Spesa",save_expense:"Salva la Spesa",update_expense:"Aggiorna Spesa",download_receipt:"Scarica la Ricevuta",edit_expense:"Modifica Spesa",new_expense:"Nuova Spesa",expense:"Spesa | Spese",no_expenses:"Ancora nessuna spesa!",list_of_expenses:"Questa sezione conterr\xE0 la lista delle Spese.",confirm_delete:"Non potrai recuperare questa spesa | Non potrai recuperare queste spese",created_message:"Spesa creata con successo",updated_message:"Spesa modificata con successo",deleted_message:"Spesa cancellata con successo | Spese cancellate con successo",categories:{categories_list:"Lista categorie",title:"Titolo",name:"Nome",description:"Descrizione",amount:"Ammontare",actions:"Azioni",add_category:"Aggiungi Categoria",new_category:"Nuova Categoria",category:"Categoria | Categorie",select_a_category:"Seleziona Categoria"}},n_={email:"Email",password:"Password",forgot_password:"Password dimenticata?",or_signIn_with:"o fai login con",login:"Login",register:"Registrati",reset_password:"Resetta Password",password_reset_successfully:"Password Resettata con successo",enter_email:"Inserisci email",enter_password:"Inserisci Password",retype_password:"Ridigita Password"},i_={title:"Users",users_list:"Users List",name:"Nome",description:"Descrizione",added_on:"Aggiunto il",date_of_creation:"Data di creazione",action:"Azione",add_user:"Add User",save_user:"Save User",update_user:"Update User",user:"User | Users",add_new_user:"Add New User",new_user:"New User",edit_user:"Edit User",no_users:"No users yet!",list_of_users:"This section will contain the list of users.",email:"Email",phone:"Telefono",password:"Password",user_attached_message:"Non puoi eliminare una Commessa che \xE8 gi\xE0 attiva",confirm_delete:"You will not be able to recover this User | You will not be able to recover these Users",created_message:"User created successfully",updated_message:"User updated successfully",deleted_message:"User deleted successfully | User deleted successfully"},o_={title:"Report",from_date:"Da",to_date:"A",status:"Stato",paid:"Pagato",unpaid:"Non pagato",download_pdf:"Scarica PDF",view_pdf:"Vedi PDF",update_report:"Aggiorna Report",report:"Report | Reports",profit_loss:{profit_loss:"Guadagni & Perdite",to_date:"A",from_date:"Da",date_range:"Seleziona intervallo date"},sales:{sales:"Vendite",date_range:"Seleziona intervallo date",to_date:"A",from_date:"Da",report_type:"Tipo di report"},taxes:{taxes:"Tasse",to_date:"Alla data",from_date:"Dalla data",date_range:"Seleziona intervallo date"},errors:{required:"Campo obbligatorio"},invoices:{invoice:"Fattura",invoice_date:"Data fattura",due_date:"Data di pagamento",amount:"Ammontare",contact_name:"Nome contatto",status:"Stato"},estimates:{estimate:"Preventivo",estimate_date:"Data preventivo",due_date:"Data di pagamento",estimate_number:"Numero di preventivo",ref_number:"Numero di Rif.",amount:"Ammontare",contact_name:"Nome contatto",status:"Stato"},expenses:{expenses:"Spese",category:"Categoria",date:"Data",amount:"Ammontare",to_date:"Alla data",from_date:"Dalla data",date_range:"Seleziona intervallo date"}},r_={menu_title:{account_settings:"Impostazioni Account",company_information:"Informazioni Azienda",customization:"Personalizzazione",preferences:"Opzioni",notifications:"Notifiche",tax_types:"Tupi di Tasse",expense_category:"Categorie di spesa",update_app:"Aggiorna App",backup:"Backup",file_disk:"File Disk",custom_fields:"Campi personalizzati",payment_modes:"Payment Modes",notes:"Note"},title:"Impostazioni",setting:"Opzione | Impostazioni",general:"Generale",language:"Lingua",primary_currency:"Valuta Principale",timezone:"Time Zone",date_format:"Formato data",currencies:{title:"Valute",currency:"Val\xF9ta | Valute",currencies_list:"Lista valute",select_currency:"Seleziona Val\xF9ta",name:"Nome",code:"Codice",symbol:"Simbolo",precision:"Precisione",thousand_separator:"Separatore migliaia",decimal_separator:"Separatore decimali",position:"Posizione",position_of_symbol:"Posizione del Simbolo",right:"Destra",left:"Sinistra",action:"Azione",add_currency:"Aggiungi Val\xF9ta"},mail:{host:"Mail Host",port:"Mail - Porta",driver:"Mail Driver",secret:"Secret",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domain",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"Mail Password",username:"Mail Username",mail_config:"Configurazione Mail",from_name:"Nome Mittente Mail",from_mail:"Indirizzo Mittente Mail",encryption:"Tipo di cifratura Mail",mail_config_desc:"Form per Configurazione Driver Mail per invio mail dall'App. Puoi anche configurare providers di terze parti come Sendgrid, SES, etc.."},pdf:{title:"Configurazione PDF",footer_text:"Testo Footer",pdf_layout:"Layout PDF"},company_info:{company_info:"Info azienda",company_name:"Nome azienda",company_logo:"Logo azienda",section_description:"Informazioni sulla tua azienda che saranno mostrate in fattura, preventivi ed altri documenti creati dell'applicazione.",phone:"Telefono",country:"Paese",state:"Stato",city:"Citt\xE0",address:"Indirizzo",zip:"CAP",save:"Salva",updated_message:"Informazioni Azienda aggiornate con successo."},custom_fields:{title:"Campi personalizzati",section_description:"Customize your Invoices, Estimates & Payment Receipts with your own fields. Make sure to use the below added fields on the address formats on Customization settings page.",add_custom_field:"Aggiungi campo personalizzato",edit_custom_field:"Modifica campo personalizzato",field_name:"Nome campo",label:"Etichetta",type:"genere",name:"Nome",required:"Necessaria",placeholder:"segnaposto",help_text:"Testo guida",default_value:"Valore predefinito",prefix:"Prefisso",starting_number:"Numero iniziale",model:"Modella",help_text_description:"Inserisci del testo per aiutare gli utenti a comprendere lo scopo di questo campo personalizzato.",suffix:"Suffisso",yes:"s\xEC",no:"No",order:"Ordine",custom_field_confirm_delete:"Non sarai in grado di recuperare questo campo personalizzato",already_in_use:"Il campo personalizzato \xE8 gi\xE0 in uso",deleted_message:"Campo personalizzato eliminato correttamente",options:"opzioni",add_option:"Aggiungi opzioni",add_another_option:"Aggiungi un'altra opzione",sort_in_alphabetical_order:"Ordina in ordine alfabetico",add_options_in_bulk:"Aggiungi opzioni in blocco",use_predefined_options:"Usa opzioni predefinite",select_custom_date:"Seleziona la data personalizzata",select_relative_date:"Seleziona la data relativa",ticked_by_default:"Contrassegnato per impostazione predefinita",updated_message:"Campo personalizzato aggiornato correttamente",added_message:"Campo personalizzato aggiunto correttamente"},customization:{customization:"personalizzazione",save:"Salva",addresses:{title:"Indirizzi",section_description:"Puoi settare l'indirizzo di fatturazione del Cliente e/o il formato dell'indirizzo di spedizione (Mostrato solo sul PDF). ",customer_billing_address:"Indirizzo Fatturazione Cliente",customer_shipping_address:"Indirizzo spedizione Cliente",company_address:"Indirizzo Azienda",insert_fields:"Inserisci Campi",contact:"Contatto",address:"Indirizzo",display_name:"Mostra nome",primary_contact_name:"Nome contatto primario",email:"Email",website:"Sito web",name:"Nome",country:"Paese",state:"Stato",city:"Citt\xE0",company_name:"Nome Azienda",address_street_1:"Indirizzo 1",address_street_2:"Indirizzo 2",phone:"Telefono",zip_code:"CAP/ZIP Code",address_setting_updated:"Indirizzo aggiornato con Successo"},updated_message:"Info azienda aggiornate con successo",invoices:{title:"Fatture",notes:"Note",invoice_prefix:"Prefisso Fattura",default_invoice_email_body:"Default Invoice Email Body",invoice_settings:"Impostazioni fattura",autogenerate_invoice_number:"Auto genera numero di fattura",autogenerate_invoice_number_desc:"Disabilita, se non vuoi auto-generare i numeri delle fatture ogni volta che crei una nuova fattura.",enter_invoice_prefix:"Inserisci prefisso fattura",terms_and_conditions:"Termini e Condizioni",company_address_format:"Company Address Format",shipping_address_format:"Shipping Address Format",billing_address_format:"Billing Address Format",invoice_settings_updated:"Impostazioni fatture aggiornate con successo"},estimates:{title:"Preventivi",estimate_prefix:"Prefisso Preventivi",default_estimate_email_body:"Default Estimate Email Body",estimate_settings:"Impostazioni Preventivi",autogenerate_estimate_number:"Auto-genera Numero di preventivo",estimate_setting_description:"Disabilita, se non vuoi autogenerare il numero di preventivo ogni volta che ne viene creato uno nuovo.",enter_estimate_prefix:"Inserisci prefisso preventivo",estimate_setting_updated:"Impostazioni preventivi aggiornate con successo",company_address_format:"Company Address Format",billing_address_format:"Billing Address Format",shipping_address_format:"Shipping Address Format"},payments:{title:"Pagamenti",description:"Modes of transaction for payments",payment_prefix:"Prefisso Pagamento",default_payment_email_body:"Default Payment Email Body",payment_settings:"Impostazioni Pagamento",autogenerate_payment_number:"Auto genera il numero di Pagamento",payment_setting_description:"Disabilita, se non vuoi autogenerare il numero di pagamento ogni volta che ne viene creato uno nuovo.",enter_payment_prefix:"Inserisci prefisso di pagamento",payment_setting_updated:"Impostazioni di pagamento aggiornate con successo",payment_modes:"Payment Modes",add_payment_mode:"Aggiungi modalit\xE0 di pagamento",edit_payment_mode:"Modifica modalit\xE0 di pagamento",mode_name:"Nome modalit\xE0",payment_mode_added:"Modalit\xE0 di pagamento aggiunta",payment_mode_updated:"Modalit\xE0 di pagamento aggiornata",payment_mode_confirm_delete:"Non potrai ripristinare la modalit\xE0 di pagamento",already_in_use:"Modalit\xE0 di pagamento gi\xE0 in uso",deleted_message:"Payment Mode deleted successfully",company_address_format:"Company Address Format",from_customer_address_format:"From Customer Address Format"},items:{title:"Commesse",units:"unit\xE0",add_item_unit:"Aggiungi Unit\xE0 Item",edit_item_unit:"Modifica unit\xE0 articolo",unit_name:"Nome",item_unit_added:"Unit\xE0 aggiunta",item_unit_updated:"Unit\xE0 aggiornata",item_unit_confirm_delete:"Non potrai ripristinare questa unit\xE0 Item",already_in_use:"Unit\xE0 Item gi\xE0 in uso",deleted_message:"Unit\xE0 item eliminata con successo"},notes:{title:"Note",description:"Save time by creating notes and reusing them on your invoices, estimates & payments.",notes:"Note",type:"genere",add_note:"Add Note",add_new_note:"Add New Note",name:"Nome",edit_note:"Edit Note",note_added:"Note added successfully",note_updated:"Note Updated successfully",note_confirm_delete:"You will not be able to recover this Note",already_in_use:"Note is already in use",deleted_message:"Note deleted successfully"}},account_settings:{profile_picture:"Immagine profilo",name:"Nome",email:"Email",password:"Password",confirm_password:"Conferma Password",account_settings:"Impostazioni Account",save:"Salva",section_description:"Puoi aggiornare nome email e password utilizzando il form qui sotto.",updated_message:"Impostazioni account aggiornate con successo"},user_profile:{name:"Nome",email:"Email",password:"Password",confirm_password:"Conferma Password"},notification:{title:"Notifica",email:"Invia notifiche a",description:"Quali notifiche email vorresti ricevere quando qualcosa cambia?",invoice_viewed:"Fattura visualizzata",invoice_viewed_desc:"Quando il cliente visualizza la fattura inviata via dashboard applicazione.",estimate_viewed:"Preventivo visualizzato",estimate_viewed_desc:"Quando il cliente visualizza il preventivo inviato dall'applicazione.",save:"Salva",email_save_message:"Email salvata con successo",please_enter_email:"Inserisci Email"},tax_types:{title:"Tipi di Imposta",add_tax:"Aggiungi Imposta",edit_tax:"Modifica imposta",description:"Puoi aggiongere e rimuovere imposte a piacimento. Vengono supportate Tasse differenti per prodotti/servizi specifici esattamento come per le fatture.",add_new_tax:"Aggiungi nuova imposta",tax_settings:"Impostazioni Imposte",tax_per_item:"Tassa per prodotto/servizio",tax_name:"Nome imposta",compound_tax:"Imposta composta",percent:"Percento",action:"Azione",tax_setting_description:"Abilita se vuoi aggiungere imposte specifiche per prodotti o servizi. Di default le imposte sono aggiunte direttamente alla fattura.",created_message:"Tipo di imposta creato con successo",updated_message:"Tipo di imposta aggiornato con successo",deleted_message:"Tipo di imposta eliminato con successo",confirm_delete:"Non potrai ripristinare questo tipo di imposta",already_in_use:"Imposta gi\xE0 in uso"},expense_category:{title:"Categorie di spesa",action:"Azione",description:"Le categorie sono necessarie per aggiungere delle voci di spesa. Puoi aggiungere o eliminare queste categorie in base alle tue preferenze.",add_new_category:"Aggiungi nuova categoria",add_category:"Aggiungi categoria",edit_category:"Modifica categoria",category_name:"Nome Categoria",category_description:"Descrizione",created_message:"Categoria di spesa creata con successo",deleted_message:"Categoria di spesa eliminata con successo",updated_message:"Categoria di spesa aggiornata con successo",confirm_delete:"Non potrai ripristinare questa categoria di spesa",already_in_use:"Categoria gi\xE0 in uso"},preferences:{currency:"Val\xF9ta",default_language:"Default Language",time_zone:"Time Zone",fiscal_year:"Anno finanziario",date_format:"Formato Data",discount_setting:"Impostazione Sconto",discount_per_item:"Sconto Per Item ",discount_setting_description:"Abilita se vuoi aggiungere uno sconto ad uno specifica fattura. Di default, lo sconto \xE8 aggiunto direttamente in fattura.",save:"Salva",preference:"Preferenza | Preferenze",general_settings:"Impostazioni di default del sistema.",updated_message:"Preferenze aggiornate con successo",select_language:"seleziona lingua",select_time_zone:"Seleziona Time Zone",select_date_format:"Select Date Format",select_financial_year:"Seleziona anno finanziario"},update_app:{title:"Aggiorna App",description:"Puoi facilmente aggiornare l'app. Aggiorna cliccando sul bottone qui sotto",check_update:"Controllo aggiornamenti",avail_update:"Aggiornamento disponibile",next_version:"Versione successiva",requirements:"Requirements",update:"Aggiorna ora",update_progress:"Aggiornamento in corso...",progress_text:"Sar\xE0 necessario qualche minuto. Per favore non aggiornare la pagina e non chiudere la finestra prima che l'aggiornamento sia completato",update_success:"L'App \xE8 aggiornata! Attendi che la pagina venga ricaricata automaticamente.",latest_message:"Nessun aggiornamneto disponibile! Sei gi\xE0 alla versione pi\xF9 recente.",current_version:"Versione corrente",download_zip_file:"Scarica il file ZIP",unzipping_package:"Pacchetto di decompressione",copying_files:"Copia dei file",running_migrations:"Esecuzione delle migrazioni",finishing_update:"Aggiornamento di finitura",update_failed:"Aggiornamento non riuscito",update_failed_text:"Scusate! L'aggiornamento non \xE8 riuscito il: passaggio {step}"},backup:{title:"Backup | Backups",description:"The backup is a zipfile that contains all files in the directories you specify along with a dump of your database",new_backup:"Add New Backup",create_backup:"Create Backup",select_backup_type:"Select Backup Type",backup_confirm_delete:"You will not be able to recover this Backup",path:"path",new_disk:"New Disk",created_at:"created at",size:"size",dropbox:"dropbox",local:"local",healthy:"healthy",amount_of_backups:"amount of backups",newest_backups:"newest backups",used_storage:"used storage",select_disk:"Select Disk",action:"Azione",deleted_message:"Backup deleted successfully",created_message:"Backup created successfully",invalid_disk_credentials:"Invalid credential of selected disk"},disk:{title:"File Disk | File Disks",description:"By default, Crater will use your local disk for saving backups, avatar and other image files. You can configure more than one disk drivers like DigitalOcean, S3 and Dropbox according to your preference.",created_at:"created at",dropbox:"dropbox",name:"Nome",driver:"Driver",disk_type:"genere",disk_name:"Disk Name",new_disk:"Add New Disk",filesystem_driver:"Filesystem Driver",local_driver:"local Driver",local_root:"local Root",public_driver:"Public Driver",public_root:"Public Root",public_url:"Public URL",public_visibility:"Public Visibility",media_driver:"Media Driver",media_root:"Media Root",aws_driver:"AWS Driver",aws_key:"AWS Key",aws_secret:"AWS Secret",aws_region:"AWS Region",aws_bucket:"AWS Bucket",aws_root:"AWS Root",do_spaces_type:"Do Spaces type",do_spaces_key:"Do Spaces key",do_spaces_secret:"Do Spaces Secret",do_spaces_region:"Do Spaces Region",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces Endpoint",do_spaces_root:"Do Spaces Root",dropbox_type:"Dropbox Type",dropbox_token:"Dropbox Token",dropbox_key:"Dropbox Key",dropbox_secret:"Dropbox Secret",dropbox_app:"Dropbox App",dropbox_root:"Dropbox Root",default_driver:"Default Driver",is_default:"IS DEFAULT",set_default_disk:"Set Default Disk",success_set_default_disk:"Disk set as default successfully",save_pdf_to_disk:"Save PDFs to Disk",disk_setting_description:" Enable this, if you wish to save a copy of each Invoice, Estimate & Payment Receipt PDF on your default disk automatically. Turning this option will decrease the load-time when viewing the PDFs.",select_disk:"Select Disk",disk_settings:"Disk Settings",confirm_delete:"Your existing files & folders in the specified disk will not be affected but your disk configuration will be deleted from Crater",action:"Azione",edit_file_disk:"Edit File Disk",success_create:"Disk added successfully",success_update:"Disk updated successfully",error:"Disk addition failed",deleted_message:"File Disk deleted successfully",disk_variables_save_successfully:"Disk Configured Successfully",disk_variables_save_error:"Disk configuration failed.",invalid_disk_credentials:"Invalid credential of selected disk"}},d_={account_info:"Informazioni Account",account_info_desc:"I dettagli qui sotto verranno usati per creare l'account principale dell'Amministratore. Puoi modificarli in qualsiasi momento dopo esserti loggato come Amministratore.",name:"Nome",email:"Email",password:"Password",confirm_password:"Conferma Password",save_cont:"Salva & Continua",company_info:"Informazioni Azienda",company_info_desc:"Questa informazione verr\xE0 mostrata nelle fatture. Puoi modificare queste informazione in un momento successivo dalla pagina delle impostazioni.",company_name:"Nome Azienda",company_logo:"Logo Azienda",logo_preview:"Anteprima Logo",preferences:"Impostazioni",preferences_desc:"Impostazioni di default del sistema.",country:"Paese",state:"Stato",city:"Citt\xE0",address:"Indirizzo",street:"Indirizzo1 | Indirizzo2",phone:"Telefono",zip_code:"CAP/Zip Code",go_back:"Torna indietro",currency:"Val\xF9ta",language:"Lingua",time_zone:"Time Zone",fiscal_year:"Anno Finanziario",date_format:"Formato Date",from_address:"Indirizzo - Da",username:"Username",next:"Successivo",continue:"Continua",skip:"Salta",database:{database:"URL del sito & database",connection:"Connessione Database",host:"Database Host",port:"Database - Porta",password:"Database Password",app_url:"App URL",app_domain:"App Domain",username:"Database Username",db_name:"Database Nome",db_path:"Database Path",desc:"Crea un database sul tuo server e setta le credenziali usando il form qui sotto."},permissions:{permissions:"Permessi",permission_confirm_title:"Sei sicuro di voler continuare?",permission_confirm_desc:"Controllo sui permessi Cartelle, fallito",permission_desc:"Qui sotto la lista dei permessi richiesti per far funzionare correttamente l'App. Se il controllo dei permessi fallisce, assicurati di aggiornare/modificare i permessi sulle cartelle."},mail:{host:"Mail Host",port:"Mail - Porta",driver:"Mail Driver",secret:"Secret",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domain",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"Mail Password",username:"Mail Username",mail_config:"Configurazione Mail",from_name:"Nome mittente mail",from_mail:"Indirizzo mittente mail",encryption:"Tipo di cifratura Mail",mail_config_desc:"Form per configurazione del 'driver mail' per inviare emails dall'App. Puoi anche configurare servizi di terze parti come Sendgrid, SES, ecc.."},req:{system_req:"Requisiti di Sistema",php_req_version:"Php (versione {version} richiesta)",check_req:"Controllo Requisiti",system_req_desc:"Crater ha alcuni requisiti di sistema. Assicurati che il server ha la versione di php richiesta e tutte le estensioni necessarie."},errors:{migrate_failed:"Migrate Failed",database_variables_save_error:"Cannot write configuration to .env file. Please check its file permissions",mail_variables_save_error:"Email configuration failed.",connection_failed:"Database connection failed",database_should_be_empty:"Database should be empty"},success:{mail_variables_save_successfully:"Email configurata con successo",database_variables_save_successfully:"Database configurato con successo."}},l_={invalid_phone:"Numero di telefono invalido",invalid_url:"URL non valido (es: http://www.craterapp.com)",invalid_domain_url:"URL non valido (es: craterapp.com)",required:"Campo obbligatorio",email_incorrect:"Email non corretta.",email_already_taken:"Email gi\xE0 in uso.",email_does_not_exist:"L'utente con questa email non esiste",item_unit_already_taken:"Questo nome item \xE8 gi\xE0 utilizzato",payment_mode_already_taken:"Questa modalit\xE0 di pagamento \xE8 gi\xE0 stata inserita.",send_reset_link:"Invia Link di Reset",not_yet:"Non ancora? Invia di nuovo",password_min_length:"La password deve contenere {count} caratteri",name_min_length:"Il nome deve avere almeno {count} lettere.",enter_valid_tax_rate:"Inserisci un tasso di imposta valido",numbers_only:"Solo numeri.",characters_only:"Solo caratteri.",password_incorrect:"La Password deve essere identica",password_length:"La password deve essere lunga {count} caratteri.",qty_must_greater_than_zero:"La quantit\xE0 deve essere maggiore di zero.",price_greater_than_zero:"Il prezzo deve essere maggiore di zero.",payment_greater_than_zero:"Il pagamento deve essere maggiore di zero.",payment_greater_than_due_amount:"Il pagamento inserito \xE8 maggiore di quello indicato in fattura.",quantity_maxlength:"La Quantit\xE0 non pu\xF2 essere maggiore di 20 cifre.",price_maxlength:"Il prezzo non pu\xF2 contenere pi\xF9 di 20 cifre.",price_minvalue:"Il prezzo deve essere maggiore di 0.",amount_maxlength:"La somma non deve contenere pi\xF9 di 20 cifre.",amount_minvalue:"La somma deve essere maggiore di 0.",description_maxlength:"La Descrizione non deve superare i 255 caratteri.",subject_maxlength:"L'Oggetto non deve superare i 100 caratter.",message_maxlength:"Il messaggio non pu\xF2 superare i 255 caratteri.",maximum_options_error:"Massimo di {max} opzioni selezionate. Per selezionare un'altra opzione deseleziona prima una opzione.",notes_maxlength:"Le note non possono superare i 255 caratteri.",address_maxlength:"L'Indirizzo non pu\xF2 eccedere i 255 caratteri.",ref_number_maxlength:"Il Numero di Riferimento non pu\xF2 superare i 255 caratteri.",prefix_maxlength:"Il Prefisso non pu\xF2 superare i 5 caratteri.",something_went_wrong:"Si \xE8 verificato un errore"},c_="Preventivo",__="Preventivo Numero",u_="Data preventivo",m_="Expiry date",p_="Fattura",g_="Numero Fattura",f_="Data fattura",h_="Due date",v_="Note",y_="Commesse",b_="Quantit\xE0",k_="Prezzo",w_="Sconto",x_="Ammontare",z_="Subtotal",S_="Totale",P_="Payment",j_="PAYMENT RECEIPT",D_="Payment Date",C_="Numero di pagamento",A_="Modalit\xE0 di Pagamento",N_="Amount Received",E_="EXPENSES REPORT",T_="TOTAL EXPENSE",I_="PROFIT & LOSS REPORT",$_="Sales Customer Report",R_="Sales Item Report",F_="Tax Summary Report",M_="INCOME",B_="NET PROFIT",V_="Sales Report: By Customer",O_="TOTAL SALES",L_="Sales Report: By Item",U_="TAX REPORT",K_="TOTAL TAX",q_="Tipi di Imposta",W_="Uscite",Z_="Fattura a,",H_="Invia a,",G_="Received from:",Y_="imposta";var J_={navigation:Zc,general:Hc,dashboard:Gc,tax_types:Yc,global_search:Jc,customers:Xc,items:Qc,estimates:e_,invoices:t_,payments:a_,expenses:s_,login:n_,users:i_,reports:o_,settings:r_,wizard:d_,validation:l_,pdf_estimate_label:c_,pdf_estimate_number:__,pdf_estimate_date:u_,pdf_estimate_expire_date:m_,pdf_invoice_label:p_,pdf_invoice_number:g_,pdf_invoice_date:f_,pdf_invoice_due_date:h_,pdf_notes:v_,pdf_items_label:y_,pdf_quantity_label:b_,pdf_price_label:k_,pdf_discount_label:w_,pdf_amount_label:x_,pdf_subtotal:z_,pdf_total:S_,pdf_payment_label:P_,pdf_payment_receipt_label:j_,pdf_payment_date:D_,pdf_payment_number:C_,pdf_payment_mode:A_,pdf_payment_amount_received_label:N_,pdf_expense_report_label:E_,pdf_total_expenses_label:T_,pdf_profit_loss_label:I_,pdf_sales_customers_label:$_,pdf_sales_items_label:R_,pdf_tax_summery_label:F_,pdf_income_label:M_,pdf_net_profit_label:B_,pdf_customer_sales_report:V_,pdf_total_sales_label:O_,pdf_item_sales_label:L_,pdf_tax_report_label:U_,pdf_total_tax_label:K_,pdf_tax_types_label:q_,pdf_expenses_label:W_,pdf_bill_to:Z_,pdf_ship_to:H_,pdf_received_from:G_,pdf_tax_label:Y_};const X_={dashboard:"Komandna tabla",customers:"Klijenti",items:"Stavke",invoices:"Fakture",expenses:"Rashodi",estimates:"Profakture",payments:"Uplate",reports:"Izve\u0161taji",settings:"Pode\u0161avanja",logout:"Odjavi se",users:"Korisnici"},Q_={add_company:"Dodaj kompaniju",view_pdf:"Pogledaj PDF",copy_pdf_url:"Kopiraj PDF link",download_pdf:"Preuzmi PDF",save:"Sa\u010Duvaj",create:"Napravi",cancel:"Otka\u017Ei",update:"A\u017Euriraj",deselect:"Poni\u0161ti izbor",download:"Preuzmi",from_date:"Od Datuma",to_date:"Do Datuma",from:"Po\u0161iljalac",to:"Primalac",sort_by:"Rasporedi Po",ascending:"Rastu\u0107e",descending:"Opadaju\u0107e",subject:"Predmet",body:"Telo",message:"Poruka",send:"Po\u0161alji",go_back:"Idi nazad",back_to_login:"Nazad na prijavu?",home:"Po\u010Detna",filter:"Filter",delete:"Obri\u0161i",edit:"Izmeni",view:"Pogledaj",add_new_item:"Dodaj novu stavku",clear_all:"Izbri\u0161i sve",showing:"Prikazivanje",of:"od",actions:"Akcije",subtotal:"UKUPNO",discount:"POPUST",fixed:"Fiksno",percentage:"Procenat",tax:"POREZ",total_amount:"UKUPAN IZNOS",bill_to:"Ra\u010Dun za",ship_to:"Isporu\u010Diti za",due:"Du\u017Ean",draft:"U izradi",sent:"Poslato",all:"Sve",select_all:"Izaberi sve",choose_file:"Klikni ovde da izabere\u0161 fajl",choose_template:"Izaberi \u0161ablon",choose:"Izaberi",remove:"Ukloni",powered_by:"Pokre\u0107e",bytefury:"Bytefury",select_a_status:"Izaberi status",select_a_tax:"Izaberi porez",search:"Pretraga",are_you_sure:"Da li ste sigurni?",list_is_empty:"Lista je prazna.",no_tax_found:"Porez nije prona\u0111en!",four_zero_four:"404",you_got_lost:"Ups! Izgubio si se!",go_home:"Idi na po\u010Detnu stranicu",test_mail_conf:"Testiraj pode\u0161avanje Po\u0161te",send_mail_successfully:"Po\u0161ta uspe\u0161no poslata",setting_updated:"Pode\u0161avanje uspe\u0161no a\u017Eurirano",select_state:"Odaberi saveznu dr\u017Eavu",select_country:"Odaberi dr\u017Eavu",select_city:"Odaberi grad",street_1:"Adresa 1",street_2:"Adresa 2",action_failed:"Akcija nije uspela",retry:"Poku\u0161aj ponovo",choose_note:"Odaberi napomenu",no_note_found:"Ne postoje sa\u010Duvane napomene",insert_note:"Unesi bele\u0161ku",copied_pdf_url_clipboard:"Link do PDF fajla kopiran!"},eu={select_year:"Odaberi godinu",cards:{due_amount:"Du\u017Ean iznos",customers:"Klijenti",invoices:"Fakture",estimates:"Profakture"},chart_info:{total_sales:"Prodaja",total_receipts:"Ra\u010Duni",total_expense:"Rashodi",net_income:"Prihod NETO",year:"Odaberi godinu"},monthly_chart:{title:"Prodaja & Rashodi"},recent_invoices_card:{title:"Dospele fakture",due_on:"Datum dospevanja",customer:"Klijent",amount_due:"Iznos dospe\u0107a",actions:"Akcije",view_all:"Pogledaj sve"},recent_estimate_card:{title:"Nedavne profakture",date:"Datum",customer:"Klijent",amount_due:"Iznos dospe\u0107a",actions:"Akcije",view_all:"Pogledaj sve"}},tu={name:"Naziv",description:"Opis",percent:"Procenat",compound_tax:"Slo\u017Eeni porez"},au={search:"Pretraga...",customers:"Klijenti",users:"Korisnici",no_results_found:"Nema rezultata"},su={title:"Klijenti",add_customer:"Dodaj Klijenta",contacts_list:"Lista klijenata",name:"Naziv",mail:"Mail | Mail-ovi",statement:"Izjava",display_name:"Naziv koji se prikazuje",primary_contact_name:"Primarna kontakt osoba",contact_name:"Naziv kontakt osobe",amount_due:"Iznos dospe\u0107a",email:"Email",address:"Adresa",phone:"Telefon",website:"Veb stranica",overview:"Pregled",enable_portal:"Uklju\u010Di portal",country:"Dr\u017Eava",state:"Savezna dr\u017Eava",city:"Grad",zip_code:"Po\u0161tanski broj",added_on:"Datum dodavanja",action:"Akcija",password:"\u0160ifra",street_number:"Broj ulice",primary_currency:"Primarna valuta",description:"Opis",add_new_customer:"Dodaj novog klijenta",save_customer:"Sa\u010Duvaj klijenta",update_customer:"A\u017Euriraj klijenta",customer:"Klijent | Klijenti",new_customer:"Nov klijent",edit_customer:"Izmeni klijenta",basic_info:"Osnovne informacije",billing_address:"Adresa za naplatu",shipping_address:"Adresa za dostavu",copy_billing_address:"Kopiraj iz adrese za naplatu",no_customers:"Jo\u0161 uvek nema klijenata!",no_customers_found:"Klijenti nisu prona\u0111eni!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"Ova sekcija \u0107e da sadr\u017Ei spisak klijenata.",primary_display_name:"Primarni naziv koji se prikazuje",select_currency:"Odaberi valutu",select_a_customer:"Odaberi klijenta",type_or_click:"Unesi tekst ili klikni da izabere\u0161",new_transaction:"Nova transakcija",no_matching_customers:"Ne postoje klijenti koji odgovaraju pretrazi!",phone_number:"Broj telefona",create_date:"Datum kreiranja",confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovog klijenta i sve njegove Fakture, Profakture i Uplate. | Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ove klijente i njihove Fakture, Profakture i Uplate.",created_message:"Klijent uspe\u0161no kreiran",updated_message:"Klijent uspe\u0161no a\u017Euriran",deleted_message:"Klijent uspe\u0161no obrisan | Klijenti uspe\u0161no obrisani"},nu={title:"Stavke",items_list:"Lista stavki",name:"Naziv",unit:"Jedinica",description:"Opis",added_on:"Datum dodavanja",price:"Cena",date_of_creation:"Datum kreiranja",not_selected:"No item selected",action:"Akcije",add_item:"Dodaj Stavku",save_item:"Sa\u010Duvaj Stavku",update_item:"A\u017Euriraj Stavku",item:"Stavka | Stavke",add_new_item:"Dodaj novu stavku",new_item:"Nova stavka",edit_item:"Izmeni stavku",no_items:"Jo\u0161 uvek nema stavki!",list_of_items:"Ova sekcija \u0107e da sadr\u017Ei spisak stavki.",select_a_unit:"odaberi jedinicu",taxes:"Porezi",item_attached_message:"Nije dozvoljeno brisanje stavke koje se koristi",confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovu Stavku | Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ove Stavke",created_message:"Stavka uspe\u0161no kreirana",updated_message:"Stavka uspe\u0161no a\u017Eurirana",deleted_message:"Stavka uspe\u0161no obrisana | Stavke uspe\u0161no obrisane"},iu={title:"Profakture",estimate:"Profaktura | Profakture",estimates_list:"Lista profaktura",days:"{days} Dan",months:"{months} Mesec",years:"{years} Godina",all:"Sve",paid:"Pla\u0107eno",unpaid:"Nepla\u0107eno",customer:"KLIJENT",ref_no:"POZIV NA BROJ",number:"BROJ",amount_due:"IZNOS DOSPE\u0106A",partially_paid:"Delimi\u010Dno Pla\u0107eno",total:"Ukupno za pla\u0107anje",discount:"Popust",sub_total:"Osnovica za obra\u010Dun PDV-a",estimate_number:"Broj profakture",ref_number:"Poziv na broj",contact:"Kontakt",add_item:"Dodaj stavku",date:"Datum",due_date:"Datum Dospe\u0107a",expiry_date:"Datum Isteka",status:"Status",add_tax:"Dodaj Porez",amount:"Iznos",action:"Akcija",notes:"Napomena",tax:"Porez",estimate_template:"\u0160ablon",convert_to_invoice:"Pretvori u Fakturu",mark_as_sent:"Ozna\u010Di kao Poslato",send_estimate:"Po\u0161alji Profakturu",resend_estimate:"Ponovo po\u0161alji Profakturu",record_payment:"Unesi uplatu",add_estimate:"Dodaj Profakturu",save_estimate:"Sa\u010Duvaj Profakturu",confirm_conversion:"Detalji ove Profakture \u0107e biti iskori\u0161\u0107eni za pravljenje Fakture.",conversion_message:"Faktura uspe\u0161no kreirana",confirm_send_estimate:"Ova Profaktura \u0107e biti poslata putem Email-a klijentu",confirm_mark_as_sent:"Ova Profaktura \u0107e biti ozna\u010Dena kao Poslata",confirm_mark_as_accepted:"Ova Profaktura \u0107e biti ozna\u010Dena kao Prihva\u0107ena",confirm_mark_as_rejected:"Ova Profaktura \u0107e biti ozna\u010Dena kao Odbijena",no_matching_estimates:"Ne postoji odgovaraju\u0107a profaktura!",mark_as_sent_successfully:"Profaktura uspe\u0161no ozna\u010Dena kao Poslata",send_estimate_successfully:"Profaktura uspe\u0161no poslata",errors:{required:"Polje je obavezno"},accepted:"Prihva\u0107eno",rejected:"Rejected",sent:"Poslato",draft:"U izradi",declined:"Odbijeno",new_estimate:"Nova Profaktura",add_new_estimate:"Dodaj novu Profakturu",update_Estimate:"A\u017Euriraj Profakturu",edit_estimate:"Izmeni Profakturu",items:"stavke",Estimate:"Profaktura | Profakture",add_new_tax:"Dodaj nov Porez",no_estimates:"Jo\u0161 uvek nema Profaktura!",list_of_estimates:"Ova sekcija \u0107e da sadr\u017Ei spisak Profaktura.",mark_as_rejected:"Ozna\u010Di kao odbijeno",mark_as_accepted:"Ozna\u010Di kao prihva\u0107eno",marked_as_accepted_message:"Profaktura ozna\u010Dena kao prihva\u0107ena",marked_as_rejected_message:"Profaktura ozna\u010Dena kao odbijena",confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovu Profakturu | Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ove Profakture",created_message:"Profaktura uspe\u0161no kreirana",updated_message:"Profaktura uspe\u0161no a\u017Eurirana",deleted_message:"Profaktura uspe\u0161no obrisana | Profakture uspe\u0161no obrisane",something_went_wrong:"ne\u0161to je krenulo naopako",item:{title:"Naziv stavke",description:"Opis",quantity:"Koli\u010Dina",price:"Cena",discount:"Popust",total:"Ukupno za pla\u0107anje",total_discount:"Ukupan popust",sub_total:"Ukupno",tax:"Porez",amount:"Iznos",select_an_item:"Unesi tekst ili klikni da izabere\u0161",type_item_description:"Unesi opis Stavke (nije obavezno)"}},ou={title:"Fakture",invoices_list:"List Faktura",days:"{days} dan",months:"{months} Mesec",years:"{years} Godina",all:"Sve",paid:"Pla\u0107eno",unpaid:"Nepla\u0107eno",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"KLIJENT",paid_status:"STATUS UPLATE",ref_no:"POZIV NA BROJ",number:"BROJ",amount_due:"IZNOS DOSPE\u0106A",partially_paid:"Delimi\u010Dno pla\u0107eno",total:"Ukupno za pla\u0107anje",discount:"Popust",sub_total:"Osnovica za obra\u010Dun PDV-a",invoice:"Faktura | Fakture",invoice_number:"Broj Fakture",ref_number:"Poziv na broj",contact:"Kontakt",add_item:"Dodaj Stavku",date:"Datum",due_date:"Datum Dospe\u0107a",status:"Status",add_tax:"Dodaj Porez",amount:"Iznos",action:"Akcija",notes:"Napomena",view:"Pogledaj",send_invoice:"Po\u0161alji Fakturu",resend_invoice:"Ponovo po\u0161alji Fakturu",invoice_template:"\u0160ablon Fakture",template:"\u0160ablon",mark_as_sent:"Ozna\u010Di kao Poslato",confirm_send_invoice:"Ova Faktura \u0107e biti poslata putem Email-a klijentu",invoice_mark_as_sent:"Ova Faktura \u0107e biti ozna\u010Dena kao poslata",confirm_send:"Ova Faktura \u0107e biti poslata putem Email-a klijentu",invoice_date:"Datum Fakture",record_payment:"Unesi Uplatu",add_new_invoice:"Dodaj novu Fakturu",update_expense:"A\u017Euriraj Rashod",edit_invoice:"Izmeni Fakturu",new_invoice:"Nova Faktura",save_invoice:"Sa\u010Duvaj Fakturu",update_invoice:"A\u017Euriraj Fakturu",add_new_tax:"Dodaj nov Porez",no_invoices:"Jo\u0161 uvek nema Faktura!",list_of_invoices:"Ova sekcija \u0107e da sadr\u017Ei spisak Faktura.",select_invoice:"Odaberi Fakturu",no_matching_invoices:"Ne postoje Fakture koje odgovaraju pretrazi!",mark_as_sent_successfully:"Faktura uspe\u0161no ozna\u010Dena kao Poslata",invoice_sent_successfully:"Faktura uspe\u0161no poslata",cloned_successfully:"Uspe\u0161no napravljen duplikat Fakture",clone_invoice:"Napravi duplikat",confirm_clone:"Ova Faktura \u0107e biti duplikat nove Fakture",item:{title:"Naziv Stavke",description:"Opis",quantity:"Koli\u010Dina",price:"Cena",discount:"Popust",total:"Ukupno za pla\u0107anje",total_discount:"Ukupan popust",sub_total:"Ukupno",tax:"Porez",amount:"Iznos",select_an_item:"Unesi tekst ili klikni da izabere\u0161",type_item_description:"Unesi opis Stavke (nije obavezno)"},confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovu Fakturu | Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ove Fakture",created_message:"Faktura uspe\u0161no kreirana",updated_message:"Faktura uspe\u0161no a\u017Eurirana",deleted_message:"Faktura uspe\u0161no obrisana | Fakture uspe\u0161no obrisane",marked_as_sent_message:"Faktura ozna\u010Dena kao uspe\u0161no poslata",something_went_wrong:"ne\u0161to je krenulo naopako",invalid_due_amount_message:"Ukupan iznos za pla\u0107anje u fakturi ne mo\u017Ee biti manji od iznosa uplate za ovu fakturu. Molim Vas a\u017Eurirajte fakturu ili obri\u0161ite uplate koje su povezane sa ovom fakturom da bi nastavili."},ru={title:"Uplate",payments_list:"Lista uplata",record_payment:"Unesi Uplatu",customer:"Klijent",date:"Datum",amount:"Iznos",action:"Akcija",payment_number:"Broj uplate",payment_mode:"Na\u010Din pla\u0107anja",invoice:"Faktura",note:"Napomena",add_payment:"Dodaj Uplatu",new_payment:"Nova Uplata",edit_payment:"Izmeni Uplatu",view_payment:"Vidi Uplatu",add_new_payment:"Dodaj Novu Uplatu",send_payment_receipt:"Po\u0161alji potvrdu o uplati",send_payment:"Po\u0161alji Uplatu",save_payment:"Sa\u010Duvaj Uplatu",update_payment:"A\u017Euriraj Uplatu",payment:"Uplata | Uplate",no_payments:"Jo\u0161 uvek nema uplata!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"Ne postoje uplate koje odgovaraju pretrazi!",list_of_payments:"Ova sekcija \u0107e da sadr\u017Ei listu uplata.",select_payment_mode:"Odaberi na\u010Din pla\u0107anja",confirm_mark_as_sent:"Ovo pla\u0107anje \u0107e biti ozna\u010Dena kao Poslata",confirm_send_payment:"Ovo pla\u0107anje \u0107e biti poslato putem Email-a klijentu",send_payment_successfully:"Pla\u0107anje uspe\u0161no poslato",something_went_wrong:"ne\u0161to je krenulo naopako",confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovu Uplatu | Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ove Uplate",created_message:"Uplata uspe\u0161no kreirana",updated_message:"Uplata uspe\u0161no a\u017Eurirana",deleted_message:"Uplata uspe\u0161no obrisana | Uplate uspe\u0161no obrisane",invalid_amount_message:"Iznos Uplate je pogre\u0161an"},du={title:"Rashodi",expenses_list:"Lista Rashoda",select_a_customer:"Odaberi klijenta",expense_title:"Naslov",customer:"Klijent",contact:"Kontakt",category:"Kategorija",from_date:"Datum od",to_date:"Datum do",expense_date:"Datum",description:"Opis",receipt:"Ra\u010Dun",amount:"Iznos",action:"Akcija",not_selected:"Not selected",note:"Napomena",category_id:"ID kategorije",date:"Datum",add_expense:"Dodaj Rashod",add_new_expense:"Dodaj Novi Rashod",save_expense:"Sa\u010Duvaj Rashod",update_expense:"A\u017Euriraj Rashod",download_receipt:"Preuzmi Ra\u010Dun",edit_expense:"Izmeni Rashod",new_expense:"Novi Rashod",expense:"Rashod | Rashodi",no_expenses:"Jo\u0161 uvek nema rashoda!",list_of_expenses:"Ova sekcija \u0107e da sadr\u017Ei listu rashoda.",confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovaj Rashod | Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ove Rashode",created_message:"Rashod uspe\u0161no kreiran",updated_message:"Rashod uspe\u0161no a\u017Euriran",deleted_message:"Rashod uspe\u0161no obrisan | Rashodi uspe\u0161no obrisani",categories:{categories_list:"Lista Kategorija",title:"Naslov",name:"Naziv",description:"Opis",amount:"Iznos",actions:"Akcije",add_category:"Dodaj Kategoriju",new_category:"Nova Kategorija",category:"Kategorija | Kategorije",select_a_category:"Izaberi kategoriju"}},lu={email:"Email",password:"\u0160ifra",forgot_password:"Zaboravili ste \u0161ifru?",or_signIn_with:"ili se prijavite sa",login:"Prijava",register:"Registracija",reset_password:"Restujte \u0161ifru",password_reset_successfully:"\u0160ifra Uspe\u0161no Resetovana",enter_email:"Unesi email",enter_password:"Unesi \u0161ifru",retype_password:"Ponovo unesi \u0161ifru"},cu={title:"Korisnici",users_list:"Lista korisnika",name:"Ime i prezime",description:"Opis",added_on:"Datum dodavanja",date_of_creation:"Datum kreiranja",action:"Akcija",add_user:"Dodaj Korisnika",save_user:"Sa\u010Duvaj Korisnika",update_user:"A\u017Euriraj Korisnika",user:"Korisnik | Korisnici",add_new_user:"Dodaj novog korisnika",new_user:"Nov Korisnik",edit_user:"Izmeni Korisnika",no_users:"Jo\u0161 uvek nema korisnika!",list_of_users:"Ova sekcija \u0107e da sadr\u017Ei listu korisnika.",email:"Email",phone:"Broj telefona",password:"\u0160ifra",user_attached_message:"Ne mo\u017Eete obrisati stavku koja je ve\u0107 u upotrebi",confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovog Korisnika | Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ove Korisnike",created_message:"Korisnik uspe\u0161no napravljen",updated_message:"Korisnik uspe\u0161no a\u017Euriran",deleted_message:"Korisnik uspe\u0161no obrisan | Korisnici uspe\u0161no obrisani"},_u={title:"Izve\u0161taj",from_date:"Datum od",to_date:"Datum do",status:"Status",paid:"Pla\u0107eno",unpaid:"Nepla\u0107eno",download_pdf:"Preuzmi PDF",view_pdf:"Pogledaj PDF",update_report:"A\u017Euriraj Izve\u0161taj",report:"Izve\u0161taj | Izve\u0161taji",profit_loss:{profit_loss:"Prihod & Rashod",to_date:"Datum do",from_date:"Datum od",date_range:"Izaberi opseg datuma"},sales:{sales:"Prodaja",date_range:"Izaberi opseg datuma",to_date:"Datum do",from_date:"Datum od",report_type:"Tip Izve\u0161taja"},taxes:{taxes:"Porezi",to_date:"Datum do",from_date:"Datum od",date_range:"Izaberi opseg datuma"},errors:{required:"Polje je obavezno"},invoices:{invoice:"Faktura",invoice_date:"Datum Fakture",due_date:"Datum Dospe\u0107a",amount:"Iznos",contact_name:"Ime Kontakta",status:"Status"},estimates:{estimate:"Profaktura",estimate_date:"Datum Profakture",due_date:"Datum Dospe\u0107a",estimate_number:"Broj Profakture",ref_number:"Poziv na broj",amount:"Iznos",contact_name:"Ime Kontakta",status:"Status"},expenses:{expenses:"Rashodi",category:"Kategorija",date:"Datum",amount:"Iznos",to_date:"Datum do",from_date:"Datum od",date_range:"Izaberi opseg datuma"}},uu={menu_title:{account_settings:"Pode\u0161avanje Naloga",company_information:"Podaci o firmi",customization:"Prilago\u0111avanje",preferences:"Preferencija",notifications:"Obave\u0161tenja",tax_types:"Tipovi Poreza",expense_category:"Kategorije Rashoda",update_app:"A\u017Euriraj Aplikaciju",backup:"Bekap",file_disk:"File Disk",custom_fields:"Prilago\u0111ena polja",payment_modes:"Na\u010Din pla\u0107anja",notes:"Napomene"},title:"Pode\u0161avanja",setting:"Pode\u0161avanje | Pode\u0161avanja",general:"Op\u0161te",language:"Jezik",primary_currency:"Primarna Valuta",timezone:"Vremenska Zona",date_format:"Format Datuma",currencies:{title:"Valute",currency:"Valuta | Valute",currencies_list:"Lista Valuta",select_currency:"Odaberi Valutu",name:"Naziv",code:"Kod",symbol:"Simbol",precision:"Preciznost",thousand_separator:"Separator za hiljade",decimal_separator:"Separator za decimale",position:"Pozicija",position_of_symbol:"Pozicija simbola",right:"Desno",left:"Levo",action:"Akcija",add_currency:"Dodaj Valutu"},mail:{host:"Mail Host",port:"Mail Port",driver:"Mail Driver",secret:"\u0160ifra",mailgun_secret:"Mailgun \u0160ifra",mailgun_domain:"Domain",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES \u0160ifra",ses_key:"SES Klju\u010D",password:"Mail \u0160ifra",username:"Mail Korisni\u010Dko Ime",mail_config:"Mail Pode\u0161avanje",from_name:"Naziv po\u0161iljaoca",from_mail:"E-mail adresa po\u0161iljaoca",encryption:"E-mail enkripcija",mail_config_desc:"Ispod se nalazi forma za pode\u0161avanje E-mail drajvera za slanje po\u0161te iz aplikacije. Tako\u0111e mo\u017Eete podesiti provajdere tre\u0107e strane kao Sendgrid, SES itd."},pdf:{title:"PDF Pode\u0161avanje",footer_text:"Tekstualno zaglavlje na dnu strane",pdf_layout:"PDF Raspored"},company_info:{company_info:"Podaci o firmi",company_name:"Naziv firme",company_logo:"Logo firme",section_description:"Informacije o Va\u0161oj firmi \u0107e biti prikazane na fakturama, profakturama i drugim dokumentima koji se prave u ovoj aplikaciji.",phone:"Telefon",country:"Dr\u017Eava",state:"Savezna Dr\u017Eava",city:"Grad",address:"Adresa",zip:"Po\u0161tanski broj",save:"Sa\u010Duvaj",updated_message:"Podaci o firmi uspe\u0161no sa\u010Duvani"},custom_fields:{title:"Prilago\u0111ena polja",section_description:"Prilagodite va\u0161e Fakture, Profakture i Uplate (priznanice) sa svojim poljima. Postarajte se da koristite polja navedena ispod na formatu adrese na stranici Pode\u0161avanja/Prilago\u0111avanje.",add_custom_field:"Dodaj prilago\u0111eno polje",edit_custom_field:"Izmeni prilago\u0111eno polje",field_name:"Naziv polja",label:"Oznaka",type:"Tip",name:"Naziv",required:"Obavezno",placeholder:"Opis polja (Placeholder)",help_text:"Pomo\u0107ni tekst",default_value:"Podrazumevana vrednost",prefix:"Prefiks",starting_number:"Po\u010Detni broj",model:"Model",help_text_description:"Unesite opis koji \u0107e pomo\u0107i korisnicima da razumeju svrhu ovog prilago\u0111enog polja.",suffix:"Sufiks",yes:"Da",no:"Ne",order:"Redosled",custom_field_confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovo prilago\u0111eno polje",already_in_use:"Prilago\u0111eno polje je ve\u0107 u upotrebi",deleted_message:"Prilago\u0111eno polje je uspe\u0161no obrisano",options:"opcije",add_option:"Dodaj opcije",add_another_option:"Dodaj jo\u0161 jednu opciju",sort_in_alphabetical_order:"Pore\u0111aj po Abecedi",add_options_in_bulk:"Grupno dodavanje opcija",use_predefined_options:"Koristi predefinisane opcije",select_custom_date:"Odaberi datum",select_relative_date:"Odaberi relativan datum",ticked_by_default:"Podrazumevano odabrano",updated_message:"Prilago\u0111eno polje uspe\u0161no a\u017Eurirano",added_message:"Prilago\u0111eno polje uspe\u0161no dodato"},customization:{customization:"prilago\u0111avanje",save:"Sa\u010Duvaj",addresses:{title:"Adrese",section_description:"Mo\u017Eete podesiti format adrese klijenta za naplatu i adrese klijenta za dostavu (Prikazano samo u PDF-u)",customer_billing_address:"Adresa za naplatu klijentu",customer_shipping_address:"Adresa za dostavu klijentu",company_address:"Adresa Firme",insert_fields:"Dodaj Polja",contact:"Kontakt",address:"Adresa",display_name:"Naziv koji se prikazuje",primary_contact_name:"Primarna kontakt osoba",email:"Email",website:"Veb stranica",name:"Naziv",country:"Dr\u017Eava",state:"Savezna Dr\u017Eava",city:"Grad",company_name:"Naziv Firme",address_street_1:"Adresa 1",address_street_2:"Adresa 2",phone:"Telefon",zip_code:"Po\u0161tanski broj",address_setting_updated:"Pode\u0161avanje adrese uspe\u0161no a\u017Eurirano"},updated_message:"Podaci o firmi su uspe\u0161no a\u017Eurirani",invoices:{title:"Fakture",notes:"Napomene",invoice_prefix:"Prefiks faktura",default_invoice_email_body:"Podrazumevan sadr\u017Eaj email-a za Fakture",invoice_settings:"Pode\u0161avanje za fakture",autogenerate_invoice_number:"Automatski-generi\u0161i broj fakture",autogenerate_invoice_number_desc:"Onemogu\u0107i ovo, Ako Vi ne \u017Eelite da automatski-generi\u0161ete broj fakture kada pravite novu fakturu.",enter_invoice_prefix:"Unesite prefiks fakture",terms_and_conditions:"Uslovi Kori\u0161\u0107enja",company_address_format:"Format adrese firme",shipping_address_format:"Format adrese za dostavu firme",billing_address_format:"Format adrese za naplatu firme",invoice_settings_updated:"Pode\u0161avanje za fakture je uspe\u0161no sa\u010Duvano"},estimates:{title:"Profakture",estimate_prefix:"Prefiks profaktura",default_estimate_email_body:"Podrazumevan sadr\u017Eaj email-a za Profakture",estimate_settings:"Pode\u0161avanje za profakture",autogenerate_estimate_number:"Automatski-generi\u0161i broj profakture",estimate_setting_description:"Onemogu\u0107i ovo, Ako Vi ne \u017Eelite da automatski-generi\u0161ete broj profakture kada pravite novu profakturu.",enter_estimate_prefix:"Unesite prefiks profakture",estimate_setting_updated:"Pode\u0161avanje za profakture je uspe\u0161no sa\u010Duvano",company_address_format:"Format adrese firme",billing_address_format:"Format adrese za naplatu firme",shipping_address_format:"Format adrese za dostavu firme"},payments:{title:"Uplate",description:"Na\u010Din pla\u0107anja",payment_prefix:"Prefiks uplata",default_payment_email_body:"Podrazumevan sadr\u017Eaj email-a za potvrdu o pla\u0107anju (ra\u010Dun)",payment_settings:"Pode\u0161avanje za pla\u0107anja",autogenerate_payment_number:"Automatski-generi\u0161i broj uplate",payment_setting_description:"Onemogu\u0107i ovo, Ako ne \u017Eelite da automatski-generi\u0161ete broj uplate kada pravite novu uplatu.",enter_payment_prefix:"Unesite prefiks uplate",payment_setting_updated:"Pode\u0161avanje za pla\u0107anja je uspe\u0161no sa\u010Duvano",payment_modes:"Na\u010Din Pla\u0107anja",add_payment_mode:"Dodaj na\u010Din pla\u0107anja",edit_payment_mode:"Izmeni na\u010Din pla\u0107anja",mode_name:"Na\u010Din pla\u0107anja",payment_mode_added:"Na\u010Din pla\u0107anja dodat",payment_mode_updated:"Na\u010Din pla\u0107anja a\u017Euriran",payment_mode_confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovaj Na\u010Din Pla\u0107anja",already_in_use:"Na\u010Din pla\u0107anja se ve\u0107 koristi",deleted_message:"Na\u010Din pla\u0107anja uspe\u0161no obrisan",company_address_format:"Format adrese firme",from_customer_address_format:"Format adrese klijenta"},items:{title:"Stavke",units:"Jedinice",add_item_unit:"Dodaj jedinicu stavke",edit_item_unit:"Izmeni jedinicu stavke",unit_name:"Naziv jedinice",item_unit_added:"Jedinica stavke dodata",item_unit_updated:"Jedinica stavke a\u017Eurirana",item_unit_confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovu jedinicu stavke",already_in_use:"Jedinica stavke se ve\u0107 koristi",deleted_message:"Jedinica stavke uspe\u0161no obrisana"},notes:{title:"Napomene",description:"U\u0161tedite vreme pravlje\u0107i napomene i koriste\u0107i ih na fakturama, profakturama i uplatama.",notes:"Napomene",type:"Tip",add_note:"Dodaj Napomenu",add_new_note:"Dodaj novu Napomenu",name:"Naziv",edit_note:"Izmeni Napomenu",note_added:"Napomena uspe\u0161no dodata",note_updated:"Napomena uspe\u0161no a\u017Eurirana",note_confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovu Napomenu",already_in_use:"Napomena se ve\u0107 koristi",deleted_message:"Napomena uspe\u0161no obrisana"}},account_settings:{profile_picture:"Profilna slika",name:"Ime i prezime",email:"Email",password:"\u0160ifra",confirm_password:"Potvrdi \u0161ifru",account_settings:"Pode\u0161avanje naloga",save:"Sa\u010Duvaj",section_description:"Mo\u017Eete a\u017Eurirati Va\u0161e ime i prezime, email, \u0161ifru koriste\u0107i formu ispod.",updated_message:"Pode\u0161avanje naloga uspe\u0161no a\u017Eurirano"},user_profile:{name:"Ime i prezime",email:"Email",password:"\u0160ifra",confirm_password:"Potvrdi \u0161ifru"},notification:{title:"Obave\u0161tenje",email:"\u0160alji obave\u0161tenja na",description:"Koja email obave\u0161tenja bi \u017Eeleli da dobijate kada se ne\u0161to promeni?",invoice_viewed:"Faktura gledana",invoice_viewed_desc:"Kada klijent pogleda fakturu koja je poslata putem ove aplikacije.",estimate_viewed:"Profaktura gledana",estimate_viewed_desc:"Kada klijent pogleda profakturu koja je poslata putem ove aplikacije.",save:"Sa\u010Duvaj",email_save_message:"Email uspe\u0161no sa\u010Duvan",please_enter_email:"Molim Vas unesite E-mail"},tax_types:{title:"Tipovi Poreza",add_tax:"Dodaj Porez",edit_tax:"Izmeni Porez",description:"Mo\u017Eete dodavati ili uklanjati poreze kako \u017Eelite. Ova aplikacija podr\u017Eava porez kako na individualnim stavkama tako i na fakturi.",add_new_tax:"Dodaj Nov Porez",tax_settings:"Pode\u0161avanje Poreza",tax_per_item:"Porez po Stavki",tax_name:"Naziv Poreza",compound_tax:"Slo\u017Een Porez",percent:"Procenat",action:"Akcija",tax_setting_description:"Izaberite ovo ako \u017Eelite da dodajete porez na individualne stavke. Podrazumevano pona\u0161anje je da je porez dodat direktno na fakturu.",created_message:"Tip poreza uspe\u0161no kreiran",updated_message:"Tip poreza uspe\u0161no a\u017Euriran",deleted_message:"Tip poreza uspe\u0161no obrisan",confirm_delete:"Ne\u0107ete mo\u0107i da povratite ovaj Tip Poreza",already_in_use:"Porez se ve\u0107 koristi"},expense_category:{title:"Kategorija Rashoda",action:"Akcija",description:"Kategorije su obavezne za dodavanje rashoda. Mo\u017Ee\u0161 da doda\u0161 ili obri\u0161e\u0161 ove kategorije po svojoj \u017Eelji.",add_new_category:"Dodaj novu kategoriju",add_category:"Dodaj kategoriju",edit_category:"Izmeni kategoriju",category_name:"Naziv kategorije",category_description:"Opis",created_message:"Kagetorija rashoda je uspe\u0161no kreirana",deleted_message:"Kategorija rashoda je uspe\u0161no izbrisana",updated_message:"Kategorija rashoda je uspe\u0161no a\u017Eurirana",confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovu kategoriju rashoda",already_in_use:"Kategorija se ve\u0107 koristi"},preferences:{currency:"Valuta",default_language:"Jezik",time_zone:"Vremenska Zona",fiscal_year:"Finansijska Godina",date_format:"Format datuma",discount_setting:"Pode\u0161avanja za popuste",discount_per_item:"Popust po stavci",discount_setting_description:"Izaberite ovo ako \u017Eelite da dodajete Popust na individualne stavke. Podrazumevano pona\u0161anje je da je Popust dodat direktno na fakturu.",save:"Sa\u010Duvaj",preference:"Preferencija | Preferencije",general_settings:"Podrazumevane preferencije za sistem",updated_message:"Preferencije su uspe\u0161no a\u017Eurirane",select_language:"Izaberi Jezik",select_time_zone:"Izaberi Vremensku Zonu",select_date_format:"Izaberi Format Datuma",select_financial_year:"Izaberi Finansijsku Godinu"},update_app:{title:"A\u017Euriraj aplikaciju",description:"Lako mo\u017Ee\u0161 da a\u017Eurira\u0161 Crater tako \u0161to \u0107e\u0161 uraditi proveru novih verzija klikom na polje ispod",check_update:"Proveri a\u017Euriranost",avail_update:"Dostupna je nova verzija",next_version:"Slede\u0107a verzija",requirements:"Zahtevi",update:"A\u017Euriraj sad",update_progress:"A\u017Euriranje je u toku...",progress_text:"Traja\u0107e svega par minuta. Nemojte osve\u017Eavati ili zatvoriti stranicu dok a\u017Euriranje ne bude gotovo",update_success:"Aplikacija je a\u017Eurirana! Molim Vas Sa\u010Dekajte da se stranica osve\u017Ei automatski.",latest_message:"Nema nove verzije! A\u017Eurirana poslednja verzija.",current_version:"Trenutna verzija",download_zip_file:"Preuzmi ZIP paket",unzipping_package:"Raspakivanje paketa",copying_files:"Kopiranje datoteka",deleting_files:"Brisanje fajlova koji nisu u upotrebi",running_migrations:"Migracije u toku",finishing_update:"Zavr\u0161avanje a\u017Euriranja",update_failed:"Neuspe\u0161no a\u017Euriranje",update_failed_text:"\u017Dao mi je! Tvoje a\u017Euriranje nije uspelo na koraku broj: {step} korak"},backup:{title:"Bekap | Bekapi",description:"Bekap je zip arhiva koja sadr\u017Ei sve fajlove iz foldera koje ste specificirali, tako\u0111e sadr\u017Ei bekap baze.",new_backup:"Dodaj novi Bekap",create_backup:"Napravi Bekap",select_backup_type:"Izaberi tip Bekapa",backup_confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovaj Bekap",path:"putanja",new_disk:"Novi Disk",created_at:"datum kreiranja",size:"veli\u010Dina",dropbox:"dropbox",local:"lokalni",healthy:"zdrav",amount_of_backups:"broj bekapa",newest_backups:"najnoviji bekapi",used_storage:"kori\u0161c\u0301eno skladi\u0161te",select_disk:"Izaberi Disk",action:"Akcija",deleted_message:"Bekap uspe\u0161no obrisan",created_message:"Bekap uspe\u0161no napravljen",invalid_disk_credentials:"Pogre\u0161ni kredencijali za odabrani disk"},disk:{title:"File Disk | File Disks",description:"Podrazumevano pona\u0161anje je da Crater koristi lokalni disk za \u010Duvanje bekapa, avatara i ostalih slika. Mo\u017Eete podesiti vi\u0161e od jednog disk drajvera od provajdera poput DigitalOcean, S3 i Dropbox po va\u0161oj \u017Eelji.",created_at:"datum kreiranja",dropbox:"dropbox",name:"Naziv",driver:"Drajver",disk_type:"Tip",disk_name:"Naziv Diska",new_disk:"Dodaj novi Disk",filesystem_driver:"Filesystem Driver",local_driver:"lokalni Drajver",local_root:"local Root",public_driver:"Public Driver",public_root:"Public Root",public_url:"Public URL",public_visibility:"Public Visibility",media_driver:"Media Driver",media_root:"Media Root",aws_driver:"AWS Driver",aws_key:"AWS Key",aws_secret:"AWS Secret",aws_region:"AWS Region",aws_bucket:"AWS Bucket",aws_root:"AWS Root",do_spaces_type:"Do Spaces type",do_spaces_key:"Do Spaces key",do_spaces_secret:"Do Spaces Secret",do_spaces_region:"Do Spaces Region",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces Endpoint",do_spaces_root:"Do Spaces Root",dropbox_type:"Dropbox Type",dropbox_token:"Dropbox Token",dropbox_key:"Dropbox Key",dropbox_secret:"Dropbox Secret",dropbox_app:"Dropbox App",dropbox_root:"Dropbox Root",default_driver:"Podrazumevani Drajver",is_default:"DA LI JE PODRAZUMEVAN",set_default_disk:"Postavi Podrazumevani Disk",set_default_disk_confirm:"Ovaj disk \u0107e biti postavljen kao podrazumevan i svi novi PDF fajlovi \u0107e biti sa\u010Duvani na ovom disku",success_set_default_disk:"Disk je uspe\u0161no postavljen kao podrazumevan",save_pdf_to_disk:"Sa\u010Duvaj PDF fajlove na Disk",disk_setting_description:" Uklju\u010Dite ovo ako \u017Eelite da sa\u010Duvate kopiju PDF fajla svake Fakture, Profakture i Uplate na va\u0161 podrazumevani disk automatski. Uklju\u010Divanjem ove opcije \u0107ete smanjiti vreme u\u010Ditavanja pri pregledu PDF fajlova.",select_disk:"Izaberi Disk",disk_settings:"Disk Pode\u0161avanja",confirm_delete:"Ovo ne\u0107e uticati na va\u0161e postoje\u0107e fajlove i foldere na navedenom disku, ali \u0107e se konfiguracija va\u0161eg diska izbrisati iz Cratera.",action:"Akcija",edit_file_disk:"Izmeni File Disk",success_create:"Disk uspe\u0161no dodat",success_update:"Disk uspe\u0161no a\u017Euriran",error:"Dodavanje diska nije uspelo",deleted_message:"File Disk uspe\u0161no obrisan",disk_variables_save_successfully:"Disk uspe\u0161no pode\u0161en",disk_variables_save_error:"Pode\u0161avanje diska nije uspelo.",invalid_disk_credentials:"Pogre\u0161an kredencijal za disk koji je naveden"}},mu={account_info:"Informacije o nalogu",account_info_desc:"Detalji u nastavku \u0107e se koristiti za kreiranje glavnog administratorskog naloga. Mogu\u0107e ih je izmeniti u bilo kom trenutku nakon prijavljivanja.",name:"Naziv",email:"E-mail",password:"\u0160ifra",confirm_password:"Potvrdi \u0161ifru",save_cont:"Sa\u010Duvaj & Nastavi",company_info:"Informacije o firmi",company_info_desc:"Ove informacije \u0107e biti prikazane na fakturama. Mogu\u0107e ih je izmeniti kasnije u pode\u0161avanjima.",company_name:"Naziv firme",company_logo:"Logo firme",logo_preview:"Pregled logoa",preferences:"Preference",preferences_desc:"Podrazumevane Preference za sistem",country:"Dr\u017Eava",state:"Savezna Dr\u017Eava",city:"Grad",address:"Adresa",street:"Ulica1 | Ulica2",phone:"Telefon",zip_code:"Po\u0161tanski broj",go_back:"Vrati se nazad",currency:"Valuta",language:"Jezik",time_zone:"Vremenska zona",fiscal_year:"Finansijska godina",date_format:"Format datuma",from_address:"Adresa po\u0161iljaoca",username:"Korisni\u010Dko ime",next:"Slede\u0107e",continue:"Nastavi",skip:"Presko\u010Di",database:{database:"URL stranice & baze podataka",connection:"Veza baze podataka",host:"Host baze podataka",port:"Port baze podataka",password:"\u0160ifra baze podataka",app_url:"URL aplikacije",app_domain:"Domen aplikacije",username:"Korisni\u010Dko ime baze podataka",db_name:"Naziv baze podataka",db_path:"Putanja do baze",desc:"Kreiraj bazu podataka na svom serveru i postavi kredencijale prate\u0107i obrazac u nastavku."},permissions:{permissions:"Dozvole",permission_confirm_title:"Da li ste sigurni da \u017Eelite da nastavite?",permission_confirm_desc:"Provera dozvola za foldere nije uspela",permission_desc:"U nastavku se nalazi lista dozvola za foldere koji su neophodni kako bi alikacija radila. Ukoliko provera dozvola ne uspe, a\u017Euriraj svoju listu dozvola za te foldere."},mail:{host:"Mail Host",port:"Mail Port",driver:"Mail drajver",secret:"\u0160ifra",mailgun_secret:"Mailgun \u0160ifra",mailgun_domain:"Domen",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES \u0160ifra",ses_key:"SES Klju\u010D",password:"\u0160ifra za e-mail",username:"Koristni\u010Dko ime za e-mail",mail_config:"E-mail konfigurisanje",from_name:"Naziv po\u0161iljaoca",from_mail:"E-mail adresa po\u0161iljaoca",encryption:"E-mail enkripcija",mail_config_desc:"Ispod se nalazi forma za pode\u0161avanje E-mail drajvera za slanje po\u0161te iz aplikacije. Tako\u0111e mo\u017Eete podesiti provajdere tre\u0107e strane kao Sendgrid, SES itd."},req:{system_req:"Sistemski zahtevi",php_req_version:"Zahteva se PHP verzija {version} ",check_req:"Proveri zahteve",system_req_desc:"Crater ima nekoliko zahteva za server. Proveri da li tvoj server ima potrebnu verziju PHP-a i sva navedena pro\u0161irenja navedena u nastavku"},errors:{migrate_failed:"Neuspe\u0161no migriranje",database_variables_save_error:"Konfiguraciju nije moguc\u0301e zapisati u .env datoteku. Proveri dozvole za datoteku",mail_variables_save_error:"E-mail konfigurisanje je neuspe\u0161no",connection_failed:"Neuspe\u0161na konekcija sa bazom podataka",database_should_be_empty:"Baza podataka treba da bude prazna"},success:{mail_variables_save_successfully:"E-mail je uspe\u0161no konfigurisan",database_variables_save_successfully:"Baza podataka je uspe\u0161no konfigurisana"}},pu={invalid_phone:"Pogre\u0161an Broj Telefona",invalid_url:"Neva\u017Ee\u0107i URL (primer: http://www.craterapp.com)",invalid_domain_url:"Pogre\u0161an URL (primer: craterapp.com)",required:"Obavezno polje",email_incorrect:"Pogre\u0161an E-mail",email_already_taken:"Navedeni E-mail je zauzet",email_does_not_exist:"Korisnik sa navedenom e-mail adresom ne postoji",item_unit_already_taken:"Naziv ove jedinice stavke je zauzet",payment_mode_already_taken:"Naziv ovog na\u010Dina pla\u0107anja je zauzet",send_reset_link:"Po\u0161alji link za resetovanje",not_yet:"Jo\u0161 uvek ni\u0161ta? Po\u0161alji ponovo",password_min_length:"\u0160ifra mora imati {count} karaktera",name_min_length:"Naziv mora imati najmanje {count} slova",enter_valid_tax_rate:"Unesite odgovaraju\u0107u poresku stopu",numbers_only:"Mogu se unositi samo brojevi",characters_only:"Mogu se unositi samo karakteri",password_incorrect:"\u0160ifra mora biti identi\u010Dna",password_length:"\u0160ifra mora imati {count} karaktera",qty_must_greater_than_zero:"Koli\u010Dina mora biti ve\u0107a od 0.",price_greater_than_zero:"Cena mora biti ve\u0107a od 0",payment_greater_than_zero:"Uplata mora biti ve\u0107a od 0",payment_greater_than_due_amount:"Uneta uplata je ve\u0107a od dospelog iznosa ove fakture",quantity_maxlength:"Koli\u010Dina ne mo\u017Ee imati vi\u0161e od 20 cifara",price_maxlength:"Cena ne mo\u017Ee imati vi\u0161e od 20 cifara",price_minvalue:"Cena mora biti ve\u0107a od 0",amount_maxlength:"Iznos ne mo\u017Ee da ima vi\u0161e od 20 cifara",amount_minvalue:"Iznos mora biti ve\u0107i od 0",description_maxlength:"Opis ne mo\u017Ee da ima vi\u0161e od 65,000 karaktera",subject_maxlength:"Predmet ne mo\u017Ee da ima vi\u0161e od 100 karaktera",message_maxlength:"Poruka ne mo\u017Ee da ima vi\u0161e od 255 karaktera",maximum_options_error:"Maksimalan broj opcija je izabran. Prvo uklonite izabranu opciju da biste izabrali drugu",notes_maxlength:"Napomena ne mo\u017Ee da ima vi\u0161e od 65,000 karaktera",address_maxlength:"Adresa ne mo\u017Ee da ima vi\u0161e od 255 karaktera",ref_number_maxlength:"Poziv na broj ne mo\u017Ee da ima vi\u0161e od 225 karaktera",prefix_maxlength:"Prefiks ne mo\u017Ee da ima vi\u0161e od 5 karaktera",something_went_wrong:"ne\u0161to je krenulo naopako"},gu="Profaktura",fu="Broj Profakture",hu="Datum Profakture",vu="Datum isteka Profakture",yu="Faktura",bu="Broj Fakture",ku="Datum Fakture",wu="Datum dospe\u0107a Fakture",xu="Napomena",zu="Stavke",Su="Koli\u010Dina",Pu="Cena",ju="Popust",Du="Iznos",Cu="Osnovica za obra\u010Dun PDV-a",Au="Ukupan iznos",Nu="Payment",Eu="POTVRDA O UPLATI",Tu="Datum Uplate",Iu="Broj Uplate",$u="Na\u010Din Uplate",Ru="Iznos Uplate",Fu="IZVE\u0160TAJ O RASHODIMA",Mu="RASHODI UKUPNO",Bu="IZVE\u0160TAJ O PRIHODIMA I RASHODIMA",Vu="Sales Customer Report",Ou="Sales Item Report",Lu="Tax Summary Report",Uu="PRIHOD",Ku="NETO PROFIT",qu="Izve\u0161taj o Prodaji: Po Klijentu",Wu="PRODAJA UKUPNO",Zu="Izve\u0161taj o Prodaji: Po Stavci",Hu="IZVE\u0160TAJ O POREZIMA",Gu="UKUPNO POREZ",Yu="Tipovi Poreza",Ju="Rashodi",Xu="Ra\u010Dun za,",Qu="Isporu\u010Diti za,",em="Poslat od strane:",tm="Tax";var am={navigation:X_,general:Q_,dashboard:eu,tax_types:tu,global_search:au,customers:su,items:nu,estimates:iu,invoices:ou,payments:ru,expenses:du,login:lu,users:cu,reports:_u,settings:uu,wizard:mu,validation:pu,pdf_estimate_label:gu,pdf_estimate_number:fu,pdf_estimate_date:hu,pdf_estimate_expire_date:vu,pdf_invoice_label:yu,pdf_invoice_number:bu,pdf_invoice_date:ku,pdf_invoice_due_date:wu,pdf_notes:xu,pdf_items_label:zu,pdf_quantity_label:Su,pdf_price_label:Pu,pdf_discount_label:ju,pdf_amount_label:Du,pdf_subtotal:Cu,pdf_total:Au,pdf_payment_label:Nu,pdf_payment_receipt_label:Eu,pdf_payment_date:Tu,pdf_payment_number:Iu,pdf_payment_mode:$u,pdf_payment_amount_received_label:Ru,pdf_expense_report_label:Fu,pdf_total_expenses_label:Mu,pdf_profit_loss_label:Bu,pdf_sales_customers_label:Vu,pdf_sales_items_label:Ou,pdf_tax_summery_label:Lu,pdf_income_label:Uu,pdf_net_profit_label:Ku,pdf_customer_sales_report:qu,pdf_total_sales_label:Wu,pdf_item_sales_label:Zu,pdf_tax_report_label:Hu,pdf_total_tax_label:Gu,pdf_tax_types_label:Yu,pdf_expenses_label:Ju,pdf_bill_to:Xu,pdf_ship_to:Qu,pdf_received_from:em,pdf_tax_label:tm};const sm={dashboard:"Overzicht",customers:"Klanten",items:"Artikelen",invoices:"Facturen",expenses:"Uitgaven",estimates:"Offertes",payments:"Betalingen",reports:"Rapporten",settings:"Instellingen",logout:"Uitloggen",users:"Gebruikers"},nm={add_company:"Bedrijf toevoegen",view_pdf:"Bekijk PDF",copy_pdf_url:"Kopieer PDF-URL",download_pdf:"Download PDF",save:"Opslaan",create:"Maak",cancel:"annuleren",update:"Bijwerken",deselect:"Maak de selectie ongedaan",download:"Downloaden",from_date:"Van datum",to_date:"Tot datum",from:"Van",to:"Naar",sort_by:"Sorteer op",ascending:"Oplopend",descending:"Aflopend",subject:"Onderwerp",body:"Inhoud",message:"Bericht",send:"Verstuur",go_back:"Ga terug",back_to_login:"Terug naar Inloggen?",home:"Home",filter:"Filter",delete:"Verwijderen",edit:"Bewerken",view:"Bekijken",add_new_item:"Voeg een nieuw item toe",clear_all:"Wis alles",showing:"Weergegeven",of:"van",actions:"Acties",subtotal:"SUBTOTAAL",discount:"KORTING",fixed:"Gemaakt",percentage:"Percentage",tax:"BELASTING",total_amount:"TOTAALBEDRAG",bill_to:"Rekening naar",ship_to:"Verzend naar",due:"Openstaand",draft:"Concept",sent:"Verzonden",all:"Alles",select_all:"Selecteer alles",choose_file:"Klik hier om een bestand te kiezen",choose_template:"Kies een sjabloon",choose:"Kiezen",remove:"Verwijderen",powered_by:"Mogelijk gemaakt door",bytefury:"Bytefury",select_a_status:"Selecteer een status",select_a_tax:"Selecteer een belasting",search:"Zoeken",are_you_sure:"Weet je het zeker?",list_is_empty:"Lijst is leeg.",no_tax_found:"Geen belasting gevonden!",four_zero_four:"404",you_got_lost:"Oeps!\xA0Je bent verdwaald!",go_home:"Ga naar home",test_mail_conf:"E-mailconfiguratie testen",send_mail_successfully:"Mail is succesvol verzonden",setting_updated:"Instelling succesvol bijgewerkt",select_state:"Selecteer staat",select_country:"Selecteer land",select_city:"Selecteer stad",street_1:"straat 1",street_2:"Straat # 2",action_failed:"Actie: mislukt",retry:"Retr",choose_note:"Kies notitie",no_note_found:"Geen notitie gevonden",insert_note:"Notitie invoegen"},im={select_year:"Selecteer jaar",cards:{due_amount:"Openstaand bedrag",customers:"Klanten",invoices:"Facturen",estimates:"Offertes"},chart_info:{total_sales:"Verkoop",total_receipts:"Inkomsten",total_expense:"Uitgaven",net_income:"Netto inkomen",year:"Selecteer jaar"},monthly_chart:{title:"Verkoop en kosten"},recent_invoices_card:{title:"Openstaande facturen",due_on:"Openstaand op",customer:"Klant",amount_due:"Openstaand bedrag",actions:"Acties",view_all:"Toon alles"},recent_estimate_card:{title:"Recente offertes",date:"Datum",customer:"Klant",amount_due:"Openstaand bedrag",actions:"Acties",view_all:"Toon alles"}},om={name:"Naam",description:"Omschrijving",percent:"Procent",compound_tax:"Verbinding Ta"},rm={search:"Zoeken...",customers:"Klanten",users:"Gebruikers",no_results_found:"Geen zoekresultaten"},dm={title:"Klanten",add_customer:"Klant toevoegen",contacts_list:"Klantenlijst",name:"Naam",mail:"Mail | Mails",statement:"Verklaring",display_name:"Weergavenaam",primary_contact_name:"Naam primaire contactpersoon",contact_name:"Contactnaam",amount_due:"Openstaand bedrag",email:"E-mail",address:"Adres",phone:"Telefoon",website:"Website",overview:"Overzicht",enable_portal:"Activeer Portaal",country:"Land",state:"Provincie",city:"Stad",zip_code:"Postcode",added_on:"Toegevoegd",action:"Actie",password:"Wachtwoord",street_number:"Huisnummer",primary_currency:"Primaire valuta",description:"Omschrijving",add_new_customer:"Nieuwe klant toevoegen",save_customer:"Klant opslaan",update_customer:"Klant bijwerken",customer:"Klant |\xA0Klanten",new_customer:"Nieuwe klant",edit_customer:"Klant bewerken",basic_info:"Basis informatie",billing_address:"factuur adres",shipping_address:"Verzendingsadres",copy_billing_address:"Kopi\xEBren van facturering",no_customers:"Nog geen klanten!",no_customers_found:"Geen klanten gevonden!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"Hier vind je jouw klanten terug.",primary_display_name:"Primaire weergavenaam",select_currency:"Selecteer valuta",select_a_customer:"Selecteer een klant",type_or_click:"Typ of klik om te selecteren",new_transaction:"Nieuwe transactie",no_matching_customers:"Er zijn geen overeenkomende klanten!",phone_number:"Telefoonnummer",create_date:"Aangemaakt op",confirm_delete:"Deze klant en alle gerelateerde facturen, offertes en betalingen worden permanent verwijderd.\xA0|\xA0Deze klanten en alle gerelateerde facturen, offertes en betalingen worden permanent verwijderd.",created_message:"Klant succesvol aangemaakt",updated_message:"Klant succesvol ge\xFCpdatet",deleted_message:"Klant succesvol verwijderd |\xA0Klanten zijn succesvol verwijderd"},lm={title:"Artikelen",items_list:"Lijst met items",name:"Naam",unit:"Eenheid",description:"Omschrijving",added_on:"Toegevoegd",price:"Prijs",date_of_creation:"Datum van creatie",not_selected:"No item selected",action:"Actie",add_item:"Voeg item toe",save_item:"Item opslaan",update_item:"Item bijwerken",item:"Artikel |\xA0Artikelen",add_new_item:"Voeg een nieuw item toe",new_item:"Nieuw item",edit_item:"Item bewerken",no_items:"Nog geen items!",list_of_items:"Hier vind je jouw artikelen terug.",select_a_unit:"selecteer eenheid",taxes:"Belastingen",item_attached_message:"Kan een item dat al in gebruik is niet verwijderen",confirm_delete:"U kunt dit item | niet herstellen\xA0U kunt deze items niet herstellen",created_message:"Item succesvol aangemaakt",updated_message:"Item succesvol bijgewerkt",deleted_message:"Item succesvol verwijderd |\xA0Items zijn verwijderd"},cm={title:"Offertes",estimate:"Offerte |\xA0Offertes",estimates_list:"Lijst met offertes",days:"{dagen} dagen",months:"{months} Maand",years:"{jaar} jaar",all:"Allemaal",paid:"Betaald",unpaid:"Onbetaald",customer:"Klant",ref_no:"Ref Nr.",number:"Aantal",amount_due:"Bedrag",partially_paid:"Gedeeltelijk betaald",total:"Totaal",discount:"Korting",sub_total:"Subtotaal",estimate_number:"Offerte nummer",ref_number:"Referentie nummer",contact:"Contact",add_item:"Voeg een item toe",date:"Datum",due_date:"Opleveringsdatum",expiry_date:"Vervaldatum",status:"Status",add_tax:"Belasting toevoegen",amount:"Bedrag",action:"Actie",notes:"Opmerkingen",tax:"Belasting",estimate_template:"Sjabloon",convert_to_invoice:"Converteren naar factuur",mark_as_sent:"Markeren als verzonden",send_estimate:"Verzend offerte",resend_estimate:"Offerte opnieuw verzenden",record_payment:"Bestaling registreren",add_estimate:"Offerte toevoegen",save_estimate:"Bewaar offerte",confirm_conversion:"Deze offerte wordt gebruikt om een nieuwe factuur te maken.",conversion_message:"Factuur gemaakt",confirm_send_estimate:"Deze offerte wordt via e-mail naar de klant gestuurd",confirm_mark_as_sent:"Deze offerte wordt gemarkeerd als verzonden",confirm_mark_as_accepted:"Deze offerte wordt gemarkeerd als Geaccepteerd",confirm_mark_as_rejected:"Deze offerte wordt gemarkeerd als Afgewezen",no_matching_estimates:"Er zijn geen overeenkomende offertes!",mark_as_sent_successfully:"Offerte gemarkeerd als succesvol verzonden",send_estimate_successfully:"Offerte succesvol verzonden",errors:{required:"Veld is vereist"},accepted:"Geaccepteerd",rejected:"Rejected",sent:"Verzonden",draft:"Concept",declined:"Geweigerd",new_estimate:"Nieuwe offerte",add_new_estimate:"Offerte toevoegen",update_Estimate:"Offerte bijwerken",edit_estimate:"Offerte bewerken",items:"artikelen",Estimate:"Offerte |\xA0Offertes",add_new_tax:"Nieuwe belasting toevoegen",no_estimates:"Nog geen offertes!",list_of_estimates:"Hier vind je jouw offertes terug.",mark_as_rejected:"Markeer als afgewezen",mark_as_accepted:"Markeer als geaccepteerd",marked_as_accepted_message:"Offerte gemarkeerd als geaccepteerd",marked_as_rejected_message:"Offerte gemarkeerd als afgewezen",confirm_delete:"U kunt deze offerte | niet herstellen\xA0U kunt deze offertes niet herstellen",created_message:"Offerte is gemaakt",updated_message:"Offerte succesvol bijgewerkt",deleted_message:"Offerte succesvol verwijderd |\xA0Offertes zijn succesvol verwijderd",something_went_wrong:"Er is iets fout gegaan",item:{title:"Titel van het item",description:"Omschrijving",quantity:"Aantal stuks",price:"Prijs",discount:"Korting",total:"Totaal",total_discount:"Totale korting",sub_total:"Subtotaal",tax:"Belasting",amount:"Bedrag",select_an_item:"Typ of klik om een item te selecteren",type_item_description:"Type Item Beschrijving (optioneel)"}},_m={title:"Facturen",invoices_list:"Facturenlijst",days:"{dagen} dagen",months:"{months} Maand",years:"{jaar} jaar",all:"Allemaal",paid:"Betaald",unpaid:"Onbetaald",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"Klant",paid_status:"Betaling",ref_no:"REF NR.",number:"AANTAL",amount_due:"BEDRAG",partially_paid:"Gedeeltelijk betaald",total:"Totaal",discount:"Korting",sub_total:"Subtotaal",invoice:"Factuur |\xA0Facturen",invoice_number:"Factuurnummer",ref_number:"Referentie nummer",contact:"Contact",add_item:"Voeg een item toe",date:"Datum",due_date:"Opleveringsdatum",status:"Status",add_tax:"Belasting toevoegen",amount:"Bedrag",action:"Actie",notes:"Opmerkingen",view:"Bekijken",send_invoice:"Factuur verzenden",resend_invoice:"Factuur opnieuw verzenden",invoice_template:"Factuursjabloon",template:"Sjabloon",mark_as_sent:"Markeer als verzonden",confirm_send_invoice:"Deze factuur wordt via e-mail naar de klant gestuurd",invoice_mark_as_sent:"Deze factuur wordt gemarkeerd als verzonden",confirm_send:"Deze factuur wordt via e-mail naar de klant gestuurd",invoice_date:"Factuur datum",record_payment:"Bestaling registreren",add_new_invoice:"Nieuwe factuur toevoegen",update_expense:"Onkosten bijwerken",edit_invoice:"Factuur bewerken",new_invoice:"Nieuwe factuur",save_invoice:"Factuur opslaan",update_invoice:"Factuur bijwerken",add_new_tax:"Nieuwe belasting toevoegen",no_invoices:"Nog geen facturen!",list_of_invoices:"Hier vind je jouw facturen terug.",select_invoice:"Selecteer Factuur",no_matching_invoices:"Er zijn geen overeenkomende facturen!",mark_as_sent_successfully:"Factuur gemarkeerd als succesvol verzonden",invoice_sent_successfully:"Factuur succesvol verzonden",cloned_successfully:"Factuur succesvol gekloond",clone_invoice:"Factuur klonen",confirm_clone:"Deze factuur wordt gekloond in een nieuwe factuur",item:{title:"Titel van het item",description:"Omschrijving",quantity:"Aantal stuks",price:"Prijs",discount:"Korting",total:"Totaal",total_discount:"Totale korting",sub_total:"Subtotaal",tax:"Belasting",amount:"Bedrag",select_an_item:"Typ of klik om een item te selecteren",type_item_description:"Type Item Beschrijving (optioneel)"},confirm_delete:"Deze factuur wordt permanent verwijderd |\xA0Deze facturen worden permanent verwijderd",created_message:"Factuur succesvol aangemaakt",updated_message:"Factuur succesvol bijgewerkt",deleted_message:"Factuur succesvol verwijderd |\xA0Facturen succesvol verwijderd",marked_as_sent_message:"Factuur gemarkeerd als succesvol verzonden",something_went_wrong:"Er is iets fout gegaan",invalid_due_amount_message:"Het totale factuurbedrag mag niet lager zijn dan het totale betaalde bedrag voor deze factuur.\xA0Werk de factuur bij of verwijder de bijbehorende betalingen om door te gaan."},um={title:"Betalingen",payments_list:"Betalingslijst",record_payment:"Bestaling registreren",customer:"Klant",date:"Datum",amount:"Bedrag",action:"Actie",payment_number:"Betalingsnummer",payment_mode:"Betaalmethode",invoice:"Factuur",note:"Notitie",add_payment:"Betaling toevoegen",new_payment:"Nieuwe betaling",edit_payment:"Betaling bewerken",view_payment:"Bekijk betaling",add_new_payment:"Nieuwe betaling toevoegen",send_payment_receipt:"Betaalbewijs verzenden",send_payment:"Verstuur betaling",save_payment:"Betaling opslaan",update_payment:"Betaling bijwerken",payment:"Betaling |\xA0Betalingen",no_payments:"Nog geen betalingen!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"Er zijn geen overeenkomende betalingen!",list_of_payments:"Hier vind je jouw betalingen terug.",select_payment_mode:"Selecteer betalingswijze",confirm_mark_as_sent:"Deze offerte wordt gemarkeerd als verzonden",confirm_send_payment:"Deze betaling wordt via e-mail naar de klant gestuurd",send_payment_successfully:"Betaling succesvol verzonden",something_went_wrong:"Er is iets fout gegaan",confirm_delete:"Deze betaling wordt permanent verwijderd |\xA0Deze betalingen worden permanent verwijderd",created_message:"De betaling is succesvol aangemaakt",updated_message:"Betaling succesvol bijgewerkt",deleted_message:"Betaling succesvol verwijderd |\xA0Betalingen zijn verwijderd",invalid_amount_message:"Het bedrag van de betaling is ongeldig"},mm={title:"Uitgaven",expenses_list:"Uitgavenlijst",select_a_customer:"Selecteer een klant",expense_title:"Titel",customer:"Klant",contact:"Contact",category:"Categorie",from_date:"Van datum",to_date:"Tot datum",expense_date:"Datum",description:"Omschrijving",receipt:"Bon",amount:"Bedrag",action:"Actie",not_selected:"Not selected",note:"Notitie",category_id:"Categorie ID",date:"Uitgavendatum",add_expense:"Kosten toevoegen",add_new_expense:"Kosten toevoegen",save_expense:"Kosten opslaan",update_expense:"Onkosten bijwerken",download_receipt:"Ontvangstbewijs downloaden",edit_expense:"Uitgaven bewerken",new_expense:"Kosten toevoegen",expense:"Uitgaven |\xA0Uitgaven",no_expenses:"Nog geen kosten!",list_of_expenses:"Hier vind je jouw uitgaven terug.",confirm_delete:"Deze uitgave wordt permanent verwijderd | Deze kosten worden permanent verwijderd",created_message:"Kosten succesvol gemaakt",updated_message:"Kosten succesvol bijgewerkt",deleted_message:"Kosten succesvol verwijderd |\xA0Uitgaven zijn verwijderd",categories:{categories_list:"Categorie\xEBnlijst",title:"Titel",name:"Naam",description:"Omschrijving",amount:"Bedrag",actions:"Acties",add_category:"categorie toevoegen",new_category:"Nieuwe categorie",category:"Categorie |\xA0Categorie\xEBn",select_a_category:"Selecteer een categorie"}},pm={email:"E-mail",password:"Wachtwoord",forgot_password:"Wachtwoord vergeten?",or_signIn_with:"of Log in met",login:"Log in",register:"Registreren",reset_password:"Wachtwoord opnieuw instellen",password_reset_successfully:"Wachtwoord opnieuw ingesteld",enter_email:"Voer email in",enter_password:"Voer wachtwoord in",retype_password:"Geef nogmaals het wachtwoord"},gm={title:"Gebruikers",users_list:"Gebruikerslijst",name:"Naam",description:"Omschrijving",added_on:"Toegevoegd",date_of_creation:"Datum van creatie",action:"Actie",add_user:"Gebruiker toevoegen",save_user:"Gebruiker opslaan",update_user:"Gebruiker bijwerken",user:"Gebruiker | Gebruikers",add_new_user:"Nieuwe gebruiker toevoegen",new_user:"Nieuwe gebruiker",edit_user:"Gebruiker bewerken",no_users:"Nog geen gebruikers!",list_of_users:"Deze sectie zal de lijst met gebruikers bevatten.",email:"E-mail",phone:"Telefoon",password:"Wachtwoord",user_attached_message:"Kan een item dat al in gebruik is niet verwijderen",confirm_delete:"Je kunt deze gebruiker later niet herstellen | Je kunt deze gebruikers later niet herstellen",created_message:"Gebruiker succesvol aangemaakt",updated_message:"Gebruiker met succes bijgewerkt",deleted_message:"Gebruiker succesvol verwijderd | Gebruikers succesvol verwijderd"},fm={title:"Verslag doen van",from_date:"Van datum",to_date:"Tot datum",status:"Status",paid:"Betaald",unpaid:"Onbetaald",download_pdf:"Download PDF",view_pdf:"Bekijk PDF",update_report:"Rapport bijwerken",report:"Verslag |\xA0Rapporten",profit_loss:{profit_loss:"Verlies",to_date:"Tot datum",from_date:"Van datum",date_range:"Selecteer Datumbereik"},sales:{sales:"Verkoop",date_range:"Selecteer datumbereik",to_date:"Tot datum",from_date:"Van datum",report_type:"Rapporttype"},taxes:{taxes:"Belastingen",to_date:"Tot datum",from_date:"Van datum",date_range:"Selecteer Datumbereik"},errors:{required:"Veld is vereist"},invoices:{invoice:"Factuur",invoice_date:"Factuur datum",due_date:"Opleveringsdatum",amount:"Bedrag",contact_name:"Contactnaam",status:"Status"},estimates:{estimate:"Offerte",estimate_date:"Offerte Datum",due_date:"Opleveringsdatum",estimate_number:"Offerte nummer",ref_number:"Referentie nummer",amount:"Bedrag",contact_name:"Contactnaam",status:"Status"},expenses:{expenses:"Uitgaven",category:"Categorie",date:"Datum",amount:"Bedrag",to_date:"Tot datum",from_date:"Van datum",date_range:"Selecteer Datumbereik"}},hm={menu_title:{account_settings:"Account instellingen",company_information:"Bedrijfsinformatie",customization:"Aanpassen",preferences:"Voorkeuren",notifications:"Kennisgevingen",tax_types:"Belastingtypen",expense_category:"Onkostencategorie\xEBn",update_app:"App bijwerken",backup:"Back-up",file_disk:"Bestandsopslag",custom_fields:"Aangepaste velden",payment_modes:"Betaalmethodes",notes:"Opmerkingen"},title:"Instellingen",setting:"Instellingen |\xA0Instellingen",general:"Algemeen",language:"Taal",primary_currency:"Primaire valuta",timezone:"Tijdzone",date_format:"Datumnotatie",currencies:{title:"Valuta's",currency:"Valuta |\xA0Valuta's",currencies_list:"Lijst van valuta's",select_currency:"selecteer valuta",name:"Naam",code:"Code",symbol:"Symbool",precision:"Precisie",thousand_separator:"Duizend scheidingsteken",decimal_separator:"Decimaalscheidingsteken",position:"Positie",position_of_symbol:"Positie van symbool",right:"Rechtsaf",left:"Links",action:"Actie",add_currency:"Valuta toevoegen"},mail:{host:"Mail host",port:"Mail Port",driver:"Mail-stuurprogramma",secret:"Geheim",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domein",mailgun_endpoint:"Mailgun-eindpunt",ses_secret:"SES Secret",ses_key:"SES-sleutel",password:"Mail wachtwoord",username:"Mail gebruikersnaam",mail_config:"E-mailconfiguratie",from_name:"Van Mail Name",from_mail:"Van e-mailadres",encryption:"E-mailversleuteling",mail_config_desc:"Hieronder vindt u het formulier voor het configureren van het e-mailstuurprogramma voor het verzenden van e-mails vanuit de app.\xA0U kunt ook externe providers zoals Sendgrid, SES enz. Configureren."},pdf:{title:"PDF-instelling",footer_text:"Voettekst",pdf_layout:"PDF indeling"},company_info:{company_info:"Bedrijfsinfo",company_name:"Bedrijfsnaam",company_logo:"Bedrijfslogo",section_description:"Informatie over uw bedrijf die wordt weergegeven op facturen, offertes en andere documenten die door Crater zijn gemaakt.",phone:"Telefoon",country:"Land",state:"Provincie",city:"Stad",address:"Adres",zip:"Postcode",save:"Opslaan",updated_message:"Bedrijfsinformatie succesvol bijgewerkt"},custom_fields:{title:"Aangepaste velden",section_description:"Uw facturen, offertes & betalingsbewijzen aanpassen met uw eigen velden. Gebruik onderstaande velden op het adres format op de Customization instellings pagina.",add_custom_field:"Extra veld toevoegen",edit_custom_field:"Veld wijzigen",field_name:"Veld naam",label:"Label",type:"Type",name:"Naam",required:"Verplicht",placeholder:"Tijdelijke plaatshouder",help_text:"Hulp Text",default_value:"Standaard waarde",prefix:"Voorvoegsel",starting_number:"Starting Number",model:"Model",help_text_description:"Voer tekst in om gebruikers te helpen het doel van dit aangepaste veld te begrijpen.",suffix:"Achtervoegsel",yes:"Ja",no:"Nee",order:"Volgorde",custom_field_confirm_delete:"U kunt dit veld niet herstellen",already_in_use:"Aangepast veld is al in gebruik",deleted_message:"Aangepast veld is succesvol verwijderd",options:"opties",add_option:"Optie toevoegen",add_another_option:"Nog een optie toevoegen",sort_in_alphabetical_order:"Sorteer op alfabetische volgorde",add_options_in_bulk:"Voeg opties toe in bulk",use_predefined_options:"Gebruik voorgedefinieerde opties",select_custom_date:"Selecteer een aangepaste datum",select_relative_date:"Selecteer relatieve datum",ticked_by_default:"Standaard aangevinkt",updated_message:"Aangepast veld is succesvol aangepast",added_message:"Aangepast veld is succesvol toegevoegd"},customization:{customization:"aanpassen",save:"Opslaan",addresses:{title:"Adressen",section_description:"U kunt het factuuradres van de klant en het verzendadres van de klant instellen (alleen weergegeven in PDF).",customer_billing_address:"Factuuradres van klant",customer_shipping_address:"Klant verzendadres",company_address:"bedrijfsadres",insert_fields:"Velden invoegen",contact:"Contact",address:"Adres",display_name:"Weergavenaam",primary_contact_name:"Naam primaire contactpersoon",email:"E-mail",website:"Website",name:"Naam",country:"Land",state:"Provincie",city:"Stad",company_name:"Bedrijfsnaam",address_street_1:"Adres Straat 1",address_street_2:"Adresstraat 2",phone:"Telefoon",zip_code:"Postcode",address_setting_updated:"Adresinstelling is bijgewerkt"},updated_message:"Bedrijfsinformatie succesvol bijgewerkt",invoices:{title:"Facturen",notes:"Opmerkingen",invoice_prefix:"Factuurvoorvoegsel",default_invoice_email_body:"Standaard factuur email text",invoice_settings:"Factuurinstellingen",autogenerate_invoice_number:"Factuurnummer automatisch genereren",autogenerate_invoice_number_desc:"Schakel dit uit als u niet automatisch factuurnummers wilt genereren telkens wanneer u een nieuwe factuur maakt.",enter_invoice_prefix:"Voer het factuurvoorvoegsel in",terms_and_conditions:"Voorwaarden",company_address_format:"Bedrijfsadres format",shipping_address_format:"Verzendadres format",billing_address_format:"Factuuradres format",invoice_settings_updated:"Factuurinstelling succesvol bijgewerkt"},estimates:{title:"Offertes",estimate_prefix:"Voorvoegsel schatten",default_estimate_email_body:"Standaard offerte email text",estimate_settings:"Instellingen schatten",autogenerate_estimate_number:"Automatisch geschat nummer genereren",estimate_setting_description:"Schakel dit uit als u niet automatisch offertesaantallen wilt genereren telkens wanneer u een nieuwe offerte maakt.",enter_estimate_prefix:"Voer het prefixnummer in",estimate_setting_updated:"Instelling Offerte succesvol bijgewerkt",company_address_format:"Bedrijfsadres format",billing_address_format:"Factuuradres Format",shipping_address_format:"Verzendadres format"},payments:{title:"Betalingen",description:"Modes of transaction for payments",payment_prefix:"Betalingsvoorvoegsel",default_payment_email_body:"Default Payment Email Body",payment_settings:"Betalingsinstellingen",autogenerate_payment_number:"Betalingsnummer automatisch genereren",payment_setting_description:"Schakel dit uit als u niet elke keer dat u een nieuwe betaling aanmaakt, automatisch betalingsnummers wilt genereren.",enter_payment_prefix:"Voer het betalingsvoorvoegsel in",payment_setting_updated:"Betalingsinstelling ge\xFCpdatet",payment_modes:"Betaalmethodes",add_payment_mode:"Betaalmodus toevoegen",edit_payment_mode:"Betaalmodus bewerken",mode_name:"Mode naam",payment_mode_added:"Betaalwijze toegevoegd",payment_mode_updated:"Betalingsmodus bijgewerkt",payment_mode_confirm_delete:"U kunt deze betalingsmodus niet herstellen",already_in_use:"De betalingsmodus is al in gebruik",deleted_message:"Betaalwijze succesvol verwijderd",company_address_format:"Bedrijfsadres format",from_customer_address_format:"Van klant adres formaat"},items:{title:"Artikelen",units:"eenheden",add_item_unit:"Itemeenheid toevoegen",edit_item_unit:"Itemeenheid bewerken",unit_name:"Naam eenheid",item_unit_added:"Item Eenheid toegevoegd",item_unit_updated:"Artikeleenheid bijgewerkt",item_unit_confirm_delete:"U kunt dit item niet terughalen",already_in_use:"Item Unit is al in gebruik",deleted_message:"Artikeleenheid succesvol verwijderd"},notes:{title:"Opmerkingen",description:"Bespaar tijd door notities te maken en ze opnieuw te gebruiken op uw facturen, ramingen en betalingen.",notes:"Opmerkingen",type:"Type",add_note:"Notitie toevoegen",add_new_note:"Voeg een nieuwe notitie toe",name:"Naam",edit_note:"Notitie bewerken",note_added:"Notitie toegevoegd",note_updated:"Notitie bijgewerkt",note_confirm_delete:"U kunt deze notitie niet terughalen",already_in_use:"Notitie is reeds in gebruik",deleted_message:"Notitie verwijderd"}},account_settings:{profile_picture:"Profielfoto",name:"Naam",email:"E-mail",password:"Wachtwoord",confirm_password:"bevestig wachtwoord",account_settings:"Account instellingen",save:"Opslaan",section_description:"U kunt uw naam, e-mailadres en wachtwoord bijwerken via onderstaand formulier.",updated_message:"Accountinstellingen succesvol bijgewerkt"},user_profile:{name:"Naam",email:"E-mail",password:"Wachtwoord",confirm_password:"Bevestig wachtwoord"},notification:{title:"Kennisgeving",email:"Stuur meldingen naar",description:"Welke e-mailmeldingen wilt u ontvangen als er iets verandert?",invoice_viewed:"Factuur bekeken",invoice_viewed_desc:"Wanneer uw klant de factuur bekijkt die via het kraterdashboard is verzonden.",estimate_viewed:"Offerte bekeken",estimate_viewed_desc:"Wanneer uw klant de offerte bekijkt die via het kraterdashboard is verzonden.",save:"Opslaan",email_save_message:"E-mail succesvol opgeslagen",please_enter_email:"Voer e-mailadres in"},tax_types:{title:"Belastingtypen",add_tax:"Belasting toevoegen",edit_tax:"Belasting bewerken",description:"U kunt naar believen belastingen toevoegen of verwijderen.\xA0Crater ondersteunt belastingen op individuele items en op de factuur.",add_new_tax:"Nieuwe belasting toevoegen",tax_settings:"Belastinginstellingen",tax_per_item:"Belasting per item",tax_name:"Belastingnaam",compound_tax:"Samengestelde belasting",percent:"Procent",action:"Actie",tax_setting_description:"Schakel dit in als u belastingen wilt toevoegen aan afzonderlijke factuuritems.\xA0Standaard worden belastingen rechtstreeks aan de factuur toegevoegd.",created_message:"Belastingtype is gemaakt",updated_message:"Belastingtype succesvol bijgewerkt",deleted_message:"Belastingtype succesvol verwijderd",confirm_delete:"Dit belastingtype wordt permanent verwijderd",already_in_use:"Belasting al in gebruik"},expense_category:{title:"Onkostencategorie\xEBn",action:"Actie",description:"Categorie\xEBn zijn vereist voor het toevoegen van onkostenposten.\xA0U kunt deze categorie\xEBn naar wens toevoegen of verwijderen.",add_new_category:"Voeg een nieuwe categorie toe",add_category:"categorie toevoegen",edit_category:"Categorie bewerken",category_name:"categorie naam",category_description:"Omschrijving",created_message:"Onkostencategorie succesvol aangemaakt",deleted_message:"Uitgavencategorie is verwijderd",updated_message:"Uitgavencategorie is bijgewerkt",confirm_delete:"U kunt deze uitgavencategorie niet herstellen",already_in_use:"Categorie al in gebruik"},preferences:{currency:"Valuta",default_language:"Standaard taal",time_zone:"Tijdzone",fiscal_year:"Financieel jaar",date_format:"Datumnotatie",discount_setting:"Kortingsinstelling",discount_per_item:"Korting per item",discount_setting_description:"Schakel dit in als u korting wilt toevoegen aan afzonderlijke factuuritems.\xA0Standaard wordt korting rechtstreeks aan de factuur toegevoegd.",save:"Opslaan",preference:"Voorkeur |\xA0Voorkeuren",general_settings:"Standaardvoorkeuren voor het systeem.",updated_message:"Voorkeuren succesvol bijgewerkt",select_language:"Selecteer taal",select_time_zone:"Selecteer Tijdzone",select_date_format:"Selecteer datum/tijdindeling",select_financial_year:"Selecteer financieel ja"},update_app:{title:"App bijwerken",description:"U kunt Crater eenvoudig bijwerken door te controleren op een nieuwe update door op de onderstaande knop te klikken",check_update:"Controleer op updates",avail_update:"Nieuwe update beschikbaar",next_version:"Volgende versie",requirements:"Vereisten",update:"Nu updaten",update_progress:"Update wordt uitgevoerd...",progress_text:"Het duurt maar een paar minuten.\xA0Vernieuw het scherm niet en sluit het venster niet voordat de update is voltooid",update_success:"App is bijgewerkt!\xA0Een ogenblik geduld, uw browservenster wordt automatisch opnieuw geladen.",latest_message:"Geen update beschikbaar!\xA0U gebruikt de nieuwste versie.",current_version:"Huidige versie",download_zip_file:"Download ZIP-bestand",unzipping_package:"Pakket uitpakken",copying_files:"Bestanden kopi\xEBren",running_migrations:"Migraties uitvoeren",finishing_update:"Afwerking Update",update_failed:"Update mislukt",update_failed_text:"Sorry!\xA0Je update is mislukt op: {step} step "},backup:{title:"Backup | Backups",description:"De back-up is een zipfile met alle bestanden in de mappen die je opgeeft samen met een dump van je database",new_backup:"Nieuwe back-up",create_backup:"Backup maken",select_backup_type:"Backup-type selecteren",backup_confirm_delete:"U kunt deze back-up niet terughalen",path:"pad",new_disk:"Nieuwe schijf",created_at:"aangemaakt op",size:"grootte",dropbox:"dropbox",local:"lokaal",healthy:"gezond",amount_of_backups:"aantal back-ups",newest_backups:"nieuwste back-ups",used_storage:"gebruikte opslag",select_disk:"Selecteer Disk",action:"Actie",deleted_message:"Back-up is succesvol verwijderd",created_message:"Back-up successvol gemaakt",invalid_disk_credentials:"Ongeldige inloggegevens voor geselecteerde schijf"},disk:{title:"Bestandsschijf | Bestandsschijven",description:"Standaard gebruikt Crater uw lokale schijf om back-ups, avatars en andere afbeeldingen op te slaan. U kunt indien gewenst meer dan \xE9\xE9n opslaglocatie configureren zoals DigitalOcean, S3 en Dropbox.",created_at:"aangemaakt op",dropbox:"dropbox",name:"Naam",driver:"Stuurprogramma",disk_type:"Type",disk_name:"Naam van de schijf",new_disk:"Nieuwe schijf toevoegen",filesystem_driver:"Filesystem Driver",local_driver:"lokaal besturingsprogramma",local_root:"local Root",public_driver:"Publiek besturingsprogramma",public_root:"Public Root",public_url:"Publieke URL",public_visibility:"Publieke zichtbaarheid",media_driver:"Media stuurprogramma",media_root:"Media Root",aws_driver:"AWS Stuurprogramma",aws_key:"AWS Sleutel",aws_secret:"AWS Secret",aws_region:"AWS Regio",aws_bucket:"AWS Bucket",aws_root:"AWS Root",do_spaces_type:"Do Spaces type",do_spaces_key:"Do Spaces Key",do_spaces_secret:"Do Spaces Secret",do_spaces_region:"Do Spaces Regio",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces Endpoint",do_spaces_root:"Do Spaces Root",dropbox_type:"Dropbox Type",dropbox_token:"Dropbox Token",dropbox_key:"Dropbox Key",dropbox_secret:"Dropbox Secret",dropbox_app:"Dropbox App",dropbox_root:"Dropbox Root",default_driver:"Standaard stuurprogramma",is_default:"IS STANDAARD",set_default_disk:"Standaardschijf instellen",success_set_default_disk:"Standaardschijf ingesteld",save_pdf_to_disk:"PDF's opslaan op schijf",disk_setting_description:" Schakel dit in als je een kopie van elke factuur, raming en betalingsbewijs automatisch op je standaard schijf wilt opslaan. Het inschakelen van deze optie zal de laadtijd verminderen wanneer de PDF's worden bekeken.",select_disk:"Selecteer Schijf",disk_settings:"Schijfinstellingen",confirm_delete:"Uw bestaande bestanden en mappen in de opgegeven schijf worden niet be\xEFnvloed, maar uw schijfconfiguratie wordt uit Crater verwijderd",action:"Actie",edit_file_disk:"Bestandsschijf bewerken",success_create:"Schijf toegevoegd",success_update:"Schijf bijgewerkt",error:"Schijf niet toegevoegd",deleted_message:"Bestandsschijf verwijderd",disk_variables_save_successfully:"Schijf geconfigureerd",disk_variables_save_error:"Schijfconfiguratie mislukt.",invalid_disk_credentials:"Ongeldige inloggegevens voor geselecteerde schijf"}},vm={account_info:"Account Informatie",account_info_desc:"Onderstaande gegevens worden gebruikt om het hoofdbeheerdersaccount te maken.\xA0Ook kunt u de gegevens op elk moment wijzigen na inloggen.",name:"Naam",email:"E-mail",password:"Wachtwoord",confirm_password:"bevestig wachtwoord",save_cont:"Opslaan doorgaan",company_info:"Bedrijfsinformatie",company_info_desc:"Deze informatie wordt weergegeven op facturen.\xA0Merk op dat u dit later op de instellingenpagina kunt bewerken.",company_name:"Bedrijfsnaam",company_logo:"Bedrijfslogo",logo_preview:"Logo Voorbeeld",preferences:"Voorkeuren",preferences_desc:"Standaardvoorkeuren voor het systeem.",country:"Land",state:"Provincie",city:"Stad",address:"Adres",street:"Straat1 |\xA0Straat # 2",phone:"Telefoon",zip_code:"Postcode",go_back:"Ga terug",currency:"Valuta",language:"Taal",time_zone:"Tijdzone",fiscal_year:"Financieel jaar",date_format:"Datumnotatie",from_address:"Van adres",username:"Gebruikersnaam",next:"De volgende",continue:"Doorgaan met",skip:"Overslaan",database:{database:"Site-URL en database",connection:"Database verbinding",host:"Database host",port:"Databasepoort",password:"Database wachtwoord",app_url:"App-URL",app_domain:"App Domein",username:"Database gebruikersnaam",db_name:"Database naam",db_path:"Databankpad",desc:"Maak een database op uw server en stel de referenties in via het onderstaande formulier."},permissions:{permissions:"Rechten",permission_confirm_title:"Weet je zeker dat je door wilt gaan?",permission_confirm_desc:"Controle van maprechten is mislukt",permission_desc:"Hieronder vindt u de lijst met mapmachtigingen die vereist zijn om de app te laten werken.\xA0Als de machtigingscontrole mislukt, moet u de mapmachtigingen bijwerken."},mail:{host:"E-mail server",port:"E-mail Poort",driver:"Mail-stuurprogramma",secret:"Geheim",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domein",mailgun_endpoint:"Mailgun-eindpunt",ses_secret:"SES Secret",ses_key:"SES-sleutel",password:"Mail wachtwoord",username:"Mail gebruikersnaam",mail_config:"E-mailconfiguratie",from_name:"Van Mail Name",from_mail:"Van e-mailadres",encryption:"E-mailversleuteling",mail_config_desc:"Hieronder vindt u het formulier voor het configureren van het e-mailstuurprogramma voor het verzenden van e-mails vanuit de app.\xA0U kunt ook externe providers zoals Sendgrid, SES enz. Configureren."},req:{system_req:"systeem vereisten",php_req_version:"PHP (versie {versie} vereist))",check_req:"Controleer vereisten",system_req_desc:"Crater heeft een paar serververeisten.\xA0Zorg ervoor dat uw server de vereiste php-versie heeft en alle onderstaande extensies."},errors:{migrate_failed:"Migreren mislukt",database_variables_save_error:"Kan configuratie niet schrijven naar .env-bestand.\xA0Controleer de bestandsrechten",mail_variables_save_error:"E-mailconfiguratie is mislukt.",connection_failed:"Databaseverbinding mislukt",database_should_be_empty:"Database moet leeg zijn"},success:{mail_variables_save_successfully:"E-mail succesvol geconfigureerd",database_variables_save_successfully:"Database succesvol geconfigureerd."}},ym={invalid_phone:"Ongeldig Telefoonnummer",invalid_url:"Ongeldige URL (bijvoorbeeld: http://www.craterapp.com))",invalid_domain_url:"Ongeldige URL (bijvoorbeeld: craterapp.com))",required:"Veld is verplicht",email_incorrect:"Incorrecte Email.",email_already_taken:"De email is al in gebruik.",email_does_not_exist:"Gebruiker met opgegeven e-mailadres bestaat niet",item_unit_already_taken:"De naam van dit item is al in gebruik",payment_mode_already_taken:"Deze naam voor de betalingsmodus is al in gebruik",send_reset_link:"Stuur resetlink",not_yet:"Nog niet?\xA0Stuur het opnieuw",password_min_length:"Wachtwoord moet {count} tekens bevatten",name_min_length:"Naam moet minimaal {count} letters bevatten.",enter_valid_tax_rate:"Voer een geldig belastingtarief in",numbers_only:"Alleen nummers.",characters_only:"Alleen tekens.",password_incorrect:"Wachtwoorden moeten identiek zijn",password_length:"Wachtwoord moet {count} tekens lang zijn.",qty_must_greater_than_zero:"Hoeveelheid moet groter zijn dan nul.",price_greater_than_zero:"Prijs moet groter zijn dan nul.",payment_greater_than_zero:"De betaling moet hoger zijn dan nul.",payment_greater_than_due_amount:"Ingevoerde betaling is meer dan het openstaande bedrag van deze factuur.",quantity_maxlength:"Het aantal mag niet groter zijn dan 20 cijfers.",price_maxlength:"Prijs mag niet groter zijn dan 20 cijfers.",price_minvalue:"Prijs moet hoger zijn dan 0.",amount_maxlength:"Bedrag mag niet groter zijn dan 20 cijfers.",amount_minvalue:"Bedrag moet groter zijn dan 0.",description_maxlength:"De beschrijving mag niet meer dan 255 tekens bevatten.",subject_maxlength:"Het onderwerp mag niet meer dan 100 tekens bevatten.",message_maxlength:"Bericht mag niet groter zijn dan 255 tekens.",maximum_options_error:"Maximaal {max} opties geselecteerd.\xA0Verwijder eerst een geselecteerde optie om een andere te selecteren.",notes_maxlength:"Notities mogen niet langer zijn dan 255 tekens.",address_maxlength:"Adres mag niet groter zijn dan 255 tekens.",ref_number_maxlength:"Ref-nummer mag niet groter zijn dan 255 tekens.",prefix_maxlength:"Het voorvoegsel mag niet meer dan 5 tekens bevatten.",something_went_wrong:"Er is iets fout gegaan"},bm="Offerte",km="Offerte nummer",wm="Offerte Datum",xm="Vervaldatum",zm="Factuur",Sm="Factuurnummer",Pm="Factuur datum",jm="Opleveringsdatum",Dm="Opmerkingen",Cm="Artikelen",Am="Aantal stuks",Nm="Prijs",Em="Korting",Tm="Bedrag",Im="Subtotaal",$m="Totaal",Rm="Payment",Fm="Betalingsafschrift",Mm="Betalingsdatum",Bm="Betalingsnummer",Vm="Betaalmethode",Om="Ontvangen bedrag",Lm="UITGAVEN RAPPORT",Um="TOTALE UITGAVEN",Km="WINST & VERLIES RAPPORT",qm="Sales Customer Report",Wm="Sales Item Report",Zm="Tax Summary Report",Hm="INKOMEN",Gm="NETTO WINST",Ym="Verkooprapport: per klant",Jm="TOTALE VERKOPEN",Xm="Verkooprapport: Per Item",Qm="BELASTINGEN RAPPORT",ep="TOTALE BELASTINGEN",tp="Belastingtypen",ap="Uitgaven",sp="Rekening naar,",np="Verzend naar,",ip="Ontvangen van:",op="Tax";var rp={navigation:sm,general:nm,dashboard:im,tax_types:om,global_search:rm,customers:dm,items:lm,estimates:cm,invoices:_m,payments:um,expenses:mm,login:pm,users:gm,reports:fm,settings:hm,wizard:vm,validation:ym,pdf_estimate_label:bm,pdf_estimate_number:km,pdf_estimate_date:wm,pdf_estimate_expire_date:xm,pdf_invoice_label:zm,pdf_invoice_number:Sm,pdf_invoice_date:Pm,pdf_invoice_due_date:jm,pdf_notes:Dm,pdf_items_label:Cm,pdf_quantity_label:Am,pdf_price_label:Nm,pdf_discount_label:Em,pdf_amount_label:Tm,pdf_subtotal:Im,pdf_total:$m,pdf_payment_label:Rm,pdf_payment_receipt_label:Fm,pdf_payment_date:Mm,pdf_payment_number:Bm,pdf_payment_mode:Vm,pdf_payment_amount_received_label:Om,pdf_expense_report_label:Lm,pdf_total_expenses_label:Um,pdf_profit_loss_label:Km,pdf_sales_customers_label:qm,pdf_sales_items_label:Wm,pdf_tax_summery_label:Zm,pdf_income_label:Hm,pdf_net_profit_label:Gm,pdf_customer_sales_report:Ym,pdf_total_sales_label:Jm,pdf_item_sales_label:Xm,pdf_tax_report_label:Qm,pdf_total_tax_label:ep,pdf_tax_types_label:tp,pdf_expenses_label:ap,pdf_bill_to:sp,pdf_ship_to:np,pdf_received_from:ip,pdf_tax_label:op};const dp={dashboard:"\uACC4\uAE30\uBC18",customers:"\uACE0\uAC1D",items:"\uC544\uC774\uD15C",invoices:"\uC1A1\uC7A5",expenses:"\uACBD\uBE44",estimates:"\uACAC\uC801",payments:"\uC9C0\uBD88",reports:"\uBCF4\uACE0\uC11C",settings:"\uC124\uC815",logout:"\uB85C\uADF8 \uC544\uC6C3",users:"\uC0AC\uC6A9\uC790"},lp={add_company:"\uD68C\uC0AC \uCD94\uAC00",view_pdf:"PDF\uBCF4\uAE30",copy_pdf_url:"PDF URL \uBCF5\uC0AC",download_pdf:"PDF \uB2E4\uC6B4\uB85C\uB4DC",save:"\uC800\uC7A5",create:"\uCC3D\uC870\uD558\uB2E4",cancel:"\uCDE8\uC18C",update:"\uCD5C\uC2E0 \uC815\uBCF4",deselect:"\uC120\uD0DD \uCDE8\uC18C",download:"\uB2E4\uC6B4\uB85C\uB4DC",from_date:"\uC2DC\uC791 \uB0A0\uC9DC",to_date:"\uD604\uC7AC\uAE4C\uC9C0",from:"\uC5D0\uC11C",to:"\uC5D0",sort_by:"\uC815\uB82C \uAE30\uC900",ascending:"\uC624\uB984\uCC28\uC21C",descending:"\uB0B4\uB9BC\uCC28\uC21C",subject:"\uC81C\uBAA9",body:"\uBAB8",message:"\uBA54\uC2DC\uC9C0",send:"\uBCF4\uB0B4\uB2E4",go_back:"\uB3CC\uC544 \uAC00\uAE30",back_to_login:"\uB85C\uADF8\uC778\uC73C\uB85C \uB3CC\uC544\uAC00\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",home:"\uC9D1",filter:"\uD544\uD130",delete:"\uC9C0\uC6B0\uB2E4",edit:"\uD3B8\uC9D1\uD558\uB2E4",view:"\uC804\uB9DD",add_new_item:"\uC0C8 \uD56D\uBAA9 \uCD94\uAC00",clear_all:"\uBAA8\uB450 \uC9C0\uC6B0\uAE30",showing:"\uC804\uC2DC",of:"\uC758",actions:"\uD589\uC704",subtotal:"\uC18C\uACC4",discount:"\uD560\uC778",fixed:"\uACB0\uC815\uB41C",percentage:"\uBC31\uBD84\uC728",tax:"\uC138",total_amount:"\uCD1D\uC561",bill_to:"\uCCAD\uAD6C \uB300\uC0C1",ship_to:"\uBC30\uC1A1\uC9C0",due:"\uC815\uB2F9\uD55C",draft:"\uCD08\uC548",sent:"\uBCF4\uB0C4",all:"\uBAA8\uB450",select_all:"\uBAA8\uB450 \uC120\uD0DD",choose_file:"\uD30C\uC77C\uC744 \uC120\uD0DD\uD558\uB824\uBA74 \uC5EC\uAE30\uB97C \uD074\uB9AD\uD558\uC2ED\uC2DC\uC624",choose_template:"\uD15C\uD50C\uB9BF \uC120\uD0DD",choose:"\uACE0\uB974\uB2E4",remove:"\uC5C6\uC560\uB2E4",powered_by:"\uC81C\uACF5",bytefury:"\uBC14\uC774\uD2B8 \uD4E8\uB9AC",select_a_status:"\uC0C1\uD0DC \uC120\uD0DD",select_a_tax:"\uC138\uAE08 \uC120\uD0DD",search:"\uAC80\uC0C9",are_you_sure:"\uD655\uC2E4\uD569\uB2C8\uAE4C?",list_is_empty:"\uBAA9\uB85D\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.",no_tax_found:"\uC138\uAE08\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",four_zero_four:"404",you_got_lost:"\uC774\uB7F0! \uB2F9\uC2E0\uC740 \uAE38\uC744 \uC783\uC5C8\uC2B5\uB2C8\uB2E4!",go_home:"\uC9D1\uC5D0\uAC00",test_mail_conf:"\uBA54\uC77C \uAD6C\uC131 \uD14C\uC2A4\uD2B8",send_mail_successfully:"\uBA54\uC77C\uC744 \uC131\uACF5\uC801\uC73C\uB85C \uBCF4\uB0C8\uC2B5\uB2C8\uB2E4.",setting_updated:"\uC124\uC815\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",select_state:"\uC8FC \uC120\uD0DD",select_country:"\uAD6D\uAC00 \uC120\uD0DD",select_city:"\uB3C4\uC2DC \uC120\uD0DD",street_1:"\uAC70\uB9AC 1",street_2:"\uAC70\uB9AC 2",action_failed:"\uC791\uC5C5 \uC2E4\uD328",retry:"\uB2E4\uC2DC \uD574 \uBCF4\uB2E4",choose_note:"\uCC38\uACE0 \uC120\uD0DD",no_note_found:"\uBA54\uBAA8\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",insert_note:"\uBA54\uBAA8 \uC0BD\uC785",copied_pdf_url_clipboard:"PDF URL\uC744 \uD074\uB9BD \uBCF4\uB4DC\uC5D0 \uBCF5\uC0AC\uD588\uC2B5\uB2C8\uB2E4!"},cp={select_year:"\uC5F0\uB3C4 \uC120\uD0DD",cards:{due_amount:"\uC9C0\uBD88\uC561",customers:"\uACE0\uAC1D",invoices:"\uC1A1\uC7A5",estimates:"\uACAC\uC801"},chart_info:{total_sales:"\uB9E4\uC0C1",total_receipts:"\uC601\uC218\uC99D",total_expense:"\uACBD\uBE44",net_income:"\uC21C\uC774\uC775",year:"\uC5F0\uB3C4 \uC120\uD0DD"},monthly_chart:{title:"\uB9E4\uC0C1"},recent_invoices_card:{title:"\uB9CC\uAE30 \uC1A1\uC7A5",due_on:"\uAE30\uD55C",customer:"\uACE0\uAC1D",amount_due:"\uC9C0\uBD88\uC561",actions:"\uD589\uC704",view_all:"\uBAA8\uB450\uBCF4\uAE30"},recent_estimate_card:{title:"\uCD5C\uADFC \uACAC\uC801",date:"\uB370\uC774\uD2B8",customer:"\uACE0\uAC1D",amount_due:"\uC9C0\uBD88\uC561",actions:"\uD589\uC704",view_all:"\uBAA8\uB450\uBCF4\uAE30"}},_p={name:"\uC774\uB984",description:"\uAE30\uC220",percent:"\uD37C\uC13C\uD2B8",compound_tax:"\uBCF5\uD569 \uC138"},up={search:"\uAC80\uC0C9...",customers:"\uACE0\uAC1D",users:"\uC0AC\uC6A9\uC790",no_results_found:"\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4"},mp={title:"\uACE0\uAC1D",add_customer:"\uACE0\uAC1D \uCD94\uAC00",contacts_list:"\uACE0\uAC1D \uBAA9\uB85D",name:"\uC774\uB984",mail:"\uBA54\uC77C | \uBA54\uC77C",statement:"\uC131\uBA85\uC11C",display_name:"\uC774\uB984 \uD45C\uC2DC\uD558\uAE30",primary_contact_name:"\uAE30\uBCF8 \uC5F0\uB77D\uCC98 \uC774\uB984",contact_name:"\uB2F4\uB2F9\uC790 \uC774\uB984",amount_due:"\uC9C0\uBD88\uC561",email:"\uC774\uBA54\uC77C",address:"\uC8FC\uC18C",phone:"\uC804\uD654",website:"\uC6F9 \uC0AC\uC774\uD2B8",overview:"\uAC1C\uC694",enable_portal:"\uD3EC\uD138 \uD65C\uC131\uD654",country:"\uAD6D\uAC00",state:"\uC0C1\uD0DC",city:"\uC2DC\uD2F0",zip_code:"\uC6B0\uD3B8 \uBC88\uD638",added_on:"\uCD94\uAC00\uB428",action:"\uB3D9\uC791",password:"\uC554\uD638",street_number:"\uBC88\uC9C0",primary_currency:"\uAE30\uBCF8 \uD1B5\uD654",description:"\uAE30\uC220",add_new_customer:"\uC2E0\uADDC \uACE0\uAC1D \uCD94\uAC00",save_customer:"\uACE0\uAC1D \uC800\uC7A5",update_customer:"\uACE0\uAC1D \uC5C5\uB370\uC774\uD2B8",customer:"\uACE0\uAC1D | \uACE0\uAC1D",new_customer:"\uC2E0\uADDC \uACE0\uAC1D",edit_customer:"\uACE0\uAC1D \uD3B8\uC9D1",basic_info:"\uAE30\uBCF8 \uC815\uBCF4",billing_address:"\uCCAD\uAD6C \uC9C0 \uC8FC\uC18C",shipping_address:"\uBC30\uC1A1 \uC8FC\uC18C",copy_billing_address:"\uACB0\uC81C\uC5D0\uC11C \uBCF5\uC0AC",no_customers:"\uC544\uC9C1 \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",no_customers_found:"\uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",no_contact:"\uC5F0\uB77D\uCC98 \uC5C6\uC74C",no_contact_name:"\uC5F0\uB77D\uCC98 \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",list_of_customers:"\uC774 \uC139\uC158\uC5D0\uB294 \uACE0\uAC1D \uBAA9\uB85D\uC774 \uD3EC\uD568\uB429\uB2C8\uB2E4.",primary_display_name:"\uAE30\uBCF8 \uD45C\uC2DC \uC774\uB984",select_currency:"\uD1B5\uD654 \uC120\uD0DD",select_a_customer:"\uACE0\uAC1D \uC120\uD0DD",type_or_click:"\uC785\uB825\uD558\uAC70\uB098 \uD074\uB9AD\uD558\uC5EC \uC120\uD0DD",new_transaction:"\uC0C8\uB85C\uC6B4 \uAC70\uB798",no_matching_customers:"\uC77C\uCE58\uD558\uB294 \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",phone_number:"\uC804\uD654 \uBC88\uD638",create_date:"\uB0A0\uC9DC \uC0DD\uC131",confirm_delete:"\uC774 \uACE0\uAC1D\uACFC \uBAA8\uB4E0 \uAD00\uB828 \uC1A1\uC7A5, \uACAC\uC801 \uBC0F \uC9C0\uBD88\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. | \uC774\uB7EC\uD55C \uACE0\uAC1D \uBC0F \uBAA8\uB4E0 \uAD00\uB828 \uCCAD\uAD6C\uC11C, \uACAC\uC801 \uBC0F \uC9C0\uBD88\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",created_message:"\uACE0\uAC1D\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uACE0\uAC1D\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uD588\uC2B5\uB2C8\uB2E4.",deleted_message:"\uACE0\uAC1D\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. | \uACE0\uAC1D\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},pp={title:"\uC544\uC774\uD15C",items_list:"\uD488\uBAA9 \uBAA9\uB85D",name:"\uC774\uB984",unit:"\uB2E8\uC704",description:"\uAE30\uC220",added_on:"\uCD94\uAC00\uB428",price:"\uAC00\uACA9",date_of_creation:"\uC0DD\uC131 \uC77C",not_selected:"\uC120\uD0DD\uD55C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",action:"\uB3D9\uC791",add_item:"\uC544\uC774\uD15C \uCD94\uAC00",save_item:"\uD56D\uBAA9 \uC800\uC7A5",update_item:"\uD56D\uBAA9 \uC5C5\uB370\uC774\uD2B8",item:"\uD56D\uBAA9 | \uC544\uC774\uD15C",add_new_item:"\uC0C8 \uD56D\uBAA9 \uCD94\uAC00",new_item:"\uC0C8\uB85C\uC6B4 \uBB3C\uD488",edit_item:"\uD56D\uBAA9 \uD3B8\uC9D1",no_items:"\uC544\uC9C1 \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",list_of_items:"\uC774 \uC139\uC158\uC5D0\uB294 \uD56D\uBAA9 \uBAA9\uB85D\uC774 \uD3EC\uD568\uB429\uB2C8\uB2E4.",select_a_unit:"\uB2E8\uC704 \uC120\uD0DD",taxes:"\uAD6C\uC2E4",item_attached_message:"\uC774\uBBF8 \uC0AC\uC6A9\uC911\uC778 \uD56D\uBAA9\uC740 \uC0AD\uC81C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",confirm_delete:"\uC774 \uD56D\uBAA9\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. | \uC774 \uD56D\uBAA9\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",created_message:"\uD56D\uBAA9\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uD56D\uBAA9\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",deleted_message:"\uD56D\uBAA9\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. | \uD56D\uBAA9\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},gp={title:"\uACAC\uC801",estimate:"\uACAC\uC801 | \uACAC\uC801",estimates_list:"\uACAC\uC801 \uBAA9\uB85D",days:"{days} \uC77C",months:"{months} \uAC1C\uC6D4",years:"{years} \uB144",all:"\uBAA8\uB450",paid:"\uC720\uB8CC",unpaid:"\uBBF8\uC9C0\uAE09",customer:"\uACE0\uAC1D",ref_no:"\uCC38\uC870 \uBC88\uD638.",number:"\uBC88\uD638",amount_due:"\uC9C0\uBD88\uC561",partially_paid:"\uBD80\uBD84 \uC9C0\uBD88",total:"\uD569\uACC4",discount:"\uD560\uC778",sub_total:"\uC18C\uACC4",estimate_number:"\uACAC\uC801 \uBC88\uD638",ref_number:"\uCC38\uC870 \uBC88\uD638",contact:"\uC811\uCD09",add_item:"\uD56D\uBAA9 \uCD94\uAC00",date:"\uB370\uC774\uD2B8",due_date:"\uB9C8\uAC10\uC77C",expiry_date:"\uB9CC\uB8CC\uC77C",status:"\uC0C1\uD0DC",add_tax:"\uC138\uAE08 \uCD94\uAC00",amount:"\uC591",action:"\uB3D9\uC791",notes:"\uB178\uD2B8",tax:"\uC138",estimate_template:"\uC8FC\uD615",convert_to_invoice:"\uC1A1\uC7A5\uC73C\uB85C \uBCC0\uD658",mark_as_sent:"\uBCF4\uB0B8 \uAC83\uC73C\uB85C \uD45C\uC2DC",send_estimate:"\uACAC\uC801 \uBCF4\uB0B4\uAE30",resend_estimate:"\uACAC\uC801 \uC7AC\uC804\uC1A1",record_payment:"\uAE30\uB85D \uC9C0\uBD88",add_estimate:"\uACAC\uC801 \uCD94\uAC00",save_estimate:"\uACAC\uC801 \uC800\uC7A5",confirm_conversion:"\uC774 \uACAC\uC801\uC740 \uC0C8 \uC778\uBCF4\uC774\uC2A4\uB97C \uB9CC\uB4DC\uB294 \uB370 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.",conversion_message:"\uC778\uBCF4\uC774\uC2A4\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",confirm_send_estimate:"\uC774 \uACAC\uC801\uC740 \uC774\uBA54\uC77C\uC744 \uD1B5\uD574 \uACE0\uAC1D\uC5D0\uAC8C \uC804\uC1A1\uB429\uB2C8\uB2E4.",confirm_mark_as_sent:"\uC774 \uACAC\uC801\uC740 \uC804\uC1A1 \uB41C \uAC83\uC73C\uB85C \uD45C\uC2DC\uB429\uB2C8\uB2E4.",confirm_mark_as_accepted:"\uC774 \uACAC\uC801\uC740 \uC218\uB77D \uB428\uC73C\uB85C \uD45C\uC2DC\uB429\uB2C8\uB2E4.",confirm_mark_as_rejected:"\uC774 \uACAC\uC801\uC740 \uAC70\uBD80 \uB428\uC73C\uB85C \uD45C\uC2DC\uB429\uB2C8\uB2E4.",no_matching_estimates:"\uC77C\uCE58\uD558\uB294 \uACAC\uC801\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",mark_as_sent_successfully:"\uC131\uACF5\uC801\uC73C\uB85C \uC804\uC1A1 \uB41C \uAC83\uC73C\uB85C \uD45C\uC2DC\uB41C \uACAC\uC801",send_estimate_successfully:"\uACAC\uC801\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC804\uC1A1\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",errors:{required:"\uD544\uB4DC\uB294 \uD544\uC218\uC785\uB2C8\uB2E4"},accepted:"\uC218\uB77D \uB428",rejected:"\uAC70\uBD80 \uB428",sent:"\uBCF4\uB0C4",draft:"\uCD08\uC548",declined:"\uAC70\uBD80 \uB428",new_estimate:"\uC0C8\uB85C\uC6B4 \uACAC\uC801",add_new_estimate:"\uC0C8\uB85C\uC6B4 \uACAC\uC801 \uCD94\uAC00",update_Estimate:"\uACAC\uC801 \uC5C5\uB370\uC774\uD2B8",edit_estimate:"\uACAC\uC801 \uC218\uC815",items:"\uD56D\uBAA9",Estimate:"\uACAC\uC801 | \uACAC\uC801",add_new_tax:"\uC0C8 \uC138\uAE08 \uCD94\uAC00",no_estimates:"\uC544\uC9C1 \uACAC\uC801\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",list_of_estimates:"\uC774 \uC139\uC158\uC5D0\uB294 \uACAC\uC801 \uBAA9\uB85D\uC774 \uD3EC\uD568\uB429\uB2C8\uB2E4.",mark_as_rejected:"\uAC70\uBD80 \uB428\uC73C\uB85C \uD45C\uC2DC",mark_as_accepted:"\uC218\uB77D \uB428\uC73C\uB85C \uD45C\uC2DC",marked_as_accepted_message:"\uC218\uB77D \uB41C \uAC83\uC73C\uB85C \uD45C\uC2DC\uB41C \uACAC\uC801",marked_as_rejected_message:"\uAC70\uBD80 \uB41C \uAC83\uC73C\uB85C \uD45C\uC2DC\uB41C \uACAC\uC801",confirm_delete:"\uC774 \uACAC\uC801\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. | \uC774 \uACAC\uC801\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",created_message:"\uACAC\uC801\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uACAC\uC801\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",deleted_message:"\uC608\uC0C1\uCE58\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. | \uACAC\uC801\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",something_went_wrong:"\uBB54\uAC00 \uC798\uBABB \uB410\uC5B4",item:{title:"\uD56D\uBAA9 \uC81C\uBAA9",description:"\uAE30\uC220",quantity:"\uC218\uB7C9",price:"\uAC00\uACA9",discount:"\uD560\uC778",total:"\uD569\uACC4",total_discount:"\uCD1D \uD560\uC778",sub_total:"\uC18C\uACC4",tax:"\uC138",amount:"\uC591",select_an_item:"\uD56D\uBAA9\uC744 \uC785\uB825\uD558\uAC70\uB098 \uD074\uB9AD\uD558\uC5EC \uC120\uD0DD",type_item_description:"\uC720\uD615 \uD56D\uBAA9 \uC124\uBA85 (\uC120\uD0DD \uC0AC\uD56D)"}},fp={title:"\uC1A1\uC7A5",invoices_list:"\uC1A1\uC7A5 \uBAA9\uB85D",days:"{days} \uC77C",months:"{months} \uAC1C\uC6D4",years:"{years} \uB144",all:"\uBAA8\uB450",paid:"\uC720\uB8CC",unpaid:"\uBBF8\uC9C0\uAE09",viewed:"\uC870\uD68C",overdue:"\uC5F0\uCCB4",completed:"\uC644\uB8CC",customer:"\uACE0\uAC1D",paid_status:"\uC9C0\uBD88 \uC0C1\uD0DC",ref_no:"\uCC38\uC870 \uBC88\uD638.",number:"\uBC88\uD638",amount_due:"\uC9C0\uBD88\uC561",partially_paid:"\uBD80\uBD84 \uC9C0\uBD88",total:"\uD569\uACC4",discount:"\uD560\uC778",sub_total:"\uC18C\uACC4",invoice:"\uC1A1\uC7A5 | \uC1A1\uC7A5",invoice_number:"\uC1A1\uC7A5 \uBC88\uD638",ref_number:"\uCC38\uC870 \uBC88\uD638",contact:"\uC811\uCD09",add_item:"\uD56D\uBAA9 \uCD94\uAC00",date:"\uB370\uC774\uD2B8",due_date:"\uB9C8\uAC10\uC77C",status:"\uC0C1\uD0DC",add_tax:"\uC138\uAE08 \uCD94\uAC00",amount:"\uC591",action:"\uB3D9\uC791",notes:"\uB178\uD2B8",view:"\uC804\uB9DD",send_invoice:"\uC1A1\uC7A5\uC744 \uBCF4\uB0B4\uB2E4",resend_invoice:"\uC778\uBCF4\uC774\uC2A4 \uC7AC\uC804\uC1A1",invoice_template:"\uC1A1\uC7A5 \uD15C\uD50C\uB9BF",template:"\uC8FC\uD615",mark_as_sent:"\uBCF4\uB0B8 \uAC83\uC73C\uB85C \uD45C\uC2DC",confirm_send_invoice:"\uC774 \uC778\uBCF4\uC774\uC2A4\uB294 \uC774\uBA54\uC77C\uC744 \uD1B5\uD574 \uACE0\uAC1D\uC5D0\uAC8C \uBC1C\uC1A1\uB429\uB2C8\uB2E4.",invoice_mark_as_sent:"\uC774 \uC778\uBCF4\uC774\uC2A4\uB294 \uBCF4\uB0B8 \uAC83\uC73C\uB85C \uD45C\uC2DC\uB429\uB2C8\uB2E4.",confirm_send:"\uC774 \uC778\uBCF4\uC774\uC2A4\uB294 \uC774\uBA54\uC77C\uC744 \uD1B5\uD574 \uACE0\uAC1D\uC5D0\uAC8C \uBC1C\uC1A1\uB429\uB2C8\uB2E4.",invoice_date:"\uC1A1\uC7A5 \uB0A0\uC9DC",record_payment:"\uAE30\uB85D \uC9C0\uBD88",add_new_invoice:"\uC0C8 \uC1A1\uC7A5 \uCD94\uAC00",update_expense:"\uBE44\uC6A9 \uC5C5\uB370\uC774\uD2B8",edit_invoice:"\uC1A1\uC7A5 \uD3B8\uC9D1",new_invoice:"\uC0C8 \uC1A1\uC7A5",save_invoice:"\uC1A1\uC7A5 \uC800\uC7A5",update_invoice:"\uC1A1\uC7A5 \uC5C5\uB370\uC774\uD2B8",add_new_tax:"\uC0C8 \uC138\uAE08 \uCD94\uAC00",no_invoices:"\uC544\uC9C1 \uC778\uBCF4\uC774\uC2A4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4!",list_of_invoices:"\uC774 \uC139\uC158\uC5D0\uB294 \uC1A1\uC7A5 \uBAA9\uB85D\uC774 \uD3EC\uD568\uB429\uB2C8\uB2E4.",select_invoice:"\uC1A1\uC7A5 \uC120\uD0DD",no_matching_invoices:"\uC77C\uCE58\uD558\uB294 \uC1A1\uC7A5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",mark_as_sent_successfully:"\uC131\uACF5\uC801\uC73C\uB85C \uBC1C\uC1A1 \uB41C \uAC83\uC73C\uB85C \uD45C\uC2DC\uB41C \uC1A1\uC7A5",invoice_sent_successfully:"\uC778\uBCF4\uC774\uC2A4\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC804\uC1A1\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",cloned_successfully:"\uC1A1\uC7A5\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uBCF5\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",clone_invoice:"\uC1A1\uC7A5 \uBCF5\uC81C",confirm_clone:"\uC774 \uC1A1\uC7A5\uC740 \uC0C8 \uC1A1\uC7A5\uC5D0 \uBCF5\uC81C\uB429\uB2C8\uB2E4.",item:{title:"\uD56D\uBAA9 \uC81C\uBAA9",description:"\uAE30\uC220",quantity:"\uC218\uB7C9",price:"\uAC00\uACA9",discount:"\uD560\uC778",total:"\uD569\uACC4",total_discount:"\uCD1D \uD560\uC778",sub_total:"\uC18C\uACC4",tax:"\uC138",amount:"\uC591",select_an_item:"\uD56D\uBAA9\uC744 \uC785\uB825\uD558\uAC70\uB098 \uD074\uB9AD\uD558\uC5EC \uC120\uD0DD",type_item_description:"\uC720\uD615 \uD56D\uBAA9 \uC124\uBA85 (\uC120\uD0DD \uC0AC\uD56D)"},confirm_delete:"\uC774 \uC778\uBCF4\uC774\uC2A4\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. | \uC774\uB7EC\uD55C \uC778\uBCF4\uC774\uC2A4\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",created_message:"\uC1A1\uC7A5\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uC1A1\uC7A5\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",deleted_message:"\uC1A1\uC7A5\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. | \uC778\uBCF4\uC774\uC2A4\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",marked_as_sent_message:"\uC131\uACF5\uC801\uC73C\uB85C \uBC1C\uC1A1 \uB41C \uAC83\uC73C\uB85C \uD45C\uC2DC\uB41C \uC1A1\uC7A5",something_went_wrong:"\uBB54\uAC00 \uC798\uBABB \uB410\uC5B4",invalid_due_amount_message:"\uCD1D \uC1A1\uC7A5 \uAE08\uC561\uC740\uC774 \uC1A1\uC7A5\uC5D0 \uB300\uD55C \uCD1D \uC9C0\uBD88 \uAE08\uC561\uBCF4\uB2E4 \uC791\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uACC4\uC18D\uD558\uB824\uBA74 \uC778\uBCF4\uC774\uC2A4\uB97C \uC5C5\uB370\uC774\uD2B8\uD558\uAC70\uB098 \uAD00\uB828 \uACB0\uC81C\uB97C \uC0AD\uC81C\uD558\uC138\uC694."},hp={title:"\uC9C0\uBD88",payments_list:"\uC9C0\uBD88 \uBAA9\uB85D",record_payment:"\uAE30\uB85D \uC9C0\uBD88",customer:"\uACE0\uAC1D",date:"\uB370\uC774\uD2B8",amount:"\uC591",action:"\uB3D9\uC791",payment_number:"\uACB0\uC81C \uBC88\uD638",payment_mode:"\uC9C0\uBD88 \uBAA8\uB4DC",invoice:"\uC1A1\uC7A5",note:"\uB178\uD2B8",add_payment:"\uC9C0\uBD88 \uCD94\uAC00",new_payment:"\uC0C8\uB85C\uC6B4 \uC9C0\uBD88",edit_payment:"\uACB0\uC81C \uC218\uC815",view_payment:"\uACB0\uC81C\uBCF4\uAE30",add_new_payment:"\uC0C8 \uC9C0\uBD88 \uCD94\uAC00",send_payment_receipt:"\uACB0\uC81C \uC601\uC218\uC99D \uBCF4\uB0B4\uAE30",send_payment:"\uC9C0\uBD88 \uBCF4\uB0B4\uAE30",save_payment:"\uC9C0\uBD88 \uC800\uC7A5",update_payment:"\uACB0\uC81C \uC5C5\uB370\uC774\uD2B8",payment:"\uC9C0\uBD88 | \uC9C0\uBD88",no_payments:"\uC544\uC9C1 \uACB0\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4!",not_selected:"\uC120\uD0DD\uB418\uC9C0 \uC54A\uC740",no_invoice:"\uC1A1\uC7A5 \uC5C6\uC74C",no_matching_payments:"\uC77C\uCE58\uD558\uB294 \uC9C0\uBD88\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",list_of_payments:"\uC774 \uC139\uC158\uC5D0\uB294 \uC9C0\uBD88 \uBAA9\uB85D\uC774 \uD3EC\uD568\uB429\uB2C8\uB2E4.",select_payment_mode:"\uACB0\uC81C \uBAA8\uB4DC \uC120\uD0DD",confirm_mark_as_sent:"\uC774 \uACAC\uC801\uC740 \uC804\uC1A1 \uB41C \uAC83\uC73C\uB85C \uD45C\uC2DC\uB429\uB2C8\uB2E4.",confirm_send_payment:"\uC774 \uACB0\uC81C\uB294 \uC774\uBA54\uC77C\uC744 \uD1B5\uD574 \uACE0\uAC1D\uC5D0\uAC8C \uC804\uC1A1\uB429\uB2C8\uB2E4.",send_payment_successfully:"\uC9C0\uBD88\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC804\uC1A1\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",something_went_wrong:"\uBB54\uAC00 \uC798\uBABB \uB410\uC5B4",confirm_delete:"\uC774 \uC9C0\uBD88\uAE08\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. | \uC774 \uC9C0\uAE09\uAE08\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",created_message:"\uACB0\uC81C\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uACB0\uC81C\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",deleted_message:"\uACB0\uC81C\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. | \uACB0\uC81C\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",invalid_amount_message:"\uACB0\uC81C \uAE08\uC561\uC774 \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},vp={title:"\uACBD\uBE44",expenses_list:"\uBE44\uC6A9 \uBAA9\uB85D",select_a_customer:"\uACE0\uAC1D \uC120\uD0DD",expense_title:"\uD45C\uC81C",customer:"\uACE0\uAC1D",contact:"\uC811\uCD09",category:"\uBC94\uC8FC",from_date:"\uC2DC\uC791 \uB0A0\uC9DC",to_date:"\uD604\uC7AC\uAE4C\uC9C0",expense_date:"\uB370\uC774\uD2B8",description:"\uAE30\uC220",receipt:"\uC601\uC218\uC99D",amount:"\uC591",action:"\uB3D9\uC791",not_selected:"\uC120\uD0DD\uB418\uC9C0 \uC54A\uC740",note:"\uB178\uD2B8",category_id:"\uCE74\uD14C\uACE0\uB9AC ID",date:"\uB370\uC774\uD2B8",add_expense:"\uBE44\uC6A9 \uCD94\uAC00",add_new_expense:"\uC2E0\uADDC \uBE44\uC6A9 \uCD94\uAC00",save_expense:"\uBE44\uC6A9 \uC808\uAC10",update_expense:"\uBE44\uC6A9 \uC5C5\uB370\uC774\uD2B8",download_receipt:"\uC601\uC218\uC99D \uB2E4\uC6B4\uB85C\uB4DC",edit_expense:"\uBE44\uC6A9 \uD3B8\uC9D1",new_expense:"\uC0C8\uB85C\uC6B4 \uBE44\uC6A9",expense:"\uBE44\uC6A9 | \uACBD\uBE44",no_expenses:"\uC544\uC9C1 \uBE44\uC6A9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",list_of_expenses:"\uC774 \uC139\uC158\uC5D0\uB294 \uBE44\uC6A9 \uBAA9\uB85D\uC774 \uD3EC\uD568\uB429\uB2C8\uB2E4.",confirm_delete:"\uC774 \uBE44\uC6A9\uC744 \uD68C\uC218 \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. | \uC774\uB7EC\uD55C \uBE44\uC6A9\uC740 \uD68C\uC218 \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",created_message:"\uBE44\uC6A9\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uBE44\uC6A9\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",deleted_message:"\uBE44\uC6A9\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. | \uBE44\uC6A9\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",categories:{categories_list:"\uCE74\uD14C\uACE0\uB9AC \uBAA9\uB85D",title:"\uD45C\uC81C",name:"\uC774\uB984",description:"\uAE30\uC220",amount:"\uC591",actions:"\uD589\uC704",add_category:"\uCE74\uD14C\uACE0\uB9AC \uCD94\uAC00",new_category:"\uC0C8 \uBD84\uB958",category:"\uCE74\uD14C\uACE0\uB9AC | \uCE74\uD14C\uACE0\uB9AC",select_a_category:"\uCE74\uD14C\uACE0\uB9AC \uC120\uD0DD"}},yp={email:"\uC774\uBA54\uC77C",password:"\uC554\uD638",forgot_password:"\uBE44\uBC00\uBC88\uD638\uB97C \uC78A\uC73C \uC168\uB098\uC694?",or_signIn_with:"\uB610\uB294 \uB2E4\uC74C\uC73C\uB85C \uB85C\uADF8\uC778",login:"\uB85C\uADF8\uC778",register:"\uB808\uC9C0\uC2A4\uD130",reset_password:"\uC554\uD638\uB97C \uC7AC\uC124\uC815",password_reset_successfully:"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815 \uC131\uACF5",enter_email:"\uC774\uBA54\uC77C \uC785\uB825",enter_password:"\uC554\uD638\uB97C \uC785\uB825",retype_password:"\uBE44\uBC00\uBC88\uD638 \uC7AC \uC785\uB825"},bp={title:"\uC0AC\uC6A9\uC790",users_list:"\uC0AC\uC6A9\uC790 \uBAA9\uB85D",name:"\uC774\uB984",description:"\uAE30\uC220",added_on:"\uCD94\uAC00\uB428",date_of_creation:"\uC0DD\uC131 \uC77C",action:"\uB3D9\uC791",add_user:"\uC0AC\uC6A9\uC790 \uCD94\uAC00",save_user:"\uC0AC\uC6A9\uC790 \uC800\uC7A5",update_user:"\uC0AC\uC6A9\uC790 \uC5C5\uB370\uC774\uD2B8",user:"\uC0AC\uC6A9\uC790 | \uC0AC\uC6A9\uC790",add_new_user:"\uC0C8 \uC0AC\uC6A9\uC790 \uCD94\uAC00",new_user:"\uC0C8\uB85C\uC6B4 \uC0AC\uC6A9\uC790",edit_user:"\uC0AC\uC6A9\uC790 \uD3B8\uC9D1",no_users:"\uC544\uC9C1 \uC0AC\uC6A9\uC790\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4!",list_of_users:"\uC774 \uC139\uC158\uC5D0\uB294 \uC0AC\uC6A9\uC790 \uBAA9\uB85D\uC774 \uD3EC\uD568\uB429\uB2C8\uB2E4.",email:"\uC774\uBA54\uC77C",phone:"\uC804\uD654",password:"\uC554\uD638",user_attached_message:"\uC774\uBBF8 \uC0AC\uC6A9\uC911\uC778 \uD56D\uBAA9\uC740 \uC0AD\uC81C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",confirm_delete:"\uC774 \uC0AC\uC6A9\uC790\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. | \uC774\uB7EC\uD55C \uC0AC\uC6A9\uC790\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",created_message:"\uC0AC\uC6A9\uC790\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uC0AC\uC6A9\uC790\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",deleted_message:"\uC0AC\uC6A9\uC790\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. | \uC0AC\uC6A9\uC790\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},kp={title:"\uBCF4\uACE0\uC11C",from_date:"\uC2DC\uC791 \uB0A0\uC9DC",to_date:"\uD604\uC7AC\uAE4C\uC9C0",status:"\uC0C1\uD0DC",paid:"\uC720\uB8CC",unpaid:"\uBBF8\uC9C0\uAE09",download_pdf:"PDF \uB2E4\uC6B4\uB85C\uB4DC",view_pdf:"PDF\uBCF4\uAE30",update_report:"\uBCF4\uACE0\uC11C \uC5C5\uB370\uC774\uD2B8",report:"\uC2E0\uACE0 | \uBCF4\uACE0\uC11C",profit_loss:{profit_loss:"\uC774\uC775",to_date:"\uD604\uC7AC\uAE4C\uC9C0",from_date:"\uC2DC\uC791 \uB0A0\uC9DC",date_range:"\uAE30\uAC04 \uC120\uD0DD"},sales:{sales:"\uB9E4\uC0C1",date_range:"\uAE30\uAC04 \uC120\uD0DD",to_date:"\uD604\uC7AC\uAE4C\uC9C0",from_date:"\uC2DC\uC791 \uB0A0\uC9DC",report_type:"\uBCF4\uACE0\uC11C \uC720\uD615"},taxes:{taxes:"\uAD6C\uC2E4",to_date:"\uD604\uC7AC\uAE4C\uC9C0",from_date:"\uC2DC\uC791 \uB0A0\uC9DC",date_range:"\uAE30\uAC04 \uC120\uD0DD"},errors:{required:"\uD544\uB4DC\uB294 \uD544\uC218\uC785\uB2C8\uB2E4"},invoices:{invoice:"\uC1A1\uC7A5",invoice_date:"\uC1A1\uC7A5 \uB0A0\uC9DC",due_date:"\uB9C8\uAC10\uC77C",amount:"\uC591",contact_name:"\uB2F4\uB2F9\uC790 \uC774\uB984",status:"\uC0C1\uD0DC"},estimates:{estimate:"\uACAC\uC801",estimate_date:"\uC608\uC0C1 \uB0A0\uC9DC",due_date:"\uB9C8\uAC10\uC77C",estimate_number:"\uACAC\uC801 \uBC88\uD638",ref_number:"\uCC38\uC870 \uBC88\uD638",amount:"\uC591",contact_name:"\uB2F4\uB2F9\uC790 \uC774\uB984",status:"\uC0C1\uD0DC"},expenses:{expenses:"\uACBD\uBE44",category:"\uBC94\uC8FC",date:"\uB370\uC774\uD2B8",amount:"\uC591",to_date:"\uD604\uC7AC\uAE4C\uC9C0",from_date:"\uC2DC\uC791 \uB0A0\uC9DC",date_range:"\uAE30\uAC04 \uC120\uD0DD"}},wp={menu_title:{account_settings:"\uACC4\uC815 \uC124\uC815",company_information:"\uD68C\uC0AC \uC815\uBCF4",customization:"\uCEE4\uC2A4\uD130\uB9C8\uC774\uC9D5",preferences:"\uD658\uACBD \uC124\uC815",notifications:"\uC54C\uB9BC",tax_types:"\uC138\uAE08 \uC720\uD615",expense_category:"\uBE44\uC6A9 \uBC94\uC8FC",update_app:"\uC571 \uC5C5\uB370\uC774\uD2B8",backup:"\uC9C0\uC6D0",file_disk:"\uD30C\uC77C \uB514\uC2A4\uD06C",custom_fields:"\uC0AC\uC6A9\uC790 \uC815\uC758 \uD544\uB4DC",payment_modes:"\uC9C0\uBD88 \uBAA8\uB4DC",notes:"\uB178\uD2B8"},title:"\uC124\uC815",setting:"\uC124\uC815 | \uC124\uC815",general:"\uC77C\uBC18",language:"\uC5B8\uC5B4",primary_currency:"\uAE30\uBCF8 \uD1B5\uD654",timezone:"\uC2DC\uAC04\uB300",date_format:"\uB0A0\uC9DC \uD615\uC2DD",currencies:{title:"\uD1B5\uD654",currency:"\uD1B5\uD654 | \uD1B5\uD654",currencies_list:"\uD1B5\uD654 \uBAA9\uB85D",select_currency:"\uD1B5\uD654 \uC120\uD0DD",name:"\uC774\uB984",code:"\uC554\uD638",symbol:"\uC0C1\uC9D5",precision:"\uC815\uB3C4",thousand_separator:"\uCC9C \uAD6C\uBD84\uC790",decimal_separator:"\uC18C\uC218\uC810 \uAD6C\uBD84 \uAE30\uD638",position:"\uC704\uCE58",position_of_symbol:"\uAE30\uD638 \uC704\uCE58",right:"\uAD8C\uB9AC",left:"\uC67C\uCABD",action:"\uB3D9\uC791",add_currency:"\uD1B5\uD654 \uCD94\uAC00"},mail:{host:"\uBA54\uC77C \uD638\uC2A4\uD2B8",port:"\uBA54\uC77C \uD3EC\uD2B8",driver:"\uBA54\uC77C \uB4DC\uB77C\uC774\uBC84",secret:"\uBE44\uBC00",mailgun_secret:"Mailgun \uBE44\uBC00",mailgun_domain:"\uB3C4\uBA54\uC778",mailgun_endpoint:"Mailgun \uC5D4\uB4DC \uD3EC\uC778\uD2B8",ses_secret:"SES \uBE44\uBC00",ses_key:"SES \uD0A4",password:"\uBA54\uC77C \uBE44\uBC00\uBC88\uD638",username:"\uBA54\uC77C \uC0AC\uC6A9\uC790 \uC774\uB984",mail_config:"\uBA54\uC77C \uAD6C\uC131",from_name:"\uBA54\uC77C \uC774\uB984\uC5D0\uC11C",from_mail:"\uBA54\uC77C \uC8FC\uC18C\uC5D0\uC11C",encryption:"\uBA54\uC77C \uC554\uD638\uD654",mail_config_desc:"\uB2E4\uC74C\uC740 \uC571\uC5D0\uC11C \uC774\uBA54\uC77C\uC744 \uBCF4\uB0B4\uAE30\uC704\uD55C \uC774\uBA54\uC77C \uB4DC\uB77C\uC774\uBC84 \uAD6C\uC131 \uC591\uC2DD\uC785\uB2C8\uB2E4. Sendgrid, SES \uB4F1\uACFC \uAC19\uC740 \uD0C0\uC0AC \uACF5\uAE09\uC790\uB97C \uAD6C\uC131 \uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4."},pdf:{title:"PDF \uC124\uC815",footer_text:"\uBC14\uB2E5 \uAE00 \uD14D\uC2A4\uD2B8",pdf_layout:"PDF \uB808\uC774\uC544\uC6C3"},company_info:{company_info:"\uD68C\uC0AC \uC815\uBCF4",company_name:"\uD68C\uC0AC \uC774\uB984",company_logo:"\uD68C\uC0AC \uB85C\uACE0",section_description:"Crater\uC5D0\uC11C \uC0DD\uC131 \uD55C \uC1A1\uC7A5, \uACAC\uC801 \uBC0F \uAE30\uD0C0 \uBB38\uC11C\uC5D0 \uD45C\uC2DC \uB420 \uD68C\uC0AC\uC5D0 \uB300\uD55C \uC815\uBCF4.",phone:"\uC804\uD654",country:"\uAD6D\uAC00",state:"\uC0C1\uD0DC",city:"\uC2DC\uD2F0",address:"\uC8FC\uC18C",zip:"\uC9C0\uD37C",save:"\uC800\uC7A5",updated_message:"\uD68C\uC0AC \uC815\uBCF4\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},custom_fields:{title:"\uC0AC\uC6A9\uC790 \uC815\uC758 \uD544\uB4DC",section_description:"\uC1A1\uC7A5, \uACAC\uC801 \uC0AC\uC6A9\uC790 \uC9C0\uC815",add_custom_field:"\uC0AC\uC6A9\uC790 \uC815\uC758 \uD544\uB4DC \uCD94\uAC00",edit_custom_field:"\uC0AC\uC6A9\uC790 \uC815\uC758 \uD544\uB4DC \uD3B8\uC9D1",field_name:"\uBD84\uC57C \uBA85",label:"\uC0C1\uD45C",type:"\uC720\uD615",name:"\uC774\uB984",required:"\uD544\uC218",placeholder:"\uC790\uB9AC \uD45C\uC2DC \uC790",help_text:"\uB3C4\uC6C0\uB9D0 \uD14D\uC2A4\uD2B8",default_value:"\uAE30\uBCF8\uAC12",prefix:"\uC811\uB450\uC0AC",starting_number:"\uC2DC\uC791 \uBC88\uD638",model:"\uBAA8\uB378",help_text_description:"\uC0AC\uC6A9\uC790\uAC00\uC774 \uC0AC\uC6A9\uC790 \uC815\uC758 \uD544\uB4DC\uC758 \uBAA9\uC801\uC744 \uC774\uD574\uD558\uB294 \uB370 \uB3C4\uC6C0\uC774\uB418\uB294 \uD14D\uC2A4\uD2B8\uB97C \uC785\uB825\uD558\uC2ED\uC2DC\uC624.",suffix:"\uC811\uBBF8\uC0AC",yes:"\uC608",no:"\uC544\uB2C8",order:"\uC8FC\uBB38",custom_field_confirm_delete:"\uC774 \uC0AC\uC6A9\uC790 \uC815\uC758 \uD544\uB4DC\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",already_in_use:"\uB9DE\uCDA4 \uC785\uB825\uB780\uC774 \uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4.",deleted_message:"\uB9DE\uCDA4 \uC785\uB825\uB780\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",options:"\uC635\uC158",add_option:"\uC635\uC158 \uCD94\uAC00",add_another_option:"\uB2E4\uB978 \uC635\uC158 \uCD94\uAC00",sort_in_alphabetical_order:"\uC54C\uD30C\uBCB3\uC21C\uC73C\uB85C \uC815\uB82C",add_options_in_bulk:"\uC77C\uAD04 \uC635\uC158 \uCD94\uAC00",use_predefined_options:"\uBBF8\uB9AC \uC815\uC758 \uB41C \uC635\uC158 \uC0AC\uC6A9",select_custom_date:"\uB9DE\uCDA4 \uB0A0\uC9DC \uC120\uD0DD",select_relative_date:"\uC0C1\uB300 \uB0A0\uC9DC \uC120\uD0DD",ticked_by_default:"\uAE30\uBCF8\uC801\uC73C\uB85C \uC120\uD0DD\uB428",updated_message:"\uB9DE\uCDA4 \uC785\uB825\uB780\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",added_message:"\uB9DE\uCDA4 \uC785\uB825\uB780\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uCD94\uAC00\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},customization:{customization:"\uB9DE\uCDA4\uD654",save:"\uC800\uC7A5",addresses:{title:"\uAD6C\uC560",section_description:"\uACE0\uAC1D \uCCAD\uAD6C \uC8FC\uC18C \uBC0F \uACE0\uAC1D \uBC30\uC1A1 \uC8FC\uC18C \uD615\uC2DD\uC744 \uC124\uC815\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4 (PDF\uB85C\uB9CC \uD45C\uC2DC\uB428).",customer_billing_address:"\uACE0\uAC1D \uCCAD\uAD6C \uC8FC\uC18C",customer_shipping_address:"\uACE0\uAC1D \uBC30\uC1A1 \uC8FC\uC18C",company_address:"\uD68C\uC0AC \uC8FC\uC18C",insert_fields:"\uD544\uB4DC \uC0BD\uC785",contact:"\uC811\uCD09",address:"\uC8FC\uC18C",display_name:"\uC774\uB984 \uD45C\uC2DC\uD558\uAE30",primary_contact_name:"\uAE30\uBCF8 \uC5F0\uB77D\uCC98 \uC774\uB984",email:"\uC774\uBA54\uC77C",website:"\uC6F9 \uC0AC\uC774\uD2B8",name:"\uC774\uB984",country:"\uAD6D\uAC00",state:"\uC0C1\uD0DC",city:"\uC2DC\uD2F0",company_name:"\uD68C\uC0AC \uC774\uB984",address_street_1:"\uC8FC\uC18C \uAC70\uB9AC 1",address_street_2:"\uC8FC\uC18C Street 2",phone:"\uC804\uD654",zip_code:"\uC6B0\uD3B8 \uBC88\uD638",address_setting_updated:"\uC8FC\uC18C \uC124\uC815\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},updated_message:"\uD68C\uC0AC \uC815\uBCF4\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",invoices:{title:"\uC1A1\uC7A5",notes:"\uB178\uD2B8",invoice_prefix:"\uC1A1\uC7A5 \uC811\uB450\uC0AC",default_invoice_email_body:"\uAE30\uBCF8 \uC1A1\uC7A5 \uC774\uBA54\uC77C \uBCF8\uBB38",invoice_settings:"\uC1A1\uC7A5 \uC124\uC815",autogenerate_invoice_number:"\uC1A1\uC7A5 \uBC88\uD638 \uC790\uB3D9 \uC0DD\uC131",autogenerate_invoice_number_desc:"\uC0C8 \uC778\uBCF4\uC774\uC2A4\uB97C \uC0DD\uC131 \uD560 \uB54C\uB9C8\uB2E4 \uC778\uBCF4\uC774\uC2A4 \uBC88\uD638\uB97C \uC790\uB3D9 \uC0DD\uC131\uD558\uC9C0 \uC54A\uC73C\uB824\uBA74\uC774 \uAE30\uB2A5\uC744 \uBE44\uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624.",invoice_email_attachment:"\uC1A1\uC7A5\uC744 \uCCA8\uBD80 \uD30C\uC77C\uB85C \uBCF4\uB0B4\uAE30",invoice_email_attachment_setting_description:"\uC778\uBCF4\uC774\uC2A4\uB97C \uC774\uBA54\uC77C \uCCA8\uBD80 \uD30C\uC77C\uB85C \uBCF4\uB0B4\uB824\uBA74\uC774 \uC635\uC158\uC744 \uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624. \uC774\uBA54\uC77C\uC758 '\uC778\uBCF4\uC774\uC2A4\uBCF4\uAE30'\uBC84\uD2BC\uC774 \uD65C\uC131\uD654\uB418\uBA74 \uB354 \uC774\uC0C1 \uD45C\uC2DC\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",enter_invoice_prefix:"\uC1A1\uC7A5 \uC811\uB450\uC0AC \uC785\uB825",terms_and_conditions:"\uC774\uC6A9 \uC57D\uAD00",company_address_format:"\uD68C\uC0AC \uC8FC\uC18C \uD615\uC2DD",shipping_address_format:"\uBC30\uC1A1 \uC8FC\uC18C \uD615\uC2DD",billing_address_format:"\uCCAD\uAD6C \uC9C0 \uC8FC\uC18C \uD615\uC2DD",invoice_settings_updated:"\uC778\uBCF4\uC774\uC2A4 \uC124\uC815\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},estimates:{title:"\uACAC\uC801",estimate_prefix:"\uC811\uB450\uC0AC \uCD94\uC815",default_estimate_email_body:"\uAE30\uBCF8 \uC608\uC0C1 \uC774\uBA54\uC77C \uBCF8\uBB38",estimate_settings:"\uC608\uC0C1 \uC124\uC815",autogenerate_estimate_number:"\uACAC\uC801 \uBC88\uD638 \uC790\uB3D9 \uC0DD\uC131",estimate_setting_description:"\uC0C8 \uACAC\uC801\uC744 \uC0DD\uC131 \uD560 \uB54C\uB9C8\uB2E4 \uACAC\uC801 \uBC88\uD638\uB97C \uC790\uB3D9 \uC0DD\uC131\uD558\uC9C0 \uC54A\uC73C\uB824\uBA74\uC774 \uAE30\uB2A5\uC744 \uBE44\uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624.",estimate_email_attachment:"\uACAC\uC801\uC744 \uCCA8\uBD80 \uD30C\uC77C\uB85C \uBCF4\uB0B4\uAE30",estimate_email_attachment_setting_description:"\uACAC\uC801\uC744 \uC774\uBA54\uC77C \uCCA8\uBD80 \uD30C\uC77C\uB85C \uBCF4\uB0B4\uB824\uBA74\uC774 \uC635\uC158\uC744 \uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624. \uC774\uBA54\uC77C\uC758 '\uC608\uC0C1\uBCF4\uAE30'\uBC84\uD2BC\uC774 \uD65C\uC131\uD654\uB418\uBA74 \uB354 \uC774\uC0C1 \uD45C\uC2DC\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",enter_estimate_prefix:"\uACAC\uC801 \uC811\uB450\uC0AC \uC785\uB825",estimate_setting_updated:"\uC608\uC0C1 \uC124\uC815\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",company_address_format:"\uD68C\uC0AC \uC8FC\uC18C \uD615\uC2DD",billing_address_format:"\uCCAD\uAD6C \uC9C0 \uC8FC\uC18C \uD615\uC2DD",shipping_address_format:"\uBC30\uC1A1 \uC8FC\uC18C \uD615\uC2DD"},payments:{title:"\uC9C0\uBD88",description:"\uC9C0\uBD88\uC744\uC704\uD55C \uAC70\uB798 \uBC29\uC2DD",payment_prefix:"\uC9C0\uBD88 \uC811\uB450\uC0AC",default_payment_email_body:"\uAE30\uBCF8 \uACB0\uC81C \uC774\uBA54\uC77C \uBCF8\uBB38",payment_settings:"\uACB0\uC81C \uC124\uC815",autogenerate_payment_number:"\uACB0\uC81C \uBC88\uD638 \uC790\uB3D9 \uC0DD\uC131",payment_setting_description:"\uC0C8 \uACB0\uC81C\uB97C \uC0DD\uC131 \uD560 \uB54C\uB9C8\uB2E4 \uACB0\uC81C \uBC88\uD638\uB97C \uC790\uB3D9 \uC0DD\uC131\uD558\uC9C0 \uC54A\uC73C\uB824\uBA74\uC774 \uAE30\uB2A5\uC744 \uBE44\uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624.",payment_email_attachment:"\uCCA8\uBD80 \uD30C\uC77C\uB85C \uC9C0\uBD88 \uBCF4\uB0B4\uAE30",payment_email_attachment_setting_description:"\uACB0\uC81C \uC601\uC218\uC99D\uC744 \uC774\uBA54\uC77C \uCCA8\uBD80 \uD30C\uC77C\uB85C \uBCF4\uB0B4\uB824\uBA74\uC774 \uC635\uC158\uC744 \uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624. \uC774\uBA54\uC77C\uC758 '\uACB0\uC81C\uBCF4\uAE30'\uBC84\uD2BC\uC774 \uD65C\uC131\uD654\uB418\uBA74 \uB354 \uC774\uC0C1 \uD45C\uC2DC\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",enter_payment_prefix:"\uC9C0\uBD88 \uC811\uB450\uC0AC \uC785\uB825",payment_setting_updated:"\uACB0\uC81C \uC124\uC815\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",payment_modes:"\uC9C0\uBD88 \uBAA8\uB4DC",add_payment_mode:"\uACB0\uC81C \uBAA8\uB4DC \uCD94\uAC00",edit_payment_mode:"\uACB0\uC81C \uBAA8\uB4DC \uC218\uC815",mode_name:"\uBAA8\uB4DC \uC774\uB984",payment_mode_added:"\uACB0\uC81C \uBAA8\uB4DC \uCD94\uAC00",payment_mode_updated:"\uACB0\uC81C \uBAA8\uB4DC \uC5C5\uB370\uC774\uD2B8",payment_mode_confirm_delete:"\uC774 \uACB0\uC81C \uBAA8\uB4DC\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",already_in_use:"\uACB0\uC81C \uBAA8\uB4DC\uAC00 \uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4.",deleted_message:"\uACB0\uC81C \uBAA8\uB4DC\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",company_address_format:"\uD68C\uC0AC \uC8FC\uC18C \uD615\uC2DD",from_customer_address_format:"\uACE0\uAC1D \uC8FC\uC18C \uD615\uC2DD\uC5D0\uC11C"},items:{title:"\uC544\uC774\uD15C",units:"\uB2E8\uC704",add_item_unit:"\uD56D\uBAA9 \uB2E8\uC704 \uCD94\uAC00",edit_item_unit:"\uD56D\uBAA9 \uB2E8\uC704 \uD3B8\uC9D1",unit_name:"\uB2E8\uC704 \uC774\uB984",item_unit_added:"\uD56D\uBAA9 \uB2E8\uC704 \uCD94\uAC00\uB428",item_unit_updated:"\uD56D\uBAA9 \uB2E8\uC704 \uC5C5\uB370\uC774\uD2B8 \uB428",item_unit_confirm_delete:"\uC774 \uD56D\uBAA9 \uB2E8\uC704\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",already_in_use:"\uD56D\uBAA9 \uB2E8\uC704\uAC00 \uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4.",deleted_message:"\uD56D\uBAA9 \uB2E8\uC704\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},notes:{title:"\uB178\uD2B8",description:"\uBA54\uBAA8\uB97C \uC791\uC131\uD558\uACE0 \uC1A1\uC7A5, \uACAC\uC801\uC11C\uC5D0 \uC7AC\uC0AC\uC6A9\uD558\uC5EC \uC2DC\uAC04 \uC808\uC57D",notes:"\uB178\uD2B8",type:"\uC720\uD615",add_note:"\uBA54\uBAA8\uB97C \uCD94\uAC00",add_new_note:"\uC0C8 \uBA54\uBAA8 \uCD94\uAC00",name:"\uC774\uB984",edit_note:"\uBA54\uBAA8 \uC218\uC815",note_added:"\uBA54\uBAA8\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uCD94\uAC00\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",note_updated:"\uCC38\uACE0 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",note_confirm_delete:"\uC774 \uBA54\uBAA8\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",already_in_use:"\uBA54\uBAA8\uAC00 \uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4.",deleted_message:"\uBA54\uBAA8\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."}},account_settings:{profile_picture:"\uD504\uB85C\uD544 \uC0AC\uC9C4",name:"\uC774\uB984",email:"\uC774\uBA54\uC77C",password:"\uC554\uD638",confirm_password:"\uBE44\uBC00\uBC88\uD638 \uD655\uC778",account_settings:"\uACC4\uC815 \uC124\uC815",save:"\uC800\uC7A5",section_description:"\uC774\uB984, \uC774\uBA54\uC77C\uC744 \uC5C5\uB370\uC774\uD2B8 \uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",updated_message:"\uACC4\uC815 \uC124\uC815\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},user_profile:{name:"\uC774\uB984",email:"\uC774\uBA54\uC77C",password:"\uC554\uD638",confirm_password:"\uBE44\uBC00\uBC88\uD638 \uD655\uC778"},notification:{title:"\uACF5\uACE0",email:"\uC54C\uB9BC \uBCF4\uB0B4\uAE30",description:"\uBCC0\uACBD \uC0AC\uD56D\uC774\uC788\uC744 \uB54C \uC5B4\uB5A4 \uC774\uBA54\uC77C \uC54C\uB9BC\uC744 \uBC1B\uC73C\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",invoice_viewed:"\uC1A1\uC7A5 \uC870\uD68C",invoice_viewed_desc:"\uACE0\uAC1D\uC774 \uBD84\uD654\uAD6C \uB300\uC2DC \uBCF4\uB4DC\uB97C \uD1B5\uD574 \uC804\uC1A1 \uB41C \uC1A1\uC7A5\uC744 \uBCFC \uB54C.",estimate_viewed:"\uBCF8 \uACAC\uC801",estimate_viewed_desc:"\uACE0\uAC1D\uC774 \uBD84\uD654\uAD6C \uB300\uC2DC \uBCF4\uB4DC\uB97C \uD1B5\uD574 \uC804\uC1A1 \uB41C \uACAC\uC801\uC744 \uBCFC \uB54C.",save:"\uC800\uC7A5",email_save_message:"\uC774\uBA54\uC77C\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC800\uC7A5\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",please_enter_email:"\uC774\uBA54\uC77C\uC744 \uC785\uB825\uD558\uC2ED\uC2DC\uC624"},tax_types:{title:"\uC138\uAE08 \uC720\uD615",add_tax:"\uC138\uAE08 \uCD94\uAC00",edit_tax:"\uC138\uAE08 \uC218\uC815",description:"\uC6D0\uD558\uB294\uB300\uB85C \uC138\uAE08\uC744 \uCD94\uAC00\uD558\uAC70\uB098 \uC81C\uAC70 \uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. Crater\uB294 \uC1A1\uC7A5\uBFD0\uB9CC \uC544\uB2C8\uB77C \uAC1C\uBCC4 \uD488\uBAA9\uC5D0 \uB300\uD55C \uC138\uAE08\uC744 \uC9C0\uC6D0\uD569\uB2C8\uB2E4.",add_new_tax:"\uC0C8 \uC138\uAE08 \uCD94\uAC00",tax_settings:"\uC138\uAE08 \uC124\uC815",tax_per_item:"\uD488\uBAA9 \uB2F9 \uC138\uAE08",tax_name:"\uC138\uAE08 \uC774\uB984",compound_tax:"\uBCF5\uD569 \uC138",percent:"\uD37C\uC13C\uD2B8",action:"\uB3D9\uC791",tax_setting_description:"\uAC1C\uBCC4 \uC1A1\uC7A5 \uD56D\uBAA9\uC5D0 \uC138\uAE08\uC744 \uCD94\uAC00\uD558\uB824\uBA74\uC774 \uC635\uC158\uC744 \uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624. \uAE30\uBCF8\uC801\uC73C\uB85C \uC138\uAE08\uC740 \uC1A1\uC7A5\uC5D0 \uC9C1\uC811 \uCD94\uAC00\uB429\uB2C8\uB2E4.",created_message:"\uC138\uAE08 \uC720\uD615\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uC138\uAE08 \uC720\uD615\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",deleted_message:"\uC138\uAE08 \uC720\uD615\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",confirm_delete:"\uC774 \uC138\uAE08 \uC720\uD615\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",already_in_use:"\uC138\uAE08\uC774 \uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4."},expense_category:{title:"\uBE44\uC6A9 \uBC94\uC8FC",action:"\uB3D9\uC791",description:"\uBE44\uC6A9 \uD56D\uBAA9\uC744 \uCD94\uAC00\uD558\uB824\uBA74 \uCE74\uD14C\uACE0\uB9AC\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. \uAE30\uBCF8 \uC124\uC815\uC5D0 \uB530\uB77C \uC774\uB7EC\uD55C \uBC94\uC8FC\uB97C \uCD94\uAC00\uD558\uAC70\uB098 \uC81C\uAC70 \uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",add_new_category:"\uC0C8 \uCE74\uD14C\uACE0\uB9AC \uCD94\uAC00",add_category:"\uCE74\uD14C\uACE0\uB9AC \uCD94\uAC00",edit_category:"\uCE74\uD14C\uACE0\uB9AC \uC218\uC815",category_name:"\uCE74\uD14C\uACE0\uB9AC \uC774\uB984",category_description:"\uAE30\uC220",created_message:"\uBE44\uC6A9 \uBC94\uC8FC\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",deleted_message:"\uBE44\uC6A9 \uBC94\uC8FC\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uBE44\uC6A9 \uBC94\uC8FC\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",confirm_delete:"\uC774 \uBE44\uC6A9 \uBC94\uC8FC\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",already_in_use:"\uCE74\uD14C\uACE0\uB9AC\uAC00 \uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4."},preferences:{currency:"\uD1B5\uD654",default_language:"\uAE30\uBCF8 \uC5B8\uC5B4",time_zone:"\uC2DC\uAC04\uB300",fiscal_year:"\uD68C\uACC4 \uC5F0\uB3C4",date_format:"\uB0A0\uC9DC \uD615\uC2DD",discount_setting:"\uD560\uC778 \uC124\uC815",discount_per_item:"\uD488\uBAA9\uBCC4 \uD560\uC778",discount_setting_description:"\uAC1C\uBCC4 \uC1A1\uC7A5 \uD56D\uBAA9\uC5D0 \uD560\uC778\uC744 \uCD94\uAC00\uD558\uB824\uBA74\uC774 \uC635\uC158\uC744 \uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624. \uAE30\uBCF8\uC801\uC73C\uB85C \uD560\uC778\uC740 \uC1A1\uC7A5\uC5D0 \uC9C1\uC811 \uCD94\uAC00\uB429\uB2C8\uB2E4.",save:"\uC800\uC7A5",preference:"\uC120\uD638\uB3C4 | \uD658\uACBD \uC124\uC815",general_settings:"\uC2DC\uC2A4\uD15C\uC758 \uAE30\uBCF8 \uAE30\uBCF8 \uC124\uC815\uC785\uB2C8\uB2E4.",updated_message:"\uD658\uACBD \uC124\uC815\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",select_language:"\uC5B8\uC5B4 \uC120\uD0DD",select_time_zone:"\uC2DC\uAC04\uB300 \uC120\uD0DD",select_date_format:"\uB0A0\uC9DC \uD615\uC2DD \uC120\uD0DD",select_financial_year:"\uD68C\uACC4 \uC5F0\uB3C4 \uC120\uD0DD"},update_app:{title:"\uC571 \uC5C5\uB370\uC774\uD2B8",description:"\uC544\uB798 \uBC84\uD2BC\uC744 \uD074\uB9AD\uD558\uC5EC \uC0C8\uB85C\uC6B4 \uC5C5\uB370\uC774\uD2B8\uB97C \uD655\uC778\uD558\uC5EC Crater\uB97C \uC27D\uAC8C \uC5C5\uB370\uC774\uD2B8 \uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",check_update:"\uC5C5\uB370\uC774\uD2B8 \uD655\uC778",avail_update:"\uC0C8\uB85C\uC6B4 \uC5C5\uB370\uC774\uD2B8 \uC0AC\uC6A9 \uAC00\uB2A5",next_version:"\uB2E4\uC74C \uBC84\uC804",requirements:"\uC694\uAD6C \uC0AC\uD56D",update:"\uC9C0\uAE08 \uC5C5\uB370\uC774\uD2B8",update_progress:"\uC5C5\uB370\uC774\uD2B8 \uC9C4\uD589 \uC911 ...",progress_text:"\uBA87 \uBD84 \uC815\uB3C4 \uAC78\uB9BD\uB2C8\uB2E4. \uC5C5\uB370\uC774\uD2B8\uAC00 \uC644\uB8CC\uB418\uAE30 \uC804\uC5D0 \uD654\uBA74\uC744 \uC0C8\uB85C \uACE0\uCE58\uAC70\uB098 \uCC3D\uC744 \uB2EB\uC9C0 \uB9C8\uC2ED\uC2DC\uC624.",update_success:"\uC571\uC774 \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4! \uBE0C\uB77C\uC6B0\uC800 \uCC3D\uC774 \uC790\uB3D9\uC73C\uB85C \uB2E4\uC2DC\uB85C\uB4DC\uB418\uB294 \uB3D9\uC548 \uC7A0\uC2DC \uAE30\uB2E4\uB824\uC8FC\uC2ED\uC2DC\uC624.",latest_message:"\uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uC5C5\uB370\uC774\uD2B8\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4! \uCD5C\uC2E0 \uBC84\uC804\uC744 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4.",current_version:"\uD604\uC7AC \uBC84\uC804",download_zip_file:"ZIP \uD30C\uC77C \uB2E4\uC6B4\uB85C\uB4DC",unzipping_package:"\uD328\uD0A4\uC9C0 \uC555\uCD95 \uD574\uC81C",copying_files:"\uD30C\uC77C \uBCF5\uC0AC",deleting_files:"\uC0AC\uC6A9\uD558\uC9C0 \uC54A\uB294 \uD30C\uC77C \uC0AD\uC81C",running_migrations:"\uB9C8\uC774\uADF8\uB808\uC774\uC158 \uC2E4\uD589",finishing_update:"\uC5C5\uB370\uC774\uD2B8 \uC644\uB8CC",update_failed:"\uC5C5\uB370\uC774\uD2B8\uAC00 \uC2E4\uD328",update_failed_text:"\uC8C4\uC1A1\uD569\uB2C8\uB2E4! \uC5C5\uB370\uC774\uD2B8 \uC2E4\uD328 : {step} \uB2E8\uACC4"},backup:{title:"\uBC31\uC5C5 | \uBC31\uC5C5",description:"\uBC31\uC5C5\uC740 \uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uB364\uD504\uC640 \uD568\uAED8 \uC9C0\uC815\uD55C \uB514\uB809\uD1A0\uB9AC\uC758 \uBAA8\uB4E0 \uD30C\uC77C\uC744 \uD3EC\uD568\uD558\uB294 zip \uD30C\uC77C\uC785\uB2C8\uB2E4.",new_backup:"\uC0C8 \uBC31\uC5C5 \uCD94\uAC00",create_backup:"\uBC31\uC5C5 \uC0DD\uC131",select_backup_type:"\uBC31\uC5C5 \uC720\uD615 \uC120\uD0DD",backup_confirm_delete:"\uC774 \uBC31\uC5C5\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",path:"\uD1B5\uB85C",new_disk:"\uC0C8 \uB514\uC2A4\uD06C",created_at:"\uC5D0 \uC0DD\uC131",size:"\uD06C\uAE30",dropbox:"\uB4DC\uB86D \uBC15\uC2A4",local:"\uD604\uC9C0",healthy:"\uAC74\uAC15\uD55C",amount_of_backups:"\uBC31\uC5C5 \uC591",newest_backups:"\uCD5C\uC2E0 \uBC31\uC5C5",used_storage:"\uC911\uACE0 \uC800\uC7A5",select_disk:"\uB514\uC2A4\uD06C \uC120\uD0DD",action:"\uB3D9\uC791",deleted_message:"\uBC31\uC5C5\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",created_message:"\uBC31\uC5C5\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",invalid_disk_credentials:"\uC120\uD0DD\uD55C \uB514\uC2A4\uD06C\uC758 \uC798\uBABB\uB41C \uC790\uACA9 \uC99D\uBA85"},disk:{title:"\uD30C\uC77C \uB514\uC2A4\uD06C | \uD30C\uC77C \uB514\uC2A4\uD06C",description:"\uAE30\uBCF8\uC801\uC73C\uB85C Crater\uB294 \uBC31\uC5C5, \uC544\uBC14\uD0C0 \uBC0F \uAE30\uD0C0 \uC774\uBBF8\uC9C0 \uD30C\uC77C\uC744 \uC800\uC7A5\uD558\uAE30 \uC704\uD574 \uB85C\uCEEC \uB514\uC2A4\uD06C\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4. \uC120\uD638\uB3C4\uC5D0 \uB530\uB77C DigitalOcean, S3 \uBC0F Dropbox\uC640 \uAC19\uC740 \uB458 \uC774\uC0C1\uC758 \uB514\uC2A4\uD06C \uB4DC\uB77C\uC774\uBC84\uB97C \uAD6C\uC131 \uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",created_at:"\uC5D0 \uC0DD\uC131",dropbox:"\uB4DC\uB86D \uBC15\uC2A4",name:"\uC774\uB984",driver:"\uC6B4\uC804\uC0AC",disk_type:"\uC720\uD615",disk_name:"\uB514\uC2A4\uD06C \uC774\uB984",new_disk:"\uC0C8 \uB514\uC2A4\uD06C \uCD94\uAC00",filesystem_driver:"\uD30C\uC77C \uC2DC\uC2A4\uD15C \uB4DC\uB77C\uC774\uBC84",local_driver:"\uB85C\uCEEC \uB4DC\uB77C\uC774\uBC84",local_root:"\uB85C\uCEEC \uB8E8\uD2B8",public_driver:"\uACF5\uACF5 \uC6B4\uC804\uC790",public_root:"\uACF5\uAC1C \uB8E8\uD2B8",public_url:"\uACF5\uAC1C URL",public_visibility:"\uACF5\uAC1C \uAC00\uC2DC\uC131",media_driver:"\uBBF8\uB514\uC5B4 \uB4DC\uB77C\uC774\uBC84",media_root:"\uBBF8\uB514\uC5B4 \uB8E8\uD2B8",aws_driver:"AWS \uB4DC\uB77C\uC774\uBC84",aws_key:"AWS \uD0A4",aws_secret:"AWS \uBE44\uBC00",aws_region:"AWS \uB9AC\uC804",aws_bucket:"AWS \uBC84\uD0B7",aws_root:"AWS \uB8E8\uD2B8",do_spaces_type:"Do Spaces \uC720\uD615",do_spaces_key:"Do Spaces \uD0A4",do_spaces_secret:"\uC2A4\uD398\uC774\uC2A4 \uC2DC\uD06C\uB9BF",do_spaces_region:"Do Spaces \uC601\uC5ED",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces \uB05D\uC810",do_spaces_root:"\uACF5\uAC04 \uB8E8\uD2B8 \uC218\uD589",dropbox_type:"Dropbox \uC720\uD615",dropbox_token:"Dropbox \uD1A0\uD070",dropbox_key:"Dropbox \uD0A4",dropbox_secret:"Dropbox \uBE44\uBC00",dropbox_app:"Dropbox \uC571",dropbox_root:"Dropbox \uB8E8\uD2B8",default_driver:"\uAE30\uBCF8 \uB4DC\uB77C\uC774\uBC84",is_default:"\uAE30\uBCF8\uAC12\uC785\uB2C8\uB2E4.",set_default_disk:"\uAE30\uBCF8 \uB514\uC2A4\uD06C \uC124\uC815",set_default_disk_confirm:"\uC774 \uB514\uC2A4\uD06C\uB294 \uAE30\uBCF8\uAC12\uC73C\uB85C \uC124\uC815\uB418\uBA70 \uBAA8\uB4E0 \uC0C8 PDF\uAC00\uC774 \uB514\uC2A4\uD06C\uC5D0 \uC800\uC7A5\uB429\uB2C8\uB2E4.",success_set_default_disk:"\uB514\uC2A4\uD06C\uAC00 \uAE30\uBCF8\uAC12\uC73C\uB85C \uC124\uC815\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",save_pdf_to_disk:"PDF\uB97C \uB514\uC2A4\uD06C\uC5D0 \uC800\uC7A5",disk_setting_description:"\uAC01 \uC1A1\uC7A5\uC758 \uC0AC\uBCF8\uC744 \uC800\uC7A5\uD558\uB824\uBA74 \uC774\uAC83\uC744 \uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624.",select_disk:"\uB514\uC2A4\uD06C \uC120\uD0DD",disk_settings:"\uB514\uC2A4\uD06C \uC124\uC815",confirm_delete:"\uAE30\uC874 \uD30C\uC77C",action:"\uB3D9\uC791",edit_file_disk:"\uD30C\uC77C \uB514\uC2A4\uD06C \uD3B8\uC9D1",success_create:"\uB514\uC2A4\uD06C\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uCD94\uAC00\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",success_update:"\uB514\uC2A4\uD06C\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",error:"\uB514\uC2A4\uD06C \uCD94\uAC00 \uC2E4\uD328",deleted_message:"\uD30C\uC77C \uB514\uC2A4\uD06C\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",disk_variables_save_successfully:"\uB514\uC2A4\uD06C\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uAD6C\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",disk_variables_save_error:"\uB514\uC2A4\uD06C \uAD6C\uC131\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4.",invalid_disk_credentials:"\uC120\uD0DD\uD55C \uB514\uC2A4\uD06C\uC758 \uC798\uBABB\uB41C \uC790\uACA9 \uC99D\uBA85"}},xp={account_info:"\uACC4\uC815 \uC815\uBCF4",account_info_desc:"\uC544\uB798 \uC138\uBD80 \uC815\uBCF4\uB294 \uAE30\uBCF8 \uAD00\uB9AC\uC790 \uACC4\uC815\uC744 \uB9CC\uB4DC\uB294 \uB370 \uC0AC\uC6A9\uB429\uB2C8\uB2E4. \uB610\uD55C \uB85C\uADF8\uC778 \uD6C4 \uC5B8\uC81C\uB4E0\uC9C0 \uC138\uBD80 \uC815\uBCF4\uB97C \uBCC0\uACBD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",name:"\uC774\uB984",email:"\uC774\uBA54\uC77C",password:"\uC554\uD638",confirm_password:"\uBE44\uBC00\uBC88\uD638 \uD655\uC778",save_cont:"\uC800\uC7A5",company_info:"\uD68C\uC0AC \uC815\uBCF4",company_info_desc:"\uC774 \uC815\uBCF4\uB294 \uC1A1\uC7A5\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4. \uB098\uC911\uC5D0 \uC124\uC815 \uD398\uC774\uC9C0\uC5D0\uC11C \uC218\uC815\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",company_name:"\uD68C\uC0AC \uC774\uB984",company_logo:"\uD68C\uC0AC \uB85C\uACE0",logo_preview:"\uB85C\uACE0 \uBBF8\uB9AC\uBCF4\uAE30",preferences:"\uD658\uACBD \uC124\uC815",preferences_desc:"\uC2DC\uC2A4\uD15C\uC758 \uAE30\uBCF8 \uAE30\uBCF8 \uC124\uC815\uC785\uB2C8\uB2E4.",country:"\uAD6D\uAC00",state:"\uC0C1\uD0DC",city:"\uC2DC\uD2F0",address:"\uC8FC\uC18C",street:"Street1 | Street2",phone:"\uC804\uD654",zip_code:"\uC6B0\uD3B8 \uBC88\uD638",go_back:"\uB3CC\uC544 \uAC00\uAE30",currency:"\uD1B5\uD654",language:"\uC5B8\uC5B4",time_zone:"\uC2DC\uAC04\uB300",fiscal_year:"\uD68C\uACC4 \uC5F0\uB3C4",date_format:"\uB0A0\uC9DC \uD615\uC2DD",from_address:"\uC8FC\uC18C\uC5D0\uC11C",username:"\uC0AC\uC6A9\uC790 \uC774\uB984",next:"\uB2E4\uC74C",continue:"\uACC4\uC18D\uD558\uB2E4",skip:"\uAC74\uB108 \uB6F0\uAE30",database:{database:"\uC0AC\uC774\uD2B8 URL",connection:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uC5F0\uACB0",host:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uD638\uC2A4\uD2B8",port:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uD3EC\uD2B8",password:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uBE44\uBC00\uBC88\uD638",app_url:"\uC571 URL",app_domain:"\uC571 \uB3C4\uBA54\uC778",username:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uC0AC\uC6A9\uC790 \uC774\uB984",db_name:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uC774\uB984",db_path:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uACBD\uB85C",desc:"\uC11C\uBC84\uC5D0 \uB370\uC774\uD130\uBCA0\uC774\uC2A4\uB97C \uB9CC\uB4E4\uACE0 \uC544\uB798 \uC591\uC2DD\uC744 \uC0AC\uC6A9\uD558\uC5EC \uC790\uACA9 \uC99D\uBA85\uC744 \uC124\uC815\uD569\uB2C8\uB2E4."},permissions:{permissions:"\uAD8C\uD55C",permission_confirm_title:"\uB108 \uC815\uB9D0 \uACC4\uC18D\uD558\uACE0 \uC2F6\uB2C8?",permission_confirm_desc:"\uD3F4\uB354 \uAD8C\uD55C \uD655\uC778 \uC2E4\uD328",permission_desc:"\uB2E4\uC74C\uC740 \uC571\uC774 \uC791\uB3D9\uD558\uB294 \uB370 \uD544\uC694\uD55C \uD3F4\uB354 \uAD8C\uD55C \uBAA9\uB85D\uC785\uB2C8\uB2E4. \uAD8C\uD55C \uD655\uC778\uC5D0 \uC2E4\uD328\uD558\uBA74 \uD3F4\uB354 \uAD8C\uD55C\uC744 \uC5C5\uB370\uC774\uD2B8\uD558\uC2ED\uC2DC\uC624."},mail:{host:"\uBA54\uC77C \uD638\uC2A4\uD2B8",port:"\uBA54\uC77C \uD3EC\uD2B8",driver:"\uBA54\uC77C \uB4DC\uB77C\uC774\uBC84",secret:"\uBE44\uBC00",mailgun_secret:"Mailgun \uBE44\uBC00",mailgun_domain:"\uB3C4\uBA54\uC778",mailgun_endpoint:"Mailgun \uC5D4\uB4DC \uD3EC\uC778\uD2B8",ses_secret:"SES \uBE44\uBC00",ses_key:"SES \uD0A4",password:"\uBA54\uC77C \uBE44\uBC00\uBC88\uD638",username:"\uBA54\uC77C \uC0AC\uC6A9\uC790 \uC774\uB984",mail_config:"\uBA54\uC77C \uAD6C\uC131",from_name:"\uBA54\uC77C \uC774\uB984\uC5D0\uC11C",from_mail:"\uBA54\uC77C \uC8FC\uC18C\uC5D0\uC11C",encryption:"\uBA54\uC77C \uC554\uD638\uD654",mail_config_desc:"\uB2E4\uC74C\uC740 \uC571\uC5D0\uC11C \uC774\uBA54\uC77C\uC744 \uBCF4\uB0B4\uAE30\uC704\uD55C \uC774\uBA54\uC77C \uB4DC\uB77C\uC774\uBC84 \uAD6C\uC131 \uC591\uC2DD\uC785\uB2C8\uB2E4. Sendgrid, SES \uB4F1\uACFC \uAC19\uC740 \uD0C0\uC0AC \uACF5\uAE09\uC790\uB97C \uAD6C\uC131 \uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4."},req:{system_req:"\uC2DC\uC2A4\uD15C \uC694\uAD6C \uC0AC\uD56D",php_req_version:"PHP (\uBC84\uC804 {version} \uD544\uC694)",check_req:"\uC694\uAD6C \uC0AC\uD56D \uD655\uC778",system_req_desc:"\uD06C\uB808\uC774\uD130\uC5D0\uB294 \uBA87 \uAC00\uC9C0 \uC11C\uBC84 \uC694\uAD6C \uC0AC\uD56D\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uC11C\uBC84\uC5D0 \uD544\uC694\uD55C PHP \uBC84\uC804\uACFC \uC544\uB798\uC5D0 \uC5B8\uAE09 \uB41C \uBAA8\uB4E0 \uD655\uC7A5\uC774 \uC788\uB294\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624."},errors:{migrate_failed:"\uB9C8\uC774\uADF8\uB808\uC774\uC158 \uC2E4\uD328",database_variables_save_error:".env \uD30C\uC77C\uC5D0 \uAD6C\uC131\uC744 \uC4F8 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD30C\uC77C \uAD8C\uD55C\uC744 \uD655\uC778\uD558\uC2ED\uC2DC\uC624",mail_variables_save_error:"\uC774\uBA54\uC77C \uAD6C\uC131\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4.",connection_failed:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uC5F0\uACB0 \uC2E4\uD328",database_should_be_empty:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4\uB294 \uBE44\uC5B4 \uC788\uC5B4\uC57C\uD569\uB2C8\uB2E4."},success:{mail_variables_save_successfully:"\uC774\uBA54\uC77C\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uAD6C\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",database_variables_save_successfully:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uAD6C\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4."}},zp={invalid_phone:"\uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uC804\uD654 \uBC88\uD638",invalid_url:"\uC798\uBABB\uB41C URL (\uC608 : http://www.craterapp.com)",invalid_domain_url:"\uC798\uBABB\uB41C URL (\uC608 : craterapp.com)",required:"\uD544\uB4DC\uB294 \uD544\uC218\uC785\uB2C8\uB2E4",email_incorrect:"\uC798\uBABB\uB41C \uC774\uBA54\uC77C.",email_already_taken:"\uC774\uBA54\uC77C\uC774 \uC774\uBBF8 \uC0AC\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",email_does_not_exist:"\uC8FC\uC5B4\uC9C4 \uC774\uBA54\uC77C\uC744 \uAC00\uC9C4 \uC0AC\uC6A9\uC790\uAC00 \uC874\uC7AC\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4",item_unit_already_taken:"\uC774 \uD56D\uBAA9 \uB2E8\uC704 \uC774\uB984\uC740 \uC774\uBBF8 \uC0AC\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",payment_mode_already_taken:"\uC774 \uACB0\uC81C \uBAA8\uB4DC \uC774\uB984\uC740 \uC774\uBBF8 \uC0AC\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",send_reset_link:"\uC7AC\uC124\uC815 \uB9C1\uD06C \uBCF4\uB0B4\uAE30",not_yet:"\uC544\uC9C1? \uB2E4\uC2DC \uBCF4\uB0B4\uC918",password_min_length:"\uBE44\uBC00\uBC88\uD638\uB294 {count}\uC790\uB97C \uD3EC\uD568\uD574\uC57C\uD569\uB2C8\uB2E4.",name_min_length:"\uC774\uB984\uC740 {count} \uC790 \uC774\uC0C1\uC774\uC5B4\uC57C\uD569\uB2C8\uB2E4.",enter_valid_tax_rate:"\uC720\uD6A8\uD55C \uC138\uC728\uC744 \uC785\uB825\uD558\uC138\uC694.",numbers_only:"\uC22B\uC790 \uB9CC.",characters_only:"\uBB38\uC790 \uB9CC.",password_incorrect:"\uBE44\uBC00\uBC88\uD638\uB294 \uB3D9\uC77C\uD574\uC57C\uD569\uB2C8\uB2E4.",password_length:"\uBE44\uBC00\uBC88\uD638\uB294 {count} \uC790 \uC5EC\uC57C\uD569\uB2C8\uB2E4.",qty_must_greater_than_zero:"\uC218\uB7C9\uC740 0\uBCF4\uB2E4 \uCEE4\uC57C\uD569\uB2C8\uB2E4.",price_greater_than_zero:"\uAC00\uACA9\uC740 0\uBCF4\uB2E4 \uCEE4\uC57C\uD569\uB2C8\uB2E4.",payment_greater_than_zero:"\uACB0\uC81C \uAE08\uC561\uC740 0\uBCF4\uB2E4 \uCEE4\uC57C\uD569\uB2C8\uB2E4.",payment_greater_than_due_amount:"\uC785\uB825 \uB41C \uACB0\uC81C \uAE08\uC561\uC774\uC774 \uC1A1\uC7A5\uC758 \uB9CC\uAE30 \uAE08\uC561\uC744 \uCD08\uACFC\uD569\uB2C8\uB2E4.",quantity_maxlength:"\uC218\uB7C9\uC740 20 \uC790\uB9AC\uB97C \uCD08\uACFC \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",price_maxlength:"\uAC00\uACA9\uC740 20 \uC790\uB9AC\uB97C \uCD08\uACFC \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",price_minvalue:"\uAC00\uACA9\uC740 0\uBCF4\uB2E4 \uCEE4\uC57C\uD569\uB2C8\uB2E4.",amount_maxlength:"\uAE08\uC561\uC740 20 \uC790\uB9AC\uB97C \uCD08\uACFC \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",amount_minvalue:"\uAE08\uC561\uC740 0\uBCF4\uB2E4 \uCEE4\uC57C\uD569\uB2C8\uB2E4.",description_maxlength:"\uC124\uBA85\uC740 65,000\uC790\uB97C \uCD08\uACFC \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",subject_maxlength:"\uC81C\uBAA9\uC740 100 \uC790 \uC774\uD558 \uC5EC\uC57C\uD569\uB2C8\uB2E4.",message_maxlength:"\uBA54\uC2DC\uC9C0\uB294 255\uC790\uB97C \uCD08\uACFC \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",maximum_options_error:"\uCD5C\uB300 {max} \uAC1C\uC758 \uC635\uC158\uC774 \uC120\uD0DD\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBA3C\uC800 \uC120\uD0DD\uD55C \uC635\uC158\uC744 \uC81C\uAC70\uD558\uC5EC \uB2E4\uB978 \uC635\uC158\uC744 \uC120\uD0DD\uD558\uC2ED\uC2DC\uC624.",notes_maxlength:"\uBA54\uBAA8\uB294 65,000\uC790\uB97C \uCD08\uACFC \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",address_maxlength:"\uC8FC\uC18C\uB294 255\uC790\uB97C \uCD08\uACFC \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",ref_number_maxlength:"\uCC38\uC870 \uBC88\uD638\uB294 255\uC790\uB97C \uCD08\uACFC \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",prefix_maxlength:"\uC811\uB450\uC0AC\uB294 5 \uC790 \uC774\uD558 \uC5EC\uC57C\uD569\uB2C8\uB2E4.",something_went_wrong:"\uBB54\uAC00 \uC798\uBABB \uB410\uC5B4"},Sp="\uACAC\uC801",Pp="\uACAC\uC801 \uBC88\uD638",jp="\uC608\uC0C1 \uB0A0\uC9DC",Dp="\uB9CC\uB8CC\uC77C",Cp="\uC1A1\uC7A5",Ap="\uC1A1\uC7A5 \uBC88\uD638",Np="\uC1A1\uC7A5 \uB0A0\uC9DC",Ep="\uB9C8\uAC10\uC77C",Tp="\uB178\uD2B8",Ip="\uC544\uC774\uD15C",$p="\uC218\uB7C9",Rp="\uAC00\uACA9",Fp="\uD560\uC778",Mp="\uC591",Bp="\uC18C\uACC4",Vp="\uD569\uACC4",Op="\uC9C0\uBD88",Lp="\uC601\uC218\uC99D",Up="\uACB0\uC81C\uC77C",Kp="\uACB0\uC81C \uBC88\uD638",qp="\uC9C0\uBD88 \uBAA8\uB4DC",Wp="\uBC1B\uC740 \uAE08\uC561",Zp="\uBE44\uC6A9 \uBCF4\uACE0\uC11C",Hp="\uCD1D \uBE44\uC6A9",Gp="\uC774\uC775",Yp="\uD310\uB9E4 \uACE0\uAC1D \uBCF4\uACE0\uC11C",Jp="\uD310\uB9E4 \uD488\uBAA9 \uBCF4\uACE0\uC11C",Xp="\uC138\uAE08 \uC694\uC57D \uBCF4\uACE0\uC11C",Qp="\uC218\uC785",eg="\uC21C\uC774\uC775",tg="\uD310\uB9E4 \uBCF4\uACE0\uC11C : \uACE0\uAC1D \uBCC4",ag="\uCD1D \uB9E4\uCD9C",sg="\uD310\uB9E4 \uBCF4\uACE0\uC11C : \uD488\uBAA9\uBCC4",ng="\uC138\uAE08 \uBCF4\uACE0\uC11C",ig="\uCD1D \uC138\uAE08",og="\uC138\uAE08 \uC720\uD615",rg="\uACBD\uBE44",dg="\uCCAD\uAD6C\uC11C,",lg="\uBC30\uC1A1\uC9C0,",cg="\uBC1B\uC740 \uC0AC\uB78C :",_g="\uC138";var ug={navigation:dp,general:lp,dashboard:cp,tax_types:_p,global_search:up,customers:mp,items:pp,estimates:gp,invoices:fp,payments:hp,expenses:vp,login:yp,users:bp,reports:kp,settings:wp,wizard:xp,validation:zp,pdf_estimate_label:Sp,pdf_estimate_number:Pp,pdf_estimate_date:jp,pdf_estimate_expire_date:Dp,pdf_invoice_label:Cp,pdf_invoice_number:Ap,pdf_invoice_date:Np,pdf_invoice_due_date:Ep,pdf_notes:Tp,pdf_items_label:Ip,pdf_quantity_label:$p,pdf_price_label:Rp,pdf_discount_label:Fp,pdf_amount_label:Mp,pdf_subtotal:Bp,pdf_total:Vp,pdf_payment_label:Op,pdf_payment_receipt_label:Lp,pdf_payment_date:Up,pdf_payment_number:Kp,pdf_payment_mode:qp,pdf_payment_amount_received_label:Wp,pdf_expense_report_label:Zp,pdf_total_expenses_label:Hp,pdf_profit_loss_label:Gp,pdf_sales_customers_label:Yp,pdf_sales_items_label:Jp,pdf_tax_summery_label:Xp,pdf_income_label:Qp,pdf_net_profit_label:eg,pdf_customer_sales_report:tg,pdf_total_sales_label:ag,pdf_item_sales_label:sg,pdf_tax_report_label:ng,pdf_total_tax_label:ig,pdf_tax_types_label:og,pdf_expenses_label:rg,pdf_bill_to:dg,pdf_ship_to:lg,pdf_received_from:cg,pdf_tax_label:_g};const mg={dashboard:"Inform\u0101cijas panelis",customers:"Klienti",items:"Preces",invoices:"R\u0113\u0137ini",expenses:"Izdevumi",estimates:"Apr\u0113\u0137ini",payments:"Maks\u0101jumi",reports:"Atskaites",settings:"Iestat\u012Bjumi",logout:"Iziet",users:"Lietot\u0101ji"},pg={add_company:"Pievienot uz\u0146\u0113mumu",view_pdf:"Apskat\u012Bt PDF",copy_pdf_url:"Kop\u0113t PDF Url",download_pdf:"Lejupiel\u0101d\u0113t PDF",save:"Saglab\u0101t",create:"Izveidot",cancel:"Atcelt",update:"Atjaunin\u0101t",deselect:"Atcelt iez\u012Bm\u0113\u0161anu",download:"Lejupiel\u0101d\u0113t",from_date:"Datums no",to_date:"Datums l\u012Bdz",from:"No",to:"Kam",sort_by:"K\u0101rtot p\u0113c",ascending:"Augo\u0161\u0101 sec\u012Bb\u0101",descending:"Dilsto\u0161\u0101 sec\u012Bb\u0101",subject:"Temats",body:"Saturs",message:"Zi\u0146ojums",send:"Nos\u016Bt\u012Bt",go_back:"Atpaka\u013C",back_to_login:"Atpaka\u013C uz autoriz\u0101ciju?",home:"S\u0101kums",filter:"Filtr\u0113t",delete:"Dz\u0113st",edit:"Labot",view:"Skat\u012Bt",add_new_item:"Pievienot jaunu",clear_all:"Not\u012Br\u012Bt visu",showing:"R\u0101da",of:"no",actions:"Darb\u012Bbas",subtotal:"KOP\u0100",discount:"ATLAIDE",fixed:"Fiks\u0113ts",percentage:"Procenti",tax:"Nodoklis",total_amount:"KOP\u0100 APMAKSAI",bill_to:"Sa\u0146\u0113m\u0113js",ship_to:"Pieg\u0101d\u0101t uz",due:"Due",draft:"Melnraksts",sent:"Nos\u016Bt\u012Bts",all:"Visi",select_all:"Iez\u012Bm\u0113t visu",choose_file:"Speid \u0161eit, lai izv\u0113l\u0113tos failu",choose_template:"Izv\u0113laties sagatavi",choose:"Izv\u0113lies",remove:"Dz\u0113st",select_a_status:"Izv\u0113lieties statusu",select_a_tax:"Izv\u0113l\u0113ties nodokli",search:"Mekl\u0113t",are_you_sure:"Vai esat p\u0101rliecin\u0101ts?",list_is_empty:"Saraksts ir tuk\u0161s.",no_tax_found:"Nodoklis nav atrasts!",four_zero_four:"404",you_got_lost:"Op\u0101! Esi apmald\u012Bjies!",go_home:"Uz S\u0101kumu",test_mail_conf:"J\u016Bsu e-pasta uzst\u0101d\u012Bjumu tests",send_mail_successfully:"Veiksm\u012Bgi nos\u016Bt\u012Bts",setting_updated:"Iestat\u012Bjumi tika veiksm\u012Bgi atjaunin\u0101ti",select_state:"Izv\u0113lieties re\u0123ionu",select_country:"Izv\u0113l\u0113ties valsti",select_city:"Izv\u0113lieties pils\u0113tu",street_1:"Adrese 1",street_2:"Adrese 2",action_failed:"Darb\u012Bba neizdev\u0101s",retry:"Atk\u0101rtot",choose_note:"Izv\u0113lieties piez\u012Bmi",no_note_found:"Piez\u012Bmes nav atrastas",insert_note:"Ievietot piez\u012Bmi"},gg={select_year:"Izv\u0113lieties gadu",cards:{due_amount:"Apmaksas summa",customers:"Klienti",invoices:"R\u0113\u0137ini",estimates:"Apr\u0113\u0137ini"},chart_info:{total_sales:"P\u0101rdotais",total_receipts:"\u010Ceki",total_expense:"Izdevumi",net_income:"Pe\u013C\u0146a",year:"Izv\u0113lieties gadu"},monthly_chart:{title:"P\u0101rdotais un Izdevumi"},recent_invoices_card:{title:"Pien\u0101ko\u0161ie r\u0113\u0137ini",due_on:"Termi\u0146\u0161",customer:"Klients",amount_due:"Apmaksas summa",actions:"Darb\u012Bbas",view_all:"Skat\u012Bt visus"},recent_estimate_card:{title:"Nesenie apr\u0113\u0137ini",date:"Datums",customer:"Klients",amount_due:"Apmaksas summa",actions:"Darb\u012Bbas",view_all:"Skat\u012Bt visus"}},fg={name:"Nosaukums",description:"Apraksts",percent:"Procenti",compound_tax:"Compound Tax"},hg={search:"Mekl\u0113t...",customers:"Klienti",users:"Lietot\u0101ji",no_results_found:"Nav atbilsto\u0161u rezult\u0101tu"},vg={title:"Klienti",add_customer:"Pievienot klientu",contacts_list:"Klientu saraksts",name:"V\u0101rds",mail:"Pasts",statement:"Statement",display_name:"Nosaukums",primary_contact_name:"Galven\u0101 kontakta v\u0101rds",contact_name:"Kontaktpersonas v\u0101rds",amount_due:"Kop\u0101",email:"E-pasts",address:"Adrese",phone:"Telefona numurs",website:"M\u0101jaslapa",overview:"P\u0101rskats",enable_portal:"Aktiviz\u0113t port\u0101lu",country:"Valsts",state:"Re\u0123ions",city:"Pils\u0113ta",zip_code:"Pasta indekss",added_on:"Pievienots",action:"Darb\u012Bba",password:"Parole",street_number:"Adrese",primary_currency:"Prim\u0101r\u0101 val\u016Bta",description:"Apraksts",add_new_customer:"Pievienot jaunu klientu",save_customer:"Saglab\u0101t klientu",update_customer:"Atjaunin\u0101t klientu",customer:"Klients | Klienti",new_customer:"Jauns klients",edit_customer:"Redi\u0123\u0113t klientu",basic_info:"Pamatinform\u0101cija",billing_address:"Juridisk\u0101 adrese",shipping_address:"Pieg\u0101des adrese",copy_billing_address:"Kop\u0113t no juridisk\u0101s adreses",no_customers:"Pagaid\u0101m nav klientu!",no_customers_found:"Klienti netika atrasti!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"\u0160aj\u0101 sada\u013C\u0101 b\u016Bs klientu saraksts.",primary_display_name:"Klienta nosaukums",select_currency:"Izv\u0113lieties val\u016Btu",select_a_customer:"Izv\u0113l\u0113ties klientu",type_or_click:"Rakst\u012Bt vai spiest, lai izv\u0113l\u0113tos",new_transaction:"Jauns dar\u012Bjums",no_matching_customers:"Netika atrasts neviens klients!",phone_number:"Telefona numurs",create_date:"Izveido\u0161anas datums",confirm_delete:"J\u016Bs nevar\u0113sit atg\u016Bt \u0161o klientu un visus saist\u012Btos r\u0113\u0137inus, apr\u0113\u0137inus un maks\u0101jumus.",created_message:"Klients izveidots veiksm\u012Bgi",updated_message:"Klients atjaunin\u0101ts veiksm\u012Bgi",deleted_message:"Klients veiksm\u012Bgi izdz\u0113sts"},yg={title:"Preces",items_list:"Pre\u010Du saraksts",name:"Nosaukums",unit:"Vien\u012Bba",description:"Apraksts",added_on:"Pievienots",price:"Cena",date_of_creation:"Izveido\u0161anas datums",not_selected:"No item selected",action:"Darb\u012Bba",add_item:"Pievienot",save_item:"Saglab\u0101t",update_item:"Atjaunin\u0101t",item:"Prece | Preces",add_new_item:"Pievienot jaunu preci",new_item:"Jauna prece",edit_item:"Redi\u0123\u0113t preci",no_items:"Nav pre\u010Du!",list_of_items:"\u0160aj\u0101 sada\u013C\u0101 b\u016Bs pre\u010Du/pakalpojumu saraksts.",select_a_unit:"atlasiet vien\u012Bbu",taxes:"Nodok\u013Ci",item_attached_message:"Nevar dz\u0113st preci, kura tiek izmantota",confirm_delete:"J\u016Bs nevar\u0113siet atg\u016Bt \u0161o preci",created_message:"Prece izveidota veiksm\u012Bgi",updated_message:"Prece atjaunin\u0101ta veiksm\u012Bgi",deleted_message:"Prece veiksm\u012Bgi izdz\u0113sta"},bg={title:"Apr\u0113\u0137ini",estimate:"Apr\u0113\u0137ins | Apr\u0113\u0137ini",estimates_list:"Apr\u0113\u0137inu saraksts",days:"{days} Dienas",months:"{months} M\u0113nesis",years:"{years} Gads",all:"Visi",paid:"Apmaks\u0101ts",unpaid:"Neapmaks\u0101ts",customer:"KLIENTS",ref_no:"REF NR.",number:"NUMURS",amount_due:"Summa apmaksai",partially_paid:"Da\u013C\u0113ji apmaks\u0101ts",total:"Kop\u0101",discount:"Atlaide",sub_total:"Starpsumma",estimate_number:"Apr\u0113\u0137ina numurs",ref_number:"Ref numurs",contact:"Kontakti",add_item:"Pievienot preci",date:"Datums",due_date:"Apmaksas termi\u0146\u0161",expiry_date:"Termi\u0146a beigu datums",status:"Status",add_tax:"Pievienot nodokli",amount:"Summa",action:"Darb\u012Bba",notes:"Piez\u012Bmes",tax:"Nodoklis",estimate_template:"Sagatave",convert_to_invoice:"P\u0101rveidot par r\u0113\u0137inu",mark_as_sent:"Atz\u012Bm\u0113t k\u0101 nos\u016Bt\u012Btu",send_estimate:"Nos\u016Bt\u012Bt apr\u0113\u0137inu",resend_estimate:"Atk\u0101rtoti nos\u016Bt\u012Bt apr\u0113\u0137inu",record_payment:"Izveidot maks\u0101jumu",add_estimate:"Pievienot apr\u0113\u0137inu",save_estimate:"Saglab\u0101t apr\u0113\u0137inu",confirm_conversion:"\u0160is apr\u0113\u0137ins tiks izmantots, lai izveidotu jaunu r\u0113\u0137inu.",conversion_message:"R\u0113\u0137ins izveidots veiksm\u012Bgi",confirm_send_estimate:"\u0160is apr\u0113\u0137ins tiks nos\u016Bt\u012Bts klientam e-past\u0101",confirm_mark_as_sent:"Apr\u0113\u0137ins tiks atz\u012Bm\u0113ts k\u0101 nos\u016Bt\u012Bts",confirm_mark_as_accepted:"Apr\u0113\u0137ins tiks atz\u012Bm\u0113ts k\u0101 apstiprin\u0101ts",confirm_mark_as_rejected:"Apr\u0113\u0137ins tiks atz\u012Bm\u0113ts k\u0101 noraid\u012Bts",no_matching_estimates:"Netika atrasts neviens apr\u0113\u0137ins!",mark_as_sent_successfully:"Apr\u0113\u0137ins atz\u012Bm\u0113ts k\u0101 veiksm\u012Bgi nos\u016Bt\u012Bts",send_estimate_successfully:"Apr\u0113\u0137ins veiksm\u012Bgi nos\u016Bt\u012Bts",errors:{required:"\u0160is lauks ir oblig\u0101ts"},accepted:"Apstiprin\u0101ts",rejected:"Rejected",sent:"Nos\u016Bt\u012Bts",draft:"Melnraksts",declined:"Noraid\u012Bts",new_estimate:"Jauns apr\u0113\u0137ins",add_new_estimate:"Pievienot jaunu apr\u0113\u0137inu",update_Estimate:"Atjaunin\u0101t apr\u0113\u0137inu",edit_estimate:"Labot apr\u0113\u0137inu",items:"preces",Estimate:"Apr\u0113\u0137ins | Apr\u0113\u0137ini",add_new_tax:"Pievienot jaunu nodokli",no_estimates:"V\u0113l nav apr\u0113\u0137inu!",list_of_estimates:"\u0160aj\u0101 sada\u013C\u0101 b\u016Bs apr\u0113\u0137inu saraksts.",mark_as_rejected:"Atz\u012Bm\u0113t k\u0101 noraid\u012Btu",mark_as_accepted:"Atz\u012Bm\u0113t k\u0101 apstiprin\u0101tu",marked_as_accepted_message:"Apr\u0113\u0137ins atz\u012Bm\u0113ts k\u0101 apstiprin\u0101ts",marked_as_rejected_message:"Apr\u0113\u0137ins atz\u012Bm\u0113ts k\u0101 noraid\u012Bts",confirm_delete:"J\u016Bs nevar\u0113siet atg\u016Bt \u0161o apr\u0113\u0137inu | J\u016Bs nevar\u0113siet atg\u016Bt \u0161o apr\u0113\u0137inus",created_message:"Apr\u0113\u0137ins izveidots veiksm\u012Bgi",updated_message:"Apr\u0113\u0137ins atjaunin\u0101ts veiksm\u012Bgi",deleted_message:"Apr\u0113\u0137ins veiksm\u012Bgi izdz\u0113sts | Apr\u0113\u0137ini veiksm\u012Bgi izdz\u0113sti",something_went_wrong:"kaut kas nog\u0101ja greizi",item:{title:"Preces nosaukums",description:"Apraksts",quantity:"Daudzums",price:"Cena",discount:"Atlaide",total:"Kop\u0101",total_discount:"Kop\u0113j\u0101 atlaide",sub_total:"Starpsumma",tax:"Nodoklis",amount:"Summa",select_an_item:"Rakst\u012Bt vai spiest, lai izv\u0113l\u0113tos",type_item_description:"Ievadiet preces/pakalpojuma aprakstu (nav oblig\u0101ti)"}},kg={title:"R\u0113\u0137ini",invoices_list:"R\u0113\u0137inu saraksts",days:"{days} Dienas",months:"{months} M\u0113nesis",years:"{years} Gads",all:"Visi",paid:"Apmaks\u0101ts",unpaid:"Neapmaks\u0101ts",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"KLIENTS",paid_status:"APMAKSAS STATUS",ref_no:"REF NR.",number:"NUMURS",amount_due:"SUMMA APMAKSAI",partially_paid:"Da\u013C\u0113ji apmaks\u0101ts",total:"Kop\u0101",discount:"Atlaide",sub_total:"Starpsumma",invoice:"R\u0113\u0137ins | R\u0113\u0137ini",invoice_number:"R\u0113\u0137ina numurs",ref_number:"Ref numurs",contact:"Kontakti",add_item:"Pievienot preci",date:"Datums",due_date:"Apmaksas termi\u0146\u0161",status:"Status",add_tax:"Pievienot nodokli",amount:"Summa",action:"Darb\u012Bba",notes:"Piez\u012Bmes",view:"Skat\u012Bt",send_invoice:"Nos\u016Bt\u012Bt r\u0113\u0137inu",resend_invoice:"Nos\u016Bt\u012Bt r\u0113\u0137inu atk\u0101rtoti",invoice_template:"R\u0113\u0137ina sagatave",template:"Sagatave",mark_as_sent:"Atz\u012Bm\u0113t k\u0101 nos\u016Bt\u012Btu",confirm_send_invoice:"\u0160is r\u0113\u0137ins tiks nos\u016Bt\u012Bts klientam e-past\u0101",invoice_mark_as_sent:"R\u0113\u0137ins tiks atz\u012Bm\u0113ts k\u0101 nos\u016Bt\u012Bts",confirm_send:"\u0160is r\u0113\u0137ins tiks nos\u016Bt\u012Bts klientam e-past\u0101",invoice_date:"R\u0113\u0137ina datums",record_payment:"Izveidot maks\u0101jumu",add_new_invoice:"Jauns r\u0113\u0137ins",update_expense:"Atjaunin\u0101t izdevumu",edit_invoice:"Redi\u0123\u0113t r\u0113\u0137inu",new_invoice:"Jauns r\u0113\u0137ins",save_invoice:"Saglab\u0101t r\u0113\u0137inu",update_invoice:"Atjaunin\u0101t r\u0113\u0137inu",add_new_tax:"Pievienot jaunu nodokli",no_invoices:"V\u0113l nav r\u0113\u0137inu!",list_of_invoices:"\u0160aj\u0101 sada\u013C\u0101 b\u016Bs r\u0113\u0137inu saraksts.",select_invoice:"Izv\u0113laties r\u0113\u0137inu",no_matching_invoices:"Netika atrasts neviens r\u0113\u0137ins!",mark_as_sent_successfully:"R\u0113\u0137ins atz\u012Bm\u0113ts k\u0101 veiksm\u012Bgi nos\u016Bt\u012Bts",invoice_sent_successfully:"R\u0113\u0137ins ir veiksm\u012Bgi nos\u016Bt\u012Bts",cloned_successfully:"R\u0113\u0137ins ir veiksm\u012Bgi nokop\u0113ts",clone_invoice:"Kop\u0113t r\u0113\u0137inu",confirm_clone:"\u0160is r\u0113\u0137ins tiks nokop\u0113ts k\u0101 jauns r\u0113\u0137ins",item:{title:"Preces nosaukums",description:"Apraksts",quantity:"Daudzums",price:"Cena",discount:"Atlaide",total:"Kop\u0101",total_discount:"Kop\u0113j\u0101 atlaide",sub_total:"Starpsumma",tax:"Nodoklis",amount:"Summa",select_an_item:"Rakst\u012Bt vai spiest, lai izv\u0113l\u0113tos",type_item_description:"Ievadiet preces/pakalpojuma aprakstu (nav oblig\u0101ti)"},confirm_delete:"J\u016Bs nevar\u0113siet atg\u016Bt \u0161o r\u0113\u0137inu | J\u016Bs nevar\u0113siet atg\u016Bt \u0161os r\u0113\u0137inus",created_message:"R\u0113\u0137ins izveidots veiksm\u012Bgi",updated_message:"R\u0113\u0137ins ir veiksm\u012Bgi atjaunin\u0101ts",deleted_message:"R\u0113\u0137ins veiksm\u012Bgi izdz\u0113sts | R\u0113\u0137ini veiksm\u012Bgi izdz\u0113sti",marked_as_sent_message:"R\u0113\u0137ins atz\u012Bm\u0113ts k\u0101 veiksm\u012Bgi nos\u016Bt\u012Bts",something_went_wrong:"kaut kas nog\u0101ja greizi",invalid_due_amount_message:"R\u0113\u0137ina kop\u0113j\u0101 summa nevar b\u016Bt maz\u0101ka par kop\u0113jo apmaks\u0101to summu. L\u016Bdzu atjauniniet r\u0113\u0137inu vai dz\u0113siet piesaist\u012Btos maks\u0101jumus, lai turpin\u0101tu."},wg={title:"Maks\u0101jumi",payments_list:"Maks\u0101jumu saraksts",record_payment:"Izveidot maks\u0101jumu",customer:"Klients",date:"Datums",amount:"Summa",action:"Darb\u012Bba",payment_number:"Maks\u0101juma numurs",payment_mode:"Apmaksas veids",invoice:"R\u0113\u0137ins",note:"Piez\u012Bme",add_payment:"Pievienot maks\u0101jumu",new_payment:"Jauns maks\u0101jums",edit_payment:"Labot maks\u0101jumu",view_payment:"Skat\u012Bt maks\u0101jumu",add_new_payment:"Pievienot jaunu maks\u0101jumu",send_payment_receipt:"Nos\u016Bt\u012Bt maks\u0101juma izdruku",send_payment:"Nos\u016Bt\u012Bt maks\u0101jumu",save_payment:"Saglab\u0101t maks\u0101jumu",update_payment:"Labot maks\u0101jumu",payment:"Maks\u0101jums | Maks\u0101jumi",no_payments:"Nav pievienotu maks\u0101jumu!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"Netika atrasts neviens maks\u0101jums!",list_of_payments:"\u0160aj\u0101 sada\u013C\u0101 b\u016Bs maks\u0101jumu saraksts.",select_payment_mode:"Izv\u0113l\u0113ties maks\u0101juma veidu",confirm_mark_as_sent:"Apr\u0113\u0137ins tiks atz\u012Bm\u0113ts k\u0101 nos\u016Bt\u012Bts",confirm_send_payment:"\u0160is maks\u0101jums tiks nos\u016Bt\u012Bts klientam e-past\u0101",send_payment_successfully:"Maks\u0101jums veiksm\u012Bgi nos\u016Bt\u012Bts",something_went_wrong:"kaut kas nog\u0101ja greizi",confirm_delete:"J\u016Bs nevar\u0113siet atg\u016Bt \u0161o maks\u0101jumu | J\u016Bs nevar\u0113siet atg\u016Bt \u0161os maks\u0101jumus",created_message:"Maks\u0101jums veiksm\u012Bgi izveidots",updated_message:"Maks\u0101jums veiksm\u012Bgi labots",deleted_message:"Maks\u0101jums veiksm\u012Bgi izdz\u0113sts | Maks\u0101jumi veiksm\u012Bgi izdz\u0113sti",invalid_amount_message:"Maks\u0101juma summa nav pareiza"},xg={title:"Izdevumi",expenses_list:"Izdevumu saraksts",select_a_customer:"Izv\u0113l\u0113ties klientu",expense_title:"Nosaukums",customer:"Klients",contact:"Kontakti",category:"Kategorija",from_date:"Datums no",to_date:"Datums l\u012Bdz",expense_date:"Datums",description:"Apraksts",receipt:"\u010Ceks",amount:"Summa",action:"Darb\u012Bba",not_selected:"Not selected",note:"Piez\u012Bme",category_id:"Kategorijas Id",date:"Datums",add_expense:"Pievienot izdevumu",add_new_expense:"Pievienot jaunu izdevumu",save_expense:"Saglab\u0101t izdevumu",update_expense:"Atjaunin\u0101t izdevumu",download_receipt:"Lejupiel\u0101d\u0113t \u010Deku",edit_expense:"Labot izdevumu",new_expense:"Jauns izdevums",expense:"Izdevums | Izdevumi",no_expenses:"V\u0113l nav izdevumu!",list_of_expenses:"\u0160aj\u0101 sada\u013C\u0101 b\u016Bs izdevumu saraksts.",confirm_delete:"J\u016Bs nevar\u0113siet atg\u016Bt \u0161o izdevumu | J\u016Bs nevar\u0113siet atg\u016Bt \u0161os izdevumus",created_message:"Izdevums izveidots veiksm\u012Bgi",updated_message:"Izdevums atjaunin\u0101ts veiksm\u012Bgi",deleted_message:"Izdevums veiksm\u012Bgi izdz\u0113sts | Izdevumi veiksm\u012Bgi izdz\u0113sti",categories:{categories_list:"Kategoriju saraksts",title:"Nosaukums",name:"V\u0101rds",description:"Apraksts",amount:"Summa",actions:"Darb\u012Bbas",add_category:"Pievienot kategoriju",new_category:"Jauna Kategorija",category:"Kategorija | Kategorijas",select_a_category:"Izv\u0113lieties kategoriju"}},zg={email:"E-pasts",password:"Parole",forgot_password:"Aizmirsi paroli?",or_signIn_with:"vai pierakst\u012Bties ar",login:"Ielogoties",register:"Re\u0123istr\u0113ties",reset_password:"Atjaunot paroli",password_reset_successfully:"Parole atjaunota veiksm\u012Bgi",enter_email:"Ievadiet e-pastu",enter_password:"Ievadiet paroli",retype_password:"Atk\u0101rtoti ievadiet paroli"},Sg={title:"Lietot\u0101ji",users_list:"Lietot\u0101ju saraksts",name:"V\u0101rds",description:"Apraksts",added_on:"Pievienots",date_of_creation:"Izveido\u0161anas datums",action:"Darb\u012Bba",add_user:"Pievienot lietot\u0101ju",save_user:"Saglab\u0101t lietot\u0101ju",update_user:"Atjaunin\u0101t lietot\u0101ju",user:"Lietot\u0101js | Lietot\u0101ji",add_new_user:"Pievienot jaunu lietot\u0101ju",new_user:"Jauns lietot\u0101js",edit_user:"Redi\u0123\u0113t lietot\u0101ju",no_users:"Pagaid\u0101m nav lietot\u0101ju!",list_of_users:"\u0160aj\u0101 sada\u013C\u0101 b\u016Bs lietot\u0101ju saraksts.",email:"E-pasts",phone:"Telefona numurs",password:"Parole",user_attached_message:"Nevar dz\u0113st preci, kura tiek izmantota",confirm_delete:"J\u016Bs nevar\u0113siet atg\u016Bt \u0161o lietot\u0101ju | J\u016Bs nevar\u0113siet atg\u016Bt \u0161os lietot\u0101jus",created_message:"Lietot\u0101js veiksm\u012Bgi izveidots",updated_message:"Lietot\u0101js veiksm\u012Bgi labots",deleted_message:"Lietot\u0101js veiksm\u012Bgi izdz\u0113sts"},Pg={title:"Atskaite",from_date:"Datums no",to_date:"Datums l\u012Bdz",status:"Status",paid:"Apmaks\u0101ts",unpaid:"Neapmaks\u0101ts",download_pdf:"Lejupiel\u0101d\u0113t PDF",view_pdf:"Apskat\u012Bt PDF",update_report:"Labot atskaiti",report:"Atskaite | Atskaites",profit_loss:{profit_loss:"Pe\u013C\u0146a & Zaud\u0113jumi",to_date:"Datums l\u012Bdz",from_date:"Datums no",date_range:"Izv\u0113l\u0113ties datumus"},sales:{sales:"P\u0101rdotais",date_range:"Izv\u0113l\u0113ties datumus",to_date:"Datums l\u012Bdz",from_date:"Datums no",report_type:"Atskaites veids"},taxes:{taxes:"Nodok\u013Ci",to_date:"Datums l\u012Bdz",from_date:"Datums no",date_range:"Izv\u0113l\u0113ties datumus"},errors:{required:"\u0160is lauks ir oblig\u0101ts"},invoices:{invoice:"R\u0113\u0137ins",invoice_date:"R\u0113\u0137ina datums",due_date:"Apmaksas termi\u0146\u0161",amount:"Summa",contact_name:"Kontaktpersonas v\u0101rds",status:"Status"},estimates:{estimate:"Apr\u0113\u0137ins",estimate_date:"Apr\u0113\u0137ina datums",due_date:"Termi\u0146\u0161",estimate_number:"Apr\u0113\u0137ina numurs",ref_number:"Ref numurs",amount:"Summa",contact_name:"Kontaktpersonas v\u0101rds",status:"Status"},expenses:{expenses:"Izdevumi",category:"Kategorija",date:"Datums",amount:"Summa",to_date:"Datums l\u012Bdz",from_date:"Datums no",date_range:"Izv\u0113l\u0113ties datumus"}},jg={menu_title:{account_settings:"Konta iestat\u012Bjumi",company_information:"Uz\u0146\u0113muma inform\u0101cija",customization:"Piel\u0101go\u0161ana",preferences:"Iestat\u012Bjumi",notifications:"Pazi\u0146ojumi",tax_types:"Nodok\u013Cu veidi",expense_category:"Izdevumu kategorijas",update_app:"Atjaunin\u0101t App",backup:"Rezerves kopija",file_disk:"Disks",custom_fields:"Piel\u0101gotie lauki",payment_modes:"Apmaksas veidi",notes:"Piez\u012Bmes"},title:"Iestat\u012Bjumi",setting:"Iestat\u012Bjumi | Iestat\u012Bjumi",general:"Visp\u0101r\u012Bgi",language:"Valoda",primary_currency:"Prim\u0101r\u0101 val\u016Bta",timezone:"Laika josla",date_format:"Datuma form\u0101ts",currencies:{title:"Val\u016Btas",currency:"Val\u016Bta | Val\u016Btas",currencies_list:"Val\u016Btu saraksts",select_currency:"Izv\u0113leties val\u016Btu",name:"Nosaukums",code:"Kods",symbol:"Simbols",precision:"Precizit\u0101te",thousand_separator:"T\u016Bksto\u0161u atdal\u012Bt\u0101js",decimal_separator:"Decim\u0101lda\u013Cu atdal\u012Bt\u0101js",position:"Poz\u012Bcija",position_of_symbol:"Poz\u012Bcijas simbols",right:"Pa labi",left:"Pa kreisi",action:"Darb\u012Bba",add_currency:"Pievienot val\u016Btu"},mail:{host:"E-pasta serveris",port:"E-pasta ports",driver:"E-pasta draiveris",secret:"Secret",mailgun_secret:"Mailgun Secret",mailgun_domain:"Dom\u0113ns",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"E-pasta parole",username:"E-pasta lietot\u0101jv\u0101rds",mail_config:"E-pasta konfigur\u0101cija",from_name:"E-pasts no",from_mail:"E-pasta adrese no kuras s\u016Bt\u012Bt",encryption:"E-pasta \u0161ifr\u0113\u0161ana",mail_config_desc:"Zem\u0101k ir e-pasta konfigur\u0113\u0161anas forma. J\u016Bs varat konfigur\u0113t ar\u012B tre\u0161\u0101s puses servisus k\u0101 Sendgrid, SES u.c."},pdf:{title:"PDF uzst\u0101d\u012Bjumi",footer_text:"K\u0101jenes teksts",pdf_layout:"PDF izk\u0101rtojums"},company_info:{company_info:"Uz\u0146\u0113muma inform\u0101cija",company_name:"Uz\u0146\u0113muma nosaukums",company_logo:"Uz\u0146\u0113muma logo",section_description:"Inform\u0101cija par uz\u0146\u0113mumu kura tiks uzr\u0101d\u012Bta r\u0113\u0137inos, apr\u0113\u0137inos un citos dokumentos kurus veidosiet Crater sist\u0113m\u0101.",phone:"Telefona numurs",country:"Valsts",state:"Re\u0123ions",city:"Pils\u0113ta",address:"Adrese",zip:"Pasta indekss",save:"Saglab\u0101t",updated_message:"Uz\u0146\u0113muma inform\u0101cija veiksm\u012Bgi saglab\u0101ta"},custom_fields:{title:"Piel\u0101gotie lauki",section_description:"Customize your Invoices, Estimates & Payment Receipts with your own fields. Make sure to use the below added fields on the address formats on Customization settings page.",add_custom_field:"Add Custom Field",edit_custom_field:"Edit Custom Field",field_name:"Field Name",label:"Label",type:"Type",name:"Name",required:"Required",placeholder:"Placeholder",help_text:"Help Text",default_value:"Noklus\u0113juma v\u0113rt\u012Bba",prefix:"Prefikss",starting_number:"S\u0101kuma numurs",model:"Modelis",help_text_description:"Enter some text to help users understand the purpose of this custom field.",suffix:"Suffix",yes:"J\u0101",no:"N\u0113",order:"Order",custom_field_confirm_delete:"You will not be able to recover this Custom Field",already_in_use:"Custom Field is already in use",deleted_message:"Custom Field deleted successfully",options:"options",add_option:"Add Options",add_another_option:"Add another option",sort_in_alphabetical_order:"Sort in Alphabetical Order",add_options_in_bulk:"Add options in bulk",use_predefined_options:"Use Predefined Options",select_custom_date:"Select Custom Date",select_relative_date:"Select Relative Date",ticked_by_default:"Ticked by default",updated_message:"Custom Field updated successfully",added_message:"Custom Field added successfully"},customization:{customization:"piel\u0101go\u0161ana",save:"Saglab\u0101t",addresses:{title:"Adreses",section_description:"J\u016Bs varat piel\u0101got klienta juridisk\u0101s adreses un pieg\u0101des adreses form\u0101tu. (Uzr\u0101d\u0101s PDF izdruk\u0101). ",customer_billing_address:"Klienta nor\u0113\u0137inu adrese",customer_shipping_address:"Klienta pieg\u0101des adrese",company_address:"Uz\u0146\u0113muma adrese",insert_fields:"Pievienot lauku",contact:"Kontakti",address:"Adrese",display_name:"Nosaukums",primary_contact_name:"Galven\u0101 kontakta v\u0101rds",email:"E-pasts",website:"M\u0101jaslapa",name:"Nosaukums",country:"Valsts",state:"Re\u0123ions",city:"Pils\u0113ta",company_name:"Uz\u0146\u0113muma nosaukums",address_street_1:"Adrese 1",address_street_2:"Adrese 2",phone:"Telefona numurs",zip_code:"Pasta indekss",address_setting_updated:"Iestat\u012Bjumi tika veiksm\u012Bgi atjaunin\u0101ti"},updated_message:"Uz\u0146\u0113muma inform\u0101cija veiksm\u012Bgi saglab\u0101ta",invoices:{title:"R\u0113\u0137ini",notes:"Piez\u012Bmes",invoice_prefix:"R\u0113\u0137ina prefikss",default_invoice_email_body:"Default Invoice Email Body",invoice_settings:"Invoice Settings",autogenerate_invoice_number:"Autom\u0101tiski \u0123ener\u0113t r\u0113\u0137ina numuru",autogenerate_invoice_number_desc:"Atsp\u0113jojiet, ja nev\u0113laties autom\u0101tiski \u0123ener\u0113t r\u0113\u0137inu numurus katru reizi, kad izveidojat jaunu r\u0113\u0137inu.",enter_invoice_prefix:"Ievadiet r\u0113\u0137ina prefiksu",terms_and_conditions:"Lieto\u0161anas noteikumi",company_address_format:"Uz\u0146\u0113muma adreses form\u0101ts",shipping_address_format:"Pieg\u0101des adreses form\u0101ts",billing_address_format:"Maks\u0101t\u0101ja / Uz\u0146\u0113muma adreses form\u0101ts",invoice_settings_updated:"R\u0113\u0137ina iestat\u012Bjumi ir veiksm\u012Bgi atjaunin\u0101ti"},estimates:{title:"Apr\u0113\u0137ini",estimate_prefix:"Apr\u0113\u0137inu prefikss",default_estimate_email_body:"Noklus\u0113jamais Apr\u0113\u0137ina e-pasta saturs",estimate_settings:"Apr\u0113\u0137inu iestat\u012Bjumi",autogenerate_estimate_number:"Autom\u0101tiski \u0123ener\u0113t Apr\u0113\u0137ina numuru",estimate_setting_description:"Atsp\u0113jojiet, ja nev\u0113laties autom\u0101tiski \u0123ener\u0113t Apr\u0113\u0137inu numurus katru reizi, kad izveidojat jaunu Apr\u0113\u0137inu.",enter_estimate_prefix:"Ievadiet Apr\u0113\u0137ina prefiksu",estimate_setting_updated:"Apr\u0113\u0137ina iestat\u012Bjumi ir veiksm\u012Bgi atjaunin\u0101ti",company_address_format:"Uz\u0146\u0113muma adreses form\u0101ts",billing_address_format:"Maks\u0101t\u0101ja / Uz\u0146\u0113muma adreses form\u0101ts",shipping_address_format:"Pieg\u0101des adreses form\u0101ts"},payments:{title:"Maks\u0101jumi",description:"P\u0101rskait\u012Bjumu veidi, maks\u0101jumiem",payment_prefix:"Maks\u0101juma prefikss",default_payment_email_body:"Noklus\u0113jamais Maks\u0101juma e-pasta saturs",payment_settings:"Maks\u0101jumu iestat\u012Bjumi",autogenerate_payment_number:"Autom\u0101tiski \u0123ener\u0113t Maks\u0101juma numuru",payment_setting_description:"Atsp\u0113jojiet, ja nev\u0113laties autom\u0101tiski \u0123ener\u0113t Maks\u0101juma numurus katru reizi, kad izveidojat jaunu Maks\u0101jumu.",enter_payment_prefix:"Ievadiet Maks\u0101juma prefiksu",payment_setting_updated:"Maks\u0101jumu iestat\u012Bjumi ir veiksm\u012Bgi atjaunin\u0101ti",payment_modes:"Apmaksas veidi",add_payment_mode:"Pievienojiet apmaksas veidu",edit_payment_mode:"Labot maks\u0101juma veidu",mode_name:"Veida nosaukums",payment_mode_added:"Pievienots maks\u0101\u0161anas veids",payment_mode_updated:"Labots maks\u0101\u0161anas veids",payment_mode_confirm_delete:"Jums neb\u016Bs iesp\u0113jas atg\u016Bt \u0161o Maks\u0101juma veidu",already_in_use:"Maks\u0101juma veids jau tiek izmantots",deleted_message:"Maks\u0101juma veids veiksm\u012Bgi izdz\u0113sts",company_address_format:"Uz\u0146\u0113muma adreses form\u0101ts",from_customer_address_format:"No Klienta adreses form\u0101ts"},items:{title:"Preces",units:"Vien\u012Bbas",add_item_unit:"Pievienot Preces vien\u012Bbu",edit_item_unit:"Labot Preces vien\u012Bbu",unit_name:"Vien\u012Bbas nosaukums",item_unit_added:"Preces vien\u012Bba pievienota",item_unit_updated:"Preces vien\u012Bba atjaunota",item_unit_confirm_delete:"Jums neb\u016Bs iesp\u0113jas atg\u016Bt \u0161o Preces vien\u012Bbu",already_in_use:"Preces vien\u012Bba jau tiek izmantota",deleted_message:"Preces vien\u012Bba veiksm\u012Bgi izdz\u0113sta"},notes:{title:"Piez\u012Bmes",description:"Save time by creating notes and reusing them on your invoices, estimates & payments.",notes:"Notes",type:"Type",add_note:"Add Note",add_new_note:"Add New Note",name:"Name",edit_note:"Edit Note",note_added:"Note added successfully",note_updated:"Note Updated successfully",note_confirm_delete:"You will not be able to recover this Note",already_in_use:"Note is already in use",deleted_message:"Note deleted successfully"}},account_settings:{profile_picture:"Profile Picture",name:"Name",email:"Email",password:"Password",confirm_password:"Confirm Password",account_settings:"Account Settings",save:"Save",section_description:"You can update your name, email & password using the form below.",updated_message:"Account Settings updated successfully"},user_profile:{name:"Name",email:"Email",password:"Password",confirm_password:"Confirm Password"},notification:{title:"Notification",email:"Send Notifications to",description:"Which email notifications would you like to receive when something changes?",invoice_viewed:"Invoice viewed",invoice_viewed_desc:"When your customer views the invoice sent via crater dashboard.",estimate_viewed:"Estimate viewed",estimate_viewed_desc:"When your customer views the estimate sent via crater dashboard.",save:"Save",email_save_message:"Email saved successfully",please_enter_email:"Please Enter Email"},tax_types:{title:"Tax Types",add_tax:"Add Tax",edit_tax:"Edit Tax",description:"You can add or Remove Taxes as you please. Crater supports Taxes on Individual Items as well as on the invoice.",add_new_tax:"Add New Tax",tax_settings:"Tax Settings",tax_per_item:"Tax Per Item",tax_name:"Tax Name",compound_tax:"Compound Tax",percent:"Percent",action:"Action",tax_setting_description:"Enable this if you want to add taxes to individual invoice items. By default, taxes are added directly to the invoice.",created_message:"Tax type created successfully",updated_message:"Tax type updated successfully",deleted_message:"Tax type deleted successfully",confirm_delete:"Jums neb\u016Bs iesp\u0113jas atg\u016Bt \u0161o Nodok\u013Ca veidu",already_in_use:"Nodoklis jau tiek izmantots"},expense_category:{title:"Izdevumu kategorijas",action:"Darb\u012Bba",description:"Kategorijas ir oblig\u0101tas, lai pievienotu Izdevumus.",add_new_category:"Pievienot jaunu kategoriju",add_category:"Pievienot kategoriju",edit_category:"Redi\u0123\u0113t kategoriju",category_name:"Kategorijas nosaukums",category_description:"Apraksts",created_message:"Izdevumu kategorija izveidota veiksm\u012Bgi",deleted_message:"Izdevumu kategorija veiksm\u012Bgi izdz\u0113sta",updated_message:"Izdevumu kategorija atjaunin\u0101ta veiksm\u012Bgi",confirm_delete:"Jums neb\u016Bs iesp\u0113jas atg\u016Bt \u0161o Izdevumu kategoriju",already_in_use:"Kategorija jau tiek izmantota"},preferences:{currency:"Val\u016Bta",default_language:"Noklus\u0113juma valoda",time_zone:"Laika josla",fiscal_year:"Finan\u0161u gads",date_format:"Datuma form\u0101ts",discount_setting:"Atlai\u017Eu iestat\u012Bjumi",discount_per_item:"Atlaide par preci/pakalpojumu ",discount_setting_description:"Iesp\u0113jot \u0161o, lai pie\u0161\u0137irtu atlaides individu\u0101l\u0101m r\u0113\u0137ina prec\u0113m. P\u0113c noklus\u0113juma, atlaide tiek piem\u0113rota r\u0113\u0137inam.",save:"Saglab\u0101t",preference:"Iestat\u012Bjumi | Iestat\u012Bjumi",general_settings:"Noklus\u0113jamie iestat\u012Bjumi sist\u0113mai.",updated_message:"Iestat\u012Bjumi atjaunin\u0101ti veiksm\u012Bgi",select_language:"Izv\u0113lieties valodu",select_time_zone:"Izv\u0113laties laika joslu",select_date_format:"Izv\u0113laties datuma form\u0101tu",select_financial_year:"Izv\u0113laties finan\u0161u gadu"},update_app:{title:"Atjaunin\u0101t App",description:"J\u016Bs varat atjaunin\u0101t Crater sist\u0113mas versiju pavisam vienk\u0101r\u0161i - spie\u017Eot uz pogas zem\u0101k",check_update:"Mekl\u0113t atjaunin\u0101jumus",avail_update:"Pieejami jauni atjaunin\u0101jumi",next_version:"N\u0101kam\u0101 versija",requirements:"Pras\u012Bbas",update:"Atjaunin\u0101t tagad",update_progress:"Notiek atjaunin\u0101\u0161ana...",progress_text:"Tas pras\u012Bs tikai da\u017Eas min\u016Btes. Pirms atjaunin\u0101\u0161anas beig\u0101m, l\u016Bdzu, neatsvaidziniet ekr\u0101nu un neaizveriet logu",update_success:"Sist\u0113ma ir atjaunin\u0101ta! L\u016Bdzu, uzgaidiet, kam\u0113r p\u0101rl\u016Bkprogrammas logs tiks autom\u0101tiski iel\u0101d\u0113ts.",latest_message:"Atjaunin\u0101jumi nav pieejami! Jums ir jaun\u0101k\u0101 versija.",current_version:"Versija",download_zip_file:"Lejupiel\u0101d\u0113t ZIP failu",unzipping_package:"Atarhiv\u0113 Zip failu",copying_files:"Notiek failu kop\u0113\u0161ana",running_migrations:"Notiek migr\u0101cijas",finishing_update:"Pabeidz atjaunin\u0101jumu",update_failed:"Atjaunin\u0101\u0161ana neizdev\u0101s",update_failed_text:"Atvainojiet! J\u016Bsu atjaunin\u0101juma laik\u0101 notika k\u013C\u016Bda: {step}. sol\u012B"},backup:{title:"Backup | Backups",description:"The backup is a zipfile that contains all files in the directories you specify along with a dump of your database",new_backup:"Add New Backup",create_backup:"Create Backup",select_backup_type:"Select Backup Type",backup_confirm_delete:"You will not be able to recover this Backup",path:"path",new_disk:"New Disk",created_at:"created at",size:"size",dropbox:"dropbox",local:"local",healthy:"healthy",amount_of_backups:"amount of backups",newest_backups:"newest backups",used_storage:"used storage",select_disk:"Select Disk",action:"Action",deleted_message:"Backup deleted successfully",created_message:"Backup created successfully",invalid_disk_credentials:"Invalid credential of selected disk"},disk:{title:"File Disk | File Disks",description:"By default, Crater will use your local disk for saving backups, avatar and other image files. You can configure more than one disk drivers like DigitalOcean, S3 and Dropbox according to your preference.",created_at:"created at",dropbox:"dropbox",name:"Name",driver:"Driver",disk_type:"Type",disk_name:"Disk Name",new_disk:"Add New Disk",filesystem_driver:"Filesystem Driver",local_driver:"local Driver",local_root:"local Root",public_driver:"Public Driver",public_root:"Public Root",public_url:"Public URL",public_visibility:"Public Visibility",media_driver:"Media Driver",media_root:"Media Root",aws_driver:"AWS Driver",aws_key:"AWS Key",aws_secret:"AWS Secret",aws_region:"AWS Region",aws_bucket:"AWS Bucket",aws_root:"AWS Root",do_spaces_type:"Do Spaces type",do_spaces_key:"Do Spaces key",do_spaces_secret:"Do Spaces Secret",do_spaces_region:"Do Spaces Region",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces Endpoint",do_spaces_root:"Do Spaces Root",dropbox_type:"Dropbox Type",dropbox_token:"Dropbox Token",dropbox_key:"Dropbox Key",dropbox_secret:"Dropbox Secret",dropbox_app:"Dropbox App",dropbox_root:"Dropbox Root",default_driver:"Default Driver",is_default:"IR NOKLUS\u0112JAMS",set_default_disk:"Iestatiet noklus\u0113juma disku",success_set_default_disk:"Disks ir veiksm\u012Bgi iestat\u012Bts k\u0101 noklus\u0113jums",save_pdf_to_disk:"Saglab\u0101t PDF uz diska",disk_setting_description:" Iesp\u0113jot \u0161o, ja v\u0113laties lai katru r\u0113\u0137ina, apr\u0113\u0137ina un maks\u0101juma izdrukas PDF kopiju saglab\u0101tu disk\u0101. \u0160\u012B opcija samazin\u0101s iel\u0101d\u0113\u0161anas laiku, kad apskat\u012Bsiet PDF.",select_disk:"Izv\u0113lieties disku",disk_settings:"Diska uzst\u0101d\u012Bjumi",confirm_delete:"J\u016Bsu eso\u0161ie faili un mapes nor\u0101d\u012Btaj\u0101 disk\u0101 netiks ietekm\u0113ti, bet diska konfigur\u0101cija tiks izdz\u0113sta no Crater sist\u0113mas",action:"Darb\u012Bba",edit_file_disk:"Labot failu disku",success_create:"Disks tika pievienots veiksm\u012Bgi",success_update:"Disks atjaunin\u0101ts veiksm\u012Bgi",error:"Diska pievieno\u0161anas k\u013C\u016Bda",deleted_message:"Failu disks veiksm\u012Bgi izdz\u0113sts",disk_variables_save_successfully:"Disks konfigur\u0113ts veiksm\u012Bgi",disk_variables_save_error:"Diska konfigur\u0101cija neveiksm\u012Bga.",invalid_disk_credentials:"Nepareizi pieejas dati atz\u012Bm\u0113tajam diskam"}},Dg={account_info:"Konta inform\u0101cija",account_info_desc:"Zem\u0101k sniegt\u0101 inform\u0101cija tiks izmantota galven\u0101 administratora konta izveidei. J\u016Bs var\u0113siet main\u012Bt inform\u0101ciju jebkur\u0101 laik\u0101 p\u0113c ielogo\u0161an\u0101s.",name:"V\u0101rds",email:"E-pasts",password:"Parole",confirm_password:"Apstipriniet paroli",save_cont:"Saglab\u0101t un turpin\u0101t",company_info:"Uz\u0146\u0113muma inform\u0101cija",company_info_desc:"\u0160\u012B inform\u0101cija tiks par\u0101d\u012Bta r\u0113\u0137inos. \u0145emiet v\u0113r\u0101, ka v\u0113l\u0101k to var redi\u0123\u0113t iestat\u012Bjumu lap\u0101.",company_name:"Uz\u0146\u0113muma nosaukums",company_logo:"Uz\u0146\u0113muma logo",logo_preview:"Logo",preferences:"Iestat\u012Bjumi",preferences_desc:"Noklus\u0113jamie iestat\u012Bjumi sist\u0113mai.",country:"Valsts",state:"Re\u0123ions",city:"Pils\u0113ta",address:"Adrese",street:"Adrese1 | Adrese2",phone:"Telefona numurs",zip_code:"Pasta indekss",go_back:"Atpaka\u013C",currency:"Val\u016Bta",language:"Valoda",time_zone:"Time Zone",fiscal_year:"Financial Year",date_format:"Date Format",from_address:"From Address",username:"Username",next:"Next",continue:"Continue",skip:"Skip",database:{database:"Site URL & Database",connection:"Database Connection",host:"Database Host",port:"Database Port",password:"Database Password",app_url:"App URL",app_domain:"App Domain",username:"Database Username",db_name:"Database Name",db_path:"Database Path",desc:"Create a database on your server and set the credentials using the form below."},permissions:{permissions:"Permissions",permission_confirm_title:"Are you sure you want to continue?",permission_confirm_desc:"Folder permission check failed",permission_desc:"Below is the list of folder permissions which are required in order for the app to work. If the permission check fails, make sure to update your folder permissions."},mail:{host:"Mail Host",port:"Mail Port",driver:"Mail Driver",secret:"Secret",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domain",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"Mail Password",username:"Mail Username",mail_config:"Mail Configuration",from_name:"From Mail Name",from_mail:"From Mail Address",encryption:"Mail Encryption",mail_config_desc:"Below is the form for Configuring Email driver for sending emails from the app. You can also configure third party providers like Sendgrid, SES etc."},req:{system_req:"System Requirements",php_req_version:"Php (version {version} required)",check_req:"P\u0101rbaud\u012Bt pras\u012Bbas",system_req_desc:"Crater sist\u0113mai ir da\u017Eas servera pras\u012Bbas. P\u0101rliecinieties, ka j\u016Bsu serverim ir vajadz\u012Bg\u0101 php versija un visi t\u0101l\u0101k min\u0113tie papla\u0161in\u0101jumi."},errors:{migrate_failed:"Migr\u0101cija neizdev\u0101s",database_variables_save_error:"Nevar\u0113ja konfigur\u0113t .env failu. L\u016Bdzu p\u0101rbaudiet faila pieejas",mail_variables_save_error:"E-pasta konfigur\u0101cija neveiksm\u012Bga.",connection_failed:"Datub\u0101zes savienojums neveiksm\u012Bgs",database_should_be_empty:"Datub\u0101zei j\u0101b\u016Bt tuk\u0161ai"},success:{mail_variables_save_successfully:"E-pasts konfigur\u0113ts veiksm\u012Bgi",database_variables_save_successfully:"Database configured successfully."}},Cg={invalid_phone:"Invalid Phone Number",invalid_url:"Invalid url (ex: http://www.craterapp.com)",invalid_domain_url:"Invalid url (ex: craterapp.com)",required:"Field is required",email_incorrect:"Incorrect Email.",email_already_taken:"The email has already been taken.",email_does_not_exist:"User with given email doesn't exist",item_unit_already_taken:"This item unit name has already been taken",payment_mode_already_taken:"This payment mode name has already been taken",send_reset_link:"Send Reset Link",not_yet:"Not yet? Send it again",password_min_length:"Password must contain {count} characters",name_min_length:"Name must have at least {count} letters.",enter_valid_tax_rate:"Enter valid tax rate",numbers_only:"Numbers Only.",characters_only:"Characters Only.",password_incorrect:"Passwords must be identical",password_length:"Password must be {count} character long.",qty_must_greater_than_zero:"Quantity must be greater than zero.",price_greater_than_zero:"Price must be greater than zero.",payment_greater_than_zero:"Payment must be greater than zero.",payment_greater_than_due_amount:"Entered Payment is more than due amount of this invoice.",quantity_maxlength:"Quantity should not be greater than 20 digits.",price_maxlength:"Price should not be greater than 20 digits.",price_minvalue:"Price should be greater than 0.",amount_maxlength:"Amount should not be greater than 20 digits.",amount_minvalue:"Amount should be greater than 0.",description_maxlength:"Description should not be greater than 255 characters.",subject_maxlength:"Subject should not be greater than 100 characters.",message_maxlength:"Message should not be greater than 255 characters.",maximum_options_error:"Maximum of {max} options selected. First remove a selected option to select another.",notes_maxlength:"Notes should not be greater than 255 characters.",address_maxlength:"Address should not be greater than 255 characters.",ref_number_maxlength:"Ref Number should not be greater than 255 characters.",prefix_maxlength:"Prefix should not be greater than 5 characters.",something_went_wrong:"something went wrong"},Ag="Apr\u0113\u0137ins",Ng="Apr\u0113\u0137ina numurs",Eg="Apr\u0113\u0137ina datums",Tg="Der\u012Bgs l\u012Bdz",Ig="R\u0113\u0137ins",$g="R\u0113\u0137ina numurs",Rg="R\u0113\u0137ina datums",Fg="Apmaksas termi\u0146\u0161",Mg="Notes",Bg="Nosaukums",Vg="Daudzums",Og="Cena",Lg="Atlaide",Ug="Summa",Kg="Starpsumma",qg="Kop\u0101",Wg="Payment",Zg="MAKS\u0100JUMA IZDRUKA",Hg="Maks\u0101juma datums",Gg="Maks\u0101juma numurs",Yg="Apmaksas veids",Jg="Sa\u0146emt\u0101 summa",Xg="IZDEVUMU ATSKAITE",Qg="KOP\u0100 IZDEVUMI",ef="PE\u013B\u0145AS & IZDEVUMU ATSKAITE",tf="Sales Customer Report",af="Sales Item Report",sf="Tax Summary Report",nf="IEN\u0100KUMI",of="PE\u013B\u0145A",rf="Atskaite par p\u0101rdoto: P\u0113c lietot\u0101ja",df="KOP\u0100 P\u0100RDOTAIS",lf="Atskaite par p\u0101rdoto: P\u0113c preces/pakalpojuma",cf="NODOK\u013BU ATSKAITE",_f="NODOK\u013BI KOP\u0100",uf="Nodok\u013Cu veidi",mf="Izdevumi",pf="Sa\u0146\u0113m\u0113js,",gf="Pieg\u0101des adrese,",ff="Sa\u0146emts no:",hf="Nodoklis";var vf={navigation:mg,general:pg,dashboard:gg,tax_types:fg,global_search:hg,customers:vg,items:yg,estimates:bg,invoices:kg,payments:wg,expenses:xg,login:zg,users:Sg,reports:Pg,settings:jg,wizard:Dg,validation:Cg,pdf_estimate_label:Ag,pdf_estimate_number:Ng,pdf_estimate_date:Eg,pdf_estimate_expire_date:Tg,pdf_invoice_label:Ig,pdf_invoice_number:$g,pdf_invoice_date:Rg,pdf_invoice_due_date:Fg,pdf_notes:Mg,pdf_items_label:Bg,pdf_quantity_label:Vg,pdf_price_label:Og,pdf_discount_label:Lg,pdf_amount_label:Ug,pdf_subtotal:Kg,pdf_total:qg,pdf_payment_label:Wg,pdf_payment_receipt_label:Zg,pdf_payment_date:Hg,pdf_payment_number:Gg,pdf_payment_mode:Yg,pdf_payment_amount_received_label:Jg,pdf_expense_report_label:Xg,pdf_total_expenses_label:Qg,pdf_profit_loss_label:ef,pdf_sales_customers_label:tf,pdf_sales_items_label:af,pdf_tax_summery_label:sf,pdf_income_label:nf,pdf_net_profit_label:of,pdf_customer_sales_report:rf,pdf_total_sales_label:df,pdf_item_sales_label:lf,pdf_tax_report_label:cf,pdf_total_tax_label:_f,pdf_tax_types_label:uf,pdf_expenses_label:mf,pdf_bill_to:pf,pdf_ship_to:gf,pdf_received_from:ff,pdf_tax_label:hf};const yf={dashboard:"\xD6versikt",customers:"Kunder",items:"Artiklar",invoices:"Fakturor",expenses:"Utgifter",estimates:"Kostnadsf\xF6rslag",payments:"Betalningar",reports:"Rapporter",settings:"Inst\xE4llningar",logout:"Logga ut",users:"Anv\xE4ndare"},bf={add_company:"Skapa f\xF6retag",view_pdf:"Visa PDF",copy_pdf_url:"Kopiera adress till PDF",download_pdf:"Ladda ner PDF",save:"Spara",create:"Skapa",cancel:"Avbryt",update:"Uppdatera",deselect:"Avmarkera",download:"Ladda ner",from_date:"Fr\xE5n datum",to_date:"Till datum",from:"Fr\xE5n",to:"Till",sort_by:"Sortera p\xE5",ascending:"Stigande",descending:"Fallande",subject:"\xC4mne",body:"Inneh\xE5ll",message:"Meddelande",send:"Skicka",go_back:"Tillbaka",back_to_login:"Till inloggningssidan?",home:"Hem",filter:"Filter",delete:"Ta bort",edit:"Editera",view:"Visa",add_new_item:"Skapa artikel",clear_all:"Rensa alla",showing:"Visar",of:"av",actions:"Funktioner",subtotal:"DELSUMMA",discount:"RABATT",fixed:"Fast",percentage:"Procent",tax:"MOMS",total_amount:"TOTALSUMMA",bill_to:"Faktureras till",ship_to:"Levereras till",due:"F\xF6rfallen",draft:"F\xF6rslag",sent:"Skickat",all:"Alla",select_all:"V\xE4lj alla",choose_file:"Klicka h\xE4r f\xF6r att v\xE4lja fil",choose_template:"V\xE4lj mall",choose:"V\xE4lj",remove:"Ta bort",select_a_status:"V\xE4lj status",select_a_tax:"V\xE4lj moms",search:"S\xF6k",are_you_sure:"\xC4r du s\xE4ker?",list_is_empty:"Listan \xE4r tom.",no_tax_found:"Hittade inte moms!",four_zero_four:"404",you_got_lost:"Hoppsan! Nu \xE4r du vilse!",go_home:"G\xE5 hem",test_mail_conf:"Testa epostinst\xE4llningar",send_mail_successfully:"Lyckades skicka epost",setting_updated:"Inst\xE4llningar uppdaterades",select_state:"V\xE4lj kommun",select_country:"V\xE4lj land",select_city:"V\xE4lj stad",street_1:"Gatuadress 1",street_2:"Gatuadress 2",action_failed:"F\xF6rs\xF6k misslyckades",retry:"F\xF6rs\xF6k igen",choose_note:"V\xE4lj notering",no_note_found:"Inga noteringar hittades",insert_note:"L\xE4gg till notering",copied_pdf_url_clipboard:"Url till PDF kopierades till urklipp!"},kf={select_year:"V\xE4lj \xE5r",cards:{due_amount:"F\xF6rfallet belopp",customers:"Kunder",invoices:"Fakturor",estimates:"Kostnadsf\xF6rslag"},chart_info:{total_sales:"F\xF6rs\xE4ljning",total_receipts:"Kvitton",total_expense:"Utgifter",net_income:"Nettoinkomst",year:"V\xE4lj \xE5r"},monthly_chart:{title:"F\xF6rs\xE4ljning och utgifter"},recent_invoices_card:{title:"F\xF6rfallna fakturor",due_on:"F\xF6rfaller den",customer:"Kund",amount_due:"F\xF6rfallet belopp",actions:"Handlingar",view_all:"Visa alla"},recent_estimate_card:{title:"Senaste kostnadsf\xF6rslag",date:"Datum",customer:"Kund",amount_due:"F\xF6rfallet belopp",actions:"Handlingar",view_all:"Visa alla"}},wf={name:"Namn",description:"Beskrivning",percent:"Provent",compound_tax:"Sammansatt moms"},xf={search:"S\xF6k...",customers:"Kunder",users:"Anv\xE4ndare",no_results_found:"Hittade inga resultat"},zf={title:"Kunder",add_customer:"L\xE4gg till kund",contacts_list:"Kundlista",name:"Namn",mail:"Epost | Epost",statement:"P\xE5st\xE5ende",display_name:"Visningsnamn",primary_contact_name:"Prim\xE4r kontakts namn",contact_name:"Kontaktnamn",amount_due:"F\xF6rfallet belopp",email:"Epost",address:"Adress",phone:"Telefon",website:"Hemsida",overview:"\xD6versikt",enable_portal:"Aktivera portal",country:"Land",state:"Kommun",city:"Stad",zip_code:"Postnummer",added_on:"Tillagd den",action:"Handling",password:"L\xF6senord",street_number:"Gatnummer",primary_currency:"Huvudvaluta",description:"Beskrivning",add_new_customer:"L\xE4gg till ny kund",save_customer:"Spara kund",update_customer:"Uppdatera kund",customer:"Kund | Kunder",new_customer:"Ny kund",edit_customer:"\xC4ndra kund",basic_info:"Information",billing_address:"Fakturaadress",shipping_address:"Leveransadress",copy_billing_address:"Kopiera fr\xE5n faktura",no_customers:"Inga kunder \xE4n!",no_customers_found:"Hittade inga kunder!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"H\xE4r kommer det finnas en lista med kunder.",primary_display_name:"Visningsnamn",select_currency:"V\xE4lj valuta",select_a_customer:"V\xE4lj kund",type_or_click:"Skriv eller klicka f\xF6r att v\xE4lja",new_transaction:"Ny transaktion",no_matching_customers:"Matchade inte med n\xE5gon kund!",phone_number:"Telefonnummer",create_date:"Skapandedatum",confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna kund eller n\xE5gra relaterade fakturor, kostnadsf\xF6rslag eller betalningar. | Du kommer inte kunna \xE5terst\xE4lla dessa kunder eller n\xE5gra relaterade fakturor, kostnadsf\xF6rslag eller betalningar.",created_message:"Kund skapades",updated_message:"Kund uppdaterades",deleted_message:"Kund raderades | Kunder raderades"},Sf={title:"Artiklar",items_list:"Artikellista",name:"Namn",unit:"Enhet",description:"Beskrivning",added_on:"Tillagd den",price:"Pris",date_of_creation:"Skapandedatum",not_selected:"No item selected",action:"Handling",add_item:"Skapa artikel",save_item:"Spara artikel",update_item:"Uppdatera artiklar",item:"Artikel | Artiklar",add_new_item:"Skapa ny artikel",new_item:"Ny artikel",edit_item:"\xC4ndra artikel",no_items:"Inga artiklar \xE4n!",list_of_items:"H\xE4r kommer lista \xF6ver artiklar vara.",select_a_unit:"v\xE4lj enhet",taxes:"Moms",item_attached_message:"Kan inte radera en artikel som anv\xE4nds",confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna artikel | Du kommer inte kunna \xE5terst\xE4lla dessa artiklar",created_message:"Artikel skapades",updated_message:"Artikel uppdaterades",deleted_message:"Artikel raderades | Artiklar raderades"},Pf={title:"Kostnadsf\xF6rslag",estimate:"Kostnadsf\xF6rslag | Kostnadsf\xF6rslag",estimates_list:"Lista med kostnadsf\xF6rslag",days:"{days} dagar",months:"{months} m\xE5nader",years:"{years} \xE5r",all:"Alla",paid:"Betalda",unpaid:"Obetalda",customer:"KUND",ref_no:"REF NR.",number:"NUMMER",amount_due:"F\xD6RFALLET BELOPP",partially_paid:"Delbetald",total:"Summa",discount:"Rabatt",sub_total:"Delsumma",estimate_number:"Kostnadsf\xF6rslagsnummer",ref_number:"Ref Nummer",contact:"Kontakt",add_item:"L\xE4gg till artikel",date:"Datum",due_date:"F\xF6rfallodatum",expiry_date:"Utg\xE5ngsdatum",status:"Status",add_tax:"L\xE4gg till moms",amount:"Belopp",action:"Handling",notes:"Noteringar",tax:"Moms",estimate_template:"Mall",convert_to_invoice:"Konvertera till faktura",mark_as_sent:"Markerade som skickad",send_estimate:"Skicka kostnadsf\xF6rslag",resend_estimate:"Skicka kostnadsf\xF6rslag igen",record_payment:"Registrera betalning",add_estimate:"L\xE4gg till kostnadsf\xF6rslag",save_estimate:"Spara kostnadsf\xF6rslag",confirm_conversion:"Detta kostnadsf\xF6rslag anv\xE4nds f\xF6r att skapa ny faktura.",conversion_message:"Faktura skapades",confirm_send_estimate:"Detta kostnadsf\xF6rslag skickas via epost till kund",confirm_mark_as_sent:"Detta kostnadsf\xF6rslag markeras som skickat",confirm_mark_as_accepted:"Detta kostnadsf\xF6rslag markeras som accepterad",confirm_mark_as_rejected:"Detta kostnadsf\xF6rslag markeras som avvisad",no_matching_estimates:"Inga matchande kostnadsf\xF6rslag!",mark_as_sent_successfully:"Kostnadsf\xF6rslag markerat som skickat",send_estimate_successfully:"Kostnadsf\xF6rslag skickades",errors:{required:"F\xE4ltet \xE4r tvingande"},accepted:"Accepterad",rejected:"Rejected",sent:"Skickat",draft:"Utkast",declined:"Avvisad",new_estimate:"Nytt kostnadsf\xF6rslag",add_new_estimate:"Skapa nytt kostnadsf\xF6rslag",update_Estimate:"Uppdatera kostnadsf\xF6rslag",edit_estimate:"\xC4ndra kostnadsf\xF6rslag",items:"artiklar",Estimate:"Kostnadsf\xF6rslag | Kostnadsf\xF6rslag",add_new_tax:"Skapa ny momssats",no_estimates:"Inga kostnadsf\xF6rslag \xE4n!",list_of_estimates:"H\xE4r kommer det finnas kostnadsf\xF6rslag.",mark_as_rejected:"Markera som avvisad",mark_as_accepted:"Markera som godk\xE4nd",marked_as_accepted_message:"Kostnadsf\xF6rslag markerad som godk\xE4nd",marked_as_rejected_message:"Kostnadsf\xF6rslag markerad som avvisad",confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla detta kostnadsf\xF6rslag | Du kommer inte kunna \xE5terst\xE4lla dessa kostnadsf\xF6rslag",created_message:"Kostnadsf\xF6rslag skapades",updated_message:"Kostnadsf\xF6rslag \xE4ndrades",deleted_message:"Kostnadsf\xF6rslag raderades | Kostnadsf\xF6rslag raderades",something_went_wrong:"n\xE5got gick fel",item:{title:"Artikelnamn",description:"Beskrivning",quantity:"Antal",price:"Pris",discount:"Rabatt",total:"Summa",total_discount:"Rabattsumma",sub_total:"Delsumma",tax:"Moms",amount:"Summa",select_an_item:"Skriv eller klicka f\xF6r att v\xE4lja artikel",type_item_description:"Skriv in artikelns beskrivning (frivilligt)"}},jf={title:"Fakturor",invoices_list:"Fakturor",days:"{days} dagar",months:"{months} m\xE5nader",years:"{years} \xE5r",all:"Alla",paid:"Betalda",unpaid:"Obetalda",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"KUNDER",paid_status:"BETALSTATUS",ref_no:"REF NR.",number:"NUMMER",amount_due:"F\xD6RFALLET BELOPP",partially_paid:"Delbetald",total:"Summa",discount:"Rabatt",sub_total:"Delsumma",invoice:"Faktura | Fakturor",invoice_number:"Fakturanummer",ref_number:"Ref Nummer",contact:"Kontakt",add_item:"L\xE4gg till artikel",date:"Datum",due_date:"F\xF6rfallodatum",status:"Status",add_tax:"L\xE4gg till moms",amount:"Summa",action:"Handling",notes:"Noteringar",view:"Visa",send_invoice:"Skicka faktura",resend_invoice:"Skicka faktura igen",invoice_template:"Fakturamall",template:"Mall",mark_as_sent:"Markera som skickad",confirm_send_invoice:"Denna faktura skickas via epost till kunden",invoice_mark_as_sent:"Denna faktura markeras som skickad",confirm_send:"Denna faktura skickas via epost till kunden",invoice_date:"Fakturadatum",record_payment:"Registrera betalning",add_new_invoice:"L\xE4gg till ny faktura",update_expense:"\xC4ndra utgifter",edit_invoice:"Editera faktura",new_invoice:"Ny faktura",save_invoice:"Spara faktura",update_invoice:"Uppdatera faktura",add_new_tax:"L\xE4gg till ny momssats",no_invoices:"Inga fakturor \xE4n!",list_of_invoices:"H\xE4r kommer det vara en lista med fakturor.",select_invoice:"V\xE4lj faktura",no_matching_invoices:"Inga matchande fakturor!",mark_as_sent_successfully:"Fakturans status \xE4ndrad till skickad",invoice_sent_successfully:"Fakturan skickades",cloned_successfully:"Fakturan kopierades",clone_invoice:"Kopiera faktura",confirm_clone:"Denna faktura kopieras till en ny faktura",item:{title:"Artikelnamn",description:"Beskvirning",quantity:"Antal",price:"Pris",discount:"Rabatt",total:"Summa",total_discount:"Totalsumma",sub_total:"Delsumma",tax:"Moms",amount:"Summa",select_an_item:"Skriv eller klicka f\xF6r att v\xE4lja artikel",type_item_description:"Artikeltypsbeskrivning (frivillig)"},confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna faktura | Du kommer inte kunna \xE5terst\xE4lla dessa fakturor",created_message:"Faktura skapades",updated_message:"Faktura uppdaterades",deleted_message:"Faktura raderades | fakturor raderades",marked_as_sent_message:"Faktura markerad som skickad",something_went_wrong:"n\xE5got blev fel",invalid_due_amount_message:"Totalsumman f\xF6r fakturan kan inte vara l\xE4gra \xE4n den betalda summan. V\xE4nligen uppdatera fakturan eller radera dom kopplade betalningarna."},Df={title:"Betalningar",payments_list:"Lista med betalningar",record_payment:"Registrera betalning",customer:"Kund",date:"Datum",amount:"Summa",action:"Handling",payment_number:"Betalningsnummer",payment_mode:"Betalningss\xE4tt",invoice:"Faktura",note:"Notering",add_payment:"Skapa betalning",new_payment:"Ny betalning",edit_payment:"\xC4ndra betalning",view_payment:"Visa betalning",add_new_payment:"Skapa ny betalning",send_payment_receipt:"Skicka kvitto p\xE5 betalning",send_payment:"Skicka betalning",save_payment:"Spara betalning",update_payment:"Uppdatera betalning",payment:"Betalning | Betalningar",no_payments:"Inga betalningar \xE4n!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"Inga matchande betalningar!",list_of_payments:"H\xE4r kommer listan med betalningar finnas.",select_payment_mode:"V\xE4lj betalningss\xE4tt",confirm_mark_as_sent:"Detta kostnadsf\xF6rslag markeras som skickat",confirm_send_payment:"Denna betalning skickas till kunden via epost",send_payment_successfully:"Betalningen skickades",something_went_wrong:"n\xE5got gick fel",confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna betalning | Du kommer inte kunna \xE5terst\xE4lla dessa betalningar",created_message:"Betalning skapades",updated_message:"Betalning uppdaterades",deleted_message:"Betalning raderades | Betalningar raderades",invalid_amount_message:"Betalsumman \xE4r ogiltig"},Cf={title:"Utgifter",expenses_list:"Lista med utgifter",select_a_customer:"V\xE4lj en kund",expense_title:"Titel",customer:"Kund",contact:"Kontakt",category:"Kategori",from_date:"Fr\xE5n datum",to_date:"Till datum",expense_date:"Datum",description:"Beskrivning",receipt:"Kvitto",amount:"Summa",action:"Handling",not_selected:"Not selected",note:"Notering",category_id:"Kategorins ID",date:"Datum",add_expense:"L\xE4gg till utgift",add_new_expense:"L\xE4gg till ny utgift",save_expense:"Spara utgift",update_expense:"Uppdatera utgift",download_receipt:"Ladda ner kvitto",edit_expense:"\xC4ndra utgift",new_expense:"Ny utgift",expense:"Utgift | Utgifter",no_expenses:"Inga utgifter \xE4n!",list_of_expenses:"H\xE4r kommer utgifterna finnas.",confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna utgift | Du kommer inte kunna \xE5terst\xE4lla dessa utgifter",created_message:"Utgift skapades",updated_message:"Utgift \xE4ndrades",deleted_message:"Utgift raderades | utgifterna raderades",categories:{categories_list:"Kategorier",title:"Titel",name:"Namn",description:"Beskrivning",amount:"Summa",actions:"Handlingar",add_category:"L\xE4gg till kategori",new_category:"Ny kategori",category:"Kategori | Kategorier",select_a_category:"V\xE4lj en kategori"}},Af={email:"Epost",password:"L\xF6senord",forgot_password:"Gl\xF6mt l\xF6senord?",or_signIn_with:"eller logga in med",login:"Logga in",register:"Registrera",reset_password:"\xC5terst\xE4ll l\xF6senord",password_reset_successfully:"L\xF6senord \xE5terst\xE4llt",enter_email:"Skriv in epost",enter_password:"Skriv in l\xF6senord",retype_password:"Skriv l\xF6senordet igen"},Nf={title:"Anv\xE4ndare",users_list:"Anv\xE4ndare",name:"Namn",description:"Beskrivning",added_on:"Tillagd den",date_of_creation:"Datum skapad",action:"Handling",add_user:"L\xE4gg till anv\xE4ndare",save_user:"Spara anv\xE4ndare",update_user:"Uppdatera anv\xE4ndare",user:"Anv\xE4ndare | Anv\xE4ndare",add_new_user:"L\xE4gg till ny anv\xE4ndare",new_user:"Ny anv\xE4ndare",edit_user:"\xC4ndra anv\xE4ndare",no_users:"Inga anv\xE4ndare \xE4n!",list_of_users:"H\xE4r kommer man se alla anv\xE4ndare.",email:"Epost",phone:"Telefon",password:"L\xF6senord",user_attached_message:"Kan inte ta bort ett objeckt som anv\xE4nds",confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna anv\xE4ndare | Du kommer inte kunna \xE5terst\xE4lla dessa anv\xE4ndare",created_message:"Anv\xE4ndare skapades",updated_message:"Anv\xE4ndare uppdaterades",deleted_message:"Anv\xE4ndaren raderades | Anv\xE4ndarna raderades"},Ef={title:"Rapport",from_date:"Fr\xE5n datum",to_date:"Till datum",status:"Status",paid:"Betald",unpaid:"Obetald",download_pdf:"Ladda ner PDF",view_pdf:"Visa PDF",update_report:"Uppdatera rapport",report:"Rapport | Rapporter",profit_loss:{profit_loss:"Inkomst och utgifter",to_date:"Till datum",from_date:"Fr\xE5n datum",date_range:"V\xE4lj datumintervall"},sales:{sales:"F\xF6rs\xE4ljningar",date_range:"V\xE4lj datumintervall",to_date:"Till datum",from_date:"Fr\xE5n datum",report_type:"Rapporttyp"},taxes:{taxes:"Momssatser",to_date:"Till datum",from_date:"Fr\xE5n datum",date_range:"V\xE4lj datumintervall"},errors:{required:"F\xE4ltet \xE4r tvingande"},invoices:{invoice:"Faktura",invoice_date:"Fakturadatum",due_date:"F\xF6rfallodatum",amount:"Summa",contact_name:"Kontaktnamn",status:"Status"},estimates:{estimate:"Kostnadsf\xF6rslag",estimate_date:"Kostnadsf\xF6rslagsdatum",due_date:"F\xF6rfallodatum",estimate_number:"Kostnadsf\xF6rslagsnummer",ref_number:"Ref Nummer",amount:"Summa",contact_name:"Kontaktnamn",status:"Status"},expenses:{expenses:"Utgifter",category:"Kategori",date:"Datum",amount:"Summa",to_date:"Till datum",from_date:"Fr\xE5n datum",date_range:"V\xE4lj datumintervall"}},Tf={menu_title:{account_settings:"Kontoinst\xE4llningar",company_information:"F\xF6retagsinformation",customization:"Anpassning",preferences:"Inst\xE4llningar",notifications:"Notifieringar",tax_types:"Momssatser",expense_category:"Utgiftskategorier",update_app:"Uppdatera appen",backup:"Backup",file_disk:"File Disk",custom_fields:"Anpassade f\xE4lt",payment_modes:"Betalmetoder",notes:"Noteringar"},title:"Inst\xE4llningar",setting:"Inst\xE4llningar | Inst\xE4llningar",general:"Allm\xE4n",language:"Spr\xE5k",primary_currency:"Prim\xE4r valuta",timezone:"Tidszon",date_format:"Datumformat",currencies:{title:"Valutor",currency:"Valuta | Valutor",currencies_list:"Lista med valutor",select_currency:"V\xE4lj valuta",name:"Namn",code:"Kod",symbol:"Symbol",precision:"Precision",thousand_separator:"Tusenavgr\xE4nsare",decimal_separator:"Decimalavgr\xE4nsare",position:"Position",position_of_symbol:"Symbolens position",right:"H\xF6ger",left:"V\xE4nster",action:"Handling",add_currency:"L\xE4gg till valuta"},mail:{host:"V\xE4rdadress",port:"Port",driver:"Typ",secret:"Hemlighet",mailgun_secret:"Mailgun Secret",mailgun_domain:"Dom\xE4n",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"L\xF6senord",username:"Anv\xE4ndarnamn",mail_config:"Epostinst\xE4llningar",from_name:"Fr\xE5n namn",from_mail:"Fr\xE5n adress",encryption:"Kryptering",mail_config_desc:"Nedan formul\xE4r anv\xE4nds f\xF6r att konfigurera vilket s\xE4tt som ska anv\xE4ndar f\xF6r att skicka epost. Du kan ocks\xE5 anv\xE4nda tredjepartsleverant\xF6r som Sendgrid, SES o.s.v."},pdf:{title:"PDF-inst\xE4llningar",footer_text:"Sidfotstext",pdf_layout:"PDF-layout"},company_info:{company_info:"F\xF6retagsinfo",company_name:"F\xF6retagsnamn",company_logo:"F\xF6retagslogga",section_description:"Information om ditt f\xF6retags som kommer visas p\xE5 fakturor, kostnadsf\xF6rslag och andra dokument skapade av Crater.",phone:"Telefon",country:"Land",state:"Kommun",city:"Stad",address:"Adress",zip:"Postnr",save:"Spara",updated_message:"F\xF6retagsinformation uppdaterad"},custom_fields:{title:"Anpassade f\xE4lt",section_description:"Anpassa fakturor, kostnadsf\xF6rslag och kvitton med dina egna f\xE4lt. Anv\xE4nd nedanst\xE5ende f\xE4lt i adressforamteringen p\xE5 anpassningarnas inst\xE4llningssida.",add_custom_field:"L\xE4gg till anpassat f\xE4lt",edit_custom_field:"\xC4ndra anpassade f\xE4lt",field_name:"F\xE4ltnamn",label:"Etikett",type:"Typ",name:"Namn",required:"Tvingad",placeholder:"Placeholder",help_text:"Hj\xE4lptext",default_value:"Standardv\xE4rde",prefix:"Prefix",starting_number:"Startnummer",model:"Modell",help_text_description:"Skriv in text som hj\xE4lper anv\xE4ndaren f\xF6rst\xE5 vad det anpassade f\xE4ltet anv\xE4nds f\xF6r.",suffix:"Suffix",yes:"Ja",no:"Nej",order:"Ordning",custom_field_confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla detta anpassade f\xE4lt",already_in_use:"Det anpassade f\xE4ltet anv\xE4nds",deleted_message:"Det anpassade f\xE4ltet raderades",options:"val",add_option:"L\xE4gg till val",add_another_option:"L\xE4gg till ett till val",sort_in_alphabetical_order:"Sortera i alfabetisk ordning",add_options_in_bulk:"L\xE4gg till flera val",use_predefined_options:"Anv\xE4nd f\xF6rinst\xE4llda val",select_custom_date:"V\xE4lj anpassat datum",select_relative_date:"V\xE4lj relativt datum",ticked_by_default:"Ikryssad fr\xE5n start",updated_message:"Anpassat f\xE4lt uppdaterades",added_message:"Anpassat f\xE4lt skapat"},customization:{customization:"Anpassning",save:"Spara",addresses:{title:"Adresser",section_description:"Du kan formatera kundens faktura- och leveransadress (Visas enbart i PDF-en). ",customer_billing_address:"Kunds fakturaadress",customer_shipping_address:"Kunds leveransadress",company_address:"F\xF6retagsadress",insert_fields:"L\xE4gg till f\xE4lt",contact:"Kontakt",address:"Adress",display_name:"Visningsnamn",primary_contact_name:"Huvudkontakts namn",email:"Epost",website:"Hemsida",name:"Namn",country:"Lan",state:"Kommun",city:"Stad",company_name:"F\xF6retagsnamn",address_street_1:"Gatuadress 1",address_street_2:"Gatuadress 2",phone:"Telefon",zip_code:"Postnummer",address_setting_updated:"Inst\xE4llningar f\xF6r adress uppdaterades"},updated_message:"F\xF6retagsinformation uppdaterades",invoices:{title:"Fakturor",notes:"Noteringar",invoice_prefix:"Prefix f\xF6r fakturor",default_invoice_email_body:"Standardtext f\xF6r faktura",invoice_settings:"Fakturainst\xE4llningar",autogenerate_invoice_number:"Generera fakturanummer automatiskt",autogenerate_invoice_number_desc:"Inaktivera detta dom du inte vill att det automatiskt ska genereras ett nytt fakturanummer vid skapande av faktura.",enter_invoice_prefix:"Skriv prefix f\xF6r faktura",terms_and_conditions:"Villkor",company_address_format:"Formatering av f\xF6retagsadress",shipping_address_format:"Formatering av leveransadress",billing_address_format:"Formatering av fakturaadress",invoice_settings_updated:"Fakturainst\xE4llningar uppdaterades"},estimates:{title:"Kostnadsf\xF6rslag",estimate_prefix:"Prefix f\xF6r kostnadsf\xF6rslag",default_estimate_email_body:"Standardtext f\xF6r kostnadsf\xF6rslag",estimate_settings:"Kostnadsf\xF6rslagsinst\xE4llningar",autogenerate_estimate_number:"Generera kostnadsf\xF6rslagsnummer automatiskt",estimate_setting_description:"Inaktivera detta dom du inte vill att det automatiskt ska genereras ett nytt kostnadsf\xF6rslagsnummer vid skapande av kostnadsf\xF6rslag.",enter_estimate_prefix:"Skriv prefix f\xF6r kostnadsf\xF6rslag",estimate_setting_updated:"Kostnadsf\xF6rslagsinst\xE4llningar uppdaterades",company_address_format:"Formatering av f\xF6retagsadress",billing_address_format:"Formatering av fakturaadress",shipping_address_format:"Formatering av leveransadress"},payments:{title:"Betalningar",description:"\xD6verf\xF6ringstyper f\xF6r betalningar",payment_prefix:"Prefix f\xF6r betalningar",default_payment_email_body:"Standardtext f\xF6r betalningar",payment_settings:"Betalningsinst\xE4llningar",autogenerate_payment_number:"Generera betalningsnummer automatiskt",payment_setting_description:"Inaktivera detta dom du inte vill att det automatiskt ska genereras ett nytt betalningssnummer vid skapande av betalning.",enter_payment_prefix:"Skriv prefix f\xF6r kostnadsf\xF6rslag",payment_setting_updated:"Betalningsinst\xE4llningar uppdaterades",payment_modes:"Betalningss\xE4tt",add_payment_mode:"L\xE4gg till betalningss\xE4tt",edit_payment_mode:"\xC4ndra betalningss\xE4tt",mode_name:"Typnamn",payment_mode_added:"Betalningss\xE4tt tillagd",payment_mode_updated:"Betalningss\xE4tt uppdaterat",payment_mode_confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna betalningsmetod",already_in_use:"Betalningss\xE4ttet anv\xE4nds",deleted_message:"Betalningss\xE4tt raderades",company_address_format:"Format f\xF6r f\xF6retagsadress",from_customer_address_format:"Format f\xF6r kundens fr\xE5n-adress"},items:{title:"Artiklar",units:"Enheter",add_item_unit:"L\xE4gg till artikelenhet",edit_item_unit:"Editera artikelenhet",unit_name:"Enhets namn",item_unit_added:"Artikelenhet tillagd",item_unit_updated:"Artikelenhet uppdaterad",item_unit_confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna artikelenhet",already_in_use:"Artikelenhet anv\xE4nds",deleted_message:"Artikelenhet raderades"},notes:{title:"Noteringar",description:"Spara tid genom att skapa noteringar som kan \xE5teranv\xE4ndas p\xE5 fakturor, betalningsf\xF6rslag, och betalningar.",notes:"Noteringar",type:"Typ",add_note:"L\xE4gg till notering",add_new_note:"L\xE4gg till ny notering",name:"Namn",edit_note:"Editera notering",note_added:"Notering skapades",note_updated:"Notering uppdaterades",note_confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna notering",already_in_use:"Notering anv\xE4nds",deleted_message:"Notering raderades"}},account_settings:{profile_picture:"Profilbild",name:"Namn",email:"Epost",password:"L\xF6senord",confirm_password:"Bekr\xE4fta l\xF6senord",account_settings:"Kontoinst\xE4llningar",save:"Spara",section_description:"Du kan uppdatera namn, epost och l\xF6senord med hj\xE4lp av formul\xE4ret nedan.",updated_message:"Kontoinst\xE4llningar uppdaterades"},user_profile:{name:"Namn",email:"Epost",password:"L\xF6senord",confirm_password:"Bekr\xE4fta l\xF6senord"},notification:{title:"Notifieringar",email:"Skicka notifiering till",description:"Vilka notifieringar vill du ha via epost n\xE4r n\xE5got \xE4ndras?",invoice_viewed:"Faktura kollad",invoice_viewed_desc:"N\xE4r din kund kollar fakturan via craters \xF6versikt.",estimate_viewed:"Betalf\xF6rslag kollad",estimate_viewed_desc:"N\xE4r din kund kollar betalf\xF6rslag via craters \xF6versikt.",save:"Spara",email_save_message:"Epost sparades",please_enter_email:"Skriv in epostadress"},tax_types:{title:"Momssatser",add_tax:"L\xE4gg till moms",edit_tax:"\xC4ndra moms",description:"Du kan l\xE4gga till och ta bort momssatser som du vill. Crater har st\xF6d f\xF6r moms per artikel men \xE4ven per faktura.",add_new_tax:"L\xE4gg till ny momssats",tax_settings:"Momssattsinst\xE4llningar",tax_per_item:"Moms per artikel",tax_name:"Namn",compound_tax:"Sammansatt moms",percent:"Procent",action:"Handling",tax_setting_description:"Aktivera detta om du vill l\xE4gga till momssats p\xE5 individuella fakturaartiklar. Som standard s\xE4tts moms direkt p\xE5 fakturan.",created_message:"Momssats skapades",updated_message:"Momssats uppdaterades",deleted_message:"Momssats raderades",confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna Momssats",already_in_use:"Momssats anv\xE4nds"},expense_category:{title:"Kategorier f\xF6r utgifter",action:"Handling",description:"Kategorier kr\xE4vs f\xF6r att l\xE4gga till utgifter. Du kan l\xE4gga till och ta bort dessa kategorier som du vill",add_new_category:"L\xE4gg till ny kategori",add_category:"L\xE4gg till kategori",edit_category:"\xC4ndra kategori",category_name:"Kategorinamn",category_description:"Beskrivning",created_message:"Utgiftskategori skapades",deleted_message:"Utgiftskategori raderades",updated_message:"Utgiftskategori uppdaterades",confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna utgiftskategori",already_in_use:"Kategorin anv\xE4nds"},preferences:{currency:"Valuta",default_language:"Standardspr\xE5k",time_zone:"Tidszon",fiscal_year:"R\xE4kenskaps\xE5r",date_format:"Datumformattering",discount_setting:"Rabattinst\xE4llningar",discount_per_item:"Rabatt per artikel ",discount_setting_description:"Aktivera detta om du vill kunna l\xE4gga rabatt p\xE5 enskilda fakturaartiklar. Rabatt ges som standard p\xE5 hela fakturan.",save:"Spara",preference:"Preferens | Preferenser",general_settings:"Standardpreferenser f\xF6r systemet.",updated_message:"Preferenser uppdaterades",select_language:"V\xE4lj spr\xE5k",select_time_zone:"V\xE4lj tidszon",select_date_format:"V\xE4lj datumformat",select_financial_year:"V\xE4lj r\xE4kenskaps\xE5r"},update_app:{title:"Uppdatera applikationen",description:"Du kan enkelt uppdatera Crater genom att s\xF6ka efter uppdateringar via knappen nedan",check_update:"S\xF6k efter uppdateringar",avail_update:"Uppdatering \xE4r tillg\xE4nglig",next_version:"N\xE4sta version",requirements:"Krav",update:"Uppdatera nu",update_progress:"Uppdaterar...",progress_text:"Det kommer bara ta n\xE5gra minuter. St\xE4ng eller uppdatera inte webl\xE4saren f\xF6rr\xE4n uppdateringen \xE4r f\xE4rdig.",update_success:"Applikationen har uppdaterats! V\xE4nta s\xE5 kommer f\xF6nstret laddas om automatiskt..",latest_message:"Ingen uppdatering tillg\xE4nglig! Du har den senaste versionen.",current_version:"Nuvarande version",download_zip_file:"Ladda ner ZIP-fil",unzipping_package:"Zippar upp paket",copying_files:"Kopierar filer",running_migrations:"K\xF6r migreringar",finishing_update:"Avslutar uppdateringen",update_failed:"Uppdatering misslyckades",update_failed_text:"Uppdateringen misslyckades p\xE5 steg : {step} step"},backup:{title:"S\xE4kerhetskopiering | S\xE4kerhetskopieringar",description:"S\xE4kerhetskopian \xE4r en zip-fil som inneh\xE5ller alla filer i katalogerna du v\xE4ljer samt en kopia av databasen",new_backup:"Skapa ny s\xE4kerhetskopia",create_backup:"Skapa s\xE4kerhetskopia",select_backup_type:"V\xE4lj typ av s\xE4kerhetskopia",backup_confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna s\xE4kerhetskopia",path:"s\xF6kv\xE4g",new_disk:"Ny disk",created_at:"skapad den",size:"storlek",dropbox:"dropbox",local:"lokal",healthy:"h\xE4lsosam",amount_of_backups:"antal s\xE4kerhetskopior",newest_backups:"senaste s\xE4kerhetskopiorna",used_storage:"anv\xE4nt utrymme",select_disk:"V\xE4lj disk",action:"Handling",deleted_message:"S\xE4kerhetskopia raderad",created_message:"S\xE4kerhetskopia skapades",invalid_disk_credentials:"Ogiltiga autentiseringsuppgifter f\xF6r den valda disken"},disk:{title:"Lagring | Lagringar",description:"Crater anv\xE4nder din lokala disk som standard f\xF6r att spara s\xE4kerhetskopior, avatarer och andra bildfiler. Du kan st\xE4lla in fler lagringsenheter s\xE5som DigitalOcean, S3 och Dropbox beroende av ditt behov.",created_at:"skapad den",dropbox:"dropbox",name:"Namn",driver:"Plats",disk_type:"Typ",disk_name:"Lagringsenhetsnamn",new_disk:"L\xE4gg till ny lagringsenhet",filesystem_driver:"Enhetsplats",local_driver:"Lokal enhet",local_root:"S\xF6kv\xE4g p\xE5 lokal enhet",public_driver:"Offentlig drivrutin",public_root:"Offentlig rot",public_url:"Offentlig URL",public_visibility:"Offentlig synlighet",media_driver:"Mediaenhet",media_root:"Media Root",aws_driver:"AWS",aws_key:"Nyckel",aws_secret:"L\xF6senord",aws_region:"Region",aws_bucket:"Bucket",aws_root:"S\xF6kv\xE4g",do_spaces_type:"Do Spaces type",do_spaces_key:"Nyckel",do_spaces_secret:"L\xF6senord",do_spaces_region:"Region",do_spaces_bucket:"Bucket",do_spaces_endpoint:"Endpoint",do_spaces_root:"S\xF6kv\xE4g",dropbox_type:"Typ",dropbox_token:"Token",dropbox_key:"Nyckel",dropbox_secret:"L\xF6senord",dropbox_app:"App",dropbox_root:"S\xF6kv\xE4g",default_driver:"Standard",is_default:"\xC4r standard",set_default_disk:"V\xE4lj som standard",set_default_disk_confirm:"Denna disk kommer bli standard och alla nya PFDer blir sparade h\xE4r",success_set_default_disk:"Disk vald som standard",save_pdf_to_disk:"Spara PDFer till disk",disk_setting_description:"Aktivera detta om du vill ha en kopia av varje faktura, kostnadsf\xF6rslag, och betalningskvitto som PDF p\xE5 din standard disk automatiskt.Aktiverar du denna funktion s\xE5 kommer laddtiderna f\xF6r visning av PDFer minskas.",select_disk:"V\xE4lj Disk",disk_settings:"Diskinst\xE4llningar",confirm_delete:"Dina existerande filer och kataloger p\xE5 den valda disken kommer inte p\xE5verkas men inst\xE4llningarna f\xF6r disken raderas fr\xE5n Crater",action:"Handling",edit_file_disk:"\xC4ndra disk",success_create:"Disk skapades",success_update:"Disk uppdaterades",error:"Fel vid skapande av disk",deleted_message:"Disk raderades",disk_variables_save_successfully:"Diskinst\xE4llningar sparades",disk_variables_save_error:"N\xE5got gick fel vid sparning av diskinst\xE4llningar",invalid_disk_credentials:"Felaktiga uppgifter vid val av disk"}},If={account_info:"Kontoinformation",account_info_desc:"Nedan detaljer anv\xE4nds f\xF6r att skapa huvudadministrat\xF6rskonto. Du kan \xE4ndra detta i efterhand.",name:"Namn",email:"Epost",password:"L\xF6senord",confirm_password:"Bekr\xE4fta l\xF6senord",save_cont:"Spara och forts\xE4tt",company_info:"F\xF6retagsinformation",company_info_desc:"Denna information visas p\xE5 fakturor. Du kan \xE4ndra detta i efterhand p\xE5 sidan f\xF6r inst\xE4llningar.",company_name:"F\xF6retagsnamn",company_logo:"F\xF6retagslogga",logo_preview:"F\xF6rhandsvisning av logga",preferences:"Inst\xE4llningar",preferences_desc:"Standardinst\xE4llningar f\xF6r systemet.",country:"Land",state:"Kommun",city:"Stad",address:"Adress",street:"Gatuadress1 | Gatuadress2",phone:"Telefon",zip_code:"Postnr",go_back:"Tillbaka",currency:"Valuta",language:"Spr\xE5k",time_zone:"Tidszon",fiscal_year:"R\xE4kenskaps\xE5r",date_format:"Datumformat",from_address:"Fr\xE5n adress",username:"Anv\xE4ndarnamn",next:"N\xE4sta",continue:"Forts\xE4tt",skip:"Hoppa \xF6ver",database:{database:"Sidans URL & Databas",connection:"Databasanslutning",host:"V\xE4rdadress till databasen",port:"Port till databasen",password:"L\xF6senord till databasen",app_url:"Appens URL",app_domain:"Appens Dom\xE4n",username:"Anv\xE4ndarnamn till databasen",db_name:"Databasens namn",db_path:"Databasens s\xF6kv\xE4g",desc:"Skapa en database p\xE5 din server och st\xE4ll in autentiseringsuppgifter i formul\xE4ret nedan."},permissions:{permissions:"Beh\xF6righeter",permission_confirm_title:"\xC4r du s\xE4ker p\xE5 att du vill forts\xE4tta?",permission_confirm_desc:"Fel beh\xF6righeter vid kontroll p\xE5 katalogen",permission_desc:"Nedan \xE4r en lista p\xE5 katalogr\xE4ttigheter som kr\xE4vs f\xF6r att denna app ska fungera. Om beh\xF6righetskontrollen misslyckas, uppdatera beh\xF6righeterna f\xF6r katalogerna."},mail:{host:"V\xE4rdadress till epost",port:"Port till epost",driver:"Typ",secret:"Hemlighet",mailgun_secret:"Hemlighet",mailgun_domain:"Dom\xE4n",mailgun_endpoint:"Endpoint",ses_secret:"Hemlighet",ses_key:"Nyckel",password:"L\xF6senord",username:"Anv\xE4ndarnamn",mail_config:"Epostinst\xE4llningar",from_name:"Namn som st\xE5r vid utg\xE5ende epost",from_mail:"Epostadress som anv\xE4nds som returadress vid utg\xE5ende epost",encryption:"Epostkryptering",mail_config_desc:"Nedan formul\xE4r anv\xE4nds f\xF6r att konfigurera vilket s\xE4tt som ska anv\xE4ndar f\xF6r att skicka epost. Du kan ocks\xE5 anv\xE4nda tredjepartsleverant\xF6r som Sendgrid, SES o.s.v."},req:{system_req:"Systemkrav",php_req_version:"Php (version {version} kr\xE4vs)",check_req:"Kontrollera krav",system_req_desc:"Crater har n\xE5gra krav p\xE5 din server. Kontrollera att din server har den n\xF6dv\xE4ndiga versionen av PHP och alla till\xE4gg som n\xE4mns nedan."},errors:{migrate_failed:"Migration misslyckades",database_variables_save_error:"Kan inte skriva till .env-filen. Kontrollera dina beh\xF6righeter till filen",mail_variables_save_error:"Epostinst\xE4llningar misslyckades.",connection_failed:"Databasanslutning misslyckades",database_should_be_empty:"Databasen m\xE5ste vara tom"},success:{mail_variables_save_successfully:"Epostinst\xE4llningar sparades.",database_variables_save_successfully:"Databasinst\xE4llningar sparades."}},$f={invalid_phone:"Felaktigt telefonnummer",invalid_url:"Felaktig url (ex: http://www.craterapp.com)",invalid_domain_url:"Felaktig url (ex: craterapp.com)",required:"F\xE4ltet \xE4r tvingande",email_incorrect:"Felaktig epostadress.",email_already_taken:"Denna epostadress finns redan.",email_does_not_exist:"Anv\xE4ndare med den epostadressen finns inte",item_unit_already_taken:"Detta artikelenhetsnamn finns redan",payment_mode_already_taken:"Betalningsmetodsnamnet finns redan",send_reset_link:"Skicka l\xE4nk f\xF6r \xE5terst\xE4llning",not_yet:"Inte \xE4n? Skicka igen",password_min_length:"L\xF6senordet m\xE5ste inneh\xE5lla {count} tecken",name_min_length:"Namn m\xE5ste ha minst {count} bokst\xE4ver.",enter_valid_tax_rate:"Skriv in till\xE5ten momssats",numbers_only:"Endast siffror.",characters_only:"Endast bokst\xE4ver.",password_incorrect:"L\xF6senorden m\xE5ste \xF6verensst\xE4mma",password_length:"L\xF6senordet m\xE5ste vara minst {count} tecken.",qty_must_greater_than_zero:"Antal m\xE5ste vara st\xF6rre \xE4n noll.",price_greater_than_zero:"Pris m\xE5ste vara st\xF6rre \xE4n noll.",payment_greater_than_zero:"Betalningen m\xE5ste vara st\xF6rre \xE4n noll.",payment_greater_than_due_amount:"Inslagen betalning \xE4r st\xF6rre \xE4n summan p\xE5 denna faktura.",quantity_maxlength:"Antal kan inte vara st\xF6rre \xE4n 20 siffror.",price_maxlength:"Pris kan inte vara st\xF6rre \xE4n 20 siffror.",price_minvalue:"Pris m\xE5ste vara st\xF6rre \xE4n 0.",amount_maxlength:"Belopp kan inte vara st\xF6rre \xE4n 20 siffror.",amount_minvalue:"Belopp m\xE5ste vara st\xF6rre \xE4n 9.",description_maxlength:"Beskrivning f\xE5r inte inneh\xE5lla fler \xE4n 255 tecken.",subject_maxlength:"\xC4mne f\xE5r inte inneh\xE5lla fler \xE4n 100 tecken.",message_maxlength:"Meddelande f\xE5r inte inneh\xE5lla fler \xE4n 255 tecken.",maximum_options_error:"H\xF6gst {max} val. Ta bort ett val f\xF6r att kunna l\xE4gga till ett annat.",notes_maxlength:"Noteringar kan inte vara st\xF6rre \xE4n 255 tecken.",address_maxlength:"Adress kan inte vara st\xF6rre \xE4n 255 tecken.",ref_number_maxlength:"Referensnummer kan inte vara st\xF6rre \xE4n 255 tecken.",prefix_maxlength:"Prefix kan inte vara st\xF6rre \xE4n 5 tecken.",something_went_wrong:"n\xE5got blev fel"},Rf="Kostnadsf\xF6rslag",Ff="Kostnadsf\xF6rslagsnummer",Mf="Kostnadsf\xF6rslagsdatum",Bf="Utg\xE5ngsdatum",Vf="Faktura",Of="Fakturanummer",Lf="Fakturadatum",Uf="Inbetalningsdatum",Kf="Noteringar",qf="Artiklar",Wf="Antal",Zf="Kostnad",Hf="Rabatt",Gf="Belopp",Yf="Delsumma",Jf="Summa",Xf="Payment",Qf="Betalningskvitto",eh="Betalningsdatum",th="Betalningsnummer",ah="Betalningstyp",sh="Belopp mottaget",nh="Kostnadsrapport",ih="Totalkostnad",oh="Resultat- och f\xF6rlustrapport",rh="Sales Customer Report",dh="Sales Item Report",lh="Tax Summary Report",ch="Inkomst",_h="Nettof\xF6rtj\xE4nst",uh="F\xF6rs\xE4ljningsrapport: Per kund",mh="SUMMA F\xD6RS\xC4LJNINGAR",ph="F\xF6rs\xE4ljningsrapport: Per artikel",gh="Momsrapport",fh="SUMMA MOMS",hh="Momssatser",vh="Utgifter",yh="Faktureras till,",bh="Skickas till,",kh="Fr\xE5n:",wh="Tax";var xh={navigation:yf,general:bf,dashboard:kf,tax_types:wf,global_search:xf,customers:zf,items:Sf,estimates:Pf,invoices:jf,payments:Df,expenses:Cf,login:Af,users:Nf,reports:Ef,settings:Tf,wizard:If,validation:$f,pdf_estimate_label:Rf,pdf_estimate_number:Ff,pdf_estimate_date:Mf,pdf_estimate_expire_date:Bf,pdf_invoice_label:Vf,pdf_invoice_number:Of,pdf_invoice_date:Lf,pdf_invoice_due_date:Uf,pdf_notes:Kf,pdf_items_label:qf,pdf_quantity_label:Wf,pdf_price_label:Zf,pdf_discount_label:Hf,pdf_amount_label:Gf,pdf_subtotal:Yf,pdf_total:Jf,pdf_payment_label:Xf,pdf_payment_receipt_label:Qf,pdf_payment_date:eh,pdf_payment_number:th,pdf_payment_mode:ah,pdf_payment_amount_received_label:sh,pdf_expense_report_label:nh,pdf_total_expenses_label:ih,pdf_profit_loss_label:oh,pdf_sales_customers_label:rh,pdf_sales_items_label:dh,pdf_tax_summery_label:lh,pdf_income_label:ch,pdf_net_profit_label:_h,pdf_customer_sales_report:uh,pdf_total_sales_label:mh,pdf_item_sales_label:ph,pdf_tax_report_label:gh,pdf_total_tax_label:fh,pdf_tax_types_label:hh,pdf_expenses_label:vh,pdf_bill_to:yh,pdf_ship_to:bh,pdf_received_from:kh,pdf_tax_label:wh};const zh={dashboard:"Hlavn\xFD Panel",customers:"Z\xE1kazn\xEDci",items:"Polo\u017Eky",invoices:"Fakt\xFAry",expenses:"V\xFDdaje",estimates:"Cenov\xE9 odhady",payments:"Platby",reports:"Reporty",settings:"Nastavenia",logout:"Odhl\xE1si\u0165 sa",users:"U\u017Eivatelia"},Sh={add_company:"Prida\u0165 firmu",view_pdf:"Zobrazi\u0165 PDF",copy_pdf_url:"Kop\xEDrova\u0165 PDF adresu",download_pdf:"Stiahnu\u0165 PDF",save:"Ulo\u017Ei\u0165",create:"Vytvori\u0165",cancel:"Zru\u0161i\u0165",update:"Aktualizova\u0165",deselect:"Zru\u0161i\u0165 v\xFDber",download:"Stiahnu\u0165",from_date:"Od d\xE1tumu",to_date:"Do d\xE1tumu",from:"Od",to:"Pre",sort_by:"Zoradi\u0165 pod\u013Ea",ascending:"Vzostupne",descending:"Zostupne",subject:"Predmet",body:"Telo textu",message:"Spr\xE1va",send:"Odosla\u0165",go_back:"Sp\xE4\u0165",back_to_login:"Sp\xE4\u0165 na prihl\xE1senie?",home:"Domov",filter:"Filtrova\u0165",delete:"Odstr\xE1ni\u0165",edit:"Upravi\u0165",view:"Zobrazi\u0165",add_new_item:"Prida\u0165 nov\xFA polo\u017Eku",clear_all:"Vy\u010Disti\u0165 v\u0161etko",showing:"Zobrazuje sa",of:"z",actions:"Akcie",subtotal:"MEDZIS\xDA\u010CET",discount:"Z\u013DAVA",fixed:"Pevn\xE9",percentage:"Percento",tax:"DA\u0147",total_amount:"SUMA SPOLU",bill_to:"Faktura\u010Dn\xE1 adresa",ship_to:"Adresa doru\u010Denia",due:"Term\xEDn",draft:"Koncept",sent:"Odoslan\xE9",all:"V\u0161etko",select_all:"Vybra\u0165 v\u0161etky",choose_file:"Kliknite sem pre vybratie s\xFAboru",choose_template:"Vybra\u0165 vzh\u013Ead",choose:"Vybra\u0165",remove:"Odstr\xE1ni\u0165",powered_by:"Be\u017E\xED na",bytefury:"Bytefury",select_a_status:"Vyberte stav",select_a_tax:"Vyberte da\u0148",search:"H\u013Eada\u0165",are_you_sure:"Ste si ist\xFD?",list_is_empty:"Zoznam je pr\xE1zdny.",no_tax_found:"\u017Diadna da\u0148 nebola n\xE1jden\xE1!",four_zero_four:"404",you_got_lost:"Ups! Stratili ste sa!",go_home:"\xCDs\u0165 domov",test_mail_conf:"Otestova\u0165 e-mailov\xFA konfigur\xE1ciu",send_mail_successfully:"E-Mail odoslan\xFD \xFAspe\u0161ne",setting_updated:"Nastavenia boli \xFAspe\u0161ne aktualizovan\xE9",select_state:"Vyberte \u0161t\xE1t",select_country:"Vyberte krajinu",select_city:"Vyberte mesto",street_1:"Prv\xFD riadok ulice",street_2:"Druh\xFD riadok ulice",action_failed:"Akcia ne\xFAspe\u0161n\xE1",retry:"Sk\xFAsi\u0165 znova",choose_note:"Vyberte pozn\xE1mku",no_note_found:"Neboli n\xE1jden\xE9 \u017Eiadne pozn\xE1mky",insert_note:"Vlo\u017E pozn\xE1mku"},Ph={select_year:"Vyberte rok",cards:{due_amount:"\u010Ciastka k zaplateniu",customers:"Z\xE1kazn\xEDci",invoices:"Fakt\xFAry",estimates:"Cenov\xE9 odhady"},chart_info:{total_sales:"Predaje",total_receipts:"Doklady o zaplaten\xED",total_expense:"V\xFDdaje",net_income:"\u010Cist\xFD pr\xEDjem",year:"Vyberte rok"},monthly_chart:{title:"Predaje a V\xFDdaje"},recent_invoices_card:{title:"Splatn\xE9 fakt\xFAry",due_on:"Term\xEDn splatenia",customer:"Z\xE1kazn\xEDk",amount_due:"\u010Ciastka k zaplateniu",actions:"Akcie",view_all:"Zobrazi\u0165 v\u0161etko"},recent_estimate_card:{title:"Ned\xE1vne cenov\xE9 odhady",date:"D\xE1tum",customer:"Z\xE1kazn\xEDk",amount_due:"Cena",actions:"Akcie",view_all:"Zobrazi\u0165 v\u0161etky"}},jh={name:"Meno",description:"Popis",percent:"Percento",compound_tax:"Zlo\u017Een\xE1 da\u0148"},Dh={search:"H\u013Eada\u0165...",customers:"Z\xE1kazn\xEDci",users:"U\u017Eivatelia",no_results_found:"Neboli n\xE1jden\xE9 \u017Eiadne v\xFDsledky"},Ch={title:"Z\xE1kazn\xEDci",add_customer:"Prida\u0165 Z\xE1kazn\xEDka",contacts_list:"Zoznam z\xE1kazn\xEDkov",name:"Meno",mail:"E-mail | E-maily",statement:"V\xFDpis",display_name:"Zobrazovan\xE9 meno",primary_contact_name:"Meno Prim\xE1rneho Kontaktu",contact_name:"Meno Kontaktu",amount_due:"\u010Ciastka k zaplateniu",email:"E-mail",address:"Adresa",phone:"Telef\xF3n",website:"Webov\xE9 str\xE1nky",overview:"Preh\u013Ead",enable_portal:"Aktivova\u0165 port\xE1l",country:"Krajina",state:"\u0160t\xE1t",city:"Mesto",zip_code:"PS\u010C",added_on:"Pridan\xE9 D\u0148a",action:"Akcia",password:"Heslo",street_number:"\u010C\xEDslo Ulice",primary_currency:"Hlavn\xE1 Mena",description:"Popis",add_new_customer:"Prida\u0165 Nov\xE9ho Z\xE1kazn\xEDka",save_customer:"Ulo\u017Ei\u0165 Z\xE1kazn\xEDka",update_customer:"Aktualizova\u0165 Zak\xE1zn\xEDka",customer:"Z\xE1kazn\xEDk | Z\xE1kazn\xEDci",new_customer:"Nov\xFD Z\xE1kazn\xEDk",edit_customer:"Upravi\u0165 Z\xE1kazn\xEDka",basic_info:"Z\xE1kladn\xE9 Inform\xE1cie",billing_address:"Faktura\u010Dn\xE1 Adresa",shipping_address:"Doru\u010Dovacia Adresa",copy_billing_address:"Kop\xEDrova\u0165 pod\u013Ea Faktura\u010Dnej adresy",no_customers:"Zatia\u013E nebol pridan\xFD \u017Eiadny z\xE1kazn\xEDk!",no_customers_found:"Nen\xE1jden\xED \u017Eiadni z\xE1kazn\xEDci!",list_of_customers:"T\xE1to sekcia bude obsahova\u0165 zoznam z\xE1kazn\xEDkov.",primary_display_name:"Hlavn\xE9 meno pre zobrazenie",select_currency:"Vyberte menu",select_a_customer:"Vyberte z\xE1kazn\xEDka",type_or_click:"Za\u010Dnite p\xEDsa\u0165 alebo kliknite pre vybratie",new_transaction:"Nov\xE1 Transakcia",no_matching_customers:"Nena\u0161li sa \u017Eiadny z\xE1kazn\xEDci sp\u013A\u0148aj\xFAce Va\u0161e podmienky!",phone_number:"Telef\xF3nne \u010C\xEDslo",create_date:"D\xE1tum Vytvorenia",confirm_delete:"Nebudete m\xF4c\u0165 obnovi\u0165 tohto z\xE1kazn\xEDka ani \u017Eiadne fakt\xFAry, cenov\xE9 odhady alebo platby s n\xEDm spojen\xE9. | Nebudete m\xF4c\u0165 obnovi\u0165 t\xFDchto z\xE1kazn\xEDkov ani \u017Eiadne fakt\xFAry, cenov\xE9 odhady alebo platby s nimi spojen\xE9.",created_message:"Z\xE1kazn\xEDk \xFAspe\u0161ne vytvoren\xFD",updated_message:"Z\xE1kazn\xEDk \xFAspe\u0161ne aktualizovan\xFD",deleted_message:"Z\xE1kazn\xEDk \xFAspe\u0161ne odstr\xE1nen\xFD | Z\xE1kazn\xEDci \xFAspe\u0161ne odstr\xE1nen\xED"},Ah={title:"Polo\u017Eky",items_list:"Zoznam Polo\u017Eiek",name:"Meno",unit:"Jednotka",description:"Popis",added_on:"Pridan\xE9 D\u0148a",price:"Cena",date_of_creation:"D\xE1tum Vytvorenia",action:"Akcia",add_item:"Prida\u0165 Polo\u017Eku",save_item:"Ulo\u017Ei\u0165 Polo\u017Eku",update_item:"Aktualizova\u0165 Polo\u017Eku",item:"Polo\u017Eka | Polo\u017Eky",add_new_item:"Prida\u0165 Nov\xFA Polo\u017Eku",new_item:"Nov\xE1 polo\u017Eka",edit_item:"Upravi\u0165 Polo\u017Eku",no_items:"Zatia\u013E \u017Eiadn\xE9 polo\u017Eky!",list_of_items:"T\xE1to sekcia bude obsahova\u0165 zoznam z\xE1kazn\xEDkov.",select_a_unit:"vyberte jednotku",taxes:"Dane",item_attached_message:"Nie je mo\u017En\xE9 vymaza\u0165 polo\u017Eku, ktor\xE1 sa pou\u017E\xEDva",confirm_delete:"Nebudete m\xF4c\u0165 obnovi\u0165 t\xFAto Polo\u017Eku | Nebudete m\xF4c\u0165 obnovi\u0165 tieto Polo\u017Eky",created_message:"Polo\u017Eka \xFAspe\u0161ne vytvoren\xE1",updated_message:"Polo\u017Eka \xFAspe\u0161ne aktualizovan\xE1",deleted_message:"Polo\u017Eka \xFAspe\u0161ne odstr\xE1nen\xE1 | Polo\u017Eky \xFAspe\u0161ne odstr\xE1nen\xE9"},Nh={title:"Cenov\xE9 odhady",estimate:"Cenov\xFD odhad | Cenov\xE9 odhady",estimates_list:"Zoznam Cenov\xFDch odhadov",days:"{days} Dn\xED",months:"{months} Mesiac",years:"{years} Rok",all:"V\u0161etko",paid:"Zaplaten\xE9",unpaid:"Nezaplaten\xE9",customer:"Z\xC1KAZN\xCDK",ref_no:"REF \u010C.",number:"\u010C\xCDSLO",amount_due:"Dl\u017En\xE1 suma",partially_paid:"\u010Ciasto\u010Dne Zaplaten\xE9",total:"Spolu",discount:"Z\u013Eava",sub_total:"Medzis\xFA\u010Det",estimate_number:"\u010C\xEDslo Cenov\xE9ho odhadu",ref_number:"Ref. \u010C\xEDslo",contact:"Kontakt",add_item:"Prida\u0165 Polo\u017Eku",date:"D\xE1tum",due_date:"D\xE1tum Splatnosti",expiry_date:"D\xE1tum Ukon\u010Denia Platnosti",status:"Stav",add_tax:"Prida\u0165 Da\u0148",amount:"Suma",action:"Akcia",notes:"Pozn\xE1mky",tax:"Da\u0148",estimate_template:"Vzh\u013Ead",convert_to_invoice:"Konvertova\u0165 do Fakt\xFAry",mark_as_sent:"Ozna\u010Di\u0165 ako odoslan\xE9",send_estimate:"Odosla\u0165 Cenov\xFD odhad",resend_estimate:"Znovu Odosla\u0165 Cenov\xFD odhad",record_payment:"Zaznamena\u0165 Platbu",add_estimate:"Vytvori\u0165 Cenov\xFD odhad",save_estimate:"Ulo\u017Ei\u0165 Cenov\xFD odhad",confirm_conversion:"Tento cenov\xFD odhad bude pou\u017Eit\xFD k vytvoreniu novej Fakt\xFAry.",conversion_message:"Fakt\xFAra \xFAspe\u0161ne vytvoren\xE1",confirm_send_estimate:"Tento Cenov\xFD odhad bude odoslan\xFD z\xE1kazn\xEDkovi prostredn\xEDctvom e-mailu",confirm_mark_as_sent:"Tento Cenov\xFD odhad bude ozna\u010Den\xFD ako odoslan\xFD",confirm_mark_as_accepted:"Tento Cenov\xFD odhad bude ozna\u010Den\xFD ako Prijat\xFD",confirm_mark_as_rejected:"Tento Cenov\xFD odhad bude ozna\u010Den\xFD ako Odmietnut\xFD",no_matching_estimates:"Nena\u0161li sa \u017Eiadne Cenov\xE9 odhady sp\u013A\u0148aj\xFAce Va\u0161e podmienky!",mark_as_sent_successfully:"Cenov\xFD odhad \xFAspe\u0161ne ozna\u010Den\xFD ako odoslan\xFD",send_estimate_successfully:"Cenov\xFD odhad \xFAspe\u0161ne odoslan\xFD",errors:{required:"Pole je povinn\xE9"},accepted:"Prij\xE1t\xE1",sent:"Odoslan\xE1",draft:"Koncept",declined:"Zru\u0161en\xFD",new_estimate:"Nov\xFD Cenov\xFD odhad",add_new_estimate:"Prida\u0165 nov\xFD Cenov\xFD odhad",update_Estimate:"Aktualizova\u0165 Cenov\xFD odhad",edit_estimate:"Upravi\u0165 Cenov\xFD odhad",items:"polo\u017Eky",Estimate:"Cenov\xFD odhad | Cenov\xE9 odhady",add_new_tax:"Prida\u0165 Nov\xFA Da\u0148",no_estimates:"Zatia\u013E \u017Eiadne cenov\xE9 odhady",list_of_estimates:"T\xE1to sekcia bude obsahova\u0165 zoznam cenov\xFDch odhadov.",mark_as_rejected:"Ozna\u010Di\u0165 ako odmietnut\xFA",mark_as_accepted:"Ozna\u010Den\xFD ako prijat\xFA",marked_as_accepted_message:"Cenov\xFD odhad ozna\u010Den\xFD ako schv\xE1len\xFD",marked_as_rejected_message:"Cenov\xFD odhad ozna\u010Den\xFD ako odmietnut\xFD",confirm_delete:"Nebude mo\u017En\xE9 obnovi\u0165 cenov\xFD odhad | Nebude mo\u017En\xE9 obnovi\u0165 cenov\xE9 odhady",created_message:"Cenov\xFD odhad \xFAspe\u0161n\xE9 vytvoren\xFD",updated_message:"Cenov\xFD odhad \xFAspe\u0161n\xE9 aktualizovan\xFD",deleted_message:"Cenov\xFD odhad \xFAspe\u0161n\xE9 vymazan\xFD | Cenov\xE9 odhady \xFAspe\u0161n\xE9 vymazan\xE9",something_went_wrong:"Nie\u010Do neprebehlo v poriadku, odsk\xFA\u0161ajte pros\xEDm znova.",item:{title:"N\xE1zov Polo\u017Eky",description:"Popis",quantity:"Mno\u017Estvo",price:"Cena",discount:"Z\u013Eava",total:"Celkom",total_discount:"Celkov\xE1 z\u013Eava",sub_total:"Medzis\xFA\u010Det",tax:"Da\u0148",amount:"Suma",select_an_item:"Za\u010Dnite p\xEDsa\u0165 alebo kliknite pre vybratie polo\u017Eky",type_item_description:"Zadajte Popis Polo\u017Eky (volite\u013En\xE9)"}},Eh={title:"Fakt\xFAry",invoices_list:"Zoznam Fakt\xFAr",days:"{days} \u010Ee\u0148",months:"{months} Mesiac",years:"{years} Rok",all:"V\u0161etko",paid:"Zaplaten\xE9",unpaid:"Nezaplaten\xE9",customer:"Z\xC1KAZN\xCDK",paid_status:"Stav platby",ref_no:"REF \u010C.",number:"\u010C\xCDSLO",amount_due:"Dl\u017En\xE1 suma",partially_paid:"\u010Ciasto\u010Dne Zaplaten\xE9",total:"Spolu",discount:"Z\u013Eava",sub_total:"Medzis\xFA\u010Det",invoice:"Fakt\xFAra | Fakt\xFAry",invoice_number:"\u010C\xEDslo Fakt\xFAry",ref_number:"Ref. \u010C\xEDslo",contact:"Kontakt",add_item:"Prida\u0165 Polo\u017Eku",date:"D\xE1tum",due_date:"D\xE1tum Splatnosti",status:"Stav",add_tax:"Prida\u0165 Da\u0148",amount:"Suma",action:"Akcia",notes:"Pozn\xE1mky",view:"Zobrazi\u0165",send_invoice:"Odosla\u0165 Fakt\xFAru",resend_invoice:"Odosla\u0165 Fakt\xFAru Znovu",invoice_template:"Vzh\u013Ead fakt\xFAry",template:"Vzh\u013Ead",mark_as_sent:"Ozna\u010Di\u0165 ako odoslan\xFA",confirm_send_invoice:"T\xE1to fakt\xFAra bude odoslan\xE1 z\xE1kazn\xEDkovi prostredn\xEDctvom e-mailu",invoice_mark_as_sent:"T\xE1to fakt\xFAra bude ozna\u010Den\xE1 ako odoslan\xE1",confirm_send:"T\xE1to fakt\xFAra bude odoslan\xE1 z\xE1kazn\xEDkovi prostredn\xEDctvom e-mailu",invoice_date:"D\xE1tum Vystavenia",record_payment:"Zaznamena\u0165 Platbu",add_new_invoice:"Nov\xE1 Fakt\xFAra",update_expense:"Update Expense",edit_invoice:"Upravi\u0165 Fakt\xFAru",new_invoice:"Nov\xE1 Fakt\xFAra",save_invoice:"Ulo\u017Ei\u0165 Fakt\xFAru",update_invoice:"Upravi\u0165 Fakt\xFAru",add_new_tax:"Prida\u0165 Nov\xFA Da\u0148",no_invoices:"Zatia\u013E nem\xE1te \u017Eiadn\xE9 fakt\xFAry!",list_of_invoices:"T\xE1to sekcia bude obsahova\u0165 zoznam fakt\xFAr",select_invoice:"Vybra\u0165 Fakt\xFAru",no_matching_invoices:"Nena\u0161li sa \u017Eiadne fakt\xFAry!",mark_as_sent_successfully:"Fakt\xFAra ozna\u010Den\xE1 ako \xFAspe\u0161ne odoslan\xE1",invoice_sent_successfully:"Fakt\xFAra bola \xFAspe\u0161ne odoslan\xE1",cloned_successfully:"Fakt\xFAra bola \xFAspe\u0161ne okop\xEDrovan\xE1",clone_invoice:"Kop\xEDrova\u0165 fakt\xFAru",confirm_clone:"Fakt\xFAra bude okop\xEDrovan\xE1 do novej",item:{title:"N\xE1zov polo\u017Eky",description:"Popis",quantity:"Mno\u017Estvo",price:"Cena",discount:"Z\u013Eava",total:"Celkom",total_discount:"Celkov\xE1 z\u013Eava",sub_total:"Medzis\xFA\u010Det",tax:"Da\u0148",amount:"\u010Ciastka",select_an_item:"Nap\xED\u0161te alebo vyberte polo\u017Eku",type_item_description:"Popis polo\u017Eky (volite\u013En\xE9)"},confirm_delete:"T\xFAto fakt\xFAru nebude mo\u017En\xE9 obnovi\u0165 | Tieto fakt\xFAry nebude mo\u017En\xE9 obnovi\u0165",created_message:"Fakt\xFAra \xFAspe\u0161ne vytvoren\xE1",updated_message:"Fakt\xFAra \xFAspe\u0161ne aktualizovan\xE1",deleted_message:"Fakt\xFAra \xFAspe\u0161ne vymazan\xE1 | Fakt\xFAry \xFAspe\u0161ne vymazan\xE9",marked_as_sent_message:"Fakt\xFAra \xFAspe\u0161ne ozna\u010Den\xE1 ako odoslan\xE1",something_went_wrong:"Nie\u010Do neprebehlo v poriadku, odsk\xFA\u0161ajte pros\xEDm znova.",invalid_due_amount_message:"Celkov\xE1 suma fakt\xFAry nem\xF4\u017Ee by\u0165 ni\u017E\u0161ia ako celkov\xE1 suma zaplaten\xE1 za t\xFAto fakt\xFAru. Ak chcete pokra\u010Dova\u0165, aktualizujte fakt\xFAru alebo odstr\xE1\u0148te s\xFAvisiace platby."},Th={title:"Platby",payments_list:"Zoznam Platieb",record_payment:"Zaznamena\u0165 Platbu",customer:"Z\xE1kazn\xEDk",date:"D\xE1tum",amount:"Suma",action:"Akcia",payment_number:"\u010C\xEDslo Platby",payment_mode:"Sp\xF4sob Platby",invoice:"Fakt\xFAra",note:"Pozn\xE1mka",add_payment:"Prida\u0165 Platbu",new_payment:"Nov\xE1 Platba",edit_payment:"\xDApravi\u0165 Platbu",view_payment:"Zobrazi\u0165 Platbu",add_new_payment:"Nov\xE1 Platba",send_payment_receipt:"Posla\u0165 Doklad o Zaplaten\xED",send_payment:"Odosla\u0165 Platbu",save_payment:"Ulo\u017Ei\u0165 Platbu",update_payment:"\xDApravi\u0165 Platbu",payment:"Platba | Platby",no_payments:"Zatia\u013E nem\xE1te \u017Eiadne platby!",no_matching_payments:"Nena\u0161li sa \u017Eiadne platby sp\u013A\u0148aj\xFAce Va\u0161e podmienky!",list_of_payments:"T\xE1to sekcia bude obsahova\u0165 zoznam platieb.",select_payment_mode:"Vyberte sp\xF4sob platby",confirm_mark_as_sent:"Tento cenov\xFD odhad bude ozna\u010Den\xFD ako odoslan\xFD",confirm_send_payment:"Tento cenov\xFD odhad bude odoslan\xFD z\xE1kazn\xEDkovi prostredn\xEDctvom e-mailu",send_payment_successfully:"Platba \xFAspe\u0161ne odoslan\xE1",something_went_wrong:"Nie\u010Do neprebehlo v poriadku, odsk\xFA\u0161ajte pros\xEDm znova.",confirm_delete:"Nebudete m\xF4c\u0165 obnovi\u0165 t\xFAto Platbu | Nebudete m\xF4c\u0165 obnovi\u0165 tieto Platby",created_message:"Platba \xFAspe\u0161ne vytvoren\xE1",updated_message:"Platba \xFAspe\u0161ne upravena",deleted_message:"Platba \xFAspe\u0161ne odstr\xE1nen\xE1 | Platby \xFAspe\u0161ne odstr\xE1nen\xE9",invalid_amount_message:"Suma platby nie je spr\xE1vna"},Ih={title:"V\xFDdaje",expenses_list:"Zoznam V\xFDdajov",select_a_customer:"Vyberte z\xE1kazn\xEDka",expense_title:"Nadpis",customer:"Z\xE1kazn\xEDk",contact:"Kontakt",category:"Kateg\xF3ria",from_date:"Od d\xE1tumu",to_date:"Do d\xE1tumu",expense_date:"D\xE1tum",description:"Popis",receipt:"Doklad o zaplaten\xED",amount:"Suma",action:"Akcia",note:"Pozn\xE1mka",category_id:"ID kateg\xF3rie",date:"D\xE1tum",add_expense:"Prida\u0165 V\xFDdaj",add_new_expense:"Prida\u0165 Nov\xFD V\xFDdaj",save_expense:"Ulo\u017Ei\u0165 V\xFDdaj",update_expense:"Aktualizova\u0165 V\xFDdaj",download_receipt:"Stiahnu\u0165 doklad o zaplaten\xED",edit_expense:"Upravi\u0165 V\xFDdaj",new_expense:"Nov\xFD V\xFDdaj",expense:"V\xFDdaj | V\xFDdaje",no_expenses:"Zatia\u013E nem\xE1te \u017Eiadne v\xFDdaje!",list_of_expenses:"T\xE1to sekcia bude obsahova\u0165 zoznam v\xFDdajov.",confirm_delete:"Nebudete m\xF4c\u0165 obnovi\u0165 tento V\xFDdaj | Nebudete m\xF4c\u0165 obnovi\u0165 tieto V\xFDdaje",created_message:"V\xFDdaj \xFAspe\u0161ne vytvoren\xFD",updated_message:"V\xFDdaj \xFAspe\u0161ne aktualizovan\xFD",deleted_message:"V\xFDdaj \xFAspe\u0161ne odstr\xE1nen\xFD | V\xFDdaje \xFAspe\u0161ne odstr\xE1nen\xE9",categories:{categories_list:"Zoznam kateg\xF3ri\xED",title:"Nadpis",name:"N\xE1zov",description:"Popis",amount:"Suma",actions:"Akcie",add_category:"Prida\u0165 Kateg\xF3riu",new_category:"Nov\xE1 Kateg\xF3ria",category:"Kateg\xF3ria | Kateg\xF3rie",select_a_category:"Vyberte kateg\xF3riu"}},$h={email:"E-mail",password:"Heslo",forgot_password:"Zabudol som heslo",or_signIn_with:"alebo sa prihl\xE1si\u0165 pomocou",login:"Prihl\xE1si\u0165 sa",register:"Registrova\u0165 sa",reset_password:"Obnovi\u0165 heslo",password_reset_successfully:"Heslo \xDAspe\u0161ne Obnoven\xE9",enter_email:"Zadajte e-mail",enter_password:"Zadajte heslo",retype_password:"Znova zadajte heslo"},Rh={title:"U\u017Eivatelia",users_list:"Zoznam U\u017E\xEDvate\u013Eov",name:"Meno",description:"Popis",added_on:"Pridan\xE9 D\u0148a",date_of_creation:"D\xE1tum Vytvorenia",action:"Akcia",add_user:"Prida\u0165 pou\u017E\xEDvate\u013Ea",save_user:"Ulo\u017Ei\u0165 pou\u017E\xEDvate\u013Ea",update_user:"Aktualizova\u0165 pou\u017E\xEDvate\u013Ea",user:"U\u017E\xEDvate\u013E | U\u017E\xEDvatelia",add_new_user:"Prida\u0165 Nov\xE9ho U\u017E\xEDvate\u013Ea",new_user:"Nov\xFD u\u017E\xEDvate\u013E",edit_user:"Upravi\u0165 U\u017E\xEDvate\u013Ea",no_users:"Zatia\u013E nebol pridan\xFD \u017Eiadny u\u017E\xEDvate\u013E!",list_of_users:"T\xE1to sekcia bude obsahova\u0165 zoznam u\u017E\xEDvate\u013Eov.",email:"E-mail",phone:"Telef\xF3n",password:"Heslo",user_attached_message:"Nie je mo\u017En\xE9 vymaza\u0165 akt\xEDvneho u\u017E\xEDvate\u013Ea",confirm_delete:"Nebude mo\u017En\xE9 obnovi\u0165 tohto pou\u017E\xEDvate\u013Ea | Nebude mo\u017En\xE9 obnovi\u0165 t\xFDchto pou\u017E\xEDvate\u013Eov",created_message:"U\u017E\xEDvate\u013E \xFAspe\u0161ne vytvoren\xFD",updated_message:"U\u017E\xEDvate\u013E \xFAspe\u0161ne aktualizovan\xE1",deleted_message:"U\u017E\xEDvate\u013E \xFAspe\u0161ne odstr\xE1nen\xFD | U\u017E\xEDvatelia \xFAspe\u0161ne odstr\xE1nen\xED"},Fh={title:"Reporty",from_date:"Od d\xE1tumu",to_date:"Do d\xE1tumu",status:"Stav",paid:"Zaplaten\xE1",unpaid:"Nezaplaten\xE1",download_pdf:"Stiahnu\u0165 PDF",view_pdf:"Zobrazi\u0165 PDF",update_report:"Aktualizova\u0165 Report",report:"Report | Reporty",profit_loss:{profit_loss:"Ziskt a Straty",to_date:"Do d\xE1tumu",from_date:"Od d\xE1tumu",date_range:"Vybra\u0165 rozsah d\xE1tumu"},sales:{sales:"Predaje",date_range:"Vybra\u0165 rozsah d\xE1tumu",to_date:"Do d\xE1tumu",from_date:"Od d\xE1tumu",report_type:"Typ Reportu"},taxes:{taxes:"Dane",to_date:"Do d\xE1tumu",from_date:"Od d\xE1tumu",date_range:"Vybra\u0165 Rozsah D\xE1tumu"},errors:{required:"Pole je povinn\xE9"},invoices:{invoice:"Fakt\xFAra",invoice_date:"D\xE1tum Vystavenia",due_date:"D\xE1tum Splatnosti",amount:"Suma",contact_name:"Kontaktn\xE1 Osoba",status:"Stav"},estimates:{estimate:"Cenov\xFD odhad",estimate_date:"D\xE1tum cenov\xE9ho odhadu",due_date:"D\xE1tum platnosti cenov\xE9ho odhadu",estimate_number:"\u010C\xEDslo cenov\xE9ho odhadu",ref_number:"Ref. \u010C\xEDslo",amount:"Suma",contact_name:"Kontaktn\xE1 Osoba",status:"Stav"},expenses:{expenses:"V\xFDdaje",category:"Kateg\xF3ria",date:"D\xE1tum",amount:"Suma",to_date:"Do d\xE1tumu",from_date:"Od d\xE1tumu",date_range:"Vybra\u0165 Rozsah D\xE1tumu"}},Mh={menu_title:{account_settings:"Nastavenia \xFA\u010Dtu",company_information:"Inform\xE1cie o Firme",customization:"Prisp\xF4sobenie",preferences:"Preferencie",notifications:"Upozornenia",tax_types:"Typy Dan\xED",expense_category:"Kateg\xF3rie cenov\xFDch odhadov",update_app:"Aktualizova\u0165 Aplik\xE1ciu",backup:"Z\xE1loha",file_disk:"S\xFAborov\xFD disk",custom_fields:"Vlastn\xE9 Polia",payment_modes:"Sp\xF4soby Platby",notes:"Pozn\xE1mky"},title:"Nastavenia",setting:"Nastavenia | Nastavenia",general:"V\u0161eobecn\xE9",language:"Jazyk",primary_currency:"Hlavn\xE1 Mena",timezone:"\u010Casov\xE9 P\xE1smo",date_format:"Form\xE1t D\xE1tumu",currencies:{title:"Meny",currency:"Mena | Meny",currencies_list:"Zoznam Mien",select_currency:"Vyberte Menu",name:"Meno",code:"K\xF3d",symbol:"Symbol",precision:"Presnos\u0165",thousand_separator:"Oddelova\u010D Tis\xEDciek",decimal_separator:"Oddelova\u010D Desatinn\xFDch Miest",position:"Poz\xEDcia",position_of_symbol:"Poz\xEDcia Symbolu",right:"Vpravo",left:"V\u013Eavo",action:"Akcia",add_currency:"Prida\u0165 nov\xFA Menu"},mail:{host:"Host E-mailu",port:"Port E-mailu",driver:"Driver E-mailu",secret:"Tajn\xFD K\u013E\xFA\u010D (secret)",mailgun_secret:"Tajn\xFD k\u013E\xFA\u010D Mailgun (secret)",mailgun_domain:"Dom\xE9na",mailgun_endpoint:"Endpoint Mailgun",ses_secret:"SES Tajn\xFD K\u013E\xFA\u010D (secret)",ses_key:"SES k\u013E\xFA\u010D (key)",password:"E-mailov\xE9 heslo",username:"E-mailov\xE9 meno (username)",mail_config:"Konfigur\xE1cia E-mailov",from_name:"Meno odosielate\u013Ea",from_mail:"E-mail odosielate\u013Ea",encryption:"E-mailov\xE1 Enkrypcia",mail_config_desc:"Ni\u017E\u0161ie n\xE1jdete konfigur\xE1ciu E-mailu pou\u017Eit\xE9ho k odosielaniu E-mailov z aplik\xE1cie Crater. M\xF4\u017Eete taktie\u017E nastavi\u0165 spojenie so slu\u017Ebami tret\xEDch str\xE1n ako napr\xEDklad Sendgrid, SES a pod."},pdf:{title:"Nastavenia PDF",footer_text:"Text v p\xE4ti\u010Dke",pdf_layout:"Rozlo\u017Eenie PDF"},company_info:{company_info:"Inform\xE1cie o spolo\u010Dnosti",company_name:"N\xE1zov spolo\u010Dnosti",company_logo:"Logo spolo\u010Dnosti",section_description:"Inform\xE1cie o Va\u0161ej firme, ktor\xE9 bud\xFA zobrazen\xE9 na fakt\xFArach, cenov\xFDch odhadoch a in\xFDch dokumentoch vytvoren\xFDch v\u010Faka Creater.",phone:"Telef\xF3n",country:"Krajina",state:"\u0160t\xE1t",city:"Mesto",address:"Adresa",zip:"PS\u010C",save:"Ulo\u017Ei\u0165",updated_message:"Inform\xE1cie o firme \xFAspe\u0161ne aktualizovan\xE9"},custom_fields:{title:"Vlastn\xE9 Polia",section_description:"Personalizujte si Fakt\xFAry, Cenov\xE9 Odhady a Potvrdenia o platbe pomocou vlastn\xFDch pol\xED. Uistite sa, \u017Ee ste ni\u017E\u0161ie vytvoren\xE9 polia pou\u017Eili v form\xE1te adresy na str\xE1nke nastaven\xED personaliz\xE1cie.",add_custom_field:"Prida\u0165 Vlastn\xE9 Pole",edit_custom_field:"Upravi\u0165 Vlastn\xE9 Pole",field_name:"Meno Po\u013Ea",label:"Zna\u010Dka",type:"Typ",name:"N\xE1zov",required:"Povinn\xE9",placeholder:"Umiestnenie",help_text:"Pomocn\xFD Text",default_value:"Predvolen\xE1 hodnota",prefix:"Predpona",starting_number:"Po\u010Diato\u010Dn\xE9 \u010C\xEDslo",model:"Model",help_text_description:"Nap\xED\u0161te popis aby u\u017E\xEDvatelia lep\u0161ie pochopili v\xFDznam tohto po\u013Ea.",suffix:"Pr\xEDpona",yes:"\xC1no",no:"Nie",order:"Objedna\u0165",custom_field_confirm_delete:"Nebudete m\xF4c\u0165 obnovit toto vlastn\xE9 pole",already_in_use:"Toto vlastne pole sa u\u017E pou\u017E\xEDva",deleted_message:"Vlastn\xE9 pole \xFAspe\u0161ne vymazan\xE9",options:"mo\u017Enosti",add_option:"Prida\u0165 Mo\u017Enosti",add_another_option:"Prida\u0165 \u010Fa\u013E\u0161iu mo\u017Enost\u0165",sort_in_alphabetical_order:"Zoradi\u0165 v abecednom porad\xED",add_options_in_bulk:"Prida\u0165 hromadn\xE9 mo\u017Enosti",use_predefined_options:"Pou\u017Ei\u0165 predvolen\xE9 mo\u017Enosti",select_custom_date:"Vybrat vlastn\xFD d\xE1tum",select_relative_date:"Vybra\u0165 Relat\xEDvny D\xE1tum",ticked_by_default:"Predvolene ozna\u010Den\xE9",updated_message:"Vlastn\xE9 pole \xFAspe\u0161ne aktualizovan\xE9",added_message:"Vlastne pole \xFAspe\u0161ne pridan\xE9"},customization:{customization:"Prisp\xF4sobenie",save:"Ulo\u017Ei\u0165",addresses:{title:"Adresy",section_description:"M\xF4\u017Eete nastavi\u0165 form\xE1t faktura\u010Dnej a dodacej adresy z\xE1kazn\xEDka (Zobrazuje sa iba v PDF). ",customer_billing_address:"Z\xE1kazn\xEDk - faktura\u010Dn\xE1 adresa",customer_shipping_address:"Z\xE1kazn\xEDk - doru\u010Dovacia adresa",company_address:"Firemn\xE1 adresa",insert_fields:"Vlo\u017Ei\u0165 polia",contact:"Kontakt",address:"Adresa",display_name:"Zobrazovan\xE9 Meno",primary_contact_name:"Meno Prim\xE1rneho Kontaktu",email:"Email",website:"Webov\xE9 str\xE1nky",name:"N\xE1zov",country:"Krajina",state:"\u0160t\xE1t",city:"Mesto",company_name:"N\xE1zov firmy",address_street_1:"Adresa ulica 1",address_street_2:"Adresa ulica 2",phone:"Telef\xF3n",zip_code:"PS\u010C",address_setting_updated:"Nastavenia adresy \xFAspe\u0161ne aktualizovan\xE9"},updated_message:"Inform\xE1cie o firme \xFAspe\u0161ne aktualizovan\xE9",invoices:{title:"Fakt\xFAry",notes:"Pozn\xE1mky",invoice_prefix:"Predpona Fakt\xFAry",default_invoice_email_body:"Prednastaven\xE9 telo e-mailu fakt\xFAry",invoice_settings:"Nastavenia Fakt\xFAry",autogenerate_invoice_number:"Automaticky Vygenerova\u0165 \u010C\xEDslo Fakt\xFAry",autogenerate_invoice_number_desc:"Ak si neprajete automaticky generova\u0165 \u010D\xEDslo novej fakt\xFAry, vypnite t\xFAto mo\u017Enos\u0165.",enter_invoice_prefix:"Zadajte predponu fakt\xFAry",terms_and_conditions:"Podmienky pou\u017E\xEDvania",company_address_format:"Form\xE1t firemnej adresy",shipping_address_format:"Form\xE1t doru\u010Dovacej adresy",billing_address_format:"Form\xE1t faktura\u010Dnej adresy",invoice_settings_updated:"Nastavenia fakt\xFAr boli \xFAspe\u0161ne aktualizovan\xE9"},estimates:{title:"Cenov\xFD odhad",estimate_prefix:"Predpona cenov\xE9ho odhadu",default_estimate_email_body:"Prednastaven\xE9 telo e-mailu cenov\xE9ho dohadu",estimate_settings:"Nastavenia cenov\xFDch odhadov",autogenerate_estimate_number:"Automaticky generova\u0165 \u010D\xEDslo cenov\xE9ho odhadu",estimate_setting_description:"Zak\xE1\u017Ete to, ak si neprajete automaticky generova\u0165 \u010D\xEDsla cenovych odhadov zaka\u017Ed\xFDm, ke\u010F vytvor\xEDte nov\xFD odhad.",enter_estimate_prefix:"Vlo\u017Ete prepdonu cenov\xE9ho odhadu",estimate_setting_updated:"Nastavenia cenov\xFDch odhadov \xFAspe\u0161ne aktualizovan\xE9",company_address_format:"Form\xE1t firemnej adresy",billing_address_format:"Form\xE1t faktura\u010Dnej adresy",shipping_address_format:"Form\xE1t faktura\u010Dnej adresy"},payments:{title:"Platby",description:"Mo\u017Enosti platieb",payment_prefix:"Predpona platby",default_payment_email_body:"Prednastaven\xE9 telo e-mailu platby",payment_settings:"Nastavenia Platieb",autogenerate_payment_number:"Automaticky generova\u0165 \u010D\xEDslo platby",payment_setting_description:"Zak\xE1\u017Ete to, ak si neprajete automaticky generova\u0165 \u010D\xEDsla platieb zaka\u017Ed\xFDm, ke\u010F vytvor\xEDte nov\xFA platbu.",enter_payment_prefix:"Vlo\u017Eit Predponu Platby",payment_setting_updated:"Nastavenia platieb \xFAspe\u0161ne aktualizovan\xE9",payment_modes:"Typy Platieb",add_payment_mode:"Prida\u0165 typ Platby",edit_payment_mode:"Upravi\u0165 typ Platby",mode_name:"N\xE1zov platby",payment_mode_added:"Typ Platby pridan\xFD",payment_mode_updated:"Typ Platby aktualizovan\xFD",payment_mode_confirm_delete:"Nebude m\xF4c\u0165 obnovi\u0165 typ platby",already_in_use:"Tento typ platby sa u\u017E pou\u017E\xEDva",deleted_message:"Typ platby \xFAspe\u0161ne odstr\xE1nen\xFD",company_address_format:"Form\xE1t firemnej adresy",from_customer_address_format:"Z form\xE1tu adresy z\xE1kazn\xEDka"},items:{title:"Polo\u017Eky",units:"Jednotky",add_item_unit:"Prida\u0165 Jednotku",edit_item_unit:"Upravi\u0165 Jednotku",unit_name:"N\xE1zov Jednotky",item_unit_added:"Jednotka \xFAspe\u0161ne pridan\xE1",item_unit_updated:"Jednotka \xFAspe\u0161ne aktualizovan\xE1",item_unit_confirm_delete:"Nebudete m\xF4c\u0165 obnovi\u0165 t\xFAto Jednotku",already_in_use:"Jednotk\xE1 sa pr\xE1ve pou\u017E\xEDva",deleted_message:"Jednotka \xFAspe\u0161ne odstr\xE1nena"},notes:{title:"Pozn\xE1mky",description:"U\u0161etrite \u010Das vytv\xE1ran\xEDm pozn\xE1mok a ich op\xE4tovn\xFDm pou\u017Eit\xEDm vo svojich fakt\xFArach, odhadoch a platb\xE1ch.",notes:"Pozn\xE1mky",type:"Typ",add_note:"Prida\u0165 pozn\xE1mku",add_new_note:"Prida\u0165 Nov\xFA Pozn\xE1mku",name:"N\xE1zov",edit_note:"Upravi\u0165 pozn\xE1mku",note_added:"Pozn\xE1mka \xFAspe\u0161ne pridan\xE1",note_updated:"Pozn\xE1mka \xFAspe\u0161ne aktualizovan\xE1",note_confirm_delete:"Nebudete m\xF4c\u0165 obnovi\u0165 t\xFAto Pozn\xE1mku",already_in_use:"Pozn\xE1mka sa pr\xE1ve pou\u017E\xEDva",deleted_message:"Pozn\xE1mka \xFAspe\u0161ne odstr\xE1nena"}},account_settings:{profile_picture:"Profilov\xE1 Fotka",name:"Meno",email:"Email",password:"Heslo",confirm_password:"Potvrdi\u0165 heslo",account_settings:"Nastavenie \xFA\u010Dtu",save:"Ulo\u017Ei\u0165",section_description:"Svoje meno, e-mail a heslo m\xF4\u017Eete aktualizova\u0165 pomocou formul\xE1ra ni\u017E\u0161ie.",updated_message:"Nastavenia \xFA\u010Dtu boli \xFAspe\u0161ne aktualizovan\xE9"},user_profile:{name:"Meno",email:"Email",password:"Heslo",confirm_password:"Potvrdi\u0165 heslo"},notification:{title:"Upozornenia",email:"Odosla\u0165 upozornenie",description:"Ktor\xE9 e-mailov\xE9 upozornenia chcete dost\xE1va\u0165 ke\u010F sa nie\u010Do zmen\xED?",invoice_viewed:"Fakt\xFAra zobrazen\xE1",invoice_viewed_desc:"Ke\u010F si v\xE1\u0161 z\xE1kazn\xEDk prezer\xE1 fakt\xFAru odoslan\xFA cez Hlavn\xFD Panel.",estimate_viewed:"Cenov\xFD odhad zobrazen\xFD",estimate_viewed_desc:"Ke\u010F si v\xE1\u0161 z\xE1kazn\xEDk prezer\xE1 cenov\xFD odhad odoslan\xFD cez Hlavn\xFD Panel.",save:"Ulo\u017Ei\u0165",email_save_message:"E-mail bol \xFAspe\u0161ne ulo\u017Een\xFD",please_enter_email:"Zadajte e-mail"},tax_types:{title:"Typ dan\xED",add_tax:"Prida\u0165 da\u0148",edit_tax:"Upravi\u0165 Da\u0148",description:"M\xF4\u017Eete prida\u0165 alebo odobra\u0165 dane. Crater podporuje dane jednotliv\xFDch polo\u017Eiek aj na fakt\xFAre.",add_new_tax:"Prida\u0165 Nov\xFA Da\u0148",tax_settings:"Nastavenia dan\xED",tax_per_item:"Da\u0148 pre ka\u017Ed\xFA Polo\u017Eku zvl\xE1\u0161\u0165",tax_name:"N\xE1zov Dane",compound_tax:"Zlo\u017Een\xE1 da\u0148",percent:"Percento",action:"Akcia",tax_setting_description:"T\xFAto mo\u017Enos\u0165 povo\u013Ete, ak chcete prida\u0165 dane k jednotliv\xFDm polo\u017Ek\xE1m fakt\xFAr. \u0160tandardne sa dane pripo\u010D\xEDtavaj\xFA priamo k fakt\xFAre.",created_message:"Da\u0148 \xFAspe\u0161ne vytvoren\xE1",updated_message:"Da\u0148 \xFAspe\u0161ne aktualizovan\xE1",deleted_message:"Da\u0148 \xFAspe\u0161ne odstr\xE1nen\xE1",confirm_delete:"Nebudete m\xF4c\u0165 obnovi\u0165 da\u0148",already_in_use:"Da\u0148 u\u017E sa u\u017E po\u017E\xEDva"},expense_category:{title:"Kateg\xF3rie v\xFDdajov",action:"Akcia",description:"Na pridanie polo\u017Eiek v\xFDdavkov s\xFA povinn\xE9 kateg\xF3rie. Tieto kateg\xF3rie m\xF4\u017Eete prida\u0165 alebo odstr\xE1ni\u0165 pod\u013Ea svojich preferenci\xED.",add_new_category:"Prida\u0165 Nov\xFA Kateg\xF3riu",add_category:"Prida\u0165 Kateg\xF3riu",edit_category:"Upravi\u0165 Kateg\xF3riu",category_name:"N\xE1zov Kateg\xF3rie",category_description:"Popis",created_message:"Kateg\xF3ria cenov\xE9ho odhadu \xFAspe\u0161ne vytvoren\xE1",deleted_message:"Kateg\xF3ria cenov\xE9ho odhadu \xFAspe\u0161ne odstr\xE1nena",updated_message:"Kateg\xF3ria cenov\xE9ho odhadu \xFAspe\u0161ne aktualizovan\xE1",confirm_delete:"Nebudete m\xF4c\u0165 obnovi\u0165 t\xFAto kateg\xF3riu cenov\xFDch odhadov",already_in_use:"Kateg\xF3ria sa u\u017E pou\u017E\xEDva"},preferences:{currency:"Mena",default_language:"Predvolen\xFD Jazyk",time_zone:"\u010Casov\xE9 P\xE1smo",fiscal_year:"Fi\u0161k\xE1lny Rok",date_format:"Form\xE1t D\xE1tumu",discount_setting:"Nastavenia Z\u013Eavy",discount_per_item:"Z\u013Eava pre ka\u017Ed\xFA Polo\u017Eku zvl\xE1\u0161\u0165",discount_setting_description:"T\xFAto mo\u017Enos\u0165 povo\u013Ete, ak chcete prida\u0165 z\u013Eavu k jednotliv\xFDm polo\u017Ek\xE1m fakt\xFAry. \u0160tandardne sa z\u013Eava pripo\u010D\xEDtava priamo k fakt\xFAre.",save:"Ulo\u017Ei\u0165",preference:"Preferencie | Preferencie",general_settings:"Syst\xE9movo predvolen\xE9 preferencie.",updated_message:"Preferencie \xFAspe\u0161ne aktualizovan\xE9",select_language:"Vyberte Jazyk",select_time_zone:"Vyberte \u010Casov\xE9 P\xE1smo",select_date_format:"Vybra\u0165 Form\xE1t D\xE1tumu",select_financial_year:"Vyberte Fi\u0161k\xE1lny Rok"},update_app:{title:"Aktualizova\u0165 Aplik\xE1ciu",description:"Aplik\xE1ciu m\xF4\u017Ete jednoducho aktualizova\u0165 tla\u010Ditkom ni\u017E\u0161ie",check_update:"Skontrolova\u0165 Aktualiz\xE1cie",avail_update:"Nov\xE1 aktualiz\xE1cia je k dispoz\xEDcii",next_version:"\u010Eal\u0161ia Verzia",requirements:"Po\u017Eiadavky",update:"Aktualizova\u0165",update_progress:"Aktualiz\xE1cia prebieha...",progress_text:"Bude to trva\u0165 len p\xE1r min\xFAt. Pred dokon\u010Den\xEDm aktualiz\xE1cie neobnovujte obrazovku ani nezatv\xE1rajte okno.",update_success:"App bola aktualizovan\xE1! Po\u010Dkajte, k\xFDm sa okno v\xE1\u0161ho prehliada\u010Da na\u010D\xEDta automaticky.",latest_message:"Nie je k dispoz\xEDcii \u017Eiadna aktualiz\xE1cia! Pou\u017E\xEDvate najnov\u0161iu verziu.",current_version:"Aktu\xE1lna verzia",download_zip_file:"Stiahnu\u0165 ZIP s\xFAbor",unzipping_package:"Rozbali\u0165 bal\xEDk",copying_files:"Kop\xEDrovanie s\xFAborov",running_migrations:"Prebieha Migr\xE1cia",finishing_update:"Ukon\u010Dovanie Aktualiz\xE1cie",update_failed:"Aktualiz\xE1cia zlyhala!",update_failed_text:"Aktualiz\xE1cia zlyhala na : {step} kroku"},backup:{title:"Z\xE1loha | Z\xE1lohy",description:"Z\xE1loha je vo form\xE1te zip ktor\xFD obsahuje v\u0161etky s\xFAbory v adres\xE1roch vr\xE1tane v\xFDpisu z datab\xE1zy.",new_backup:"Vytvori\u0165 z\xE1lohu",create_backup:"Vytvori\u0165 z\xE1lohu",select_backup_type:"Vybra\u0165 typ z\xE1lohy",backup_confirm_delete:"Nebude mo\u017En\xE9 obnovi\u0165 t\xFAto z\xE1lohu",path:"cesta",new_disk:"Nov\xFD Disk",created_at:"vytvoren\xE9",size:"velkost",dropbox:"dropbox",local:"local",healthy:"v poriadku",amount_of_backups:"po\u010Det z\xE1loh",newest_backups:"najnov\u0161ie z\xE1lohy",used_storage:"vyu\u017Eit\xE9 miesto na disku",select_disk:"Vybra\u0165 disk",action:"Akcia",deleted_message:"Z\xE1loha \xFAspe\u0161ne vymazan\xE1",created_message:"Z\xE1loha \xFAspe\u0161ne vytvoren\xE1",invalid_disk_credentials:"Nespr\xE1vne prihlasovacie \xFAdaje na disk"},disk:{title:"File Disk | File Disks",description:"V predvolenom nastaven\xED pou\u017Eije Crater v\xE1\u0161 lok\xE1lny disk na ukladanie z\xE1loh, avatarov a in\xFDch obrazov\xFDch s\xFAborov. M\xF4\u017Eete nakonfigurova\u0165 viac ako jeden disku ako napr. DigitalOcean, S3 a Dropbox pod\u013Ea va\u0161ich preferenci\xED.",created_at:"vytvoren\xE9",dropbox:"Dropbox",name:"N\xE1zov",driver:"Driver",disk_type:"Typ",disk_name:"N\xE1zov Disku",new_disk:"Prida\u0165 Nov\xFD Disk",filesystem_driver:"Driver syst\xE9mov\xFDch s\xFAborov",local_driver:"lok\xE1lny Driver",local_root:"Lok\xE1lka Cesta (root)",public_driver:"Verejn\xFD Driver",public_root:"Verejn\xE1 Cesta (root)",public_url:"Verejn\xE1 URL",public_visibility:"Vidite\u013En\xE9 pre Verejnos\u0165",media_driver:"Driver m\xE9di\xED",media_root:"Root m\xE9di\xED",aws_driver:"AWS Driver",aws_key:"AWS K\u013E\xFA\u010D (key)",aws_secret:"AWS Tajn\xFD K\u013E\xFA\u010D (secret)",aws_region:"AWS Regi\xF3n",aws_bucket:"AWP Bucket",aws_root:"AWP Cesta (root)",do_spaces_type:"Do Spaces type",do_spaces_key:"Do Spaces key",do_spaces_secret:"Do Spaces Secret",do_spaces_region:"Do Spaces Region",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces Endpoint",do_spaces_root:"Do Spaces Root",dropbox_type:"Dropbox Type",dropbox_token:"Dropbox Token",dropbox_key:"Dropbox Key",dropbox_secret:"Dropbox Secret",dropbox_app:"Dropbox App",dropbox_root:"Dropbox Root",default_driver:"Predvolen\xFD Driver",is_default:"Je predvolen\xFD",set_default_disk:"Nastavi\u0165 predvolen\xFD disk",success_set_default_disk:"Disk \xFAspe\u0161ne nastaven\xFD ako predvolen\xFD",save_pdf_to_disk:"Ulo\u017E PDFs na Disk",disk_setting_description:"T\xFAto mo\u017Enos\u0165 povo\u013Ete ak si chcete automaticky ulo\u017Ei\u0165 k\xF3piu ka\u017Ed\xE9ho s\xFAboru PDF s fakturami, odhadmi a pr\xEDjmami na predvolen\xFD disk. Pou\u017Eit\xEDm tejto mo\u017Enosti skr\xE1tite dobu na\u010D\xEDtania pri prezeran\xED s\xFAborov PDF.",select_disk:"Vybra\u0165 Disk",disk_settings:"Nastavenie Disku",confirm_delete:"Va\u0161e existuj\xFAce s\xFAbory a prie\u010Dinky na zadanom disku nebud\xFA ovplyvnen\xE9 ale konfigur\xE1cia v\xE1\u0161ho disku bude odstr\xE1nen\xE1 z Crateru",action:"Akcia",edit_file_disk:"Upravit Disk",success_create:"Disk \xFAspe\u0161ne pridan\xFD",success_update:"Disk \xFAspe\u0161ne aktualizovan\xFD",error:"Pridanie disku zlyhalo",deleted_message:"Disk bol \xFAspe\u0161ne odstr\xE1nen\xFD",disk_variables_save_successfully:"Disk bol \xFAspe\u0161ne pridan\xFD",disk_variables_save_error:"Konfigur\xE1cia disku zlyhala.",invalid_disk_credentials:"Neplatn\xE9 prihlasovacie \xFAdaje pre Disk"}},Bh={account_info:"Inform\xE1cie o \xFA\u010Dte",account_info_desc:"Ni\u017E\u0161ie uveden\xE9 podrobnosti sa pou\u017Eij\xFA na vytvorenie hlavn\xE9ho \xFA\u010Dtu spr\xE1vcu. Tie m\xF4\u017Eete kedyko\u013Evek zmeni\u0165 po prihl\xE1sen\xED.",name:"Meno",email:"Email",password:"Heslo",confirm_password:"Potvrdi\u0165 heslo",save_cont:"Ulo\u017Ei\u0165 a pokra\u010Dova\u0165",company_info:"Firemn\xE9 \xFAdaje",company_info_desc:"Tieto inform\xE1cie sa zobrazia na fakt\xFArach. Nesk\xF4r ich v\u0161ak m\xF4\u017Eete upravi\u0165.",company_name:"N\xE1zov firmy",company_logo:"Firemn\xE9 logo",logo_preview:"N\xE1h\u013Ead loga",preferences:"Preferencie",preferences_desc:"Predvolen\xE9 nastavenie syst\xE9mu.",country:"Krajina",state:"\u0160t\xE1t",city:"Mesto",address:"Adresa",street:"Ulica1 | Ulica2",phone:"Telef\xF3n",zip_code:"PS\u010C",go_back:"Nasp\xE4\u0165",currency:"Mena",language:"Jazyk",time_zone:"\u010Casov\xE9 p\xE1smo",fiscal_year:"Fi\u0161k\xE1lny rok",date_format:"Form\xE1t d\xE1tumu",from_address:"Z adresy",username:"Prihlasovacie meno",next:"\u010Ea\u013E\u0161\xED",continue:"Pokra\u010Dova\u0165",skip:"Vynecha\u0165",database:{database:"URL Adresa Aplik\xE1cie a Datab\xE1za",connection:"Pripojenie k datab\xE1ze",host:"Datab\xE1za - Host",port:"Datab\xE1za - Port",password:"Heslo do datab\xE1zy",app_url:"URL Adresa Aplik\xE1cie",app_domain:"Dom\xE9na aplik\xE1cie",username:"Prihlasovacie meno do datab\xE1zy",db_name:"N\xE1zov datab\xE1zy",db_path:"Datab\xE1z\xE1 - cesta (path)",desc:"Vytvorte datab\xE1zu na svojom serveri a pomocou nasleduj\xFAceho formul\xE1ra nastavte poverenia."},permissions:{permissions:"Opr\xE1vnenia",permission_confirm_title:"Ste si ist\xFD \u017Ee chcete pokra\u010Dova\u0165?",permission_confirm_desc:"Nedostato\u010Dn\xE9 opr\xE1vnenia na prie\u010Dinky in\u0161tal\xE1cie",permission_desc:"Ni\u017E\u0161ie je uveden\xFD zoznam povolen\xED prie\u010Dinkov ktor\xE9 s\xFA potrebn\xE9 na fungovanie aplik\xE1cie. Ak kontrola povolen\xED zlyh\xE1 nezabudnite aktualizova\u0165 povolenia prie\u010Dinka."},mail:{host:"Mail Host",port:"Mail Port",driver:"Mail Driver",secret:"Secret",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domain",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"Mail Password",username:"Mail Username",mail_config:"Mail Configuration",from_name:"From Mail Name",from_mail:"From Mail Address",encryption:"Mail Encryption",mail_config_desc:"Ni\u017E\u0161ie je uveden\xFD formul\xE1r na konfigur\xE1ciu ovl\xE1da\u010Da e-mailu na odosielanie e-mailov z aplik\xE1cie. M\xF4\u017Eete tie\u017E nakonfigurova\u0165 aj extern\xFDch poskytovate\u013Eov napr\xEDklad Sendgrid apod."},req:{system_req:"Syst\xE9mov\xE9 po\u017Eiadavky",php_req_version:"Php (verzia {version} po\u017Eadovan\xE1)",check_req:"Skontrolujte po\u017Eiadavky",system_req_desc:"Crater m\xE1 nieko\u013Eko po\u017Eiadaviek na server. Skontrolujte \u010Di m\xE1 v\xE1\u0161 server po\u017Eadovan\xFA verziu php a v\u0161etky moduly uveden\xE9 ni\u017E\u0161ie."},errors:{migrate_failed:"Migr\xE1ci zlyhala",database_variables_save_error:"Nie je mo\u017En\xE9 zap\xEDsa\u0165 konfigur\xE1ciu do .env file. Skontrolujte opr\xE1vnenia",mail_variables_save_error:"Konfigur\xE1cia emailu zlyhala.",connection_failed:"Pripojenie k datab\xE1ze zlyhalo",database_should_be_empty:"Datab\xE1za mus\xED by\u0165 pr\xE1zdna"},success:{mail_variables_save_successfully:"Email \xFAspe\u0161ne nakonfigurovan\xFD",database_variables_save_successfully:"Datab\xE1za \xFAspe\u0161ne nakonfigurovan\xE1."}},Vh={invalid_phone:"Zl\xE9 telef\xF3nn\xE9 \u010D\xEDslo",invalid_url:"Nespr\xE1vna URL adresa (ex: http://www.craterapp.com)",invalid_domain_url:"Nespr\xE1vna URL (ex: craterapp.com)",required:"Povinn\xE9 pole",email_incorrect:"Zl\xFD email.",email_already_taken:"Email sa uz pou\u017E\xEDva.",email_does_not_exist:"Pou\u017E\xEDvate\u013E s t\xFDmto emailom neexistuje.",item_unit_already_taken:"N\xE1zov tejto polo\u017Eky sa u\u017E pou\u017E\xEDva",payment_mode_already_taken:"N\xE1zov tohto typu platby sa u\u017E pou\u017E\xEDva",send_reset_link:"Odosla\u0165 resetovac\xED link",not_yet:"Email e\u0161te nepri\u0161iel? Znova odosla\u0165",password_min_length:"Heslo mus\xED obsahova\u0165 {count} znaky",name_min_length:"Meno mus\xED ma\u0165 minim\xE1lne {count} p\xEDsmen.",enter_valid_tax_rate:"Zadajte platn\xFA sadzbu dane",numbers_only:"Iba \u010D\xEDsla.",characters_only:"Iba znaky.",password_incorrect:"Hesl\xE1 musia by\u0165 rovnak\xE9",password_length:"Heslo musi obsahova\u0165 minim\xE1lne {count} znakov.",qty_must_greater_than_zero:"Mno\u017Estvo mus\xED by\u0165 viac ako 0.",price_greater_than_zero:"Cena mus\xED by\u0165 viac ako 0.",payment_greater_than_zero:"Platba mus\xED by\u0165 viac ako 0.",payment_greater_than_due_amount:"Zadan\xE1 platba je vy\u0161\u0161ia ako suma na fakt\xFAre.",quantity_maxlength:"Mno\u017Estvo by nemalo obsahova\u0165 ako 20 \u010D\xEDslic.",price_maxlength:"Cena by nemala obsahova\u0165 viac ako 20 \u010D\xEDslic.",price_minvalue:"Suma musi by\u0165 vy\u0161\u0161ia ako 0.",amount_maxlength:"\u010Ciastka by nemala obsahova\u0165 viac ako 20 \u010D\xEDslic.",amount_minvalue:"\u010Ciastka mus\xED by\u0165 va\u010D\u0161ia ako 0.",description_maxlength:"Popis nesmie obsahova\u0165 viac ako 255 znaokv.",subject_maxlength:"Predmet nesmie obsahova\u0165 viac ako 100 znakov.",message_maxlength:"Spr\xE1va nesmie obsahova\u0165 viac ako 255 znakov.",maximum_options_error:"Maxim\xE1lny po\u010Det z {max} mo\u017Enosti vybran\xFD. Najprv odstr\xE1nte aspo\u0148 jednu mo\u017Enost a n\xE1sledne vyberte in\xFA.",notes_maxlength:"Pozn\xE1mky nesm\xFA obsahova\u0165 viac ako 100 znakov.",address_maxlength:"Adresa nesmie obsahova\u0165 viac ako 255 znakov",ref_number_maxlength:"Referen\u010Dn\xE9 \u010Dislo nesmie obsahova\u0165 viac ako 255 znakov",prefix_maxlength:"Predpona nesmie ma\u0165 viac ako 5 znakov.",something_went_wrong:"Nie\u010Do neprebehlo v poriadku, odsk\xFA\u0161ajte pros\xEDm znova."},Oh="Cenov\xFD odhad",Lh="\u010C\xEDslo cenov\xE9ho odhadu",Uh="D\xE1tum cenov\xE9ho odhadu",Kh="Platnos\u0165 cenov\xE9ho odhadu",qh="Fakt\xFAra",Wh="\u010C\xEDslo fakt\xFAry",Zh="D\xE1tum vystavenia",Hh="D\xE1tum splatnosti",Gh="Pozn\xE1mky",Yh="Polo\u017Eky",Jh="Po\u010Det",Xh="Cena",Qh="Z\u013Eava",ev="Celkom",tv="Medzis\xFA\u010Det",av="S\xFA\u010Det",sv="Doklad o zaplaten\xED",nv="D\xE1tum platby",iv="\u010C\xEDslo platby",ov="Sp\xF4sob platby",rv="Prijat\xE1 suma",dv="Report v\xFDdajov",lv="Celkov\xE9 v\xFDdaje",cv="Zisky a straty",_v="Pr\xEDjem",uv="\u010Cist\xFD pr\xEDjem",mv="Report predajov: Pod\u013Ea z\xE1kazn\xEDkov",pv="Celkov\xE9 predaje",gv="Report predajov: Pod\u013Ea polo\u017Eky",fv="Report dan\xED",hv="Celkov\xE9 dane",vv="Typy dan\xED",yv="V\xFDdaje",bv="Fakturova\u0165,",kv="Doru\u010Di\u0165,",wv="Prijat\xE9 od:",xv="da\u0148";var zv={navigation:zh,general:Sh,dashboard:Ph,tax_types:jh,global_search:Dh,customers:Ch,items:Ah,estimates:Nh,invoices:Eh,payments:Th,expenses:Ih,login:$h,users:Rh,reports:Fh,settings:Mh,wizard:Bh,validation:Vh,pdf_estimate_label:Oh,pdf_estimate_number:Lh,pdf_estimate_date:Uh,pdf_estimate_expire_date:Kh,pdf_invoice_label:qh,pdf_invoice_number:Wh,pdf_invoice_date:Zh,pdf_invoice_due_date:Hh,pdf_notes:Gh,pdf_items_label:Yh,pdf_quantity_label:Jh,pdf_price_label:Xh,pdf_discount_label:Qh,pdf_amount_label:ev,pdf_subtotal:tv,pdf_total:av,pdf_payment_receipt_label:sv,pdf_payment_date:nv,pdf_payment_number:iv,pdf_payment_mode:ov,pdf_payment_amount_received_label:rv,pdf_expense_report_label:dv,pdf_total_expenses_label:lv,pdf_profit_loss_label:cv,pdf_income_label:_v,pdf_net_profit_label:uv,pdf_customer_sales_report:mv,pdf_total_sales_label:pv,pdf_item_sales_label:gv,pdf_tax_report_label:fv,pdf_total_tax_label:hv,pdf_tax_types_label:vv,pdf_expenses_label:yv,pdf_bill_to:bv,pdf_ship_to:kv,pdf_received_from:wv,pdf_tax_label:xv};const Sv={dashboard:"B\u1EA3ng \u0111i\u1EC1u khi\u1EC3n",customers:"Kh\xE1ch h\xE0ng",items:"M\u1EB7t h\xE0ng",invoices:"H\xF3a \u0111\u01A1n",expenses:"Chi ph\xED",estimates:"\u01AF\u1EDBc t\xEDnh",payments:"Thanh to\xE1n",reports:"B\xE1o c\xE1o",settings:"C\xE0i \u0111\u1EB7t",logout:"\u0110\u0103ng xu\u1EA5t",users:"Ng\u01B0\u1EDDi d\xF9ng"},Pv={add_company:"Th\xEAm c\xF4ng ty",view_pdf:"Xem PDF",copy_pdf_url:"Sao ch\xE9p Url PDF",download_pdf:"t\u1EA3i PDF",save:"Ti\u1EBFt ki\u1EC7m",create:"T\u1EA1o m\u1EDBi",cancel:"Hu\u1EF7 b\u1ECF",update:"C\u1EADp nh\u1EADt",deselect:"B\u1ECF ch\u1ECDn",download:"T\u1EA3i xu\u1ED1ng",from_date:"T\u1EEB ng\xE0y",to_date:"\u0110\u1EBFn ng\xE0y",from:"T\u1EEB",to:"\u0110\u1EBFn",sort_by:"S\u1EAFp x\u1EBFp theo",ascending:"T\u0103ng d\u1EA7n",descending:"Gi\u1EA3m d\u1EA7n",subject:"M\xF4n h\u1ECDc",body:"Th\xE2n h\xECnh",message:"Th\xF4ng \u0111i\u1EC7p",send:"G\u1EEDi",go_back:"Quay l\u1EA1i",back_to_login:"Quay l\u1EA1i \u0111\u0103ng nh\u1EADp?",home:"Trang Ch\u1EE7",filter:"B\u1ED9 l\u1ECDc",delete:"X\xF3a b\u1ECF",edit:"Ch\u1EC9nh s\u1EEDa",view:"L\u01B0\u1EE3t xem",add_new_item:"Th\xEAm m\u1EE5c m\u1EDBi",clear_all:"L\xE0m s\u1EA1ch t\u1EA5t c\u1EA3",showing:"Hi\u1EC3n th\u1ECB",of:"c\u1EE7a",actions:"H\xE0nh \u0111\u1ED9ng",subtotal:"TI\xCAU \u0110\u1EC0",discount:"GI\u1EA2M GI\xC1",fixed:"\u0111\xE3 s\u1EEDa",percentage:"Ph\u1EA7n tr\u0103m",tax:"THU\u1EBE",total_amount:"T\xD4\u0309NG C\xD4\u0323NG",bill_to:"Giao t\u1EEB",ship_to:"Giao t\u1EDBi",due:"\u0110\u1EBFn h\u1EA1n",draft:"B\u1EA3n nh\xE1p",sent:"G\u1EEDi",all:"T\u1EA5t c\u1EA3",select_all:"Ch\u1ECDn t\u1EA5t c\u1EA3",choose_file:"B\u1EA5m v\xE0o \u0111\xE2y \u0111\u1EC3 ch\u1ECDn m\u1ED9t t\u1EADp tin",choose_template:"Ch\u1ECDn m\u1ED9t m\u1EABu",choose:"Ch\u1ECDn",remove:"G\u1EE1",powered_by:"\u0110\u01B0\u1EE3c cung c\u1EA5p b\u1EDFi",bytefury:"Bytefury",select_a_status:"Ch\u1ECDn m\u1ED9t tr\u1EA1ng th\xE1i",select_a_tax:"Ch\u1ECDn thu\u1EBF",search:"T\xECm ki\u1EBFm",are_you_sure:"B\u1EA1n c\xF3 ch\u1EAFc kh\xF4ng?",list_is_empty:"Danh s\xE1ch tr\u1ED1ng.",no_tax_found:"Kh\xF4ng t\xECm th\u1EA5y thu\u1EBF!",four_zero_four:"404",you_got_lost:"R\u1EA5t ti\u1EBFc! B\u1EA1n b\u1ECB l\u1EA1c r\u1ED3i!",go_home:"V\u1EC1 nh\xE0",test_mail_conf:"Ki\u1EC3m tra c\u1EA5u h\xECnh th\u01B0",send_mail_successfully:"Th\u01B0 \u0111\xE3 \u0111\u01B0\u1EE3c g\u1EEDi th\xE0nh c\xF4ng",setting_updated:"\u0110\xE3 c\u1EADp nh\u1EADt c\xE0i \u0111\u1EB7t th\xE0nh c\xF4ng",select_state:"Ch\u1ECDn tr\u1EA1ng th\xE1i",select_country:"Ch\u1ECDn qu\u1ED1c gia",select_city:"L\u1EF1a ch\u1ECDn th\xE0nh ph\u1ED1",street_1:"\u0111\u01B0\u1EDDng s\u1ED1 1",street_2:"\u0110\u01B0\u1EDDng 2",action_failed:"\u0110\xE3 th\u1EA5t b\u1EA1i",retry:"Th\u1EED l\u1EA1i",choose_note:"Ch\u1ECDn Ghi ch\xFA",no_note_found:"Kh\xF4ng t\xECm th\u1EA5y ghi ch\xFA",insert_note:"Ch\xE8n ghi ch\xFA",copied_pdf_url_clipboard:"\u0110\xE3 sao ch\xE9p url PDF v\xE0o khay nh\u1EDB t\u1EA1m!"},jv={select_year:"Ch\u1ECDn n\u0103m",cards:{due_amount:"S\u1ED1 ti\u1EC1n \u0111\u1EBFn h\u1EA1n",customers:"Kh\xE1ch h\xE0ng",invoices:"H\xF3a \u0111\u01A1n",estimates:"\u01AF\u1EDBc t\xEDnh"},chart_info:{total_sales:"B\xE1n h\xE0ng",total_receipts:"Bi\xEAn lai",total_expense:"Chi ph\xED",net_income:"Thu nh\u1EADp r\xF2ng",year:"Ch\u1ECDn n\u0103m"},monthly_chart:{title:"B\xE1n h\xE0ng"},recent_invoices_card:{title:"H\xF3a \u0111\u01A1n \u0111\u1EBFn h\u1EA1n",due_on:"\u0110\u1EBFn h\u1EA1n v\xE0o",customer:"kh\xE1ch h\xE0ng",amount_due:"S\u1ED1 ti\u1EC1n \u0111\u1EBFn h\u1EA1n",actions:"H\xE0nh \u0111\u1ED9ng",view_all:"Xem t\u1EA5t c\u1EA3"},recent_estimate_card:{title:"C\xE1c \u01B0\u1EDBc t\xEDnh g\u1EA7n \u0111\xE2y",date:"Ng\xE0y",customer:"kh\xE1ch h\xE0ng",amount_due:"S\u1ED1 ti\u1EC1n \u0111\u1EBFn h\u1EA1n",actions:"H\xE0nh \u0111\u1ED9ng",view_all:"Xem t\u1EA5t c\u1EA3"}},Dv={name:"T\xEAn",description:"Mi\xEAu t\u1EA3",percent:"Ph\u1EA7n tr\u0103m",compound_tax:"Thu\u1EBF t\u1ED5ng h\u1EE3p"},Cv={search:"T\xECm ki\u1EBFm...",customers:"Kh\xE1ch h\xE0ng",users:"Ng\u01B0\u1EDDi d\xF9ng",no_results_found:"Kh\xF4ng t\xECm th\u1EA5y k\u1EBFt qu\u1EA3 n\xE0o"},Av={title:"Kh\xE1ch h\xE0ng",add_customer:"Th\xEAm kh\xE1ch h\xE0ng",contacts_list:"Danh s\xE1ch kh\xE1ch h\xE0ng",name:"T\xEAn",mail:"Th\u01B0 t\xEDn | Th\u01B0",statement:"Tuy\xEAn b\u1ED1",display_name:"T\xEAn hi\u1EC3n th\u1ECB",primary_contact_name:"T\xEAn li\xEAn h\u1EC7 ch\xEDnh",contact_name:"T\xEAn Li\xEAn l\u1EA1c",amount_due:"S\u1ED1 ti\u1EC1n \u0111\u1EBFn h\u1EA1n",email:"E-mail",address:"\u0110\u1ECBa ch\u1EC9",phone:"\u0110i\u1EC7n tho\u1EA1i",website:"Website",overview:"T\u1ED5ng quan",enable_portal:"B\u1EADt C\u1ED5ng th\xF4ng tin",country:"Qu\u1ED1c gia",state:"Ti\u1EC3u bang",city:"Tp.",zip_code:"M\xE3 B\u01B0u Ch\xEDnh",added_on:"\u0110\xE3 th\xEAm v\xE0o",action:"Ho\u1EA1t \u0111\u1ED9ng",password:"M\u1EADt kh\u1EA9u",street_number:"S\u1ED1 \u0111\u01B0\u1EDDng",primary_currency:"Ti\u1EC1n t\u1EC7 ch\xEDnh",description:"Mi\xEAu t\u1EA3",add_new_customer:"Th\xEAm kh\xE1ch h\xE0ng m\u1EDBi",save_customer:"L\u01B0u kh\xE1ch h\xE0ng",update_customer:"C\u1EADp nh\u1EADt kh\xE1ch h\xE0ng",customer:"Kh\xE1ch h\xE0ng | Kh\xE1ch h\xE0ng",new_customer:"Kh\xE1ch h\xE0ng m\u1EDBi",edit_customer:"Ch\u1EC9nh s\u1EEDa kh\xE1ch h\xE0ng",basic_info:"Th\xF4ng tin c\u01A1 b\u1EA3n",billing_address:"\u0110\u1ECBa ch\u1EC9 thanh to\xE1n",shipping_address:"\u0110\u1ECBa ch\u1EC9 giao h\xE0ng",copy_billing_address:"Sao ch\xE9p t\u1EEB thanh to\xE1n",no_customers:"Ch\u01B0a c\xF3 kh\xE1ch h\xE0ng!",no_customers_found:"Kh\xF4ng t\xECm th\u1EA5y kh\xE1ch h\xE0ng n\xE0o!",no_contact:"Kh\xF4ng c\xF3 li\xEAn l\u1EA1c",no_contact_name:"Kh\xF4ng c\xF3 t\xEAn li\xEAn h\u1EC7",list_of_customers:"Ph\u1EA7n n\xE0y s\u1EBD ch\u1EE9a danh s\xE1ch c\xE1c kh\xE1ch h\xE0ng.",primary_display_name:"T\xEAn hi\u1EC3n th\u1ECB ch\xEDnh",select_currency:"Ch\u1ECDn \u0111\u01A1n v\u1ECB ti\u1EC1n t\u1EC7",select_a_customer:"Ch\u1ECDn m\u1ED9t kh\xE1ch h\xE0ng",type_or_click:"Nh\u1EADp ho\u1EB7c nh\u1EA5p \u0111\u1EC3 ch\u1ECDn",new_transaction:"Giao d\u1ECBch m\u1EDBi",no_matching_customers:"Kh\xF4ng c\xF3 kh\xE1ch h\xE0ng ph\xF9 h\u1EE3p!",phone_number:"S\u1ED1 \u0111i\u1EC7n tho\u1EA1i",create_date:"T\u1EA1o ng\xE0y",confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c kh\xE1ch h\xE0ng n\xE0y v\xE0 t\u1EA5t c\u1EA3 c\xE1c H\xF3a \u0111\u01A1n, \u01AF\u1EDBc t\xEDnh v\xE0 Thanh to\xE1n c\xF3 li\xEAn quan. | B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c nh\u1EEFng kh\xE1ch h\xE0ng n\xE0y v\xE0 t\u1EA5t c\u1EA3 c\xE1c H\xF3a \u0111\u01A1n, \u01AF\u1EDBc t\xEDnh v\xE0 Thanh to\xE1n c\xF3 li\xEAn quan.",created_message:"Kh\xE1ch h\xE0ng \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt kh\xE1ch h\xE0ng th\xE0nh c\xF4ng",deleted_message:"\u0110\xE3 x\xF3a kh\xE1ch h\xE0ng th\xE0nh c\xF4ng | \u0110\xE3 x\xF3a kh\xE1ch h\xE0ng th\xE0nh c\xF4ng"},Nv={title:"M\u1EB7t h\xE0ng",items_list:"Danh s\xE1ch m\u1EB7t h\xE0ng",name:"T\xEAn",unit:"\u0110\u01A1n v\u1ECB",description:"Mi\xEAu t\u1EA3",added_on:"\u0110\xE3 th\xEAm v\xE0o",price:"Gi\xE1 b\xE1n",date_of_creation:"Ng\xE0y t\u1EA1o",not_selected:"Kh\xF4ng c\xF3 m\u1EE5c n\xE0o \u0111\u01B0\u1EE3c ch\u1ECDn",action:"Ho\u1EA1t \u0111\u1ED9ng",add_item:"Th\xEAm m\u1EB7t h\xE0ng",save_item:"L\u01B0u m\u1EE5c",update_item:"C\u1EADp nh\u1EADt m\u1EB7t h\xE0ng",item:"M\u1EB7t h\xE0ng | M\u1EB7t h\xE0ng",add_new_item:"Th\xEAm m\u1EE5c m\u1EDBi",new_item:"S\u1EA3n ph\u1EA9m m\u1EDBi",edit_item:"Ch\u1EC9nh s\u1EEDa m\u1EE5c",no_items:"Ch\u01B0a c\xF3 m\u1EB7t h\xE0ng n\xE0o!",list_of_items:"Ph\u1EA7n n\xE0y s\u1EBD ch\u1EE9a danh s\xE1ch c\xE1c m\u1EE5c.",select_a_unit:"ch\u1ECDn \u0111\u01A1n v\u1ECB",taxes:"Thu\u1EBF",item_attached_message:"Kh\xF4ng th\u1EC3 x\xF3a m\u1ED9t m\u1EE5c \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng",confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c V\u1EADt ph\u1EA9m n\xE0y | B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c c\xE1c M\u1EE5c n\xE0y",created_message:"M\u1EE5c \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt m\u1EB7t h\xE0ng th\xE0nh c\xF4ng",deleted_message:"\u0110\xE3 x\xF3a m\u1EE5c th\xE0nh c\xF4ng | C\xE1c m\u1EE5c \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a th\xE0nh c\xF4ng"},Ev={title:"\u01AF\u1EDBc t\xEDnh",estimate:"\u01AF\u1EDBc t\xEDnh | \u01AF\u1EDBc t\xEDnh",estimates_list:"Danh s\xE1ch \u01B0\u1EDBc t\xEDnh",days:"{days} Ng\xE0y",months:"{months} th\xE1ng",years:"{years} N\u0103m",all:"T\u1EA5t c\u1EA3",paid:"\u0110\xE3 thanh to\xE1n",unpaid:"Ch\u01B0a thanh to\xE1n",customer:"KH\xC1CH H\xC0NG",ref_no:"S\u1ED0 THAM CHI\u1EBEU.",number:"CON S\u1ED0",amount_due:"S\u1ED0 TI\u1EC0N THANH TO\xC1N",partially_paid:"Thanh to\xE1n m\u1ED9t ph\u1EA7n",total:"To\xE0n b\u1ED9",discount:"Gi\u1EA3m gi\xE1",sub_total:"T\u1ED5ng ph\u1EE5",estimate_number:"S\u1ED1 \u01B0\u1EDBc t\xEDnh",ref_number:"S\u1ED1 REF",contact:"Li\xEAn h\u1EC7",add_item:"Th\xEAm m\u1ED9t m\u1EB7t h\xE0ng",date:"Ng\xE0y",due_date:"Ng\xE0y \u0111\xE1o h\u1EA1n",expiry_date:"Ng\xE0y h\u1EBFt h\u1EA1n",status:"Tr\u1EA1ng th\xE1i",add_tax:"Th\xEAm thu\u1EBF",amount:"S\u1ED1 ti\u1EC1n",action:"Ho\u1EA1t \u0111\u1ED9ng",notes:"Ghi ch\xFA",tax:"Thu\u1EBF",estimate_template:"B\u1EA3n m\u1EABu",convert_to_invoice:"Chuy\u1EC3n \u0111\u1ED5i sang h\xF3a \u0111\u01A1n",mark_as_sent:"\u0110\xE1nh d\u1EA5u l\xE0 \u0110\xE3 g\u1EEDi",send_estimate:"G\u1EEDi \u01B0\u1EDBc t\xEDnh",resend_estimate:"G\u1EEDi l\u1EA1i \u01B0\u1EDBc t\xEDnh",record_payment:"Ghi l\u1EA1i Thanh to\xE1n",add_estimate:"Th\xEAm \u01B0\u1EDBc t\xEDnh",save_estimate:"L\u01B0u \u01B0\u1EDBc t\xEDnh",confirm_conversion:"\u01AF\u1EDBc t\xEDnh n\xE0y s\u1EBD \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng \u0111\u1EC3 t\u1EA1o H\xF3a \u0111\u01A1n m\u1EDBi.",conversion_message:"H\xF3a \u0111\u01A1n \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",confirm_send_estimate:"\u01AF\u1EDBc t\xEDnh n\xE0y s\u1EBD \u0111\u01B0\u1EE3c g\u1EEDi qua email cho kh\xE1ch h\xE0ng",confirm_mark_as_sent:"\u01AF\u1EDBc t\xEDnh n\xE0y s\u1EBD \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 \u0111\xE3 g\u1EEDi",confirm_mark_as_accepted:"\u01AF\u1EDBc t\xEDnh n\xE0y s\u1EBD \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 \u0110\xE3 ch\u1EA5p nh\u1EADn",confirm_mark_as_rejected:"\u01AF\u1EDBc t\xEDnh n\xE0y s\u1EBD \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 B\u1ECB t\u1EEB ch\u1ED1i",no_matching_estimates:"Kh\xF4ng c\xF3 \u01B0\u1EDBc t\xEDnh ph\xF9 h\u1EE3p!",mark_as_sent_successfully:"\u01AF\u1EDBc t\xEDnh \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 \u0111\xE3 g\u1EEDi th\xE0nh c\xF4ng",send_estimate_successfully:"\u01AF\u1EDBc t\xEDnh \u0111\xE3 \u0111\u01B0\u1EE3c g\u1EEDi th\xE0nh c\xF4ng",errors:{required:"Tr\u01B0\u1EDDng kh\xF4ng \u0111\u01B0\u1EE3c b\u1ECF tr\u1ED1ng."},accepted:"\u0110\xE3 \u0111\u01B0\u1EE3c ch\u1EA5p nh\u1EADn",rejected:"T\u1EEB ch\u1ED1i",sent:"G\u1EEDi",draft:"B\u1EA3n nh\xE1p",declined:"Suy gi\u1EA3m",new_estimate:"\u01AF\u1EDBc t\xEDnh m\u1EDBi",add_new_estimate:"Th\xEAm \u01B0\u1EDBc t\xEDnh m\u1EDBi",update_Estimate:"C\u1EADp nh\u1EADt \u01B0\u1EDBc t\xEDnh",edit_estimate:"Ch\u1EC9nh s\u1EEDa \u01B0\u1EDBc t\xEDnh",items:"m\u1EB7t h\xE0ng",Estimate:"\u01AF\u1EDBc t\xEDnh | \u01AF\u1EDBc t\xEDnh",add_new_tax:"Th\xEAm thu\u1EBF m\u1EDBi",no_estimates:"Ch\u01B0a c\xF3 \u01B0\u1EDBc t\xEDnh n\xE0o!",list_of_estimates:"Ph\u1EA7n n\xE0y s\u1EBD ch\u1EE9a danh s\xE1ch c\xE1c \u01B0\u1EDBc t\xEDnh.",mark_as_rejected:"\u0110\xE1nh d\u1EA5u l\xE0 b\u1ECB t\u1EEB ch\u1ED1i",mark_as_accepted:"\u0110\xE1nh d\u1EA5u l\xE0 \u0111\xE3 ch\u1EA5p nh\u1EADn",marked_as_accepted_message:"\u01AF\u1EDBc t\xEDnh \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 \u0111\u01B0\u1EE3c ch\u1EA5p nh\u1EADn",marked_as_rejected_message:"\u01AF\u1EDBc t\xEDnh \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 b\u1ECB t\u1EEB ch\u1ED1i",confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c \u01AF\u1EDBc t\xEDnh n\xE0y | B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c c\xE1c \u01AF\u1EDBc t\xEDnh n\xE0y",created_message:"\u01AF\u1EDBc t\xEDnh \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt \u01B0\u1EDBc t\xEDnh th\xE0nh c\xF4ng",deleted_message:"\u0110\xE3 x\xF3a \u01B0\u1EDBc t\xEDnh th\xE0nh c\xF4ng | \u0110\xE3 x\xF3a \u01B0\u1EDBc t\xEDnh th\xE0nh c\xF4ng",something_went_wrong:"C\xF3 g\xEC \u0111\xF3 kh\xF4ng \u1ED5n",item:{title:"Danh m\u1EE5c",description:"Mi\xEAu t\u1EA3",quantity:"\u0110\u1ECBnh l\u01B0\u1EE3ng",price:"Gi\xE1 b\xE1n",discount:"Gi\u1EA3m gi\xE1",total:"To\xE0n b\u1ED9",total_discount:"T\u1ED5ng kh\u1EA5u tr\u1EEB",sub_total:"T\u1ED5ng ph\u1EE5",tax:"Thu\u1EBF",amount:"S\u1ED1 ti\u1EC1n",select_an_item:"Nh\u1EADp ho\u1EB7c nh\u1EA5p \u0111\u1EC3 ch\u1ECDn m\u1ED9t m\u1EE5c",type_item_description:"Lo\u1EA1i M\u1EE5c M\xF4 t\u1EA3 (t\xF9y ch\u1ECDn)"}},Tv={title:"H\xF3a \u0111\u01A1n",invoices_list:"Danh s\xE1ch h\xF3a \u0111\u01A1n",days:"{days} Ng\xE0y",months:"{months} th\xE1ng",years:"{years} N\u0103m",all:"T\u1EA5t c\u1EA3",paid:"\u0110\xE3 thanh to\xE1n",unpaid:"Ch\u01B0a thanh to\xE1n",viewed:"\u0110\xE3 xem",overdue:"Qu\xE1 h\u1EA1n",completed:"\u0110\xE3 ho\xE0n th\xE0nh",customer:"KH\xC1CH H\xC0NG",paid_status:"TR\u1EA0NG TH\xC1I \u0110\xC3 TR\u1EA2 TI\u1EC0N",ref_no:"S\u1ED0 THAM CHI\u1EBEU.",number:"S\u1ED0",amount_due:"S\u1ED0 TI\u1EC0N THANH TO\xC1N",partially_paid:"Thanh to\xE1n m\u1ED9t ph\u1EA7n",total:"To\xE0n b\u1ED9",discount:"Gi\u1EA3m gi\xE1",sub_total:"T\u1ED5ng ph\u1EE5",invoice:"H\xF3a \u0111\u01A1n | H\xF3a \u0111\u01A1n",invoice_number:"S\u1ED1 h\xF3a \u0111\u01A1n",ref_number:"S\u1ED1 REF",contact:"Li\xEAn h\u1EC7",add_item:"Th\xEAm m\u1ED9t m\u1EB7t h\xE0ng",date:"Ng\xE0y",due_date:"Ng\xE0y \u0111\xE1o h\u1EA1n",status:"Tr\u1EA1ng th\xE1i",add_tax:"Th\xEAm thu\u1EBF",amount:"S\u1ED1 ti\u1EC1n",action:"Ho\u1EA1t \u0111\u1ED9ng",notes:"Ghi ch\xFA",view:"L\u01B0\u1EE3t xem",send_invoice:"G\u1EEDi h\xF3a \u0111\u01A1n",resend_invoice:"G\u1EEDi l\u1EA1i h\xF3a \u0111\u01A1n",invoice_template:"M\u1EABu h\xF3a \u0111\u01A1n",template:"B\u1EA3n m\u1EABu",mark_as_sent:"\u0110\xE1nh d\u1EA5u l\xE0 \u0111\xE3 g\u1EEDi",confirm_send_invoice:"H\xF3a \u0111\u01A1n n\xE0y s\u1EBD \u0111\u01B0\u1EE3c g\u1EEDi qua email cho kh\xE1ch h\xE0ng",invoice_mark_as_sent:"H\xF3a \u0111\u01A1n n\xE0y s\u1EBD \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 \u0111\xE3 g\u1EEDi",confirm_send:"H\xF3a \u0111\u01A1n n\xE0y s\u1EBD \u0111\u01B0\u1EE3c g\u1EEDi qua email cho kh\xE1ch h\xE0ng",invoice_date:"Ng\xE0y l\u1EADp h\xF3a \u0111\u01A1n",record_payment:"Ghi l\u1EA1i Thanh to\xE1n",add_new_invoice:"Th\xEAm h\xF3a \u0111\u01A1n m\u1EDBi",update_expense:"C\u1EADp nh\u1EADt chi ph\xED",edit_invoice:"Ch\u1EC9nh s\u1EEDa h\xF3a \u0111\u01A1n",new_invoice:"H\xF3a \u0111\u01A1n m\u1EDBi",save_invoice:"L\u01B0u h\xF3a \u0111\u01A1n",update_invoice:"C\u1EADp nh\u1EADt h\xF3a \u0111\u01A1n",add_new_tax:"Th\xEAm thu\u1EBF m\u1EDBi",no_invoices:"Ch\u01B0a c\xF3 h\xF3a \u0111\u01A1n!",list_of_invoices:"Ph\u1EA7n n\xE0y s\u1EBD ch\u1EE9a danh s\xE1ch c\xE1c h\xF3a \u0111\u01A1n.",select_invoice:"Ch\u1ECDn h\xF3a \u0111\u01A1n",no_matching_invoices:"Kh\xF4ng c\xF3 h\xF3a \u0111\u01A1n ph\xF9 h\u1EE3p!",mark_as_sent_successfully:"H\xF3a \u0111\u01A1n \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 \u0111\xE3 g\u1EEDi th\xE0nh c\xF4ng",invoice_sent_successfully:"H\xF3a \u0111\u01A1n \u0111\xE3 \u0111\u01B0\u1EE3c g\u1EEDi th\xE0nh c\xF4ng",cloned_successfully:"H\xF3a \u0111\u01A1n \u0111\u01B0\u1EE3c sao ch\xE9p th\xE0nh c\xF4ng",clone_invoice:"H\xF3a \u0111\u01A1n nh\xE2n b\u1EA3n",confirm_clone:"H\xF3a \u0111\u01A1n n\xE0y s\u1EBD \u0111\u01B0\u1EE3c sao ch\xE9p v\xE0o m\u1ED9t H\xF3a \u0111\u01A1n m\u1EDBi",item:{title:"Danh m\u1EE5c",description:"Mi\xEAu t\u1EA3",quantity:"\u0110\u1ECBnh l\u01B0\u1EE3ng",price:"Gi\xE1 b\xE1n",discount:"Gi\u1EA3m gi\xE1",total:"To\xE0n b\u1ED9",total_discount:"T\u1ED5ng kh\u1EA5u tr\u1EEB",sub_total:"T\u1ED5ng ph\u1EE5",tax:"Thu\u1EBF",amount:"S\u1ED1 ti\u1EC1n",select_an_item:"Nh\u1EADp ho\u1EB7c nh\u1EA5p \u0111\u1EC3 ch\u1ECDn m\u1ED9t m\u1EE5c",type_item_description:"Lo\u1EA1i M\u1EE5c M\xF4 t\u1EA3 (t\xF9y ch\u1ECDn)"},confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c H\xF3a \u0111\u01A1n n\xE0y | B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c c\xE1c H\xF3a \u0111\u01A1n n\xE0y",created_message:"H\xF3a \u0111\u01A1n \u0111\xE3 \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt h\xF3a \u0111\u01A1n th\xE0nh c\xF4ng",deleted_message:"H\xF3a \u0111\u01A1n \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a th\xE0nh c\xF4ng | H\xF3a \u0111\u01A1n \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a th\xE0nh c\xF4ng",marked_as_sent_message:"H\xF3a \u0111\u01A1n \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 \u0111\xE3 g\u1EEDi th\xE0nh c\xF4ng",something_went_wrong:"c\xF3 g\xEC \u0111\xF3 kh\xF4ng \u1ED5n",invalid_due_amount_message:"T\u1ED5ng s\u1ED1 ti\u1EC1n tr\xEAn H\xF3a \u0111\u01A1n kh\xF4ng \u0111\u01B0\u1EE3c nh\u1ECF h\u01A1n t\u1ED5ng s\u1ED1 ti\u1EC1n \u0111\xE3 thanh to\xE1n cho H\xF3a \u0111\u01A1n n\xE0y. Vui l\xF2ng c\u1EADp nh\u1EADt h\xF3a \u0111\u01A1n ho\u1EB7c x\xF3a c\xE1c kho\u1EA3n thanh to\xE1n li\xEAn quan \u0111\u1EC3 ti\u1EBFp t\u1EE5c."},Iv={title:"Thanh to\xE1n",payments_list:"Danh s\xE1ch thanh to\xE1n",record_payment:"Ghi l\u1EA1i Thanh to\xE1n",customer:"kh\xE1ch h\xE0ng",date:"Ng\xE0y",amount:"S\u1ED1 ti\u1EC1n",action:"Ho\u1EA1t \u0111\u1ED9ng",payment_number:"M\xE3 S\u1ED1 Thanh To\xE1n",payment_mode:"Ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n",invoice:"H\xF3a \u0111\u01A1n",note:"Ghi ch\xFA",add_payment:"Th\xEAm thanh to\xE1n",new_payment:"Thanh to\xE1n m\u1EDBi",edit_payment:"Ch\u1EC9nh s\u1EEDa Thanh to\xE1n",view_payment:"Xem thanh to\xE1n",add_new_payment:"Th\xEAm thanh to\xE1n m\u1EDBi",send_payment_receipt:"G\u1EEDi bi\xEAn lai thanh to\xE1n",send_payment:"G\u1EEDi h\xF3a \u0111\u01A1n",save_payment:"L\u01B0u thanh to\xE1n",update_payment:"C\u1EADp nh\u1EADt thanh to\xE1n",payment:"Thanh to\xE1n | Thanh to\xE1n",no_payments:"Ch\u01B0a c\xF3 kho\u1EA3n thanh to\xE1n n\xE0o!",not_selected:"Kh\xF4ng \u0111\u01B0\u1EE3c ch\u1ECDn",no_invoice:"Kh\xF4ng c\xF3 h\xF3a \u0111\u01A1n",no_matching_payments:"Kh\xF4ng c\xF3 kho\u1EA3n thanh to\xE1n n\xE0o ph\xF9 h\u1EE3p!",list_of_payments:"Ph\u1EA7n n\xE0y s\u1EBD ch\u1EE9a danh s\xE1ch c\xE1c kho\u1EA3n thanh to\xE1n.",select_payment_mode:"Ch\u1ECDn ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n",confirm_mark_as_sent:"\u01AF\u1EDBc t\xEDnh n\xE0y s\u1EBD \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 \u0111\xE3 g\u1EEDi",confirm_send_payment:"Kho\u1EA3n thanh to\xE1n n\xE0y s\u1EBD \u0111\u01B0\u1EE3c g\u1EEDi qua email cho kh\xE1ch h\xE0ng",send_payment_successfully:"Thanh to\xE1n \u0111\xE3 \u0111\u01B0\u1EE3c g\u1EEDi th\xE0nh c\xF4ng",something_went_wrong:"C\xF3 g\xEC \u0111\xF3 kh\xF4ng \u1ED5n",confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c Thanh to\xE1n n\xE0y | B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c c\xE1c Kho\u1EA3n thanh to\xE1n n\xE0y",created_message:"Thanh to\xE1n \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt thanh to\xE1n th\xE0nh c\xF4ng",deleted_message:"\u0110\xE3 x\xF3a thanh to\xE1n th\xE0nh c\xF4ng | Thanh to\xE1n \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a th\xE0nh c\xF4ng",invalid_amount_message:"S\u1ED1 ti\u1EC1n thanh to\xE1n kh\xF4ng h\u1EE3p l\u1EC7"},$v={title:"Chi ph\xED",expenses_list:"Danh s\xE1ch chi ph\xED",select_a_customer:"Ch\u1ECDn m\u1ED9t kh\xE1ch h\xE0ng",expense_title:"Ti\xEAu \u0111\u1EC1",customer:"kh\xE1ch h\xE0ng",contact:"Li\xEAn h\u1EC7",category:"th\u1EC3 lo\u1EA1i",from_date:"T\u1EEB ng\xE0y",to_date:"\u0110\u1EBFn ng\xE0y",expense_date:"Ng\xE0y",description:"Mi\xEAu t\u1EA3",receipt:"Bi\xEAn lai",amount:"S\u1ED1 ti\u1EC1n",action:"Ho\u1EA1t \u0111\u1ED9ng",not_selected:"Kh\xF4ng \u0111\u01B0\u1EE3c ch\u1ECDn",note:"Ghi ch\xFA",category_id:"Th\u1EC3 lo\u1EA1i ID",date:"Ng\xE0y",add_expense:"Th\xEAm chi ph\xED",add_new_expense:"Th\xEAm chi ph\xED m\u1EDBi",save_expense:"Ti\u1EBFt ki\u1EC7m chi ph\xED",update_expense:"C\u1EADp nh\u1EADt chi ph\xED",download_receipt:"Bi\xEAn nh\u1EADn t\u1EA3i xu\u1ED1ng",edit_expense:"Ch\u1EC9nh s\u1EEDa chi ph\xED",new_expense:"Chi ph\xED m\u1EDBi",expense:"Chi ph\xED | Chi ph\xED",no_expenses:"Ch\u01B0a c\xF3 chi ph\xED!",list_of_expenses:"Ph\u1EA7n n\xE0y s\u1EBD ch\u1EE9a danh s\xE1ch c\xE1c chi ph\xED.",confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 thu h\u1ED3i Kho\u1EA3n chi ph\xED n\xE0y | B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 thu h\u1ED3i c\xE1c Kho\u1EA3n chi ph\xED n\xE0y",created_message:"\u0110\xE3 t\u1EA1o th\xE0nh c\xF4ng chi ph\xED",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt chi ph\xED th\xE0nh c\xF4ng",deleted_message:"\u0110\xE3 x\xF3a th\xE0nh c\xF4ng chi ph\xED | \u0110\xE3 x\xF3a th\xE0nh c\xF4ng chi ph\xED",categories:{categories_list:"Danh s\xE1ch h\u1EA1ng m\u1EE5c",title:"Ti\xEAu \u0111\u1EC1",name:"T\xEAn",description:"Mi\xEAu t\u1EA3",amount:"S\u1ED1 ti\u1EC1n",actions:"H\xE0nh \u0111\u1ED9ng",add_category:"th\xEAm th\xEA\u0309 loa\u0323i",new_category:"Danh m\u1EE5c m\u1EDBi",category:"Th\u1EC3 lo\u1EA1i | Th\u1EC3 lo\u1EA1i",select_a_category:"Ch\u1ECDn m\u1ED9t danh m\u1EE5c"}},Rv={email:"E-mail",password:"M\u1EADt kh\u1EA9u",forgot_password:"Qu\xEAn m\u1EADt kh\u1EA9u?",or_signIn_with:"ho\u1EB7c \u0110\u0103ng nh\u1EADp b\u1EB1ng",login:"\u0110\u0103ng nh\u1EADp",register:"\u0110\u0103ng k\xFD",reset_password:"\u0110\u1EB7t l\u1EA1i m\u1EADt kh\u1EA9u",password_reset_successfully:"\u0110\u1EB7t l\u1EA1i m\u1EADt kh\u1EA9u th\xE0nh c\xF4ng",enter_email:"Nh\u1EADp email",enter_password:"Nh\u1EADp m\u1EADt kh\u1EA9u",retype_password:"G\xF5 l\u1EA1i m\u1EADt kh\u1EA9u"},Fv={title:"Ng\u01B0\u1EDDi d\xF9ng",users_list:"Danh s\xE1ch ng\u01B0\u1EDDi d\xF9ng",name:"T\xEAn",description:"Mi\xEAu t\u1EA3",added_on:"\u0110\xE3 th\xEAm v\xE0o",date_of_creation:"Ng\xE0y t\u1EA1o",action:"Ho\u1EA1t \u0111\u1ED9ng",add_user:"Th\xEAm ng\u01B0\u1EDDi d\xF9ng",save_user:"L\u01B0u ng\u01B0\u1EDDi d\xF9ng",update_user:"C\u1EADp nh\u1EADt ng\u01B0\u1EDDi d\xF9ng",user:"Ng\u01B0\u1EDDi d\xF9ng | Ng\u01B0\u1EDDi d\xF9ng",add_new_user:"Th\xEAm ng\u01B0\u1EDDi d\xF9ng m\u1EDBi",new_user:"Ng\u01B0\u1EDDi d\xF9ng m\u1EDBi",edit_user:"Ch\u1EC9nh s\u1EEDa g\u01B0\u1EDDi d\xF9ng",no_users:"Ch\u01B0a c\xF3 ng\u01B0\u1EDDi d\xF9ng n\xE0o!",list_of_users:"Ph\u1EA7n n\xE0y s\u1EBD ch\u1EE9a danh s\xE1ch ng\u01B0\u1EDDi d\xF9ng.",email:"E-mail",phone:"\u0110i\u1EC7n tho\u1EA1i",password:"M\u1EADt kh\u1EA9u",user_attached_message:"Kh\xF4ng th\u1EC3 x\xF3a m\u1ED9t m\u1EE5c \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng",confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c Ng\u01B0\u1EDDi d\xF9ng n\xE0y | B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c nh\u1EEFng Ng\u01B0\u1EDDi d\xF9ng n\xE0y",created_message:"Ng\u01B0\u1EDDi d\xF9ng \u0111\xE3 \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt ng\u01B0\u1EDDi d\xF9ng th\xE0nh c\xF4ng",deleted_message:"\u0110\xE3 x\xF3a ng\u01B0\u1EDDi d\xF9ng th\xE0nh c\xF4ng | \u0110\xE3 x\xF3a ng\u01B0\u1EDDi d\xF9ng th\xE0nh c\xF4ng"},Mv={title:"B\xE1o c\xE1o",from_date:"T\u1EEB ng\xE0y",to_date:"\u0110\u1EBFn ng\xE0y",status:"Tr\u1EA1ng th\xE1i",paid:"\u0110\xE3 thanh to\xE1n",unpaid:"Ch\u01B0a thanh to\xE1n",download_pdf:"T\u1EA3i PDF",view_pdf:"Xem PDF",update_report:"C\u1EADp nh\u1EADt b\xE1o c\xE1o",report:"B\xE1o c\xE1o | B\xE1o c\xE1o",profit_loss:{profit_loss:"L\u1EE3i nhu\u1EADn",to_date:"\u0110\u1EBFn ng\xE0y",from_date:"T\u1EEB ng\xE0y",date_range:"Ch\u1ECDn ph\u1EA1m vi ng\xE0y"},sales:{sales:"B\xE1n h\xE0ng",date_range:"Ch\u1ECDn ph\u1EA1m vi ng\xE0y",to_date:"\u0110\u1EBFn ng\xE0y",from_date:"T\u1EEB ng\xE0y",report_type:"Lo\u1EA1i b\xE1o c\xE1o"},taxes:{taxes:"Thu\u1EBF",to_date:"\u0110\u1EBFn ng\xE0y",from_date:"T\u1EEB ng\xE0y",date_range:"Ch\u1ECDn ph\u1EA1m vi ng\xE0y"},errors:{required:"L\u0129nh v\u1EF1c \u0111\u01B0\u1EE3c y\xEAu c\u1EA7u"},invoices:{invoice:"H\xF3a \u0111\u01A1n",invoice_date:"Ng\xE0y l\u1EADp h\xF3a \u0111\u01A1n",due_date:"Ng\xE0y \u0111\xE1o h\u1EA1n",amount:"S\u1ED1 ti\u1EC1n",contact_name:"T\xEAn Li\xEAn l\u1EA1c",status:"Tr\u1EA1ng th\xE1i"},estimates:{estimate:"\u01AF\u1EDBc t\xEDnh",estimate_date:"Ng\xE0y \u01B0\u1EDBc t\xEDnh",due_date:"Ng\xE0y \u0111\xE1o h\u1EA1n",estimate_number:"S\u1ED1 \u01B0\u1EDBc t\xEDnh",ref_number:"S\u1ED1 REF",amount:"S\u1ED1 ti\u1EC1n",contact_name:"T\xEAn Li\xEAn l\u1EA1c",status:"Tr\u1EA1ng th\xE1i"},expenses:{expenses:"Chi ph\xED",category:"th\u1EC3 lo\u1EA1i",date:"Ng\xE0y",amount:"S\u1ED1 ti\u1EC1n",to_date:"\u0110\u1EBFn ng\xE0y",from_date:"T\u1EEB ng\xE0y",date_range:"Ch\u1ECDn ph\u1EA1m vi ng\xE0y"}},Bv={menu_title:{account_settings:"C\xE0i \u0111\u1EB7t t\xE0i kho\u1EA3n",company_information:"Th\xF4ng tin c\xF4ng ty",customization:"T\xF9y bi\u1EBFn",preferences:"S\u1EDF th\xEDch",notifications:"Th\xF4ng b\xE1o",tax_types:"C\xE1c lo\u1EA1i thu\u1EBF",expense_category:"H\u1EA1ng m\u1EE5c Chi ph\xED",update_app:"C\u1EADp nh\u1EADt \u1EE9ng d\u1EE5ng",backup:"Sao l\u01B0u",file_disk:"\u0110\u0129a t\u1EC7p",custom_fields:"Tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh",payment_modes:"Ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n",notes:"Ghi ch\xFA"},title:"C\xE0i \u0111\u1EB7t",setting:"C\xE0i \u0111\u1EB7t | C\xE0i \u0111\u1EB7t",general:"Chung",language:"Ng\xF4n ng\u1EEF",primary_currency:"Ti\u1EC1n t\u1EC7 ch\xEDnh",timezone:"M\xFAi gi\u1EDD",date_format:"\u0110\u1ECBnh d\u1EA1ng ng\xE0y th\xE1ng",currencies:{title:"Ti\u1EC1n t\u1EC7",currency:"Ti\u1EC1n t\u1EC7 | Ti\u1EC1n t\u1EC7",currencies_list:"Danh s\xE1ch ti\u1EC1n t\u1EC7",select_currency:"Ch\u1ECDn ti\u1EC1n t\u1EC7",name:"T\xEAn",code:"M\xE3",symbol:"Bi\u1EC3u t\u01B0\u1EE3ng",precision:"\u0110\u1ED9 ch\xEDnh x\xE1c",thousand_separator:"H\xE0ng ng\xE0n m\xE1y t\xE1ch",decimal_separator:"Ph\xE2n s\u1ED1 th\u1EADp ph\xE2n",position:"Ch\u1EE9c v\u1EE5",position_of_symbol:"V\u1ECB tr\xED c\u1EE7a bi\u1EC3u t\u01B0\u1EE3ng",right:"\u0110\xFAng",left:"Tr\xE1i",action:"Ho\u1EA1t \u0111\u1ED9ng",add_currency:"Th\xEAm ti\u1EC1n t\u1EC7"},mail:{host:"M\xE1y ch\u1EE7 Th\u01B0",port:"C\u1ED5ng th\u01B0",driver:"Tr\xECnh \u0111i\u1EC1u khi\u1EC3n Th\u01B0",secret:"Kh\xF3a",mailgun_secret:"Kh\xF3a Mailgun",mailgun_domain:"Mi\u1EC1n",mailgun_endpoint:"\u0110i\u1EC3m cu\u1ED1i c\u1EE7a Mailgun",ses_secret:"Kh\xF3a SES",ses_key:"Kh\xF3a SES",password:"M\u1EADt kh\u1EA9u th\u01B0",username:"T\xEAn ng\u01B0\u1EDDi d\xF9ng th\u01B0",mail_config:"C\u1EA5u h\xECnh th\u01B0",from_name:"T\u1EEB t\xEAn th\u01B0",from_mail:"T\u1EEB \u0111\u1ECBa ch\u1EC9 th\u01B0",encryption:"M\xE3 h\xF3a Th\u01B0",mail_config_desc:"D\u01B0\u1EDBi \u0111\xE2y l\xE0 bi\u1EC3u m\u1EABu \u0110\u1ECBnh c\u1EA5u h\xECnh tr\xECnh \u0111i\u1EC1u khi\u1EC3n Email \u0111\u1EC3 g\u1EEDi email t\u1EEB \u1EE9ng d\u1EE5ng. B\u1EA1n c\u0169ng c\xF3 th\u1EC3 \u0111\u1ECBnh c\u1EA5u h\xECnh c\xE1c nh\xE0 cung c\u1EA5p b\xEAn th\u1EE9 ba nh\u01B0 Sendgrid, SES, v.v."},pdf:{title:"C\xE0i \u0111\u1EB7t PDF",footer_text:"V\u0103n b\u1EA3n ch\xE2n trang",pdf_layout:"B\u1ED1 c\u1EE5c PDF"},company_info:{company_info:"Th\xF4ng tin c\xF4ng ty",company_name:"T\xEAn c\xF4ng ty",company_logo:"Logo c\xF4ng ty",section_description:"Th\xF4ng tin v\u1EC1 c\xF4ng ty c\u1EE7a b\u1EA1n s\u1EBD \u0111\u01B0\u1EE3c hi\u1EC3n th\u1ECB tr\xEAn h\xF3a \u0111\u01A1n, \u01B0\u1EDBc t\xEDnh v\xE0 c\xE1c t\xE0i li\u1EC7u kh\xE1c do Crater t\u1EA1o.",phone:"\u0110i\u1EC7n tho\u1EA1i",country:"Qu\u1ED1c gia",state:"Ti\u1EC3u bang",city:"Tp.",address:"\u0110\u1ECBa ch\u1EC9",zip:"Zip",save:"L\u01B0u",updated_message:"Th\xF4ng tin c\xF4ng ty \u0111\u01B0\u1EE3c c\u1EADp nh\u1EADt th\xE0nh c\xF4ng"},custom_fields:{title:"Tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh",section_description:"T\xF9y ch\u1EC9nh h\xF3a \u0111\u01A1n, \u01B0\u1EDBc t\xEDnh c\u1EE7a b\u1EA1n",add_custom_field:"Th\xEAm tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh",edit_custom_field:"Ch\u1EC9nh s\u1EEDa tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh",field_name:"T\xEAn tr\u01B0\u1EDDng",label:"Nh\xE3n",type:"Ki\u1EC3u",name:"T\xEAn",required:"C\u1EA7n thi\u1EBFt",placeholder:"Tr\xECnh gi\u1EEF ch\u1ED7",help_text:"V\u0103n b\u1EA3n tr\u1EE3 gi\xFAp",default_value:"Gi\xE1 tr\u1ECB m\u1EB7c \u0111\u1ECBnh",prefix:"Ti\u1EBFp \u0111\u1EA7u ng\u1EEF",starting_number:"S\u1ED1 b\u1EAFt \u0111\u1EA7u",model:"M\xF4 h\xECnh",help_text_description:"Nh\u1EADp m\u1ED9t s\u1ED1 v\u0103n b\u1EA3n \u0111\u1EC3 gi\xFAp ng\u01B0\u1EDDi d\xF9ng hi\u1EC3u m\u1EE5c \u0111\xEDch c\u1EE7a tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh n\xE0y.",suffix:"H\u1EADu t\u1ED1",yes:"\u0110\xFAng",no:"Kh\xF4ng",order:"\u0110\u1EB7t h\xE0ng",custom_field_confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c Tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh n\xE0y",already_in_use:"Tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng",deleted_message:"Tr\u01B0\u1EDDng T\xF9y ch\u1EC9nh \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a th\xE0nh c\xF4ng",options:"c\xE1c t\xF9y ch\u1ECDn",add_option:"Th\xEAm t\xF9y ch\u1ECDn",add_another_option:"Th\xEAm m\u1ED9t t\xF9y ch\u1ECDn kh\xE1c",sort_in_alphabetical_order:"S\u1EAFp x\u1EBFp theo th\u1EE9 t\u1EF1 b\u1EA3ng ch\u1EEF c\xE1i",add_options_in_bulk:"Th\xEAm h\xE0ng lo\u1EA1t t\xF9y ch\u1ECDn",use_predefined_options:"S\u1EED d\u1EE5ng c\xE1c t\xF9y ch\u1ECDn \u0111\u01B0\u1EE3c x\xE1c \u0111\u1ECBnh tr\u01B0\u1EDBc",select_custom_date:"Ch\u1ECDn ng\xE0y t\xF9y ch\u1EC9nh",select_relative_date:"Ch\u1ECDn ng\xE0y t\u01B0\u01A1ng \u0111\u1ED1i",ticked_by_default:"\u0110\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u theo m\u1EB7c \u0111\u1ECBnh",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh th\xE0nh c\xF4ng",added_message:"Tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh \u0111\xE3 \u0111\u01B0\u1EE3c th\xEAm th\xE0nh c\xF4ng"},customization:{customization:"s\u1EF1 t\xF9y bi\u1EBFn",save:"Ti\u1EBFt ki\u1EC7m",addresses:{title:"\u0110\u1ECBa ch\u1EC9",section_description:"B\u1EA1n c\xF3 th\u1EC3 \u0111\u1EB7t \u0110\u1ECBnh d\u1EA1ng \u0110\u1ECBa ch\u1EC9 Thanh to\xE1n c\u1EE7a Kh\xE1ch h\xE0ng v\xE0 \u0110\u1ECBa ch\u1EC9 Giao h\xE0ng c\u1EE7a Kh\xE1ch h\xE0ng (Ch\u1EC9 hi\u1EC3n th\u1ECB d\u01B0\u1EDBi d\u1EA1ng PDF).",customer_billing_address:"\u0110\u1ECBa ch\u1EC9 thanh to\xE1n c\u1EE7a kh\xE1ch h\xE0ng",customer_shipping_address:"\u0110\u1ECBa ch\u1EC9 giao h\xE0ng c\u1EE7a kh\xE1ch h\xE0ng",company_address:"\u0111\u1ECBa ch\u1EC9 c\xF4ng ty",insert_fields:"Ch\xE8n tr\u01B0\u1EDDng",contact:"Li\xEAn h\u1EC7",address:"\u0110\u1ECBa ch\u1EC9",display_name:"T\xEAn hi\u1EC3n th\u1ECB",primary_contact_name:"T\xEAn li\xEAn h\u1EC7 ch\xEDnh",email:"E-mail",website:"Website",name:"T\xEAn",country:"Qu\u1ED1c gia",state:"Ti\u1EC3u bang",city:"Tp.",company_name:"T\xEAn c\xF4ng ty",address_street_1:"\u0110\u1ECBa ch\u1EC9 \u0110\u01B0\u1EDDng 1",address_street_2:"\u0110\u1ECBa ch\u1EC9 \u0110\u01B0\u1EDDng 2",phone:"\u0110i\u1EC7n tho\u1EA1i",zip_code:"M\xE3 B\u01B0u Ch\xEDnh",address_setting_updated:"\u0110\xE3 c\u1EADp nh\u1EADt c\xE0i \u0111\u1EB7t \u0111\u1ECBa ch\u1EC9 th\xE0nh c\xF4ng"},updated_message:"Th\xF4ng tin c\xF4ng ty \u0111\u01B0\u1EE3c c\u1EADp nh\u1EADt th\xE0nh c\xF4ng",invoices:{title:"H\xF3a \u0111\u01A1n",notes:"Ghi ch\xFA",invoice_prefix:"Ti\u1EC1n t\u1ED1 h\xF3a \u0111\u01A1n",default_invoice_email_body:"N\u1ED9i dung email h\xF3a \u0111\u01A1n m\u1EB7c \u0111\u1ECBnh",invoice_settings:"C\xE0i \u0111\u1EB7t h\xF3a \u0111\u01A1n",autogenerate_invoice_number:"T\u1EF1 \u0111\u1ED9ng t\u1EA1o s\u1ED1 h\xF3a \u0111\u01A1n",autogenerate_invoice_number_desc:"T\u1EAFt t\xEDnh n\u0103ng n\xE0y, N\u1EBFu b\u1EA1n kh\xF4ng mu\u1ED1n t\u1EF1 \u0111\u1ED9ng t\u1EA1o s\u1ED1 h\xF3a \u0111\u01A1n m\u1ED7i khi b\u1EA1n t\u1EA1o h\xF3a \u0111\u01A1n m\u1EDBi.",invoice_email_attachment:"G\u1EEDi h\xF3a \u0111\u01A1n d\u01B0\u1EDBi d\u1EA1ng t\u1EC7p \u0111\xEDnh k\xE8m",invoice_email_attachment_setting_description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y n\u1EBFu b\u1EA1n mu\u1ED1n g\u1EEDi h\xF3a \u0111\u01A1n d\u01B0\u1EDBi d\u1EA1ng t\u1EC7p \u0111\xEDnh k\xE8m email. Xin l\u01B0u \xFD r\u1EB1ng n\xFAt 'Xem H\xF3a \u0111\u01A1n' trong email s\u1EBD kh\xF4ng \u0111\u01B0\u1EE3c hi\u1EC3n th\u1ECB n\u1EEFa khi \u0111\u01B0\u1EE3c b\u1EADt.",enter_invoice_prefix:"Nh\u1EADp ti\u1EC1n t\u1ED1 h\xF3a \u0111\u01A1n",terms_and_conditions:"C\xE1c \u0111i\u1EC1u kho\u1EA3n v\xE0 \u0111i\u1EC1u ki\u1EC7n",company_address_format:"\u0110\u1ECBnh d\u1EA1ng \u0111\u1ECBa ch\u1EC9 c\xF4ng ty",shipping_address_format:"\u0110\u1ECBnh d\u1EA1ng \u0111\u1ECBa ch\u1EC9 giao h\xE0ng",billing_address_format:"\u0110\u1ECBnh d\u1EA1ng \u0111\u1ECBa ch\u1EC9 thanh to\xE1n",invoice_settings_updated:"\u0110\xE3 c\u1EADp nh\u1EADt c\xE0i \u0111\u1EB7t h\xF3a \u0111\u01A1n th\xE0nh c\xF4ng"},estimates:{title:"\u01AF\u1EDBc t\xEDnh",estimate_prefix:"Ti\u1EC1n t\u1ED1 \u01B0\u1EDBc t\xEDnh",default_estimate_email_body:"N\u1ED9i dung Email \u01AF\u1EDBc t\xEDnh M\u1EB7c \u0111\u1ECBnh",estimate_settings:"C\xE0i \u0111\u1EB7t \u01B0\u1EDBc t\xEDnh",autogenerate_estimate_number:"T\u1EF1 \u0111\u1ED9ng t\u1EA1o s\u1ED1 \u01B0\u1EDBc t\xEDnh",estimate_setting_description:"T\u1EAFt t\xEDnh n\u0103ng n\xE0y, n\u1EBFu b\u1EA1n kh\xF4ng mu\u1ED1n t\u1EF1 \u0111\u1ED9ng t\u1EA1o s\u1ED1 \u01B0\u1EDBc t\xEDnh m\u1ED7i khi b\u1EA1n t\u1EA1o \u01B0\u1EDBc t\xEDnh m\u1EDBi.",estimate_email_attachment:"G\u1EEDi \u01B0\u1EDBc t\xEDnh d\u01B0\u1EDBi d\u1EA1ng t\u1EC7p \u0111\xEDnh k\xE8m",estimate_email_attachment_setting_description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y n\u1EBFu b\u1EA1n mu\u1ED1n g\u1EEDi \u01B0\u1EDBc t\xEDnh d\u01B0\u1EDBi d\u1EA1ng t\u1EC7p \u0111\xEDnh k\xE8m email. Xin l\u01B0u \xFD r\u1EB1ng n\xFAt 'Xem \u01AF\u1EDBc t\xEDnh' trong email s\u1EBD kh\xF4ng \u0111\u01B0\u1EE3c hi\u1EC3n th\u1ECB n\u1EEFa khi \u0111\u01B0\u1EE3c b\u1EADt.",enter_estimate_prefix:"Nh\u1EADp ti\u1EC1n t\u1ED1 estmiate",estimate_setting_updated:"\u0110\xE3 c\u1EADp nh\u1EADt c\xE0i \u0111\u1EB7t \u01B0\u1EDBc t\xEDnh th\xE0nh c\xF4ng",company_address_format:"\u0110\u1ECBnh d\u1EA1ng \u0111\u1ECBa ch\u1EC9 c\xF4ng ty",billing_address_format:"\u0110\u1ECBnh d\u1EA1ng \u0111\u1ECBa ch\u1EC9 thanh to\xE1n",shipping_address_format:"\u0110\u1ECBnh d\u1EA1ng \u0111\u1ECBa ch\u1EC9 giao h\xE0ng"},payments:{title:"Thanh to\xE1n",description:"C\xE1c ph\u01B0\u01A1ng th\u1EE9c giao d\u1ECBch thanh to\xE1n",payment_prefix:"Ti\u1EC1n t\u1ED1 thanh to\xE1n",default_payment_email_body:"N\u1ED9i dung Email Thanh to\xE1n M\u1EB7c \u0111\u1ECBnh",payment_settings:"C\xE0i \u0111\u1EB7t thanh to\xE1n",autogenerate_payment_number:"T\u1EF1 \u0111\u1ED9ng t\u1EA1o s\u1ED1 thanh to\xE1n",payment_setting_description:"T\u1EAFt t\xEDnh n\u0103ng n\xE0y, n\u1EBFu b\u1EA1n kh\xF4ng mu\u1ED1n t\u1EF1 \u0111\u1ED9ng t\u1EA1o s\u1ED1 thanh to\xE1n m\u1ED7i khi b\u1EA1n t\u1EA1o m\u1ED9t kho\u1EA3n thanh to\xE1n m\u1EDBi.",payment_email_attachment:"G\u1EEDi thanh to\xE1n d\u01B0\u1EDBi d\u1EA1ng t\u1EC7p \u0111\xEDnh k\xE8m",payment_email_attachment_setting_description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y n\u1EBFu b\u1EA1n mu\u1ED1n g\u1EEDi bi\xEAn nh\u1EADn thanh to\xE1n d\u01B0\u1EDBi d\u1EA1ng t\u1EC7p \u0111\xEDnh k\xE8m email. Xin l\u01B0u \xFD r\u1EB1ng n\xFAt 'Xem Thanh to\xE1n' trong email s\u1EBD kh\xF4ng \u0111\u01B0\u1EE3c hi\u1EC3n th\u1ECB n\u1EEFa khi \u0111\u01B0\u1EE3c b\u1EADt.",enter_payment_prefix:"Nh\u1EADp ti\u1EC1n t\u1ED1 thanh to\xE1n",payment_setting_updated:"\u0110\xE3 c\u1EADp nh\u1EADt c\xE0i \u0111\u1EB7t thanh to\xE1n th\xE0nh c\xF4ng",payment_modes:"Ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n",add_payment_mode:"Th\xEAm ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n",edit_payment_mode:"Ch\u1EC9nh s\u1EEDa Ph\u01B0\u01A1ng th\u1EE9c Thanh to\xE1n",mode_name:"T\xEAn ch\u1EBF \u0111\u1ED9",payment_mode_added:"Ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n \u0111\xE3 \u0111\u01B0\u1EE3c th\xEAm",payment_mode_updated:"\u0110\xE3 c\u1EADp nh\u1EADt ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n",payment_mode_confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c Ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n n\xE0y",already_in_use:"Ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng",deleted_message:"Ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a th\xE0nh c\xF4ng",company_address_format:"\u0110\u1ECBnh d\u1EA1ng \u0111\u1ECBa ch\u1EC9 c\xF4ng ty",from_customer_address_format:"T\u1EEB \u0111\u1ECBnh d\u1EA1ng \u0111\u1ECBa ch\u1EC9 kh\xE1ch h\xE0ng"},items:{title:"M\u1EB7t h\xE0ng",units:"C\xE1c \u0111\u01A1n v\u1ECB",add_item_unit:"Th\xEAm \u0111\u01A1n v\u1ECB m\u1EB7t h\xE0ng",edit_item_unit:"Ch\u1EC9nh s\u1EEDa \u0111\u01A1n v\u1ECB m\u1EB7t h\xE0ng",unit_name:"T\xEAn b\xE0i",item_unit_added:"\u0110\u01A1n v\u1ECB m\u1EB7t h\xE0ng \u0111\xE3 \u0111\u01B0\u1EE3c th\xEAm",item_unit_updated:"\u0110\xE3 c\u1EADp nh\u1EADt \u0111\u01A1n v\u1ECB m\u1EB7t h\xE0ng",item_unit_confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c \u0111\u01A1n v\u1ECB M\u1EB7t h\xE0ng n\xE0y",already_in_use:"\u0110\u01A1n v\u1ECB v\u1EADt ph\u1EA9m \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng",deleted_message:"\u0110\u01A1n v\u1ECB m\u1EB7t h\xE0ng \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a th\xE0nh c\xF4ng"},notes:{title:"Ghi ch\xFA",description:"Ti\u1EBFt ki\u1EC7m th\u1EDDi gian b\u1EB1ng c\xE1ch t\u1EA1o ghi ch\xFA v\xE0 s\u1EED d\u1EE5ng l\u1EA1i ch\xFAng tr\xEAn h\xF3a \u0111\u01A1n, \u01B0\u1EDBc t\xEDnh c\u1EE7a b\u1EA1n",notes:"Ghi ch\xFA",type:"Ki\u1EC3u",add_note:"Th\xEAm ghi ch\xFA",add_new_note:"Th\xEAm ghi ch\xFA m\u1EDBi",name:"T\xEAn",edit_note:"Ch\u1EC9nh s\u1EEDa ghi ch\xFA",note_added:"\u0110\xE3 th\xEAm ghi ch\xFA th\xE0nh c\xF4ng",note_updated:"\u0110\xE3 c\u1EADp nh\u1EADt ghi ch\xFA th\xE0nh c\xF4ng",note_confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c Ghi ch\xFA n\xE0y",already_in_use:"Ghi ch\xFA \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng",deleted_message:"\u0110\xE3 x\xF3a ghi ch\xFA th\xE0nh c\xF4ng"}},account_settings:{profile_picture:"\u1EA2nh \u0111\u1EA1i di\u1EC7n",name:"T\xEAn",email:"E-mail",password:"M\u1EADt kh\u1EA9u",confirm_password:"X\xE1c nh\u1EADn m\u1EADt kh\u1EA9u",account_settings:"C\xE0i \u0111\u1EB7t t\xE0i kho\u1EA3n",save:"L\u01B0u",section_description:"B\u1EA1n c\xF3 th\u1EC3 c\u1EADp nh\u1EADt t\xEAn, email c\u1EE7a m\xECnh",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt c\xE0i \u0111\u1EB7t t\xE0i kho\u1EA3n th\xE0nh c\xF4ng"},user_profile:{name:"T\xEAn",email:"E-mail",password:"M\u1EADt kh\u1EA9u",confirm_password:"X\xE1c nh\u1EADn m\u1EADt kh\u1EA9u"},notification:{title:"Th\xF4ng b\xE1o",email:"G\u1EEDi th\xF4ng b\xE1o t\u1EDBi",description:"B\u1EA1n mu\u1ED1n nh\u1EADn th\xF4ng b\xE1o email n\xE0o khi c\xF3 \u0111i\u1EC1u g\xEC \u0111\xF3 thay \u0111\u1ED5i?",invoice_viewed:"H\xF3a \u0111\u01A1n \u0111\xE3 xem",invoice_viewed_desc:"Khi kh\xE1ch h\xE0ng c\u1EE7a b\u1EA1n xem h\xF3a \u0111\u01A1n \u0111\u01B0\u1EE3c g\u1EEDi qua b\u1EA3ng \u0111i\u1EC1u khi\u1EC3n mi\u1EC7ng n\xFAi l\u1EEDa.",estimate_viewed:"\u01AF\u1EDBc t\xEDnh \u0111\xE3 xem",estimate_viewed_desc:"Khi kh\xE1ch h\xE0ng c\u1EE7a b\u1EA1n xem \u01B0\u1EDBc t\xEDnh \u0111\u01B0\u1EE3c g\u1EEDi qua b\u1EA3ng \u0111i\u1EC1u khi\u1EC3n mi\u1EC7ng n\xFAi l\u1EEDa.",save:"L\u01B0u",email_save_message:"Email \u0111\xE3 \u0111\u01B0\u1EE3c l\u01B0u th\xE0nh c\xF4ng",please_enter_email:"Vui l\xF2ng nh\u1EADp Email"},tax_types:{title:"C\xE1c lo\u1EA1i thu\u1EBF",add_tax:"Th\xEAm thu\u1EBF",edit_tax:"Ch\u1EC9nh s\u1EEDa thu\u1EBF",description:"B\u1EA1n c\xF3 th\u1EC3 th\xEAm ho\u1EB7c b\u1EDBt thu\u1EBF t\xF9y \xFD. Crater h\u1ED7 tr\u1EE3 Thu\u1EBF \u0111\u1ED1i v\u1EDBi c\xE1c m\u1EB7t h\xE0ng ri\xEAng l\u1EBB c\u0169ng nh\u01B0 tr\xEAn h\xF3a \u0111\u01A1n.",add_new_tax:"Th\xEAm thu\u1EBF m\u1EDBi",tax_settings:"C\xE0i \u0111\u1EB7t thu\u1EBF",tax_per_item:"Thu\u1EBF m\u1ED7i m\u1EB7t h\xE0ng",tax_name:"T\xEAn thu\u1EBF",compound_tax:"Thu\u1EBF t\u1ED5ng h\u1EE3p",percent:"Ph\u1EA7n tr\u0103m",action:"Ho\u1EA1t \u0111\u1ED9ng",tax_setting_description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y n\u1EBFu b\u1EA1n mu\u1ED1n th\xEAm thu\u1EBF v\xE0o c\xE1c m\u1EE5c h\xF3a \u0111\u01A1n ri\xEAng l\u1EBB. Theo m\u1EB7c \u0111\u1ECBnh, thu\u1EBF \u0111\u01B0\u1EE3c th\xEAm tr\u1EF1c ti\u1EBFp v\xE0o h\xF3a \u0111\u01A1n.",created_message:"Lo\u1EA1i thu\u1EBF \u0111\xE3 \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt th\xE0nh c\xF4ng lo\u1EA1i thu\u1EBF",deleted_message:"\u0110\xE3 x\xF3a th\xE0nh c\xF4ng lo\u1EA1i thu\u1EBF",confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c Lo\u1EA1i thu\u1EBF n\xE0y",already_in_use:"Thu\u1EBF \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng"},expense_category:{title:"H\u1EA1ng m\u1EE5c Chi ph\xED",action:"Ho\u1EA1t \u0111\u1ED9ng",description:"C\xE1c danh m\u1EE5c \u0111\u01B0\u1EE3c y\xEAu c\u1EA7u \u0111\u1EC3 th\xEAm c\xE1c m\u1EE5c chi ph\xED. B\u1EA1n c\xF3 th\u1EC3 Th\xEAm ho\u1EB7c X\xF3a c\xE1c danh m\u1EE5c n\xE0y t\xF9y theo s\u1EDF th\xEDch c\u1EE7a m\xECnh.",add_new_category:"Th\xEAm danh m\u1EE5c m\u1EDBi",add_category:"th\xEAm th\xEA\u0309 loa\u0323i",edit_category:"Ch\u1EC9nh s\u1EEDa danh m\u1EE5c",category_name:"t\xEAn danh m\u1EE5c",category_description:"Mi\xEAu t\u1EA3",created_message:"Danh m\u1EE5c Chi ph\xED \u0111\xE3 \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",deleted_message:"\u0110\xE3 x\xF3a th\xE0nh c\xF4ng danh m\u1EE5c chi ph\xED",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt danh m\u1EE5c chi ph\xED th\xE0nh c\xF4ng",confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c Danh m\u1EE5c Chi ph\xED n\xE0y",already_in_use:"Danh m\u1EE5c \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng"},preferences:{currency:"Ti\u1EC1n t\u1EC7",default_language:"Ng\xF4n ng\u1EEF m\u1EB7c \u0111\u1ECBnh",time_zone:"M\xFAi gi\u1EDD",fiscal_year:"N\u0103m t\xE0i ch\xEDnh",date_format:"\u0110\u1ECBnh d\u1EA1ng ng\xE0y th\xE1ng",discount_setting:"C\xE0i \u0111\u1EB7t chi\u1EBFt kh\u1EA5u",discount_per_item:"Gi\u1EA3m gi\xE1 cho m\u1ED7i m\u1EB7t h\xE0ng",discount_setting_description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y n\u1EBFu b\u1EA1n mu\u1ED1n th\xEAm Gi\u1EA3m gi\xE1 v\xE0o c\xE1c m\u1EB7t h\xE0ng h\xF3a \u0111\u01A1n ri\xEAng l\u1EBB. Theo m\u1EB7c \u0111\u1ECBnh, Gi\u1EA3m gi\xE1 \u0111\u01B0\u1EE3c th\xEAm tr\u1EF1c ti\u1EBFp v\xE0o h\xF3a \u0111\u01A1n.",save:"L\u01B0u",preference:"S\u1EDF th\xEDch | S\u1EDF th\xEDch",general_settings:"T\xF9y ch\u1ECDn m\u1EB7c \u0111\u1ECBnh cho h\u1EC7 th\u1ED1ng.",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt th\xE0nh c\xF4ng c\xE1c t\xF9y ch\u1ECDn",select_language:"Ch\u1ECDn ng\xF4n ng\u1EEF",select_time_zone:"Ch\u1ECDn m\xFAi gi\u1EDD",select_date_format:"Ch\u1ECDn \u0111\u1ECBnh d\u1EA1ng ng\xE0y",select_financial_year:"Ch\u1ECDn n\u0103m t\xE0i ch\xEDnh"},update_app:{title:"C\u1EADp nh\u1EADt \u1EE9ng d\u1EE5ng",description:"B\u1EA1n c\xF3 th\u1EC3 d\u1EC5 d\xE0ng c\u1EADp nh\u1EADt Crater b\u1EB1ng c\xE1ch ki\u1EC3m tra b\u1EA3n c\u1EADp nh\u1EADt m\u1EDBi b\u1EB1ng c\xE1ch nh\u1EA5p v\xE0o n\xFAt b\xEAn d\u01B0\u1EDBi",check_update:"Ki\u1EC3m tra c\u1EADp nh\u1EADt",avail_update:"C\u1EADp nh\u1EADt m\u1EDBi c\xF3 s\u1EB5n",next_version:"Phi\xEAn b\u1EA3n ti\u1EBFp theo",requirements:"Y\xEAu c\u1EA7u",update:"C\u1EADp nh\u1EADt b\xE2y gi\u1EDD",update_progress:"\u0110ang c\u1EADp nh\u1EADt ...",progress_text:"N\xF3 s\u1EBD ch\u1EC9 m\u1EA5t m\u1ED9t v\xE0i ph\xFAt. Vui l\xF2ng kh\xF4ng l\xE0m m\u1EDBi m\xE0n h\xECnh ho\u1EB7c \u0111\xF3ng c\u1EEDa s\u1ED5 tr\u01B0\u1EDBc khi c\u1EADp nh\u1EADt k\u1EBFt th\xFAc",update_success:"\u1EE8ng d\u1EE5ng \u0111\xE3 \u0111\u01B0\u1EE3c c\u1EADp nh\u1EADt! Vui l\xF2ng \u0111\u1EE3i trong khi c\u1EEDa s\u1ED5 tr\xECnh duy\u1EC7t c\u1EE7a b\u1EA1n \u0111\u01B0\u1EE3c t\u1EA3i l\u1EA1i t\u1EF1 \u0111\u1ED9ng.",latest_message:"Kh\xF4ng c\xF3 b\u1EA3n c\u1EADp nh\u1EADt n\xE0o! B\u1EA1n \u0111ang s\u1EED d\u1EE5ng phi\xEAn b\u1EA3n m\u1EDBi nh\u1EA5t.",current_version:"Phi\xEAn b\u1EA3n hi\u1EC7n t\u1EA1i",download_zip_file:"T\u1EA3i xu\u1ED1ng t\u1EC7p ZIP",unzipping_package:"G\xF3i gi\u1EA3i n\xE9n",copying_files:"Sao ch\xE9p c\xE1c t\u1EADp tin",deleting_files:"X\xF3a c\xE1c t\u1EC7p kh\xF4ng s\u1EED d\u1EE5ng",running_migrations:"Ch\u1EA1y di c\u01B0",finishing_update:"C\u1EADp nh\u1EADt k\u1EBFt th\xFAc",update_failed:"C\u1EADp nh\u1EADt kh\xF4ng th\xE0nh c\xF4ng",update_failed_text:"L\u1EA5y l\xE0m ti\u1EBFc! C\u1EADp nh\u1EADt c\u1EE7a b\u1EA1n kh\xF4ng th\xE0nh c\xF4ng v\xE0o: b\u01B0\u1EDBc {step}"},backup:{title:"Sao l\u01B0u | Sao l\u01B0u",description:"B\u1EA3n sao l\u01B0u l\xE0 m\u1ED9t t\u1EC7p zip ch\u1EE9a t\u1EA5t c\u1EA3 c\xE1c t\u1EC7p trong th\u01B0 m\u1EE5c b\u1EA1n ch\u1EC9 \u0111\u1ECBnh c\xF9ng v\u1EDBi m\u1ED9t k\u1EBFt xu\u1EA5t c\u01A1 s\u1EDF d\u1EEF li\u1EC7u c\u1EE7a b\u1EA1n",new_backup:"Th\xEAm b\u1EA3n sao l\u01B0u m\u1EDBi",create_backup:"T\u1EA1o b\u1EA3n sao",select_backup_type:"Ch\u1ECDn lo\u1EA1i sao l\u01B0u",backup_confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c B\u1EA3n sao l\u01B0u n\xE0y",path:"con \u0111\u01B0\u1EDDng",new_disk:"\u0110\u0129a m\u1EDBi",created_at:"\u0111\u01B0\u1EE3c t\u1EA1o ra t\u1EA1i",size:"k\xEDch th\u01B0\u1EDBc",dropbox:"dropbox",local:"\u0111\u1ECBa ph\u01B0\u01A1ng",healthy:"kh\u1ECFe m\u1EA1nh",amount_of_backups:"l\u01B0\u1EE3ng sao l\u01B0u",newest_backups:"b\u1EA3n sao l\u01B0u m\u1EDBi nh\u1EA5t",used_storage:"l\u01B0u tr\u1EEF \u0111\xE3 s\u1EED d\u1EE5ng",select_disk:"Ch\u1ECDn \u0111\u0129a",action:"Ho\u1EA1t \u0111\u1ED9ng",deleted_message:"\u0110\xE3 x\xF3a b\u1EA3n sao l\u01B0u th\xE0nh c\xF4ng",created_message:"\u0110\xE3 t\u1EA1o th\xE0nh c\xF4ng b\u1EA3n sao l\u01B0u",invalid_disk_credentials:"Th\xF4ng tin \u0111\u0103ng nh\u1EADp kh\xF4ng h\u1EE3p l\u1EC7 c\u1EE7a \u0111\u0129a \u0111\xE3 ch\u1ECDn"},disk:{title:"\u0110\u0129a t\u1EADp tin | \u0110\u0129a T\u1EC7p",description:"Theo m\u1EB7c \u0111\u1ECBnh, Crater s\u1EBD s\u1EED d\u1EE5ng \u0111\u0129a c\u1EE5c b\u1ED9 c\u1EE7a b\u1EA1n \u0111\u1EC3 l\u01B0u c\xE1c b\u1EA3n sao l\u01B0u, \u1EA3nh \u0111\u1EA1i di\u1EC7n v\xE0 c\xE1c t\u1EC7p h\xECnh \u1EA3nh kh\xE1c. B\u1EA1n c\xF3 th\u1EC3 \u0111\u1ECBnh c\u1EA5u h\xECnh nhi\u1EC1u h\u01A1n m\u1ED9t tr\xECnh \u0111i\u1EC1u khi\u1EC3n \u0111\u0129a nh\u01B0 DigitalOcean, S3 v\xE0 Dropbox theo s\u1EDF th\xEDch c\u1EE7a m\xECnh.",created_at:"\u0111\u01B0\u1EE3c t\u1EA1o ra t\u1EA1i",dropbox:"dropbox",name:"T\xEAn",driver:"Ng\u01B0\u1EDDi l\xE1i xe",disk_type:"Ki\u1EC3u",disk_name:"T\xEAn \u0111\u0129a",new_disk:"Th\xEAm \u0111\u0129a m\u1EDBi",filesystem_driver:"Tr\xECnh \u0111i\u1EC1u khi\u1EC3n h\u1EC7 th\u1ED1ng t\u1EADp tin",local_driver:"Tr\xECnh \u0111i\u1EC1u khi\u1EC3n \u0111\u1ECBa ph\u01B0\u01A1ng",local_root:"G\u1ED1c c\u1EE5c b\u1ED9",public_driver:"T\xE0i x\u1EBF c\xF4ng c\u1ED9ng",public_root:"G\u1ED1c c\xF4ng khai",public_url:"URL c\xF4ng khai",public_visibility:"Hi\u1EC3n th\u1ECB c\xF4ng khai",media_driver:"Tr\xECnh \u0111i\u1EC1u khi\u1EC3n ph\u01B0\u01A1ng ti\u1EC7n",media_root:"G\u1ED1c ph\u01B0\u01A1ng ti\u1EC7n",aws_driver:"Tr\xECnh \u0111i\u1EC1u khi\u1EC3n AWS",aws_key:"Kh\xF3a AWS",aws_secret:"Kh\xF3a AWS",aws_region:"Khu v\u1EF1c AWS",aws_bucket:"Nh\xF3m AWS",aws_root:"G\u1ED1c AWS",do_spaces_type:"L\xE0m ki\u1EC3u Spaces",do_spaces_key:"Do ph\xEDm Spaces",do_spaces_secret:"L\xE0m b\xED m\u1EADt v\u1EC1 kh\xF4ng gian",do_spaces_region:"Do Spaces Region",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces Endpoint",do_spaces_root:"Do Spaces Root",dropbox_type:"Lo\u1EA1i h\u1ED9p ch\u1EE9a",dropbox_token:"M\xE3 th\xF4ng b\xE1o Dropbox",dropbox_key:"Kh\xF3a Dropbox",dropbox_secret:"Kh\xF3a Dropbox",dropbox_app:"\u1EE8ng d\u1EE5ng Dropbox",dropbox_root:"G\u1ED1c Dropbox",default_driver:"Tr\xECnh \u0111i\u1EC1u khi\u1EC3n m\u1EB7c \u0111\u1ECBnh",is_default:"L\xC0 \u0110\u1ECANH NGH\u0128A",set_default_disk:"\u0110\u1EB7t \u0111\u0129a m\u1EB7c \u0111\u1ECBnh",set_default_disk_confirm:"\u0110\u0129a n\xE0y s\u1EBD \u0111\u01B0\u1EE3c \u0111\u1EB7t l\xE0m m\u1EB7c \u0111\u1ECBnh v\xE0 t\u1EA5t c\u1EA3 c\xE1c t\u1EC7p PDF m\u1EDBi s\u1EBD \u0111\u01B0\u1EE3c l\u01B0u tr\xEAn \u0111\u0129a n\xE0y",success_set_default_disk:"\u0110\u0129a \u0111\u01B0\u1EE3c \u0111\u1EB7t l\xE0m m\u1EB7c \u0111\u1ECBnh th\xE0nh c\xF4ng",save_pdf_to_disk:"L\u01B0u PDF v\xE0o \u0111\u0129a",disk_setting_description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y, n\u1EBFu b\u1EA1n mu\u1ED1n l\u01B0u m\u1ED9t b\u1EA3n sao c\u1EE7a m\u1ED7i H\xF3a \u0111\u01A1n, \u01AF\u1EDBc t\xEDnh",select_disk:"Ch\u1ECDn \u0111\u0129a",disk_settings:"C\xE0i \u0111\u1EB7t \u0111\u0129a",confirm_delete:"T\u1EC7p hi\u1EC7n c\xF3 c\u1EE7a b\u1EA1n",action:"Ho\u1EA1t \u0111\u1ED9ng",edit_file_disk:"Ch\u1EC9nh s\u1EEDa \u0110\u0129a T\u1EC7p",success_create:"\u0110\xE3 th\xEAm \u0111\u0129a th\xE0nh c\xF4ng",success_update:"\u0110\xE3 c\u1EADp nh\u1EADt \u0111\u0129a th\xE0nh c\xF4ng",error:"Th\xEAm \u0111\u0129a kh\xF4ng th\xE0nh c\xF4ng",deleted_message:"\u0110\u0129a T\u1EC7p \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a th\xE0nh c\xF4ng",disk_variables_save_successfully:"\u0110\xE3 c\u1EA5u h\xECnh \u0111\u0129a th\xE0nh c\xF4ng",disk_variables_save_error:"C\u1EA5u h\xECnh \u0111\u0129a kh\xF4ng th\xE0nh c\xF4ng.",invalid_disk_credentials:"Th\xF4ng tin \u0111\u0103ng nh\u1EADp kh\xF4ng h\u1EE3p l\u1EC7 c\u1EE7a \u0111\u0129a \u0111\xE3 ch\u1ECDn"}},Vv={account_info:"th\xF4ng tin t\xE0i kho\u1EA3n",account_info_desc:"Th\xF4ng tin chi ti\u1EBFt d\u01B0\u1EDBi \u0111\xE2y s\u1EBD \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng \u0111\u1EC3 t\u1EA1o t\xE0i kho\u1EA3n Qu\u1EA3n tr\u1ECB vi\xEAn ch\xEDnh. Ngo\xE0i ra, b\u1EA1n c\xF3 th\u1EC3 thay \u0111\u1ED5i th\xF4ng tin chi ti\u1EBFt b\u1EA5t c\u1EE9 l\xFAc n\xE0o sau khi \u0111\u0103ng nh\u1EADp.",name:"T\xEAn",email:"E-mail",password:"M\u1EADt kh\u1EA9u",confirm_password:"X\xE1c nh\u1EADn m\u1EADt kh\u1EA9u",save_cont:"L\u01B0u",company_info:"Th\xF4ng tin c\xF4ng ty",company_info_desc:"Th\xF4ng tin n\xE0y s\u1EBD \u0111\u01B0\u1EE3c hi\u1EC3n th\u1ECB tr\xEAn h\xF3a \u0111\u01A1n. L\u01B0u \xFD r\u1EB1ng b\u1EA1n c\xF3 th\u1EC3 ch\u1EC9nh s\u1EEDa \u0111i\u1EC1u n\xE0y sau tr\xEAn trang c\xE0i \u0111\u1EB7t.",company_name:"T\xEAn c\xF4ng ty",company_logo:"Logo c\xF4ng ty",logo_preview:"Xem tr\u01B0\u1EDBc Logo",preferences:"S\u1EDF th\xEDch",preferences_desc:"T\xF9y ch\u1ECDn m\u1EB7c \u0111\u1ECBnh cho h\u1EC7 th\u1ED1ng.",country:"Qu\u1ED1c gia",state:"Ti\u1EC3u bang",city:"Tp.",address:"\u0110\u1ECBa ch\u1EC9",street:"Ph\u1ED11 | Street2",phone:"\u0110i\u1EC7n tho\u1EA1i",zip_code:"M\xE3 B\u01B0u Ch\xEDnh",go_back:"Quay l\u1EA1i",currency:"Ti\u1EC1n t\u1EC7",language:"Ng\xF4n ng\u1EEF",time_zone:"M\xFAi gi\u1EDD",fiscal_year:"N\u0103m t\xE0i ch\xEDnh",date_format:"\u0110\u1ECBnh d\u1EA1ng ng\xE0y th\xE1ng",from_address:"T\u1EEB \u0111\u1ECBa ch\u1EC9",username:"t\xEAn t\xE0i kho\u1EA3n",next:"K\u1EBF ti\u1EBFp",continue:"Ti\u1EBFp t\u1EE5c",skip:"Nh\u1EA3y",database:{database:"URL trang web",connection:"K\u1EBFt n\u1ED1i c\u01A1 s\u1EDF d\u1EEF li\u1EC7u",host:"M\xE1y ch\u1EE7 c\u01A1 s\u1EDF d\u1EEF li\u1EC7u",port:"C\u1ED5ng c\u01A1 s\u1EDF d\u1EEF li\u1EC7u",password:"M\u1EADt kh\u1EA9u c\u01A1 s\u1EDF d\u1EEF li\u1EC7u",app_url:"URL \u1EE9ng d\u1EE5ng",app_domain:"Mi\u1EC1n \u1EE9ng d\u1EE5ng",username:"T\xEAn ng\u01B0\u1EDDi d\xF9ng c\u01A1 s\u1EDF d\u1EEF li\u1EC7u",db_name:"T\xEAn c\u01A1 s\u1EDF d\u1EEF li\u1EC7u",db_path:"\u0110\u01B0\u1EDDng d\u1EABn c\u01A1 s\u1EDF d\u1EEF li\u1EC7u",desc:"T\u1EA1o c\u01A1 s\u1EDF d\u1EEF li\u1EC7u tr\xEAn m\xE1y ch\u1EE7 c\u1EE7a b\u1EA1n v\xE0 \u0111\u1EB7t th\xF4ng tin \u0111\u0103ng nh\u1EADp b\u1EB1ng bi\u1EC3u m\u1EABu b\xEAn d\u01B0\u1EDBi."},permissions:{permissions:"Quy\u1EC1n",permission_confirm_title:"B\u1EA1n c\xF3 ch\u1EAFc ch\u1EAFn mu\u1ED1n ti\u1EBFp t\u1EE5c kh\xF4ng?",permission_confirm_desc:"Ki\u1EC3m tra quy\u1EC1n th\u01B0 m\u1EE5c kh\xF4ng th\xE0nh c\xF4ng",permission_desc:"D\u01B0\u1EDBi \u0111\xE2y l\xE0 danh s\xE1ch c\xE1c quy\u1EC1n \u0111\u1ED1i v\u1EDBi th\u01B0 m\u1EE5c \u0111\u01B0\u1EE3c y\xEAu c\u1EA7u \u0111\u1EC3 \u1EE9ng d\u1EE5ng ho\u1EA1t \u0111\u1ED9ng. N\u1EBFu ki\u1EC3m tra quy\u1EC1n kh\xF4ng th\xE0nh c\xF4ng, h\xE3y \u0111\u1EA3m b\u1EA3o c\u1EADp nh\u1EADt quy\u1EC1n th\u01B0 m\u1EE5c c\u1EE7a b\u1EA1n."},mail:{host:"M\xE1y ch\u1EE7 Th\u01B0",port:"C\u1ED5ng th\u01B0",driver:"Tr\xECnh \u0111i\u1EC1u khi\u1EC3n Th\u01B0",secret:"Kh\xF3a",mailgun_secret:"Kh\xF3a Mailgun",mailgun_domain:"Mi\u1EC1n",mailgun_endpoint:"\u0110i\u1EC3m cu\u1ED1i c\u1EE7a Mailgun",ses_secret:"Kh\xF3a SES",ses_key:"Kh\xF3a SES",password:"M\u1EADt kh\u1EA9u th\u01B0",username:"T\xEAn ng\u01B0\u1EDDi d\xF9ng th\u01B0",mail_config:"C\u1EA5u h\xECnh th\u01B0",from_name:"T\u1EEB t\xEAn th\u01B0",from_mail:"T\u1EEB \u0111\u1ECBa ch\u1EC9 th\u01B0",encryption:"M\xE3 h\xF3a Th\u01B0",mail_config_desc:"D\u01B0\u1EDBi \u0111\xE2y l\xE0 bi\u1EC3u m\u1EABu \u0110\u1ECBnh c\u1EA5u h\xECnh tr\xECnh \u0111i\u1EC1u khi\u1EC3n Email \u0111\u1EC3 g\u1EEDi email t\u1EEB \u1EE9ng d\u1EE5ng. B\u1EA1n c\u0169ng c\xF3 th\u1EC3 \u0111\u1ECBnh c\u1EA5u h\xECnh c\xE1c nh\xE0 cung c\u1EA5p b\xEAn th\u1EE9 ba nh\u01B0 Sendgrid, SES, v.v."},req:{system_req:"y\xEAu c\u1EA7u h\u1EC7 th\u1ED1ng",php_req_version:"Php (version {version} required)",check_req:"Ki\u1EC3m tra y\xEAu c\u1EA7u",system_req_desc:"Crater c\xF3 m\u1ED9t s\u1ED1 y\xEAu c\u1EA7u m\xE1y ch\u1EE7. \u0110\u1EA3m b\u1EA3o r\u1EB1ng m\xE1y ch\u1EE7 c\u1EE7a b\u1EA1n c\xF3 phi\xEAn b\u1EA3n php b\u1EAFt bu\u1ED9c v\xE0 t\u1EA5t c\u1EA3 c\xE1c ph\u1EA7n m\u1EDF r\u1ED9ng \u0111\u01B0\u1EE3c \u0111\u1EC1 c\u1EADp b\xEAn d\u01B0\u1EDBi."},errors:{migrate_failed:"Di chuy\u1EC3n kh\xF4ng th\xE0nh c\xF4ng",database_variables_save_error:"Kh\xF4ng th\u1EC3 ghi c\u1EA5u h\xECnh v\xE0o t\u1EC7p .env. Vui l\xF2ng ki\u1EC3m tra quy\u1EC1n \u0111\u1ED1i v\u1EDBi t\u1EC7p c\u1EE7a n\xF3",mail_variables_save_error:"C\u1EA5u h\xECnh email kh\xF4ng th\xE0nh c\xF4ng.",connection_failed:"K\u1EBFt n\u1ED1i c\u01A1 s\u1EDF d\u1EEF li\u1EC7u kh\xF4ng th\xE0nh c\xF4ng",database_should_be_empty:"C\u01A1 s\u1EDF d\u1EEF li\u1EC7u ph\u1EA3i tr\u1ED1ng"},success:{mail_variables_save_successfully:"Email \u0111\u01B0\u1EE3c \u0111\u1ECBnh c\u1EA5u h\xECnh th\xE0nh c\xF4ng",database_variables_save_successfully:"\u0110\xE3 c\u1EA5u h\xECnh th\xE0nh c\xF4ng c\u01A1 s\u1EDF d\u1EEF li\u1EC7u."}},Ov={invalid_phone:"S\u1ED1 \u0111i\u1EC7n tho\u1EA1i kh\xF4ng h\u1EE3p l\u1EC7",invalid_url:"Url kh\xF4ng h\u1EE3p l\u1EC7 (v\xED d\u1EE5: http://www.craterapp.com)",invalid_domain_url:"Url kh\xF4ng h\u1EE3p l\u1EC7 (v\xED d\u1EE5: craterapp.com)",required:"L\u0129nh v\u1EF1c \u0111\u01B0\u1EE3c y\xEAu c\u1EA7u",email_incorrect:"Email kh\xF4ng ch\xEDnh x\xE1c.",email_already_taken:"L\xE1 th\u01B0 \u0111\xE3 \u0111\u01B0\u1EE3c l\u1EA5y \u0111i.",email_does_not_exist:"Ng\u01B0\u1EDDi d\xF9ng c\xF3 email \u0111\xE3 cho kh\xF4ng t\u1ED3n t\u1EA1i",item_unit_already_taken:"T\xEAn \u0111\u01A1n v\u1ECB m\u1EB7t h\xE0ng n\xE0y \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng",payment_mode_already_taken:"T\xEAn ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n n\xE0y \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng",send_reset_link:"G\u1EEDi li\xEAn k\u1EBFt \u0111\u1EB7t l\u1EA1i",not_yet:"Ch\u01B0a? G\u1EEDi l\u1EA1i",password_min_length:"M\u1EADt kh\u1EA9u ph\u1EA3i ch\u1EE9a {count} k\xFD t\u1EF1",name_min_length:"T\xEAn ph\u1EA3i c\xF3 \xEDt nh\u1EA5t {count} ch\u1EEF c\xE1i.",enter_valid_tax_rate:"Nh\u1EADp thu\u1EBF su\u1EA5t h\u1EE3p l\u1EC7",numbers_only:"Ch\u1EC9 s\u1ED1.",characters_only:"Ch\u1EC9 nh\xE2n v\u1EADt.",password_incorrect:"M\u1EADt kh\u1EA9u ph\u1EA3i gi\u1ED1ng h\u1EC7t nhau",password_length:"M\u1EADt kh\u1EA9u ph\u1EA3i d\xE0i {count} k\xFD t\u1EF1.",qty_must_greater_than_zero:"S\u1ED1 l\u01B0\u1EE3ng ph\u1EA3i l\u1EDBn h\u01A1n kh\xF4ng.",price_greater_than_zero:"Gi\xE1 ph\u1EA3i l\u1EDBn h\u01A1n 0.",payment_greater_than_zero:"Kho\u1EA3n thanh to\xE1n ph\u1EA3i l\u1EDBn h\u01A1n 0.",payment_greater_than_due_amount:"Thanh to\xE1n \u0111\xE3 nh\u1EADp nhi\u1EC1u h\u01A1n s\u1ED1 ti\u1EC1n \u0111\u1EBFn h\u1EA1n c\u1EE7a h\xF3a \u0111\u01A1n n\xE0y.",quantity_maxlength:"S\u1ED1 l\u01B0\u1EE3ng kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 20 ch\u1EEF s\u1ED1.",price_maxlength:"Gi\xE1 kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 20 ch\u1EEF s\u1ED1.",price_minvalue:"Gi\xE1 ph\u1EA3i l\u1EDBn h\u01A1n 0.",amount_maxlength:"S\u1ED1 ti\u1EC1n kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 20 ch\u1EEF s\u1ED1.",amount_minvalue:"S\u1ED1 ti\u1EC1n ph\u1EA3i l\u1EDBn h\u01A1n 0.",description_maxlength:"M\xF4 t\u1EA3 kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 65.000 k\xFD t\u1EF1.",subject_maxlength:"Ch\u1EE7 \u0111\u1EC1 kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 100 k\xFD t\u1EF1.",message_maxlength:"Tin nh\u1EAFn kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 255 k\xFD t\u1EF1.",maximum_options_error:"\u0110\xE3 ch\u1ECDn t\u1ED1i \u0111a {max} t\xF9y ch\u1ECDn. \u0110\u1EA7u ti\xEAn, h\xE3y x\xF3a m\u1ED9t t\xF9y ch\u1ECDn \u0111\xE3 ch\u1ECDn \u0111\u1EC3 ch\u1ECDn m\u1ED9t t\xF9y ch\u1ECDn kh\xE1c.",notes_maxlength:"Ghi ch\xFA kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 65.000 k\xFD t\u1EF1.",address_maxlength:"\u0110\u1ECBa ch\u1EC9 kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 255 k\xFD t\u1EF1.",ref_number_maxlength:"S\u1ED1 tham chi\u1EBFu kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 255 k\xFD t\u1EF1.",prefix_maxlength:"Ti\u1EC1n t\u1ED1 kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 5 k\xFD t\u1EF1.",something_went_wrong:"c\xF3 g\xEC \u0111\xF3 kh\xF4ng \u1ED5n"},Lv="\u01AF\u1EDBc t\xEDnh",Uv="S\u1ED1 \u01B0\u1EDBc t\xEDnh",Kv="Ng\xE0y \u01B0\u1EDBc t\xEDnh",qv="Ng\xE0y h\u1EBFt h\u1EA1n",Wv="H\xF3a \u0111\u01A1n",Zv="S\u1ED1 h\xF3a \u0111\u01A1n",Hv="Ng\xE0y l\u1EADp h\xF3a \u0111\u01A1n",Gv="Ng\xE0y \u0111\xE1o h\u1EA1n",Yv="Ghi ch\xFA",Jv="M\u1EB7t h\xE0ng",Xv="\u0110\u1ECBnh l\u01B0\u1EE3ng",Qv="Gi\xE1 b\xE1n",ey="Gi\u1EA3m gi\xE1",ty="S\u1ED1 ti\u1EC1n",ay="T\u1ED5ng ph\u1EE5",sy="To\xE0n b\u1ED9",ny="Thanh to\xE1n",iy="H\xD3A \u0110\u01A0N THANH TO\xC1N",oy="Ng\xE0y thanh to\xE1n",ry="S\u1ED1 ti\u1EC1n ph\u1EA3i tr\u1EA3",dy="Ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n",ly="S\u1ED1 ti\u1EC1n nh\u1EADn \u0111\u01B0\u1EE3c",cy="B\xC1O C\xC1O CHI PH\xCD",_y="T\u1ED4NG CHI PH\xCD",uy="L\u1EE2I NHU\u1EACN",my="B\xE1o c\xE1o kh\xE1ch h\xE0ng b\xE1n h\xE0ng",py="B\xE1o c\xE1o m\u1EB7t h\xE0ng b\xE1n h\xE0ng",gy="B\xE1o c\xE1o T\xF3m t\u1EAFt Thu\u1EBF",fy="THU NH\u1EACP = EARNINGS",hy="L\u1EE2I NHU\u1EACN R\xD2NG",vy="B\xE1o c\xE1o b\xE1n h\xE0ng: Theo kh\xE1ch h\xE0ng",yy="T\u1ED4NG DOANH S\u1ED0 B\xC1N H\xC0NG",by="B\xE1o c\xE1o b\xE1n h\xE0ng: Theo m\u1EB7t h\xE0ng",ky="B\xC1O C\xC1O THU\u1EBE",wy="T\u1ED4NG THU\u1EBE",xy="C\xE1c lo\u1EA1i thu\u1EBF",zy="Chi ph\xED",Sy="Xu\u1EA5t t\u1EEB,",Py="Chuy\u1EC3n t\u1EDBi,",jy="Nh\xE2\u0323n t\u1EEB:",Dy="Thu\u1EBF";var Cy={navigation:Sv,general:Pv,dashboard:jv,tax_types:Dv,global_search:Cv,customers:Av,items:Nv,estimates:Ev,invoices:Tv,payments:Iv,expenses:$v,login:Rv,users:Fv,reports:Mv,settings:Bv,wizard:Vv,validation:Ov,pdf_estimate_label:Lv,pdf_estimate_number:Uv,pdf_estimate_date:Kv,pdf_estimate_expire_date:qv,pdf_invoice_label:Wv,pdf_invoice_number:Zv,pdf_invoice_date:Hv,pdf_invoice_due_date:Gv,pdf_notes:Yv,pdf_items_label:Jv,pdf_quantity_label:Xv,pdf_price_label:Qv,pdf_discount_label:ey,pdf_amount_label:ty,pdf_subtotal:ay,pdf_total:sy,pdf_payment_label:ny,pdf_payment_receipt_label:iy,pdf_payment_date:oy,pdf_payment_number:ry,pdf_payment_mode:dy,pdf_payment_amount_received_label:ly,pdf_expense_report_label:cy,pdf_total_expenses_label:_y,pdf_profit_loss_label:uy,pdf_sales_customers_label:my,pdf_sales_items_label:py,pdf_tax_summery_label:gy,pdf_income_label:fy,pdf_net_profit_label:hy,pdf_customer_sales_report:vy,pdf_total_sales_label:yy,pdf_item_sales_label:by,pdf_tax_report_label:ky,pdf_total_tax_label:wy,pdf_tax_types_label:xy,pdf_expenses_label:zy,pdf_bill_to:Sy,pdf_ship_to:Py,pdf_received_from:jy,pdf_tax_label:Dy},Ay={en:Js,fr:si,es:lo,ar:pr,de:yd,ja:zl,pt_BR:Wc,it:J_,sr:am,nl:rp,ko:ug,lv:vf,sv:xh,sk:zv,vi:Cy,pl:Ac};const Ny="modulepreload",mt={},Ey="/build/",V=function(r,o){return!o||o.length===0?r():Promise.all(o.map(t=>{if(t=`${Ey}${t}`,t in mt)return;mt[t]=!0;const s=t.endsWith(".css"),a=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${a}`))return;const e=document.createElement("link");if(e.rel=s?"stylesheet":Ny,s||(e.as="script",e.crossOrigin=""),e.href=t,document.head.appendChild(e),s)return new Promise((n,_)=>{e.addEventListener("load",n),e.addEventListener("error",_)})})).then(()=>r())},E=(i=!1)=>(i?window.pinia.defineStore:W)({id:"notification",state:()=>({active:!1,autoHide:!0,notifications:[]}),actions:{showNotification(o){this.notifications.push(H(M({},o),{id:(Math.random().toString(36)+Date.now().toString(36)).substr(2)}))},hideNotification(o){this.notifications=this.notifications.filter(t=>t.id!=o.id)}}})(),Ty=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"backup",state:()=>({backups:[],currentBackupData:{option:"full",selected_disk:null}}),actions:{fetchBackups(t){return new Promise((s,a)=>{f.get("/api/v1/backups",{params:t}).then(e=>{this.backups=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},createBackup(t){return new Promise((s,a)=>{f.post("/api/v1/backups",t).then(e=>{E().showNotification({type:"success",message:o.t("settings.backup.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},removeBackup(t){return new Promise((s,a)=>{f.delete(`/api/v1/backups/${t.disk}`,{params:t}).then(e=>{E().showNotification({type:"success",message:o.t("settings.backup.deleted_message")}),s(e)}).catch(e=>{g(e),a(e)})})}}})()},Iy=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"category",state:()=>({categories:[],currentCategory:{id:null,name:"",description:""}}),getters:{isEdit:t=>!!t.currentCategory.id},actions:{fetchCategories(t){return new Promise((s,a)=>{f.get("/api/v1/categories",{params:t}).then(e=>{this.categories=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},fetchCategory(t){return new Promise((s,a)=>{f.get(`/api/v1/categories/${t}`).then(e=>{this.currentCategory=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},addCategory(t){return new Promise((s,a)=>{window.axios.post("/api/v1/categories",t).then(e=>{this.categories.push(e.data.data),E().showNotification({type:"success",message:o.t("settings.expense_category.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},updateCategory(t){return new Promise((s,a)=>{window.axios.put(`/api/v1/categories/${t.id}`,t).then(e=>{if(e.data){let n=this.categories.findIndex(u=>u.id===e.data.data.id);this.categories[n]=t.categories,E().showNotification({type:"success",message:o.t("settings.expense_category.updated_message")})}s(e)}).catch(e=>{g(e),a(e)})})},deleteCategory(t){return new Promise(s=>{f.delete(`/api/v1/categories/${t}`).then(a=>{let e=this.categories.findIndex(_=>_.id===t);this.categories.splice(e,1),E().showNotification({type:"success",message:o.t("settings.expense_category.deleted_message")}),s(a)}).catch(a=>{g(a),console.error(a)})})}}})()},te=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"company",state:()=>({companies:[],selectedCompany:null,selectedCompanySettings:{},selectedCompanyCurrency:null}),actions:{setSelectedCompany(t){window.Ls.set("selectedCompany",t.id),this.selectedCompany=t},fetchBasicMailConfig(){return new Promise((t,s)=>{f.get("/api/v1/company/mail/config").then(a=>{t(a)}).catch(a=>{g(a),s(a)})})},updateCompany(t){return new Promise((s,a)=>{f.put("/api/v1/company",t).then(e=>{E().showNotification({type:"success",message:o.t("settings.company_info.updated_message")}),this.selectedCompany=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},updateCompanyLogo(t){return new Promise((s,a)=>{f.post("/api/v1/company/upload-logo",t).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},addNewCompany(t){return new Promise((s,a)=>{f.post("/api/v1/companies",t).then(e=>{E().showNotification({type:"success",message:o.t("company_switcher.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},fetchCompany(t){return new Promise((s,a)=>{f.get("/api/v1/current-company",t).then(e=>{Object.assign(this.companyForm,e.data.data.address),this.companyForm.name=e.data.data.name,s(e)}).catch(e=>{g(e),a(e)})})},fetchUserCompanies(){return new Promise((t,s)=>{f.get("/api/v1/companies").then(a=>{t(a)}).catch(a=>{g(a),s(a)})})},fetchCompanySettings(t){return new Promise((s,a)=>{f.get("/api/v1/company/settings",{params:{settings:t}}).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},updateCompanySettings({data:t,message:s}){return new Promise((a,e)=>{f.post("/api/v1/company/settings",t).then(n=>{Object.assign(this.selectedCompanySettings,t.settings),s&&E().showNotification({type:"success",message:o.t(s)}),a(n)}).catch(n=>{g(n),e(n)})})},deleteCompany(t){return new Promise((s,a)=>{f.post("/api/v1/companies/delete",t).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},setDefaultCurrency(t){this.defaultCurrency=t.currency}}})()};var pt={id:null,label:null,type:null,name:null,default_answer:null,is_required:!1,placeholder:null,model_type:null,order:1,options:[]},$y=i=>st({locale:"en",fallbackLocale:"en",messages:i});const{global:de}=$y;var Ce={isImageFile(i){return["image/gif","image/jpeg","image/png"].includes(i)},addClass(i,r){i.classList?i.classList.add(r):i.className+=" "+r},hasClass(i,r){return i.classList?i.classList.contains(r):new RegExp("(^| )"+r+"( |$)","gi").test(i.className)},formatMoney(i,r=0){r||(r={precision:2,thousand_separator:",",decimal_separator:".",symbol:"$"}),i=i/100;let{precision:o,decimal_separator:t,thousand_separator:s,symbol:a,swap_currency_symbol:e}=r;try{o=Math.abs(o),o=isNaN(o)?2:o;const n=i<0?"-":"";let _=parseInt(i=Math.abs(Number(i)||0).toFixed(o)).toString(),u=_.length>3?_.length%3:0,y=`${a}`,z=u?_.substr(0,u)+s:"",b=_.substr(u).replace(/(\d{3})(?=\d)/g,"$1"+s),h=o?t+Math.abs(i-_).toFixed(o).slice(2):"",x=n+z+b+h;return e?x+" "+y:y+" "+x}catch(n){console.error(n)}},mergeSettings(i,r){Object.keys(r).forEach(function(o){o in i&&(i[o]=r[o])})},checkValidUrl(i){return i.includes("http://localhost")||i.includes("http://127.0.0.1")||i.includes("https://localhost")||i.includes("https://127.0.0.1")?!0:!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(i)},checkValidDomainUrl(i){return i.includes("localhost")||i.includes("127.0.0.1")?!0:!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(i)},fallbackCopyTextToClipboard(i){var r=document.createElement("textarea");r.value=i,r.style.top="0",r.style.left="0",r.style.position="fixed",document.body.appendChild(r),r.focus(),r.select();try{var o=document.execCommand("copy"),t=o?"successful":"unsuccessful";console.log("Fallback: Copying text command was "+t)}catch(s){console.error("Fallback: Oops, unable to copy",s)}document.body.removeChild(r)},copyTextToClipboard(i){if(!navigator.clipboard){this.fallbackCopyTextToClipboard(i);return}navigator.clipboard.writeText(i).then(function(){return!0},function(r){return!1})},arrayDifference(i,r){return i==null?void 0:i.filter(o=>(r==null?void 0:r.indexOf(o))<0)},getBadgeStatusColor(i){switch(i){case"DRAFT":return{bgColor:"#F8EDCB",color:"#744210"};case"PAID":return{bgColor:"#D5EED0",color:"#276749"};case"UNPAID":return{bgColor:"#F8EDC",color:"#744210"};case"SENT":return{bgColor:"rgba(246, 208, 154, 0.4)",color:"#975a16"};case"REJECTED":return{bgColor:"#E1E0EA",color:"#1A1841"};case"ACCEPTED":return{bgColor:"#D5EED0",color:"#276749"};case"VIEWED":return{bgColor:"#C9E3EC",color:"#2c5282"};case"EXPIRED":return{bgColor:"#FED7D7",color:"#c53030"};case"PARTIALLY PAID":return{bgColor:"#C9E3EC",color:"#2c5282"};case"OVERDUE":return{bgColor:"#FED7D7",color:"#c53030"};case"COMPLETED":return{bgColor:"#D5EED0",color:"#276749"};case"DUE":return{bgColor:"#F8EDCB",color:"#744210"};case"YES":return{bgColor:"#D5EED0",color:"#276749"};case"NO":return{bgColor:"#FED7D7",color:"#c53030"}}},getStatusTranslation(i){switch(i){case"DRAFT":return de.t("general.draft");case"PAID":return de.t("invoices.paid");case"UNPAID":return de.t("invoices.unpaid");case"SENT":return de.t("general.sent");case"REJECTED":return de.t("estimates.rejected");case"ACCEPTED":return de.t("estimates.accepted");case"VIEWED":return de.t("invoices.viewed");case"EXPIRED":return de.t("estimates.expired");case"PARTIALLY PAID":return de.t("estimates.partially_paid");case"OVERDUE":return de.t("invoices.overdue");case"COMPLETED":return de.t("invoices.completed");case"DUE":return de.t("general.due");default:return i}},toFormData(i){const r=new FormData;return Object.keys(i).forEach(o=>{nt.exports.isArray(i[o])?r.append(o,JSON.stringify(i[o])):(i[o]===null&&(i[o]=""),r.append(o,i[o]))}),r}};const gt=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"custom-field",state:()=>({customFields:[],isRequestOngoing:!1,currentCustomField:M({},pt)}),getters:{isEdit(){return!!this.currentCustomField.id}},actions:{resetCustomFields(){this.customFields=[]},resetCurrentCustomField(){this.currentCustomField=M({},pt)},fetchCustomFields(t){return new Promise((s,a)=>{f.get("/api/v1/custom-fields",{params:t}).then(e=>{this.customFields=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},fetchNoteCustomFields(t){return new Promise((s,a)=>{if(this.isRequestOngoing)return s({requestOnGoing:!0}),!0;this.isRequestOngoing=!0,f.get("/api/v1/custom-fields",{params:t}).then(e=>{this.customFields=e.data.data,this.isRequestOngoing=!1,s(e)}).catch(e=>{this.isRequestOngoing=!1,g(e),a(e)})})},fetchCustomField(t){return new Promise((s,a)=>{f.get(`/api/v1/custom-fields/${t}`).then(e=>{this.currentCustomField=e.data.data,this.currentCustomField.options&&this.currentCustomField.options.length&&(this.currentCustomField.options=this.currentCustomField.options.map(n=>n={name:n})),s(e)}).catch(e=>{g(e),a(e)})})},addCustomField(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/custom-fields",t).then(n=>{let _=M({},n.data.data);_.options&&(_.options=_.options.map(u=>({name:u||""}))),this.customFields.push(_),s.showNotification({type:"success",message:o.t("settings.custom_fields.added_message")}),a(n)}).catch(n=>{g(n),e(n)})})},updateCustomField(t){const s=E();return new Promise((a,e)=>{f.put(`/api/v1/custom-fields/${t.id}`,t).then(n=>{let _=M({},n.data.data);_.options&&(_.options=_.options.map(y=>({name:y||""})));let u=this.customFields.findIndex(y=>y.id===_.id);this.customFields[u]&&(this.customFields[u]=_),s.showNotification({type:"success",message:o.t("settings.custom_fields.updated_message")}),a(n)}).catch(n=>{g(n),e(n)})})},deleteCustomFields(t){const s=E();return new Promise((a,e)=>{f.delete(`/api/v1/custom-fields/${t}`).then(n=>{let _=this.customFields.findIndex(u=>u.id===t);this.customFields.splice(_,1),n.data.error?s.showNotification({type:"error",message:o.t("settings.custom_fields.already_in_use")}):s.showNotification({type:"success",message:o.t("settings.custom_fields.deleted_message")}),a(n)}).catch(n=>{g(n),e(n)})})}}})()},ue=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"global",state:()=>({config:null,timeZones:[],dateFormats:[],currencies:[],countries:[],languages:[],fiscalYears:[],mainMenu:[],settingMenu:[],isAppLoaded:!1,isSidebarOpen:!1,areCurrenciesLoading:!1,downloadReport:null}),getters:{menuGroups:t=>Object.values(ie.groupBy(t.mainMenu,"group"))},actions:{bootstrap(){return new Promise((t,s)=>{f.get("/api/v1/bootstrap").then(a=>{const e=te(),n=ve();this.mainMenu=a.data.main_menu,this.settingMenu=a.data.setting_menu,this.config=a.data.config,n.currentUser=a.data.current_user,n.currentUserSettings=a.data.current_user_settings,n.currentAbilities=a.data.current_user_abilities,e.companies=a.data.companies,e.selectedCompany=a.data.current_company,e.setSelectedCompany(a.data.current_company),e.selectedCompanySettings=a.data.current_company_settings,e.selectedCompanyCurrency=a.data.current_company_currency,o.locale=a.data.current_user_settings.language||"en",this.isAppLoaded=!0,t(a)}).catch(a=>{g(a),s(a)})})},fetchCurrencies(){return new Promise((t,s)=>{this.currencies.length||this.areCurrenciesLoading?t(this.currencies):(this.areCurrenciesLoading=!0,f.get("/api/v1/currencies").then(a=>{this.currencies=a.data.data.filter(e=>e.name=`${e.code} - ${e.name}`),this.areCurrenciesLoading=!1,t(a)}).catch(a=>{g(a),this.areCurrenciesLoading=!1,s(a)}))})},fetchConfig(t){return new Promise((s,a)=>{f.get("/api/v1/config",{params:t}).then(e=>{e.data.languages?this.languages=e.data.languages:this.fiscalYears=e.data.fiscal_years,s(e)}).catch(e=>{g(e),a(e)})})},fetchDateFormats(){return new Promise((t,s)=>{this.dateFormats.length?t(this.dateFormats):f.get("/api/v1/date/formats").then(a=>{this.dateFormats=a.data.date_formats,t(a)}).catch(a=>{g(a),s(a)})})},fetchTimeZones(){return new Promise((t,s)=>{this.timeZones.length?t(this.timeZones):f.get("/api/v1/timezones").then(a=>{this.timeZones=a.data.time_zones,t(a)}).catch(a=>{g(a),s(a)})})},fetchCountries(){return new Promise((t,s)=>{this.countries.length?t(this.countries):f.get("/api/v1/countries").then(a=>{this.countries=a.data.data,t(a)}).catch(a=>{g(a),s(a)})})},fetchPlaceholders(t){return new Promise((s,a)=>{f.get("/api/v1/number-placeholders",{params:t}).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},setSidebarVisibility(t){this.isSidebarOpen=t},setIsAppLoaded(t){this.isAppLoaded=t}}})()};var Re={name:null,phone:null,address_street_1:null,address_street_2:null,city:null,state:null,country_id:null,zip:null,type:null};function ft(){return{name:"",contact_name:"",email:"",phone:null,currency_id:null,website:null,billing:M({},Re),shipping:M({},Re),customFields:[],fields:[]}}const ze=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"customer",state:()=>({customers:[],totalCustomers:0,selectAllField:!1,selectedCustomers:[],selectedViewCustomer:{},isFetchingInitialSettings:!1,isFetchingViewData:!1,currentCustomer:M({},ft())}),getters:{isEdit:t=>!!t.currentCustomer.id},actions:{resetCurrentCustomer(){this.currentCustomer=M({},ft())},copyAddress(){this.currentCustomer.shipping=H(M({},this.currentCustomer.billing),{type:"shipping"})},fetchCustomerInitialSettings(t){const s=oe(),a=ue(),e=te();this.isFetchingInitialSettings=!0;let n=[];t?n=[this.fetchCustomer(s.params.id)]:this.currentCustomer.currency_id=e.selectedCompanyCurrency.id,Promise.all([a.fetchCurrencies(),a.fetchCountries(),...n]).then(async([_,u,y])=>{this.isFetchingInitialSettings=!1}).catch(_=>{g(_)})},fetchCustomers(t){return new Promise((s,a)=>{f.get("/api/v1/customers",{params:t}).then(e=>{this.customers=e.data.data,this.totalCustomers=e.data.meta.customer_total_count,s(e)}).catch(e=>{g(e),a(e)})})},fetchViewCustomer(t){return new Promise((s,a)=>{this.isFetchingViewData=!0,f.get(`/api/v1/customers/${t.id}/stats`,{params:t}).then(e=>{this.selectedViewCustomer={},Object.assign(this.selectedViewCustomer,e.data.data),this.setAddressStub(e.data.data),this.isFetchingViewData=!1,s(e)}).catch(e=>{this.isFetchingViewData=!1,g(e),a(e)})})},fetchCustomer(t){return new Promise((s,a)=>{f.get(`/api/v1/customers/${t}`).then(e=>{Object.assign(this.currentCustomer,e.data.data),this.setAddressStub(e.data.data),s(e)}).catch(e=>{g(e),a(e)})})},addCustomer(t){return new Promise((s,a)=>{f.post("/api/v1/customers",t).then(e=>{this.customers.push(e.data.data),E().showNotification({type:"success",message:o.t("customers.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},updateCustomer(t){return new Promise((s,a)=>{f.put(`/api/v1/customers/${t.id}`,t).then(e=>{if(e.data){let n=this.customers.findIndex(u=>u.id===e.data.data.id);this.customers[n]=t,E().showNotification({type:"success",message:o.t("customers.updated_message")})}s(e)}).catch(e=>{g(e),a(e)})})},deleteCustomer(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/customers/delete",t).then(n=>{let _=this.customers.findIndex(u=>u.id===t);this.customers.splice(_,1),s.showNotification({type:"success",message:o.tc("customers.deleted_message",1)}),a(n)}).catch(n=>{g(n),e(n)})})},deleteMultipleCustomers(){const t=E();return new Promise((s,a)=>{f.post("/api/v1/customers/delete",{ids:this.selectedCustomers}).then(e=>{this.selectedCustomers.forEach(n=>{let _=this.customers.findIndex(u=>u.id===n.id);this.customers.splice(_,1)}),t.showNotification({type:"success",message:o.tc("customers.deleted_message",2)}),s(e)}).catch(e=>{g(e),a(e)})})},setSelectAllState(t){this.selectAllField=t},selectCustomer(t){this.selectedCustomers=t,this.selectedCustomers.length===this.customers.length?this.selectAllField=!0:this.selectAllField=!1},selectAllCustomers(){if(this.selectedCustomers.length===this.customers.length)this.selectedCustomers=[],this.selectAllField=!1;else{let t=this.customers.map(s=>s.id);this.selectedCustomers=t,this.selectAllField=!0}},setAddressStub(t){t.billing||(this.currentCustomer.billing=M({},Re)),t.shipping||(this.currentCustomer.shipping=M({},Re))}}})()},Ry=(i=!1)=>(i?window.pinia.defineStore:W)({id:"dashboard",state:()=>({stats:{totalAmountDue:0,totalCustomerCount:0,totalInvoiceCount:0,totalEstimateCount:0},chartData:{months:[],invoiceTotals:[],expenseTotals:[],receiptTotals:[],netIncomeTotals:[]},totalSales:null,totalReceipts:null,totalExpenses:null,totalNetIncome:null,recentDueInvoices:[],recentEstimates:[],isDashboardDataLoaded:!1}),actions:{loadData(o){return new Promise((t,s)=>{axios.get("/api/v1/dashboard",{params:o}).then(a=>{this.stats.totalAmountDue=a.data.total_amount_due,this.stats.totalCustomerCount=a.data.total_customer_count,this.stats.totalInvoiceCount=a.data.total_invoice_count,this.stats.totalEstimateCount=a.data.total_estimate_count,this.chartData&&a.data.chart_data&&(this.chartData.months=a.data.chart_data.months,this.chartData.invoiceTotals=a.data.chart_data.invoice_totals,this.chartData.expenseTotals=a.data.chart_data.expense_totals,this.chartData.receiptTotals=a.data.chart_data.receipt_totals,this.chartData.netIncomeTotals=a.data.chart_data.net_income_totals),this.totalSales=a.data.total_sales,this.totalReceipts=a.data.total_receipts,this.totalExpenses=a.data.total_expenses,this.totalNetIncome=a.data.total_net_income,this.recentDueInvoices=a.data.recent_due_invoices,this.recentEstimates=a.data.recent_estimates,this.isDashboardDataLoaded=!0,t(a)}).catch(a=>{g(a),s(a)})})}}})(),ht=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"dialog",state:()=>({active:!1,title:"",message:"",size:"md",data:null,variant:"danger",yesLabel:o.t("settings.custom_fields.yes"),noLabel:o.t("settings.custom_fields.no"),noLabel:"No",resolve:null,hideNoButton:!1}),actions:{openDialog(t){return this.active=!0,this.title=t.title,this.message=t.message,this.size=t.size,this.data=t.data,this.variant=t.variant,this.yesLabel=t.yesLabel,this.noLabel=t.noLabel,this.hideNoButton=t.hideNoButton,new Promise((s,a)=>{this.resolve=s})},closeDialog(){this.active=!1,setTimeout(()=>{this.title="",this.message="",this.data=null},300)}}})()},Fy=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"disk",state:()=>({disks:[],diskDrivers:[],diskConfigData:null,selected_driver:"local",doSpaceDiskConfig:{name:"",selected_driver:"doSpaces",key:"",secret:"",region:"",bucket:"",endpoint:"",root:""},dropBoxDiskConfig:{name:"",selected_driver:"dropbox",token:"",key:"",secret:"",app:""},localDiskConfig:{name:"",selected_driver:"local",root:""},s3DiskConfigData:{name:"",selected_driver:"s3",key:"",secret:"",region:"",bucket:"",root:""}}),getters:{getDiskDrivers:t=>t.diskDrivers},actions:{fetchDiskEnv(t){return new Promise((s,a)=>{f.get(`/api/v1/disks/${t.disk}`).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},fetchDisks(t){return new Promise((s,a)=>{f.get("/api/v1/disks",{params:t}).then(e=>{this.disks=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},fetchDiskDrivers(){return new Promise((t,s)=>{f.get("/api/v1/disk/drivers").then(a=>{this.diskConfigData=a.data,this.diskDrivers=a.data.drivers,t(a)}).catch(a=>{g(a),s(a)})})},deleteFileDisk(t){return new Promise((s,a)=>{f.delete(`/api/v1/disks/${t}`).then(e=>{if(e.data.success){let n=this.disks.findIndex(u=>u.id===t);this.disks.splice(n,1),E().showNotification({type:"success",message:o.t("settings.disk.deleted_message")})}s(e)}).catch(e=>{g(e),a(e)})})},updateDisk(t){return new Promise((s,a)=>{f.put(`/api/v1/disks/${t.id}`,t).then(e=>{if(e.data){let n=this.disks.findIndex(u=>u.id===e.data.data);this.disks[n]=t.disks,E().showNotification({type:"success",message:o.t("settings.disk.success_set_default_disk")})}s(e)}).catch(e=>{g(e),a(e)})})},createDisk(t){return new Promise((s,a)=>{f.post("/api/v1/disks",t).then(e=>{e.data&&E().showNotification({type:"success",message:o.t("settings.disk.success_create")}),this.disks.push(e.data),s(e)}).catch(e=>{g(e),a(e)})})}}})()},Ae=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"item",state:()=>({items:[],totalItems:0,selectAllField:!1,selectedItems:[],itemUnits:[],currentItemUnit:{id:null,name:""},currentItem:{name:"",description:"",price:0,unit_id:"",unit:null,taxes:[],tax_per_item:!1}}),getters:{isItemUnitEdit:t=>!!t.currentItemUnit.id},actions:{resetCurrentItem(){this.currentItem={name:"",description:"",price:0,unit_id:"",unit:null,taxes:[]}},fetchItems(t){return new Promise((s,a)=>{f.get("/api/v1/items",{params:t}).then(e=>{this.items=e.data.data,this.totalItems=e.data.meta.item_total_count,s(e)}).catch(e=>{g(e),a(e)})})},fetchItem(t){return new Promise((s,a)=>{f.get(`/api/v1/items/${t}`).then(e=>{e.data&&Object.assign(this.currentItem,e.data.data),s(e)}).catch(e=>{g(e),a(e)})})},addItem(t){return new Promise((s,a)=>{f.post("/api/v1/items",t).then(e=>{const n=E();this.items.push(e.data.data),n.showNotification({type:"success",message:o.t("items.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},updateItem(t){return new Promise((s,a)=>{f.put(`/api/v1/items/${t.id}`,t).then(e=>{if(e.data){const n=E();let _=this.items.findIndex(u=>u.id===e.data.data.id);this.items[_]=t.item,n.showNotification({type:"success",message:o.t("items.updated_message")})}s(e)}).catch(e=>{g(e),a(e)})})},deleteItem(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/items/delete",t).then(n=>{let _=this.items.findIndex(u=>u.id===t);this.items.splice(_,1),s.showNotification({type:"success",message:o.tc("items.deleted_message",1)}),a(n)}).catch(n=>{g(n),e(n)})})},deleteMultipleItems(){const t=E();return new Promise((s,a)=>{f.post("/api/v1/items/delete",{ids:this.selectedItems}).then(e=>{this.selectedItems.forEach(n=>{let _=this.items.findIndex(u=>u.id===n.id);this.items.splice(_,1)}),t.showNotification({type:"success",message:o.tc("items.deleted_message",2)}),s(e)}).catch(e=>{g(e),a(e)})})},selectItem(t){this.selectedItems=t,this.selectedItems.length===this.items.length?this.selectAllField=!0:this.selectAllField=!1},selectAllItems(t){if(this.selectedItems.length===this.items.length)this.selectedItems=[],this.selectAllField=!1;else{let s=this.items.map(a=>a.id);this.selectedItems=s,this.selectAllField=!0}},addItemUnit(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/units",t).then(n=>{this.itemUnits.push(n.data.data),n.data.data&&s.showNotification({type:"success",message:o.t("settings.customization.items.item_unit_added")}),n.data.errors&&s.showNotification({type:"error",message:err.response.data.errors[0]}),a(n)}).catch(n=>{g(n),e(n)})})},updateItemUnit(t){const s=E();return new Promise((a,e)=>{f.put(`/api/v1/units/${t.id}`,t).then(n=>{let _=this.itemUnits.findIndex(u=>u.id===n.data.data.id);this.itemUnits[_]=t,n.data.data&&s.showNotification({type:"success",message:o.t("settings.customization.items.item_unit_updated")}),n.data.errors&&s.showNotification({type:"error",message:err.response.data.errors[0]}),a(n)}).catch(n=>{g(n),e(n)})})},fetchItemUnits(t){return new Promise((s,a)=>{f.get("/api/v1/units",{params:t}).then(e=>{this.itemUnits=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},fetchItemUnit(t){return new Promise((s,a)=>{f.get(`/api/v1/units/${t}`).then(e=>{this.currentItemUnit=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},deleteItemUnit(t){const s=E();return new Promise((a,e)=>{f.delete(`/api/v1/units/${t}`).then(n=>{if(!n.data.error){let _=this.itemUnits.findIndex(u=>u.id===t);this.itemUnits.splice(_,1)}n.data.success&&s.showNotification({type:"success",message:o.t("settings.customization.items.deleted_message")}),a(n)}).catch(n=>{g(n),e(n)})})}}})()},Fe=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"taxType",state:()=>({taxTypes:[],currentTaxType:{id:null,name:"",percent:0,description:"",compound_tax:!1,collective_tax:0}}),getters:{isEdit:t=>!!t.currentTaxType.id},actions:{resetCurrentTaxType(){this.currentTaxType={id:null,name:"",percent:0,description:"",compound_tax:!1,collective_tax:0}},fetchTaxTypes(t){return new Promise((s,a)=>{f.get("/api/v1/tax-types",{params:t}).then(e=>{this.taxTypes=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},fetchTaxType(t){return new Promise((s,a)=>{window.axios.get(`/api/v1/tax-types/${t}`).then(e=>{this.currentTaxType=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},addTaxType(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/tax-types",t).then(n=>{this.taxTypes.push(n.data.data),s.showNotification({type:"success",message:o.t("settings.tax_types.created_message")}),a(n)}).catch(n=>{g(n),e(n)})})},updateTaxType(t){const s=E();return new Promise((a,e)=>{f.put(`/api/v1/tax-types/${t.id}`,t).then(n=>{if(n.data){let _=this.taxTypes.findIndex(u=>u.id===n.data.data.id);this.taxTypes[_]=t.taxTypes,s.showNotification({type:"success",message:o.t("settings.tax_types.updated_message")})}a(n)}).catch(n=>{g(n),e(n)})})},deleteTaxType(t){return new Promise((s,a)=>{window.axios.delete(`/api/v1/tax-types/${t}`).then(e=>{if(e.data.success){let n=this.taxTypes.findIndex(u=>u.id===t);this.taxTypes.splice(n,1),E().showNotification({type:"success",message:o.t("settings.tax_types.deleted_message")})}s(e)}).catch(e=>{g(e),a(e)})})}}})()};var He={estimate_id:null,item_id:null,name:"",title:"",description:null,quantity:1,price:0,discount_type:"fixed",discount_val:0,discount:0,total:0,sub_total:0,totalTax:0,totalSimpleTax:0,totalCompoundTax:0,tax:0,taxes:[]},he={name:"",tax_type_id:0,amount:null,percent:null,compound_tax:!1};function vt(){return{id:null,customer:null,template_name:"",tax_per_item:null,discount_per_item:null,estimate_date:"",expiry_date:"",estimate_number:"",customer_id:null,sub_total:0,total:0,tax:0,notes:"",discount_type:"fixed",discount_val:0,reference_number:null,discount:0,items:[H(M({},He),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]})],taxes:[],customFields:[],fields:[],selectedNote:null,selectedCurrency:""}}const Me=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"estimate",state:()=>({templates:[],estimates:[],selectAllField:!1,selectedEstimates:[],totalEstimateCount:0,isFetchingInitialSettings:!1,showExchangeRate:!1,newEstimate:M({},vt())}),getters:{getSubTotal(){return this.newEstimate.items.reduce(function(t,s){return t+s.total},0)},getTotalSimpleTax(){return ie.sumBy(this.newEstimate.taxes,function(t){return t.compound_tax?0:t.amount})},getTotalCompoundTax(){return ie.sumBy(this.newEstimate.taxes,function(t){return t.compound_tax?t.amount:0})},getTotalTax(){return this.newEstimate.tax_per_item==="NO"||this.newEstimate.tax_per_item===null?this.getTotalSimpleTax+this.getTotalCompoundTax:ie.sumBy(this.newEstimate.items,function(t){return t.tax})},getSubtotalWithDiscount(){return this.getSubTotal-this.newEstimate.discount_val},getTotal(){return this.getSubtotalWithDiscount+this.getTotalTax},isEdit:t=>!!t.newEstimate.id},actions:{resetCurrentEstimate(){this.newEstimate=M({},vt())},previewEstimate(t){return new Promise((s,a)=>{f.get(`/api/v1/estimates/${t.id}/send/preview`,{params:t}).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},fetchEstimates(t){return new Promise((s,a)=>{f.get("/api/v1/estimates",{params:t}).then(e=>{this.estimates=e.data.data,this.totalEstimateCount=e.data.meta.estimate_total_count,s(e)}).catch(e=>{g(e),a(e)})})},getNextNumber(t,s=!1){return new Promise((a,e)=>{f.get("/api/v1/next-number?key=estimate",{params:t}).then(n=>{s&&(this.newEstimate.estimate_number=n.data.nextNumber),a(n)}).catch(n=>{g(n),e(n)})})},fetchEstimate(t){return new Promise((s,a)=>{f.get(`/api/v1/estimates/${t}`).then(e=>{Object.assign(this.newEstimate,e.data.data),s(e)}).catch(e=>{g(e),a(e)})})},sendEstimate(t){const s=E();return new Promise((a,e)=>{f.post(`/api/v1/estimates/${t.id}/send`,t).then(n=>{t.is_preview||s.showNotification({type:"success",message:o.t("estimates.send_estimate_successfully")}),a(n)}).catch(n=>{g(n),e(n)})})},addEstimate(t){return new Promise((s,a)=>{f.post("/api/v1/estimates",t).then(e=>{this.estimates=[...this.estimates,e.data.estimate],E().showNotification({type:"success",message:o.t("estimates.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},deleteEstimate(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/estimates/delete",t).then(n=>{let _=this.estimates.findIndex(u=>u.id===t);this.estimates.splice(_,1),s.showNotification({type:"success",message:o.t("estimates.deleted_message",1)}),a(n)}).catch(n=>{g(n),e(n)})})},deleteMultipleEstimates(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/estimates/delete",{ids:this.selectedEstimates}).then(n=>{this.selectedEstimates.forEach(_=>{let u=this.estimates.findIndex(y=>y.id===_.id);this.estimates.splice(u,1)}),this.selectedEstimates=[],s.showNotification({type:"success",message:o.tc("estimates.deleted_message",2)}),a(n)}).catch(n=>{g(n),e(n)})})},updateEstimate(t){return new Promise((s,a)=>{f.put(`/api/v1/estimates/${t.id}`,t).then(e=>{let n=this.estimates.findIndex(u=>u.id===e.data.data.id);this.estimates[n]=e.data.data,E().showNotification({type:"success",message:o.t("estimates.updated_message")}),s(e)}).catch(e=>{g(e),a(e)})})},markAsAccepted(t){return new Promise((s,a)=>{f.post(`/api/v1/estimates/${t.id}/status`,t).then(e=>{let n=this.estimates.findIndex(_=>_.id===t.id);this.estimates[n]&&(this.estimates[n].status="ACCEPTED",E().showNotification({type:"success",message:o.t("estimates.marked_as_accepted_message")})),s(e)}).catch(e=>{g(e),a(e)})})},markAsRejected(t){return new Promise((s,a)=>{f.post(`/api/v1/estimates/${t.id}/status`,t).then(e=>{E().showNotification({type:"success",message:o.t("estimates.marked_as_rejected_message")}),s(e)}).catch(e=>{g(e),a(e)})})},markAsSent(t){return new Promise((s,a)=>{f.post(`/api/v1/estimates/${t.id}/status`,t).then(e=>{let n=this.estimates.findIndex(_=>_.id===t.id);this.estimates[n]&&(this.estimates[n].status="SENT",E().showNotification({type:"success",message:o.t("estimates.mark_as_sent_successfully")})),s(e)}).catch(e=>{g(e),a(e)})})},convertToInvoice(t){const s=E();return new Promise((a,e)=>{f.post(`/api/v1/estimates/${t}/convert-to-invoice`).then(n=>{s.showNotification({type:"success",message:o.t("estimates.conversion_message")}),a(n)}).catch(n=>{g(n),e(n)})})},searchEstimate(t){return new Promise((s,a)=>{f.get(`/api/v1/estimates?${t}`).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},selectEstimate(t){this.selectedEstimates=t,this.selectedEstimates.length===this.estimates.length?this.selectAllField=!0:this.selectAllField=!1},selectAllEstimates(){if(this.selectedEstimates.length===this.estimates.length)this.selectedEstimates=[],this.selectAllField=!1;else{let t=this.estimates.map(s=>s.id);this.selectedEstimates=t,this.selectAllField=!0}},selectCustomer(t){return new Promise((s,a)=>{f.get(`/api/v1/customers/${t}`).then(e=>{this.newEstimate.customer=e.data.data,this.newEstimate.customer_id=e.data.data.id,s(e)}).catch(e=>{g(e),a(e)})})},fetchEstimateTemplates(t){return new Promise((s,a)=>{f.get("/api/v1/estimates/templates",{params:t}).then(e=>{this.templates=e.data.estimateTemplates,s(e)}).catch(e=>{g(e),a(e)})})},setTemplate(t){this.newEstimate.template_name=t},resetSelectedCustomer(){this.newEstimate.customer=null,this.newEstimate.customer_id=""},selectNote(t){this.newEstimate.selectedNote=null,this.newEstimate.selectedNote=t},resetSelectedNote(){this.newEstimate.selectedNote=null},addItem(){this.newEstimate.items.push(H(M({},He),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]}))},updateItem(t){Object.assign(this.newEstimate.items[t.index],M({},t))},removeItem(t){this.newEstimate.items.splice(t,1)},deselectItem(t){this.newEstimate.items[t]=H(M({},He),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]})},async fetchEstimateInitialSettings(t){const s=te(),a=ze(),e=Ae(),n=Fe(),_=oe();if(this.isFetchingInitialSettings=!0,this.newEstimate.selectedCurrency=s.selectedCompanyCurrency,_.query.customer){let y=await a.fetchCustomer(_.query.customer);this.newEstimate.customer=y.data.data,this.newEstimate.customer_id=y.data.data.id}let u=[];t?u=[this.fetchEstimate(_.params.id)]:(this.newEstimate.tax_per_item=s.selectedCompanySettings.tax_per_item,this.newEstimate.discount_per_item=s.selectedCompanySettings.discount_per_item,this.newEstimate.estimate_date=ye().format("YYYY-MM-DD"),this.newEstimate.expiry_date=ye().add(7,"days").format("YYYY-MM-DD")),Promise.all([e.fetchItems({filter:{},orderByField:"",orderBy:""}),this.resetSelectedNote(),this.fetchEstimateTemplates(),this.getNextNumber(),n.fetchTaxTypes({limit:"all"}),...u]).then(async([y,z,b,h,x,j,R])=>{t||(h.data&&(this.newEstimate.estimate_number=h.data.nextNumber),this.setTemplate(this.templates[0].name)),this.isFetchingInitialSettings=!1}).catch(y=>{g(y),this.isFetchingInitialSettings=!1})}}})()},Ge=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n,t=E();return r({id:"exchange-rate",state:()=>({supportedCurrencies:[],drivers:[],activeUsedCurrencies:[],providers:[],currencies:null,currentExchangeRate:{id:null,driver:"",key:"",active:!0,currencies:[]},currencyConverter:{type:"",url:""},bulkCurrencies:[]}),getters:{isEdit:s=>!!s.currentExchangeRate.id},actions:{fetchProviders(s){return new Promise((a,e)=>{f.get("/api/v1/exchange-rate-providers",{params:s}).then(n=>{this.providers=n.data.data,a(n)}).catch(n=>{g(n),e(n)})})},fetchDefaultProviders(){return new Promise((s,a)=>{f.get("/api/v1/config?key=exchange_rate_drivers").then(e=>{this.drivers=e.data.exchange_rate_drivers,s(e)}).catch(e=>{g(e),a(e)})})},fetchProvider(s){return new Promise((a,e)=>{f.get(`/api/v1/exchange-rate-providers/${s}`).then(n=>{this.currentExchangeRate=n.data.data,this.currencyConverter=n.data.data.driver_config,a(n)}).catch(n=>{g(n),e(n)})})},addProvider(s){return new Promise((a,e)=>{f.post("/api/v1/exchange-rate-providers",s).then(n=>{t.showNotification({type:"success",message:o.t("settings.exchange_rate.created_message")}),a(n)}).catch(n=>{g(n),e(n)})})},updateProvider(s){return new Promise((a,e)=>{f.put(`/api/v1/exchange-rate-providers/${s.id}`,s).then(n=>{t.showNotification({type:"success",message:o.t("settings.exchange_rate.updated_message")}),a(n)}).catch(n=>{g(n),e(n)})})},deleteExchangeRate(s){return new Promise((a,e)=>{f.delete(`/api/v1/exchange-rate-providers/${s}`).then(n=>{let _=this.drivers.findIndex(u=>u.id===s);this.drivers.splice(_,1),n.data.success?t.showNotification({type:"success",message:o.t("settings.exchange_rate.deleted_message")}):t.showNotification({type:"error",message:o.t("settings.exchange_rate.error")}),a(n)}).catch(n=>{g(n),e(n)})})},fetchCurrencies(s){return new Promise((a,e)=>{f.get("/api/v1/supported-currencies",{params:s}).then(n=>{this.supportedCurrencies=n.data.supportedCurrencies,a(n)}).catch(n=>{g(n),e(n)})})},fetchActiveCurrency(s){return new Promise((a,e)=>{f.get("/api/v1/used-currencies",{params:s}).then(n=>{this.activeUsedCurrencies=n.data.activeUsedCurrencies,a(n)}).catch(n=>{g(n),e(n)})})},fetchBulkCurrencies(){return new Promise((s,a)=>{f.get("/api/v1/currencies/used").then(e=>{this.bulkCurrencies=e.data.currencies.map(n=>(n.exchange_rate=null,n)),s(e)}).catch(e=>{g(e),a(e)})})},updateBulkExchangeRate(s){return new Promise((a,e)=>{f.post("/api/v1/currencies/bulk-update-exchange-rate",s).then(n=>{a(n)}).catch(n=>{g(n),e(n)})})},getCurrentExchangeRate(s){return new Promise((a,e)=>{f.get(`/api/v1/currencies/${s}/exchange-rate`).then(n=>{a(n)}).catch(n=>{e(n)})})},getCurrencyConverterServers(){return new Promise((s,a)=>{f.get("/api/v1/config?key=currency_converter_servers").then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},checkForActiveProvider(s){return new Promise((a,e)=>{f.get(`/api/v1/currencies/${s}/active-provider`).then(n=>{a(n)}).catch(n=>{e(n)})})}}})()};var yt={expense_category_id:null,expense_date:ye().format("YYYY-MM-DD"),amount:100,notes:"",attachment_receipt:null,customer_id:"",currency_id:"",payment_method_id:"",receiptFiles:[],customFields:[],fields:[],in_use:!1,selectedCurrency:null};const My=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"expense",state:()=>({expenses:[],totalExpenses:0,selectAllField:!1,selectedExpenses:[],paymentModes:[],showExchangeRate:!1,currentExpense:M({},yt)}),getters:{getCurrentExpense:t=>t.currentExpense,getSelectedExpenses:t=>t.selectedExpenses},actions:{resetCurrentExpenseData(){this.currentExpense=M({},yt)},fetchExpenses(t){return new Promise((s,a)=>{f.get("/api/v1/expenses",{params:t}).then(e=>{this.expenses=e.data.data,this.totalExpenses=e.data.meta.expense_total_count,s(e)}).catch(e=>{g(e),a(e)})})},fetchExpense(t){return new Promise((s,a)=>{f.get(`/api/v1/expenses/${t}`).then(e=>{e.data&&(Object.assign(this.currentExpense,e.data.data),this.currentExpense.selectedCurrency=e.data.data.currency,e.data.data.attachment_receipt?Ce.isImageFile(e.data.data.attachment_receipt_meta.mime_type)?this.currentExpense.receiptFiles=[{image:`/expenses/${t}/receipt`}]:this.currentExpense.receiptFiles=[{type:"document",name:e.data.data.attachment_receipt_meta.file_name}]:this.currentExpense.receiptFiles=[]),s(e)}).catch(e=>{g(e),a(e)})})},addExpense(t){const s=Ce.toFormData(t);return new Promise((a,e)=>{f.post("/api/v1/expenses",s).then(n=>{this.expenses.push(n.data),E().showNotification({type:"success",message:o.t("expenses.created_message")}),a(n)}).catch(n=>{g(n),e(n)})})},updateExpense({id:t,data:s}){const a=E(),e=Ce.toFormData(s);return e.append("_method","PUT"),new Promise(n=>{f.post(`/api/v1/expenses/${t}`,e).then(_=>{let u=this.expenses.findIndex(y=>y.id===_.data.id);this.expenses[u]=s.expense,a.showNotification({type:"success",message:o.t("expenses.updated_message")}),n(_)})}).catch(n=>{g(n),reject(n)})},setSelectAllState(t){this.selectAllField=t},selectExpense(t){this.selectedExpenses=t,this.selectedExpenses.length===this.expenses.length?this.selectAllField=!0:this.selectAllField=!1},selectAllExpenses(t){if(this.selectedExpenses.length===this.expenses.length)this.selectedExpenses=[],this.selectAllField=!1;else{let s=this.expenses.map(a=>a.id);this.selectedExpenses=s,this.selectAllField=!0}},deleteExpense(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/expenses/delete",t).then(n=>{let _=this.expenses.findIndex(u=>u.id===t);this.expenses.splice(_,1),s.showNotification({type:"success",message:o.tc("expenses.deleted_message",1)}),a(n)}).catch(n=>{g(n),e(n)})})},deleteMultipleExpenses(){const t=E();return new Promise((s,a)=>{f.post("/api/v1/expenses/delete",{ids:this.selectedExpenses}).then(e=>{this.selectedExpenses.forEach(n=>{let _=this.expenses.findIndex(u=>u.id===n.id);this.expenses.splice(_,1)}),t.showNotification({type:"success",message:o.tc("expenses.deleted_message",2)}),s(e)}).catch(e=>{g(e),a(e)})})},fetchPaymentModes(t){return new Promise((s,a)=>{f.get("/api/v1/payment-methods",{params:t}).then(e=>{this.paymentModes=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})}}})()},By=(i=!1)=>{const r=i?window.pinia.defineStore:W,o=te();return r({id:"installation",state:()=>({currentDataBaseData:{database_connection:"mysql",database_hostname:"127.0.0.1",database_port:"3306",database_name:null,database_username:null,database_password:null,app_url:window.location.origin}}),actions:{fetchInstallationRequirements(){return new Promise((t,s)=>{f.get("/api/v1/installation/requirements").then(a=>{t(a)}).catch(a=>{g(a),s(a)})})},fetchInstallationStep(){return new Promise((t,s)=>{f.get("/api/v1/installation/wizard-step").then(a=>{t(a)}).catch(a=>{g(a),s(a)})})},addInstallationStep(t){return new Promise((s,a)=>{f.post("/api/v1/installation/wizard-step",t).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},fetchInstallationPermissions(){return new Promise((t,s)=>{f.get("/api/v1/installation/permissions").then(a=>{t(a)}).catch(a=>{g(a),s(a)})})},fetchInstallationDatabase(t){return new Promise((s,a)=>{f.get("/api/v1/installation/database/config",{params:t}).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},addInstallationDatabase(t){return new Promise((s,a)=>{f.post("/api/v1/installation/database/config",t).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},addInstallationFinish(){return new Promise((t,s)=>{f.post("/api/v1/installation/finish").then(a=>{t(a)}).catch(a=>{g(a),s(a)})})},setInstallationDomain(t){return new Promise((s,a)=>{f.put("/api/v1/installation/set-domain",t).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},installationLogin(){return new Promise((t,s)=>{f.get("/sanctum/csrf-cookie").then(a=>{a&&f.post("/api/v1/installation/login").then(e=>{o.setSelectedCompany(e.data.company),t(e)}).catch(e=>{g(e),s(e)})})})},checkAutheticated(){return new Promise((t,s)=>{f.get("/api/v1/auth/check").then(a=>{t(a)}).catch(a=>{s(a)})})}}})()};var Ye={invoice_id:null,item_id:null,name:"",title:"",description:null,quantity:1,price:0,discount_type:"fixed",discount_val:0,discount:0,total:0,totalTax:0,totalSimpleTax:0,totalCompoundTax:0,tax:0,taxes:[]};function bt(){return{id:null,invoice_number:"",customer:null,customer_id:null,template_name:null,invoice_date:"",due_date:"",notes:"",discount:0,discount_type:"fixed",discount_val:0,reference_number:null,tax:0,sub_total:0,total:0,tax_per_item:null,discount_per_item:null,taxes:[],items:[H(M({},Ye),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]})],customFields:[],fields:[],selectedNote:null,selectedCurrency:""}}const Ne=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n,t=E();return r({id:"invoice",state:()=>({templates:[],invoices:[],selectedInvoices:[],selectAllField:!1,invoiceTotalCount:0,showExchangeRate:!1,isFetchingInitialSettings:!1,isFetchingInvoice:!1,newInvoice:M({},bt())}),getters:{getInvoice:s=>a=>{let e=parseInt(a);return s.invoices.find(n=>n.id===e)},getSubTotal(){return this.newInvoice.items.reduce(function(s,a){return s+a.total},0)},getTotalSimpleTax(){return ie.sumBy(this.newInvoice.taxes,function(s){return s.compound_tax?0:s.amount})},getTotalCompoundTax(){return ie.sumBy(this.newInvoice.taxes,function(s){return s.compound_tax?s.amount:0})},getTotalTax(){return this.newInvoice.tax_per_item==="NO"||this.newInvoice.tax_per_item===null?this.getTotalSimpleTax+this.getTotalCompoundTax:ie.sumBy(this.newInvoice.items,function(s){return s.tax})},getSubtotalWithDiscount(){return this.getSubTotal-this.newInvoice.discount_val},getTotal(){return this.getSubtotalWithDiscount+this.getTotalTax},isEdit:s=>!!s.newInvoice.id},actions:{resetCurrentInvoice(){this.newInvoice=M({},bt())},previewInvoice(s){return new Promise((a,e)=>{f.get(`/api/v1/invoices/${s.id}/send/preview`,{params:s}).then(n=>{a(n)}).catch(n=>{g(n),e(n)})})},fetchInvoices(s){return new Promise((a,e)=>{f.get("/api/v1/invoices",{params:s}).then(n=>{this.invoices=n.data.data,this.invoiceTotalCount=n.data.meta.invoice_total_count,a(n)}).catch(n=>{g(n),e(n)})})},fetchInvoice(s){return new Promise((a,e)=>{f.get(`/api/v1/invoices/${s}`).then(n=>{Object.assign(this.newInvoice,n.data.data),this.newInvoice.customer=n.data.data.customer,a(n)}).catch(n=>{g(n),e(n)})})},sendInvoice(s){return new Promise((a,e)=>{f.post(`/api/v1/invoices/${s.id}/send`,s).then(n=>{t.showNotification({type:"success",message:o.t("invoices.invoice_sent_successfully")}),a(n)}).catch(n=>{g(n),e(n)})})},addInvoice(s){return new Promise((a,e)=>{f.post("/api/v1/invoices",s).then(n=>{this.invoices=[...this.invoices,n.data.invoice],t.showNotification({type:"success",message:o.t("invoices.created_message")}),a(n)}).catch(n=>{g(n),e(n)})})},deleteInvoice(s){return new Promise((a,e)=>{f.post("/api/v1/invoices/delete",s).then(n=>{let _=this.invoices.findIndex(u=>u.id===s);this.invoices.splice(_,1),t.showNotification({type:"success",message:o.t("invoices.deleted_message",1)}),a(n)}).catch(n=>{g(n),e(n)})})},deleteMultipleInvoices(s){return new Promise((a,e)=>{f.post("/api/v1/invoices/delete",{ids:this.selectedInvoices}).then(n=>{this.selectedInvoices.forEach(_=>{let u=this.invoices.findIndex(y=>y.id===_.id);this.invoices.splice(u,1)}),this.selectedInvoices=[],t.showNotification({type:"success",message:o.tc("invoices.deleted_message",2)}),a(n)}).catch(n=>{g(n),e(n)})})},updateInvoice(s){return new Promise((a,e)=>{f.put(`/api/v1/invoices/${s.id}`,s).then(n=>{let _=this.invoices.findIndex(u=>u.id===n.data.data.id);this.invoices[_]=n.data.data,t.showNotification({type:"success",message:o.t("invoices.updated_message")}),a(n)}).catch(n=>{g(n),e(n)})})},cloneInvoice(s){return new Promise((a,e)=>{f.post(`/api/v1/invoices/${s.id}/clone`,s).then(n=>{t.showNotification({type:"success",message:o.t("invoices.cloned_successfully")}),a(n)}).catch(n=>{g(n),e(n)})})},markAsSent(s){return new Promise((a,e)=>{f.post(`/api/v1/invoices/${s.id}/status`,s).then(n=>{let _=this.invoices.findIndex(u=>u.id===s.id);this.invoices[_]&&(this.invoices[_].status="SENT"),t.showNotification({type:"success",message:o.t("invoices.mark_as_sent_successfully")}),a(n)}).catch(n=>{g(n),e(n)})})},getNextNumber(s,a=!1){return new Promise((e,n)=>{f.get("/api/v1/next-number?key=invoice",{params:s}).then(_=>{a&&(this.newInvoice.invoice_number=_.data.nextNumber),e(_)}).catch(_=>{g(_),n(_)})})},searchInvoice(s){return new Promise((a,e)=>{f.get(`/api/v1/invoices?${s}`).then(n=>{a(n)}).catch(n=>{g(n),e(n)})})},selectInvoice(s){this.selectedInvoices=s,this.selectedInvoices.length===this.invoices.length?this.selectAllField=!0:this.selectAllField=!1},selectAllInvoices(){if(this.selectedInvoices.length===this.invoices.length)this.selectedInvoices=[],this.selectAllField=!1;else{let s=this.invoices.map(a=>a.id);this.selectedInvoices=s,this.selectAllField=!0}},selectCustomer(s){return new Promise((a,e)=>{f.get(`/api/v1/customers/${s}`).then(n=>{this.newInvoice.customer=n.data.data,this.newInvoice.customer_id=n.data.data.id,a(n)}).catch(n=>{g(n),e(n)})})},fetchInvoiceTemplates(s){return new Promise((a,e)=>{f.get("/api/v1/invoices/templates",{params:s}).then(n=>{this.templates=n.data.invoiceTemplates,a(n)}).catch(n=>{g(n),e(n)})})},selectNote(s){this.newInvoice.selectedNote=null,this.newInvoice.selectedNote=s},setTemplate(s){this.newInvoice.template_name=s},resetSelectedCustomer(){this.newInvoice.customer=null,this.newInvoice.customer_id=null},addItem(){this.newInvoice.items.push(H(M({},Ye),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]}))},updateItem(s){Object.assign(this.newInvoice.items[s.index],M({},s))},removeItem(s){this.newInvoice.items.splice(s,1)},deselectItem(s){this.newInvoice.items[s]=H(M({},Ye),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]})},resetSelectedNote(){this.newInvoice.selectedNote=null},async fetchInvoiceInitialSettings(s){const a=te(),e=ze(),n=Ae(),_=Fe(),u=oe();if(this.isFetchingInitialSettings=!0,this.newInvoice.selectedCurrency=a.selectedCompanyCurrency,u.query.customer){let z=await e.fetchCustomer(u.query.customer);this.newInvoice.customer=z.data.data,this.newInvoice.customer_id=z.data.data.id}let y=[];s?y=[this.fetchInvoice(u.params.id)]:(this.newInvoice.tax_per_item=a.selectedCompanySettings.tax_per_item,this.newInvoice.discount_per_item=a.selectedCompanySettings.discount_per_item,this.newInvoice.invoice_date=ye().format("YYYY-MM-DD"),this.newInvoice.due_date=ye().add(7,"days").format("YYYY-MM-DD")),Promise.all([n.fetchItems({filter:{},orderByField:"",orderBy:""}),this.resetSelectedNote(),this.fetchInvoiceTemplates(),this.getNextNumber(),_.fetchTaxTypes({limit:"all"}),...y]).then(async([z,b,h,x,j,R])=>{s||(x.data&&(this.newInvoice.invoice_number=x.data.nextNumber),h.data&&this.setTemplate(this.templates[0].name)),this.isFetchingInitialSettings=!1}).catch(z=>{g(z),reject(z)})}}})()},Vy=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"mail-driver",state:()=>({mailConfigData:null,mail_driver:"smtp",mail_drivers:[],basicMailConfig:{mail_driver:"",mail_host:"",from_mail:"",from_name:""},mailgunConfig:{mail_driver:"",mail_mailgun_domain:"",mail_mailgun_secret:"",mail_mailgun_endpoint:"",from_mail:"",from_name:""},sesConfig:{mail_driver:"",mail_host:"",mail_port:null,mail_ses_key:"",mail_ses_secret:"",mail_encryption:"tls",from_mail:"",from_name:""},smtpConfig:{mail_driver:"",mail_host:"",mail_port:null,mail_username:"",mail_password:"",mail_encryption:"tls",from_mail:"",from_name:""}}),actions:{fetchMailDrivers(){return new Promise((t,s)=>{f.get("/api/v1/mail/drivers").then(a=>{a.data&&(this.mail_drivers=a.data),t(a)}).catch(a=>{g(a),s(a)})})},fetchMailConfig(){return new Promise((t,s)=>{f.get("/api/v1/mail/config").then(a=>{a.data&&(this.mailConfigData=a.data,this.mail_driver=a.data.mail_driver),t(a)}).catch(a=>{g(a),s(a)})})},updateMailConfig(t){return new Promise((s,a)=>{f.post("/api/v1/mail/config",t).then(e=>{const n=E();e.data.success?n.showNotification({type:"success",message:o.t("wizard.success."+e.data.success)}):n.showNotification({type:"error",message:o.t("wizard.errors."+e.data.error)}),s(e)}).catch(e=>{g(e),a(e)})})},sendTestMail(t){return new Promise((s,a)=>{f.post("/api/v1/mail/test",t).then(e=>{const n=E();e.data.success?n.showNotification({type:"success",message:o.t("general.send_mail_successfully")}):n.showNotification({type:"error",message:o.t("validation.something_went_wrong")}),s(e)}).catch(e=>{g(e),a(e)})})}}})()},me=(i=!1)=>(i?window.pinia.defineStore:W)({id:"modal",state:()=>({active:!1,content:"",title:"",componentName:"",id:"",size:"md",data:null,refreshData:null,variant:""}),getters:{isEdit(){return!!this.id}},actions:{openModal(o){this.componentName=o.componentName,this.active=!0,o.id&&(this.id=o.id),this.title=o.title,o.data&&(this.data=o.data),o.refreshData&&(this.refreshData=o.refreshData),o.variant&&(this.variant=o.variant),o.size&&(this.size=o.size)},resetModalData(){this.content="",this.title="",this.componentName="",this.id="",this.data=null,this.refreshData=null},closeModal(){this.active=!1,setTimeout(()=>{this.resetModalData()},300)}}})(),Oy=(i=!1)=>(i?window.pinia.defineStore:W)({id:"notes",state:()=>({notes:[],currentNote:{id:null,type:"",name:"",notes:""}}),getters:{isEdit:o=>!!o.currentNote.id},actions:{resetCurrentNote(){this.currentNote={type:"",name:"",notes:""}},fetchNotes(o){return new Promise((t,s)=>{f.get("/api/v1/notes",{params:o}).then(a=>{this.notes=a.data.data,t(a)}).catch(a=>{g(a),s(a)})})},fetchNote(o){return new Promise((t,s)=>{f.get(`/api/v1/notes/${o}`).then(a=>{this.currentNote=a.data.data,t(a)}).catch(a=>{g(a),s(a)})})},addNote(o){return new Promise((t,s)=>{f.post("/api/v1/notes",o).then(a=>{this.notes.push(a.data),t(a)}).catch(a=>{g(a),s(a)})})},updateNote(o){return new Promise((t,s)=>{f.put(`/api/v1/notes/${o.id}`,o).then(a=>{if(a.data){let e=this.notes.findIndex(n=>n.id===a.data.data.id);this.notes[e]=o.notes}t(a)}).catch(a=>{g(a),s(a)})})},deleteNote(o){return new Promise((t,s)=>{f.delete(`/api/v1/notes/${o}`).then(a=>{let e=this.notes.findIndex(n=>n.id===o);this.notes.splice(e,1),t(a)}).catch(a=>{g(a),s(a)})})}}})();var kt={maxPayableAmount:Number.MAX_SAFE_INTEGER,selectedCustomer:"",currency:null,currency_id:"",customer_id:"",payment_number:"",payment_date:"",amount:0,invoice_id:"",notes:"",payment_method_id:"",customFields:[],fields:[]};const Ly=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"payment",state:()=>({payments:[],paymentTotalCount:0,selectAllField:!1,selectedPayments:[],selectedNote:null,showExchangeRate:!1,currentPayment:M({},kt),paymentModes:[],currentPaymentMode:{id:"",name:null},isFetchingInitialData:!1}),actions:{fetchPaymentInitialData(t){const s=te(),a=oe();this.isFetchingInitialData=!0;let e=[];t&&(e=[this.fetchPayment(a.params.id)]),Promise.all([this.fetchPaymentModes({limit:"all"}),this.getNextNumber(),...e]).then(async([n,_,u])=>{t?u.data.data.invoice&&(this.currentPayment.maxPayableAmount=parseInt(u.data.data.invoice.due_amount)):!t&&_.data&&(this.currentPayment.payment_date=ye().format("YYYY-MM-DD"),this.currentPayment.payment_number=_.data.nextNumber,this.currentPayment.currency=s.selectedCompanyCurrency),this.isFetchingInitialData=!1}).catch(n=>{g(n)})},fetchPayments(t){return new Promise((s,a)=>{f.get("/api/v1/payments",{params:t}).then(e=>{this.payments=e.data.data,this.paymentTotalCount=e.data.meta.payment_total_count,s(e)}).catch(e=>{g(e),a(e)})})},fetchPayment(t){return new Promise((s,a)=>{f.get(`/api/v1/payments/${t}`).then(e=>{Object.assign(this.currentPayment,e.data.data),s(e)}).catch(e=>{g(e),a(e)})})},addPayment(t){return new Promise((s,a)=>{f.post("/api/v1/payments",t).then(e=>{this.payments.push(e.data),E().showNotification({type:"success",message:o.t("payments.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},updatePayment(t){return new Promise((s,a)=>{f.put(`/api/v1/payments/${t.id}`,t).then(e=>{if(e.data){let n=this.payments.findIndex(u=>u.id===e.data.data.id);this.payments[n]=t.payment,E().showNotification({type:"success",message:o.t("payments.updated_message")})}s(e)}).catch(e=>{g(e),a(e)})})},deletePayment(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/payments/delete",t).then(n=>{let _=this.payments.findIndex(u=>u.id===t);this.payments.splice(_,1),s.showNotification({type:"success",message:o.t("payments.deleted_message",1)}),a(n)}).catch(n=>{g(n),e(n)})})},deleteMultiplePayments(){const t=E();return new Promise((s,a)=>{f.post("/api/v1/payments/delete",{ids:this.selectedPayments}).then(e=>{this.selectedPayments.forEach(n=>{let _=this.payments.findIndex(u=>u.id===n.id);this.payments.splice(_,1)}),t.showNotification({type:"success",message:o.tc("payments.deleted_message",2)}),s(e)}).catch(e=>{g(e),a(e)})})},setSelectAllState(t){this.selectAllField=t},selectPayment(t){this.selectedPayments=t,this.selectedPayments.length===this.payments.length?this.selectAllField=!0:this.selectAllField=!1},selectAllPayments(){if(this.selectedPayments.length===this.payments.length)this.selectedPayments=[],this.selectAllField=!1;else{let t=this.payments.map(s=>s.id);this.selectedPayments=t,this.selectAllField=!0}},selectNote(t){this.selectedNote=null,this.selectedNote=t},resetSelectedNote(t){this.selectedNote=null},searchPayment(t){return new Promise((s,a)=>{f.get("/api/v1/payments",{params:t}).then(e=>{this.payments=e.data,s(e)}).catch(e=>{g(e),a(e)})})},previewPayment(t){return new Promise((s,a)=>{f.get(`/api/v1/payments/${t.id}/send/preview`,{params:t}).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},sendEmail(t){return new Promise((s,a)=>{f.post(`/api/v1/payments/${t.id}/send`,t).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},getNextNumber(t,s=!1){return new Promise((a,e)=>{window.axios.get("/api/v1/next-number?key=payment",{params:t}).then(n=>{s&&(this.currentPayment.payment_number=n.data.nextNumber),a(n)}).catch(n=>{g(n),e(n)})})},resetCurrentPayment(){this.currentPayment=M({},kt)},fetchPaymentModes(t){return new Promise((s,a)=>{f.get("/api/v1/payment-methods",{params:t}).then(e=>{this.paymentModes=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},fetchPaymentMode(t){return new Promise((s,a)=>{f.get(`/api/v1/payment-methods/${t}`).then(e=>{this.currentPaymentMode=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},addPaymentMode(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/payment-methods",t).then(n=>{this.paymentModes.push(n.data.data),s.showNotification({type:"success",message:o.t("settings.payment_modes.payment_mode_added")}),a(n)}).catch(n=>{g(n),e(n)})})},updatePaymentMode(t){const s=E();return new Promise((a,e)=>{f.put(`/api/v1/payment-methods/${t.id}`,t).then(n=>{if(n.data){let _=this.paymentModes.findIndex(u=>u.id===n.data.data.id);this.paymentModes[_]=t.paymentModes,s.showNotification({type:"success",message:o.t("settings.payment_modes.payment_mode_updated")})}a(n)}).catch(n=>{g(n),e(n)})})},deletePaymentMode(t){const s=E();return new Promise((a,e)=>{f.delete(`/api/v1/payment-methods/${t}`).then(n=>{let _=this.paymentModes.findIndex(u=>u.id===t);this.paymentModes.splice(_,1),n.data.success&&s.showNotification({type:"success",message:o.t("settings.payment_modes.deleted_message")}),a(n)}).catch(n=>{g(n),e(n)})})}}})()};var Je={recurring_invoice_id:null,item_id:null,name:"",title:"",description:null,quantity:1,price:0,discount_type:"fixed",discount_val:0,discount:0,total:0,totalTax:0,totalSimpleTax:0,totalCompoundTax:0,tax:0,taxes:[]};function wt(){return{currency:null,customer:null,customer_id:null,invoice_template_id:1,sub_total:0,total:0,tax:0,notes:"",discount_type:"fixed",discount_val:0,discount:0,starts_at:null,send_automatically:!0,status:"ACTIVE",company_id:null,next_invoice_at:null,next_invoice_date:null,frequency:"0 0 * * 0",limit_count:null,limit_by:"NONE",limit_date:null,exchange_rate:null,tax_per_item:null,discount_per_item:null,template_name:null,items:[H(M({},Je),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]})],taxes:[],customFields:[],fields:[],invoices:[],selectedNote:null,selectedFrequency:{label:"Every Week",value:"0 0 * * 0"},selectedInvoice:null}}const xt=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"recurring-invoice",state:()=>({templates:[],recurringInvoices:[],selectedRecurringInvoices:[],totalRecurringInvoices:0,isFetchingInitialSettings:!1,isFetchingViewData:!1,showExchangeRate:!1,selectAllField:!1,newRecurringInvoice:M({},wt()),frequencies:[{label:"Every Minute",value:"* * * * *"},{label:"Every 30 Minute",value:"*/30 * * * *"},{label:"Every Hour",value:"0 * * * *"},{label:"Every 2 Hour",value:"0 */2 * * *"},{label:"Twice A Day",value:"0 13-15 * * *"},{label:"Every Week",value:"0 0 * * 0"},{label:"Every 15 Days",value:"0 5 */15 * *"},{label:"First Day Of Month",value:"0 0 1 * *"},{label:"Every 6 Month",value:"0 0 1 */6 *"},{label:"Every Year",value:"0 0 1 1 *"},{label:"Custom",value:"CUSTOM"}]}),getters:{getSubTotal(){var t;return((t=this.newRecurringInvoice)==null?void 0:t.items.reduce(function(s,a){return s+a.total},0))||0},getTotalSimpleTax(){return ie.sumBy(this.newRecurringInvoice.taxes,function(t){return t.compound_tax?0:t.amount})},getTotalCompoundTax(){return ie.sumBy(this.newRecurringInvoice.taxes,function(t){return t.compound_tax?t.amount:0})},getTotalTax(){return this.newRecurringInvoice.tax_per_item==="NO"||this.newRecurringInvoice.tax_per_item===null?this.getTotalSimpleTax+this.getTotalCompoundTax:ie.sumBy(this.newRecurringInvoice.items,function(t){return t.tax})},getSubtotalWithDiscount(){return this.getSubTotal-this.newRecurringInvoice.discount_val},getTotal(){return this.getSubtotalWithDiscount+this.getTotalTax}},actions:{resetCurrentRecurringInvoice(){this.newRecurringInvoice=M({},wt())},deselectItem(t){this.newRecurringInvoice.items[t]=H(M({},Je),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]})},addRecurringInvoice(t){return new Promise((s,a)=>{axios.post("/api/v1/recurring-invoices",t).then(e=>{this.recurringInvoices=[...this.recurringInvoices,e.data.recurringInvoice],E().showNotification({type:"success",message:o.t("recurring_invoices.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},fetchRecurringInvoice(t){return new Promise((s,a)=>{this.isFetchingViewData=!0,axios.get(`/api/v1/recurring-invoices/${t}`).then(e=>{Object.assign(this.newRecurringInvoice,e.data.data),this.newRecurringInvoice.invoices=e.data.data.invoices||[],this.setSelectedFrequency(),this.isFetchingViewData=!1,s(e)}).catch(e=>{this.isFetchingViewData=!1,g(e),a(e)})})},updateRecurringInvoice(t){return new Promise((s,a)=>{axios.put(`/api/v1/recurring-invoices/${t.id}`,t).then(e=>{s(e),E().showNotification({type:"success",message:o.t("recurring_invoices.updated_message")});let _=this.recurringInvoices.findIndex(u=>u.id===e.data.data.id);this.recurringInvoices[_]=e.data.data}).catch(e=>{g(e),a(e)})})},selectCustomer(t){return new Promise((s,a)=>{axios.get(`/api/v1/customers/${t}`).then(e=>{this.newRecurringInvoice.customer=e.data.data,this.newRecurringInvoice.customer_id=e.data.data.id,s(e)}).catch(e=>{g(e),a(e)})})},searchRecurringInvoice(t){return new Promise((s,a)=>{axios.get(`/api/v1/recurring-invoices?${t}`).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},fetchRecurringInvoices(t){return new Promise((s,a)=>{axios.get("/api/v1/recurring-invoices",{params:t}).then(e=>{this.recurringInvoices=e.data.data,this.totalRecurringInvoices=e.data.meta.recurring_invoice_total_count,s(e)}).catch(e=>{g(e),a(e)})})},deleteRecurringInvoice(t){return new Promise((s,a)=>{axios.post("/api/v1/recurring-invoices/delete",t).then(e=>{let n=this.recurringInvoices.findIndex(_=>_.id===t);this.recurringInvoices.splice(n,1),s(e)}).catch(e=>{g(e),a(e)})})},deleteMultipleRecurringInvoices(t){return new Promise((s,a)=>{let e=this.selectedRecurringInvoices;t&&(e=[t]),axios.post("/api/v1/recurring-invoices/delete",{ids:e}).then(n=>{this.selectedRecurringInvoices.forEach(_=>{let u=this.recurringInvoices.findIndex(y=>y.id===_.id);this.recurringInvoices.splice(u,1)}),this.selectedRecurringInvoices=[],s(n)}).catch(n=>{g(n),a(n)})})},resetSelectedCustomer(){this.newRecurringInvoice.customer=null,this.newRecurringInvoice.customer_id=""},selectRecurringInvoice(t){this.selectedRecurringInvoices=t,this.selectedRecurringInvoices.length===this.recurringInvoices.length?this.selectAllField=!0:this.selectAllField=!1},selectAllRecurringInvoices(){if(this.selectedRecurringInvoices.length===this.recurringInvoices.length)this.selectedRecurringInvoices=[],this.selectAllField=!1;else{let t=this.recurringInvoices.map(s=>s.id);this.selectedRecurringInvoices=t,this.selectAllField=!0}},addItem(){this.newRecurringInvoice.items.push(H(M({},Je),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]}))},removeItem(t){this.newRecurringInvoice.items.splice(t,1)},updateItem(t){Object.assign(this.newRecurringInvoice.items[t.index],M({},t))},async fetchRecurringInvoiceInitialSettings(t){const s=te(),a=ze(),e=Ae(),n=Ne(),_=Fe(),u=oe();if(this.isFetchingInitialSettings=!0,this.newRecurringInvoice.currency=s.selectedCompanyCurrency,u.query.customer){let z=await a.fetchCustomer(u.query.customer);this.newRecurringInvoice.customer=z.data.data,this.selectCustomer(z.data.data.id)}let y=[];t?y=[this.fetchRecurringInvoice(u.params.id)]:(this.newRecurringInvoice.tax_per_item=s.selectedCompanySettings.tax_per_item,this.newRecurringInvoice.discount_per_item=s.selectedCompanySettings.discount_per_item,this.newRecurringInvoice.starts_at=ye().format("YYYY-MM-DD"),this.newRecurringInvoice.next_invoice_date=ye().add(7,"days").format("YYYY-MM-DD")),Promise.all([e.fetchItems({filter:{},orderByField:"",orderBy:""}),this.resetSelectedNote(),n.fetchInvoiceTemplates(),_.fetchTaxTypes({limit:"all"}),...y]).then(async([z,b,h,x,j])=>{var R,T;h.data&&(this.templates=n.templates),t||this.setTemplate(this.templates[0].name),t&&(j==null?void 0:j.data)&&(M({},j.data.data),this.setTemplate((T=(R=j==null?void 0:j.data)==null?void 0:R.data)==null?void 0:T.template_name)),this.isFetchingInitialSettings=!1}).catch(z=>{g(z)})},setTemplate(t){this.newRecurringInvoice.template_name=t},setSelectedFrequency(){let t=this.frequencies.find(s=>s.value===this.newRecurringInvoice.frequency);t?this.newRecurringInvoice.selectedFrequency=t:this.newRecurringInvoice.selectedFrequency={label:"Custom",value:"CUSTOM"}},resetSelectedNote(){this.newRecurringInvoice.selectedNote=null},fetchRecurringInvoiceFrequencyDate(t){return new Promise((s,a)=>{axios.get("/api/v1/recurring-invoice-frequency",{params:t}).then(e=>{this.newRecurringInvoice.next_invoice_at=e.data.next_invoice_at,s(e)}).catch(e=>{E().showNotification({type:"error",message:o.t("errors.enter_valid_cron_format")}),a(e)})})}}})()},Uy=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"role",state:()=>({roles:[],allAbilities:[],selectedRoles:[],currentRole:{id:null,name:"",abilities:[]}}),getters:{isEdit:t=>!!t.currentRole.id,abilitiesList:t=>{let s=t.allAbilities.map(a=>M({modelName:a.model?a.model.substring(a.model.lastIndexOf("\\")+1):"Common",disabled:!1},a));return ie.groupBy(s,"modelName")}},actions:{fetchRoles(t){return new Promise((s,a)=>{f.get("/api/v1/roles",{params:t}).then(e=>{this.roles=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},fetchRole(t){return new Promise((s,a)=>{f.get(`/api/v1/roles/${t}`).then(e=>{this.currentRole.name=e.data.data.name,this.currentRole.id=e.data.data.id,e.data.data.abilities.forEach(n=>{for(const _ in this.abilitiesList)this.abilitiesList[_].forEach(u=>{u.ability===n.name&&this.currentRole.abilities.push(u)})}),s(e)}).catch(e=>{g(e),a(e)})})},addRole(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/roles",t).then(n=>{this.roles.push(n.data.role),s.showNotification({type:"success",message:o.t("settings.roles.created_message")}),a(n)}).catch(n=>{g(n),e(n)})})},updateRole(t){const s=E();return new Promise((a,e)=>{f.put(`/api/v1/roles/${t.id}`,t).then(n=>{if(n.data){let _=this.roles.findIndex(u=>u.id===n.data.data.id);this.roles[_]=t.role,s.showNotification({type:"success",message:o.t("settings.roles.updated_message")})}a(n)}).catch(n=>{g(n),e(n)})})},fetchAbilities(t){return new Promise((s,a)=>{this.allAbilities.length?s(this.allAbilities):f.get("/api/v1/abilities",{params:t}).then(e=>{this.allAbilities=e.data.abilities,s(e)}).catch(e=>{g(e),a(e)})})},deleteRole(t){const s=E();return new Promise((a,e)=>{f.delete(`/api/v1/roles/${t}`).then(n=>{let _=this.roles.findIndex(u=>u.id===t);this.roles.splice(_,1),s.showNotification({type:"success",message:o.t("settings.roles.deleted_message")}),a(n)}).catch(n=>{g(n),e(n)})})}}})()},zt=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"users",state:()=>({roles:[],users:[],totalUsers:0,currentUser:null,selectAllField:!1,selectedUsers:[],customerList:[],userList:[],userData:{name:"",email:"",password:null,phone:null,companies:[]}}),actions:{resetUserData(){this.userData={name:"",email:"",password:null,phone:null,role:null,companies:[]}},fetchUsers(t){return new Promise((s,a)=>{f.get("/api/v1/users",{params:t}).then(e=>{this.users=e.data.data,this.totalUsers=e.data.meta.total,s(e)}).catch(e=>{g(e),a(e)})})},fetchUser(t){return new Promise((s,a)=>{f.get(`/api/v1/users/${t}`).then(e=>{var n,_;this.userData=e.data.data,((_=(n=this.userData)==null?void 0:n.companies)==null?void 0:_.length)&&this.userData.companies.forEach((u,y)=>{this.userData.roles.forEach(z=>{z.scope===u.id&&(this.userData.companies[y].role=z.name)})}),s(e)}).catch(e=>{console.log(e),g(e),a(e)})})},fetchRoles(t){return new Promise((s,a)=>{f.get("/api/v1/roles").then(e=>{this.roles=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},addUser(t){return new Promise((s,a)=>{f.post("/api/v1/users",t).then(e=>{this.users.push(e.data),E().showNotification({type:"success",message:o.t("users.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},updateUser(t){return new Promise((s,a)=>{f.put(`/api/v1/users/${t.id}`,t).then(e=>{if(e){let _=this.users.findIndex(u=>u.id===e.data.data.id);this.users[_]=e.data.data}E().showNotification({type:"success",message:o.t("users.updated_message")}),s(e)}).catch(e=>{g(e),a(e)})})},deleteUser(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/users/delete",{users:t.ids}).then(n=>{let _=this.users.findIndex(u=>u.id===t);this.users.splice(_,1),s.showNotification({type:"success",message:o.tc("users.deleted_message",1)}),a(n)}).catch(n=>{g(n),e(n)})})},deleteMultipleUsers(){return new Promise((t,s)=>{f.post("/api/v1/users/delete",{users:this.selectedUsers}).then(a=>{this.selectedUsers.forEach(n=>{let _=this.users.findIndex(u=>u.id===n.id);this.users.splice(_,1)}),E().showNotification({type:"success",message:o.tc("users.deleted_message",2)}),t(a)}).catch(a=>{g(a),s(a)})})},searchUsers(t){return new Promise((s,a)=>{window.axios.get("/api/v1/search",{params:t}).then(e=>{this.userList=e.data.users.data,this.customerList=e.data.customers.data,s(e)}).catch(e=>{g(e),a(e)})})},setSelectAllState(t){this.selectAllField=t},selectUser(t){this.selectedUsers=t,this.selectedUsers.length===this.users.length?this.selectAllField=!0:this.selectAllField=!1},selectAllUsers(){if(this.selectedUsers.length===this.users.length)this.selectedUsers=[],this.selectAllField=!1;else{let t=this.users.map(s=>s.id);this.selectedUsers=t,this.selectAllField=!0}}}})()},Ky=(i=!1)=>(i?window.pinia.defineStore:W)({id:"reset",actions:{clearPinia(){const o=Ty(),t=Iy(),s=te(),a=gt(),e=ze(),n=Ry(),_=ht(),u=Fy(),y=Me(),z=Ge(),b=My(),h=ue(),x=By(),j=Ne(),R=Ae(),T=Vy(),D=me(),k=Oy(),K=E(),U=Ly(),F=xt(),Y=Uy(),J=Fe(),ge=ve(),ae=zt();o.$reset(),t.$reset(),s.$reset(),a.$reset(),e.$reset(),n.$reset(),_.$reset(),u.$reset(),y.$reset(),z.$reset(),b.$reset(),h.$reset(),x.$reset(),j.$reset(),R.$reset(),T.$reset(),D.$reset(),k.$reset(),K.$reset(),U.$reset(),F.$reset(),Y.$reset(),J.$reset(),ge.$reset(),ae.$reset()}}})(),St=(i=!1)=>{const r=i?window.pinia.defineStore:W,o=Ky();return r({id:"auth",state:()=>({status:"",loginData:{email:"",password:"",remember:""}}),actions:{login(t){return new Promise((s,a)=>{f.get("/sanctum/csrf-cookie").then(e=>{e&&f.post("/login",t).then(n=>{s(n),setTimeout(()=>{this.loginData.email="",this.loginData.password=""},1e3)}).catch(n=>{g(n),a(n)})})})},logout(){return new Promise((t,s)=>{f.get("/auth/logout").then(a=>{E().showNotification({type:"success",message:"Logged out successfully."}),Ee.push("/login"),o.clearPinia(),t(a)}).catch(a=>{g(a),Ee.push("/"),s(a)})})}}})()},g=i=>{const r=St(),o=E();if(!i.response)o.showNotification({type:"error",message:"Please check your internet connection or wait until servers are back online."});else if(i.response.data&&(i.response.statusText==="Unauthorized"||i.response.data===" Unauthorized.")){const t=i.response.data.message?i.response.data.message:"Unauthorized";q(t),r.logout()}else if(i.response.data.errors){const t=JSON.parse(JSON.stringify(i.response.data.errors));for(const s in t)Xe(t[s][0])}else i.response.data.error?Xe(i.response.data.error):Xe(i.response.data.message)},Xe=i=>{switch(i){case"These credentials do not match our records.":q("errors.login_invalid_credentials");break;case"invalid_key":q("errors.invalid_provider_key");break;case"This feature is available on Starter plan and onwards!":q("errors.starter_plan");break;case"taxes_attached":q("settings.tax_types.already_in_use");break;case"expense_attached":q("settings.expense_category.already_in_use");break;case"payments_attached":q("settings.payment_modes.already_in_use");break;case"role_attached_to_users":q("settings.roles.already_in_use");break;case"items_attached":q("settings.customization.items.already_in_use");break;case"payment_attached_message":q("invoices.payment_attached_message");break;case"The email has already been taken.":q("validation.email_already_taken");break;case"Relation estimateItems exists.":q("items.item_attached_message");break;case"Relation invoiceItems exists.":q("items.item_attached_message");break;case"Relation taxes exists.":q("settings.tax_types.already_in_use");break;case"Relation taxes exists.":q("settings.tax_types.already_in_use");break;case"Relation payments exists.":q("errors.payment_attached");break;case"The estimate number has already been taken.":q("errors.estimate_number_used");break;case"The payment number has already been taken.":q("errors.estimate_number_used");break;case"The invoice number has already been taken.":q("errors.invoice_number_used");break;case"The name has already been taken.":q("errors.name_already_taken");break;case"total_invoice_amount_must_be_more_than_paid_amount":q("invoices.invalid_due_amount_message");break;case"you_cannot_edit_currency":q("customers.edit_currency_not_allowed");break;case"receipt_does_not_exist":q("errors.receipt_does_not_exist");break;case"customer_cannot_be_changed_after_payment_is_added":q("errors.customer_cannot_be_changed_after_payment_is_added");break;case"invalid_credentials":q("errors.invalid_credentials");break;case"not_allowed":q("errors.not_allowed");break;case"Email could not be sent to this email address.":q("errors.email_could_not_be_sent");break;default:q(i,!1);break}},q=(i,r=!0)=>{const{global:o}=window.i18n;E().showNotification({type:"error",message:r?o.t(i):i})},ve=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"user",state:()=>({currentUser:null,currentAbilities:[],currentUserSettings:{},userForm:{name:"",email:"",password:"",confirm_password:"",language:""}}),getters:{currentAbilitiesCount:t=>t.currentAbilities.length},actions:{updateCurrentUser(t){return new Promise((s,a)=>{f.put("/api/v1/me",t).then(e=>{this.currentUser=e.data.data,Object.assign(this.userForm,e.data.data),E().showNotification({type:"success",message:o.t("settings.account_settings.updated_message")}),s(e)}).catch(e=>{g(e),a(e)})})},fetchCurrentUser(t){return new Promise((s,a)=>{f.get("/api/v1/me",t).then(e=>{this.currentUser=e.data.data,this.userForm=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},uploadAvatar(t){return new Promise((s,a)=>{f.post("/api/v1/me/upload-avatar",t).then(e=>{this.currentUser.avatar=e.data.data.avatar,s(e)}).catch(e=>{g(e),a(e)})})},fetchUserSettings(t){return new Promise((s,a)=>{f.get("/api/v1/me/settings",{params:{settings:t}}).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},updateUserSettings(t){return new Promise((s,a)=>{f.put("/api/v1/me/settings",t).then(e=>{t.settings.language&&(this.currentUserSettings.language=t.settings.language,o.locale=t.settings.language),s(e)}).catch(e=>{g(e),a(e)})})},hasAbilities(t){return!!this.currentAbilities.find(s=>s.name==="*"?!0:typeof t=="string"?s.name===t:!!t.find(a=>s.name===a))},hasAllAbilities(t){let s=!0;return this.currentAbilities.filter(a=>{!!t.find(n=>a.name===n)||(s=!1)}),s}}})()};var qy="/build/img/logo-white.png";const Wy={class:"flex justify-between w-full"},Zy=["onSubmit"],Hy={class:"p-4 mb-16 sm:p-6 space-y-4"},Gy={key:1,class:"flex flex-col items-center"},Yy={class:"z-0 flex justify-end p-4 bg-gray-50 border-modal-bg"},Jy={setup(i){const r=te(),o=me(),t=ue(),{t:s}=be();let a=L(!1),e=L(null),n=L(!1),_=L(null),u=L(null);const y=Te({name:null,currency:"",address:{country_id:null}}),z=N(()=>o.active&&o.componentName==="CompanyModal"),b={newCompanyForm:{name:{required:Q.withMessage(s("validation.required"),je),minLength:Q.withMessage(s("validation.name_min_length",{count:3}),Be(3))},address:{country_id:{required:Q.withMessage(s("validation.required"),je)}},currency:{required:Q.withMessage(s("validation.required"),je)}}},h=Ve(b,{newCompanyForm:y});async function x(){n.value=!0,await t.fetchCurrencies(),await t.fetchCountries(),y.currency=r.selectedCompanyCurrency.id,y.address.country_id=r.selectedCompany.address.country_id,n.value=!1}function j(K,U){u.value=K,_.value=U}function R(){u.value=null,_.value=null}async function T(){if(h.value.newCompanyForm.$touch(),h.value.$invalid)return!0;a.value=!0;try{const K=await r.addNewCompany(y);if(K.data.data){if(await r.setSelectedCompany(K.data.data),_&&_.value){let U=new FormData;U.append("company_logo",JSON.stringify({name:u.value,data:_.value})),await r.updateCompanyLogo(U)}await t.setIsAppLoaded(!1),await t.bootstrap(),k()}a.value=!1}catch{a.value=!1}}function D(){y.name="",y.currency="",y.address.country_id="",h.value.$reset()}function k(){o.closeModal(),setTimeout(()=>{D(),h.value.$reset()},300)}return(K,U)=>{const F=S("BaseIcon"),Y=S("BaseContentPlaceholdersBox"),J=S("BaseContentPlaceholders"),ge=S("BaseFileUploader"),ae=S("BaseInputGroup"),le=S("BaseInput"),Se=S("BaseMultiselect"),Pe=S("BaseInputGrid"),I=S("BaseButton"),ne=S("BaseModal");return c(),$(ne,{show:d(z),onClose:k,onOpen:x},{header:v(()=>[l("div",Wy,[A(w(d(o).title)+" ",1),m(F,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:k})])]),default:v(()=>[l("form",{action:"",onSubmit:se(T,["prevent"])},[l("div",Hy,[m(Pe,{layout:"one-column"},{default:v(()=>[m(ae,{"content-loading":d(n),label:K.$tc("settings.company_info.company_logo")},{default:v(()=>[d(n)?(c(),$(J,{key:0},{default:v(()=>[m(Y,{rounded:!0,class:"w-full h-24"})]),_:1})):(c(),p("div",Gy,[m(ge,{"preview-image":d(e),base64:"",onRemove:R,onChange:j},null,8,["preview-image"])]))]),_:1},8,["content-loading","label"]),m(ae,{label:K.$tc("settings.company_info.company_name"),error:d(h).newCompanyForm.name.$error&&d(h).newCompanyForm.name.$errors[0].$message,"content-loading":d(n),required:""},{default:v(()=>[m(le,{modelValue:d(y).name,"onUpdate:modelValue":U[0]||(U[0]=ce=>d(y).name=ce),invalid:d(h).newCompanyForm.name.$error,"content-loading":d(n),onInput:U[1]||(U[1]=ce=>d(h).newCompanyForm.name.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","error","content-loading"]),m(ae,{"content-loading":d(n),label:K.$tc("settings.company_info.country"),error:d(h).newCompanyForm.address.country_id.$error&&d(h).newCompanyForm.address.country_id.$errors[0].$message,required:""},{default:v(()=>[m(Se,{modelValue:d(y).address.country_id,"onUpdate:modelValue":U[2]||(U[2]=ce=>d(y).address.country_id=ce),"content-loading":d(n),label:"name",invalid:d(h).newCompanyForm.address.country_id.$error,options:d(t).countries,"value-prop":"id","can-deselect":!0,"can-clear":!1,searchable:"","track-by":"name"},null,8,["modelValue","content-loading","invalid","options"])]),_:1},8,["content-loading","label","error"]),m(ae,{label:K.$t("wizard.currency"),error:d(h).newCompanyForm.currency.$error&&d(h).newCompanyForm.currency.$errors[0].$message,"content-loading":d(n),"help-text":K.$t("wizard.currency_set_alert"),required:""},{default:v(()=>[m(Se,{modelValue:d(y).currency,"onUpdate:modelValue":U[3]||(U[3]=ce=>d(y).currency=ce),"content-loading":d(n),options:d(t).currencies,label:"name","value-prop":"id",searchable:!0,"track-by":"name",placeholder:K.$tc("settings.currencies.select_currency"),invalid:d(h).newCompanyForm.currency.$error,class:"w-full"},null,8,["modelValue","content-loading","options","placeholder","invalid"])]),_:1},8,["label","error","content-loading","help-text"])]),_:1})]),l("div",Yy,[m(I,{class:"mr-3 text-sm",variant:"primary-outline",outline:"",type:"button",onClick:k},{default:v(()=>[A(w(K.$t("general.cancel")),1)]),_:1}),m(I,{loading:d(a),disabled:d(a),variant:"primary",type:"submit"},{left:v(ce=>[d(a)?P("",!0):(c(),$(F,{key:0,name:"SaveIcon",class:C(ce.class)},null,8,["class"]))]),default:v(()=>[A(" "+w(K.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,Zy)]),_:1},8,["show"])}}};var O={DASHBOARD:"dashboard",CREATE_CUSTOMER:"create-customer",DELETE_CUSTOMER:"delete-customer",EDIT_CUSTOMER:"edit-customer",VIEW_CUSTOMER:"view-customer",CREATE_ITEM:"create-item",DELETE_ITEM:"delete-item",EDIT_ITEM:"edit-item",VIEW_ITEM:"view-item",CREATE_TAX_TYPE:"create-tax-type",DELETE_TAX_TYPE:"delete-tax-type",EDIT_TAX_TYPE:"edit-tax-type",VIEW_TAX_TYPE:"view-tax-type",CREATE_ESTIMATE:"create-estimate",DELETE_ESTIMATE:"delete-estimate",EDIT_ESTIMATE:"edit-estimate",VIEW_ESTIMATE:"view-estimate",SEND_ESTIMATE:"send-estimate",CREATE_INVOICE:"create-invoice",DELETE_INVOICE:"delete-invoice",EDIT_INVOICE:"edit-invoice",VIEW_INVOICE:"view-invoice",SEND_INVOICE:"send-invoice",CREATE_RECURRING_INVOICE:"create-recurring-invoice",DELETE_RECURRING_INVOICE:"delete-recurring-invoice",EDIT_RECURRING_INVOICE:"edit-recurring-invoice",VIEW_RECURRING_INVOICE:"view-recurring-invoice",CREATE_PAYMENT:"create-payment",DELETE_PAYMENT:"delete-payment",EDIT_PAYMENT:"edit-payment",VIEW_PAYMENT:"view-payment",SEND_PAYMENT:"send-payment",CREATE_EXPENSE:"create-expense",DELETE_EXPENSE:"delete-expense",EDIT_EXPENSE:"edit-expense",VIEW_EXPENSE:"view-expense",CREATE_CUSTOM_FIELDS:"create-custom-field",DELETE_CUSTOM_FIELDS:"delete-custom-field",EDIT_CUSTOM_FIELDS:"edit-custom-field",VIEW_CUSTOM_FIELDS:"view-custom-field",CREATE_ROLE:"create-role",DELETE_ROLE:"delete-role",EDIT_ROLE:"edit-role",VIEW_ROLE:"view-role",VIEW_EXCHANGE_RATE:"view-exchange-rate-provider",CREATE_EXCHANGE_RATE:"create-exchange-rate-provider",EDIT_EXCHANGE_RATE:"edit-exchange-rate-provider",DELETE_EXCHANGE_RATE:"delete-exchange-rate-provider",VIEW_FINANCIAL_REPORT:"view-financial-reports",MANAGE_NOTE:"manage-all-notes",VIEW_NOTE:"view-all-notes"};const Xy={key:0,class:"w-16 text-sm font-medium truncate sm:w-auto"},Qy={key:0,class:"absolute right-0 mt-2 bg-white rounded-md shadow-lg"},eb={class:"overflow-y-auto scrollbar-thin scrollbar-thumb-rounded-full w-[250px] max-h-[350px] scrollbar-thumb-gray-300 scrollbar-track-gray-10 pb-4"},tb={class:"px-3 py-2 text-xs font-semibold text-gray-400 mb-0.5 block uppercase"},ab={key:0,class:"flex flex-col items-center justify-center p-2 px-3 mt-4 text-base text-gray-400"},sb={key:1},nb={key:0},ib=["onClick"],ob={class:"flex items-center"},rb={class:"flex items-center justify-center mr-3 overflow-hidden text-base font-semibold bg-gray-200 rounded-md w-9 h-9 text-primary-500"},db={key:0},lb=["src"],cb={class:"flex flex-col"},_b={class:"text-sm"},ub={class:"font-medium"},mb={setup(i){const r=te(),o=me(),t=oe(),s=Oe(),a=ue(),{t:e}=be(),n=ve(),_=L(!1),u=L(""),y=L(null);fe(t,()=>{_.value=!1,u.value=""}),it(y,()=>{_.value=!1});function z(x){if(x)return x.split(" ")[0].charAt(0).toUpperCase()}function b(){o.openModal({title:e("company_switcher.new_company"),componentName:"CompanyModal",size:"sm"})}async function h(x){await r.setSelectedCompany(x),s.push("/admin/dashboard"),await a.setIsAppLoaded(!1),await a.bootstrap()}return(x,j)=>{const R=S("BaseIcon");return c(),p("div",{ref:(T,D)=>{D.companySwitchBar=T,y.value=T},class:"relative rounded"},[m(Jy),l("div",{class:"flex items-center justify-center px-3 h-8 md:h-9 ml-2 text-sm text-white bg-white rounded cursor-pointer bg-opacity-20",onClick:j[0]||(j[0]=T=>_.value=!_.value)},[d(r).selectedCompany?(c(),p("span",Xy,w(d(r).selectedCompany.name),1)):P("",!0),m(R,{name:"ChevronDownIcon",class:"h-5 ml-1 text-white"})]),m(De,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"translate-y-1 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-1 opacity-0"},{default:v(()=>[_.value?(c(),p("div",Qy,[l("div",eb,[l("label",tb,w(x.$t("company_switcher.label")),1),d(r).companies.length<1?(c(),p("div",ab,[m(R,{name:"ExclamationCircleIcon",class:"h-5 text-gray-400"}),A(" "+w(x.$t("company_switcher.no_results_found")),1)])):(c(),p("div",sb,[d(r).companies.length>0?(c(),p("div",nb,[(c(!0),p(Z,null,G(d(r).companies,(T,D)=>(c(),p("div",{key:D,class:C(["p-2 px-3 rounded-md cursor-pointer hover:bg-gray-100 hover:text-primary-500",{"bg-gray-100 text-primary-500":d(r).selectedCompany.id===T.id}]),onClick:k=>h(T)},[l("div",ob,[l("span",rb,[T.logo?(c(),p("img",{key:1,src:T.logo,alt:"Company logo",class:"w-full h-full object-contain"},null,8,lb)):(c(),p("span",db,w(z(T.name)),1))]),l("div",cb,[l("span",_b,w(T.name),1)])])],10,ib))),128))])):P("",!0)]))]),d(n).currentUser.is_owner?(c(),p("div",{key:0,class:"flex items-center justify-center p-4 pl-3 border-t-2 border-gray-100 cursor-pointer text-primary-400 hover:text-primary-500",onClick:b},[m(R,{name:"PlusIcon",class:"h-5 mr-2"}),l("span",ub,w(x.$t("company_switcher.add_new_company")),1)])):P("",!0)])):P("",!0)]),_:1})],512)}}},pb={},gb={class:"animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},fb=l("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),hb=l("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1),vb=[fb,hb];function yb(i,r){return c(),p("svg",gb,vb)}var Pt=ee(pb,[["render",yb]]);const bb={key:0,class:"scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-gray-300 scrollbar-track-gray-100 overflow-y-auto bg-white rounded-md mt-2 shadow-lg p-3 absolute w-[300px] h-[200px] right-0"},kb={key:0,class:"flex items-center justify-center text-gray-400 text-base flex-col mt-4"},wb={key:1},xb={key:0},zb={class:"text-sm text-gray-400 mb-0.5 block px-2 uppercase"},Sb={class:"flex items-center justify-center w-9 h-9 mr-3 text-base font-semibold bg-gray-200 rounded-full text-primary-500"},Pb={class:"flex flex-col"},jb={class:"text-sm"},Db={key:0,class:"text-xs text-gray-400"},Cb={key:1,class:"text-xs text-gray-400"},Ab={key:1,class:"mt-2"},Nb={class:"text-sm text-gray-400 mb-2 block px-2 mb-0.5 uppercase"},Eb={class:"flex items-center justify-center w-9 h-9 mr-3 text-base font-semibold bg-gray-200 rounded-full text-primary-500"},Tb={class:"flex flex-col"},Ib={class:"text-sm"},$b={class:"text-xs text-gray-400"},Rb={setup(i){const r=zt(),o=L(!1),t=L(""),s=L(null),a=L(!1),e=oe();fe(e,()=>{o.value=!1,t.value=""}),n=nt.exports.debounce(n,500),it(s,()=>{o.value=!1,t.value=""});function n(){let u={search:t.value};t.value&&(a.value=!0,r.searchUsers(u).then(()=>{o.value=!0}),a.value=!1),t.value===""&&(o.value=!1)}function _(u){if(u)return u.split(" ")[0].charAt(0).toUpperCase()}return(u,y)=>{const z=S("BaseIcon"),b=S("BaseInput"),h=S("router-link");return c(),p("div",{ref:(x,j)=>{j.searchBar=x,s.value=x},class:"hidden rounded md:block relative"},[l("div",null,[m(b,{modelValue:t.value,"onUpdate:modelValue":y[0]||(y[0]=x=>t.value=x),placeholder:"Search...","container-class":"!rounded",class:"h-8 md:h-9 !rounded",onInput:n},{left:v(()=>[m(z,{name:"SearchIcon",class:"text-gray-400"})]),right:v(()=>[a.value?(c(),$(Pt,{key:0,class:"h-5 text-primary-500"})):P("",!0)]),_:1},8,["modelValue"])]),m(De,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"translate-y-1 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-1 opacity-0"},{default:v(()=>[o.value?(c(),p("div",bb,[d(r).userList.length<1&&d(r).customerList.length<1?(c(),p("div",kb,[m(z,{name:"ExclamationCircleIcon",class:"text-gray-400"}),A(" "+w(u.$t("global_search.no_results_found")),1)])):(c(),p("div",wb,[d(r).customerList.length>0?(c(),p("div",xb,[l("label",zb,w(u.$t("global_search.customers")),1),(c(!0),p(Z,null,G(d(r).customerList,(x,j)=>(c(),p("div",{key:j,class:"p-2 hover:bg-gray-100 cursor-pointer rounded-md"},[m(h,{to:{path:`/admin/customers/${x.id}/view`},class:"flex items-center"},{default:v(()=>[l("span",Sb,w(_(x.name)),1),l("div",Pb,[l("span",jb,w(x.name),1),x.contact_name?(c(),p("span",Db,w(x.contact_name),1)):(c(),p("span",Cb,w(x.email),1))])]),_:2},1032,["to"])]))),128))])):P("",!0),d(r).userList.length>0?(c(),p("div",Ab,[l("label",Nb,w(u.$t("global_search.users")),1),(c(!0),p(Z,null,G(d(r).userList,(x,j)=>(c(),p("div",{key:j,class:"p-2 hover:bg-gray-100 cursor-pointer rounded-md"},[m(h,{to:{path:`users/${x.id}/view`},class:"flex items-center"},{default:v(()=>[l("span",Eb,w(_(x.name)),1),l("div",Tb,[l("span",Ib,w(x.name),1),l("span",$b,w(x.email),1)])]),_:2},1032,["to"])]))),128))])):P("",!0)]))])):P("",!0)]),_:1})],512)}}},Fb={class:"fixed top-0 left-0 z-20 flex items-center justify-between w-full px-4 py-3 md:h-16 md:px-8 bg-gradient-to-r from-primary-500 to-primary-400"},Mb=l("img",{id:"logo-white",src:qy,alt:"Crater Logo",class:"h-6"},null,-1),Bb=["onClick"],Vb={class:"flex float-right h-8 m-0 list-none md:h-9"},Ob={key:0,class:"relative hidden float-left m-0 md:block"},Lb={class:"flex items-center justify-center w-8 h-8 ml-2 text-sm text-black bg-white rounded md:h-9 md:w-9"},Ub={class:"ml-2"},Kb={class:"relative block float-left ml-2"},qb=["src"],Wb=A(" Logout "),Zb={setup(i){const r=St(),o=ve(),t=ue(),s=Oe(),a=N(()=>o.currentUser&&o.currentUser.avatar!==0?o.currentUser.avatar:e());function e(){return new URL("/build/img/default-avatar.jpg",self.location)}function n(){return o.hasAbilities([O.CREATE_INVOICE,O.CREATE_ESTIMATE,O.CREATE_CUSTOMER])}async function _(){await r.logout(),s.push("/login")}function u(){t.setSidebarVisibility(!0)}return(y,z)=>{const b=S("router-link"),h=S("BaseIcon"),x=S("BaseDropdownItem"),j=S("BaseDropdown");return c(),p("header",Fb,[m(b,{to:"/admin/dashboard",class:"float-none text-lg not-italic font-black tracking-wider text-white brand-main md:float-left font-base hidden md:block"},{default:v(()=>[Mb]),_:1}),l("div",{class:C([{"is-active":d(t).isSidebarOpen},"flex float-left p-1 overflow-visible text-sm ease-linear bg-white border-0 rounded cursor-pointer md:hidden md:ml-0 hover:bg-gray-100"]),onClick:se(u,["prevent"])},[m(h,{name:"MenuIcon",class:"!w-6 !h-6 text-gray-500"})],10,Bb),l("ul",Vb,[n?(c(),p("li",Ob,[m(j,{"width-class":"w-48"},{activator:v(()=>[l("div",Lb,[m(h,{name:"PlusIcon",class:"w-5 h-5 text-gray-600"})])]),default:v(()=>[m(b,{to:"/admin/invoices/create"},{default:v(()=>[d(o).hasAbilities(d(O).CREATE_INVOICE)?(c(),$(x,{key:0},{default:v(()=>[m(h,{name:"DocumentTextIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"}),A(" "+w(y.$t("invoices.new_invoice")),1)]),_:1})):P("",!0)]),_:1}),m(b,{to:"/admin/estimates/create"},{default:v(()=>[d(o).hasAbilities(d(O).CREATE_ESTIMATE)?(c(),$(x,{key:0},{default:v(()=>[m(h,{name:"DocumentIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"}),A(" "+w(y.$t("estimates.new_estimate")),1)]),_:1})):P("",!0)]),_:1}),m(b,{to:"/admin/customers/create"},{default:v(()=>[d(o).hasAbilities(d(O).CREATE_CUSTOMER)?(c(),$(x,{key:0},{default:v(()=>[m(h,{name:"UserIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"}),A(" "+w(y.$t("customers.new_customer")),1)]),_:1})):P("",!0)]),_:1})]),_:1})])):P("",!0),l("li",Ub,[d(o).currentUser.is_owner||d(o).hasAbilities(d(O).VIEW_CUSTOMER)?(c(),$(Rb,{key:0})):P("",!0)]),l("li",null,[m(mb)]),l("li",Kb,[m(j,{"width-class":"w-48"},{activator:v(()=>[l("img",{src:d(a),class:"block w-8 h-8 rounded md:h-9 md:w-9"},null,8,qb)]),default:v(()=>[m(b,{to:"/admin/settings/account-settings"},{default:v(()=>[m(x,null,{default:v(()=>[m(h,{name:"CogIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"}),A(" "+w(y.$t("navigation.settings")),1)]),_:1})]),_:1}),m(x,{onClick:_},{default:v(()=>[m(h,{name:"LogoutIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"}),Wb]),_:1})]),_:1})])])])}}};var Qe="/build/img/crater-logo.png";const Hb={class:"relative flex flex-col flex-1 w-full max-w-xs bg-white"},Gb={class:"absolute top-0 right-0 pt-2 -mr-12"},Yb=l("span",{class:"sr-only"},"Close sidebar",-1),Jb={class:"flex-1 h-0 pt-5 pb-4 overflow-y-auto"},Xb=l("div",{class:"flex items-center flex-shrink-0 px-4 mb-10"},[l("img",{src:Qe,class:"block h-auto max-w-full w-36 text-primary-400",alt:"Crater Logo"})],-1),Qb=l("div",{class:"flex-shrink-0 w-14"},null,-1),ek={class:"hidden w-56 h-screen h-screen-ios pb-32 overflow-y-auto bg-white border-r border-gray-200 border-solid xl:w-64 md:fixed md:flex md:flex-col md:inset-y-0 pt-16"},tk={setup(i){const r=oe(),o=ue();function t(s){return r.path.indexOf(s)>-1}return(s,a)=>{const e=S("BaseIcon"),n=S("router-link");return c(),p(Z,null,[m(d(Ke),{as:"template",show:d(o).isSidebarOpen},{default:v(()=>[m(d(Le),{as:"div",class:"fixed inset-0 z-40 flex md:hidden",onClose:a[3]||(a[3]=_=>d(o).setSidebarVisibility(!1))},{default:v(()=>[m(d(ke),{as:"template",enter:"transition-opacity ease-linear duration-300","enter-from":"opacity-0","enter-to":"opacity-100",leave:"transition-opacity ease-linear duration-300","leave-from":"opacity-100","leave-to":"opacity-0"},{default:v(()=>[m(d(Ue),{class:"fixed inset-0 bg-gray-600 bg-opacity-75"})]),_:1}),m(d(ke),{as:"template",enter:"transition ease-in-out duration-300 transform","enter-from":"-translate-x-full","enter-to":"translate-x-0",leave:"transition ease-in-out duration-300 transform","leave-from":"translate-x-0","leave-to":"-translate-x-full"},{default:v(()=>[l("div",Hb,[m(d(ke),{as:"template",enter:"ease-in-out duration-300","enter-from":"opacity-0","enter-to":"opacity-100",leave:"ease-in-out duration-300","leave-from":"opacity-100","leave-to":"opacity-0"},{default:v(()=>[l("div",Gb,[l("button",{class:"flex items-center justify-center w-10 h-10 ml-1 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white",onClick:a[0]||(a[0]=_=>d(o).setSidebarVisibility(!1))},[Yb,m(e,{name:"XIcon",class:"w-6 h-6 text-white","aria-hidden":"true"})])])]),_:1}),l("div",Jb,[Xb,(c(!0),p(Z,null,G(d(o).menuGroups,_=>(c(),p("nav",{key:_,class:"mt-5 space-y-1"},[(c(!0),p(Z,null,G(_,u=>(c(),$(n,{key:u.name,to:u.link,class:C([t(u.link)?"text-primary-500 border-primary-500 bg-gray-100 ":"text-black","cursor-pointer px-0 pl-4 py-3 border-transparent flex items-center border-l-4 border-solid text-sm not-italic font-medium"]),onClick:a[2]||(a[2]=y=>d(o).setSidebarVisibility(!1))},{default:v(()=>[m(e,{name:u.icon,class:C([t(u.link)?"text-primary-500 ":"text-gray-400","mr-4 flex-shrink-0 h-5 w-5"]),onClick:a[1]||(a[1]=y=>d(o).setSidebarVisibility(!1))},null,8,["name","class"]),A(" "+w(s.$t(u.title)),1)]),_:2},1032,["to","class"]))),128))]))),128))])])]),_:1}),Qb]),_:1})]),_:1},8,["show"]),l("div",ek,[(c(!0),p(Z,null,G(d(o).menuGroups,_=>(c(),p("div",{key:_,class:"p-0 m-0 mt-6 list-none"},[(c(!0),p(Z,null,G(_,u=>(c(),$(n,{key:u,to:u.link,class:C([t(u.link)?"text-primary-500 border-primary-500 bg-gray-100 ":"text-black","cursor-pointer px-0 pl-6 hover:bg-gray-50 py-3 group flex items-center border-l-4 border-solid border-transparent text-sm not-italic font-medium"])},{default:v(()=>[m(e,{name:u.icon,class:C([t(u.link)?"text-primary-500 group-hover:text-primary-500 ":"text-gray-400 group-hover:text-black","mr-4 flex-shrink-0 h-5 w-5 "])},null,8,["name","class"]),A(" "+w(s.$t(u.title)),1)]),_:2},1032,["to","class"]))),128))]))),128))])],64)}}},ak=["onClick"],sk={class:"overflow-hidden rounded-lg shadow-xs"},nk={class:"p-4"},ik={class:"flex items-start"},ok={class:"flex-shrink-0"},rk={key:0,class:"w-6 h-6 text-green-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},dk=l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),lk=[dk],ck={key:1,class:"w-6 h-6 text-blue-400",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},_k=l("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z","clip-rule":"evenodd"},null,-1),uk=[_k],mk={key:2,class:"w-6 h-6 text-red-400",fill:"currentColor",viewBox:"0 0 24 24"},pk=l("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z","clip-rule":"evenodd"},null,-1),gk=[pk],fk={class:"flex-1 w-0 ml-3 text-left"},hk={class:"flex flex-shrink-0"},vk=l("svg",{class:"w-6 h-6",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),yk=[vk],bk={props:{notification:{type:Object,default:null}},setup(i){const r=i,o=E();let t=L("");const s=N(()=>r.notification.type=="success"),a=N(()=>r.notification.type=="error"),e=N(()=>r.notification.type=="info");function n(){o.hideNotification(r.notification)}function _(){clearTimeout(t)}function u(){t=setTimeout(()=>{o.hideNotification(r.notification)},r.notification.time||5e3)}return we(()=>{u()}),(y,z)=>(c(),p("div",{class:C([d(s)||d(e)?"bg-white":"bg-red-50","max-w-sm mb-3 rounded-lg shadow-lg cursor-pointer pointer-events-auto w-full md:w-96"]),onClick:se(n,["stop"]),onMouseenter:_,onMouseleave:u},[l("div",sk,[l("div",nk,[l("div",ik,[l("div",ok,[d(s)?(c(),p("svg",rk,lk)):P("",!0),d(e)?(c(),p("svg",ck,uk)):P("",!0),d(a)?(c(),p("svg",mk,gk)):P("",!0)]),l("div",fk,[l("p",{class:C(`text-sm leading-5 font-medium ${d(s)||d(e)?"text-gray-900":"text-red-800"}`)},w(i.notification.title?i.notification.title:d(s)?"Success!":"Error"),3),l("p",{class:C(`mt-1 text-sm leading-5 ${d(s)||d(e)?"text-gray-500":"text-red-700"}`)},w(i.notification.message?i.notification.message:d(s)?"Successful":"Somthing went wrong"),3)]),l("div",hk,[l("button",{class:C([d(s)||d(e)?" text-gray-400 focus:text-gray-500":"text-red-400 focus:text-red-500","inline-flex w-5 h-5 transition duration-150 ease-in-out focus:outline-none"]),onClick:n},yk,2)])])])])],42,ak))}},kk={components:{NotificationItem:bk},setup(){const i=E();return{notifications:N(()=>i.notifications)}}},wk={class:"fixed inset-0 z-50 flex flex-col items-end justify-start w-full px-4 py-6 pointer-events-none sm:p-6"};function xk(i,r,o,t,s,a){const e=S("NotificationItem");return c(),p("div",wk,[m(Ut,{"enter-active-class":"transition duration-300 ease-out transform","enter-from-class":"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2","enter-to-class":"translate-y-0 opacity-100 sm:translate-x-0","leave-active-class":"transition duration-100 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:v(()=>[(c(!0),p(Z,null,G(t.notifications,n=>(c(),$(e,{key:n.id,notification:n},null,8,["notification"]))),128))]),_:1})])}var jt=ee(kk,[["render",xk]]);const zk={class:"font-medium text-lg text-left"},Sk={class:"mt-2 text-sm leading-snug text-gray-500",style:{"max-width":"680px"}},Pk=["onSubmit"],jk={class:"text-gray-500 sm:text-sm"},Dk={class:"text-gray-400 text-xs mt-2 font-light"},Ck={slot:"footer",class:"z-0 flex justify-end mt-4 pt-4 border-t border-gray-200 border-solid border-modal-bg"},Ak={emits:["update"],setup(i,{emit:r}){const o=Ge();E();const t=te(),{t:s,tm:a}=be();let e=L(!1);L(!1);const n={exchange_rate:{required:Q.withMessage(s("validation.required"),je),decimal:Q.withMessage(s("validation.valid_exchange_rate"),Kt)}},_=Ve();async function u(){if(_.value.$touch(),_.value.$invalid)return!0;e.value=!0;let y=o.bulkCurrencies.map(b=>({id:b.id,exchange_rate:b.exchange_rate})),z=await o.updateBulkExchangeRate({currencies:y});z.data.success&&r("update",z.data.success),e.value=!1}return(y,z)=>{const b=S("BaseInput"),h=S("BaseInputGroup"),x=S("BaseButton"),j=S("BaseCard");return c(),$(j,null,{default:v(()=>[l("h6",zk,w(y.$t("settings.exchange_rate.title")),1),l("p",Sk,w(y.$t("settings.exchange_rate.description",{currency:d(t).selectedCompanyCurrency.name})),1),l("form",{action:"",onSubmit:se(u,["prevent"])},[(c(!0),p(Z,null,G(d(o).bulkCurrencies,(R,T)=>(c(),$(d(qt),{key:T,state:R,rules:n},{default:v(({v:D})=>[m(h,{class:"my-5",label:`${R.code} to ${d(t).selectedCompanyCurrency.code}`,error:D.exchange_rate.$error&&D.exchange_rate.$errors[0].$message,required:""},{default:v(()=>[m(b,{modelValue:R.exchange_rate,"onUpdate:modelValue":k=>R.exchange_rate=k,addon:`1 ${R.code} =`,invalid:D.exchange_rate.$error,onInput:k=>D.exchange_rate.$touch()},{right:v(()=>[l("span",jk,w(d(t).selectedCompanyCurrency.code),1)]),_:2},1032,["modelValue","onUpdate:modelValue","addon","invalid","onInput"]),l("span",Dk,w(y.$t("settings.exchange_rate.exchange_help_text",{currency:R.code,baseCurrency:d(t).selectedCompanyCurrency.code})),1)]),_:2},1032,["label","error"])]),_:2},1032,["state"]))),128)),l("div",Ck,[m(x,{loading:d(e),variant:"primary",type:"submit"},{default:v(()=>[A(w(y.$t("general.save")),1)]),_:1},8,["loading"])])],40,Pk)]),_:1})}}},Nk={setup(i){const r=me(),o=N(()=>r.active&&r.componentName==="ExchangeRateBulkUpdateModal");function t(){r.closeModal()}return(s,a)=>{const e=S("BaseModal");return c(),$(e,{show:d(o)},{default:v(()=>[m(Ak,{onUpdate:a[0]||(a[0]=n=>t())})]),_:1},8,["show"])}}},Ek={key:0,class:"h-full"},Tk={class:"mt-16 pb-16 h-screen h-screen-ios overflow-y-auto md:pl-56 xl:pl-64 min-h-0"},Ik={setup(i){const r=ue(),o=oe(),t=ve(),s=Oe(),a=me();be();const e=Ge(),n=te(),_=N(()=>r.isAppLoaded);return we(()=>{r.bootstrap().then(u=>{o.meta.ability&&!t.hasAbilities(o.meta.ability)?s.push({name:"account.settings"}):o.meta.isOwner&&!t.currentUser.is_owner&&s.push({name:"account.settings"}),u.data.current_company_settings.bulk_exchange_rate_configured==="NO"&&e.fetchBulkCurrencies().then(y=>{if(y.data.currencies.length)a.openModal({componentName:"ExchangeRateBulkUpdateModal",size:"sm"});else{let z={settings:{bulk_exchange_rate_configured:"YES"}};n.updateCompanySettings({data:z})}})})}),(u,y)=>{const z=S("router-view"),b=S("BaseGlobalLoader");return d(_)?(c(),p("div",Ek,[m(jt),m(Zb),m(tk),m(Nk),l("main",Tk,[m(z)])])):(c(),$(b,{key:1}))}}};const $k=i=>(Wt("data-v-276a8070"),i=i(),Zt(),i),Rk={class:"grid h-screen h-screen-ios grid-cols-12 overflow-y-hidden bg-gray-100"},Fk={class:"flex items-center justify-center w-full max-w-sm col-span-12 p-4 mx-auto text-gray-900 md:p-8 md:col-span-6 lg:col-span-4 flex-2 md:pb-48 md:pt-40"},Mk={class:"w-full"},Bk=$k(()=>l("img",{src:Qe,class:"block w-48 h-auto max-w-full mb-32 text-primary-400",alt:"Crater Logo"},null,-1)),Vk={class:"pt-24 mt-0 text-sm not-italic font-medium leading-relaxed text-left text-gray-400 md:pt-40"},Ok={class:"mb-3"},Lk=Ht('',1),Uk={setup(i){return(r,o)=>{const t=S("router-view");return c(),p("div",Rk,[m(jt),l("div",Fk,[l("div",Mk,[Bk,m(t),l("div",Vk,[l("p",Ok," Copyright @ Crater Invoice, Inc. "+w(new Date().getFullYear()),1)])])]),Lk])}}};var Kk=ee(Uk,[["__scopeId","data-v-276a8070"]]);const qk=()=>V(()=>import("./LayoutInstallation.89785dab.js"),["assets/LayoutInstallation.89785dab.js","assets/vendor.e9042f2c.js"]),Dt=()=>V(()=>import("./Login.894ac75c.js"),["assets/Login.894ac75c.js","assets/vendor.e9042f2c.js"]),Wk=()=>V(()=>import("./ResetPassword.c252645e.js"),["assets/ResetPassword.c252645e.js","assets/vendor.e9042f2c.js"]),Zk=()=>V(()=>import("./ForgotPassword.4bdb652b.js"),["assets/ForgotPassword.4bdb652b.js","assets/vendor.e9042f2c.js"]),Hk=()=>V(()=>import("./Dashboard.05893f44.js"),["assets/Dashboard.05893f44.js","assets/vendor.e9042f2c.js","assets/LineChart.1e4f5d60.js","assets/InvoiceIndexDropdown.d1c989d3.js","assets/EstimateIndexDropdown.16bd4994.js"]),Gk=()=>V(()=>import("./Index.c50d63be.js"),["assets/Index.c50d63be.js","assets/vendor.e9042f2c.js","assets/CustomerIndexDropdown.421e91b3.js","assets/AstronautIcon.525a3bea.js"]),Ct=()=>V(()=>import("./Create.e22d53ee.js"),["assets/Create.e22d53ee.js","assets/vendor.e9042f2c.js","assets/CreateCustomFields.b3e72776.js"]),Yk=()=>V(()=>import("./View.6b03b301.js"),["assets/View.6b03b301.js","assets/vendor.e9042f2c.js","assets/LoadingIcon.562f15c9.js","assets/LineChart.1e4f5d60.js","assets/CustomerIndexDropdown.421e91b3.js"]),Jk=()=>V(()=>import("./SettingsIndex.f9f8f3ca.js"),["assets/SettingsIndex.f9f8f3ca.js","assets/vendor.e9042f2c.js"]),Xk=()=>V(()=>import("./AccountSetting.1cfec24d.js"),["assets/AccountSetting.1cfec24d.js","assets/vendor.e9042f2c.js"]),Qk=()=>V(()=>import("./CompanyInfoSettings.b53bbfc6.js"),["assets/CompanyInfoSettings.b53bbfc6.js","assets/vendor.e9042f2c.js"]),ew=()=>V(()=>import("./PreferencesSetting.44c3d41b.js"),["assets/PreferencesSetting.44c3d41b.js","assets/vendor.e9042f2c.js"]),tw=()=>V(()=>import("./CustomizationSetting.65372f56.js"),["assets/CustomizationSetting.65372f56.js","assets/vendor.e9042f2c.js","assets/DragIcon.9fdb0cc4.js","assets/ItemUnitModal.acaecec7.js"]),aw=()=>V(()=>import("./NotificationsSetting.6b125468.js"),["assets/NotificationsSetting.6b125468.js","assets/vendor.e9042f2c.js"]),sw=()=>V(()=>import("./TaxTypesSetting.577ebaa1.js"),["assets/TaxTypesSetting.577ebaa1.js","assets/vendor.e9042f2c.js","assets/TaxTypeModal.e84ae727.js"]),nw=()=>V(()=>import("./PaymentsModeSetting.ce20c8a7.js"),["assets/PaymentsModeSetting.ce20c8a7.js","assets/vendor.e9042f2c.js","assets/PaymentModeModal.dee8838b.js"]),iw=()=>V(()=>import("./CustomFieldsSetting.1476b628.js"),["assets/CustomFieldsSetting.1476b628.js","assets/vendor.e9042f2c.js"]),ow=()=>V(()=>import("./NotesSetting.742e9ae2.js"),["assets/NotesSetting.742e9ae2.js","assets/vendor.e9042f2c.js","assets/NoteModal.ce9830bd.js","assets/NoteModal.3245b7d3.css"]),rw=()=>V(()=>import("./ExpenseCategorySetting.86cfee85.js"),["assets/ExpenseCategorySetting.86cfee85.js","assets/vendor.e9042f2c.js","assets/CategoryModal.c0ece4af.js"]),dw=()=>V(()=>import("./ExchangeRateProviderSetting.b9f44241.js"),["assets/ExchangeRateProviderSetting.b9f44241.js","assets/vendor.e9042f2c.js","assets/BaseTable.812948c7.js"]),lw=()=>V(()=>import("./MailConfigSetting.47dc8eee.js"),["assets/MailConfigSetting.47dc8eee.js","assets/vendor.e9042f2c.js"]),cw=()=>V(()=>import("./FileDiskSetting.d7735104.js"),["assets/FileDiskSetting.d7735104.js","assets/vendor.e9042f2c.js"]),_w=()=>V(()=>import("./BackupSetting.c93135a3.js"),["assets/BackupSetting.c93135a3.js","assets/vendor.e9042f2c.js"]),uw=()=>V(()=>import("./UpdateAppSetting.62204e18.js"),["assets/UpdateAppSetting.62204e18.js","assets/UpdateAppSetting.7d8b987a.css","assets/vendor.e9042f2c.js","assets/LoadingIcon.562f15c9.js"]),mw=()=>V(()=>import("./RolesSettings.5caa3496.js"),["assets/RolesSettings.5caa3496.js","assets/vendor.e9042f2c.js"]),pw=()=>V(()=>import("./Index.60606ef2.js"),["assets/Index.60606ef2.js","assets/vendor.e9042f2c.js"]),At=()=>V(()=>import("./Create.0352a236.js"),["assets/Create.0352a236.js","assets/vendor.e9042f2c.js","assets/ItemUnitModal.acaecec7.js"]),gw=()=>V(()=>import("./Index.280eb08b.js"),["assets/Index.280eb08b.js","assets/vendor.e9042f2c.js"]),Nt=()=>V(()=>import("./Create.dbd8614d.js"),["assets/Create.dbd8614d.js","assets/vendor.e9042f2c.js","assets/CreateCustomFields.b3e72776.js","assets/CategoryModal.c0ece4af.js","assets/ExchangeRateConverter.723e246f.js"]),fw=()=>V(()=>import("./Index.78b2f5ff.js"),["assets/Index.78b2f5ff.js","assets/vendor.e9042f2c.js","assets/AstronautIcon.525a3bea.js"]),Et=()=>V(()=>import("./Create.f5ac9ce5.js"),["assets/Create.f5ac9ce5.js","assets/vendor.e9042f2c.js"]),hw=()=>V(()=>import("./Index.66f84b88.js"),["assets/Index.66f84b88.js","assets/vendor.e9042f2c.js","assets/EstimateIndexDropdown.16bd4994.js","assets/SendEstimateModal.d0eba7d1.js"]),Tt=()=>V(()=>import("./EstimateCreate.1327e99b.js"),["assets/EstimateCreate.1327e99b.js","assets/vendor.e9042f2c.js","assets/ItemModal.550811d2.js","assets/DragIcon.9fdb0cc4.js","assets/SelectNotePopup.957765bc.js","assets/NoteModal.ce9830bd.js","assets/NoteModal.3245b7d3.css","assets/CreateCustomFields.b3e72776.js","assets/ExchangeRateConverter.723e246f.js","assets/TaxTypeModal.e84ae727.js"]),vw=()=>V(()=>import("./View.aa6e5085.js"),["assets/View.aa6e5085.js","assets/vendor.e9042f2c.js","assets/EstimateIndexDropdown.16bd4994.js","assets/SendEstimateModal.d0eba7d1.js","assets/LoadingIcon.562f15c9.js"]),yw=()=>V(()=>import("./Index.db7618e6.js"),["assets/Index.db7618e6.js","assets/vendor.e9042f2c.js","assets/SendPaymentModal.ed5be265.js"]),et=()=>V(()=>import("./Create.f2f272b3.js"),["assets/Create.f2f272b3.js","assets/vendor.e9042f2c.js","assets/ExchangeRateConverter.723e246f.js","assets/SelectNotePopup.957765bc.js","assets/NoteModal.ce9830bd.js","assets/NoteModal.3245b7d3.css","assets/CreateCustomFields.b3e72776.js","assets/PaymentModeModal.dee8838b.js"]),bw=()=>V(()=>import("./View.4c833594.js"),["assets/View.4c833594.js","assets/vendor.e9042f2c.js","assets/SendPaymentModal.ed5be265.js","assets/LoadingIcon.562f15c9.js"]),kw=()=>V(()=>import("./404.77adcf05.js"),["assets/404.77adcf05.js","assets/vendor.e9042f2c.js"]),ww=()=>V(()=>import("./Index.8a2fa3b8.js"),["assets/Index.8a2fa3b8.js","assets/vendor.e9042f2c.js","assets/MoonwalkerIcon.33f1b046.js","assets/InvoiceIndexDropdown.d1c989d3.js","assets/SendInvoiceModal.f1dd071b.js"]),It=()=>V(()=>import("./InvoiceCreate.8e89de3b.js"),["assets/InvoiceCreate.8e89de3b.js","assets/vendor.e9042f2c.js","assets/ItemModal.550811d2.js","assets/DragIcon.9fdb0cc4.js","assets/SelectNotePopup.957765bc.js","assets/NoteModal.ce9830bd.js","assets/NoteModal.3245b7d3.css","assets/ExchangeRateConverter.723e246f.js","assets/CreateCustomFields.b3e72776.js","assets/TaxTypeModal.e84ae727.js"]),xw=()=>V(()=>import("./View.5eed5e9e.js"),["assets/View.5eed5e9e.js","assets/vendor.e9042f2c.js","assets/InvoiceIndexDropdown.d1c989d3.js","assets/SendInvoiceModal.f1dd071b.js","assets/LoadingIcon.562f15c9.js"]),zw=()=>V(()=>import("./Index.3aaaec9d.js"),["assets/Index.3aaaec9d.js","assets/vendor.e9042f2c.js","assets/SendInvoiceModal.f1dd071b.js","assets/RecurringInvoiceIndexDropdown.9bd7780c.js","assets/MoonwalkerIcon.33f1b046.js"]),$t=()=>V(()=>import("./RecurringInvoiceCreate.d9762a04.js"),["assets/RecurringInvoiceCreate.d9762a04.js","assets/vendor.e9042f2c.js","assets/ItemModal.550811d2.js","assets/DragIcon.9fdb0cc4.js","assets/SelectNotePopup.957765bc.js","assets/NoteModal.ce9830bd.js","assets/NoteModal.3245b7d3.css","assets/ExchangeRateConverter.723e246f.js","assets/CreateCustomFields.b3e72776.js","assets/TaxTypeModal.e84ae727.js"]),Sw=()=>V(()=>import("./View.5b253c8e.js"),["assets/View.5b253c8e.js","assets/vendor.e9042f2c.js","assets/LoadingIcon.562f15c9.js","assets/InvoiceIndexDropdown.d1c989d3.js","assets/SendInvoiceModal.f1dd071b.js","assets/RecurringInvoiceIndexDropdown.9bd7780c.js"]),Pw=()=>V(()=>import("./Index.41536eef.js"),["assets/Index.41536eef.js","assets/vendor.e9042f2c.js"]),jw=()=>V(()=>import("./Installation.6f80372a.js"),["assets/Installation.6f80372a.js","assets/vendor.e9042f2c.js"]);let Dw=[{path:"/installation",component:qk,meta:{requiresAuth:!1},children:[{path:"/installation",component:jw,name:"installation"}]},{path:"/",component:Kk,meta:{requiresAuth:!1,redirectIfAuthenticated:!0},children:[{path:"/",component:Dt},{path:"login",name:"login",component:Dt},{path:"forgot-password",component:Zk,name:"forgot-password"},{path:"/reset-password/:token",component:Wk,name:"reset-password"}]},{path:"/admin",component:Ik,meta:{requiresAuth:!0},children:[{path:"dashboard",name:"dashboard",meta:{ability:O.DASHBOARD},component:Hk},{path:"customers",meta:{ability:O.VIEW_CUSTOMER},component:Gk},{path:"customers/create",name:"customers.create",meta:{ability:O.CREATE_CUSTOMER},component:Ct},{path:"customers/:id/edit",name:"customers.edit",meta:{ability:O.EDIT_CUSTOMER},component:Ct},{path:"customers/:id/view",name:"customers.view",meta:{ability:O.VIEW_CUSTOMER},component:Yk},{path:"payments",meta:{ability:O.VIEW_PAYMENT},component:yw},{path:"payments/create",name:"payments.create",meta:{ability:O.CREATE_PAYMENT},component:et},{path:"payments/:id/create",name:"invoice.payments.create",meta:{ability:O.CREATE_PAYMENT},component:et},{path:"payments/:id/edit",name:"payments.edit",meta:{ability:O.EDIT_PAYMENT},component:et},{path:"payments/:id/view",name:"payments.view",meta:{ability:O.VIEW_PAYMENT},component:bw},{path:"settings",name:"settings",component:Jk,children:[{path:"account-settings",name:"account.settings",component:Xk},{path:"company-info",name:"company.info",meta:{isOwner:!0},component:Qk},{path:"preferences",name:"preferences",meta:{isOwner:!0},component:ew},{path:"customization",name:"customization",meta:{isOwner:!0},component:tw},{path:"notifications",name:"notifications",meta:{isOwner:!0},component:aw},{path:"roles-settings",name:"roles.settings",meta:{isOwner:!0},component:mw},{path:"exchange-rate-provider",name:"exchange.rate.provider",meta:{ability:O.VIEW_EXCHANGE_RATE},component:dw},{path:"tax-types",name:"tax.types",meta:{ability:O.VIEW_TAX_TYPE},component:sw},{path:"notes",name:"notes",meta:{ability:O.VIEW_ALL_NOTES},component:ow},{path:"payment-mode",name:"payment.mode",component:nw},{path:"custom-fields",name:"custom.fields",meta:{ability:O.VIEW_CUSTOM_FIELDS},component:iw},{path:"expense-category",name:"expense.category",meta:{ability:O.VIEW_EXPENSE},component:rw},{path:"mail-configuration",name:"mailconfig",meta:{isOwner:!0},component:lw},{path:"file-disk",name:"file-disk",meta:{isOwner:!0},component:cw},{path:"backup",name:"backup",meta:{isOwner:!0},component:_w},{path:"update-app",name:"updateapp",meta:{isOwner:!0},component:uw}]},{path:"items",meta:{ability:O.VIEW_ITEM},component:pw},{path:"items/create",name:"items.create",meta:{ability:O.CREATE_ITEM},component:At},{path:"items/:id/edit",name:"items.edit",meta:{ability:O.EDIT_ITEM},component:At},{path:"expenses",meta:{ability:O.VIEW_EXPENSE},component:gw},{path:"expenses/create",name:"expenses.create",meta:{ability:O.CREATE_EXPENSE},component:Nt},{path:"expenses/:id/edit",name:"expenses.edit",meta:{ability:O.EDIT_EXPENSE},component:Nt},{path:"users",name:"users.index",meta:{isOwner:!0},component:fw},{path:"users/create",meta:{isOwner:!0},name:"users.create",component:Et},{path:"users/:id/edit",name:"users.edit",meta:{isOwner:!0},component:Et},{path:"estimates",name:"estimates.index",meta:{ability:O.VIEW_ESTIMATE},component:hw},{path:"estimates/create",name:"estimates.create",meta:{ability:O.CREATE_ESTIMATE},component:Tt},{path:"estimates/:id/view",name:"estimates.view",meta:{ability:O.VIEW_ESTIMATE},component:vw},{path:"estimates/:id/edit",name:"estimates.edit",meta:{ability:O.EDIT_ESTIMATE},component:Tt},{path:"invoices",name:"invoices.index",meta:{ability:O.VIEW_INVOICE},component:ww},{path:"invoices/create",name:"invoices.create",meta:{ability:O.CREATE_INVOICE},component:It},{path:"invoices/:id/view",name:"invoices.view",meta:{ability:O.VIEW_INVOICE},component:xw},{path:"invoices/:id/edit",name:"invoices.edit",meta:{ability:O.EDIT_INVOICE},component:It},{path:"recurring-invoices",name:"recurring-invoices.index",meta:{ability:O.VIEW_RECURRING_INVOICE},component:zw},{path:"recurring-invoices/create",name:"recurring-invoices.create",meta:{ability:O.CREATE_RECURRING_INVOICE},component:$t},{path:"recurring-invoices/:id/view",name:"recurring-invoices.view",meta:{ability:O.VIEW_RECURRING_INVOICE},component:Sw},{path:"recurring-invoices/:id/edit",name:"recurring-invoices.edit",meta:{ability:O.EDIT_RECURRING_INVOICE},component:$t},{path:"reports",meta:{ability:O.VIEW_FINANCIAL_REPORT},component:Pw}]},{path:"/:catchAll(.*)",component:kw}];const Ee=Gt({history:Yt(),linkActiveClass:"active",routes:Dw});Ee.beforeEach((i,r,o)=>{const t=ve(),s=ue();let a=i.meta.ability;const{isAppLoaded:e}=s;a&&e&&i.meta.requiresAuth?t.hasAbilities(a)?o():o({name:"account.settings"}):i.meta.isOwner&&e?t.currentUser.is_owner?o():o({name:"dashboard"}):o()});const Cw={props:{bgColor:{type:String,default:null},color:{type:String,default:null}},setup(i){return(r,o)=>(c(),p("span",{class:"px-2 py-1 text-sm font-normal text-center text-green-800 uppercase bg-success",style:qe({backgroundColor:i.bgColor,color:i.color})},[B(r.$slots,"default")],4))}};var Aw=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Cw});const Nw={name:"BaseBreadcrumb"},Ew={class:"flex flex-wrap py-4 text-gray-900 rounded list-reset"};function Tw(i,r,o,t,s,a){return c(),p("nav",null,[l("ol",Ew,[B(i.$slots,"default")])])}var Iw=ee(Nw,[["render",Tw]]),$w=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Iw});const Rw={class:"pr-2 text-sm"},Fw={key:0,class:"px-1"},Mw={props:{title:{type:String,default:String},to:{type:String,default:"#"},active:{type:Boolean,default:!1,required:!1}},setup(i){return(r,o)=>{const t=S("router-link");return c(),p("li",Rw,[m(t,{class:"m-0 mr-2 text-sm font-medium leading-5 text-gray-900 outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-400",to:i.to},{default:v(()=>[A(w(i.title),1)]),_:1},8,["to"]),i.active?P("",!0):(c(),p("span",Fw,"/"))])}}};var Bw=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Mw});const Vw={props:{contentLoading:{type:Boolean,default:!1},defaultClass:{type:String,default:"inline-flex whitespace-nowrap items-center border font-medium focus:outline-none focus:ring-2 focus:ring-offset-2"},tag:{type:String,default:"button"},disabled:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:String,default:"md",validator:function(i){return["xs","sm","md","lg","xl"].indexOf(i)!==-1}},variant:{type:String,default:"primary",validator:function(i){return["primary","secondary","primary-outline","white","danger","gray"].indexOf(i)!==-1}}},setup(i){const r=i,o=N(()=>({"px-2.5 py-1.5 text-xs leading-4 rounded":r.size==="xs","px-3 py-2 text-sm leading-4 rounded-md":r.size=="sm","px-4 py-2 text-sm leading-5 rounded-md":r.size==="md","px-4 py-2 text-base leading-6 rounded-md":r.size==="lg","px-6 py-3 text-base leading-6 rounded-md":r.size==="xl"})),t=N(()=>{switch(r.size){case"xs":return"32";case"sm":return"38";case"md":return"42";case"lg":return"42";case"xl":return"46";default:return""}}),s=N(()=>({"border-transparent shadow-sm text-white bg-primary-600 hover:bg-primary-700 focus:ring-primary-500":r.variant==="primary","border-transparent text-primary-700 bg-primary-100 hover:bg-primary-200 focus:ring-primary-500":r.variant==="secondary","border-transparent border-solid border-primary-500 font-normal transition ease-in-out duration-150 text-primary-500 hover:bg-primary-200 shadow-inner ":r.variant=="primary-outline","border-gray-200 text-gray-700 bg-white hover:bg-gray-50 focus:ring-primary-500 focus:ring-offset-0":r.variant=="white","border-transparent shadow-sm text-white bg-red-600 hover:bg-red-700 focus:ring-red-500":r.variant==="danger","border-transparent bg-gray-200 border hover:bg-opacity-60 focus:ring-gray-500 focus:ring-offset-0":r.variant==="gray"})),a=N(()=>r.rounded?"!rounded-full":""),e=N(()=>({"-ml-0.5 mr-2 h-4 w-4":r.size=="sm","-ml-1 mr-2 h-5 w-5":r.size==="md","-ml-1 mr-3 h-5 w-5":r.size==="lg"||r.size==="xl"})),n=N(()=>({"text-white":r.variant==="primary","text-primary-700":r.variant==="secondary","text-gray-700":r.variant==="white","text-gray-400":r.variant==="gray"})),_=N(()=>({"ml-2 -mr-0.5 h-4 w-4":r.size=="sm","ml-2 -mr-1 h-5 w-5":r.size==="md","ml-3 -mr-1 h-5 w-5":r.size==="lg"||r.size==="xl"}));return(u,y)=>{const z=S("BaseContentPlaceholdersBox"),b=S("BaseContentPlaceholders"),h=S("BaseCustomTag");return i.contentLoading?(c(),$(b,{key:0,class:"disabled cursor-normal pointer-events-none"},{default:v(()=>[m(z,{rounded:!0,style:qe([{width:"96px"},`height: ${d(t)}px;`])},null,8,["style"])]),_:1})):(c(),$(h,{key:1,tag:i.tag,disabled:i.disabled,class:C([i.defaultClass,d(o),d(s),d(a)])},{default:v(()=>[i.loading?(c(),$(Pt,{key:0,class:C([d(e),d(n)])},null,8,["class"])):B(u.$slots,"left",{key:1,class:C(d(e))}),B(u.$slots,"default"),B(u.$slots,"right",{class:C([d(_),d(n)])})]),_:3},8,["tag","disabled","class"]))}}};var Ow=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Vw});const Lw={class:"bg-white rounded-lg shadow"},Uw={key:0,class:"px-5 py-4 text-black border-b border-gray-100 border-solid"},Kw={key:1,class:"px-5 py-4 border-t border-gray-100 border-solid sm:px-6"},qw={props:{containerClass:{type:String,default:"px-4 py-5 sm:px-8 sm:py-8"}},setup(i){const r=xe(),o=N(()=>!!r.header),t=N(()=>!!r.footer);return(s,a)=>(c(),p("div",Lw,[d(o)?(c(),p("div",Uw,[B(s.$slots,"header")])):P("",!0),l("div",{class:C(i.containerClass)},[B(s.$slots,"default")],2),d(t)?(c(),p("div",Kw,[B(s.$slots,"footer")])):P("",!0)]))}};var Ww=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:qw});const Zw={class:"relative flex items-start"},Hw={class:"flex items-center h-5"},Gw=["id","disabled"],Yw={class:"ml-3 text-sm"},Jw=["for"],Xw={props:{label:{type:String,default:""},modelValue:{type:[Boolean,Array],default:!1},id:{type:[Number,String],default:()=>`check_${Math.random().toString(36).substr(2,9)}`},disabled:{type:Boolean,default:!1},checkboxClass:{type:String,default:"w-4 h-4 border-gray-300 rounded cursor-pointer"},setInitialValue:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(i,{emit:r}){const o=i;o.setInitialValue&&r("update:modelValue",o.modelValue);const t=N({get:()=>o.modelValue,set:a=>{r("update:modelValue",a),r("change",a)}}),s=N(()=>o.disabled?"text-gray-300 cursor-not-allowed":"text-primary-600 focus:ring-primary-500");return(a,e)=>(c(),p("div",Zw,[l("div",Hw,[Ie(l("input",_e({id:i.id,"onUpdate:modelValue":e[0]||(e[0]=n=>re(t)?t.value=n:null)},a.$attrs,{disabled:i.disabled,type:"checkbox",class:[i.checkboxClass,d(s)]}),null,16,Gw),[[Jt,d(t)]])]),l("div",Yw,[i.label?(c(),p("label",{key:0,for:i.id,class:C(`font-medium ${i.disabled?"text-gray-400 cursor-not-allowed":"text-gray-600"} cursor-pointer `)},w(i.label),11,Jw)):P("",!0)])]))}};var Qw=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Xw});const ex={props:{rounded:{type:Boolean,default:!1},centered:{type:Boolean,default:!1},animated:{type:Boolean,default:!0}},setup(i){const r=i,o=N(()=>({"base-content-placeholders":!0,"base-content-placeholders-is-rounded":r.rounded,"base-content-placeholders-is-centered":r.centered,"base-content-placeholders-is-animated":r.animated}));return(t,s)=>(c(),p("div",{class:C(d(o))},[B(t.$slots,"default")],2))}};var tx=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ex});const ax={props:{circle:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1}},setup(i){const r=i,o=N(()=>({"base-content-circle":r.circle,"base-content-placeholders-is-rounded":r.rounded}));return(t,s)=>(c(),p("div",{class:C(["base-content-placeholders-box",d(o)])},null,2))}};var sx=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ax});const nx={class:"base-content-placeholders-heading"},ix={key:0,class:"base-content-placeholders-heading__box"},ox=l("div",{class:"base-content-placeholders-heading__content"},[l("div",{class:"base-content-placeholders-heading__title",style:{background:"#eee"}}),l("div",{class:"base-content-placeholders-heading__subtitle"})],-1),rx={props:{box:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1}},setup(i){return(r,o)=>(c(),p("div",nx,[i.box?(c(),p("div",ix)):P("",!0),ox]))}};var dx=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:rx});const lx={class:"base-content-placeholders-text"},cx={props:{lines:{type:Number,default:4},rounded:{type:Boolean,default:!1}},setup(i){const r=i,o=N(()=>({"base-content-placeholders-is-rounded":r.rounded}));return(t,s)=>(c(),p("div",lx,[(c(!0),p(Z,null,G(i.lines,a=>(c(),p("div",{key:a,class:C([d(o),"w-full h-full base-content-placeholders-text__line"])},null,2))),128))]))}};var _x=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:cx});const ux={key:1,class:"relative"},mx={class:"absolute bottom-0 right-0 z-10"},px={class:"flex p-2"},gx={class:"mb-1 ml-2 text-xs font-semibold text-gray-500 uppercase"},fx=["onClick"],hx={class:"flex pl-1"},vx={props:{contentLoading:{type:Boolean,default:!1},modelValue:{type:String,default:""},fields:{type:Array,default:null}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i,t=gt();let s=L([]),a=L([]),e=L([]),n=L([]),_=L([]);fe(()=>o.fields,b=>{o.fields&&o.fields.length>0&&z()}),fe(()=>t.customFields,b=>{a.value=b?b.filter(h=>h.model_type==="Invoice"):[],_.value=b?b.filter(h=>h.model_type==="Customer"):[],n.value=b?b.filter(h=>h.model_type==="Payment"):[],e.value=b.filter(h=>h.model_type==="Estimate"),z()}),we(()=>{y()});const u=N({get:()=>o.modelValue,set:b=>{r("update:modelValue",b)}});async function y(){await t.fetchCustomFields()}async function z(){s.value=[],o.fields&&o.fields.length>0&&(o.fields.find(b=>b=="shipping")&&s.value.push({label:"Shipping Address",fields:[{label:"Address name",value:"SHIPPING_ADDRESS_NAME"},{label:"Country",value:"SHIPPING_COUNTRY"},{label:"State",value:"SHIPPING_STATE"},{label:"City",value:"SHIPPING_CITY"},{label:"Address Street 1",value:"SHIPPING_ADDRESS_STREET_1"},{label:"Address Street 2",value:"SHIPPING_ADDRESS_STREET_2"},{label:"Phone",value:"SHIPPING_PHONE"},{label:"Zip Code",value:"SHIPPING_ZIP_CODE"}]}),o.fields.find(b=>b=="billing")&&s.value.push({label:"Billing Address",fields:[{label:"Address name",value:"BILLING_ADDRESS_NAME"},{label:"Country",value:"BILLING_COUNTRY"},{label:"State",value:"BILLING_STATE"},{label:"City",value:"BILLING_CITY"},{label:"Address Street 1",value:"BILLING_ADDRESS_STREET_1"},{label:"Address Street 2",value:"BILLING_ADDRESS_STREET_2"},{label:"Phone",value:"BILLING_PHONE"},{label:"Zip Code",value:"BILLING_ZIP_CODE"}]}),o.fields.find(b=>b=="customer")&&s.value.push({label:"Customer",fields:[{label:"Display Name",value:"CONTACT_DISPLAY_NAME"},{label:"Contact Name",value:"PRIMARY_CONTACT_NAME"},{label:"Email",value:"CONTACT_EMAIL"},{label:"Phone",value:"CONTACT_PHONE"},{label:"Website",value:"CONTACT_WEBSITE"},..._.value.map(b=>({label:b.label,value:b.slug}))]}),o.fields.find(b=>b=="invoice")&&s.value.push({label:"Invoice",fields:[{label:"Date",value:"INVOICE_DATE"},{label:"Due Date",value:"INVOICE_DUE_DATE"},{label:"Number",value:"INVOICE_NUMBER"},{label:"Ref Number",value:"INVOICE_REF_NUMBER"},{label:"Invoice Link",value:"INVOICE_LINK"},...a.value.map(b=>({label:b.label,value:b.slug}))]}),o.fields.find(b=>b=="estimate")&&s.value.push({label:"Estimate",fields:[{label:"Date",value:"ESTIMATE_DATE"},{label:"Expiry Date",value:"ESTIMATE_EXPIRY_DATE"},{label:"Number",value:"ESTIMATE_NUMBER"},{label:"Ref Number",value:"ESTIMATE_REF_NUMBER"},{label:"Estimate Link",value:"ESTIMATE_LINK"},...e.value.map(b=>({label:b.label,value:b.slug}))]}),o.fields.find(b=>b=="payment")&&s.value.push({label:"Payment",fields:[{label:"Date",value:"PAYMENT_DATE"},{label:"Number",value:"PAYMENT_NUMBER"},{label:"Mode",value:"PAYMENT_MODE"},{label:"Amount",value:"PAYMENT_AMOUNT"},{label:"Payment Link",value:"PAYMENT_LINK"},...n.value.map(b=>({label:b.label,value:b.slug}))]}),o.fields.find(b=>b=="company")&&s.value.push({label:"Company",fields:[{label:"Company Name",value:"COMPANY_NAME"},{label:"Country",value:"COMPANY_COUNTRY"},{label:"State",value:"COMPANY_STATE"},{label:"City",value:"COMPANY_CITY"},{label:"Address Street 1",value:"COMPANY_ADDRESS_STREET_1"},{label:"Address Street 2",value:"COMPANY_ADDRESS_STREET_2"},{label:"Phone",value:"COMPANY_PHONE"},{label:"Zip Code",value:"COMPANY_ZIP_CODE"}]}))}return z(),(b,h)=>{const x=S("BaseContentPlaceholdersBox"),j=S("BaseContentPlaceholders"),R=S("BaseIcon"),T=S("BaseButton"),D=S("BaseDropdown"),k=S("BaseEditor");return i.contentLoading?(c(),$(j,{key:0},{default:v(()=>[m(x,{rounded:!0,class:"w-full",style:{height:"200px"}})]),_:1})):(c(),p("div",ux,[l("div",mx,[m(D,{"close-on-select":!0,"max-height":"220",position:"top-end","width-class":"w-92",class:"mb-2"},{activator:v(()=>[m(T,{type:"button",variant:"primary-outline",class:"mr-4"},{left:v(K=>[m(R,{name:"PlusSmIcon",class:C(K.class)},null,8,["class"])]),default:v(()=>[A(w(b.$t("settings.customization.insert_fields"))+" ",1)]),_:1})]),default:v(()=>[l("div",px,[(c(!0),p(Z,null,G(d(s),(K,U)=>(c(),p("ul",{key:U,class:"list-none"},[l("li",gx,w(K.label),1),(c(!0),p(Z,null,G(K.fields,(F,Y)=>(c(),p("li",{key:Y,class:"w-48 text-sm font-normal cursor-pointer hover:bg-gray-100 rounded ml-1 py-0.5",onClick:J=>u.value+=`{${F.value}}`},[l("div",hx,[m(R,{name:"ChevronDoubleRightIcon",class:"h-3 mt-1 mr-2 text-gray-400"}),A(" "+w(F.label),1)])],8,fx))),128))]))),128))])]),_:1})]),m(k,{modelValue:d(u),"onUpdate:modelValue":h[0]||(h[0]=K=>re(u)?u.value=K:null)},null,8,["modelValue"])]))}}};var yx=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:vx});const bx={props:{tag:{type:String,default:"button"}},setup(i,{slots:r,attrs:o,emit:t}){return()=>Xt(`${i.tag}`,o,r)}};var kx=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:bx});const wx={key:0,class:"text-sm font-bold leading-5 text-black non-italic space-y-1"},xx={key:0},zx={key:1},Sx={key:2},Px={key:3},jx={key:4},Dx={key:5},Cx={props:{address:{type:Object,required:!0}},setup(i){return(r,o)=>{var t,s,a,e,n,_,u,y,z,b,h,x,j,R;return i.address?(c(),p("div",wx,[((t=i.address)==null?void 0:t.address_street_1)?(c(),p("p",xx,w((s=i.address)==null?void 0:s.address_street_1)+",",1)):P("",!0),((a=i.address)==null?void 0:a.address_street_2)?(c(),p("p",zx,w((e=i.address)==null?void 0:e.address_street_2)+",",1)):P("",!0),((n=i.address)==null?void 0:n.city)?(c(),p("p",Sx,w((_=i.address)==null?void 0:_.city)+",",1)):P("",!0),((u=i.address)==null?void 0:u.state)?(c(),p("p",Px,w((y=i.address)==null?void 0:y.state)+",",1)):P("",!0),((b=(z=i.address)==null?void 0:z.country)==null?void 0:b.name)?(c(),p("p",jx,w((x=(h=i.address)==null?void 0:h.country)==null?void 0:x.name)+",",1)):P("",!0),((j=i.address)==null?void 0:j.zip)?(c(),p("p",Dx,w((R=i.address)==null?void 0:R.zip)+".",1)):P("",!0)])):P("",!0)}}};var Ax=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Cx});const Nx={class:"flex justify-between w-full"},Ex=["onSubmit"],Tx={class:"px-6 pb-3"},Ix={class:"grid md:grid-cols-12"},$x={class:"flex justify-end col-span-12"},Rx={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},Rt={setup(i){const r=me(),o=Me(),t=ze(),s=te(),a=ue(),e=Ne();let n=L(!1);const{t:_}=be(),u=oe();L(!1);const y=L(!1),z=N(()=>r.active&&r.componentName==="CustomerModal"),b={name:{required:Q.withMessage(_("validation.required"),je),minLength:Q.withMessage(_("validation.name_min_length",{count:3}),Be(3))},currency_id:{required:Q.withMessage(_("validation.required"),je)},email:{email:Q.withMessage(_("validation.email_incorrect"),Qt)},prefix:{minLength:Q.withMessage(_("validation.name_min_length",{count:3}),Be(3))},website:{url:Q.withMessage(_("validation.invalid_url"),ea)},billing:{address_street_1:{maxLength:Q.withMessage(_("validation.address_maxlength",{count:255}),$e(255))},address_street_2:{maxLength:Q.withMessage(_("validation.address_maxlength",{count:255}),$e(255))}},shipping:{address_street_1:{maxLength:Q.withMessage(_("validation.address_maxlength",{count:255}),$e(255))},address_street_2:{maxLength:Q.withMessage(_("validation.address_maxlength",{count:255}),$e(255))}}},h=Ve(b,N(()=>t.currentCustomer));function x(){t.copyAddress()}async function j(){t.isEdit||(t.currentCustomer.currency_id=s.selectedCompanyCurrency.id)}async function R(){if(h.value.$touch(),h.value.$error)return!0;y.value=!0;let D=M({},t.currentCustomer);try{let k=null;t.isEdit?k=await t.updateCustomer(D):k=await t.addCustomer(D),k.data&&(y.value=!1,(u.name==="invoices.create"||u.name==="invoices.edit")&&e.selectCustomer(k.data.data.id),(u.name==="estimates.create"||u.name==="estimates.edit")&&o.selectCustomer(k.data.data.id),T())}catch(k){console.error(k),y.value=!1}}function T(){r.closeModal(),setTimeout(()=>{t.resetCurrentCustomer(),h.value.$reset()},300)}return(D,k)=>{const K=S("BaseIcon"),U=S("BaseInput"),F=S("BaseInputGroup"),Y=S("BaseMultiselect"),J=S("BaseInputGrid"),ge=S("BaseTab"),ae=S("BaseTextarea"),le=S("BaseButton"),Se=S("BaseTabGroup"),Pe=S("BaseModal");return c(),$(Pe,{show:d(z),onClose:T,onOpen:j},{header:v(()=>[l("div",Nx,[A(w(d(r).title)+" ",1),m(K,{name:"XIcon",class:"h-6 w-6 text-gray-500 cursor-pointer",onClick:T})])]),default:v(()=>[l("form",{action:"",onSubmit:se(R,["prevent"])},[l("div",Tx,[m(Se,null,{default:v(()=>[m(ge,{title:D.$t("customers.basic_info"),class:"!mt-2"},{default:v(()=>[m(J,{layout:"one-column"},{default:v(()=>[m(F,{label:D.$t("customers.display_name"),required:"",error:d(h).name.$error&&d(h).name.$errors[0].$message},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.name,"onUpdate:modelValue":k[0]||(k[0]=I=>d(t).currentCustomer.name=I),modelModifiers:{trim:!0},type:"text",name:"name",class:"mt-1 md:mt-0",invalid:d(h).name.$error,onInput:k[1]||(k[1]=I=>d(h).name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),m(F,{label:D.$tc("settings.currencies.currency"),required:"",error:d(h).currency_id.$error&&d(h).currency_id.$errors[0].$message},{default:v(()=>[m(Y,{modelValue:d(t).currentCustomer.currency_id,"onUpdate:modelValue":k[2]||(k[2]=I=>d(t).currentCustomer.currency_id=I),options:d(a).currencies,"value-prop":"id",searchable:"",placeholder:D.$t("customers.select_currency"),"max-height":200,class:"mt-1 md:mt-0","track-by":"name",invalid:d(h).currency_id.$error,label:"name"},null,8,["modelValue","options","placeholder","invalid"])]),_:1},8,["label","error"]),m(F,{label:D.$t("customers.primary_contact_name")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.contact_name,"onUpdate:modelValue":k[3]||(k[3]=I=>d(t).currentCustomer.contact_name=I),type:"text",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("login.email"),error:d(h).email.$error&&d(h).email.$errors[0].$message},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.email,"onUpdate:modelValue":k[4]||(k[4]=I=>d(t).currentCustomer.email=I),modelModifiers:{trim:!0},type:"text",name:"email",class:"mt-1 md:mt-0",invalid:d(h).email.$error,onInput:k[5]||(k[5]=I=>d(h).email.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),m(F,{label:D.$t("customers.prefix"),error:d(h).prefix.$error&&d(h).prefix.$errors[0].$message,"content-loading":d(n)},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.prefix,"onUpdate:modelValue":k[6]||(k[6]=I=>d(t).currentCustomer.prefix=I),"content-loading":d(n),type:"text",name:"name",class:"",invalid:d(h).prefix.$error,onInput:k[7]||(k[7]=I=>d(h).prefix.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","error","content-loading"]),m(J,null,{default:v(()=>[m(F,{label:D.$t("customers.phone")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.phone,"onUpdate:modelValue":k[8]||(k[8]=I=>d(t).currentCustomer.phone=I),modelModifiers:{trim:!0},type:"text",name:"phone",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.website"),error:d(h).website.$error&&d(h).website.$errors[0].$message},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.website,"onUpdate:modelValue":k[9]||(k[9]=I=>d(t).currentCustomer.website=I),type:"url",class:"mt-1 md:mt-0",invalid:d(h).website.$error,onInput:k[10]||(k[10]=I=>d(h).website.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),_:1})]),_:1})]),_:1},8,["title"]),m(ge,{title:D.$t("customers.billing_address"),class:"!mt-2"},{default:v(()=>[m(J,{layout:"one-column"},{default:v(()=>[m(F,{label:D.$t("customers.name")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.billing.name,"onUpdate:modelValue":k[11]||(k[11]=I=>d(t).currentCustomer.billing.name=I),type:"text",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.country")},{default:v(()=>[m(Y,{modelValue:d(t).currentCustomer.billing.country_id,"onUpdate:modelValue":k[12]||(k[12]=I=>d(t).currentCustomer.billing.country_id=I),options:d(a).countries,searchable:"","show-labels":!1,placeholder:D.$t("general.select_country"),"allow-empty":!1,"track-by":"name",class:"mt-1 md:mt-0",label:"name","value-prop":"id"},null,8,["modelValue","options","placeholder"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.state")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.billing.state,"onUpdate:modelValue":k[13]||(k[13]=I=>d(t).currentCustomer.billing.state=I),type:"text",name:"billingState",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.city")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.billing.city,"onUpdate:modelValue":k[14]||(k[14]=I=>d(t).currentCustomer.billing.city=I),type:"text",name:"billingCity",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.address"),error:d(h).billing.address_street_1.$error&&d(h).billing.address_street_1.$errors[0].$message},{default:v(()=>[m(ae,{modelValue:d(t).currentCustomer.billing.address_street_1,"onUpdate:modelValue":k[15]||(k[15]=I=>d(t).currentCustomer.billing.address_street_1=I),placeholder:D.$t("general.street_1"),rows:"2",cols:"50",class:"mt-1 md:mt-0",invalid:d(h).billing.address_street_1.$error,onInput:k[16]||(k[16]=I=>d(h).billing.address_street_1.$touch())},null,8,["modelValue","placeholder","invalid"])]),_:1},8,["label","error"])]),_:1}),m(J,{layout:"one-column"},{default:v(()=>[m(F,{error:d(h).billing.address_street_2.$error&&d(h).billing.address_street_2.$errors[0].$message},{default:v(()=>[m(ae,{modelValue:d(t).currentCustomer.billing.address_street_2,"onUpdate:modelValue":k[17]||(k[17]=I=>d(t).currentCustomer.billing.address_street_2=I),placeholder:D.$t("general.street_2"),rows:"2",cols:"50",invalid:d(h).billing.address_street_2.$error,onInput:k[18]||(k[18]=I=>d(h).billing.address_street_2.$touch())},null,8,["modelValue","placeholder","invalid"])]),_:1},8,["error"]),m(F,{label:D.$t("customers.phone")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.billing.phone,"onUpdate:modelValue":k[19]||(k[19]=I=>d(t).currentCustomer.billing.phone=I),modelModifiers:{trim:!0},type:"text",name:"phone",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.zip_code")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.billing.zip,"onUpdate:modelValue":k[20]||(k[20]=I=>d(t).currentCustomer.billing.zip=I),type:"text",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),_:1},8,["title"]),m(ge,{title:D.$t("customers.shipping_address"),class:"!mt-2"},{default:v(()=>[l("div",Ix,[l("div",$x,[m(le,{variant:"primary",type:"button",size:"xs",onClick:k[21]||(k[21]=I=>x())},{default:v(()=>[A(w(D.$t("customers.copy_billing_address")),1)]),_:1})])]),m(J,{layout:"one-column"},{default:v(()=>[m(F,{label:D.$t("customers.name")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.shipping.name,"onUpdate:modelValue":k[22]||(k[22]=I=>d(t).currentCustomer.shipping.name=I),type:"text",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.country")},{default:v(()=>[m(Y,{modelValue:d(t).currentCustomer.shipping.country_id,"onUpdate:modelValue":k[23]||(k[23]=I=>d(t).currentCustomer.shipping.country_id=I),options:d(a).countries,searchable:!0,"show-labels":!1,"allow-empty":!1,placeholder:D.$t("general.select_country"),"track-by":"name",class:"mt-1 md:mt-0",label:"name","value-prop":"id"},null,8,["modelValue","options","placeholder"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.state")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.shipping.state,"onUpdate:modelValue":k[24]||(k[24]=I=>d(t).currentCustomer.shipping.state=I),type:"text",name:"shippingState",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.city")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.shipping.city,"onUpdate:modelValue":k[25]||(k[25]=I=>d(t).currentCustomer.shipping.city=I),type:"text",name:"shippingCity",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.address"),error:d(h).shipping.address_street_1.$error&&d(h).shipping.address_street_1.$errors[0].$message},{default:v(()=>[m(ae,{modelValue:d(t).currentCustomer.shipping.address_street_1,"onUpdate:modelValue":k[26]||(k[26]=I=>d(t).currentCustomer.shipping.address_street_1=I),placeholder:D.$t("general.street_1"),rows:"2",cols:"50",class:"mt-1 md:mt-0",invalid:d(h).shipping.address_street_1.$error,onInput:k[27]||(k[27]=I=>d(h).shipping.address_street_1.$touch())},null,8,["modelValue","placeholder","invalid"])]),_:1},8,["label","error"])]),_:1}),m(J,{layout:"one-column"},{default:v(()=>[m(F,{error:d(h).shipping.address_street_2.$error&&d(h).shipping.address_street_2.$errors[0].$message},{default:v(()=>[m(ae,{modelValue:d(t).currentCustomer.shipping.address_street_2,"onUpdate:modelValue":k[28]||(k[28]=I=>d(t).currentCustomer.shipping.address_street_2=I),placeholder:D.$t("general.street_2"),rows:"2",cols:"50",invalid:d(h).shipping.address_street_1.$error,onInput:k[29]||(k[29]=I=>d(h).shipping.address_street_2.$touch())},null,8,["modelValue","placeholder","invalid"])]),_:1},8,["error"]),m(F,{label:D.$t("customers.phone")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.shipping.phone,"onUpdate:modelValue":k[30]||(k[30]=I=>d(t).currentCustomer.shipping.phone=I),modelModifiers:{trim:!0},type:"text",name:"phone",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.zip_code")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.shipping.zip,"onUpdate:modelValue":k[31]||(k[31]=I=>d(t).currentCustomer.shipping.zip=I),type:"text",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),_:1},8,["title"])]),_:1})]),l("div",Rx,[m(le,{class:"mr-3 text-sm",type:"button",variant:"primary-outline",onClick:T},{default:v(()=>[A(w(D.$t("general.cancel")),1)]),_:1}),m(le,{loading:y.value,variant:"primary",type:"submit"},{left:v(I=>[y.value?P("",!0):(c(),$(K,{key:0,name:"SaveIcon",class:C(I.class)},null,8,["class"]))]),default:v(()=>[A(" "+w(D.$t("general.save")),1)]),_:1},8,["loading"])])],40,Ex)]),_:1},8,["show"])}}},Fx={props:{modelValue:{type:[String,Number,Object],default:""},fetchAll:{type:Boolean,default:!1},showAction:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i,{t}=be(),s=me(),a=ze(),e=ve(),n=N({get:()=>o.modelValue,set:y=>{r("update:modelValue",y)}});async function _(y){let z={search:y};return o.fetchAll&&(z.limit="all"),(await a.fetchCustomers(z)).data.data}async function u(){a.resetCurrentCustomer(),s.openModal({title:t("customers.add_new_customer"),componentName:"CustomerModal"})}return(y,z)=>{const b=S("BaseIcon"),h=S("BaseSelectAction"),x=S("BaseMultiselect");return c(),p(Z,null,[m(x,_e({modelValue:d(n),"onUpdate:modelValue":z[0]||(z[0]=j=>re(n)?n.value=j:null)},y.$attrs,{"track-by":"name","value-prop":"id",label:"name","filter-results":!1,"resolve-on-load":"",delay:500,searchable:!0,options:_,"label-value":"name",placeholder:y.$t("customers.type_or_click"),"can-deselect":!1,class:"w-full"}),ta({_:2},[i.showAction?{name:"action",fn:v(()=>[d(e).hasAbilities(d(O).CREATE_CUSTOMER)?(c(),$(h,{key:0,onClick:u},{default:v(()=>[m(b,{name:"UserAddIcon",class:"h-4 mr-2 -ml-2 text-center text-primary-400"}),A(" "+w(y.$t("customers.add_new_customer")),1)]),_:1})):P("",!0)])}:void 0]),1040,["modelValue","placeholder"]),m(Rt)],64)}}};var Mx=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Fx});const Bx={key:1,class:"max-h-[173px]"},Vx={class:"flex relative justify-between mb-2"},Ox={class:"flex"},Lx=["onClick"],Ux={class:"grid grid-cols-2 gap-8 mt-2"},Kx={key:0,class:"flex flex-col"},qx={class:"mb-1 text-sm font-medium text-left text-gray-400 uppercase whitespace-nowrap"},Wx={key:0,class:"flex flex-col flex-1 p-0 text-left"},Zx={key:0,class:"relative w-11/12 text-sm truncate"},Hx={class:"relative w-11/12 text-sm truncate"},Gx={key:0},Yx={key:1},Jx={key:2},Xx={key:1,class:"relative w-11/12 text-sm truncate"},Qx={key:1,class:"flex flex-col"},ez={class:"mb-1 text-sm font-medium text-left text-gray-400 uppercase whitespace-nowrap"},tz={key:0,class:"flex flex-col flex-1 p-0 text-left"},az={key:0,class:"relative w-11/12 text-sm truncate"},sz={class:"relative w-11/12 text-sm truncate"},nz={key:0},iz={key:1},oz={key:2},rz={key:1,class:"relative w-11/12 text-sm truncate"},dz={class:"relative flex justify-center px-0 p-0 py-16 bg-white border border-gray-200 border-solid rounded-md min-h-[170px]"},lz={class:"mt-1"},cz={class:"text-lg font-medium text-gray-900"},_z=l("span",{class:"text-red-500"}," * ",-1),uz={key:0,class:"text-red-500 text-sm absolute right-3 bottom-3"},mz={key:0,class:"absolute min-w-full z-10"},pz={class:"relative"},gz={class:"max-h-80 flex flex-col overflow-auto list border-t border-gray-200"},fz=["onClick"],hz={class:"flex items-center content-center justify-center w-10 h-10 mr-4 text-xl font-semibold leading-9 text-white bg-gray-300 rounded-full avatar"},vz={class:"flex flex-col justify-center text-left"},yz={key:0,class:"flex justify-center p-5 text-gray-400"},bz={class:"text-base text-gray-500 cursor-pointer"},kz={class:"m-0 ml-3 text-sm leading-none cursor-pointer font-base text-primary-400"},wz={props:{valid:{type:Object,default:()=>{}},customerId:{type:Number,default:null},type:{type:String,default:null},contentLoading:{type:Boolean,default:!1}},setup(i){const r=i,o=me(),t=Me(),s=ze(),a=ue(),e=Ne(),n=xt(),_=ve(),u=oe(),{t:y}=be(),z=L(null),b=L(!1),h=N(()=>{switch(r.type){case"estimate":return t.newEstimate.customer;case"invoice":return e.newInvoice.customer;case"recurring-invoice":return n.newRecurringInvoice.customer;default:return""}});function x(){r.type==="estimate"?t.resetSelectedCustomer():r.type==="invoice"?e.resetSelectedCustomer():n.resetSelectedCustomer()}r.customerId&&r.type==="estimate"?t.selectCustomer(r.customerId):r.customerId&&r.type==="invoice"?e.selectCustomer(r.customerId):r.customerId&&n.selectCustomer(r.customerId);async function j(){await s.fetchCustomer(h.value.id),o.openModal({title:y("customers.edit_customer"),componentName:"CustomerModal"})}async function R(){await s.fetchCustomers({filter:{},orderByField:"",orderBy:"",customer_id:r.customerId})}const T=ia(()=>{b.value=!0,D()},500);async function D(){let F={display_name:z.value,page:1};await s.fetchCustomers(F),b.value=!1}function k(){o.openModal({title:y("customers.add_customer"),componentName:"CustomerModal",variant:"md"})}function K(F){if(F)return F.split(" ")[0].charAt(0).toUpperCase()}function U(F,Y){let J={userId:F};u.params.id&&(J.model_id=u.params.id),r.type==="estimate"?(t.getNextNumber(J,!0),t.selectCustomer(F)):r.type==="invoice"?(e.getNextNumber(J,!0),e.selectCustomer(F)):n.selectCustomer(F),Y(),z.value=null}return a.fetchCurrencies(),a.fetchCountries(),R(),(F,Y)=>{const J=S("BaseContentPlaceholdersBox"),ge=S("BaseContentPlaceholders"),ae=S("BaseText"),le=S("BaseIcon"),Se=S("BaseInput");return i.contentLoading?(c(),$(ge,{key:0},{default:v(()=>[m(J,{rounded:!0,class:"w-full",style:{"min-height":"170px"}})]),_:1})):(c(),p("div",Bx,[m(Rt),d(h)?(c(),p("div",{key:0,class:"flex flex-col p-4 bg-white border border-gray-200 border-solid min-h-[170px] rounded-md",onClick:Y[0]||(Y[0]=se(()=>{},["stop"]))},[l("div",Vx,[m(ae,{text:d(h).name,length:30,class:"flex-1 text-base font-medium text-left text-gray-900"},null,8,["text"]),l("div",Ox,[l("a",{class:"relative my-0 ml-6 text-sm font-medium cursor-pointer text-primary-500 items-center flex",onClick:se(j,["stop"])},[m(le,{name:"PencilIcon",class:"text-gray-500 h-4 w-4 mr-1"}),A(" "+w(F.$t("general.edit")),1)],8,Lx),l("a",{class:"relative my-0 ml-6 text-sm flex items-center font-medium cursor-pointer text-primary-500",onClick:x},[m(le,{name:"XCircleIcon",class:"text-gray-500 h-4 w-4 mr-1"}),A(" "+w(F.$t("general.deselect")),1)])])]),l("div",Ux,[d(h).billing?(c(),p("div",Kx,[l("label",qx,w(F.$t("general.bill_to")),1),d(h).billing?(c(),p("div",Wx,[d(h).billing.name?(c(),p("label",Zx,w(d(h).billing.name),1)):P("",!0),l("label",Hx,[d(h).billing.city?(c(),p("span",Gx,w(d(h).billing.city),1)):P("",!0),d(h).billing.city&&d(h).billing.state?(c(),p("span",Yx," , ")):P("",!0),d(h).billing.state?(c(),p("span",Jx,w(d(h).billing.state),1)):P("",!0)]),d(h).billing.zip?(c(),p("label",Xx,w(d(h).billing.zip),1)):P("",!0)])):P("",!0)])):P("",!0),d(h).shipping?(c(),p("div",Qx,[l("label",ez,w(F.$t("general.ship_to")),1),d(h).shipping?(c(),p("div",tz,[d(h).shipping.name?(c(),p("label",az,w(d(h).shipping.name),1)):P("",!0),l("label",sz,[d(h).shipping.city?(c(),p("span",nz,w(d(h).shipping.city),1)):P("",!0),d(h).shipping.city&&d(h).shipping.state?(c(),p("span",iz," , ")):P("",!0),d(h).shipping.state?(c(),p("span",oz,w(d(h).shipping.state),1)):P("",!0)]),d(h).shipping.zip?(c(),p("label",rz,w(d(h).shipping.zip),1)):P("",!0)])):P("",!0)])):P("",!0)])])):(c(),$(d(na),{key:1,class:"relative flex flex-col rounded-md"},{default:v(({open:Pe})=>[m(d(aa),{class:C([{"text-opacity-90":Pe,"border border-solid border-red-500 focus:ring-red-500 rounded":i.valid.$error,"focus:ring-2 focus:ring-primary-400":!i.valid.$error},"w-full outline-none rounded-md"])},{default:v(()=>[l("div",dz,[m(le,{name:"UserIcon",class:"flex justify-center w-10 h-10 p-2 mr-5 text-sm text-white bg-gray-200 rounded-full font-base"}),l("div",lz,[l("label",cz,[A(w(F.$t("customers.new_customer"))+" ",1),_z]),i.valid.$error&&i.valid.$errors[0].$message?(c(),p("p",uz,w(F.$t("estimates.errors.required")),1)):P("",!0)])])]),_:2},1032,["class"]),m(De,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"translate-y-1 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-1 opacity-0"},{default:v(()=>[Pe?(c(),p("div",mz,[m(d(sa),{focus:"",static:"",class:"overflow-hidden rounded-md shadow-lg ring-1 ring-black ring-opacity-5 bg-white"},{default:v(({close:I})=>[l("div",pz,[m(Se,{modelValue:z.value,"onUpdate:modelValue":[Y[1]||(Y[1]=ne=>z.value=ne),Y[2]||(Y[2]=ne=>d(T)(ne))],"container-class":"m-4",placeholder:F.$t("general.search"),type:"text",icon:"search"},null,8,["modelValue","placeholder"]),l("ul",gz,[(c(!0),p(Z,null,G(d(s).customers,(ne,ce)=>(c(),p("li",{key:ce,href:"#",class:"flex px-6 py-2 border-b border-gray-200 border-solid cursor-pointer hover:cursor-pointer hover:bg-gray-100 focus:outline-none focus:bg-gray-100 last:border-b-0",onClick:QD=>U(ne.id,I)},[l("span",hz,w(K(ne.name)),1),l("div",vz,[ne.name?(c(),$(ae,{key:0,text:ne.name,length:30,class:"m-0 text-base font-normal leading-tight cursor-pointer"},null,8,["text"])):P("",!0),ne.contact_name?(c(),$(ae,{key:1,text:ne.contact_name,length:30,class:"m-0 text-sm font-medium text-gray-400 cursor-pointer"},null,8,["text"])):P("",!0)])],8,fz))),128)),d(s).customers.length===0?(c(),p("div",yz,[l("label",bz,w(F.$t("customers.no_customers_found")),1)])):P("",!0)])]),d(_).hasAbilities(d(O).CREATE_CUSTOMER)?(c(),p("button",{key:0,type:"button",class:"h-10 flex items-center justify-center w-full px-2 py-3 bg-gray-200 border-none outline-none focus:bg-gray-300",onClick:k},[m(le,{name:"UserAddIcon",class:"text-primary-400"}),l("label",kz,w(F.$t("customers.add_new_customer")),1)])):P("",!0)]),_:1})])):P("",!0)]),_:2},1024)]),_:1}))]))}}};var xz=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:wz});const zz=l("path",{"fill-rule":"evenodd",d:"M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z","clip-rule":"evenodd"},null,-1),Sz=[zz],Pz={props:{modelValue:{type:[String,Date],default:()=>new Date},contentLoading:{type:Boolean,default:!1},placeholder:{type:String,default:null},invalid:{type:Boolean,default:!1},enableTime:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},showCalendarIcon:{type:Boolean,default:!0},containerClass:{type:String,default:""},defaultInputClass:{type:String,default:"font-base pl-8 py-2 outline-none focus:ring-primary-400 focus:outline-none focus:border-primary-400 block w-full sm:text-sm border-gray-200 rounded-md text-black"},time24hr:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i,t=L(null),s=xe(),a=te();let e=Te({altInput:!0,enableTime:o.enableTime,time_24hr:o.time24hr});const n=N({get:()=>o.modelValue,set:x=>{r("update:modelValue",x)}}),_=N(()=>{var x;return(x=a.selectedCompanySettings)==null?void 0:x.carbon_date_format}),u=N(()=>!!s.icon),y=N(()=>`${o.containerClass} `),z=N(()=>o.invalid?"border-red-400 ring-red-400 focus:ring-red-400 focus:border-red-400":""),b=N(()=>o.disabled?"border border-solid rounded-md outline-none input-field box-border-2 base-date-picker-input placeholder-gray-400 bg-gray-200 text-gray-600 border-gray-200":"");function h(x){t.value.fp.open()}return fe(()=>o.enableTime,x=>{o.enableTime&&(e.enableTime=o.enableTime)},{immediate:!0}),fe(()=>_,()=>{o.enableTime?e.altFormat=_.value?`${_.value} H:i `:"d M Y H:i":e.altFormat=_.value?_.value:"d M Y"},{immediate:!0}),(x,j)=>{const R=S("BaseContentPlaceholdersBox"),T=S("BaseContentPlaceholders");return i.contentLoading?(c(),$(T,{key:0},{default:v(()=>[m(R,{rounded:!0,class:C(`w-full ${d(y)}`),style:{height:"38px"}},null,8,["class"])]),_:1})):(c(),p("div",{key:1,class:C([d(y),"relative flex flex-row"])},[i.showCalendarIcon&&!d(u)?(c(),p("svg",{key:0,viewBox:"0 0 20 20",fill:"currentColor",class:"absolute w-4 h-4 mx-2 my-2.5 text-sm not-italic font-black text-gray-400 cursor-pointer",onClick:h},Sz)):P("",!0),i.showCalendarIcon&&d(u)?B(x.$slots,"icon",{key:1}):P("",!0),m(d(ot),_e({ref:(D,k)=>{k.dp=D,t.value=D},modelValue:d(n),"onUpdate:modelValue":j[0]||(j[0]=D=>re(n)?n.value=D:null)},x.$attrs,{disabled:i.disabled,config:d(e),class:[i.defaultInputClass,d(z),d(b)]}),null,16,["modelValue","disabled","config","class"])],2))}}};var jz=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Pz});const Dz={},Cz={class:"grid gap-4 mt-5 md:grid-cols-2 lg:grid-cols-3"};function Az(i,r){return c(),p("div",Cz,[B(i.$slots,"default")])}var Nz=ee(Dz,[["render",Az]]),Ez=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Nz});const Tz={key:1},Iz={class:"text-sm font-bold leading-5 text-black non-italic"},$z={props:{label:{type:String,required:!0},value:{type:[String,Number],default:""},contentLoading:{type:Boolean,default:!1}},setup(i){return(r,o)=>{const t=S("BaseContentPlaceholdersBox"),s=S("BaseContentPlaceholders"),a=S("BaseLabel");return c(),p("div",null,[i.contentLoading?(c(),$(s,{key:0},{default:v(()=>[m(t,{class:"w-20 h-5 mb-1"}),m(t,{class:"w-40 h-5"})]),_:1})):(c(),p("div",Tz,[m(a,{class:"font-normal mb-1"},{default:v(()=>[A(w(i.label),1)]),_:1}),l("p",Iz,[A(w(i.value)+" ",1),B(r.$slots,"default")])]))])}}};var Rz=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:$z});const Fz={class:"flex items-end justify-center min-h-screen min-h-screen-ios px-4 pt-4 pb-20 text-center sm:block sm:p-0"},Mz=l("span",{class:"hidden sm:inline-block sm:align-middle sm:h-screen sm:h-screen-ios","aria-hidden":"true"},"\u200B",-1),Bz={class:"mt-3 text-center sm:mt-5"},Vz={class:"mt-2"},Oz={class:"text-sm text-gray-500"},Lz={setup(i){const r=ht();function o(s){r.resolve(s),r.closeDialog()}const t=N(()=>{switch(r.size){case"sm":return"sm:max-w-sm";case"md":return"sm:max-w-md";case"lg":return"sm:max-w-lg";default:return"sm:max-w-md"}});return(s,a)=>{const e=S("BaseIcon"),n=S("base-button");return c(),$(d(Ke),{as:"template",show:d(r).active},{default:v(()=>[m(d(Le),{as:"div",static:"",class:"fixed inset-0 z-20 overflow-y-auto",open:d(r).active,onClose:d(r).closeDialog},{default:v(()=>[l("div",Fz,[m(d(ke),{as:"template",enter:"ease-out duration-300","enter-from":"opacity-0","enter-to":"opacity-100",leave:"ease-in duration-200","leave-from":"opacity-100","leave-to":"opacity-0"},{default:v(()=>[m(d(Ue),{class:"fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75"})]),_:1}),Mz,m(d(ke),{as:"template",enter:"ease-out duration-300","enter-from":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to":"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200","leave-from":"opacity-100 translate-y-0 sm:scale-100","leave-to":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:v(()=>[l("div",{class:C(["inline-block px-4 pt-5 pb-4 overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:w-full sm:p-6",d(t)])},[l("div",null,[l("div",{class:C(["flex items-center justify-center w-12 h-12 mx-auto bg-green-100 rounded-full",{"bg-green-100":d(r).variant==="primary","bg-red-100":d(r).variant==="danger"}])},[d(r).variant==="primary"?(c(),$(e,{key:0,name:"CheckIcon",class:"w-6 h-6 text-green-600"})):(c(),$(e,{key:1,name:"ExclamationIcon",class:"w-6 h-6 text-red-600","aria-hidden":"true"}))],2),l("div",Bz,[m(d(oa),{as:"h3",class:"text-lg font-medium leading-6 text-gray-900"},{default:v(()=>[A(w(d(r).title),1)]),_:1}),l("div",Vz,[l("p",Oz,w(d(r).message),1)])])]),l("div",{class:C(["mt-5 sm:mt-6",{"sm:grid sm:grid-cols-2 sm:gap-3 sm:grid-flow-row-dense":!d(r).hideNoButton}])},[m(n,{class:C(["justify-center",{"w-full":d(r).hideNoButton}]),variant:d(r).variant,onClick:a[0]||(a[0]=_=>o(!0))},{default:v(()=>[A(w(d(r).yesLabel),1)]),_:1},8,["variant","class"]),d(r).hideNoButton?P("",!0):(c(),$(n,{key:0,class:"justify-center",variant:"white",onClick:a[1]||(a[1]=_=>o(!1))},{default:v(()=>[A(w(d(r).noLabel),1)]),_:1}))],2)],2)]),_:1})])]),_:1},8,["open","onClose"])]),_:1},8,["show"])}}};var Uz=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Lz});const Kz={},qz={class:"w-full text-gray-300"};function Wz(i,r){return c(),p("hr",qz)}var Zz=ee(Kz,[["render",Wz]]),Hz=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Zz});function Gz(i){let r=L(null),o=L(null),t=L(null);return we(()=>{rt(s=>{if(!o.value||!r.value)return;let a=o.value.el||o.value,e=r.value.el||r.value;e instanceof HTMLElement&&a instanceof HTMLElement&&(t.value=ra(e,a,i),s(t.value.destroy))})}),[r,o,t]}const Yz={class:"py-1"},Jz={props:{containerClass:{type:String,required:!1,default:""},widthClass:{type:String,default:"w-56"},positionClass:{type:String,default:"absolute z-10 right-0"},position:{type:String,default:"bottom-end"},wrapperClass:{type:String,default:"inline-block h-full text-left"},contentLoading:{type:Boolean,default:!1}},setup(i){const r=i,o=N(()=>`origin-top-right rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 divide-y divide-gray-100 focus:outline-none ${r.containerClass}`);let[t,s,a]=Gz({placement:"bottom-end",strategy:"fixed",modifiers:[{name:"offset",options:{offset:[0,10]}}]});function e(){a.value.update()}return(n,_)=>{const u=S("BaseContentPlaceholdersBox"),y=S("BaseContentPlaceholders");return c(),p("div",{class:C(["relative",i.wrapperClass])},[i.contentLoading?(c(),$(y,{key:0,class:"disabled cursor-normal pointer-events-none"},{default:v(()=>[m(u,{rounded:!0,class:"w-14",style:{height:"42px"}})]),_:1})):(c(),$(d(ca),{key:1},{default:v(()=>[m(d(da),{ref:(z,b)=>{b.trigger=z,re(t)?t.value=z:t=z},class:"focus:outline-none",onClick:e},{default:v(()=>[B(n.$slots,"activator")]),_:3},512),l("div",{ref:(z,b)=>{b.container=z,re(s)?s.value=z:s=z},class:C(["z-10",i.widthClass])},[m(De,{"enter-active-class":"transition duration-100 ease-out","enter-from-class":"transform scale-95 opacity-0","enter-to-class":"transform scale-100 opacity-100","leave-active-class":"transition duration-75 ease-in","leave-from-class":"transform scale-100 opacity-100","leave-to-class":"transform scale-95 opacity-0"},{default:v(()=>[m(d(la),{class:C(d(o))},{default:v(()=>[l("div",Yz,[B(n.$slots,"default")])]),_:3},8,["class"])]),_:3})],2)]),_:3}))],2)}}};var Xz=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Jz});const Qz={setup(i){return(r,o)=>(c(),$(d(ma),_a(ua(r.$attrs)),{default:v(({active:t})=>[l("a",{href:"#",class:C([t?"bg-gray-100 text-gray-900":"text-gray-700","group flex items-center px-4 py-2 text-sm font-normal"])},[B(r.$slots,"default",{active:t})],2)]),_:3},16))}};var eS=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Qz});const tS={class:"flex flex-col items-center justify-center mt-16"},aS={class:"flex flex-col items-center justify-center"},sS={class:"mt-2"},nS={class:"font-medium"},iS={class:"mt-2"},oS={class:"text-gray-500"},rS={class:"mt-6"},dS={props:{title:{type:String,default:String},description:{type:String,default:String}},setup(i){return(r,o)=>(c(),p("div",tS,[l("div",aS,[B(r.$slots,"default")]),l("div",sS,[l("label",nS,w(i.title),1)]),l("div",iS,[l("label",oS,w(i.description),1)]),l("div",rS,[B(r.$slots,"actions")])]))}};var lS=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:dS});const cS={class:"rounded-md bg-red-50 p-4"},_S={class:"flex"},uS={class:"flex-shrink-0"},mS={class:"ml-3"},pS={class:"text-sm font-medium text-red-800"},gS={class:"mt-2 text-sm text-red-700"},fS={role:"list",class:"list-disc pl-5 space-y-1"},hS={props:{errorTitle:{type:String,default:"There were some errors with your submission"},errors:{type:Array,default:null}},setup(i){return(r,o)=>(c(),p("div",cS,[l("div",_S,[l("div",uS,[m(d(pa),{class:"h-5 w-5 text-red-400","aria-hidden":"true"})]),l("div",mS,[l("h3",pS,w(i.errorTitle),1),l("div",gS,[l("ul",fS,[(c(!0),p(Z,null,G(i.errors,(t,s)=>(c(),p("li",{key:s},w(t),1))),128))])])])])]))}};var vS=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:hS});const yS={props:{status:{type:String,required:!1,default:""}},setup(i){const r=i,o=N(()=>{switch(r.status){case"DRAFT":return"bg-yellow-300 bg-opacity-25 px-2 py-1 text-sm text-yellow-800 uppercase font-normal text-center ";case"SENT":return" bg-yellow-500 bg-opacity-25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center ";case"VIEWED":return"bg-blue-400 bg-opacity-25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center";case"EXPIRED":return"bg-red-300 bg-opacity-25 px-2 py-1 text-sm text-red-800 uppercase font-normal text-center";case"ACCEPTED":return"bg-green-400 bg-opacity-25 px-2 py-1 text-sm text-green-800 uppercase font-normal text-center";case"REJECTED":return"bg-purple-300 bg-opacity-25 px-2 py-1 text-sm text-purple-800 uppercase font-normal text-center";default:return"bg-gray-500 bg-opacity-25 px-2 py-1 text-sm text-gray-900 uppercase font-normal text-center"}});return(t,s)=>(c(),p("span",{class:C(d(o))},[B(t.$slots,"default")],2))}};var bS=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:yS}),kS="/build/img/default-avatar.jpg";const wS=["multiple","name","accept"],xS={key:0,class:""},zS=l("img",{src:kS,class:"rounded",alt:"Default Avatar"},null,-1),SS=["onClick"],PS={key:1,class:"flex flex-col items-center"},jS={class:"text-xs leading-4 text-center text-gray-400"},DS=A(" Drag a file here or "),CS=["onClick"],AS=A(" to choose a file "),NS={key:2,class:"flex w-full h-full border border-gray-200 rounded"},ES=["src"],TS={key:1,class:"flex justify-center items-center text-gray-400 flex-col space-y-2 px-2 py-4 w-full"},IS=l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-8 w-8",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.25",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})],-1),$S={key:0,class:"text-gray-600 font-medium text-sm truncate overflow-hidden w-full"},RS={key:3,class:"flex flex-wrap w-full"},FS=["src"],MS={key:1,class:"flex justify-center items-center text-gray-400 flex-col space-y-2 px-2 py-4 w-full"},BS=l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-8 w-8",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.25",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})],-1),VS={key:0,class:"text-gray-600 font-medium text-sm truncate overflow-hidden w-full"},OS=["onClick"],LS={key:4,class:"flex w-full items-center justify-center"},US=["src"],KS={key:1,class:"flex justify-center items-center text-gray-400 flex-col space-y-2 px-2 py-4 w-full"},qS=l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-8 w-8",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.25",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})],-1),WS={key:0,class:"text-gray-600 font-medium text-sm truncate overflow-hidden w-full"},ZS=["onClick"],HS={props:{multiple:{type:Boolean,default:!1},avatar:{type:Boolean,default:!1},autoProcess:{type:Boolean,default:!1},uploadUrl:{type:String,default:""},preserveLocalFiles:{type:Boolean,default:!1},accept:{type:String,default:"image/*"},inputFieldName:{type:String,default:"photos"},base64:{type:Boolean,default:!1},modelValue:{type:Array,default:()=>[]}},emits:["change","remove","update:modelValue"],setup(i,{emit:r}){const o=i;let t=L([]);const s=L([]),a=L(null);L(null),L(null);function e(){t.value=[],o.modelValue&&o.modelValue.length?s.value=[...o.modelValue]:s.value=[]}function n(x){return f.post(o.uploadUrl,x).then(j=>j.data).then(j=>j.map(R=>H(M({},R),{url:`/images/${R.id}`})))}function _(x){n(x).then(j=>{t=[].concat(j)}).catch(j=>{})}function u(x){return new Promise((j,R)=>{const T=new FileReader;T.readAsDataURL(x),T.onload=()=>j(T.result),T.onerror=D=>R(D)})}function y(x,j,R){if(!j.length||(o.multiple?r("change",x,j,R):o.base64?u(j[0]).then(D=>{r("change",x,D,R,j[0])}):r("change",x,j[0],R),o.preserveLocalFiles||(s.value=[]),Array.from(Array(j.length).keys()).forEach(D=>{const k=j[D];Ce.isImageFile(k.type)?u(k).then(K=>{s.value.push({fileObject:k,type:k.type,name:k.name,image:K})}):s.value.push({fileObject:k,type:k.type,name:k.name})}),r("update:modelValue",s.value),!o.autoProcess))return;const T=new FormData;Array.from(Array(j.length).keys()).forEach(D=>{T.append(x,j[D],j[D].name)}),_(T)}function z(){a.value&&a.value.click()}function b(x){s.value=[],r("remove",x)}function h(x){s.value.splice(x,1)}return we(()=>{e()}),fe(()=>o.modelValue,x=>{s.value=[...x]}),(x,j)=>{const R=S("BaseIcon");return c(),p("form",{enctype:"multipart/form-data",class:C(["relative flex items-center justify-center p-2 border-2 border-dashed rounded-md cursor-pointer avatar-upload border-gray-200 transition-all duration-300 ease-in-out isolate w-full hover:border-gray-300 group min-h-[100px] bg-gray-50",i.avatar?"w-32 h-32":"w-full"])},[l("input",{id:"file-upload",ref:(T,D)=>{D.inputRef=T,a.value=T},type:"file",tabindex:"-1",multiple:i.multiple,name:i.inputFieldName,accept:i.accept,class:"absolute z-10 w-full h-full opacity-0 cursor-pointer",onChange:j[0]||(j[0]=T=>y(T.target.name,T.target.files,T.target.files.length))},null,40,wS),!s.value.length&&i.avatar?(c(),p("div",xS,[zS,l("a",{href:"#",class:"absolute z-30 bg-white rounded-full -bottom-3 -right-3 group",onClick:se(z,["prevent","stop"])},[m(R,{name:"PlusCircleIcon",class:"h-8 text-xl leading-6 text-primary-500 group-hover:text-primary-600"})],8,SS)])):s.value.length?s.value.length&&i.avatar&&!i.multiple?(c(),p("div",NS,[s.value[0].image?(c(),p("img",{key:0,for:"file-upload",src:s.value[0].image,class:"block object-cover w-full h-full rounded opacity-100",style:{animation:"fadeIn 2s ease"}},null,8,ES)):(c(),p("div",TS,[IS,s.value[0].name?(c(),p("p",$S,w(s.value[0].name),1)):P("",!0)])),l("a",{href:"#",class:"box-border absolute z-30 flex items-center justify-center w-8 h-8 bg-white border border-gray-200 rounded-full shadow-md -bottom-3 -right-3 group hover:border-gray-300",onClick:j[1]||(j[1]=se(T=>b(s.value[0]),["prevent","stop"]))},[m(R,{name:"XIcon",class:"h-4 text-xl leading-6 text-black"})])])):s.value.length&&i.multiple?(c(),p("div",RS,[(c(!0),p(Z,null,G(s.value,(T,D)=>(c(),p("a",{key:T,href:"#",class:"block p-2 m-2 bg-white border border-gray-200 rounded hover:border-gray-500 relative max-w-md",onClick:j[2]||(j[2]=se(()=>{},["prevent"]))},[T.image?(c(),p("img",{key:0,for:"file-upload",src:T.image,class:"block object-cover w-20 h-20 opacity-100",style:{animation:"fadeIn 2s ease"}},null,8,FS)):(c(),p("div",MS,[BS,T.name?(c(),p("p",VS,w(T.name),1)):P("",!0)])),l("a",{href:"#",class:"box-border absolute z-30 flex items-center justify-center w-8 h-8 bg-white border border-gray-200 rounded-full shadow-md -bottom-3 -right-3 group hover:border-gray-300",onClick:se(k=>h(D),["prevent","stop"])},[m(R,{name:"XIcon",class:"h-4 text-xl leading-6 text-black"})],8,OS)]))),128))])):(c(),p("div",LS,[(c(!0),p(Z,null,G(s.value,(T,D)=>(c(),p("a",{key:T,href:"#",class:"block p-2 m-2 bg-white border border-gray-200 rounded hover:border-gray-500 relative max-w-md",onClick:j[3]||(j[3]=se(()=>{},["prevent"]))},[T.image?(c(),p("img",{key:0,for:"file-upload",src:T.image,class:"block object-contain h-20 opacity-100 min-w-[5rem]",style:{animation:"fadeIn 2s ease"}},null,8,US)):(c(),p("div",KS,[qS,T.name?(c(),p("p",WS,w(T.name),1)):P("",!0)])),l("a",{href:"#",class:"box-border absolute z-30 flex items-center justify-center w-8 h-8 bg-white border border-gray-200 rounded-full shadow-md -bottom-3 -right-3 group hover:border-gray-300",onClick:se(k=>h(D),["prevent","stop"])},[m(R,{name:"XIcon",class:"h-4 text-xl leading-6 text-black"})],8,ZS)]))),128))])):(c(),p("div",PS,[m(R,{name:"CloudUploadIcon",class:"h-6 mb-2 text-xl leading-6 text-gray-400"}),l("p",jS,[DS,l("a",{class:"cursor-pointer text-primary-500 hover:text-primary-600 hover:font-medium relative z-20",href:"#",onClick:se(z,["prevent","stop"])}," browse ",8,CS),AS])]))],2)}}};var GS=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:HS});const YS={class:"relative z-10 p-4 md:p-8 bg-gray-200 rounded"},JS={props:{show:{type:Boolean,default:!1},rowOnXl:{type:Boolean,default:!1}},emits:["clear"],setup(i){return(r,o)=>(c(),$(De,{"enter-active-class":"transition duration-500 ease-in-out","enter-from-class":"transform opacity-0","enter-to-class":"transform opacity-100","leave-active-class":"transition ease-in-out","leave-from-class":"transform opacity-100","leave-to-class":"transform opacity-0"},{default:v(()=>[Ie(l("div",YS,[B(r.$slots,"filter-header"),l("label",{class:"absolute text-sm leading-snug text-gray-900 cursor-pointer hover:text-gray-700 top-2.5 right-3.5",onClick:o[0]||(o[0]=t=>r.$emit("clear"))},w(r.$t("general.clear_all")),1),l("div",{class:C(["flex flex-col space-y-3",i.rowOnXl?"xl:flex-row xl:space-x-4 xl:space-y-0 xl:items-center":"lg:flex-row lg:space-x-4 lg:space-y-0 lg:items-center"])},[B(r.$slots,"default")],2)],512),[[dt,i.show]])]),_:3}))}};var XS=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:JS});const QS={style:{"font-family":"sans-serif"}},eP={props:{amount:{type:[Number,String],required:!0},currency:{type:Object,default:()=>null}},setup(i){const r=i,o=ga("utils"),t=te(),s=N(()=>o.formatMoney(r.amount,r.currency||t.selectedCompanyCurrency));return(a,e)=>(c(),p("span",QS,w(d(s)),1))}};var tP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:eP});const aP={props:{showBgOverlay:{default:!1,type:Boolean}}},sP={class:"flex flex-col items-center justify-center h-screen h-screen-ios"},nP=l("div",{class:"loader loader-white"},[l("div",{class:"loader-spined"},[l("div",{class:"loader--icon"},[l("svg",{class:"offset-45deg text-primary-500",width:"27",height:"27",viewBox:"0 0 27 27",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[l("path",{d:"M25.9053 1.75122C25.8037 1.44653 25.5498 1.19263 25.2451 1.09106C23.6201 0.735596 22.3506 0.735596 21.0811 0.735596C15.8506 0.735596 12.7021 3.57935 10.3662 7.2356L5.03418 7.2356C4.22168 7.28638 3.25684 7.84497 2.85059 8.60669L0.362305 13.634C0.311523 13.7864 0.260742 13.9895 0.260742 14.1418C0.260742 14.8528 0.768555 15.3606 1.47949 15.3606H6.70996L5.59277 16.5286C4.9834 17.0872 4.93262 18.1536 5.59277 18.8137L8.18262 21.4036C8.74121 21.9622 9.80762 22.0637 10.4678 21.4036L11.585 20.2864V25.5168C11.6357 26.2278 12.1436 26.7356 12.8545 26.7356C13.0068 26.7356 13.21 26.6848 13.3623 26.634L18.3896 24.1458C19.1514 23.7395 19.71 22.7747 19.71 21.9622V16.6301C23.417 14.2942 26.21 11.1458 26.21 5.91528C26.2607 4.64575 26.2607 3.37622 25.9053 1.75122ZM19.7607 9.26685C18.5928 9.26685 17.7295 8.40356 17.7295 7.2356C17.7295 6.11841 18.5928 5.20435 19.7607 5.20435C20.8779 5.20435 21.792 6.11841 21.792 7.2356C21.792 8.40356 20.8779 9.26685 19.7607 9.26685Z",fill:"currentColor"})])])]),l("div",{class:"pufs text-primary-500"},[l("i",{class:"text-primary-500"}),l("i"),l("i"),A(),l("i"),l("i"),l("i"),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i")]),l("div",{class:"particles text-primary-500"},[l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i")]),l("img",{src:Qe,class:"absolute block h-auto max-w-full transform -translate-x-1/2 -translate-y-1/2 w-28 text-primary-400 top-1/2 left-1/2",alt:"Crater Logo"})],-1),iP=[nP];function oP(i,r,o,t,s,a){return c(),p("div",sP,iP)}var rP=ee(aP,[["render",oP]]),dP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:rP});const lP={props:{type:{type:String,default:"section-title",validator:function(i){return["section-title","heading-title"].indexOf(i)!==-1}}},setup(i){const r=i,o=N(()=>({"text-gray-900 text-lg font-medium":r.type==="heading-title","text-gray-500 uppercase text-base":r.type==="section-title"}));return(t,s)=>(c(),p("h6",{class:C(d(o))},[B(t.$slots,"default")],2))}};var cP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:lP});const _P={props:{name:{type:String}},setup(i){const r=L(!1);return we(()=>{r.value=!0}),(o,t)=>r.value?(c(),$(fa(d(ha)[i.name]),{key:0,class:"h-5 w-5"})):P("",!0)}};var uP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:_P});const mP={class:"rounded-md bg-yellow-50 p-4 relative"},pP={class:"flex flex-col"},gP={class:"flex"},fP={class:"flex-shrink-0"},hP={class:"ml-3"},vP={class:"text-sm font-medium text-yellow-800"},yP={class:"mt-2 text-sm text-yellow-700"},bP={role:"list",class:"list-disc pl-5 space-y-1"},kP={key:0,class:"mt-4 ml-3"},wP={class:"-mx-2 -my-1.5 flex flex-row-reverse"},xP=["onClick"],zP={props:{title:{type:String,default:"There were some errors with your submission"},lists:{type:Array,default:null},actions:{type:Array,default:()=>["Dismiss"]}},emits:["hide"],setup(i,{emit:r}){return(o,t)=>{const s=S("BaseIcon");return c(),p("div",mP,[m(s,{name:"XIcon",class:"h-5 w-5 text-yellow-500 absolute right-4 cursor-pointer",onClick:t[0]||(t[0]=a=>o.$emit("hide"))}),l("div",pP,[l("div",gP,[l("div",fP,[m(s,{name:"ExclamationIcon",class:"h-5 w-5 text-yellow-400","aria-hidden":"true"})]),l("div",hP,[l("h3",vP,w(i.title),1),l("div",yP,[l("ul",bP,[(c(!0),p(Z,null,G(i.lists,(a,e)=>(c(),p("li",{key:e},w(a),1))),128))])])])]),i.actions.length?(c(),p("div",kP,[l("div",wP,[(c(!0),p(Z,null,G(i.actions,(a,e)=>(c(),p("button",{key:e,type:"button",class:"bg-yellow-50 px-2 py-1.5 rounded-md text-sm font-medium text-yellow-800 hover:bg-yellow-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-yellow-50 focus:ring-yellow-600 mr-3",onClick:n=>o.$emit(`${a}`)},w(a),9,xP))),128))])])):P("",!0)])])}}};var SP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:zP});const PP={key:0,class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},jP=l("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),DP=l("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1),CP=[jP,DP],AP={key:1,class:"absolute inset-y-0 left-0 flex items-center pl-3"},NP={key:2,class:"inline-flex items-center px-3 text-gray-500 border border-r-0 border-gray-200 rounded-l-md bg-gray-50 sm:text-sm"},EP={key:3,class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},TP={class:"text-gray-500 sm:text-sm"},IP=["type","value","disabled"],$P={key:4,class:"absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none"},RP=l("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),FP=l("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1),MP=[RP,FP],BP={key:5,class:"absolute inset-y-0 right-0 flex items-center pr-3"},VP={props:{contentLoading:{type:Boolean,default:!1},type:{type:[Number,String],default:"text"},modelValue:{type:[String,Number],default:""},loading:{type:Boolean,default:!1},loadingPosition:{type:String,default:"left"},addon:{type:String,default:null},inlineAddon:{type:String,default:""},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},containerClass:{type:String,default:""},contentLoadClass:{type:String,default:""},defaultInputClass:{type:String,default:"font-base block w-full sm:text-sm border-gray-200 rounded-md text-black"},iconLeftClass:{type:String,default:"h-5 w-5 text-gray-400"},iconRightClass:{type:String,default:"h-5 w-5 text-gray-400"},modelModifiers:{default:()=>({})}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i;L(!1);const t=xe(),s=N(()=>!!t.left||o.loading&&o.loadingPosition==="left"),a=N(()=>!!t.right||o.loading&&o.loadingPosition==="right"),e=N(()=>s.value&&a.value?"px-10":s.value?"pl-10":a.value?"pr-10":""),n=N(()=>o.addon?"flex-1 min-w-0 block w-full px-3 py-2 !rounded-none !rounded-r-md":o.inlineAddon?"pl-7":""),_=N(()=>o.invalid?"border-red-500 ring-red-500 focus:ring-red-500 focus:border-red-500":"focus:ring-primary-400 focus:border-primary-400"),u=N(()=>o.disabled?"border-gray-100 bg-gray-100 !text-gray-400 ring-gray-200 focus:ring-gray-200 focus:border-gray-100":""),y=N(()=>{let b=`${o.containerClass} `;return o.addon?`${o.containerClass} flex`:b});function z(b){let h=b.target.value;o.modelModifiers.uppercase&&(h=h.toUpperCase()),r("update:modelValue",h)}return(b,h)=>{const x=S("BaseContentPlaceholdersBox"),j=S("BaseContentPlaceholders");return i.contentLoading?(c(),$(j,{key:0},{default:v(()=>[m(x,{rounded:!0,class:C(`w-full ${i.contentLoadClass}`),style:{height:"38px"}},null,8,["class"])]),_:1})):(c(),p("div",{key:1,class:C([[i.containerClass,d(y)],"relative rounded-md shadow-sm font-base"])},[i.loading&&i.loadingPosition==="left"?(c(),p("div",PP,[(c(),p("svg",{class:C(["animate-spin !text-primary-500",[i.iconLeftClass]]),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},CP,2))])):d(s)?(c(),p("div",AP,[B(b.$slots,"left",{class:C(i.iconLeftClass)})])):P("",!0),i.addon?(c(),p("span",NP,w(i.addon),1)):P("",!0),i.inlineAddon?(c(),p("div",EP,[l("span",TP,w(i.inlineAddon),1)])):P("",!0),l("input",_e(b.$attrs,{type:i.type,value:i.modelValue,disabled:i.disabled,class:[i.defaultInputClass,d(e),d(n),d(_),d(u)],onInput:z}),null,16,IP),i.loading&&i.loadingPosition==="right"?(c(),p("div",$P,[(c(),p("svg",{class:C(["animate-spin !text-primary-500",[i.iconRightClass]]),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},MP,2))])):P("",!0),d(a)?(c(),p("div",BP,[B(b.$slots,"right",{class:C(i.iconRightClass)})])):P("",!0)],2))}}};var OP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:VP});const LP={props:{layout:{type:String,default:"two-column"}},setup(i){const r=i,o=N(()=>r.layout==="two-column"?"grid gap-y-6 gap-x-4 md:grid-cols-2":"grid gap-y-6 gap-x-4 grid-cols-1");return(t,s)=>(c(),p("div",{class:C(d(o))},[B(t.$slots,"default")],2))}};var UP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:LP});const KP={class:"text-sm text-red-500"},qP={key:0,class:"text-gray-400 text-xs mt-1 font-light"},WP={key:1,class:"block mt-0.5 text-sm text-red-500"},ZP={props:{contentLoading:{type:Boolean,default:!1},contentLoadClass:{type:String,default:"w-16 h-5"},label:{type:String,default:""},variant:{type:String,default:"vertical"},error:{type:[String,Boolean],default:null},required:{type:Boolean,default:!1},tooltip:{type:String,default:null,required:!1},helpText:{type:String,default:null,required:!1}},setup(i){const r=i,o=N(()=>r.variant==="horizontal"?"grid md:grid-cols-12 items-center":""),t=N(()=>r.variant==="horizontal"?"relative pr-0 pt-1 mr-3 text-sm md:col-span-4 md:text-right mb-1 md:mb-0":""),s=N(()=>r.variant==="horizontal"?"md:col-span-8 md:col-start-5 md:col-ends-12":"flex flex-col mt-1"),a=xe(),e=N(()=>!!a.labelRight);return(n,_)=>{const u=S("BaseContentPlaceholdersText"),y=S("BaseContentPlaceholders"),z=S("BaseIcon"),b=va("tooltip");return c(),p("div",{class:C([d(o),"relative w-full text-left"])},[i.contentLoading?(c(),$(y,{key:0},{default:v(()=>[m(u,{lines:1,class:C(i.contentLoadClass)},null,8,["class"])]),_:1})):i.label?(c(),p("label",{key:1,class:C([d(t),"flex text-sm not-italic items-center font-medium text-primary-800 whitespace-nowrap justify-between"])},[l("div",null,[A(w(i.label)+" ",1),Ie(l("span",KP," * ",512),[[dt,i.required]])]),d(e)?B(n.$slots,"labelRight",{key:0}):P("",!0),i.tooltip?Ie((c(),$(z,{key:1,name:"InformationCircleIcon",class:"h-4 text-gray-400 cursor-pointer hover:text-gray-600"},null,512)),[[b,{content:i.tooltip}]]):P("",!0)],2)):P("",!0),l("div",{class:C(d(s))},[B(n.$slots,"default"),i.helpText?(c(),p("span",qP,w(i.helpText),1)):P("",!0),i.error?(c(),p("span",WP,w(i.error),1)):P("",!0)],2)],2)}}};var HP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ZP});const GP={props:{status:{type:String,required:!1,default:""}},setup(i){return{badgeColorClasses:N(()=>{switch(i.status){case"DRAFT":return"bg-yellow-300 bg-opacity-25 px-2 py-1 text-sm text-yellow-800 uppercase font-normal text-center";case"SENT":return" bg-yellow-500 bg-opacity-25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center ";case"VIEWED":return"bg-blue-400 bg-opacity-25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center";case"COMPLETED":return"bg-green-500 bg-opacity-25 px-2 py-1 text-sm text-green-900 uppercase font-normal text-center";case"DUE":return"bg-yellow-500 bg-opacity-25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center";case"OVERDUE":return"bg-red-300 bg-opacity-50 px-2 py-1 text-sm text-red-900 uppercase font-normal text-center";case"UNPAID":return"bg-yellow-500 bg-opacity-25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center";case"PARTIALLY_PAID":return"bg-blue-400 bg-opacity-25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center";case"PAID":return"bg-green-500 bg-opacity-25 px-2 py-1 text-sm text-green-900 uppercase font-normal text-center";default:return"bg-gray-500 bg-opacity-25 px-2 py-1 text-sm text-gray-900 uppercase font-normal text-center"}})}}};function YP(i,r,o,t,s,a){return c(),p("span",{class:C(t.badgeColorClasses)},[B(i.$slots,"default")],2)}var JP=ee(GP,[["render",YP]]),XP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:JP});const QP={class:"flex-1 text-sm"},ej={key:0,class:"relative flex items-center h-10 pl-2 bg-gray-200 border border-gray-200 border-solid rounded"},tj={class:"w-full pt-1 text-xs text-light"},aj={key:0},sj={class:"text-red-600"},nj={props:{contentLoading:{type:Boolean,default:!1},type:{type:String,default:null},item:{type:Object,required:!0},index:{type:Number,default:0},invalid:{type:Boolean,required:!1,default:!1},invalidDescription:{type:Boolean,required:!1,default:!1},taxPerItem:{type:String,default:""},taxes:{type:Array,default:null},store:{type:Object,default:null},storeProp:{type:String,default:""}},emits:["search","select"],setup(i,{emit:r}){const o=i,t=Ae();Me(),Ne();const s=me(),a=ve();oe();const{t:e}=be(),n=L(null);L(!1);let _=Te(M({},o.item));Object.assign(_,o.item),N(()=>0);const u=N({get:()=>o.item.description,set:h=>{o.store[o.storeProp].items[o.index].description=h}});async function y(h){return(await t.fetchItems({search:h})).data.data}function z(){s.openModal({title:e("items.add_item"),componentName:"ItemModal",refreshData:h=>r("select",h),data:{taxPerItem:o.taxPerItem,taxes:o.taxes,itemIndex:o.index,store:o.store,storeProps:o.storeProp}})}function b(h){o.store.deselectItem(h)}return(h,x)=>{const j=S("BaseIcon"),R=S("BaseSelectAction"),T=S("BaseMultiselect"),D=S("BaseTextarea");return c(),p("div",QP,[i.item.item_id?(c(),p("div",ej,[A(w(i.item.name)+" ",1),l("span",{class:"absolute text-gray-400 cursor-pointer top-[8px] right-[10px]",onClick:x[0]||(x[0]=k=>b(i.index))},[m(j,{name:"XCircleIcon"})])])):(c(),$(T,{key:1,modelValue:n.value,"onUpdate:modelValue":[x[1]||(x[1]=k=>n.value=k),x[2]||(x[2]=k=>h.$emit("select",k))],"content-loading":i.contentLoading,"value-prop":"id","track-by":"id",invalid:i.invalid,"preserve-search":"","initial-search":d(_).name,label:"name",filterResults:!1,"resolve-on-load":"",delay:500,searchable:"",options:y,object:"",onSearchChange:x[3]||(x[3]=k=>h.$emit("search",k))},{action:v(()=>[d(a).hasAbilities(d(O).CREATE_ITEM)?(c(),$(R,{key:0,onClick:z},{default:v(()=>[m(j,{name:"PlusCircleIcon",class:"h-4 mr-2 -ml-2 text-center text-primary-400"}),A(" "+w(h.$t("general.add_new_item")),1)]),_:1})):P("",!0)]),_:1},8,["modelValue","content-loading","invalid","initial-search"])),l("div",tj,[m(D,{modelValue:d(u),"onUpdate:modelValue":x[4]||(x[4]=k=>re(u)?u.value=k:null),"content-loading":i.contentLoading,autosize:!0,class:"text-xs",borderless:!0,placeholder:h.$t("estimates.item.type_item_description"),invalid:i.invalidDescription},null,8,["modelValue","content-loading","placeholder","invalid"]),i.invalidDescription?(c(),p("div",aj,[l("span",sj,w(h.$tc("validation.description_maxlength")),1)])):P("",!0)])])}}};var ij=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:nj});const oj={},rj={class:"text-sm not-italic font-medium leading-5 text-primary-800"};function dj(i,r){return c(),p("label",rj,[B(i.$slots,"default")])}var lj=ee(oj,[["render",dj]]),cj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:lj});const _j={class:"flex items-end justify-center min-h-screen min-h-screen-ios px-4 text-center sm:block sm:px-2"},uj=l("span",{class:"hidden sm:inline-block sm:align-middle sm:h-screen sm:h-screen-ios","aria-hidden":"true"},"\u200B",-1),mj={key:0,class:"flex items-center justify-between px-6 py-4 text-lg font-medium text-black border-b border-gray-200 border-solid"},pj={props:{show:{type:Boolean,default:!1}},emits:["close","open"],setup(i,{emit:r}){const o=i,t=xe(),s=me();rt(()=>{o.show&&r("open",o.show)});const a=N(()=>{switch(s.size){case"sm":return"sm:max-w-2xl w-full";case"md":return"sm:max-w-4xl w-full";case"lg":return"sm:max-w-6xl w-full";default:return"sm:max-w-2xl w-full"}}),e=N(()=>!!t.header);return(n,_)=>(c(),$(ya,{to:"body"},[m(d(Ke),{appear:"",as:"template",show:i.show},{default:v(()=>[m(d(Le),{as:"div",static:"",class:"fixed inset-0 z-20 overflow-y-auto",open:i.show,onClose:_[0]||(_[0]=u=>n.$emit("close"))},{default:v(()=>[l("div",_j,[m(d(ke),{as:"template",enter:"ease-out duration-300","enter-from":"opacity-0","enter-to":"opacity-100",leave:"ease-in duration-200","leave-from":"opacity-100","leave-to":"opacity-0"},{default:v(()=>[m(d(Ue),{class:"fixed inset-0 transition-opacity bg-gray-700 bg-opacity-25"})]),_:1}),uj,m(d(ke),{as:"template",enter:"ease-out duration-300","enter-from":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to":"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200","leave-from":"opacity-100 translate-y-0 sm:scale-100","leave-to":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:v(()=>[l("div",{class:C(`inline-block +var Mt=Object.defineProperty,Bt=Object.defineProperties;var Vt=Object.getOwnPropertyDescriptors;var tt=Object.getOwnPropertySymbols;var Ot=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable;var at=(i,r,o)=>r in i?Mt(i,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):i[r]=o,M=(i,r)=>{for(var o in r||(r={}))Ot.call(r,o)&&at(i,o,r[o]);if(tt)for(var o of tt(r))Lt.call(r,o)&&at(i,o,r[o]);return i},H=(i,r)=>Bt(i,Vt(r));import{a as f,r as S,o as c,c as p,b as m,F as Z,d as W,e as st,l as nt,f as ie,u as oe,G as X,h as ye,g as be,i as L,j as Te,k as N,m as Q,n as je,p as Be,q as Ve,s as $,w as v,t as l,v as A,x as w,y as d,z as C,A as P,B as se,C as Oe,D as fe,E as it,H as G,T as De,I as Le,J as ke,K as Ue,L as Ke,M as we,N as Ut,O as Kt,V as qt,P as Wt,Q as Zt,R as Ht,S as Gt,U as Yt,W as B,X as qe,Y as xe,Z as Ie,_ as Jt,$ as _e,a0 as re,a1 as Xt,a2 as Qt,a3 as ea,a4 as $e,a5 as ta,a6 as aa,a7 as sa,a8 as na,a9 as ia,aa as ot,ab as oa,ac as rt,ad as ra,ae as da,af as la,ag as ca,ah as _a,ai as ua,aj as ma,ak as pa,al as dt,am as ga,an as fa,ao as ha,ap as va,aq as ya,ar as ba,as as lt,at as ka,au as wa,av as xa,aw as za,ax as Sa,ay as Pa,az as ja,aA as We,aB as ct,aC as _t,aD as Da,aE as Ca,aF as Aa,aG as Na,aH as Ea,aI as Ta,aJ as Ze,aK as Ia,aL as $a,aM as Ra,aN as Fa,aO as Ma,aP as Ba}from"./vendor.e9042f2c.js";var ut={get(i){return localStorage.getItem(i)?localStorage.getItem(i):null},set(i,r){localStorage.setItem(i,r)},remove(i){localStorage.removeItem(i)}};window.Ls=ut;window.axios=f;f.defaults.withCredentials=!0;f.defaults.headers.common={"X-Requested-With":"XMLHttpRequest"};f.interceptors.request.use(function(i){const r=ut.get("selectedCompany");return r&&(i.headers.common.company=r),i});var ee=(i,r)=>{const o=i.__vccOpts||i;for(const[t,s]of r)o[t]=s;return o};const Va={};function Oa(i,r){const o=S("router-view"),t=S("BaseDialog");return c(),p(Z,null,[m(o),m(t)],64)}var La=ee(Va,[["render",Oa]]);const Ua={dashboard:"Dashboard",customers:"Customers",items:"Items",invoices:"Invoices","recurring-invoices":"Recurring Invoices",expenses:"Expenses",estimates:"Estimates",payments:"Payments",reports:"Reports",settings:"Settings",logout:"Logout",users:"Users"},Ka={add_company:"Add Company",view_pdf:"View PDF",copy_pdf_url:"Copy PDF Url",download_pdf:"Download PDF",save:"Save",create:"Create",cancel:"Cancel",update:"Update",deselect:"Deselect",download:"Download",from_date:"From Date",to_date:"To Date",from:"From",to:"To",ok:"Ok",yes:"Yes",no:"No",sort_by:"Sort By",ascending:"Ascending",descending:"Descending",subject:"Subject",body:"Body",message:"Message",send:"Send",preview:"Preview",go_back:"Go Back",back_to_login:"Back to Login?",home:"Home",filter:"Filter",delete:"Delete",edit:"Edit",view:"View",add_new_item:"Add New Item",clear_all:"Clear All",showing:"Showing",of:"of",actions:"Actions",subtotal:"SUBTOTAL",discount:"DISCOUNT",fixed:"Fixed",percentage:"Percentage",tax:"TAX",total_amount:"TOTAL AMOUNT",bill_to:"Bill to",ship_to:"Ship to",due:"Due",draft:"Draft",sent:"Sent",all:"All",select_all:"Select All",select_template:"Select Template",choose_file:"Click here to choose a file",choose_template:"Choose a template",choose:"Choose",remove:"Remove",select_a_status:"Select a status",select_a_tax:"Select a tax",search:"Search",are_you_sure:"Are you sure?",list_is_empty:"List is empty.",no_tax_found:"No tax found!",four_zero_four:"404",you_got_lost:"Whoops! You got Lost!",go_home:"Go Home",test_mail_conf:"Test Mail Configuration",send_mail_successfully:"Mail sent successfully",setting_updated:"Setting updated successfully",select_state:"Select state",select_country:"Select Country",select_city:"Select City",street_1:"Street 1",street_2:"Street 2",action_failed:"Action Failed",retry:"Retry",choose_note:"Choose Note",no_note_found:"No Note Found",insert_note:"Insert Note",copied_pdf_url_clipboard:"Copied PDF url to clipboard!",docs:"Docs",do_you_wish_to_continue:"Do you wish to continue?",note:"Note"},qa={select_year:"Select year",cards:{due_amount:"Amount Due",customers:"Customers",invoices:"Invoices",estimates:"Estimates"},chart_info:{total_sales:"Sales",total_receipts:"Receipts",total_expense:"Expenses",net_income:"Net Income",year:"Select year"},monthly_chart:{title:"Sales & Expenses"},recent_invoices_card:{title:"Due Invoices",due_on:"Due On",customer:"Customer",amount_due:"Amount Due",actions:"Actions",view_all:"View All"},recent_estimate_card:{title:"Recent Estimates",date:"Date",customer:"Customer",amount_due:"Amount Due",actions:"Actions",view_all:"View All"}},Wa={name:"Name",description:"Description",percent:"Percent",compound_tax:"Compound Tax"},Za={search:"Search...",customers:"Customers",users:"Users",no_results_found:"No Results Found"},Ha={label:"SWITCH COMPANY",no_results_found:"No Results Found",add_new_company:"Add new company",new_company:"New company",created_message:"Company created successfully"},Ga={today:"Today",this_week:"This Week",this_month:"This Month",this_quarter:"This Quarter",this_year:"This Year",previous_week:"Previous Week",previous_month:"Previous Month",previous_quarter:"Previous Quarter",previous_year:"Previous Year",custom:"Custom"},Ya={title:"Customers",prefix:"Prefix",add_customer:"Add Customer",contacts_list:"Customer List",name:"Name",mail:"Mail | Mails",statement:"Statement",display_name:"Display Name",primary_contact_name:"Primary Contact Name",contact_name:"Contact Name",amount_due:"Amount Due",email:"Email",address:"Address",phone:"Phone",website:"Website",overview:"Overview",invoice_prefix:"Invoice Prefix",estimate_prefix:"Estimate Prefix",payment_prefix:"Payment Prefix",enable_portal:"Enable Portal",country:"Country",state:"State",city:"City",zip_code:"Zip Code",added_on:"Added On",action:"Action",password:"Password",confirm_password:"Confirm Password",street_number:"Street Number",primary_currency:"Primary Currency",description:"Description",add_new_customer:"Add New Customer",save_customer:"Save Customer",update_customer:"Update Customer",customer:"Customer | Customers",new_customer:"New Customer",edit_customer:"Edit Customer",basic_info:"Basic Info",billing_address:"Billing Address",shipping_address:"Shipping Address",copy_billing_address:"Copy from Billing",no_customers:"No customers yet!",no_customers_found:"No customers found!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"This section will contain the list of customers.",primary_display_name:"Primary Display Name",select_currency:"Select currency",select_a_customer:"Select a customer",type_or_click:"Type or click to select",new_transaction:"New Transaction",no_matching_customers:"There are no matching customers!",phone_number:"Phone Number",create_date:"Create Date",confirm_delete:"You will not be able to recover this customer and all the related Invoices, Estimates and Payments. | You will not be able to recover these customers and all the related Invoices, Estimates and Payments.",created_message:"Customer created successfully",updated_message:"Customer updated successfully",deleted_message:"Customer deleted successfully | Customers deleted successfully",edit_currency_not_allowed:"Cannot change currency once transactions created."},Ja={title:"Items",items_list:"Items List",name:"Name",unit:"Unit",description:"Description",added_on:"Added On",price:"Price",date_of_creation:"Date Of Creation",not_selected:"No item selected",action:"Action",add_item:"Add Item",save_item:"Save Item",update_item:"Update Item",item:"Item | Items",add_new_item:"Add New Item",new_item:"New Item",edit_item:"Edit Item",no_items:"No items yet!",list_of_items:"This section will contain the list of items.",select_a_unit:"select unit",taxes:"Taxes",item_attached_message:"Cannot delete an item which is already in use",confirm_delete:"You will not be able to recover this Item | You will not be able to recover these Items",created_message:"Item created successfully",updated_message:"Item updated successfully",deleted_message:"Item deleted successfully | Items deleted successfully"},Xa={title:"Estimates",estimate:"Estimate | Estimates",estimates_list:"Estimates List",days:"{days} Days",months:"{months} Month",years:"{years} Year",all:"All",paid:"Paid",unpaid:"Unpaid",customer:"CUSTOMER",ref_no:"REF NO.",number:"NUMBER",amount_due:"AMOUNT DUE",partially_paid:"Partially Paid",total:"Total",discount:"Discount",sub_total:"Sub Total",estimate_number:"Estimate Number",ref_number:"Ref Number",contact:"Contact",add_item:"Add an Item",date:"Date",due_date:"Due Date",expiry_date:"Expiry Date",status:"Status",add_tax:"Add Tax",amount:"Amount",action:"Action",notes:"Notes",tax:"Tax",estimate_template:"Template",convert_to_invoice:"Convert to Invoice",mark_as_sent:"Mark as Sent",send_estimate:"Send Estimate",resend_estimate:"Resend Estimate",record_payment:"Record Payment",add_estimate:"Add Estimate",save_estimate:"Save Estimate",confirm_conversion:"This estimate will be used to create a new Invoice.",conversion_message:"Invoice created successful",confirm_send_estimate:"This estimate will be sent via email to the customer",confirm_mark_as_sent:"This estimate will be marked as sent",confirm_mark_as_accepted:"This estimate will be marked as Accepted",confirm_mark_as_rejected:"This estimate will be marked as Rejected",no_matching_estimates:"There are no matching estimates!",mark_as_sent_successfully:"Estimate marked as sent successfully",send_estimate_successfully:"Estimate sent successfully",errors:{required:"Field is required"},accepted:"Accepted",rejected:"Rejected",expired:"Expired",sent:"Sent",draft:"Draft",viewed:"Viewed",declined:"Declined",new_estimate:"New Estimate",add_new_estimate:"Add New Estimate",update_Estimate:"Update Estimate",edit_estimate:"Edit Estimate",items:"items",Estimate:"Estimate | Estimates",add_new_tax:"Add New Tax",no_estimates:"No estimates yet!",list_of_estimates:"This section will contain the list of estimates.",mark_as_rejected:"Mark as rejected",mark_as_accepted:"Mark as accepted",marked_as_accepted_message:"Estimate marked as accepted",marked_as_rejected_message:"Estimate marked as rejected",confirm_delete:"You will not be able to recover this Estimate | You will not be able to recover these Estimates",created_message:"Estimate created successfully",updated_message:"Estimate updated successfully",deleted_message:"Estimate deleted successfully | Estimates deleted successfully",something_went_wrong:"something went wrong",item:{title:"Item Title",description:"Description",quantity:"Quantity",price:"Price",discount:"Discount",total:"Total",total_discount:"Total Discount",sub_total:"Sub Total",tax:"Tax",amount:"Amount",select_an_item:"Type or click to select an item",type_item_description:"Type Item Description (optional)"}},Qa={title:"Invoices",invoices_list:"Invoices List",days:"{days} Days",months:"{months} Month",years:"{years} Year",all:"All",paid:"Paid",unpaid:"Unpaid",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"CUSTOMER",paid_status:"PAID STATUS",ref_no:"REF NO.",number:"NUMBER",amount_due:"AMOUNT DUE",partially_paid:"Partially Paid",total:"Total",discount:"Discount",sub_total:"Sub Total",invoice:"Invoice | Invoices",invoice_number:"Invoice Number",ref_number:"Ref Number",contact:"Contact",add_item:"Add an Item",date:"Date",due_date:"Due Date",status:"Status",add_tax:"Add Tax",amount:"Amount",action:"Action",notes:"Notes",view:"View",send_invoice:"Send Invoice",resend_invoice:"Resend Invoice",invoice_template:"Invoice Template",conversion_message:"Invoice cloned successful",template:"Select Template",mark_as_sent:"Mark as sent",confirm_send_invoice:"This invoice will be sent via email to the customer",invoice_mark_as_sent:"This invoice will be marked as sent",confirm_mark_as_accepted:"This invoice will be marked as Accepted",confirm_mark_as_rejected:"This invoice will be marked as Rejected",confirm_send:"This invoice will be sent via email to the customer",invoice_date:"Invoice Date",record_payment:"Record Payment",add_new_invoice:"Add New Invoice",update_expense:"Update Expense",edit_invoice:"Edit Invoice",new_invoice:"New Invoice",save_invoice:"Save Invoice",update_invoice:"Update Invoice",add_new_tax:"Add New Tax",no_invoices:"No Invoices yet!",mark_as_rejected:"Mark as rejected",mark_as_accepted:"Mark as accepted",list_of_invoices:"This section will contain the list of invoices.",select_invoice:"Select Invoice",no_matching_invoices:"There are no matching invoices!",mark_as_sent_successfully:"Invoice marked as sent successfully",invoice_sent_successfully:"Invoice sent successfully",cloned_successfully:"Invoice cloned successfully",clone_invoice:"Clone Invoice",confirm_clone:"This invoice will be cloned into a new Invoice",item:{title:"Item Title",description:"Description",quantity:"Quantity",price:"Price",discount:"Discount",total:"Total",total_discount:"Total Discount",sub_total:"Sub Total",tax:"Tax",amount:"Amount",select_an_item:"Type or click to select an item",type_item_description:"Type Item Description (optional)"},payment_attached_message:"One of the selected invoices already have a payment attached to it. Make sure to delete the attached payments first in order to go ahead with the removal",confirm_delete:"You will not be able to recover this Invoice | You will not be able to recover these Invoices",created_message:"Invoice created successfully",updated_message:"Invoice updated successfully",deleted_message:"Invoice deleted successfully | Invoices deleted successfully",marked_as_sent_message:"Invoice marked as sent successfully",something_went_wrong:"something went wrong",invalid_due_amount_message:"Total Invoice amount cannot be less than total paid amount for this Invoice. Please update the invoice or delete the associated payments to continue."},es={title:"Recurring Invoices",invoices_list:"Recurring Invoices List",days:"{days} Days",months:"{months} Month",years:"{years} Year",all:"All",paid:"Paid",unpaid:"Unpaid",viewed:"Viewed",overdue:"Overdue",active:"Active",completed:"Completed",customer:"CUSTOMER",paid_status:"PAID STATUS",ref_no:"REF NO.",number:"NUMBER",amount_due:"AMOUNT DUE",partially_paid:"Partially Paid",total:"Total",discount:"Discount",sub_total:"Sub Total",invoice:"Recurring Invoice | Recurring Invoices",invoice_number:"Recurring Invoice Number",next_invoice_date:"Next Invoice Date",ref_number:"Ref Number",contact:"Contact",add_item:"Add an Item",date:"Date",limit_by:"Limit by",limit_date:"Limit Date",limit_count:"Limit Count",count:"Count",status:"Status",select_a_status:"Select a status",working:"Working",on_hold:"On Hold",complete:"Completed",add_tax:"Add Tax",amount:"Amount",action:"Action",notes:"Notes",view:"View",basic_info:"Basic Info",send_invoice:"Send Recurring Invoice",auto_send:"Auto Send",resend_invoice:"Resend Recurring Invoice",invoice_template:"Recurring Invoice Template",conversion_message:"Recurring Invoice cloned successful",template:"Template",mark_as_sent:"Mark as sent",confirm_send_invoice:"This recurring invoice will be sent via email to the customer",invoice_mark_as_sent:"This recurring invoice will be marked as sent",confirm_send:"This recurring invoice will be sent via email to the customer",starts_at:"Start Date",due_date:"Invoice Due Date",record_payment:"Record Payment",add_new_invoice:"Add New Recurring Invoice",update_expense:"Update Expense",edit_invoice:"Edit Recurring Invoice",new_invoice:"New Recurring Invoice",send_automatically:"Send Automatically",send_automatically_desc:"Enable this, if you would like to send the invoice automatically to the customer when its created.",save_invoice:"Save Recurring Invoice",update_invoice:"Update Recurring Invoice",add_new_tax:"Add New Tax",no_invoices:"No Recurring Invoices yet!",mark_as_rejected:"Mark as rejected",mark_as_accepted:"Mark as accepted",list_of_invoices:"This section will contain the list of recurring invoices.",select_invoice:"Select Invoice",no_matching_invoices:"There are no matching recurring invoices!",mark_as_sent_successfully:"Recurring Invoice marked as sent successfully",invoice_sent_successfully:"Recurring Invoice sent successfully",cloned_successfully:"Recurring Invoice cloned successfully",clone_invoice:"Clone Recurring Invoice",confirm_clone:"This recurring invoice will be cloned into a new Recurring Invoice",item:{title:"Item Title",description:"Description",quantity:"Quantity",price:"Price",discount:"Discount",total:"Total",total_discount:"Total Discount",sub_total:"Sub Total",tax:"Tax",amount:"Amount",select_an_item:"Type or click to select an item",type_item_description:"Type Item Description (optional)"},frequency:{title:"Frequency",select_frequency:"Select Frequency",minute:"Minute",hour:"Hour",day_month:"Day of month",month:"Month",day_week:"Day of week"},confirm_delete:"You will not be able to recover this Invoice | You will not be able to recover these Invoices",created_message:"Recurring Invoice created successfully",updated_message:"Recurring Invoice updated successfully",deleted_message:"Recurring Invoice deleted successfully | Recurring Invoices deleted successfully",marked_as_sent_message:"Recurring Invoice marked as sent successfully",user_email_does_not_exist:"User email does not exist",something_went_wrong:"something went wrong",invalid_due_amount_message:"Total Recurring Invoice amount cannot be less than total paid amount for this Recurring Invoice. Please update the invoice or delete the associated payments to continue."},ts={title:"Payments",payments_list:"Payments List",record_payment:"Record Payment",customer:"Customer",date:"Date",amount:"Amount",action:"Action",payment_number:"Payment Number",payment_mode:"Payment Mode",invoice:"Invoice",note:"Note",add_payment:"Add Payment",new_payment:"New Payment",edit_payment:"Edit Payment",view_payment:"View Payment",add_new_payment:"Add New Payment",send_payment_receipt:"Send Payment Receipt",send_payment:"Send Payment",save_payment:"Save Payment",update_payment:"Update Payment",payment:"Payment | Payments",no_payments:"No payments yet!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"There are no matching payments!",list_of_payments:"This section will contain the list of payments.",select_payment_mode:"Select payment mode",confirm_mark_as_sent:"This estimate will be marked as sent",confirm_send_payment:"This payment will be sent via email to the customer",send_payment_successfully:"Payment sent successfully",something_went_wrong:"something went wrong",confirm_delete:"You will not be able to recover this Payment | You will not be able to recover these Payments",created_message:"Payment created successfully",updated_message:"Payment updated successfully",deleted_message:"Payment deleted successfully | Payments deleted successfully",invalid_amount_message:"Payment amount is invalid"},as={title:"Expenses",expenses_list:"Expenses List",select_a_customer:"Select a customer",expense_title:"Title",customer:"Customer",currency:"Currency",contact:"Contact",category:"Category",from_date:"From Date",to_date:"To Date",expense_date:"Date",description:"Description",receipt:"Receipt",amount:"Amount",action:"Action",not_selected:"Not selected",note:"Note",category_id:"Category Id",date:"Date",add_expense:"Add Expense",add_new_expense:"Add New Expense",save_expense:"Save Expense",update_expense:"Update Expense",download_receipt:"Download Receipt",edit_expense:"Edit Expense",new_expense:"New Expense",expense:"Expense | Expenses",no_expenses:"No expenses yet!",list_of_expenses:"This section will contain the list of expenses.",confirm_delete:"You will not be able to recover this Expense | You will not be able to recover these Expenses",created_message:"Expense created successfully",updated_message:"Expense updated successfully",deleted_message:"Expense deleted successfully | Expenses deleted successfully",categories:{categories_list:"Categories List",title:"Title",name:"Name",description:"Description",amount:"Amount",actions:"Actions",add_category:"Add Category",new_category:"New Category",category:"Category | Categories",select_a_category:"Select a category"}},ss={email:"Email",password:"Password",forgot_password:"Forgot Password?",or_signIn_with:"or Sign in with",login:"Login",register:"Register",reset_password:"Reset Password",password_reset_successfully:"Password Reset Successfully",enter_email:"Enter email",enter_password:"Enter Password",retype_password:"Retype Password"},ns={title:"Users",users_list:"Users List",name:"Name",description:"Description",added_on:"Added On",date_of_creation:"Date Of Creation",action:"Action",add_user:"Add User",save_user:"Save User",update_user:"Update User",user:"User | Users",add_new_user:"Add New User",new_user:"New User",edit_user:"Edit User",no_users:"No users yet!",list_of_users:"This section will contain the list of users.",email:"Email",phone:"Phone",password:"Password",user_attached_message:"Cannot delete an item which is already in use",confirm_delete:"You will not be able to recover this User | You will not be able to recover these Users",created_message:"User created successfully",updated_message:"User updated successfully",deleted_message:"User deleted successfully | Users deleted successfully",select_company_role:"Select Role for {company}",companies:"Companies"},is={title:"Report",from_date:"From Date",to_date:"To Date",status:"Status",paid:"Paid",unpaid:"Unpaid",download_pdf:"Download PDF",view_pdf:"View PDF",update_report:"Update Report",report:"Report | Reports",profit_loss:{profit_loss:"Profit & Loss",to_date:"To Date",from_date:"From Date",date_range:"Select Date Range"},sales:{sales:"Sales",date_range:"Select Date Range",to_date:"To Date",from_date:"From Date",report_type:"Report Type"},taxes:{taxes:"Taxes",to_date:"To Date",from_date:"From Date",date_range:"Select Date Range"},errors:{required:"Field is required"},invoices:{invoice:"Invoice",invoice_date:"Invoice Date",due_date:"Due Date",amount:"Amount",contact_name:"Contact Name",status:"Status"},estimates:{estimate:"Estimate",estimate_date:"Estimate Date",due_date:"Due Date",estimate_number:"Estimate Number",ref_number:"Ref Number",amount:"Amount",contact_name:"Contact Name",status:"Status"},expenses:{expenses:"Expenses",category:"Category",date:"Date",amount:"Amount",to_date:"To Date",from_date:"From Date",date_range:"Select Date Range"}},os={menu_title:{account_settings:"Account Settings",company_information:"Company Information",customization:"Customization",preferences:"Preferences",notifications:"Notifications",tax_types:"Tax Types",expense_category:"Expense Categories",update_app:"Update App",backup:"Backup",file_disk:"File Disk",custom_fields:"Custom Fields",payment_modes:"Payment Modes",notes:"Notes",exchange_rate:"Exchange Rate"},title:"Settings",setting:"Settings | Settings",general:"General",language:"Language",primary_currency:"Primary Currency",timezone:"Time Zone",date_format:"Date Format",currencies:{title:"Currencies",currency:"Currency | Currencies",currencies_list:"Currencies List",select_currency:"Select Currency",name:"Name",code:"Code",symbol:"Symbol",precision:"Precision",thousand_separator:"Thousand Separator",decimal_separator:"Decimal Separator",position:"Position",position_of_symbol:"Position Of Symbol",right:"Right",left:"Left",action:"Action",add_currency:"Add Currency"},mail:{host:"Mail Host",port:"Mail Port",driver:"Mail Driver",secret:"Secret",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domain",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"Mail Password",username:"Mail Username",mail_config:"Mail Configuration",from_name:"From Mail Name",from_mail:"From Mail Address",encryption:"Mail Encryption",mail_config_desc:"Below is the form for Configuring Email driver for sending emails from the app. You can also configure third party providers like Sendgrid, SES etc."},pdf:{title:"PDF Setting",footer_text:"Footer Text",pdf_layout:"PDF Layout"},company_info:{company_info:"Company info",company_name:"Company Name",company_logo:"Company Logo",section_description:"Information about your company that will be displayed on invoices, estimates and other documents created by Crater.",phone:"Phone",country:"Country",state:"State",city:"City",address:"Address",zip:"Zip",save:"Save",delete:"Delete",updated_message:"Company information updated successfully",delete_company:"Delete Company",delete_company_description:"Once you delete your company, you will lose all the data and files associated with it permanently.",are_you_absolutely_sure:"Are you absolutely sure?",delete_company_modal_desc:"This action cannot be undone. This will permanently delete {company} and all of its associated data.",delete_company_modal_label:"Please type {company} to confirm"},custom_fields:{title:"Custom Fields",section_description:"Customize your Invoices, Estimates & Payment Receipts with your own fields. Make sure to use the below added fields on the address formats on Customization settings page.",add_custom_field:"Add Custom Field",edit_custom_field:"Edit Custom Field",field_name:"Field Name",label:"Label",type:"Type",name:"Name",slug:"Slug",required:"Required",placeholder:"Placeholder",help_text:"Help Text",default_value:"Default Value",prefix:"Prefix",starting_number:"Starting Number",model:"Model",help_text_description:"Enter some text to help users understand the purpose of this custom field.",suffix:"Suffix",yes:"Yes",no:"No",order:"Order",custom_field_confirm_delete:"You will not be able to recover this Custom Field",already_in_use:"Custom Field is already in use",deleted_message:"Custom Field deleted successfully",options:"options",add_option:"Add Options",add_another_option:"Add another option",sort_in_alphabetical_order:"Sort in Alphabetical Order",add_options_in_bulk:"Add options in bulk",use_predefined_options:"Use Predefined Options",select_custom_date:"Select Custom Date",select_relative_date:"Select Relative Date",ticked_by_default:"Ticked by default",updated_message:"Custom Field updated successfully",added_message:"Custom Field added successfully",press_enter_to_add:"Press enter to add new option",model_in_use:"Cannot update model for fields which are already in use.",type_in_use:"Cannot update type for fields which are already in use."},customization:{customization:"customization",updated_message:"Company information updated successfully",save:"Save",insert_fields:"Insert Fields",learn_custom_format:"Learn how to use custom format",add_new_component:"Add New Component",component:"Component",Parameter:"Parameter",series:"Series",series_description:"To set a static prefix/postfix like 'INV' across your company. It supports character length of up to 4 chars.",series_param_label:"Series Value",delimiter:"Delimiter",delimiter_description:"Single character for specifying the boundary between 2 separate components. By default its set to -",delimiter_param_label:"Delimiter Value",date_format:"Date Format",date_format_description:"A local date and time field which accepts a format parameter. The default format: 'Y' renders the current year.",date_format_param_label:"Format",sequence:"Sequence",sequence_description:"Consecutive sequence of numbers across your company. You can specify the length on the given paramter.",sequence_param_label:"Sequence Length",customer_series:"Customer Series",customer_series_description:"To set a different prefix/postfix for each customer.",customer_sequence:"Customer Sequence",customer_sequence_description:"Consecutive sequence of numbers for each of your customer.",customer_sequence_param_label:"Sequence Length",random_sequence:"Random Sequence",random_sequence_description:"Random alphanumeric string. You can specify the length on the given paramter.",random_sequence_param_label:"Sequence Length",invoices:{title:"Invoices",invoice_number_format:"Invoice Number Format",invoice_number_format_description:"Customize how your invoice number gets generated automatically when you create a new invoice.",preview_invoice_number:"Preview Invoice Number",due_date:"Due Date",due_date_description:"Specify how due date is automatically set when you create an invoice.",due_date_days:"Invoice Due after days",set_due_date_automatically:"Set Due Date Automatically",set_due_date_automatically_description:"Enable this if you wish to set due date automatically when you create a new invoice.",default_formats:"Default Formats",default_formats_description:"Below given formats are used to fill up the fields automatically on invoice creation.",default_invoice_email_body:"Default Invoice Email Body",company_address_format:"Company Address Format",shipping_address_format:"Shipping Address Format",billing_address_format:"Billing Address Format",invoice_email_attachment:"Send invoices as attachments",invoice_email_attachment_setting_description:"Enable this if you want to send invoices as email attachment. Please note that 'View Invoice' button in emails will not be displayed anymore when enabled.",invoice_settings_updated:"Invoice Settings updated successfully",retrospective_edits:"Retrospective Edits",allow:"Allow",disable_on_invoice_partial_paid:"Disable after partial payment is recorded",disable_on_invoice_paid:"Disable after full payment is recorded",disable_on_invoice_sent:"Disable after invoice is sent",retrospective_edits_description:" Based on your country's laws or your preference, you can restrict users from editing finalised invoices."},estimates:{title:"Estimates",estimate_number_format:"Estimate Number Format",estimate_number_format_description:"Customize how your estimate number gets generated automatically when you create a new estimate.",preview_estimate_number:"Preview Estimate Number",expiry_date:"Expiry Date",expiry_date_description:"Specify how expiry date is automatically set when you create an estimate.",expiry_date_days:"Estimate Expires after days",set_expiry_date_automatically:"Set Expiry Date Automatically",set_expiry_date_automatically_description:"Enable this if you wish to set expiry date automatically when you create a new estimate.",default_formats:"Default Formats",default_formats_description:"Below given formats are used to fill up the fields automatically on estimate creation.",default_estimate_email_body:"Default Estimate Email Body",company_address_format:"Company Address Format",shipping_address_format:"Shipping Address Format",billing_address_format:"Billing Address Format",estimate_email_attachment:"Send estimates as attachments",estimate_email_attachment_setting_description:"Enable this if you want to send the estimates as an email attachment. Please note that 'View Estimate' button in emails will not be displayed anymore when enabled.",estimate_settings_updated:"Estimate Settings updated successfully",convert_estimate_options:"Estimate Convert Action",convert_estimate_description:"Specify what happens to the estimate after it gets converted to an invoice.",no_action:"No action",delete_estimate:"Delete estimate",mark_estimate_as_accepted:"Mark estimate as accepted"},payments:{title:"Payments",payment_number_format:"Payment Number Format",payment_number_format_description:"Customize how your payment number gets generated automatically when you create a new payment.",preview_payment_number:"Preview Payment Number",default_formats:"Default Formats",default_formats_description:"Below given formats are used to fill up the fields automatically on payment creation.",default_payment_email_body:"Default Payment Email Body",company_address_format:"Company Address Format",from_customer_address_format:"From Customer Address Format",payment_email_attachment:"Send payments as attachments",payment_email_attachment_setting_description:"Enable this if you want to send the payment receipts as an email attachment. Please note that 'View Payment' button in emails will not be displayed anymore when enabled.",payment_settings_updated:"Payment Settings updated successfully"},items:{title:"Items",units:"Units",add_item_unit:"Add Item Unit",edit_item_unit:"Edit Item Unit",unit_name:"Unit Name",item_unit_added:"Item Unit Added",item_unit_updated:"Item Unit Updated",item_unit_confirm_delete:"You will not be able to recover this Item unit",already_in_use:"Item Unit is already in use",deleted_message:"Item Unit deleted successfully"},notes:{title:"Notes",description:"Save time by creating notes and reusing them on your invoices, estimates & payments.",notes:"Notes",type:"Type",add_note:"Add Note",add_new_note:"Add New Note",name:"Name",edit_note:"Edit Note",note_added:"Note added successfully",note_updated:"Note Updated successfully",note_confirm_delete:"You will not be able to recover this Note",already_in_use:"Note is already in use",deleted_message:"Note deleted successfully"}},account_settings:{profile_picture:"Profile Picture",name:"Name",email:"Email",password:"Password",confirm_password:"Confirm Password",account_settings:"Account Settings",save:"Save",section_description:"You can update your name, email & password using the form below.",updated_message:"Account Settings updated successfully"},user_profile:{name:"Name",email:"Email",password:"Password",confirm_password:"Confirm Password"},notification:{title:"Notifications",email:"Send Notifications to",description:"Which email notifications would you like to receive when something changes?",invoice_viewed:"Invoice viewed",invoice_viewed_desc:"When your customer views the invoice sent via crater dashboard.",estimate_viewed:"Estimate viewed",estimate_viewed_desc:"When your customer views the estimate sent via crater dashboard.",save:"Save",email_save_message:"Email saved successfully",please_enter_email:"Please Enter Email"},roles:{title:"Roles",description:"Manage the roles & permissions of this company",save:"Save",add_new_role:"Add New Role",role_name:"Role Name",added_on:"Added on",add_role:"Add Role",edit_role:"Edit Role",name:"Name",permission:"Permission | Permissions",select_all:"Select All",none:"None",confirm_delete:"You will not be able to recover this Role",created_message:"Role created successfully",updated_message:"Role updated successfully",deleted_message:"Role deleted successfully",already_in_use:"Role is already in use"},exchange_rate:{exchange_rate:"Exchange Rate",title:"Fix Currency Exchange issues",description:"Please enter exchange rate of all the currencies mentioned below to help Crater properly calculate the amounts in {currency}.",drivers:"Drivers",new_driver:"Add New Provider",edit_driver:"Edit Provider",select_driver:"Select Driver",update:"select exchange rate ",providers_description:"Configure your exchange rate providers here to automatically fetch the latest exchange rate on transactions.",key:"API Key",name:"Name",driver:"Driver",is_default:"IS DEFAULT",currency:"Currencies",exchange_rate_confirm_delete:"You will not be able to recover this driver",created_message:"Provider Created successfully",updated_message:"Provider Updated Successfully",deleted_message:"Provider Deleted Successfully",error:" You cannot Delete Active Driver",default_currency_error:"This currency is already used in one of the Active Provider",exchange_help_text:"Enter exchange rate to convert from {currency} to {baseCurrency}",currency_freak:"Currency Freak",currency_layer:"Currency Layer",open_exchange_rate:"Open Exchange Rate",currency_converter:"Currency Converter",server:"Server",url:"URL",active:"Active",currency_help_text:"This provider will only be used on above selected currencies",currency_in_used:"The following currencies are already active on another provider. Please remove these currencies from selection to activate this provider again."},tax_types:{title:"Tax Types",add_tax:"Add Tax",edit_tax:"Edit Tax",description:"You can add or Remove Taxes as you please. Crater supports Taxes on Individual Items as well as on the invoice.",add_new_tax:"Add New Tax",tax_settings:"Tax Settings",tax_per_item:"Tax Per Item",tax_name:"Tax Name",compound_tax:"Compound Tax",percent:"Percent",action:"Action",tax_setting_description:"Enable this if you want to add taxes to individual invoice items. By default, taxes are added directly to the invoice.",created_message:"Tax type created successfully",updated_message:"Tax type updated successfully",deleted_message:"Tax type deleted successfully",confirm_delete:"You will not be able to recover this Tax Type",already_in_use:"Tax is already in use"},payment_modes:{title:"Payment Modes",description:"Modes of transaction for payments",add_payment_mode:"Add Payment Mode",edit_payment_mode:"Edit Payment Mode",mode_name:"Mode Name",payment_mode_added:"Payment Mode Added",payment_mode_updated:"Payment Mode Updated",payment_mode_confirm_delete:"You will not be able to recover this Payment Mode",already_in_use:"Payment Mode is already in use",deleted_message:"Payment Mode deleted successfully"},expense_category:{title:"Expense Categories",action:"Action",description:"Categories are required for adding expense entries. You can Add or Remove these categories according to your preference.",add_new_category:"Add New Category",add_category:"Add Category",edit_category:"Edit Category",category_name:"Category Name",category_description:"Description",created_message:"Expense Category created successfully",deleted_message:"Expense category deleted successfully",updated_message:"Expense category updated successfully",confirm_delete:"You will not be able to recover this Expense Category",already_in_use:"Category is already in use"},preferences:{currency:"Currency",default_language:"Default Language",time_zone:"Time Zone",fiscal_year:"Financial Year",date_format:"Date Format",discount_setting:"Discount Setting",discount_per_item:"Discount Per Item ",discount_setting_description:"Enable this if you want to add Discount to individual invoice items. By default, Discount is added directly to the invoice.",save:"Save",preference:"Preference | Preferences",general_settings:"Default preferences for the system.",updated_message:"Preferences updated successfully",select_language:"Select Language",select_time_zone:"Select Time Zone",select_date_format:"Select Date Format",select_financial_year:"Select Financial Year",recurring_invoice_status:"Recurring Invoice Status",create_status:"Create Status",active:"Active",on_hold:"On Hold",update_status:"Update Status",completed:"Completed",company_currency_unchangeable:"Company currency cannot be changed"},update_app:{title:"Update App",description:"You can easily update Crater by checking for a new update by clicking the button below",check_update:"Check for updates",avail_update:"New Update available",next_version:"Next version",requirements:"Requirements",update:"Update Now",update_progress:"Update in progress...",progress_text:"It will just take a few minutes. Please do not refresh the screen or close the window before the update finishes",update_success:"App has been updated! Please wait while your browser window gets reloaded automatically.",latest_message:"No update available! You are on the latest version.",current_version:"Current Version",download_zip_file:"Download ZIP file",unzipping_package:"Unzipping Package",copying_files:"Copying Files",deleting_files:"Deleting Unused files",running_migrations:"Running Migrations",finishing_update:"Finishing Update",update_failed:"Update Failed",update_failed_text:"Sorry! Your update failed on : {step} step",update_warning:"All of the application files and default template files will be overwritten when you update the application using this utility. Please take a backup of your templates & database before updating."},backup:{title:"Backup | Backups",description:"The backup is a zipfile that contains all files in the directories you specify along with a dump of your database",new_backup:"Add New Backup",create_backup:"Create Backup",select_backup_type:"Select Backup Type",backup_confirm_delete:"You will not be able to recover this Backup",path:"path",new_disk:"New Disk",created_at:"created at",size:"size",dropbox:"dropbox",local:"local",healthy:"healthy",amount_of_backups:"amount of backups",newest_backups:"newest backups",used_storage:"used storage",select_disk:"Select Disk",action:"Action",deleted_message:"Backup deleted successfully",created_message:"Backup created successfully",invalid_disk_credentials:"Invalid credential of selected disk"},disk:{title:"File Disk | File Disks",description:"By default, Crater will use your local disk for saving backups, avatar and other image files. You can configure more than one disk drivers like DigitalOcean, S3 and Dropbox according to your preference.",created_at:"created at",dropbox:"dropbox",name:"Name",driver:"Driver",disk_type:"Type",disk_name:"Disk Name",new_disk:"Add New Disk",filesystem_driver:"Filesystem Driver",local_driver:"local Driver",local_root:"local Root",public_driver:"Public Driver",public_root:"Public Root",public_url:"Public URL",public_visibility:"Public Visibility",media_driver:"Media Driver",media_root:"Media Root",aws_driver:"AWS Driver",aws_key:"AWS Key",aws_secret:"AWS Secret",aws_region:"AWS Region",aws_bucket:"AWS Bucket",aws_root:"AWS Root",do_spaces_type:"Do Spaces type",do_spaces_key:"Do Spaces key",do_spaces_secret:"Do Spaces Secret",do_spaces_region:"Do Spaces Region",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces Endpoint",do_spaces_root:"Do Spaces Root",dropbox_type:"Dropbox Type",dropbox_token:"Dropbox Token",dropbox_key:"Dropbox Key",dropbox_secret:"Dropbox Secret",dropbox_app:"Dropbox App",dropbox_root:"Dropbox Root",default_driver:"Default Driver",is_default:"IS DEFAULT",set_default_disk:"Set Default Disk",set_default_disk_confirm:"This disk will be set as default and all the new PDFs will be saved on this disk",success_set_default_disk:"Disk set as default successfully",save_pdf_to_disk:"Save PDFs to Disk",disk_setting_description:" Enable this, if you wish to save a copy of each Invoice, Estimate & Payment Receipt PDF on your default disk automatically. Turning this option will decrease the load-time when viewing the PDFs.",select_disk:"Select Disk",disk_settings:"Disk Settings",confirm_delete:"Your existing files & folders in the specified disk will not be affected but your disk configuration will be deleted from Crater",action:"Action",edit_file_disk:"Edit File Disk",success_create:"Disk added successfully",success_update:"Disk updated successfully",error:"Disk addition failed",deleted_message:"File Disk deleted successfully",disk_variables_save_successfully:"Disk Configured Successfully",disk_variables_save_error:"Disk configuration failed.",invalid_disk_credentials:"Invalid credential of selected disk"}},rs={account_info:"Account Information",account_info_desc:"Below details will be used to create the main Administrator account. Also you can change the details anytime after logging in.",name:"Name",email:"Email",password:"Password",confirm_password:"Confirm Password",save_cont:"Save & Continue",company_info:"Company Information",company_info_desc:"This information will be displayed on invoices. Note that you can edit this later on settings page.",company_name:"Company Name",company_logo:"Company Logo",logo_preview:"Logo Preview",preferences:"Company Preferences",preferences_desc:"Specify the default preferences for this company.",currency_set_alert:"The company's currency cannot be changed later.",country:"Country",state:"State",city:"City",address:"Address",street:"Street1 | Street2",phone:"Phone",zip_code:"Zip Code",go_back:"Go Back",currency:"Currency",language:"Language",time_zone:"Time Zone",fiscal_year:"Financial Year",date_format:"Date Format",from_address:"From Address",username:"Username",next:"Next",continue:"Continue",skip:"Skip",database:{database:"Site URL & Database",connection:"Database Connection",host:"Database Host",port:"Database Port",password:"Database Password",app_url:"App URL",app_domain:"App Domain",username:"Database Username",db_name:"Database Name",db_path:"Database Path",desc:"Create a database on your server and set the credentials using the form below."},permissions:{permissions:"Permissions",permission_confirm_title:"Are you sure you want to continue?",permission_confirm_desc:"Folder permission check failed",permission_desc:"Below is the list of folder permissions which are required in order for the app to work. If the permission check fails, make sure to update your folder permissions."},verify_domain:{title:"Domain Verification",desc:"Crater uses Session based authentication which requires domain verification for security purposes. Please enter the domain on which you will be accessing your web application.",app_domain:"App Domain",verify_now:"Verify Now",success:"Domain Verify Successfully.",failed:"Domain verification failed. Please enter valid domain name.",verify_and_continue:"Verify And Continue"},mail:{host:"Mail Host",port:"Mail Port",driver:"Mail Driver",secret:"Secret",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domain",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"Mail Password",username:"Mail Username",mail_config:"Mail Configuration",from_name:"From Mail Name",from_mail:"From Mail Address",encryption:"Mail Encryption",mail_config_desc:"Below is the form for Configuring Email driver for sending emails from the app. You can also configure third party providers like Sendgrid, SES etc."},req:{system_req:"System Requirements",php_req_version:"Php (version {version} required)",check_req:"Check Requirements",system_req_desc:"Crater has a few server requirements. Make sure that your server has the required php version and all the extensions mentioned below."},errors:{migrate_failed:"Migrate Failed",database_variables_save_error:"Cannot write configuration to .env file. Please check its file permissions",mail_variables_save_error:"Email configuration failed.",connection_failed:"Database connection failed",database_should_be_empty:"Database should be empty"},success:{mail_variables_save_successfully:"Email configured successfully",database_variables_save_successfully:"Database configured successfully."}},ds={invalid_phone:"Invalid Phone Number",invalid_url:"Invalid url (ex: http://www.craterapp.com)",invalid_domain_url:"Invalid url (ex: craterapp.com)",required:"Field is required",email_incorrect:"Incorrect Email.",email_already_taken:"The email has already been taken.",email_does_not_exist:"User with given email doesn't exist",item_unit_already_taken:"This item unit name has already been taken",payment_mode_already_taken:"This payment mode name has already been taken",send_reset_link:"Send Reset Link",not_yet:"Not yet? Send it again",password_min_length:"Password must contain {count} characters",name_min_length:"Name must have at least {count} letters.",prefix_min_length:"Prefix must have at least {count} letters.",enter_valid_tax_rate:"Enter valid tax rate",numbers_only:"Numbers Only.",characters_only:"Characters Only.",password_incorrect:"Passwords must be identical",password_length:"Password must be {count} character long.",qty_must_greater_than_zero:"Quantity must be greater than zero.",price_greater_than_zero:"Price must be greater than zero.",payment_greater_than_zero:"Payment must be greater than zero.",payment_greater_than_due_amount:"Entered Payment is more than due amount of this invoice.",quantity_maxlength:"Quantity should not be greater than 20 digits.",price_maxlength:"Price should not be greater than 20 digits.",price_minvalue:"Price should be greater than 0.",amount_maxlength:"Amount should not be greater than 20 digits.",amount_minvalue:"Amount should be greater than 0.",discount_maxlength:"Discount should not be greater than max discount",description_maxlength:"Description should not be greater than 255 characters.",subject_maxlength:"Subject should not be greater than 100 characters.",message_maxlength:"Message should not be greater than 255 characters.",maximum_options_error:"Maximum of {max} options selected. First remove a selected option to select another.",notes_maxlength:"Notes should not be greater than 65,000 characters.",address_maxlength:"Address should not be greater than 255 characters.",ref_number_maxlength:"Ref Number should not be greater than 255 characters.",prefix_maxlength:"Prefix should not be greater than 5 characters.",something_went_wrong:"something went wrong",number_length_minvalue:"Number length should be greater than 0",at_least_one_ability:"Please select atleast one Permission.",valid_driver_key:"Please enter a valid {driver} key.",valid_exchange_rate:"Please enter a valid exchange rate.",company_name_not_same:"Company name must match with given name."},ls={starter_plan:"This feature is available on Starter plan and onwards!",invalid_provider_key:"Please Enter Valid Provider API Key.",estimate_number_used:"The estimate number has already been taken.",invoice_number_used:"The invoice number has already been taken.",payment_attached:"This invoice already has a payment attached to it. Make sure to delete the attached payments first in order to go ahead with the removal.",payment_number_used:"The payment number has already been taken.",name_already_taken:"The name has already been taken.",receipt_does_not_exist:"Receipt does not exist.",customer_cannot_be_changed_after_payment_is_added:"Customer cannot be change after payment is added",invalid_credentials:"Invalid Credentials.",not_allowed:"Not Allowed",login_invalid_credentials:"These credentials do not match our records.",enter_valid_cron_format:"Please enter a valid cron format",email_could_not_be_sent:"Email could not be sent to this email address."},cs="Estimate",_s="Estimate Number",us="Estimate Date",ms="Expiry date",ps="Invoice",gs="Invoice Number",fs="Invoice Date",hs="Due date",vs="Notes",ys="Items",bs="Quantity",ks="Price",ws="Discount",xs="Amount",zs="Subtotal",Ss="Total",Ps="Payment",js="PAYMENT RECEIPT",Ds="Payment Date",Cs="Payment Number",As="Payment Mode",Ns="Amount Received",Es="EXPENSES REPORT",Ts="TOTAL EXPENSE",Is="PROFIT & LOSS REPORT",$s="Sales Customer Report",Rs="Sales Item Report",Fs="Tax Summary Report",Ms="INCOME",Bs="NET PROFIT",Vs="Sales Report: By Customer",Os="TOTAL SALES",Ls="Sales Report: By Item",Us="TAX REPORT",Ks="TOTAL TAX",qs="Tax Types",Ws="Expenses",Zs="Bill to,",Hs="Ship to,",Gs="Received from:",Ys="Tax";var Js={navigation:Ua,general:Ka,dashboard:qa,tax_types:Wa,global_search:Za,company_switcher:Ha,dateRange:Ga,customers:Ya,items:Ja,estimates:Xa,invoices:Qa,recurring_invoices:es,payments:ts,expenses:as,login:ss,users:ns,reports:is,settings:os,wizard:rs,validation:ds,errors:ls,pdf_estimate_label:cs,pdf_estimate_number:_s,pdf_estimate_date:us,pdf_estimate_expire_date:ms,pdf_invoice_label:ps,pdf_invoice_number:gs,pdf_invoice_date:fs,pdf_invoice_due_date:hs,pdf_notes:vs,pdf_items_label:ys,pdf_quantity_label:bs,pdf_price_label:ks,pdf_discount_label:ws,pdf_amount_label:xs,pdf_subtotal:zs,pdf_total:Ss,pdf_payment_label:Ps,pdf_payment_receipt_label:js,pdf_payment_date:Ds,pdf_payment_number:Cs,pdf_payment_mode:As,pdf_payment_amount_received_label:Ns,pdf_expense_report_label:Es,pdf_total_expenses_label:Ts,pdf_profit_loss_label:Is,pdf_sales_customers_label:$s,pdf_sales_items_label:Rs,pdf_tax_summery_label:Fs,pdf_income_label:Ms,pdf_net_profit_label:Bs,pdf_customer_sales_report:Vs,pdf_total_sales_label:Os,pdf_item_sales_label:Ls,pdf_tax_report_label:Us,pdf_total_tax_label:Ks,pdf_tax_types_label:qs,pdf_expenses_label:Ws,pdf_bill_to:Zs,pdf_ship_to:Hs,pdf_received_from:Gs,pdf_tax_label:Ys};const Xs={dashboard:"Tableau de bord",customers:"Clients",items:"Articles",invoices:"Factures",expenses:"D\xE9penses",estimates:"Devis",payments:"Paiements",reports:"Rapports",settings:"Param\xE8tres",logout:"Se d\xE9connecter",users:"Utilisateurs"},Qs={add_company:"Ajouter une entreprise",view_pdf:"Voir PDF",copy_pdf_url:"Copier l'URL du PDF",download_pdf:"T\xE9l\xE9charger le PDF",save:"Sauvegarder",create:"Cr\xE9er",cancel:"Annuler",update:"Mise \xE0 jour",deselect:"Retirer",download:"T\xE9l\xE9charger",from_date:"A partir de la date",to_date:"\xC0 ce jour",from:"De",to:"\xC0",sort_by:"Trier par",ascending:"Ascendant",descending:"Descendant",subject:"mati\xE8re",body:"Corps du message",message:"Message",send:"Envoyer",go_back:"Retourner",back_to_login:"Retour \xE0 l'\xE9cran de connexion ?",home:"Accueil",filter:"Filtre",delete:"Effacer",edit:"Modifier",view:"Voir",add_new_item:"Ajoute un nouvel objet",clear_all:"Tout effacer",showing:"Montant",of:"de",actions:"Actions",subtotal:"SOUS-TOTAL",discount:"REMISE",fixed:"Fix\xE9e",percentage:"Pourcentage",tax:"IMP\xD4T",total_amount:"MONTANT TOTAL",bill_to:"facturer",ship_to:"Envoyez \xE0",due:"D\xFB",draft:"Brouillon",sent:"Envoy\xE9e",all:"Tout",select_all:"Tout s\xE9lectionner",choose_file:"Cliquez ici pour choisir un fichier",choose_template:"Choisissez un mod\xE8le",choose:"Choisir",remove:"Retirer",powered_by:"Propuls\xE9 par",bytefury:"Bytefury",select_a_status:"S\xE9lectionnez un statut",select_a_tax:"S\xE9lectionnez une taxe",search:"Rechercher",are_you_sure:"\xCAtes-vous s\xFBr ?",list_is_empty:"La liste est vide.",no_tax_found:"Aucune taxe trouv\xE9e !",four_zero_four:"404",you_got_lost:"Oups! Vous vous \xEAtes perdus!",go_home:"Retour \xE0 l'accueil",test_mail_conf:"Tester la configuration",send_mail_successfully:"Mail envoy\xE9 avec succ\xE8s",setting_updated:"Param\xE8tres mis \xE0 jour avec succ\xE8s",select_state:"S\xE9lectionnez l'\xE9tat",select_country:"Choisissez le pays",select_city:"S\xE9lectionnez une ville",street_1:"Rue 1",street_2:"Rue # 2",action_failed:"Action : \xE9chou\xE9",retry:"R\xE9essayez",choose_note:"Choisissez une note",no_note_found:"Aucune note trouv\xE9e",insert_note:"Ins\xE9rer une note"},en={select_year:"S\xE9lectionnez l'ann\xE9e",cards:{due_amount:"Montant d\xFB",customers:"Clients",invoices:"Factures",estimates:"Devis"},chart_info:{total_sales:"Ventes",total_receipts:"Re\xE7us",total_expense:"D\xE9penses",net_income:"Revenu net",year:"S\xE9lectionnez l'ann\xE9e"},monthly_chart:{title:"Recettes et d\xE9penses"},recent_invoices_card:{title:"Factures d\xFBes",due_on:"Due le",customer:"Client",amount_due:"Montant d\xFB",actions:"Actions",view_all:"Voir tout"},recent_estimate_card:{title:"Devis r\xE9cents",date:"Date",customer:"Client",amount_due:"Montant d\xFB",actions:"Actions",view_all:"Voir tout"}},tn={name:"Nom",description:"Description",percent:"Pourcent",compound_tax:"Taxe compos\xE9e"},an={search:"Rechercher...",customers:"Les clients",users:"Utilisateurs",no_results_found:"Aucun r\xE9sultat"},sn={title:"Clients",add_customer:"Ajouter un client",contacts_list:"Liste de clients",name:"Nom",mail:"Email | Emails",statement:"Statement",display_name:"Statut et Nom de la soci\xE9t\xE9",primary_contact_name:"Nom du contact principal",contact_name:"Nom du contact",amount_due:"Montant d\xFB",email:"Email",address:"Adresse",phone:"T\xE9l\xE9phone",website:"Site Internet",overview:"Aper\xE7u",enable_portal:"Activer le portail",country:"Pays",state:"\xC9tat",city:"Ville",zip_code:"Code postal",added_on:"Ajout\xE9 le",action:"action",password:"Mot de passe",street_number:"Num\xE9ro de rue",primary_currency:"Devise principale",description:"Description",add_new_customer:"Ajouter un nouveau client",save_customer:"Enregistrer le client",update_customer:"Mettre \xE0 jour le client",customer:"Client | Clients",new_customer:"Nouveau client",edit_customer:"Modifier le client",basic_info:"Informations de base",billing_address:"Adresse de facturation",shipping_address:"Adresse de livraison",copy_billing_address:"Copier depuis l'adresse de facturation",no_customers:"Vous n\u2019avez pas encore de clients !",no_customers_found:"Aucun client !",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"Cette section contiendra la liste des clients.",primary_display_name:"Nom d'affichage principal",select_currency:"S\xE9lectionnez la devise",select_a_customer:"S\xE9lectionnez un client",type_or_click:"Tapez ou cliquez pour s\xE9lectionner",new_transaction:"Nouvelle transaction",no_matching_customers:"Il n'y a aucun client correspondant !",phone_number:"Num\xE9ro de t\xE9l\xE9phone",create_date:"Date de cr\xE9ation",confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer ce client et les devis, factures et paiements associ\xE9s. | Vous ne serez pas en mesure de r\xE9cup\xE9rer ces clients et les devis, factures et paiements associ\xE9s.",created_message:"Client cr\xE9\xE9 avec succ\xE8s",updated_message:"Client mis \xE0 jour avec succ\xE8s",deleted_message:"Client supprim\xE9 avec succ\xE8s | Les clients supprim\xE9s avec succ\xE8s"},nn={title:"Articles",items_list:"Liste d'articles",name:"Nom",unit:"Unit\xE9",description:"Description",added_on:"Ajout\xE9 le",price:"Prix",date_of_creation:"Date de cr\xE9ation",not_selected:"No item selected",action:"action",add_item:"Ajouter un article",save_item:"Enregistrer l'article",update_item:"Mettre \xE0 jour l'article",item:"Article | Articles",add_new_item:"Ajoute un nouvel objet",new_item:"Nouvel article",edit_item:"Modifier larticle",no_items:"Aucun article !",list_of_items:"Cette section contiendra la liste des \xE9l\xE9ments.",select_a_unit:"S\xE9lectionnez l'unit\xE9",taxes:"Taxes",item_attached_message:"Impossible de supprimer un article d\xE9j\xE0 utilis\xE9",confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer cet article | Vous ne pourrez pas r\xE9cup\xE9rer ces objets",created_message:"Article cr\xE9\xE9 avec succ\xE8s",updated_message:"Article mis \xE0 jour avec succ\xE8s",deleted_message:"Article supprim\xE9 avec succ\xE8s | Articles supprim\xE9s avec succ\xE8s"},on={title:"Devis",estimate:"Devis | Devis",estimates_list:"Liste des devis",days:"jours jours",months:"mois mois",years:"ann\xE9es Ann\xE9e",all:"Tout",paid:"Pay\xE9",unpaid:"Non pay\xE9",customer:"Client",ref_no:"R\xE9f.",number:"N\xB0",amount_due:"MONTANT D\xDB",partially_paid:"Partiellement pay\xE9",total:"Total",discount:"Remise",sub_total:"Sous-total",estimate_number:"N\xB0",ref_number:"Num\xE9ro de r\xE9f\xE9rence",contact:"Contact",add_item:"Ajouter un article",date:"Date",due_date:"Date d'\xE9ch\xE9ance",expiry_date:"Date d'expiration",status:"Statut",add_tax:"Ajouter une taxe",amount:"Montant",action:"action",notes:"Remarques",tax:"Taxe",estimate_template:"Mod\xE8le de devis",convert_to_invoice:"Convertir en facture",mark_as_sent:"Marquer comme envoy\xE9",send_estimate:"Envoyer le devis",resend_estimate:"Renvoyer le devis",record_payment:"Enregistrer un paiement",add_estimate:"Ajouter un devis",save_estimate:"Sauvegarder le devis",confirm_conversion:"Vous souhaitez convertir ce devis en facture?",conversion_message:"Conversion r\xE9ussie",confirm_send_estimate:"Ce devis sera envoy\xE9e par courrier \xE9lectronique au client.",confirm_mark_as_sent:"Ce devis sera marqu\xE9 comme envoy\xE9",confirm_mark_as_accepted:"Ce devis sera marqu\xE9 comme accept\xE9",confirm_mark_as_rejected:"Ce devis sera marqu\xE9 comme rejet\xE9",no_matching_estimates:"Aucune estimation correspondante !",mark_as_sent_successfully:"Devis marqu\xE9e comme envoy\xE9e avec succ\xE8s",send_estimate_successfully:"Devis envoy\xE9 avec succ\xE8s",errors:{required:"Champ requis"},accepted:"Accept\xE9",rejected:"Rejected",sent:"Envoy\xE9",draft:"Brouillon",declined:"Refus\xE9",new_estimate:"Nouveau devis",add_new_estimate:"Ajouter un devis",update_Estimate:"Mise \xE0 jour du devis",edit_estimate:"Modifier le devis",items:"articles",Estimate:"Devis | Devis",add_new_tax:"Ajouter une taxe",no_estimates:"Aucune estimation pour le moment !",list_of_estimates:"Cette section contiendra la liste des devis.",mark_as_rejected:"Marquer comme rejet\xE9",mark_as_accepted:"Marquer comme accept\xE9",marked_as_accepted_message:"Devis marqu\xE9 comme accept\xE9",marked_as_rejected_message:"Devis marqu\xE9 comme rejet\xE9",confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer ce devis | Vous ne pourrez pas r\xE9cup\xE9rer ces devis",created_message:"Devis cr\xE9\xE9 avec succ\xE8s",updated_message:"Devis mise \xE0 jour avec succ\xE8s",deleted_message:"Devis supprim\xE9 | Devis supprim\xE9s",something_went_wrong:"quelque chose a mal tourn\xE9",item:{title:"Titre de l'article",description:"Description",quantity:"Quantit\xE9",price:"Prix",discount:"Remise",total:"Total",total_discount:"Remise totale",sub_total:"Sous-total",tax:"Taxe",amount:"Montant",select_an_item:"Tapez ou cliquez pour s\xE9lectionner un article",type_item_description:"Taper la description de l'article (facultatif)"}},rn={title:"Factures",invoices_list:"Liste des factures",days:"jours jours",months:"mois mois",years:"years ann\xE9es",all:"Toutes",paid:"Pay\xE9",unpaid:"Non pay\xE9",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"CLIENT",paid_status:"STATUT DU PAIEMENT",ref_no:"R\xE9f.",number:"N\xB0",amount_due:"MONTANT D\xDB",partially_paid:"Partiellement pay\xE9",total:"Total",discount:"Remise",sub_total:"Sous-total",invoice:"Facture | Factures",invoice_number:"Num\xE9ro de facture",ref_number:"Num\xE9ro de r\xE9f\xE9rence",contact:"Contact",add_item:"Ajouter un article",date:"Date",due_date:"Date d'\xE9ch\xE9ance",status:"Statut",add_tax:"Ajouter une taxe",amount:"Montant",action:"action",notes:"Remarques",view:"Voir",send_invoice:"Envoyer une facture",resend_invoice:"Renvoyer la facture",invoice_template:"Mod\xE8le de facture",template:"Mod\xE8le",mark_as_sent:"Marquer comme envoy\xE9e",confirm_send_invoice:"Cette facture sera envoy\xE9e par email au client",invoice_mark_as_sent:"Cette facture sera marqu\xE9e comme envoy\xE9",confirm_send:"Cette facture sera envoy\xE9e par courrier \xE9lectronique au client.",invoice_date:"Date de facturation",record_payment:"Enregistrer un paiement",add_new_invoice:"Ajouter une facture",update_expense:"Enregistrer la d\xE9pense",edit_invoice:"Modifier la facture",new_invoice:"Nouvelle facture",save_invoice:"Enregistrer la facture",update_invoice:"Mettre \xE0 jour la facture",add_new_tax:"Ajouter une taxe",no_invoices:"Aucune facture pour le moment !",list_of_invoices:"Cette section contiendra la liste des factures.",select_invoice:"S\xE9lectionnez facture",no_matching_invoices:"Aucune facture correspondante !",mark_as_sent_successfully:"Facture marqu\xE9e comme envoy\xE9e avec succ\xE8s",invoice_sent_successfully:"Facture envoy\xE9e avec succ\xE8s",cloned_successfully:"Facture clon\xE9e avec succ\xE8s",clone_invoice:"Dupliquer la facture",confirm_clone:"Cette facture sera dupliqu\xE9e dans une nouvelle facture",item:{title:"Titre de l'article",description:"Description",quantity:"Quantit\xE9",price:"Prix",discount:"Remise",total:"Total",total_discount:"Remise totale",sub_total:"Sous-total",tax:"Taxe",amount:"Montant",select_an_item:"Tapez ou cliquez pour s\xE9lectionner un \xE9l\xE9ment",type_item_description:"Tapez la description de l'article (facultatif)"},confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer cette facture | Vous ne pourrez pas r\xE9cup\xE9rer ces factures",created_message:"Facture cr\xE9\xE9e avec succ\xE8s",updated_message:"Facture mise \xE0 jour avec succ\xE8s",deleted_message:"La facture a \xE9t\xE9 supprim\xE9e | Les factures ont \xE9t\xE9 supprim\xE9es",marked_as_sent_message:"Facture supprim\xE9e avec succ\xE8s | Factures supprim\xE9es avec succ\xE8s",something_went_wrong:"quelque chose a mal tourn\xE9",invalid_due_amount_message:"Le paiement entr\xE9 est sup\xE9rieur au montant total d\xFB pour cette facture. Veuillez v\xE9rifier et r\xE9essayer"},dn={title:"Paiements",payments_list:"Liste de paiements",record_payment:"Enregistrer un paiement",customer:"Client",date:"Date",amount:"Montant",action:"action",payment_number:"N\xB0",payment_mode:"Mode de paiement",invoice:"Facture",note:"Remarque",add_payment:"Ajouter un paiement",new_payment:"Nouveau paiement",edit_payment:"Modifier le paiement",view_payment:"Voir le paiement",add_new_payment:"Ajouter un paiement",send_payment_receipt:"Envoyer le re\xE7u",send_payment:"Envoyer le paiement",save_payment:"Enregistrer le paiement",update_payment:"Mettre \xE0 jour le paiement",payment:"Paiement | Paiements",no_payments:"Aucun paiement pour le moment !",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"Il n'y a aucun paiement correspondant !",list_of_payments:"Cette section contiendra la liste des paiements",select_payment_mode:"S\xE9lectionnez le moyen de paiement",confirm_mark_as_sent:"Ce devis sera marqu\xE9 comme envoy\xE9",confirm_send_payment:"Ce paiement sera envoy\xE9 par email au client",send_payment_successfully:"Paiement envoy\xE9 avec succ\xE8s",something_went_wrong:"quelque chose a mal tourn\xE9",confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer ce paiement | Vous ne pourrez pas r\xE9cup\xE9rer ces paiements",created_message:"Paiement cr\xE9\xE9 avec succ\xE8s",updated_message:"Paiement mis \xE0 jour avec succ\xE8s",deleted_message:"Paiement supprim\xE9 avec succ\xE8s | Paiements supprim\xE9s avec succ\xE8s",invalid_amount_message:"Le montant du paiement est invalide"},ln={title:"D\xE9penses",expenses_list:"Liste des d\xE9penses",select_a_customer:"S\xE9lectionnez un client",expense_title:"Titre",customer:"Client",contact:"Contact",category:"Cat\xE9gorie",from_date:"A partir de la date",to_date:"\xC0 ce jour",expense_date:"Date",description:"Description",receipt:"Re\xE7u",amount:"Montant",action:"action",not_selected:"Not selected",note:"Remarque",category_id:"Identifiant de cat\xE9gorie",date:"Date",add_expense:"Ajouter une d\xE9pense",add_new_expense:"Ajouter une nouvelle d\xE9pense",save_expense:"Enregistrer la d\xE9pense",update_expense:"Mettre \xE0 jour la d\xE9pense",download_receipt:"T\xE9l\xE9charger le re\xE7u",edit_expense:"Modifier la d\xE9pense",new_expense:"Nouvelle d\xE9pense",expense:"D\xE9pense | D\xE9penses",no_expenses:"Pas de d\xE9penses pour le moment !",list_of_expenses:"Cette section contiendra la liste des d\xE9penses.",confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer cette d\xE9pense | Vous ne pourrez pas r\xE9cup\xE9rer ces d\xE9penses",created_message:"D\xE9pense cr\xE9\xE9e avec succ\xE8s",updated_message:"D\xE9pense mise \xE0 jour avec succ\xE8s",deleted_message:"D\xE9pense supprim\xE9e avec succ\xE8s | D\xE9penses supprim\xE9es avec succ\xE8s",categories:{categories_list:"Liste des cat\xE9gories",title:"Titre",name:"Nom",description:"Description",amount:"Montant",actions:"Actions",add_category:"Ajouter une cat\xE9gorie",new_category:"Nouvelle cat\xE9gorie",category:"Cat\xE9gorie | Cat\xE9gories",select_a_category:"Choisissez une cat\xE9gorie"}},cn={email:"Email",password:"Mot de passe",forgot_password:"Mot de passe oubli\xE9 ?",or_signIn_with:"ou connectez-vous avec",login:"S'identifier",register:"S'inscrire",reset_password:"R\xE9initialiser le mot de passe",password_reset_successfully:"R\xE9initialisation du mot de passe r\xE9ussie",enter_email:"Entrer l'email",enter_password:"Entrer le mot de passe",retype_password:"Retaper le mot de passe"},_n={title:"Utilisateurs",users_list:"Liste des utilisateurs",name:"Nom",description:"Description",added_on:"Ajout\xE9 le",date_of_creation:"Date de cr\xE9ation",action:"action",add_user:"Ajouter un utilisateur",save_user:"Enregistrer l'utilisateur",update_user:"Mettre \xE0 jour l'utilisateur",user:"Utilisateur | Utilisateurs",add_new_user:"Ajouter un nouvel utilisateur",new_user:"Nouvel utilisateur",edit_user:"Modifier l'utilisateur",no_users:"Pas encore d'utilisateurs !",list_of_users:"Cette section contiendra la liste des utilisateurs.",email:"Email",phone:"T\xE9l\xE9phone",password:"Mot de passe",user_attached_message:"Impossible de supprimer un \xE9l\xE9ment d\xE9j\xE0 utilis\xE9",confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer cet utilisateur | Vous ne pourrez pas r\xE9cup\xE9rer ces utilisateurs",created_message:"L'utilisateur a \xE9t\xE9 cr\xE9\xE9 avec succ\xE8s",updated_message:"L'utilisateur a bien \xE9t\xE9 mis \xE0 jour",deleted_message:"Utilisateur supprim\xE9 avec succ\xE8s | Utilisateur a bien \xE9t\xE9 supprim\xE9"},un={title:"Rapport",from_date:"\xC0 partir du",to_date:"Jusqu'au",status:"Statut",paid:"Pay\xE9",unpaid:"Non pay\xE9",download_pdf:"T\xE9l\xE9charger le PDF",view_pdf:"Voir le PDF",update_report:"Mettre \xE0 jour le rapport",report:"Rapport | Rapports",profit_loss:{profit_loss:"B\xE9n\xE9fices & Pertes",to_date:"Au",from_date:"Du",date_range:"S\xE9lectionner une plage de dates"},sales:{sales:"Ventes",date_range:"S\xE9lectionner une plage de dates",to_date:"\xC0 ce jour",from_date:"A partir de la date",report_type:"Type de rapport"},taxes:{taxes:"Les taxes",to_date:"\xC0 ce jour",from_date:"\xC0 partir du",date_range:"S\xE9lectionner une plage de dates"},errors:{required:"Champ requis"},invoices:{invoice:"Facture",invoice_date:"Date de facturation",due_date:"Date d\xE9ch\xE9ance",amount:"Montant ",contact_name:"Nom du contact",status:"Statut"},estimates:{estimate:"Devis",estimate_date:"Date du devis",due_date:"Date d'\xE9ch\xE9ance",estimate_number:"N\xB0",ref_number:"Num\xE9ro de r\xE9f\xE9rence",amount:"Montant",contact_name:"Nom du contact",status:"Statut"},expenses:{expenses:"D\xE9penses",category:"Cat\xE9gorie",date:"Date",amount:"Montant",to_date:"Jusqu'au",from_date:"\xC0 partir du",date_range:"S\xE9lectionner une plage de dates"}},mn={menu_title:{account_settings:"Param\xE8tres du compte",company_information:"Informations sur la soci\xE9t\xE9",customization:"Personnalisation",preferences:"Pr\xE9f\xE9rences",notifications:"Notifications",tax_types:"Types de taxe",expense_category:"Cat\xE9gories de d\xE9penses",update_app:"Mise \xE0 jour de l'application",backup:"Sauvegarde",file_disk:"Espace de stockage",custom_fields:"Champs personnalis\xE9s",payment_modes:"Moyens de paiement",notes:"Remarques"},title:"Param\xE8tres",setting:"Param\xE8tres | Param\xE8tres",general:"Param\xE8tres g\xE9n\xE9raux",language:"Langue",primary_currency:"Devise principale",timezone:"Fuseau horaire",date_format:"Format de date",currencies:{title:"Devises",currency:"Devise | Devises",currencies_list:"Liste des devises",select_currency:"S\xE9lectionnez la devise",name:"Nom",code:"Code\xA0",symbol:"Symbole",precision:"Pr\xE9cision",thousand_separator:"S\xE9parateur de milliers",decimal_separator:"S\xE9parateur d\xE9cimal",position:"Position",position_of_symbol:"Position du symbole",right:"Droite",left:"Gauche",action:"action",add_currency:"Ajouter une devise"},mail:{host:"Adresse du serveur",port:"Port",driver:"Pilote de courrier",secret:"Secret",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domaine",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"Mot de passe",username:"Nom d'utilisateur",mail_config:"Configuration des emails",from_name:"Nom de l'exp\xE9diteur",from_mail:"Email de l'exp\xE9diteur",encryption:"Chiffrement",mail_config_desc:"Vous pouvez modifier ci-dessous les param\xE8tres d'envoi des emails. Vous pourrez modifier \xE0 tout moment."},pdf:{title:"Param\xE8tre PDF",footer_text:"Pied de page",pdf_layout:"Mise en page PDF"},company_info:{company_info:"Information de l'entreprise",company_name:"Nom de l'entreprise",company_logo:"Logo de l'entreprise",section_description:"Informations sur votre entreprise qui figureront sur les factures, devis et autres documents cr\xE9\xE9s par Crater.",phone:"T\xE9l\xE9phone",country:"Pays",state:"\xC9tat",city:"Ville",address:"Adresse",zip:"Code postal",save:"Sauvegarder",updated_message:"Informations sur la soci\xE9t\xE9 mises \xE0 jour avec succ\xE8s"},custom_fields:{title:"Champs personnalis\xE9s",section_description:"Personnalisez vos factures, devis et re\xE7us de paiement avec vos propres champs. Assurez-vous d'utiliser les champs ajout\xE9s ci-dessous sur les formats d'adresse sur la page des param\xE8tres de personnalisation.",add_custom_field:"Ajouter un champ personnalis\xE9",edit_custom_field:"Modifier un champ personnalis\xE9",field_name:"Nom du champs",label:"\xC9tiquette",type:"Type\xA0",name:"Nom",required:"Obligatoire",placeholder:"Espace r\xE9serv\xE9",help_text:"Texte d'aide",default_value:"Valeur par d\xE9faut",prefix:"Pr\xE9fixe",starting_number:"Num\xE9ro de d\xE9part",model:"Mod\xE8le",help_text_description:"Saisissez du texte pour aider les utilisateurs \xE0 comprendre l'objectif de ce champ personnalis\xE9.",suffix:"Suffixe",yes:"Oui",no:"Non",order:"Ordre",custom_field_confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer ce champ personnalis\xE9",already_in_use:"Le champ personnalis\xE9 est d\xE9j\xE0 utilis\xE9",deleted_message:"Champ personnalis\xE9 supprim\xE9 avec succ\xE8s",options:"les options",add_option:"Ajouter des options",add_another_option:"Ajouter une autre option",sort_in_alphabetical_order:"Trier par ordre alphab\xE9tique",add_options_in_bulk:"Ajouter des options en masse",use_predefined_options:"Utiliser des options pr\xE9d\xE9finies",select_custom_date:"S\xE9lectionnez une date personnalis\xE9e",select_relative_date:"S\xE9lectionnez la date relative",ticked_by_default:"Coch\xE9 par d\xE9faut",updated_message:"Champ personnalis\xE9 mis \xE0 jour avec succ\xE8s",added_message:"Champ personnalis\xE9 ajout\xE9 avec succ\xE8s"},customization:{customization:"Personnalisation",save:"Sauvegarder",addresses:{title:"Adresses",section_description:"Vous pouvez d\xE9finir le format de l'adresse de facturation et de livraison du client (affich\xE9 en PDF uniquement). ",customer_billing_address:"Adresse de paiement",customer_shipping_address:"Adresse de livraison",company_address:"Adresse de l'entreprise",insert_fields:"Ajouter des champs",contact:"Contact",address:"Adresse",display_name:"Nom",primary_contact_name:"Nom du contact principal",email:"Email",website:"Site Internet",name:"Nom",country:"Pays",state:"Etat",city:"Ville",company_name:"Nom de l'entreprise",address_street_1:"Rue",address_street_2:"Compl\xE9ment",phone:"T\xE9l\xE9phone",zip_code:"Code postal",address_setting_updated:"Adresse mise \xE0 jour avec succ\xE8s"},updated_message:"Informations de l'entreprise mises \xE0 jour",invoices:{title:"Factures",notes:"Remarques",invoice_prefix:"Pr\xE9fixe",default_invoice_email_body:"Corps de l'e-mail de la facture par d\xE9faut",invoice_settings:"Param\xE8tres",autogenerate_invoice_number:"G\xE9n\xE9rer automatiquement le num\xE9ro de facture",autogenerate_invoice_number_desc:"D\xE9sactivez cette option si vous ne souhaitez pas g\xE9n\xE9rer automatiquement les num\xE9ros de facture \xE0 chaque fois que vous en cr\xE9ez une nouvelle.",enter_invoice_prefix:"Ajouter le pr\xE9fixe de facture",terms_and_conditions:"Termes et conditions",company_address_format:"Format d'adresse de l'entreprise",shipping_address_format:"Format d'adresse d'exp\xE9dition",billing_address_format:"Format d'adresse de facturation",invoice_settings_updated:"Param\xE8tres de facturation mis \xE0 jour"},estimates:{title:"Devis",estimate_prefix:"Pr\xE9fixe des devis",default_estimate_email_body:"Corps de l'e-mail estim\xE9 par d\xE9faut",estimate_settings:"Param\xE8tre",autogenerate_estimate_number:"G\xE9n\xE9rer automatiquement le num\xE9ro de devis",estimate_setting_description:"D\xE9sactivez cette option si vous ne souhaitez pas g\xE9n\xE9rer automatiquement les num\xE9ros de devis \xE0 chaque fois que vous en cr\xE9ez un nouveau.",enter_estimate_prefix:"Entrez le pr\xE9fixe d'estimation",estimate_setting_updated:"Param\xE8tres de devis mis \xE0 jour",company_address_format:"Format d'adresse de l'entreprise",billing_address_format:"Format d'adresse de facturation",shipping_address_format:"Format d'adresse d'exp\xE9dition"},payments:{title:"Paiements",description:"Modes de transaction pour les paiements",payment_prefix:"Pr\xE9fixe",default_payment_email_body:"Corps de l'e-mail de paiement par d\xE9faut",payment_settings:"Param\xE8tres",autogenerate_payment_number:"G\xE9n\xE9rer automatiquement le num\xE9ro de paiement",payment_setting_description:"D\xE9sactivez cette option si vous ne souhaitez pas g\xE9n\xE9rer automatiquement les num\xE9ros de paiement \xE0 chaque fois que vous en cr\xE9ez un nouveau.",enter_payment_prefix:"Entrez le pr\xE9fixe de paiement",payment_setting_updated:"Les param\xE8tres de paiement ont bien \xE9t\xE9 mis \xE0 jour",payment_modes:"Moyens de paiement",add_payment_mode:"Ajouter un mode de paiement",edit_payment_mode:"Modifier le moyen de paiement",mode_name:"Nom",payment_mode_added:"Moyen de paiement ajout\xE9",payment_mode_updated:"Moyen de paiement mis \xE0 jour",payment_mode_confirm_delete:"\xCAtes-vous sur de supprimer ce moyen de paiement",already_in_use:"Ce moyen de paiement existe d\xE9j\xE0",deleted_message:"Moyen de paiement supprim\xE9 avec succ\xE8s",company_address_format:"Format d'adresse de l'entreprise",from_customer_address_format:"\xC0 partir du format d'adresse client"},items:{title:"Articles",units:"Unit\xE9s",add_item_unit:"Ajouter une unit\xE9",edit_item_unit:"Modifier l'unit\xE9 d'\xE9l\xE9ment",unit_name:"Nom",item_unit_added:"Unit\xE9 ajout\xE9e",item_unit_updated:"Unit\xE9 mis \xE0 jour",item_unit_confirm_delete:"\xCAtes-vous sur de supprimer cette unit\xE9 ?",already_in_use:"Cette unit\xE9 existe d\xE9j\xE0",deleted_message:"Unit\xE9 supprim\xE9e avec succ\xE8s"},notes:{title:"Remarques",description:"Gagnez du temps en cr\xE9ant des notes et en les r\xE9utilisant sur vos factures, devis et paiements.",notes:"Remarques",type:"Type\xA0",add_note:"Ajouter une note",add_new_note:"Ajouter une nouvelle note",name:"Nom",edit_note:"Modifier la note",note_added:"Note ajout\xE9e",note_updated:"Note mise \xE0 jour",note_confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer cette note",already_in_use:"La note est d\xE9j\xE0 utilis\xE9e",deleted_message:"Note supprim\xE9e avec succ\xE8s"}},account_settings:{profile_picture:"Image de profil",name:"Nom",email:"Email",password:"Mot de passe",confirm_password:"Confirmez le mot de passe",account_settings:"Param\xE8tres du compte",save:"Sauvegarder",section_description:"Vous pouvez mettre \xE0 jour votre nom, votre email et votre mot de passe en utilisant le formulaire ci-dessous.",updated_message:"Param\xE8tres du compte mis \xE0 jour avec succ\xE8s"},user_profile:{name:"Nom",email:"Email",password:"Mot de passe",confirm_password:"Confirmez le mot de passe"},notification:{title:"Notification",email:"Envoyer des notifications \xE0",description:"Quelles notifications par courrier \xE9lectronique souhaitez-vous recevoir lorsque quelque chose change?",invoice_viewed:"Facture consult\xE9e",invoice_viewed_desc:"Lorsque le client visualise la facture envoy\xE9e via le tableau de bord de Neptune.",estimate_viewed:"Devis consult\xE9",estimate_viewed_desc:"Lorsque le client visualise le devis envoy\xE9 via le tableau de bord de Neptune.",save:"Sauvegarder",email_save_message:"Email enregistr\xE9 avec succ\xE8s",please_enter_email:"Veuillez entrer un email"},tax_types:{title:"Types de taxe",add_tax:"Ajouter une taxe",edit_tax:"Modifier la taxe",description:"Vous pouvez ajouter ou supprimer des taxes \xE0 votre guise. Crater prend en charge les taxes sur les articles individuels ainsi que sur la facture.",add_new_tax:"Ajouter une nouvelle taxe",tax_settings:"Param\xE8tres de taxe",tax_per_item:"Taxe par article",tax_name:"Nom de la taxe",compound_tax:"Taxe compos\xE9e",percent:"Pourcentage",action:"action",tax_setting_description:"Activez cette option si vous souhaitez ajouter des taxes \xE0 des postes de facture individuels. Par d\xE9faut, les taxes sont ajout\xE9es directement \xE0 la facture.",created_message:"Type de taxe cr\xE9\xE9 avec succ\xE8s",updated_message:"Type de taxe mis \xE0 jour avec succ\xE8s",deleted_message:"Type de taxe supprim\xE9 avec succ\xE8s",confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer ce type de taxe",already_in_use:"La taxe est d\xE9j\xE0 utilis\xE9e"},expense_category:{title:"Cat\xE9gories de d\xE9penses",action:"action",description:"Des cat\xE9gories sont requises pour ajouter des entr\xE9es de d\xE9penses. Vous pouvez ajouter ou supprimer ces cat\xE9gories selon vos pr\xE9f\xE9rences.",add_new_category:"Ajouter une nouvelle cat\xE9gorie",add_category:"Ajouter une cat\xE9gorie",edit_category:"Modifier la cat\xE9gorie",category_name:"Nom de cat\xE9gorie",category_description:"Description",created_message:"Cat\xE9gorie de d\xE9penses cr\xE9\xE9e avec succ\xE8s",deleted_message:"La cat\xE9gorie de d\xE9penses a \xE9t\xE9 supprim\xE9e avec succ\xE8s",updated_message:"Cat\xE9gorie de d\xE9penses mise \xE0 jour avec succ\xE8s",confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer cette cat\xE9gorie de d\xE9penses",already_in_use:"La cat\xE9gorie est d\xE9j\xE0 utilis\xE9e"},preferences:{currency:"Devise",default_language:"Langue par d\xE9faut",time_zone:"Fuseau horaire",fiscal_year:"Exercice fiscal",date_format:"Format de date",discount_setting:"R\xE9glage de remise",discount_per_item:"Remise par article",discount_setting_description:"Activez cette option si vous souhaitez ajouter une remise \xE0 des postes de facture individuels. Par d\xE9faut, les remises sont ajout\xE9es directement \xE0 la facture.",save:"Sauvegarder",preference:"Pr\xE9f\xE9rence | Pr\xE9f\xE9rences",general_settings:"Pr\xE9f\xE9rences par d\xE9faut pour le syst\xE8me.",updated_message:"Pr\xE9f\xE9rences mises \xE0 jour avec succ\xE8s",select_language:"Choisir la langue",select_time_zone:"S\xE9lectionnez le fuseau horaire",select_date_format:"S\xE9lectionnez le format de date",select_financial_year:"s\xE9lectionner lexercice"},update_app:{title:"Mise \xE0 jour de l'application",description:"Vous pouvez facilement mettre \xE0 jour Crater en cliquant sur le bouton ci-dessous",check_update:"V\xE9rifier les mises \xE0 jour",avail_update:"Nouvelle mise \xE0 jour disponible",next_version:"Version suivante",requirements:"Sp\xE9cifications requises",update:"Mettre \xE0 jour maintenant",update_progress:"Mise \xE0 jour en cours...",progress_text:"Cela ne prendra que quelques minutes. Veuillez ne pas actualiser ou fermer la fen\xEAtre avant la fin de la mise \xE0 jour",update_success:"App a \xE9t\xE9 mis \xE0 jour ! Veuillez patienter pendant le rechargement automatique de la fen\xEAtre de votre navigateur.",latest_message:"Pas de mise a jour disponible ! Vous \xEAtes sur la derni\xE8re version.",current_version:"Version actuelle",download_zip_file:"T\xE9l\xE9charger le fichier ZIP",unzipping_package:"D\xE9zipper le package",copying_files:"Copie de fichiers en cours",running_migrations:"Migrations en cours",finishing_update:"Finalisation de la mise \xE0 jour",update_failed:"\xC9chec de la mise \xE0 jour",update_failed_text:"D\xE9sol\xE9 ! Votre mise \xE0 jour a \xE9chou\xE9 \xE0: {step} \xE9tape"},backup:{title:"Sauvegarde | Sauvegardes",description:"La sauvegarde est un fichier ZIP qui contient tous les fichiers des r\xE9pertoires que vous sp\xE9cifiez, ainsi qu'un export de la base de donn\xE9es",new_backup:"Ajouter une nouvelle sauvegarde",create_backup:"Cr\xE9er une sauvegarde",select_backup_type:"S\xE9lectionnez le type de sauvegarde",backup_confirm_delete:"Vous ne pourrez pas r\xE9cup\xE9rer cette sauvegarde",path:"chemin",new_disk:"Nouvel espace de stockage",created_at:"cr\xE9\xE9 \xE0",size:"taille",dropbox:"dropbox",local:"local",healthy:"en bonne sant\xE9",amount_of_backups:"nombre de sauvegardes",newest_backups:"derni\xE8res sauvegardes",used_storage:"Stockage utilis\xE9",select_disk:"S\xE9lectionnez l'espace de stockage",action:"action",deleted_message:"Sauvegarde supprim\xE9e avec succ\xE8s",created_message:"Sauvegarde cr\xE9\xE9e avec succ\xE8s",invalid_disk_credentials:"Informations d'identification invalides de l'espace de stockage"},disk:{title:"Espace de stockage | Espaces de stockage",description:"Par d\xE9faut, Crater utilisera votre disque local pour enregistrer les sauvegardes, l'avatar et d'autres fichiers image. Vous pouvez configurer plusieurs pilotes de disque comme DigitalOcean, S3 et Dropbox selon vos pr\xE9f\xE9rences.",created_at:"cr\xE9\xE9 \xE0",dropbox:"dropbox",name:"Nom",driver:"Pilote",disk_type:"Type\xA0",disk_name:"Nom",new_disk:"Ajouter un nouvel espace de stockage",filesystem_driver:"Pilote du syst\xE8me de fichiers",local_driver:"pilote local",local_root:"r\xE9pertoire local",public_driver:"Pilote public",public_root:"R\xE9pertoire public",public_url:"URL publique",public_visibility:"Visibilit\xE9 publique",media_driver:"Pilote multim\xE9dia",media_root:"R\xE9pertoire m\xE9dia",aws_driver:"Pilote AWS",aws_key:"AWS Key",aws_secret:"AWS Secret",aws_region:"R\xE9gion AWS",aws_bucket:"Bucket",aws_root:"R\xE9pertoire",do_spaces_type:"Type",do_spaces_key:"Key",do_spaces_secret:"Secret",do_spaces_region:"R\xE9gion",do_spaces_bucket:"Bucket",do_spaces_endpoint:"Endpoint",do_spaces_root:"R\xE9pertoire",dropbox_type:"Type",dropbox_token:"Token",dropbox_key:"Key",dropbox_secret:"Secret",dropbox_app:"Application",dropbox_root:"R\xE9pertoire",default_driver:"Fournisseur par d\xE9faut",is_default:"Par d\xE9faut",set_default_disk:"D\xE9finir l'espace par d\xE9faut",success_set_default_disk:"L'espace par d\xE9faut d\xE9fini avec succ\xE8s",save_pdf_to_disk:"Enregistrer les PDF sur le disque",disk_setting_description:"Activez cette option si vous souhaitez enregistrer automatiquement une copie de chaque facture, devis et re\xE7u de paiement PDF sur votre disque par d\xE9faut. L'activation de cette option r\xE9duira le temps de chargement lors de l'affichage des PDF.",select_disk:"S\xE9lectionnez le stockage",disk_settings:"Param\xE8tres de stockage",confirm_delete:"Vos fichiers et dossiers existants sur le disque sp\xE9cifi\xE9 ne seront pas affect\xE9s, mais la configuration de votre disque sera supprim\xE9e de Crater",action:"action",edit_file_disk:"Modifier le disque de fichiers",success_create:"Disque ajout\xE9 avec succ\xE8s",success_update:"Disque mis \xE0 jour avec succ\xE8s",error:"L'ajout de disque a \xE9chou\xE9",deleted_message:"Stockage supprim\xE9",disk_variables_save_successfully:"Stockage configur\xE9 avec succ\xE8s",disk_variables_save_error:"La configuration du stockage a \xE9chou\xE9.",invalid_disk_credentials:"Informations d'identification non valides du stockage s\xE9lectionn\xE9"}},pn={account_info:"Information du compte",account_info_desc:"Les d\xE9tails ci-dessous seront utilis\xE9s pour cr\xE9er le compte administrateur principal. Aussi, vous pouvez modifier les d\xE9tails \xE0 tout moment apr\xE8s la connexion.",name:"Nom",email:"Email",password:"Mot de passe",confirm_password:"Confirmez le mot de passe",save_cont:"Enregistrer et poursuivre",company_info:"Informations sur la soci\xE9t\xE9",company_info_desc:"Ces informations seront affich\xE9es sur les factures. Notez que vous pouvez \xE9diter ceci plus tard sur la page des param\xE8tres.",company_name:"Nom de l'entreprise",company_logo:"Logo de l'entreprise",logo_preview:"Aper\xE7u du logo",preferences:"Pr\xE9f\xE9rences",preferences_desc:"Pr\xE9f\xE9rences par d\xE9faut du syst\xE8me.",country:"Pays",state:"\xC9tat",city:"Ville",address:"Adresse",street:"Rue 1 | Rue 2",phone:"T\xE9l\xE9phone",zip_code:"Code postal",go_back:"Revenir",currency:"Devise",language:"Langue",time_zone:"Fuseau horaire",fiscal_year:"Exercice fiscal",date_format:"Format de date",from_address:"De l'adresse",username:"Nom d'utilisateur",next:"Suivant",continue:"Poursuivre",skip:"Ignorer",database:{database:"URL du site et base de donn\xE9es",connection:"Connexion \xE0 la base de donn\xE9es",host:"Serveur de la base de donn\xE9es",port:"Port de la base de donn\xE9es",password:"Mot de passe de la base de donn\xE9es",app_url:"Application URL",app_domain:"Nom de domaine",username:"Nom d'utilisateur de la base de donn\xE9es",db_name:"Nom de la base de donn\xE9es",db_path:"Emplacement de la base de donn\xE9es",desc:"Cr\xE9ez une base de donn\xE9es sur votre serveur et d\xE9finissez les informations d'identification \xE0 l'aide du formulaire ci-dessous."},permissions:{permissions:"Permissions",permission_confirm_title:"\xCAtes-vous certain de vouloir continuer ?",permission_confirm_desc:"La v\xE9rification des permissions du dossier a \xE9chou\xE9",permission_desc:"Vous trouverez ci-dessous la liste des permissions de dossier requises pour le fonctionnement de l'application. Si la v\xE9rification des permissions \xE9choue, veillez mettre \xE0 jour vos permissions de dossier."},mail:{host:"Serveur email",port:"Port",driver:"Fournisseur d'email",secret:"Secret",mailgun_secret:"Secret",mailgun_domain:"Nom de domaine",mailgun_endpoint:"Endpoint",ses_secret:"Secret",ses_key:"Key",password:"Mot de passe",username:"Nom d'utilisateur",mail_config:"Configuration des emails",from_name:"Nom de messagerie",from_mail:"Email de l'exp\xE9diteur",encryption:"Chiffrement des emails",mail_config_desc:"Les d\xE9tails ci-dessous seront utilis\xE9s pour mettre \xE0 jour le fournisseur de messagerie. Vous pourrez modifier ceux-ci \xE0 tout moment apr\xE8s la connexion."},req:{system_req:"Configuration requise",php_req_version:"Php (version {version} n\xE9cessaire)",check_req:"V\xE9rifier les pr\xE9requis",system_req_desc:"Crater a quelques pr\xE9requis. Assurez-vous que votre serveur dispose de la version Php requise et de toutes les extensions mentionn\xE9es ci-dessous."},errors:{migrate_failed:"\xC9chec de la migration",database_variables_save_error:"Impossible de cr\xE9er le fichier de configuration. Veuillez v\xE9rifier les permissions du r\xE9pertoire",mail_variables_save_error:"La configuration du courrier \xE9lectronique a \xE9chou\xE9.",connection_failed:"La connexion \xE0 la base de donn\xE9es a \xE9chou\xE9",database_should_be_empty:"La base de donn\xE9es devrait \xEAtre vide"},success:{mail_variables_save_successfully:"Email configur\xE9 avec succ\xE8s",database_variables_save_successfully:"Base de donn\xE9es configur\xE9e avec succ\xE8s."}},gn={invalid_phone:"Num\xE9ro de t\xE9l\xE9phone invalide",invalid_url:"URL invalide (ex: http://www.craterapp.com)",invalid_domain_url:"URL invalide (ex: craterapp.com)",required:"Champ requis",email_incorrect:"Adresse Email incorrecte.",email_already_taken:"Un compte est d\xE9j\xE0 associ\xE9 \xE0 cette adresse e-mail.",email_does_not_exist:"Cet utilisateur n'existe pas",item_unit_already_taken:"Cette unit\xE9 est d\xE9j\xE0 \xE9t\xE9 utilis\xE9e",payment_mode_already_taken:"Ce moyen de paiement est d\xE9j\xE0 utilis\xE9",send_reset_link:"Envoyer le lien de r\xE9initialisation",not_yet:"Pas encore re\xE7u ? R\xE9essayer",password_min_length:"Le mot de passe doit contenir {nombre} caract\xE8res",name_min_length:"Le nom doit avoir au moins {count} lettres.",enter_valid_tax_rate:"Entrez un taux de taxe valide",numbers_only:"Chiffres uniquement.",characters_only:"Caract\xE8res seulement.",password_incorrect:"Les mots de passe doivent \xEAtre identiques",password_length:"Le mot de passe doit comporter au moins {count} caract\xE8res.",qty_must_greater_than_zero:"La quantit\xE9 doit \xEAtre sup\xE9rieure \xE0 z\xE9ro.",price_greater_than_zero:"Le prix doit \xEAtre sup\xE9rieur \xE0 z\xE9ro.",payment_greater_than_zero:"Le paiement doit \xEAtre sup\xE9rieur \xE0 z\xE9ro.",payment_greater_than_due_amount:"Le paiement saisi est plus \xE9lev\xE9 que le montant d\xFB de cette facture.",quantity_maxlength:"La quantit\xE9 ne doit pas d\xE9passer 20 chiffres.",price_maxlength:"Le prix ne doit pas d\xE9passer 20 chiffres.",price_minvalue:"Le prix doit \xEAtre sup\xE9rieur \xE0 0.",amount_maxlength:"Le montant ne doit pas d\xE9passer 20 chiffres.",amount_minvalue:"Le montant doit \xEAtre sup\xE9rieur \xE0 0.",description_maxlength:"La description ne doit pas d\xE9passer 255 caract\xE8res.",subject_maxlength:"L'objet ne doit pas d\xE9passer 100 caract\xE8res.",message_maxlength:"Le message ne doit pas d\xE9passer 255 caract\xE8res.",maximum_options_error:"Maximum de {max} options s\xE9lectionn\xE9es. Commencez par supprimer une option s\xE9lectionn\xE9e pour en s\xE9lectionner une autre.",notes_maxlength:"Les notes ne doivent pas d\xE9passer 255 caract\xE8res.",address_maxlength:"L'adresse ne doit pas d\xE9passer 255 caract\xE8res.",ref_number_maxlength:"Le num\xE9ro de r\xE9f\xE9rence ne doit pas d\xE9passer 255 caract\xE8res.",prefix_maxlength:"Le pr\xE9fixe ne doit pas d\xE9passer 5 caract\xE8res.",something_went_wrong:"quelque chose a mal tourn\xE9"},fn="Devis",hn="N\xB0",vn="Date du devis",yn="Date d'expiration",bn="Facture",kn="Num\xE9ro de facture",wn="Date",xn="Date d\u2019\xE9ch\xE9ance",zn="Remarques",Sn="Articles",Pn="Quantit\xE9",jn="Prix",Dn="Remise",Cn="Montant",An="Sous-total",Nn="Total",En="Payment",Tn="Re\xE7u de paiement",In="Date de paiement",$n="N\xB0",Rn="Moyen de paiement",Fn="Montant re\xE7u",Mn="RAPPORT DE D\xC9PENSES",Bn="TOTAL DES D\xC9PENSES",Vn="RAPPORT DES B\xC9N\xC9FICES ET DES PERTES",On="Sales Customer Report",Ln="Sales Item Report",Un="Tax Summary Report",Kn="REVENU",qn="B\xC9N\xC9FICE NET",Wn="Rapport de ventes : par client",Zn="TOTAL DES VENTES",Hn="Rapport des ventes : par article",Gn="RAPPORT DES TAXES",Yn="TOTAL DES TAXES",Jn="Types de taxe",Xn="D\xE9penses",Qn="facturer,",ei="Envoyer \xE0,",ti="Re\xE7u de :",ai="Tax";var si={navigation:Xs,general:Qs,dashboard:en,tax_types:tn,global_search:an,customers:sn,items:nn,estimates:on,invoices:rn,payments:dn,expenses:ln,login:cn,users:_n,reports:un,settings:mn,wizard:pn,validation:gn,pdf_estimate_label:fn,pdf_estimate_number:hn,pdf_estimate_date:vn,pdf_estimate_expire_date:yn,pdf_invoice_label:bn,pdf_invoice_number:kn,pdf_invoice_date:wn,pdf_invoice_due_date:xn,pdf_notes:zn,pdf_items_label:Sn,pdf_quantity_label:Pn,pdf_price_label:jn,pdf_discount_label:Dn,pdf_amount_label:Cn,pdf_subtotal:An,pdf_total:Nn,pdf_payment_label:En,pdf_payment_receipt_label:Tn,pdf_payment_date:In,pdf_payment_number:$n,pdf_payment_mode:Rn,pdf_payment_amount_received_label:Fn,pdf_expense_report_label:Mn,pdf_total_expenses_label:Bn,pdf_profit_loss_label:Vn,pdf_sales_customers_label:On,pdf_sales_items_label:Ln,pdf_tax_summery_label:Un,pdf_income_label:Kn,pdf_net_profit_label:qn,pdf_customer_sales_report:Wn,pdf_total_sales_label:Zn,pdf_item_sales_label:Hn,pdf_tax_report_label:Gn,pdf_total_tax_label:Yn,pdf_tax_types_label:Jn,pdf_expenses_label:Xn,pdf_bill_to:Qn,pdf_ship_to:ei,pdf_received_from:ti,pdf_tax_label:ai};const ni={dashboard:"Tablero",customers:"Clientes",items:"Art\xEDculos",invoices:"Facturas",expenses:"Gastos",estimates:"Presupuestos",payments:"Pagos",reports:"Informes",settings:"Configuraciones",logout:"Cerrar sesi\xF3n",users:"Usuarios"},ii={add_company:"A\xF1adir empresa",view_pdf:"Ver PDF",copy_pdf_url:"Copiar direcci\xF3n URL del archivo PDF",download_pdf:"Descargar PDF",save:"Guardar",create:"Crear",cancel:"Cancelar",update:"Actualizar",deselect:"Deseleccionar",download:"Descargar",from_date:"Desde la fecha",to_date:"Hasta la fecha",from:"De",to:"A",sort_by:"Ordenar por",ascending:"Ascendente",descending:"Descendente",subject:"Sujeta",body:"Cuerpo",message:"Mensaje",send:"Enviar",go_back:"Volver",back_to_login:"\xBFVolver al inicio de sesi\xF3n?",home:"Inicio",filter:"Filtrar",delete:"Eliminar",edit:"Editar",view:"Ver",add_new_item:"Agregar \xEDtem nuevo",clear_all:"Limpiar todo",showing:"Mostrando",of:"de",actions:"Acciones",subtotal:"SUBTOTAL",discount:"DESCUENTO",fixed:"Fijo",percentage:"Porcentaje",tax:"IMPUESTO",total_amount:"CANTIDAD TOTAL",bill_to:"Cobrar a",ship_to:"Enviar a",due:"Debido",draft:"Borrador",sent:"Enviado",all:"Todas",select_all:"Seleccionar todo",choose_file:"Haga clic aqu\xED para elegir un archivo",choose_template:"Elige una plantilla",choose:"Escoger",remove:"Eliminar",powered_by:"Impulsado por",bytefury:"Bytefury",select_a_status:"Selecciona un estado",select_a_tax:"Selecciona un impuesto",search:"Buscar",are_you_sure:"\xBFEst\xE1s seguro?",list_is_empty:"La lista esta vac\xEDa.",no_tax_found:"\xA1No se encontraron impuestos!",four_zero_four:"404",you_got_lost:"Whoops! \xA1Te perdiste!",go_home:"Volver al Inicio",test_mail_conf:"Probar configuraci\xF3n de correo",send_mail_successfully:"El correo enviado con \xE9xito",setting_updated:"Configuraci\xF3n actualizada con \xE9xito",select_state:"Seleccionar estado",select_country:"Seleccionar pa\xEDs",select_city:"Seleccionar ciudad",street_1:"Calle 1",street_2:"Calle 2",action_failed:"Accion Fallida",retry:"Procesar de nuevo",choose_note:"Elegir nota",no_note_found:"No se encontr\xF3 ninguna nota",insert_note:"Insertar una nota"},oi={select_year:"Seleccionar a\xF1o",cards:{due_amount:"Cantidad Debida",customers:"Clientes",invoices:"Facturas",estimates:"Presupuestos"},chart_info:{total_sales:"Ventas",total_receipts:"Ingresos",total_expense:"Gastos",net_income:"Ingresos netos",year:"Seleccione a\xF1o"},monthly_chart:{title:"Gastos de venta"},recent_invoices_card:{title:"Facturas adeudadas",due_on:"Debido a",customer:"Cliente",amount_due:"Cantidad Debida",actions:"Acciones",view_all:"Ver todo"},recent_estimate_card:{title:"Presupuestos recientes",date:"Fecha",customer:"Cliente",amount_due:"Cantidad Debida",actions:"Acciones",view_all:"Ver todo"}},ri={name:"Nombre",description:"Descripci\xF3n",percent:"Por ciento",compound_tax:"Impuesto compuesto"},di={search:"Buscar...",customers:"Clientes",users:"Usuarios",no_results_found:"No se encontraron resultados"},li={title:"Clientes",add_customer:"Agregar cliente",contacts_list:"Lista de clientes",name:"Nombre",mail:"Correo | Correos",statement:"Declaraci\xF3n",display_name:"Nombre para mostrar",primary_contact_name:"Nombre de contacto primario",contact_name:"Nombre de contacto",amount_due:"Cantidad Debida",email:"Correo electr\xF3nico",address:"Direcci\xF3n",phone:"Tel\xE9fono",website:"Sitio web",overview:"Descripci\xF3n general",enable_portal:"Habilitar Portal",country:"Pa\xEDs",state:"Estado",city:"Ciudad",zip_code:"C\xF3digo postal",added_on:"A\xF1adido el",action:"Acci\xF3n",password:"Contrase\xF1a",street_number:"N\xFAmero de calle",primary_currency:"Moneda primaria",description:"Descripci\xF3n",add_new_customer:"Agregar nuevo cliente",save_customer:"Guardar cliente",update_customer:"Actualizar cliente",customer:"Cliente | Clientes",new_customer:"Nuevo cliente",edit_customer:"Editar cliente",basic_info:"Informaci\xF3n b\xE1sica",billing_address:"Direcci\xF3n de Facturaci\xF3n",shipping_address:"Direcci\xF3n de Env\xEDo",copy_billing_address:"Copia de facturaci\xF3n",no_customers:"\xA1A\xFAn no hay clientes!",no_customers_found:"\xA1No se encontraron clientes!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"Esta secci\xF3n contendr\xE1 la lista de clientes.",primary_display_name:"Nombre de visualizaci\xF3n principal",select_currency:"Seleccione el tipo de moneda",select_a_customer:"Selecciona un cliente",type_or_click:"Escriba o haga clic para seleccionar",new_transaction:"Nueva transacci\xF3n",no_matching_customers:"\xA1No hay clientes coincidentes!",phone_number:"N\xFAmero de tel\xE9fono",create_date:"Fecha de Creaci\xF3n",confirm_delete:"No podr\xE1 recuperar este cliente y todas las facturas, estimaciones y pagos relacionados. | No podr\xE1 recuperar estos clientes y todas las facturas, estimaciones y pagos relacionados.",created_message:"Cliente creado con \xE9xito",updated_message:"Cliente actualizado con \xE9xito",deleted_message:"Cliente eliminado correctamente | Clientes eliminados exitosamente"},ci={title:"Art\xEDculos",items_list:"Lista de art\xEDculos",name:"Nombre",unit:"Unidad",description:"Descripci\xF3n",added_on:"A\xF1adido",price:"Precio",date_of_creation:"Fecha de creaci\xF3n",not_selected:"No item selected",action:"Acci\xF3n",add_item:"A\xF1adir art\xEDculo",save_item:"Guardar art\xEDculo",update_item:"Actualizar elemento",item:"Art\xEDculo | Art\xEDculos",add_new_item:"Agregar \xEDtem nuevo",new_item:"Nuevo art\xEDculo",edit_item:"Editar elemento",no_items:"\xA1A\xFAn no hay art\xEDculos!",list_of_items:"Esta secci\xF3n contendr\xE1 la lista de art\xEDculos.",select_a_unit:"seleccionar unidad",taxes:"Impuestos",item_attached_message:"No se puede eliminar un elemento que ya est\xE1 en uso.",confirm_delete:"No podr\xE1 recuperar este art\xEDculo | No podr\xE1s recuperar estos elementos",created_message:"Art\xEDculo creado con \xE9xito",updated_message:"Art\xEDculo actualizado con \xE9xito",deleted_message:"Elemento eliminado con \xE9xito | Elementos eliminados correctamente"},_i={title:"Presupuestos",estimate:"Presupuesto | Presupuestos",estimates_list:"Lista de presupuestos",days:"d\xEDas D\xEDas",months:"meses Mes",years:"a\xF1os A\xF1o",all:"Todas",paid:"Pagada",unpaid:"No pagado",customer:"CLIENTE",ref_no:"N\xDAMERO DE REFERENCIA.",number:"N\xDAMERO",amount_due:"CANTIDAD DEBIDA",partially_paid:"Parcialmente pagado",total:"Total",discount:"Descuento",sub_total:"Subtotal",estimate_number:"N\xFAmero de Presupuesto",ref_number:"N\xFAmero de referencia",contact:"Contacto",add_item:"Agregar un art\xEDculo",date:"Fecha",due_date:"Fecha de vencimiento",expiry_date:"Fecha de caducidad",status:"Estado",add_tax:"Agregar impuesto",amount:"Cantidad",action:"Acci\xF3n",notes:"Notas",tax:"Impuesto",estimate_template:"Plantilla de presupuesto",convert_to_invoice:"Convertir a factura",mark_as_sent:"Marcar como enviado",send_estimate:"Enviar presupuesto",resend_estimate:"Reenviar estimado",record_payment:"Registro de pago",add_estimate:"Agregar presupuesto",save_estimate:"Guardar presupuesto",confirm_conversion:"\xBFQuiere convertir este presupuesto en una factura?",conversion_message:"Conversi\xF3n exitosa",confirm_send_estimate:"Este presupuesto se enviar\xE1 por correo electr\xF3nico al cliente",confirm_mark_as_sent:"Este presupuesto se marcar\xE1 como enviado",confirm_mark_as_accepted:"Este presupuesto se marcar\xE1 como Aceptado",confirm_mark_as_rejected:"Este presupuesto se marcar\xE1 como Rechazado",no_matching_estimates:"\xA1No hay presupuestos coincidentes!",mark_as_sent_successfully:"Presupuesto marcado como enviado correctamente",send_estimate_successfully:"Presupuesto enviado con \xE9xito",errors:{required:"Se requiere campo"},accepted:"Aceptado",rejected:"Rejected",sent:"Enviado",draft:"Borrador",declined:"Rechazado",new_estimate:"Nuevo presupuesto",add_new_estimate:"A\xF1adir nuevo presupuesto",update_Estimate:"Actualizar presupuesto",edit_estimate:"Editar presupuesto",items:"art\xEDculos",Estimate:"Presupuestos | Presupuestos",add_new_tax:"Agregar nuevo impuesto",no_estimates:"\xA1A\xFAn no hay presupuestos!",list_of_estimates:"Esta secci\xF3n contendr\xE1 la lista de presupuestos.",mark_as_rejected:"Marcar como rechazado",mark_as_accepted:"Marcar como aceptado",marked_as_accepted_message:"Presupuesto marcado como aceptado",marked_as_rejected_message:"Presupuesto marcado como rechazado",confirm_delete:"No podr\xE1 recuperar este presupuesto | No podr\xE1 recuperar estos presupuestos",created_message:"Presupuesto creada con \xE9xito",updated_message:"Presupuesto actualizada con \xE9xito",deleted_message:"Presupuesto eliminada con \xE9xito | Presupuestos eliminadas exitosamente",something_went_wrong:"Algo fue mal",item:{title:"T\xEDtulo del art\xEDculo",description:"Descripci\xF3n",quantity:"Cantidad",price:"Precio",discount:"Descuento",total:"Total",total_discount:"Descuento total",sub_total:"Subtotal",tax:"Impuesto",amount:"Cantidad",select_an_item:"Escriba o haga clic para seleccionar un elemento",type_item_description:"Descripci\xF3n del tipo de elemento(opcional)"}},ui={title:"Facturas",invoices_list:"Lista de facturas",days:"d\xEDas D\xEDas",months:"meses Mes",years:"a\xF1os A\xF1o",all:"Todas",paid:"Pagada",unpaid:"No pagado",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"CLIENTE",paid_status:"ESTADO PAGADO",ref_no:"N\xDAMERO DE REFERENCIA.",number:"N\xDAMERO",amount_due:"CANTIDAD DEBIDA",partially_paid:"Parcialmente pagado",total:"Total",discount:"Descuento",sub_total:"Subtotal",invoice:"Factura | Facturas",invoice_number:"Numero de factura",ref_number:"N\xFAmero de referencia",contact:"Contacto",add_item:"Agregar un art\xEDculo",date:"Fecha",due_date:"Fecha de vencimiento",status:"Estado",add_tax:"Agregar impuesto",amount:"Cantidad",action:"Acci\xF3n",notes:"Notas",view:"Ver",send_invoice:"Enviar la factura",resend_invoice:"Reenviar factura",invoice_template:"Plantilla de factura",template:"Modelo",mark_as_sent:"Marcar como enviada",confirm_send_invoice:"Esta factura ser\xE1 enviada por email al cliente",invoice_mark_as_sent:"Esta factura se marcar\xE1 como enviada",confirm_send:"Estas facturas se enviar\xE1n por correo electr\xF3nico al cliente.",invoice_date:"Fecha de la factura",record_payment:"Registro de pago",add_new_invoice:"A\xF1adir nueva factura",update_expense:"Actualizar gasto",edit_invoice:"Editar factura",new_invoice:"Nueva factura",save_invoice:"Guardar factura",update_invoice:"Actualizar factura",add_new_tax:"Agregar nuevo impuesto",no_invoices:"\xA1A\xFAn no hay facturas!",list_of_invoices:"Esta secci\xF3n contendr\xE1 la lista de facturas.",select_invoice:"Seleccionar factura",no_matching_invoices:"\xA1No hay facturas coincidentes con la selecci\xF3n!",mark_as_sent_successfully:"Factura marcada como enviada con \xE9xito",invoice_sent_successfully:"Factura enviada exitosamente",cloned_successfully:"Factura clonada exitosamente",clone_invoice:"Factura de clonaci\xF3n",confirm_clone:"Esta factura se clonar\xE1 en una nueva factura.",item:{title:"T\xEDtulo del art\xEDculo",description:"Descripci\xF3n",quantity:"Cantidad",price:"Precio",discount:"Descuento",total:"Total",total_discount:"Descuento total",sub_total:"Subtotal",tax:"Impuesto",amount:"Cantidad",select_an_item:"Escriba o haga clic para seleccionar un elemento",type_item_description:"Descripci\xF3n del tipo de elemento (opcional)"},confirm_delete:"No podr\xE1 recuperar esta factura | No podr\xE1 recuperar estas facturas",created_message:"Factura creada exitosamente",updated_message:"Factura actualizada exitosamente",deleted_message:"Factura eliminada con \xE9xito | Facturas borradas exitosamente",marked_as_sent_message:"Factura marcada como enviada con \xE9xito",something_went_wrong:"Algo fue mal",invalid_due_amount_message:"El pago ingresado es mayor que la cantidad total debida por esta factura. Por favor verificalo y vuelve a intentarlo"},mi={title:"Pagos",payments_list:"Lista de pagos",record_payment:"Registro de pago",customer:"Cliente",date:"Fecha",amount:"Cantidad",action:"Acci\xF3n",payment_number:"Numero de pago",payment_mode:"Modo de pago",invoice:"Factura",note:"Nota",add_payment:"Agregar pago",new_payment:"Nuevo pago",edit_payment:"Editar pago",view_payment:"Ver pago",add_new_payment:"Agregar nuevo pago",send_payment_receipt:"Enviar recibo de pago",send_payment:"Enviar pago",save_payment:"Guardar pago",update_payment:"Actualizar pago",payment:"Pago | Pagos",no_payments:"\xA1A\xFAn no hay pagos!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"\xA1No hay pagos equivalentes!",list_of_payments:"Esta secci\xF3n contendr\xE1 la lista de pagos.",select_payment_mode:"Seleccionar modo de pago",confirm_mark_as_sent:"Este presupuesto se marcar\xE1 como enviado",confirm_send_payment:"Este pago se enviar\xE1 por correo electr\xF3nico al cliente",send_payment_successfully:"Pago enviado correctamente",something_went_wrong:"Algo fue mal",confirm_delete:"No podr\xE1 recuperar este pago | No podr\xE1 recuperar estos pagos",created_message:"Pago creado con \xE9xito",updated_message:"Pago actualizado con \xE9xito",deleted_message:"Pago eliminado con \xE9xito | Pagos eliminados exitosamente",invalid_amount_message:"El importe del pago no es v\xE1lido."},pi={title:"Gastos",expenses_list:"Lista de gastos",select_a_customer:"Selecciona un cliente",expense_title:"T\xEDtulo",customer:"Cliente",contact:"Contacto",category:"Categor\xEDa",from_date:"Desde la fecha",to_date:"Hasta la fecha",expense_date:"Fecha",description:"Descripci\xF3n",receipt:"Recibo",amount:"Cantidad",action:"Acci\xF3n",not_selected:"Not selected",note:"Nota",category_id:"Categoria ID",date:"Fecha de gastos",add_expense:"A\xF1adir gastos",add_new_expense:"A\xF1adir nuevo gasto",save_expense:"Guardar gasto",update_expense:"Actualizar gasto",download_receipt:"Descargar recibo",edit_expense:"Editar gasto",new_expense:"Nuevo gasto",expense:"Gastos | Gastos",no_expenses:"\xA1No hay gastos todav\xEDa!",list_of_expenses:"Esta secci\xF3n contendr\xE1 la lista de gastos.",confirm_delete:"No podr\xE1 recuperar este gasto | No podr\xE1 recuperar estos gastos",created_message:"Gastos creados exitosamente",updated_message:"Gastos actualizados con \xE9xito",deleted_message:"Gastos eliminados con \xE9xito | Gastos eliminados exitosamente",categories:{categories_list:"Lista de categor\xEDas",title:"T\xEDtulo",name:"Nombre",description:"Descripci\xF3n",amount:"Cantidad",actions:"Comportamiento",add_category:"a\xF1adir categor\xEDa",new_category:"Nueva categor\xEDa",category:"Categor\xEDa | Categorias",select_a_category:"Seleccione una categor\xEDa"}},gi={email:"Correo electr\xF3nico",password:"Contrase\xF1a",forgot_password:"\xBFOlvidaste tu contrase\xF1a?",or_signIn_with:"o Inicia sesi\xF3n con",login:"Iniciar sesi\xF3n",register:"Registro",reset_password:"Restablecer la contrase\xF1a",password_reset_successfully:"Contrase\xF1a reestablecida con \xE9xito",enter_email:"Escriba el correo electr\xF3nico",enter_password:"Escriba la contrase\xF1a",retype_password:"Reescriba la contrase\xF1a"},fi={title:"Usuarios",users_list:"Lista de usuarios",name:"Nombre",description:"Descripci\xF3n",added_on:"A\xF1adido",date_of_creation:"Fecha de creaci\xF3n",action:"Acci\xF3n",add_user:"Agregar usuario",save_user:"Guardar usuario",update_user:"Actualizar usuario",user:"Usuario | Usuarios",add_new_user:"Agregar Nuevo Usuario",new_user:"Nuevo usuario",edit_user:"Editar usuario",no_users:"\xA1A\xFAn no hay usuarios!",list_of_users:"Esta secci\xF3n contendr\xE1 la lista de usuarios.",email:"Correo",phone:"Tel\xE9fono",password:"Contrase\xF1a",user_attached_message:"No se puede eliminar un elemento que ya est\xE1 en uso.",confirm_delete:"No podr\xE1 recuperar este Usuario | No podr\xE1 recuperar estos Usuarios",created_message:"Usuario creado satisfactoriamente",updated_message:"Usuario actualizado satisfactoriamente",deleted_message:"Usuario eliminado exitosamente | Usuario eliminado correctamente"},hi={title:"Informe",from_date:"A partir de la fecha",to_date:"Hasta la fecha",status:"Estado",paid:"Pagada",unpaid:"No pagado",download_pdf:"Descargar PDF",view_pdf:"Ver PDF",update_report:"Informe de actualizaci\xF3n",report:"Informe | Informes",profit_loss:{profit_loss:"P\xE9rdida de beneficios",to_date:"Hasta la fecha",from_date:"A partir de la fecha",date_range:"Seleccionar rango de fechas"},sales:{sales:"Ventas",date_range:"Seleccionar rango de fechas",to_date:"Hasta la fecha",from_date:"A partir de la fecha",report_type:"Tipo de informe"},taxes:{taxes:"Impuestos",to_date:"Hasta la fecha",from_date:"A partir de la fecha",date_range:"Seleccionar rango de fechas"},errors:{required:"Se requiere campo"},invoices:{invoice:"Factura",invoice_date:"Fecha de la factura",due_date:"Fecha de vencimiento",amount:"Cantidad",contact_name:"Nombre de contacto",status:"Estado"},estimates:{estimate:"Presupuestar",estimate_date:"Fecha presupuesto",due_date:"Fecha de vencimiento",estimate_number:"N\xFAmero de Presupuesto",ref_number:"N\xFAmero de referencia",amount:"Cantidad",contact_name:"Nombre de contacto",status:"Estado"},expenses:{expenses:"Gastos",category:"Categor\xEDa",date:"Fecha",amount:"Cantidad",to_date:"Hasta la fecha",from_date:"A partir de la fecha",date_range:"Seleccionar rango de fechas"}},vi={menu_title:{account_settings:"Configuraciones de la cuenta",company_information:"Informaci\xF3n de la empresa",customization:"Personalizaci\xF3n",preferences:"Preferencias",notifications:"Notificaciones",tax_types:"Tipos de impuestos",expense_category:"Categor\xEDas de gastos",update_app:"Actualizar aplicaci\xF3n",backup:"Copias de seguridad",file_disk:"Disco de archivo",custom_fields:"Campos Personalizados",payment_modes:"Modos de pago",notes:"Notas"},title:"Configuraciones",setting:"Configuraciones | Configuraciones",general:"General",language:"Idioma",primary_currency:"Moneda primaria",timezone:"Zona horaria",date_format:"Formato de fecha",currencies:{title:"Monedas",currency:"Moneda | Monedas",currencies_list:"Lista de monedas",select_currency:"Seleccione el tipo de moneda",name:"Nombre",code:"C\xF3digo",symbol:"S\xEDmbolo",precision:"Precisi\xF3n",thousand_separator:"Separador de miles",decimal_separator:"Separador decimal",position:"Posici\xF3n",position_of_symbol:"Posici\xF3n del s\xEDmbolo",right:"Derecho",left:"Izquierda",action:"Acci\xF3n",add_currency:"Agregar moneda"},mail:{host:"Host de correo",port:"Puerto de correo",driver:"Conductor de correo",secret:"Secreto",mailgun_secret:"Mailgun Secreto",mailgun_domain:"Domino",mailgun_endpoint:"Mailgun endpoint",ses_secret:"Secreto SES",ses_key:"Clave SES",password:"Contrase\xF1a de correo",username:"Nombre de usuario de correo",mail_config:"Configuraci\xF3n de correo",from_name:"Del nombre del correo",from_mail:"Desde la direcci\xF3n de correo",encryption:"Cifrado de correo",mail_config_desc:"Los detalles a continuaci\xF3n se utilizar\xE1n para actualizar el entorno de correo. Tambi\xE9n puede cambiar los detalles en cualquier momento despu\xE9s de iniciar sesi\xF3n."},pdf:{title:"Configuraci\xF3n de PDF",footer_text:"Texto de pie de p\xE1gina",pdf_layout:"Dise\xF1o PDF"},company_info:{company_info:"Informaci\xF3n de la compa\xF1\xEDa",company_name:"Nombre de Empresa",company_logo:"Logo de la compa\xF1\xEDa",section_description:"Informaci\xF3n sobre su empresa que se mostrar\xE1 en las facturas, presupuestos y otros documentos creados por Crater.",phone:"Tel\xE9fono",country:"Pa\xEDs",state:"Estado",city:"Ciudad",address:"Direcci\xF3n",zip:"C\xF3digo Postal",save:"Guardar",updated_message:"Informaci\xF3n de la empresa actualizada con \xE9xito"},custom_fields:{title:"Campos Personalizados",section_description:"Personalice sus facturas, estimaciones y recibos de pago en sus propios campos. Aseg\xFArese de usar los siguientes campos a\xF1adidos en los formatos de direcci\xF3n de la p\xE1gina de configuraci\xF3n de personalizaci\xF3n.",add_custom_field:"Agregar campo personalizado",edit_custom_field:"Editar campo personalizado",field_name:"Nombre del campo",label:"Etiqueta",type:"Tipo",name:"Nombre",required:"Necesaria",placeholder:"Marcador de posici\xF3n",help_text:"texto de ayuda",default_value:"Valor por defecto",prefix:"Prefijo",starting_number:"N\xFAmero inicial",model:"Modelo",help_text_description:"Ingrese un texto para ayudar a los usuarios a comprender el prop\xF3sito de este campo personalizado.",suffix:"Sufijo",yes:"si",no:"No",order:"Orden",custom_field_confirm_delete:"No podr\xE1 recuperar este campo personalizado",already_in_use:"El campo personalizado ya est\xE1 en uso",deleted_message:"Campo personalizado eliminado correctamente",options:"opciones",add_option:"Agregar opciones",add_another_option:"Agregar otra opci\xF3n",sort_in_alphabetical_order:"Ordenar en orden alfab\xE9tico",add_options_in_bulk:"Agregar opciones a granel",use_predefined_options:"Usar opciones predefinidas",select_custom_date:"Seleccionar fecha personalizada",select_relative_date:"Seleccionar fecha relativa",ticked_by_default:"Marcada por defecto",updated_message:"Campo personalizado actualizado correctamente",added_message:"Campo personalizado agregado correctamente"},customization:{customization:"Personalizaci\xF3n",save:"Guardar",addresses:{title:"Direcciones",section_description:"Puede configurar la Direcci\xF3n de facturaci\xF3n del cliente y el Formato de direcci\xF3n de env\xEDo del cliente (solo se muestra en PDF).",customer_billing_address:"Direcci\xF3n de facturaci\xF3n del cliente",customer_shipping_address:"Direcci\xF3n de env\xEDo del cliente",company_address:"Direcci\xF3n de la compa\xF1ia",insert_fields:"Insertar campos",contact:"Contacto",address:"Direcci\xF3n",display_name:"Nombre para mostrar",primary_contact_name:"Nombre de contacto principal",email:"Correo electr\xF3nico",website:"Sitio web",name:"Nombre",country:"Pa\xEDs",state:"Estado",city:"Ciudad",company_name:"Nombre de la compa\xF1ia",address_street_1:"Direcci\xF3n de la calle 1",address_street_2:"Direcci\xF3n de la calle 2",phone:"Telefono",zip_code:"Codigo postal",address_setting_updated:"Configuraci\xF3n de direcci\xF3n actualizada correctamente"},updated_message:"Informaci\xF3n de la empresa actualizada con \xE9xito",invoices:{title:"Facturas",notes:"Notas",invoice_prefix:"Prefijo de las facturas",default_invoice_email_body:"Cuerpo predeterminado del correo electr\xF3nico de la factura",invoice_settings:"Ajustes de facturas",autogenerate_invoice_number:"Autogenerar n\xFAmero de factura",autogenerate_invoice_number_desc:"Desactive esto, si no desea generar autom\xE1ticamente n\xFAmeros de factura cada vez que cree una nueva factura.",enter_invoice_prefix:"Introduzca el prefijo de factura",terms_and_conditions:"T\xE9rminos y Condiciones",company_address_format:"Formato de direcci\xF3n de la empresa",shipping_address_format:"Formato de la direcci\xF3n de env\xEDo",billing_address_format:"Formato de direcci\xF3n de facturaci\xF3n",invoice_settings_updated:"Configuraci\xF3n de factura actualizada correctamente"},estimates:{title:"Estimaciones",estimate_prefix:"Prefijo de los presupuestos",default_estimate_email_body:"Cuerpo predeterminado estimado del correo electr\xF3nico",estimate_settings:"Ajustes de presupuestos",autogenerate_estimate_number:"Autogenerar n\xFAmero de presupuesto",estimate_setting_description:"Desactive esto, si no desea generar autom\xE1ticamente n\xFAmeros de presupuesto cada vez que cree un nuevo presupuesto.",enter_estimate_prefix:"Introduzca el prefijo de presupuesto",estimate_setting_updated:"Configuraci\xF3n de presupuestos actualizada correctamente",company_address_format:"Formato de direcci\xF3n de la empresa",billing_address_format:"Formato de la direcci\xF3n de facturaci\xF3n",shipping_address_format:"Formato de direcci\xF3n de env\xEDo"},payments:{title:"Pagos",description:"Modos de transacci\xF3n de pagos",payment_prefix:"Prefijo de los pagos",default_payment_email_body:"Cuerpo predeterminado del correo electr\xF3nico del pago",payment_settings:"Ajustes de pagos",autogenerate_payment_number:"Autogenerar n\xFAmero de pago",payment_setting_description:"Desactive esto, si no desea generar autom\xE1ticamente n\xFAmeros de pago cada vez que cree un nuevo pago.",enter_payment_prefix:"Introduzca el prefijo de pago",payment_setting_updated:"Configuraci\xF3n de pagos actualizada correctamente",payment_modes:"Modos de pago",add_payment_mode:"Agregar modo de pago",edit_payment_mode:"Editar modo de pago",mode_name:"Nombre del modo",payment_mode_added:"Modo de pago agregado",payment_mode_updated:"Modo de pago actualizado",payment_mode_confirm_delete:"No podr\xE1 recuperar este modo de pago",already_in_use:"El modo de pago ya est\xE1 en uso",deleted_message:"Modo de pago eliminado correctamente",company_address_format:"Formato de direcci\xF3n de la empresa",from_customer_address_format:"Desde el formato de direcci\xF3n del cliente"},items:{title:"Art\xEDculos",units:"unidades",add_item_unit:"Agregar unidad de art\xEDculo",edit_item_unit:"Editar unidad de art\xEDculo",unit_name:"Nombre de la unidad",item_unit_added:"Unidad de art\xEDculo agregada",item_unit_updated:"Unidad de art\xEDculo actualizada",item_unit_confirm_delete:"No podr\xE1s recuperar esta unidad de art\xEDculo",already_in_use:"Unidad de art\xEDculo ya est\xE1 en uso",deleted_message:"Unidad de elemento eliminada correctamente"},notes:{title:"Notas",description:"Ahorre tiempo creando notas y reutiliz\xE1ndolas en sus facturas, c\xE1lculos y pagos.",notes:"Notas",type:"Tipo",add_note:"Agregar nota",add_new_note:"Agregar nueva nota",name:"Nombre",edit_note:"Editar nota",note_added:"Nota agregada correctamente",note_updated:"Nota actualizada correctamente",note_confirm_delete:"No podr\xE1 recuperar esta nota",already_in_use:"Nota ya est\xE1 en uso",deleted_message:"Nota eliminada correctamente"}},account_settings:{profile_picture:"Foto de perfil",name:"Nombre",email:"Correo electr\xF3nico",password:"Contrase\xF1a",confirm_password:"Confirmar contrase\xF1a",account_settings:"Configuraciones de la cuenta",save:"Guardar",section_description:"Puede actualizar su nombre, correo electr\xF3nico y contrase\xF1a utilizando el siguiente formulario.",updated_message:"Configuraci\xF3n de la cuenta actualizada correctamente"},user_profile:{name:"Nombre",email:"Correo electr\xF3nico",password:"Contrase\xF1a",confirm_password:"Confirmar contrase\xF1a"},notification:{title:"Notificaci\xF3n",email:"Enviar notificaciones a",description:"\xBFQu\xE9 notificaciones por correo electr\xF3nico le gustar\xEDa recibir cuando algo cambia?",invoice_viewed:"Factura vista",invoice_viewed_desc:"Cuando su cliente vio la factura enviada a trav\xE9s del panel de control de Crater.",estimate_viewed:"Presupuesto visto",estimate_viewed_desc:"Cuando su cliente vio el presupuesto enviado a trav\xE9s del panel de control de Crater.",save:"Guardar",email_save_message:"Correo electr\xF3nico guardado con \xE9xito",please_enter_email:"Por favor, introduzca su correo electr\xF3nico"},tax_types:{title:"Tipos de impuestos",add_tax:"Agregar impuesto",edit_tax:"Editar impuesto",description:"Puede agregar o eliminar impuestos a su gusto. Crater admite impuestos sobre art\xEDculos individuales, as\xED como sobre la factura.",add_new_tax:"Agregar nuevo impuesto",tax_settings:"Configuraciones de impuestos",tax_per_item:"Impuesto por art\xEDculo",tax_name:"Nombre del impuesto",compound_tax:"Impuesto compuesto",percent:"Porcentaje",action:"Acci\xF3n",tax_setting_description:"Habil\xEDtelo si desea agregar impuestos a art\xEDculos de factura de forma individual. Por defecto, los impuestos se agregan directamente a la factura.",created_message:"Tipo de impuesto creado con \xE9xito",updated_message:"Tipo de impuesto actualizado correctamente",deleted_message:"Tipo de impuesto eliminado correctamente",confirm_delete:"No podr\xE1 recuperar este tipo de impuesto",already_in_use:"El impuesto ya est\xE1 en uso."},expense_category:{title:"Categor\xEDas de gastos",action:"Acci\xF3n",description:"Se requieren categor\xEDas para agregar entradas de gastos. Puede Agregar o Eliminar estas categor\xEDas seg\xFAn su preferencia.",add_new_category:"A\xF1adir nueva categoria",add_category:"A\xF1adir categor\xEDa",edit_category:"Editar categoria",category_name:"nombre de la categor\xEDa",category_description:"Descripci\xF3n",created_message:"Categor\xEDa de gastos creada con \xE9xito",deleted_message:"Categor\xEDa de gastos eliminada correctamente",updated_message:"Categor\xEDa de gastos actualizada con \xE9xito",confirm_delete:"No podr\xE1 recuperar esta categor\xEDa de gastos",already_in_use:"La categor\xEDa ya est\xE1 en uso."},preferences:{currency:"Moneda",default_language:"Idioma predeterminado",time_zone:"Zona horaria",fiscal_year:"A\xF1o financiero",date_format:"Formato de fecha",discount_setting:"Ajuste de descuento",discount_per_item:"Descuento por art\xEDculo",discount_setting_description:"Habil\xEDtelo si desea agregar Descuento a art\xEDculos de factura individuales. Por defecto, los descuentos se agregan directamente a la factura.",save:"Guardar",preference:"Preferencia | Preferencias",general_settings:"Preferencias predeterminadas para el sistema.",updated_message:"Preferencias actualizadas exitosamente",select_language:"seleccione el idioma",select_time_zone:"selecciona la zona horaria",select_date_format:"Seleccionar formato de fecha",select_financial_year:"seleccione a\xF1o financiero"},update_app:{title:"Actualizar aplicaci\xF3n",description:"actualizar la descripci\xF3n de la aplicaci\xF3n",check_update:"Buscar actualizaciones",avail_update:"Nueva actualizaci\xF3n disponible",next_version:"Pr\xF3xima versi\xF3n",requirements:"Requisitos",update:"Actualizar",update_progress:"Actualizaci\xF3n en progreso...",progress_text:"Solo tomar\xE1 unos minutos. No actualice la pantalla ni cierre la ventana antes de que finalice la actualizaci\xF3n.",update_success:"\xA1La aplicaci\xF3n ha sido actualizada! Espere mientras la ventana de su navegador se vuelve a cargar autom\xE1ticamente.",latest_message:"\xA1Actualizaci\xF3n no disponible! Est\xE1s en la \xFAltima versi\xF3n.",current_version:"Versi\xF3n actual",download_zip_file:"Descargar archivo ZIP",unzipping_package:"Descomprimir paquete",copying_files:"Copiando documentos",running_migrations:"Ejecutar migraciones",finishing_update:"Actualizaci\xF3n final",update_failed:"Actualizaci\xF3n fallida",update_failed_text:"\xA1Lo siento! Su actualizaci\xF3n fall\xF3 el: {step} paso"},backup:{title:"Copia de seguridad | Copias de seguridad",description:"La copia de seguridad es un archivo comprimido zip que contiene todos los archivos en los directorios que especifiques junto con tu base de datos",new_backup:"Agregar nueva copia de seguridad",create_backup:"Crear copia de seguridad",select_backup_type:"Seleccione Tipo de Copia de Seguridad",backup_confirm_delete:"No podr\xE1 recuperar esta copia de seguridad",path:"ruta",new_disk:"Nuevo Disco",created_at:"creado el",size:"tama\xF1o",dropbox:"dropbox",local:"local",healthy:"saludable",amount_of_backups:"cantidad de copias de seguridad",newest_backups:"copias de seguridad m\xE1s recientes",used_storage:"almacenamiento utilizado",select_disk:"Seleccionar Disco",action:"Acci\xF3n",deleted_message:"Copia de seguridad eliminada exitosamente",created_message:"Copia de seguridad creada satisfactoriamente",invalid_disk_credentials:"Credencial no v\xE1lida del disco seleccionado"},disk:{title:"Disco de archivos | Discos de archivos",description:"Por defecto, Crater utilizar\xE1 su disco local para guardar copias de seguridad, avatar y otros archivos de imagen. Puede configurar varios controladores de disco como DigitalOcean, S3 y Dropbox seg\xFAn sus preferencias.",created_at:"creado el",dropbox:"dropbox",name:"Nombre",driver:"Controlador",disk_type:"Tipo",disk_name:"Nombre del disco",new_disk:"Agregar nuevo disco",filesystem_driver:"Controlador del sistema de archivos",local_driver:"controlador local",local_root:"ra\xEDz local",public_driver:"Controlador p\xFAblico",public_root:"Ra\xEDz p\xFAblica",public_url:"URL p\xFAblica",public_visibility:"Visibilidad p\xFAblica",media_driver:"Controlador multimedia",media_root:"Ra\xEDz multimedia",aws_driver:"Controlador AWS",aws_key:"Clave AWS",aws_secret:"Secreto AWS",aws_region:"Regi\xF3n de AWS",aws_bucket:"Cubo AWS",aws_root:"Ra\xEDz AWS",do_spaces_type:"Hacer Espacios tipo",do_spaces_key:"Disponer espacios",do_spaces_secret:"Disponer espacios secretos",do_spaces_region:"Disponer regi\xF3n de espacios",do_spaces_bucket:"Disponer espacios",do_spaces_endpoint:"Disponer espacios extremos",do_spaces_root:"Disponer espacios en la ra\xEDz",dropbox_type:"Tipo de Dropbox",dropbox_token:"Token de DropBox",dropbox_key:"Clave Dropbox",dropbox_secret:"Dropbox Secret",dropbox_app:"Aplicaci\xF3n Dropbox",dropbox_root:"Ra\xEDz Dropbox",default_driver:"Controlador por defecto",is_default:"ES PREDETERMINADO",set_default_disk:"Establecer disco predeterminado",success_set_default_disk:"Disco establecido correctamente como predeterminado",save_pdf_to_disk:"Guardar PDFs a disco",disk_setting_description:" Habilite esto, si desea guardar autom\xE1ticamente una copia en formato pdf de cada factura, c\xE1lculo y recibo de pago en su disco predeterminado. Al activar esta opci\xF3n, se reducir\xE1 el tiempo de carga al visualizar los archivos PDFs.",select_disk:"Seleccionar Disco",disk_settings:"Configuraci\xF3n del disco",confirm_delete:"Los archivos y carpetas existentes en el disco especificado no se ver\xE1n afectados, pero su configuraci\xF3n de disco ser\xE1 eliminada de Crater",action:"Acci\xF3n",edit_file_disk:"Editar disco de ficheros",success_create:"Disco a\xF1adido satisfactoriamente",success_update:"Disco actualizado satisfactoriamente",error:"Error al a\xF1adir disco",deleted_message:"Disco de archivo borrado correctamente",disk_variables_save_successfully:"Disco configurado correctamente",disk_variables_save_error:"La configuraci\xF3n del disco ha fallado.",invalid_disk_credentials:"Credencial no v\xE1lida del disco seleccionado"}},yi={account_info:"Informaci\xF3n de la cuenta",account_info_desc:"Los detalles a continuaci\xF3n se utilizar\xE1n para crear la cuenta principal de administrador. Tambi\xE9n puede cambiar los detalles en cualquier momento despu\xE9s de iniciar sesi\xF3n.",name:"Nombre",email:"Correo",password:"Contrase\xF1a",confirm_password:"Confirmar contrase\xF1a",save_cont:"Guardar y continuar",company_info:"Informaci\xF3n de la empresa",company_info_desc:"Esta informaci\xF3n se mostrar\xE1 en las facturas. Tenga en cuenta que puede editar esto m\xE1s adelante en la p\xE1gina de configuraci\xF3n.",company_name:"nombre de empresa",company_logo:"Logo de la compa\xF1\xEDa",logo_preview:"Vista previa del logotipo",preferences:"Preferencias",preferences_desc:"Preferencias predeterminadas para el sistema.",country:"Pa\xEDs",state:"Estado",city:"Ciudad",address:"Direcci\xF3n",street:"Calle1 | Calle2",phone:"Tel\xE9fono",zip_code:"C\xF3digo postal",go_back:"Regresa",currency:"Moneda",language:"Idioma",time_zone:"Zona horaria",fiscal_year:"A\xF1o financiero",date_format:"Formato de fecha",from_address:"Desde la Direcci\xF3n",username:"Nombre de usuario",next:"Siguiente",continue:"Continuar",skip:"Saltar",database:{database:"URL del sitio y base de datose",connection:"Conexi\xF3n de base de datos",host:"Host de la base de datos",port:"Puerto de la base de datos",password:"Contrase\xF1a de la base de datos",app_url:"URL de la aplicaci\xF3n",app_domain:"Dominio",username:"Nombre de usuario de la base de datos",db_name:"Nombre de la base de datos",db_path:"Ruta de la base de datos",desc:"Cree una base de datos en su servidor y establezca las credenciales utilizando el siguiente formulario."},permissions:{permissions:"Permisos",permission_confirm_title:"\xBFEst\xE1s seguro de que quieres continuar?",permission_confirm_desc:"Error de verificaci\xF3n de permisos de carpeta",permission_desc:"A continuaci\xF3n se muestra la lista de permisos de carpeta necesarios para que la aplicaci\xF3n funcione. Si la verificaci\xF3n de permisos falla, aseg\xFArese de actualizar los permisos de su carpeta."},mail:{host:"Host de correo",port:"Puerto de correo",driver:"Conductor de correo",secret:"Secreto",mailgun_secret:"Mailgun Secreto",mailgun_domain:"Dominio",mailgun_endpoint:"Mailgun endpoint",ses_secret:"Secreto SES",ses_key:"Clave SES",password:"Contrase\xF1a de correo",username:"Nombre de usuario de correo",mail_config:"Configuraci\xF3n de correo",from_name:"Del nombre del correo",from_mail:"Desde la direcci\xF3n de correo",encryption:"Cifrado de correo",mail_config_desc:"Los detalles a continuaci\xF3n se utilizar\xE1n para actualizar el entorno de correo. Tambi\xE9n puede cambiar los detalles en cualquier momento despu\xE9s de iniciar sesi\xF3n."},req:{system_req:"Requisitos del sistema",php_req_version:"Php (versi\xF3n {version} necesario)",check_req:"Consultar requisitos",system_req_desc:"Crater tiene algunos requisitos de servidor. Aseg\xFArese de que su servidor tenga la versi\xF3n de php requerida y todas las extensiones mencionadas a continuaci\xF3n."},errors:{migrate_failed:"La migraci\xF3n fall\xF3",database_variables_save_error:"No se puede conectar a la base de datos con los valores proporcionados.",mail_variables_save_error:"La configuraci\xF3n del correo electr\xF3nico ha fallado.",connection_failed:"Conexi\xF3n de base de datos fallida",database_should_be_empty:"La base de datos debe estar vac\xEDa"},success:{mail_variables_save_successfully:"Correo electr\xF3nico configurado correctamente",database_variables_save_successfully:"Base de datos configurada con \xE9xito."}},bi={invalid_phone:"Numero de telefono invalido",invalid_url:"URL no v\xE1lida (por ejemplo, http://www.crater.com)",invalid_domain_url:"URL no v\xE1lida (por ejemplo, crater.com)",required:"Se requiere campo",email_incorrect:"Email incorrecto.",email_already_taken:"Este email ya est\xE1 en uso",email_does_not_exist:"El usuario con el correo electr\xF3nico dado no existe",item_unit_already_taken:"El nombre de la unidad ya est\xE1 en uso",payment_mode_already_taken:"El modo de pago ya ha sido tomado",send_reset_link:"Enviar enlace de restablecimiento",not_yet:"\xBFA\xFAn no? Env\xEDalo de nuevo",password_min_length:"La contrase\xF1a debe contener {count} caracteres",name_min_length:"El nombre debe tener al menos {count} letras.",enter_valid_tax_rate:"Ingrese una tasa impositiva v\xE1lida",numbers_only:"Solo n\xFAmeros.",characters_only:"Solo caracteres.",password_incorrect:"Las contrase\xF1as deben ser id\xE9nticas",password_length:"La contrase\xF1a debe tener 5 caracteres de longitud.",qty_must_greater_than_zero:"La cantidad debe ser mayor que cero.",price_greater_than_zero:"El precio debe ser mayor que cero.",payment_greater_than_zero:"El pago debe ser mayor que cero.",payment_greater_than_due_amount:"El pago ingresado es mayor a la cantidad debida de esta factura.",quantity_maxlength:"La cantidad no debe ser mayor de 20 d\xEDgitos.",price_maxlength:"El precio no debe ser mayor de 20 d\xEDgitos.",price_minvalue:"El precio debe ser mayor que 0 d\xEDgitos",amount_maxlength:"La cantidad no debe ser mayor de 20 d\xEDgitos.",amount_minvalue:"La cantidad debe ser mayor que 0 d\xEDgitos",description_maxlength:"La descripci\xF3n no debe tener m\xE1s de 255 caracteres.",subject_maxlength:"El asunto no debe tener m\xE1s de 100 caracteres.",message_maxlength:"El mensaje no debe tener m\xE1s de 255 caracteres.",maximum_options_error:"M\xE1ximo de {max} opciones seleccionadas. Primero elimine una opci\xF3n seleccionada para seleccionar otra.",notes_maxlength:"Las notas no deben tener m\xE1s de 255 caracteres.",address_maxlength:"La direcci\xF3n no debe tener m\xE1s de 255 caracteres.",ref_number_maxlength:"El n\xFAmero de referencia no debe tener m\xE1s de 255 caracteres.",prefix_maxlength:"El prefijo no debe tener m\xE1s de 5 caracteres.",something_went_wrong:"Algo fue mal"},ki="Presupuestar",wi="N\xFAmero de Presupuesto",xi="Fecha presupuesto",zi="Fecha de caducidad",Si="Factura",Pi="Numero de factura",ji="Fecha de la factura",Di="Fecha final",Ci="Notas",Ai="Art\xEDculos",Ni="Cantidad",Ei="Precio",Ti="Descuento",Ii="Cantidad",$i="Subtotal",Ri="Total",Fi="Payment",Mi="RECIBO DE PAGO",Bi="Fecha de pago",Vi="Numero de pago",Oi="Modo de pago",Li="Monto Recibido",Ui="INFORME DE GASTOS",Ki="GASTO TOTAL",qi="INFORME PERDIDAS & GANANCIAS",Wi="Sales Customer Report",Zi="Sales Item Report",Hi="Tax Summary Report",Gi="INGRESO",Yi="GANANCIA NETA",Ji="Informe de ventas: Por cliente",Xi="VENTAS TOTALES",Qi="Informe de ventas: por art\xEDculo",eo="INFORME DE IMPUESTOS",to="TOTAL IMPUESTOS",ao="Tipos de impuestos",so="Gastos",no="Cobrar a,",io="Enviar a,",oo="Recibido desde:",ro="Imposto";var lo={navigation:ni,general:ii,dashboard:oi,tax_types:ri,global_search:di,customers:li,items:ci,estimates:_i,invoices:ui,payments:mi,expenses:pi,login:gi,users:fi,reports:hi,settings:vi,wizard:yi,validation:bi,pdf_estimate_label:ki,pdf_estimate_number:wi,pdf_estimate_date:xi,pdf_estimate_expire_date:zi,pdf_invoice_label:Si,pdf_invoice_number:Pi,pdf_invoice_date:ji,pdf_invoice_due_date:Di,pdf_notes:Ci,pdf_items_label:Ai,pdf_quantity_label:Ni,pdf_price_label:Ei,pdf_discount_label:Ti,pdf_amount_label:Ii,pdf_subtotal:$i,pdf_total:Ri,pdf_payment_label:Fi,pdf_payment_receipt_label:Mi,pdf_payment_date:Bi,pdf_payment_number:Vi,pdf_payment_mode:Oi,pdf_payment_amount_received_label:Li,pdf_expense_report_label:Ui,pdf_total_expenses_label:Ki,pdf_profit_loss_label:qi,pdf_sales_customers_label:Wi,pdf_sales_items_label:Zi,pdf_tax_summery_label:Hi,pdf_income_label:Gi,pdf_net_profit_label:Yi,pdf_customer_sales_report:Ji,pdf_total_sales_label:Xi,pdf_item_sales_label:Qi,pdf_tax_report_label:eo,pdf_total_tax_label:to,pdf_tax_types_label:ao,pdf_expenses_label:so,pdf_bill_to:no,pdf_ship_to:io,pdf_received_from:oo,pdf_tax_label:ro};const co={dashboard:"\u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",customers:"\u0627\u0644\u0639\u0645\u0644\u0627\u0621",items:"\u0627\u0644\u0623\u0635\u0646\u0627\u0641",invoices:"\u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631",expenses:"\u0627\u0644\u0646\u0641\u0642\u0627\u062A",estimates:"\u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A",payments:"\u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A",reports:"\u0627\u0644\u062A\u0642\u0627\u0631\u064A\u0631",settings:"\u0627\u0644\u0625\u0639\u062F\u0627\u062F\u0627\u062A",logout:"\u062E\u0631\u0648\u062C",users:"\u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645\u0648\u0646"},_o={add_company:"\u0623\u0636\u0641 \u0634\u0631\u0643\u0629",view_pdf:"\u0639\u0631\u0636 PDF",copy_pdf_url:"Copy PDF Url",download_pdf:"\u062A\u0646\u0632\u064A\u0644 PDF",save:"\u062D\u0641\u0638",create:"\u062E\u0644\u0642",cancel:"\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0623\u0645\u0631",update:"\u062A\u062D\u062F\u064A\u062B",deselect:"Deselect",download:"\u062A\u0646\u0632\u064A\u0644",from_date:"\u0645\u0646 \u062A\u0627\u0631\u064A\u062E",to_date:"\u0625\u0644\u0649 \u062A\u0627\u0631\u064A\u062E",from:"\u0645\u0646",to:"\u0625\u0644\u0649",sort_by:"\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628",ascending:"\u062A\u0635\u0627\u0639\u062F\u064A",descending:"\u062A\u0646\u0627\u0632\u0644\u064A",subject:"\u0645\u0648\u0636\u0648\u0639",body:"\u0627\u0644\u062C\u0633\u0645",message:"\u0631\u0633\u0627\u0644\u0629",send:"\u0625\u0631\u0633\u0627\u0644",go_back:"\u0625\u0644\u0649 \u0627\u0644\u062E\u0644\u0641",back_to_login:"\u0627\u0644\u0639\u0648\u062F\u0629 \u0625\u0644\u0649 \u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644\u061F",home:"\u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",filter:"\u062A\u0635\u0641\u064A\u0629",delete:"\u062D\u0630\u0641",edit:"\u062A\u0639\u062F\u064A\u0644",view:"\u0639\u0631\u0636",add_new_item:"\u0625\u0636\u0627\u0641\u0629 \u0635\u0646\u0641 \u062C\u062F\u064A\u062F",clear_all:"\u0645\u0633\u062D \u0627\u0644\u0643\u0644",showing:"\u0639\u0631\u0636",of:"\u0645\u0646",actions:"\u0627\u0644\u0639\u0645\u0644\u064A\u0627\u062A",subtotal:"\u0627\u0644\u0645\u062C\u0645\u0648\u0639 \u0627\u0644\u0641\u0631\u0639\u064A",discount:"\u062E\u0635\u0645",fixed:"\u062B\u0627\u0628\u062A",percentage:"\u0646\u0633\u0628\u0629",tax:"\u0636\u0631\u064A\u0628\u0629",total_amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0625\u062C\u0645\u0627\u0644\u064A",bill_to:"\u0645\u0637\u0644\u0648\u0628 \u0645\u0646",ship_to:"\u064A\u0634\u062D\u0646 \u0625\u0644\u0649",due:"\u0648\u0627\u062C\u0628\u0629 \u0627\u0644\u0633\u062F\u0627\u062F",draft:"\u0645\u0633\u0648\u062F\u0629",sent:"\u0645\u0631\u0633\u0644\u0629",all:"\u0627\u0644\u0643\u0644",select_all:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0644",choose_file:"\u0627\u0636\u063A\u0637 \u0647\u0646\u0627 \u0644\u0627\u062E\u062A\u064A\u0627\u0631 \u0645\u0644\u0641",choose_template:"\u0627\u062E\u062A\u064A\u0627\u0631 \u0627\u0644\u0642\u0627\u0644\u0628",choose:"\u0627\u062E\u062A\u0631",remove:"\u0625\u0632\u0627\u0644\u0629",powered_by:"\u062A\u0635\u0645\u064A\u0645",bytefury:"\u0628\u0627\u062A\u0631\u0641\u0648\u0631\u064A",select_a_status:"\u0627\u062E\u062A\u0631 \u0627\u0644\u062D\u0627\u0644\u0629",select_a_tax:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0636\u0631\u064A\u0628\u0629",search:"\u0628\u062D\u062B",are_you_sure:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F?",list_is_empty:"\u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0641\u0627\u0631\u063A\u0629.",no_tax_found:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0636\u0631\u064A\u0628\u0629!",four_zero_four:"404",you_got_lost:"\u0639\u0641\u0648\u0627\u064B! \u064A\u0628\u062F\u0648 \u0623\u0646\u0643 \u0642\u062F \u062A\u0647\u062A!",go_home:"\u0639\u0648\u062F\u0629 \u0625\u0644\u0649 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",test_mail_conf:"\u0627\u062E\u062A\u0628\u0627\u0631 \u062A\u0643\u0648\u064A\u0646 \u0627\u0644\u0628\u0631\u064A\u062F",send_mail_successfully:"\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0628\u0631\u064A\u062F \u0628\u0646\u062C\u0627\u062D",setting_updated:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0628\u0646\u062C\u0627\u062D",select_state:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0648\u0644\u0627\u064A\u0629/\u0627\u0644\u0645\u0646\u0637\u0642\u0629",select_country:"\u0627\u062E\u062A\u0631 \u0627\u0644\u062F\u0648\u0644\u0629",select_city:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0645\u062F\u064A\u0646\u0629",street_1:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0627\u0631\u0639 1",street_2:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0627\u0631\u0639 2",action_failed:"\u0641\u0634\u0644\u062A \u0627\u0644\u0639\u0645\u0644\u064A\u0629",retry:"\u0623\u0639\u062F \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629",choose_note:"\u0627\u062E\u062A\u0631 \u0645\u0644\u0627\u062D\u0638\u0629",no_note_found:"\u0644\u0645 \u064A\u062A\u0645 \u0627\u0644\u0639\u062B\u0648\u0631 \u0639\u0644\u0649 \u0627\u0644\u0645\u0644\u0627\u062D\u0638\u0629",insert_note:"\u0623\u062F\u062E\u0644 \u0645\u0644\u0627\u062D\u0638\u0629"},uo={select_year:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0633\u0646\u0629",cards:{due_amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",customers:"\u0627\u0644\u0639\u0645\u0644\u0627\u0621",invoices:"\u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631",estimates:"\u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A"},chart_info:{total_sales:"\u0627\u0644\u0645\u0628\u064A\u0639\u0627\u062A",total_receipts:"\u0625\u062C\u0645\u0627\u0644\u064A \u0627\u0644\u062F\u062E\u0644",total_expense:"\u0627\u0644\u0646\u0641\u0642\u0627\u062A",net_income:"\u0635\u0627\u0641\u064A \u0627\u0644\u062F\u062E\u0644",year:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0633\u0646\u0629"},monthly_chart:{title:"\u0627\u0644\u0645\u0628\u064A\u0639\u0627\u062A \u0648\u0627\u0644\u0646\u0641\u0642\u0627\u062A"},recent_invoices_card:{title:"\u0641\u0648\u0627\u062A\u064A\u0631 \u0645\u0633\u062A\u062D\u0642\u0629",due_on:"\u0645\u0633\u062A\u062D\u0642\u0629 \u0641\u064A",customer:"\u0627\u0644\u0639\u0645\u064A\u0644",amount_due:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",actions:"\u0627\u0644\u0639\u0645\u0644\u064A\u0627\u062A",view_all:"\u0639\u0631\u0636 \u0627\u0644\u0643\u0644"},recent_estimate_card:{title:"\u0623\u062D\u062F\u062B \u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A",date:"\u0627\u0644\u062A\u0627\u0631\u064A\u062E",customer:"\u0627\u0644\u0639\u0645\u064A\u0644",amount_due:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",actions:"\u0627\u0644\u0639\u0645\u0644\u064A\u0627\u062A",view_all:"\u0639\u0631\u0636 \u0627\u0644\u0643\u0644"}},mo={name:"\u0627\u0644\u0627\u0633\u0645",description:"\u0627\u0644\u0648\u0635\u0641",percent:"\u0646\u0633\u0628\u0647 \u0645\u0626\u0648\u064A\u0647",compound_tax:"\u0627\u0644\u0636\u0631\u064A\u0628\u0629 \u0627\u0644\u0645\u0631\u0643\u0628\u0629"},po={search:"\u0628\u062D\u062B...",customers:"\u0627\u0644\u0639\u0645\u0644\u0627\u0621",users:"\u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645\u0648\u0646",no_results_found:"\u0644\u0645 \u064A\u062A\u0645 \u0627\u0644\u0639\u062B\u0648\u0631 \u0639\u0644\u0649 \u0646\u062A\u0627\u0626\u062C"},go={title:"\u0627\u0644\u0639\u0645\u0644\u0627\u0621",add_customer:"\u0625\u0636\u0627\u0641\u0629 \u0639\u0645\u064A\u0644",contacts_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0639\u0645\u0644\u0627\u0621",name:"\u0627\u0644\u0627\u0633\u0645",mail:"\u0627\u0644\u0628\u0631\u064A\u062F",statement:"\u0627\u0644\u0628\u064A\u0627\u0646",display_name:"\u0627\u0633\u0645 \u0627\u0644\u0639\u0631\u0636",primary_contact_name:"\u0627\u0633\u0645 \u0627\u0644\u062A\u0648\u0627\u0635\u0644 \u0627\u0644\u0631\u0626\u064A\u0633\u064A",contact_name:"\u0627\u0633\u0645 \u062A\u0648\u0627\u0635\u0644 \u0622\u062E\u0631",amount_due:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",email:"\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",address:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",phone:"\u0627\u0644\u0647\u0627\u062A\u0641",website:"\u0645\u0648\u0642\u0639 \u0627\u0644\u0625\u0646\u062A\u0631\u0646\u062A",overview:"\u0627\u0633\u062A\u0639\u0631\u0627\u0636",enable_portal:"Enable Portal",country:"\u0627\u0644\u062F\u0648\u0644\u0629",state:"\u0627\u0644\u0648\u0644\u0627\u064A\u0629/\u0627\u0644\u0645\u0646\u0637\u0642\u0629",city:"\u0627\u0644\u0645\u062F\u064A\u0646\u0629",zip_code:"\u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0628\u0631\u064A\u062F\u064A",added_on:"\u0623\u0636\u064A\u0641 \u0641\u064A",action:"\u0625\u062C\u0631\u0627\u0621",password:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",street_number:"\u0631\u0642\u0645 \u0627\u0644\u0634\u0627\u0631\u0639",primary_currency:"\u0627\u0644\u0639\u0645\u0644\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",description:"\u0627\u0644\u0648\u0635\u0641",add_new_customer:"\u0625\u0636\u0627\u0641\u0629 \u0639\u0645\u064A\u0644 \u062C\u062F\u064A\u062F",save_customer:"\u062D\u0641\u0638 \u0627\u0644\u0639\u0645\u064A\u0644",update_customer:"\u062A\u062D\u062F\u064A\u062B \u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0639\u0645\u064A\u0644",customer:"\u0639\u0645\u064A\u0644 | \u0639\u0645\u0644\u0627\u0621",new_customer:"\u0639\u0645\u064A\u0644 \u062C\u062F\u064A\u062F",edit_customer:"\u062A\u0639\u062F\u064A\u0644 \u0639\u0645\u064A\u0644",basic_info:"\u0645\u0639\u0644\u0648\u0627\u062A \u0623\u0633\u0627\u0633\u064A\u0629",billing_address:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0641\u0648\u062A\u0631\u0629",shipping_address:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u062D\u0646",copy_billing_address:"\u0646\u0633\u062E \u0645\u0646 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0641\u0648\u062A\u0631\u0629",no_customers:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0639\u0645\u0644\u0627\u0621 \u062D\u062A\u0649 \u0627\u0644\u0622\u0646!",no_customers_found:"\u0644\u0645 \u064A\u062A\u0645 \u0627\u0644\u062D\u0635\u0648\u0644 \u0639\u0644\u0649 \u0639\u0645\u0644\u0627\u0621!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"\u0633\u0648\u0641 \u064A\u062D\u062A\u0648\u064A \u0647\u0630\u0627 \u0627\u0644\u0642\u0633\u0645 \u0639\u0644\u0649 \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0639\u0645\u0644\u0627\u0621.",primary_display_name:"\u0627\u0633\u0645 \u0627\u0644\u0639\u0631\u0636 \u0627\u0644\u0631\u0626\u064A\u0633\u064A",select_currency:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0639\u0645\u0644\u0629",select_a_customer:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0639\u0645\u064A\u0644",type_or_click:"\u0627\u0643\u062A\u0628 \u0623\u0648 \u0627\u0636\u063A\u0637 \u0644\u0644\u0627\u062E\u062A\u064A\u0627\u0631",new_transaction:"\u0645\u0639\u0627\u0645\u0644\u0629 \u062C\u062F\u064A\u062F\u0629",no_matching_customers:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0639\u0645\u0644\u0627\u0621 \u0645\u0637\u0627\u0628\u0642\u064A\u0646!",phone_number:"\u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062A\u0641",create_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0625\u0646\u0634\u0627\u0621",confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062F\u0627\u062F \u0647\u0630\u0627 \u0627\u0644\u0639\u0645\u064A\u0644 \u0648\u062C\u0645\u064A\u0639 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631 \u0648\u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A \u0648\u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A \u0630\u0627\u062A \u0627\u0644\u0635\u0644\u0629. | \u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062F\u0627\u062F \u0647\u0624\u0644\u0627\u0621 \u0627\u0644\u0639\u0645\u0644\u0627\u0621 \u0648\u062C\u0645\u064A\u0639 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631 \u0648\u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A \u0648\u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A \u0630\u0627\u062A \u0627\u0644\u0635\u0644\u0629.",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0639\u0645\u0644\u0627\u0621 \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0639\u0645\u0644\u0627\u0621 \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0639\u0645\u0644\u0627\u0621 \u0628\u0646\u062C\u0627\u062D | \u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0639\u0645\u064A\u0644 \u0628\u0646\u062C\u0627\u062D"},fo={title:"\u0627\u0644\u0623\u0635\u0646\u0627\u0641",items_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0623\u0635\u0646\u0627\u0641",name:"\u0627\u0644\u0627\u0633\u0645",unit:"\u0627\u0644\u0648\u062D\u062F\u0629",description:"\u0627\u0644\u0648\u0635\u0641",added_on:"\u0623\u0636\u064A\u0641 \u0641\u064A",price:"\u0627\u0644\u0633\u0639\u0631",date_of_creation:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0625\u0646\u0634\u0627\u0621",not_selected:"No item selected",action:"\u0625\u062C\u0631\u0627\u0621",add_item:"\u0625\u0636\u0627\u0641\u0629 \u0635\u0646\u0641",save_item:"\u062D\u0641\u0638 \u0627\u0644\u0635\u0646\u0641",update_item:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0635\u0646\u0641",item:"\u0635\u0646\u0641 | \u0623\u0635\u0646\u0627\u0641",add_new_item:"\u0625\u0636\u0627\u0641\u0629 \u0635\u0646\u0641 \u062C\u062F\u064A\u062F",new_item:"\u062C\u062F\u064A\u062F \u0635\u0646\u0641",edit_item:"\u062A\u062D\u062F\u064A\u062B \u0635\u0646\u0641",no_items:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0623\u0635\u0646\u0627\u0641 \u062D\u062A\u0649 \u0627\u0644\u0622\u0646!",list_of_items:"\u0647\u0630\u0627 \u0627\u0644\u0642\u0633\u0645 \u0633\u0648\u0641 \u064A\u062D\u062A\u0648\u064A \u0639\u0644\u0649 \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0623\u0635\u0646\u0627\u0641.",select_a_unit:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0648\u062D\u062F\u0629",taxes:"\u0627\u0644\u0636\u0631\u0627\u0626\u0628",item_attached_message:"\u0644\u0627 \u064A\u0645\u0643\u0646 \u062D\u0630\u0641 \u0627\u0644\u0635\u0646\u0641 \u0642\u064A\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645",confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0647\u0630\u0627 \u0627\u0644\u0635\u0646\u0641 | \u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0647\u0630\u0647 \u0627\u0644\u0623\u0635\u0646\u0627\u0641",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0635\u0646\u0641 \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0635\u0646\u0641 \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0635\u0646\u0641 \u0628\u0646\u062C\u0627\u062D | \u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0623\u0635\u0646\u0627\u0641 \u0628\u0646\u062C\u0627\u062D"},ho={title:"\u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A",estimate:"\u062A\u0642\u062F\u064A\u0631 | \u062A\u0642\u062F\u064A\u0631\u0627\u062A",estimates_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A",days:"{days} \u0623\u064A\u0627\u0645",months:"{months} \u0623\u0634\u0647\u0631",years:"{years} \u0633\u0646\u0648\u0627\u062A",all:"\u0627\u0644\u0643\u0644",paid:"\u0645\u062F\u0641\u0648\u0639",unpaid:"\u063A\u064A\u0631 \u0645\u062F\u0641\u0648\u0639",customer:"\u0627\u0644\u0639\u0645\u064A\u0644",ref_no:"\u0631\u0642\u0645 \u0627\u0644\u0645\u0631\u062C\u0639.",number:"\u0627\u0644\u0631\u0642\u0645",amount_due:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",partially_paid:"\u0645\u062F\u0641\u0648\u0639 \u062C\u0632\u0626\u064A\u0627",total:"\u0627\u0644\u0625\u062C\u0645\u0627\u0644\u064A",discount:"\u0627\u0644\u062E\u0635\u0645",sub_total:"\u062D\u0627\u0635\u0644 \u0627\u0644\u062C\u0645\u0639",estimate_number:"\u0631\u0642\u0645 \u062A\u0642\u062F\u064A\u0631",ref_number:"\u0631\u0642\u0645 \u0627\u0644\u0645\u0631\u062C\u0639",contact:"\u062A\u0648\u0627\u0635\u0644",add_item:"\u0625\u0636\u0627\u0641\u0629 \u0635\u0646\u0641",date:"\u062A\u0627\u0631\u064A\u062E",due_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0627\u0633\u062A\u062D\u0642\u0627\u0642",expiry_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0635\u0644\u0627\u062D\u064A\u0629",status:"\u0627\u0644\u062D\u0627\u0644\u0629",add_tax:"\u0625\u0636\u0627\u0641\u0629 \u0636\u0631\u064A\u0629",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",action:"\u0625\u062C\u0631\u0627\u0621",notes:"\u0645\u0644\u0627\u062D\u0638\u0627\u062A",tax:"\u0636\u0631\u064A\u0628\u0629",estimate_template:"\u0642\u0627\u0644\u0628",convert_to_invoice:"\u062A\u062D\u0648\u064A\u0644 \u0625\u0644\u0649 \u0641\u0627\u062A\u0648\u0631\u0629",mark_as_sent:"\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0631\u0633\u0644",send_estimate:"\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",resend_estimate:"\u0625\u0639\u0627\u062F\u0629 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",record_payment:"\u062A\u0633\u062C\u064A\u0644 \u0645\u062F\u0641\u0648\u0627\u062A",add_estimate:"\u0625\u0636\u0627\u0641\u0629 \u062A\u0642\u062F\u064A\u0631",save_estimate:"\u062D\u0641\u0638 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",confirm_conversion:"\u0647\u0644 \u062A\u0631\u064A\u062F \u062A\u062D\u0648\u064A\u0644 \u0647\u0630\u0627 \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0625\u0644\u0649 \u0641\u0627\u062A\u0648\u0631\u0629\u061F",conversion_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0646\u062C\u0627\u062D",confirm_send_estimate:"\u0633\u064A\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0647\u0630\u0627 \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0628\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0625\u0644\u0649 \u0627\u0644\u0639\u0645\u064A\u0644",confirm_mark_as_sent:"\u0633\u064A\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0631\u0633\u0644 \u0639\u0644\u0649 \u0647\u0630\u0627 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",confirm_mark_as_accepted:"\u0633\u064A\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0642\u0628\u0648\u0644 \u0639\u0644\u0649 \u0647\u0630\u0627 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",confirm_mark_as_rejected:"\u0633\u064A\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0631\u0641\u0648\u0636 \u0639\u0644\u0649 \u0647\u0630\u0627 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",no_matching_estimates:"\u0644\u0627 \u064A\u0648\u062C\u062F \u062A\u0642\u062F\u064A\u0631\u0627\u062A \u0645\u0637\u0627\u0628\u0642\u0629!",mark_as_sent_successfully:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0631\u0633\u0644 \u0628\u0646\u062C\u0627\u062D",send_estimate_successfully:"\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0628\u0646\u062C\u0627\u062D",errors:{required:"\u062D\u0642\u0644 \u0645\u0637\u0644\u0648\u0628"},accepted:"\u0645\u0642\u0628\u0648\u0644",rejected:"Rejected",sent:"\u0645\u0631\u0633\u0644",draft:"\u0645\u0633\u0648\u062F\u0629",declined:"\u0645\u0631\u0641\u0648\u0636",new_estimate:"\u062A\u0642\u062F\u064A\u0631 \u062C\u062F\u064A\u062F",add_new_estimate:"\u0625\u0636\u0627\u0641\u0629 \u062A\u0642\u062F\u064A\u0631 \u062C\u062F\u064A\u062F",update_Estimate:"\u062A\u062D\u062F\u064A\u062B \u062A\u0642\u062F\u064A\u0631",edit_estimate:"\u062A\u0639\u062F\u064A\u0644 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",items:"\u0627\u0644\u0623\u0635\u0646\u0627\u0641",Estimate:"\u062A\u0642\u062F\u064A\u0631 | \u062A\u0642\u062F\u064A\u0631\u0627\u062A",add_new_tax:"\u0625\u0636\u0627\u0641\u0629 \u0636\u0631\u064A\u0628\u0629 \u062C\u062F\u064A\u062F\u0629",no_estimates:"\u0644\u0627 \u064A\u0648\u062C\u062F \u062A\u0642\u062F\u064A\u0631\u0627\u062A \u062D\u0627\u0644\u064A\u0627\u064B!",list_of_estimates:"\u0647\u0630\u0627 \u0627\u0644\u0642\u0633\u0645 \u0633\u0648\u0641 \u064A\u062D\u062A\u0648\u064A \u0639\u0644\u0649 \u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A.",mark_as_rejected:"\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0631\u0641\u0648\u0636",mark_as_accepted:"\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0642\u0631\u0648\u0621",marked_as_accepted_message:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0643\u0645\u0642\u0628\u0648\u0644",marked_as_rejected_message:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0643\u0645\u0631\u0641\u0648\u0636",confirm_delete:"\u0644\u0646 \u062A\u0633\u062A\u0637\u064A\u0639 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0647\u0630\u0627 \u0627\u0644\u062A\u0642\u062F\u064A\u0631 | \u0644\u0646 \u062A\u0633\u062A\u0637\u064A\u0639 \u0625\u0633\u062A\u0639\u0627\u062F\u0629 \u0647\u0630\u0647 \u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0628\u0646\u062C\u0627\u062D | \u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A \u0628\u0646\u062C\u0627\u062D",something_went_wrong:"\u062E\u0637\u0623 \u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641!",item:{title:"\u0627\u0633\u0645 \u0627\u0644\u0635\u0646\u0641",description:"\u0627\u0644\u0648\u0635\u0641",quantity:"\u0627\u0644\u0643\u0645\u064A\u0629",price:"\u0627\u0644\u0633\u0639\u0631",discount:"\u0627\u0644\u062E\u0635\u0645",total:"\u0627\u0644\u0625\u062C\u0645\u0627\u0644\u064A",total_discount:"\u0645\u062C\u0645\u0648\u0639 \u0627\u0644\u062E\u0635\u0645",sub_total:"\u062D\u0627\u0635\u0644 \u0627\u0644\u062C\u0645\u0639",tax:"\u0627\u0644\u0636\u0631\u064A\u0629",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",select_an_item:"\u0627\u0643\u062A\u0628 \u0623\u0648 \u0627\u062E\u062A\u0631 \u0627\u0644\u0635\u0646\u0641",type_item_description:"\u0627\u0643\u062A\u0628 \u0648\u0635\u0641 \u0627\u0644\u0635\u0646\u0641 (\u0627\u062E\u062A\u064A\u0627\u0631\u064A)"}},vo={title:"\u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631",invoices_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631",days:"{days} \u0623\u064A\u0627\u0645",months:"{months} \u0623\u0634\u0647\u0631",years:"{years} \u0633\u0646\u0648\u0627\u062A",all:"\u0627\u0644\u0643\u0644",paid:"\u0645\u062F\u0641\u0648\u0639",unpaid:"\u063A\u064A\u0631 \u0645\u062F\u0641\u0648\u0639",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"\u0627\u0644\u0639\u0645\u064A\u0644",paid_status:"\u062D\u0627\u0644\u0629 \u0627\u0644\u062F\u0641\u0639",ref_no:"\u0631\u0642\u0645 \u0627\u0644\u0645\u0631\u062C\u0639.",number:"\u0627\u0644\u0631\u0642\u0645",amount_due:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",partially_paid:"\u0645\u062F\u0641\u0648\u0639 \u062C\u0632\u0626\u064A\u0627\u064B",total:"\u0627\u0644\u0625\u062C\u0645\u0627\u0644\u064A",discount:"\u0627\u0644\u062E\u0635\u0645",sub_total:"\u062D\u0627\u0635\u0644 \u0627\u0644\u062C\u0645\u0639",invoice:"\u0641\u0627\u062A\u0648\u0631\u0629 | \u0641\u0648\u0627\u062A\u064A\u0631",invoice_number:"\u0631\u0642\u0645 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",ref_number:"\u0631\u0642\u0645 \u0627\u0644\u0645\u0631\u062C\u0639",contact:"\u062A\u0648\u0627\u0635\u0644",add_item:"\u0625\u0636\u0627\u0641\u0629 \u0635\u0646\u0641",date:"\u0627\u0644\u062A\u0627\u0631\u064A\u062E",due_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0627\u0633\u062A\u062D\u0642\u0627\u0642",status:"\u0627\u0644\u062D\u0627\u0644\u0629",add_tax:"\u0625\u0636\u0627\u0641\u0629 \u0636\u0631\u064A\u0628\u0629",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",action:"\u0625\u062C\u0631\u0627\u0621",notes:"\u0645\u0644\u0627\u062D\u0638\u0627\u062A",view:"\u0639\u0631\u0636",send_invoice:"\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",resend_invoice:"\u0625\u0639\u0627\u062F\u0629 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",invoice_template:"\u0642\u0627\u0644\u0628 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",template:"\u0642\u0627\u0644\u0628",mark_as_sent:"\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0631\u0633\u0644",confirm_send_invoice:"\u0633\u064A\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0647\u0630\u0647 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0623\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0625\u0644\u0649 \u0627\u0644\u0639\u0645\u064A\u0644",invoice_mark_as_sent:"\u0633\u064A\u062A\u0645 \u062A\u062D\u062F\u064A\u062F \u0647\u0630\u0647 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0643\u0645\u0631\u0633\u0644\u0629",confirm_send:"\u0633\u064A\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0647\u0630\u0647 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0623\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0625\u0644\u0649 \u0627\u0644\u0639\u0645\u064A\u0644",invoice_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",record_payment:"\u062A\u0633\u062C\u064A\u0644 \u0645\u062F\u0641\u0648\u0639\u0627\u062A",add_new_invoice:"\u0625\u0636\u0627\u0641\u0629 \u0641\u0627\u062A\u0648\u0631\u0629 \u062C\u062F\u064A\u062F\u0629",update_expense:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0645\u0635\u0631\u0648\u0641\u0627\u062A",edit_invoice:"\u062A\u0639\u062F\u064A\u0644 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",new_invoice:"\u0641\u0627\u062A\u0648\u0631\u0629 \u062C\u062F\u064A\u062F\u0629",save_invoice:"\u062D\u0641\u0638 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",update_invoice:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",add_new_tax:"\u0625\u0636\u0627\u0641\u0629 \u0636\u0631\u064A\u0628\u0629 \u062C\u062F\u064A\u062F\u0629",no_invoices:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0641\u0648\u0627\u062A\u064A\u0631 \u062D\u062A\u0649 \u0627\u0644\u0622\u0646!",list_of_invoices:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631 .",select_invoice:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",no_matching_invoices:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0641\u0648\u0627\u062A\u064A\u0631 \u0645\u0637\u0627\u0628\u0642\u0629!",mark_as_sent_successfully:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0643\u0645\u0631\u0633\u0644\u0629 \u0628\u0646\u062C\u0627\u062D",invoice_sent_successfully:"\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0646\u062C\u0627\u062D",cloned_successfully:"\u062A\u0645 \u0627\u0633\u062A\u0646\u0633\u0627\u062E \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0646\u062C\u0627\u062D",clone_invoice:"\u0627\u0633\u062A\u0646\u0633\u0627\u062E \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",confirm_clone:"\u0633\u064A\u062A\u0645 \u0627\u0633\u062A\u0646\u0633\u0627\u062E \u0647\u0630\u0647 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0641\u064A \u0641\u0627\u062A\u0648\u0631\u0629 \u062C\u062F\u064A\u062F\u0629",item:{title:"\u0627\u0633\u0645 \u0627\u0644\u0635\u0646\u0641",description:"\u0627\u0644\u0648\u0635\u0641",quantity:"\u0627\u0644\u0643\u0645\u064A\u0629",price:"\u0627\u0644\u0633\u0639\u0631",discount:"\u0627\u0644\u062E\u0635\u0645",total:"\u0627\u0644\u0625\u062C\u0645\u0627\u0644\u064A",total_discount:"\u0625\u062C\u0645\u0627\u0644\u064A \u0627\u0644\u062E\u0635\u0645",sub_total:"\u062D\u0627\u0635\u0644 \u0627\u0644\u062C\u0645\u0639",tax:"\u0627\u0644\u0636\u0631\u064A\u0628\u0629",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",select_an_item:"\u0627\u0643\u062A\u0628 \u0623\u0648 \u0627\u0646\u0642\u0631 \u0644\u0627\u062E\u062A\u064A\u0627\u0631 \u0635\u0646\u0641",type_item_description:"\u0648\u0635\u0641 \u0627\u0644\u0635\u0646\u0641 (\u0627\u062E\u062A\u064A\u0627\u0631\u064A)"},confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0639\u062F \u0647\u0630\u0647 \u0627\u0644\u0625\u062C\u0631\u0627\u0621 | \u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631 \u0628\u0639\u062F \u0647\u0630\u0627 \u0627\u0644\u0625\u062C\u0631\u0627\u0621",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0646\u062C\u0627\u062D | \u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631 \u0628\u0646\u062C\u0627\u062D",marked_as_sent_message:"\u062A\u0645 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0646\u062C\u0627\u062D",something_went_wrong:"\u062E\u0637\u0623 \u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641!",invalid_due_amount_message:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0646\u0647\u0627\u0626\u064A \u0644\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0644\u0627 \u064A\u0645\u0643\u0646 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0623\u0642\u0644 \u0645\u0646 \u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628 \u0644\u0647\u0627. \u0631\u062C\u0627\u0621\u0627\u064B \u062D\u062F\u062B \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0623\u0648 \u0642\u0645 \u0628\u062D\u0630\u0641 \u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A \u0627\u0644\u0645\u0631\u062A\u0628\u0637\u0629 \u0628\u0647\u0627 \u0644\u0644\u0627\u0633\u062A\u0645\u0631\u0627\u0631."},yo={title:"\u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A",payments_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A",record_payment:"\u062A\u0633\u062C\u064A\u0644 \u062F\u0641\u0639\u0629",customer:"\u0627\u0644\u0639\u0645\u064A\u0644",date:"\u0627\u0644\u062A\u0627\u0631\u064A\u062E",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",action:"\u0625\u062C\u0631\u0627\u0621",payment_number:"\u0631\u0642\u0645 \u0627\u0644\u062F\u0641\u0639\u0629",payment_mode:"\u0646\u0648\u0639 \u0627\u0644\u062F\u0641\u0639\u0629",invoice:"\u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",note:"\u0645\u0644\u0627\u062D\u0638\u0629",add_payment:"\u0625\u0636\u0627\u0641\u0629 \u062F\u0641\u0639\u0629",new_payment:"\u062F\u0641\u0639\u0629 \u062C\u062F\u064A\u062F\u0629",edit_payment:"\u062A\u0639\u062F\u064A\u0644 \u0627\u0644\u062F\u0641\u0639\u0629",view_payment:"\u0639\u0631\u0636 \u0627\u0644\u062F\u0641\u0639\u0629",add_new_payment:"\u0625\u0636\u0627\u0641\u0629 \u062F\u0641\u0639\u0629 \u062C\u062F\u064A\u062F\u0629",send_payment_receipt:"Send Payment Receipt",send_payment:"\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u062F\u0641\u0639\u0629",save_payment:"\u062D\u0641\u0638 \u0627\u0644\u062F\u0641\u0639\u0629",update_payment:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u062F\u0641\u0639\u0629",payment:"\u062F\u0641\u0639\u0629 | \u0645\u062F\u0641\u0648\u0639\u0627\u062A",no_payments:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0645\u062F\u0641\u0648\u0639\u0627\u062A \u062D\u062A\u0649 \u0627\u0644\u0622\u0646!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u062F\u0641\u0648\u0639\u0627\u062A \u0645\u0637\u0627\u0628\u0642\u0629!",list_of_payments:"\u0633\u0648\u0641 \u062A\u062D\u062A\u0648\u064A \u0647\u0630\u0647 \u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0639\u0644\u0649 \u0645\u062F\u0641\u0648\u0639\u0627\u062A \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631.",select_payment_mode:"\u0627\u062E\u062A\u0631 \u0637\u0631\u064A\u0642\u0629 \u0627\u0644\u062F\u0641\u0639",confirm_mark_as_sent:"\u0633\u064A\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062F \u0643\u0645\u0631\u0633\u0644 \u0639\u0644\u0649 \u0647\u0630\u0627 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",confirm_send_payment:"This payment will be sent via email to the customer",send_payment_successfully:"Payment sent successfully",something_went_wrong:"\u062E\u0637\u0623 \u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641!",confirm_delete:"\u0644\u0646 \u062A\u0643\u0648\u0646 \u0642\u0627\u062F\u0631 \u0639\u0644\u0649 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0647\u0630\u0647 \u0627\u0644\u062F\u0641\u0639\u0629 | \u0644\u0646 \u062A\u0643\u0648\u0646 \u0642\u0627\u062F\u0631\u0627\u064B \u0639\u0644\u0649 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0647\u0630\u0647 \u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u062F\u0641\u0639\u0629 \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u062F\u0641\u0639\u0629 \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u062F\u0641\u0639\u0629 \u0628\u0646\u062C\u0627\u062D | \u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A \u0628\u0646\u062C\u0627\u062D",invalid_amount_message:"\u0642\u064A\u0645\u0629 \u0627\u0644\u062F\u0641\u0639\u0629 \u063A\u064A\u0631 \u0635\u062D\u064A\u062D\u0629!"},bo={title:"\u0627\u0644\u0646\u0641\u0642\u0627\u062A",expenses_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0646\u0641\u0642\u0627\u062A",select_a_customer:"\u062D\u062F\u062F \u0639\u0645\u064A\u0644\u0627\u064B",expense_title:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",customer:"\u0627\u0644\u0639\u0645\u064A\u0644",contact:"\u062A\u0648\u0627\u0635\u0644",category:"\u0627\u0644\u0641\u0626\u0629",from_date:"\u0645\u0646 \u062A\u0627\u0631\u064A\u062E",to_date:"\u062D\u062A\u0649 \u062A\u0627\u0631\u064A\u062E",expense_date:"\u0627\u0644\u062A\u0627\u0631\u064A\u062E",description:"\u0627\u0644\u0648\u0635\u0641",receipt:"\u0633\u0646\u062F \u0627\u0644\u0642\u0628\u0636",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",action:"\u0625\u062C\u0631\u0627\u0621",not_selected:"Not selected",note:"\u0645\u0644\u0627\u062D\u0638\u0629",category_id:"\u0631\u0645\u0632 \u0627\u0644\u0641\u0626\u0629",date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0646\u0641\u0642\u0627\u062A",add_expense:"\u0623\u0636\u0641 \u0646\u0641\u0642\u0627\u062A",add_new_expense:"\u0623\u0636\u0641 \u0646\u0641\u0642\u0627\u062A \u062C\u062F\u064A\u062F\u0629",save_expense:"\u062D\u0641\u0638 \u0627\u0644\u0646\u0641\u0642\u0627\u062A",update_expense:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u0641\u0642\u0627\u062A",download_receipt:"\u062A\u0646\u0632\u064A\u0644 \u0627\u0644\u0633\u0646\u062F",edit_expense:"\u062A\u0639\u062F\u064A\u0644 \u0627\u0644\u0646\u0641\u0642\u0627\u062A",new_expense:"\u0646\u0641\u0642\u0627\u062A \u062C\u062F\u064A\u062F\u0629",expense:"\u0625\u0646\u0641\u0627\u0642 | \u0646\u0641\u0642\u0627\u062A",no_expenses:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0646\u0641\u0642\u0627\u062A \u062D\u062A\u0649 \u0627\u0644\u0622\u0646!",list_of_expenses:"\u0647\u0630\u0647 \u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0633\u062A\u062D\u062A\u0648\u064A \u0627\u0644\u0646\u0641\u0642\u0627\u062A \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0643",confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0647\u0630\u0627 \u0627\u0644\u0625\u0646\u0641\u0627\u0642 | \u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0647\u0630\u0647 \u0627\u0644\u0646\u0641\u0642\u0627\u062A",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0646\u0641\u0642\u0627\u062A \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u0641\u0642\u0627\u062A \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0646\u0641\u0642\u0627\u062A \u0628\u0646\u062C\u0627\u062D",categories:{categories_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0641\u0626\u0627\u062A",title:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",name:"\u0627\u0644\u0627\u0633\u0645",description:"\u0627\u0644\u0648\u0635\u0641",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",actions:"\u0627\u0644\u0639\u0645\u0644\u064A\u0627\u062A",add_category:"\u0625\u0636\u0627\u0641\u0629 \u0641\u0626\u0645\u0629",new_category:"\u0641\u0626\u0629 \u062C\u062F\u064A\u062F\u0629",category:"\u0641\u0626\u0629 | \u0641\u0626\u0627\u062A",select_a_category:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0641\u0626\u0629"}},ko={email:"\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",password:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",forgot_password:"\u0646\u0633\u064A\u062A \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631\u061F",or_signIn_with:"\u0623\u0648 \u0633\u062C\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0628\u0648\u0627\u0633\u0637\u0629",login:"\u062F\u062E\u0648\u0644",register:"\u062A\u0633\u062C\u064A\u0644",reset_password:"\u0625\u0639\u0627\u062F\u0629 \u062A\u0639\u064A\u064A\u0646 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",password_reset_successfully:"\u062A\u0645 \u0625\u0639\u0627\u062F\u0629 \u062A\u0639\u064A\u064A\u0646 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0628\u0646\u062C\u0627\u062D",enter_email:"\u0623\u062F\u062E\u0644 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A",enter_password:"\u0623\u0643\u062A\u0628 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",retype_password:"\u0623\u0639\u062F \u0643\u062A\u0627\u0628\u0629 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631"},wo={title:"\u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645\u0648\u0646",users_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645\u064A\u0646",name:"\u0627\u0633\u0645",description:"\u0648\u0635\u0641",added_on:"\u0648\u0623\u0636\u0627\u0641 \u0641\u064A",date_of_creation:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u062E\u0644\u0642",action:"\u0639\u0645\u0644",add_user:"\u0625\u0636\u0627\u0641\u0629 \u0645\u0633\u062A\u062E\u062F\u0645",save_user:"\u062D\u0641\u0638 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645",update_user:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645",user:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645",add_new_user:"\u0625\u0636\u0627\u0641\u0629 \u0645\u0633\u062A\u062E\u062F\u0645 \u062C\u062F\u064A\u062F",new_user:"\u0645\u0633\u062A\u062E\u062F\u0645 \u062C\u062F\u064A\u062F",edit_user:"\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u0639\u0636\u0648",no_users:"\u0644\u0627 \u0645\u0633\u062A\u062E\u062F\u0645\u064A\u0646 \u062D\u062A\u0649 \u0627\u0644\u0622\u0646!",list_of_users:"\u0633\u064A\u062D\u062A\u0648\u064A \u0647\u0630\u0627 \u0627\u0644\u0642\u0633\u0645 \u0639\u0644\u0649 \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645\u064A\u0646.",email:"\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",phone:"\u0647\u0627\u062A\u0641",password:"\u0643\u0644\u0645\u0647 \u0627\u0644\u0633\u0631",user_attached_message:"\u0644\u0627 \u064A\u0645\u0643\u0646 \u062D\u0630\u0641 \u0639\u0646\u0635\u0631 \u0642\u064A\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0628\u0627\u0644\u0641\u0639\u0644",confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062F\u0627\u062F \u0647\u0630\u0627 \u0627\u0644\u0639\u0646\u0635\u0631 | \u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062F\u0627\u062F \u0647\u0624\u0644\u0627\u0621 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645\u064A\u0646",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u0628\u0646\u062C\u0627\u062D | \u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u0628\u0646\u062C\u0627\u062D"},xo={title:"\u062A\u0642\u0631\u064A\u0631",from_date:"\u0645\u0646 \u062A\u0627\u0631\u064A\u062E",to_date:"\u062D\u062A\u0649 \u062A\u0627\u0631\u064A\u062E",status:"\u0627\u0644\u062D\u0627\u0644\u0629",paid:"\u0645\u062F\u0641\u0648\u0639",unpaid:"\u063A\u064A\u0631 \u0645\u062F\u0641\u0648\u0639",download_pdf:"\u062A\u0646\u0632\u064A\u0644 PDF",view_pdf:"\u0639\u0631\u0636 PDF",update_report:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u062A\u0642\u0631\u064A\u0631",report:"\u062A\u0642\u0631\u064A\u0631 | \u062A\u0642\u0627\u0631\u064A\u0631",profit_loss:{profit_loss:"\u0627\u0644\u062E\u0633\u0627\u0626\u0631 \u0648\u0627\u0644\u0623\u0631\u0628\u0627\u062D",to_date:"\u062D\u062A\u0649 \u062A\u0627\u0631\u064A\u062E",from_date:"\u0645\u0646 \u062A\u0627\u0631\u064A\u062E",date_range:"\u0627\u062E\u062A\u0631 \u0645\u062F\u0649 \u0627\u0644\u062A\u0627\u0631\u064A\u062E"},sales:{sales:"\u0627\u0644\u0645\u0628\u064A\u0639\u0627\u062A",date_range:"\u0627\u062E\u062A\u0631 \u0645\u062F\u0649 \u0627\u0644\u062A\u0627\u0631\u064A\u062E",to_date:"\u062D\u062A\u0649 \u062A\u0627\u0631\u064A\u062E",from_date:"\u0645\u0646 \u062A\u0627\u0631\u064A\u062E",report_type:"\u0646\u0648\u0639 \u0627\u0644\u062A\u0642\u0631\u064A\u0631"},taxes:{taxes:"\u0627\u0644\u0636\u0631\u0627\u0626\u0628",to_date:"\u062D\u062A\u0649 \u062A\u0627\u0631\u064A\u062E",from_date:"\u0645\u0646 \u062A\u0627\u0631\u064A\u062E",date_range:"\u0627\u062E\u062A\u0631 \u0645\u062F\u0649 \u0627\u0644\u062A\u0627\u0631\u064A\u062E"},errors:{required:"\u062D\u0642\u0644 \u0645\u0637\u0644\u0648\u0628"},invoices:{invoice:"\u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",invoice_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",due_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0627\u0633\u062A\u062D\u0642\u0627\u0642",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",contact_name:"\u0627\u0633\u0645 \u0627\u0644\u062A\u0648\u0627\u0635\u0644",status:"\u0627\u0644\u062D\u0627\u0644\u0629"},estimates:{estimate:"\u062A\u0642\u062F\u064A\u0631",estimate_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u062A\u0642\u062F\u064A\u0631",due_date:"\u0645\u0633\u062A\u062D\u0642 \u0628\u062A\u0627\u0631\u064A\u062E",estimate_number:"\u0631\u0642\u0645 \u0645\u0633\u062A\u062D\u0642",ref_number:"\u0631\u0642\u0645 \u0627\u0644\u0645\u0631\u062C\u0639",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",contact_name:"\u0627\u0633\u0645 \u0627\u0644\u062A\u0648\u0627\u0635\u0644",status:"\u0627\u0644\u062D\u0627\u0644\u0629"},expenses:{expenses:"\u0627\u0644\u0646\u0641\u0642\u0627\u062A",category:"\u0627\u0644\u0641\u0626\u0629",date:"\u0627\u0644\u062A\u0627\u0631\u064A\u062E",amount:"\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",to_date:"\u062D\u062A\u0649 \u062A\u0627\u0631\u064A\u062E",from_date:"\u0645\u0646 \u062A\u0627\u0631\u064A\u062E",date_range:"\u0627\u062E\u062A\u0631 \u0645\u062F\u0649 \u0627\u0644\u062A\u0627\u0631\u064A\u062E"}},zo={menu_title:{account_settings:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062D\u0633\u0627\u0628",company_information:"\u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0627\u0644\u0645\u0646\u0634\u0623\u0629",customization:"\u062A\u062E\u0635\u064A\u0635",preferences:"\u062A\u0641\u0636\u064A\u0644\u0627\u062A",notifications:"\u062A\u0646\u0628\u064A\u0647\u0627\u062A",tax_types:"\u0646\u0648\u0639 \u0627\u0644\u0636\u0631\u064A\u0628\u0629",expense_category:"\u0641\u0626\u0627\u062A \u0627\u0644\u0646\u0641\u0642\u0627\u062A",update_app:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u0638\u0627\u0645",backup:"\u062F\u0639\u0645",file_disk:"\u0642\u0631\u0635 \u0627\u0644\u0645\u0644\u0641",custom_fields:"\u0627\u0644\u062D\u0642\u0648\u0644 \u0627\u0644\u0645\u062E\u0635\u0635\u0629",payment_modes:"\u0637\u0631\u0642 \u0627\u0644\u062F\u0641\u0639",notes:"\u0645\u0644\u0627\u062D\u0638\u0627\u062A"},title:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A",setting:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A | \u0625\u0639\u062F\u0627\u062F\u0627\u062A",general:"\u0639\u0627\u0645",language:"\u0627\u0644\u0644\u063A\u0629",primary_currency:"\u0627\u0644\u0639\u0645\u0644\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",timezone:"\u0627\u0644\u0645\u0646\u0637\u0642\u0629 \u0627\u0644\u0632\u0645\u0646\u064A\u0629",date_format:"\u0635\u064A\u063A\u0629 \u0627\u0644\u062A\u0627\u0631\u064A\u062E",currencies:{title:"\u0627\u0644\u0639\u0645\u0644\u0627\u062A",currency:"\u0627\u0644\u0639\u0645\u0644\u0629 | \u0627\u0644\u0639\u0645\u0644\u0627\u062A",currencies_list:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0639\u0645\u0644\u0627\u062A",select_currency:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0639\u0645\u0644\u0629",name:"\u0627\u0644\u0627\u0633\u0645",code:"\u0627\u0644\u0645\u0631\u062C\u0639",symbol:"\u0627\u0644\u0631\u0645\u0632",precision:"\u0627\u0644\u062F\u0642\u0629",thousand_separator:"\u0641\u0627\u0635\u0644 \u0627\u0644\u0622\u0644\u0627\u0641",decimal_separator:"\u0627\u0644\u0641\u0627\u0635\u0644\u0629 \u0627\u0644\u0639\u0634\u0631\u064A\u0629",position:"\u0627\u0644\u0645\u0648\u0642\u0639",position_of_symbol:"\u0645\u0648\u0642\u0639 \u0631\u0645\u0632 \u0627\u0644\u0639\u0645\u0644\u0629",right:"\u064A\u0645\u064A\u0646",left:"\u064A\u0633\u0627\u0631",action:"\u0625\u062C\u0631\u0627\u0621",add_currency:"\u0623\u0636\u0641 \u0639\u0645\u0644\u0629"},mail:{host:"\u062E\u0627\u062F\u0645 \u0627\u0644\u0628\u0631\u064A\u062F",port:"\u0645\u0646\u0641\u0630 \u0627\u0644\u0628\u0631\u064A\u062F",driver:"\u0645\u0634\u063A\u0644 \u0627\u0644\u0628\u0631\u064A\u062F",secret:"\u0633\u0631\u064A",mailgun_secret:"\u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0633\u0631\u064A \u0644\u0640 Mailgun",mailgun_domain:"\u0627\u0644\u0645\u062C\u0627\u0644",mailgun_endpoint:"\u0627\u0644\u0646\u0647\u0627\u064A\u0629 \u0627\u0644\u0637\u0631\u0641\u064A\u0629 \u0644\u0640 Mailgun",ses_secret:"SES \u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0633\u0631\u064A",ses_key:"SES \u0645\u0641\u062A\u0627\u062D",password:"\u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A",username:"\u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u0644\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",mail_config:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A",from_name:"\u0627\u0633\u0645 \u0627\u0644\u0645\u0631\u0633\u0644",from_mail:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0644\u0644\u0645\u0631\u0633\u0644",encryption:"\u0635\u064A\u063A\u0629 \u0627 \u0644\u062A\u0634\u0641\u064A\u0631",mail_config_desc:"\u0623\u062F\u0646\u0627\u0647 \u0647\u0648 \u0646\u0645\u0648\u0630\u062C \u0644\u062A\u0643\u0648\u064A\u0646 \u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0644\u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0626\u0644 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0645\u0646 \u0627\u0644\u062A\u0637\u0628\u064A\u0642. \u064A\u0645\u0643\u0646\u0643 \u0623\u064A\u0636\u064B\u0627 \u062A\u0647\u064A\u0626\u0629 \u0645\u0648\u0641\u0631\u064A \u0627\u0644\u062C\u0647\u0627\u062A \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629 \u0645\u062B\u0644 Sendgrid \u0648 SES \u0625\u0644\u062E."},pdf:{title:"PDF \u0625\u0639\u062F\u0627\u062F\u0627\u062A",footer_text:"\u0646\u0635 \u0627\u0644\u062A\u0630\u064A\u064A\u0644",pdf_layout:"\u0627\u062A\u062C\u0627\u0647 \u0635\u0641\u062D\u0629 PDF"},company_info:{company_info:"\u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0627\u0644\u0634\u0631\u0643\u0629",company_name:"\u0627\u0633\u0645 \u0627\u0644\u0634\u0631\u0643\u0629",company_logo:"\u0634\u0639\u0627\u0631 \u0627\u0644\u0634\u0631\u0643\u0629",section_description:"\u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0639\u0646 \u0634\u0631\u0643\u062A\u0643 \u0633\u064A\u062A\u0645 \u0639\u0631\u0636\u0647\u0627 \u0639\u0644\u0649 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631 \u0648\u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A \u0648\u0627\u0644\u0645\u0633\u062A\u0646\u062F\u0627\u062A \u0627\u0644\u0623\u062E\u0631\u0649.",phone:"\u0627\u0644\u0647\u0627\u062A\u0641",country:"\u0627\u0644\u062F\u0648\u0644\u0629",state:"\u0627\u0644\u0648\u0644\u0627\u064A\u0629/\u0627\u0644\u0645\u0646\u0637\u0642\u0629",city:"\u0627\u0644\u0645\u062F\u064A\u0646\u0629",address:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",zip:"\u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0628\u0631\u064A\u062F\u064A",save:"\u062D\u0641\u0638",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0627\u0644\u0634\u0631\u0643\u0629 \u0628\u0646\u062C\u0627\u062D"},custom_fields:{title:"\u0627\u0644\u062D\u0642\u0648\u0644 \u0627\u0644\u0645\u062E\u0635\u0635\u0629",section_description:"\u0642\u0645 \u0628\u062A\u062E\u0635\u064A\u0635 \u0641\u0648\u0627\u062A\u064A\u0631\u0643 \u0648\u062A\u0642\u062F\u064A\u0631\u0627\u062A\u0643 \u0648\u0625\u064A\u0635\u0627\u0644\u0627\u062A \u0627\u0644\u062F\u0641\u0639 \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u062D\u0642\u0648\u0644 \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0643. \u062A\u0623\u0643\u062F \u0645\u0646 \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u062D\u0642\u0648\u0644 \u0627\u0644\u0645\u0636\u0627\u0641\u0629 \u0623\u062F\u0646\u0627\u0647 \u0641\u064A \u062A\u0646\u0633\u064A\u0642\u0627\u062A \u0627\u0644\u0639\u0646\u0627\u0648\u064A\u0646 \u0641\u064A \u0635\u0641\u062D\u0629 \u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062A\u062E\u0635\u064A\u0635.",add_custom_field:"\u0625\u0636\u0627\u0641\u0629 \u062D\u0642\u0644 \u0645\u062E\u0635\u0635",edit_custom_field:"\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u062D\u0642\u0644 \u0627\u0644\u0645\u062E\u0635\u0635",field_name:"\u0627\u0633\u0645 \u0627\u0644\u062D\u0642\u0644",label:"\u0636\u0639 \u0627\u0644\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0646\u0627\u0633\u0628\u0629",type:"\u0646\u0648\u0639",name:"\u0627\u0633\u0645",required:"\u0645\u0637\u0644\u0648\u0628",placeholder:"\u0639\u0646\u0635\u0631 \u0646\u0627\u0626\u0628",help_text:"\u0646\u0635 \u0627\u0644\u0645\u0633\u0627\u0639\u062F\u0629",default_value:"\u0627\u0644\u0642\u064A\u0645\u0629 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A\u0629",prefix:"\u0627\u062E\u062A\u0635\u0627\u0631",starting_number:"\u0631\u0642\u0645 \u0627\u0644\u0628\u062F\u0627\u064A\u0629",model:"\u0646\u0645\u0648\u0630\u062C",help_text_description:"\u0623\u062F\u062E\u0644 \u0628\u0639\u0636 \u0627\u0644\u0646\u0635 \u0644\u0645\u0633\u0627\u0639\u062F\u0629 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645\u064A\u0646 \u0639\u0644\u0649 \u0641\u0647\u0645 \u0627\u0644\u063A\u0631\u0636 \u0645\u0646 \u0647\u0630\u0627 \u0627\u0644\u062D\u0642\u0644 \u0627\u0644\u0645\u062E\u0635\u0635.",suffix:"\u0644\u0627\u062D\u0642\u0629",yes:"\u0646\u0639\u0645",no:"\u0644\u0627",order:"\u0637\u0644\u0628",custom_field_confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0639\u0627\u062F\u0629 \u0647\u0630\u0627 \u0627\u0644\u062D\u0642\u0644 \u0627\u0644\u0645\u062E\u0635\u0635",already_in_use:"\u0627\u0644\u062D\u0642\u0644 \u0627\u0644\u0645\u062E\u0635\u0635 \u0642\u064A\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0628\u0627\u0644\u0641\u0639\u0644",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u062D\u0642\u0644 \u0627\u0644\u0645\u062E\u0635\u0635 \u0628\u0646\u062C\u0627\u062D",options:"\u062E\u064A\u0627\u0631\u0627\u062A",add_option:"\u0623\u0636\u0641 \u062E\u064A\u0627\u0631\u0627\u062A",add_another_option:"\u0623\u0636\u0641 \u062E\u064A\u0627\u0631\u064B\u0627 \u0622\u062E\u0631",sort_in_alphabetical_order:"\u0641\u0631\u0632 \u062D\u0633\u0628 \u0627\u0644\u062A\u0631\u062A\u064A\u0628 \u0627\u0644\u0623\u0628\u062C\u062F\u064A",add_options_in_bulk:"\u0623\u0636\u0641 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A \u0628\u0634\u0643\u0644 \u0645\u062C\u0645\u0651\u0639",use_predefined_options:"\u0627\u0633\u062A\u062E\u062F\u0645 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629 \u0645\u0633\u0628\u0642\u064B\u0627",select_custom_date:"\u062D\u062F\u062F \u0627\u0644\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0645\u062E\u0635\u0635",select_relative_date:"\u062D\u062F\u062F \u0627\u0644\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0646\u0633\u0628\u064A",ticked_by_default:"\u064A\u062A\u0645 \u062A\u062D\u062F\u064A\u062F\u0647 \u0628\u0634\u0643\u0644 \u0627\u0641\u062A\u0631\u0627\u0636\u064A",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u062D\u0642\u0644 \u0627\u0644\u0645\u062E\u0635\u0635 \u0628\u0646\u062C\u0627\u062D",added_message:"\u062A\u0645\u062A \u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u062D\u0642\u0644 \u0627\u0644\u0645\u062E\u0635\u0635 \u0628\u0646\u062C\u0627\u062D"},customization:{customization:"\u0627\u0644\u062A\u062E\u0635\u064A\u0635",save:"\u062D\u0641\u0638",addresses:{title:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",section_description:"\u064A\u0645\u0643\u0646\u0643 \u0636\u0628\u0637 \u0639\u0646\u0648\u0627\u0646 \u0625\u0631\u0633\u0627\u0644 \u0641\u0648\u0627\u062A\u064A\u0631 \u0627\u0644\u0639\u0645\u0644\u0627\u0621 \u0648\u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0634\u062D\u0646 \u0627\u0644\u0639\u0645\u0644\u0627\u0621 (\u0645\u0639\u0631\u0648\u0636 \u0641\u064A PDF \u0641\u0642\u0637).",customer_billing_address:"\u0639\u0646\u0648\u0627\u0646 \u0641\u0648\u0627\u062A\u064A\u0631 \u0627\u0644\u0639\u0645\u064A\u0644",customer_shipping_address:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u062D\u0646 \u0644\u0644\u0639\u0645\u064A\u0644",company_address:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0631\u0643\u0629",insert_fields:"\u0623\u0636\u0641 \u062D\u0642\u0644",contact:"\u062A\u0648\u0627\u0635\u0644",address:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",display_name:"\u0627\u0644\u0627\u0633\u0645 \u0627\u0644\u0638\u0627\u0647\u0631",primary_contact_name:"\u0645\u0633\u0624\u0648\u0644 \u0627\u0644\u062A\u0648\u0627\u0635\u0644 \u0627\u0644\u0631\u0626\u064A\u0633\u064A",email:"\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",website:"\u0645\u0648\u0642\u0639 \u0627\u0644\u0625\u0646\u062A\u0631\u0646\u062A",name:"\u0627\u0644\u0627\u0633\u0645",country:"\u0627\u0644\u062F\u0648\u0644\u0629",state:"\u0627\u0644\u0648\u0644\u0627\u064A\u0629/\u0627\u0644\u0645\u0646\u0637\u0642\u0629",city:"\u0627\u0644\u0645\u062F\u064A\u0646\u0629",company_name:"\u0627\u0633\u0645 \u0627\u0644\u0634\u0631\u0643\u0629",address_street_1:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0627\u0631\u0639 1",address_street_2:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0627\u0631\u0639 2",phone:"\u0627\u0644\u0647\u0627\u062A\u0641",zip_code:"\u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0628\u0631\u064A\u062F\u064A",address_setting_updated:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0639\u0646\u0648\u0627\u0646 \u0628\u0646\u062C\u0627\u062D"},updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0627\u0644\u0634\u0631\u0643\u0629 \u0628\u0646\u062C\u0627\u062D",invoices:{title:"\u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631",notes:"\u0645\u0644\u0627\u062D\u0638\u0627\u062A",invoice_prefix:"\u0628\u0627\u062F\u0626\u0629 \u0631\u0642\u0645 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",default_invoice_email_body:"\u0646\u0635 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A \u0644\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",invoice_settings:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",autogenerate_invoice_number:"\u062A\u0631\u0642\u064A\u0645 \u0622\u0644\u064A \u0644\u0644\u0641\u0627\u062A\u0648\u0631\u0629",autogenerate_invoice_number_desc:"\u062A\u0639\u0637\u064A\u0644 \u0627\u0644\u062A\u0631\u0642\u064A\u0645 \u0627\u0644\u0622\u0644\u064A \u060C \u0625\u0630\u0627 \u0643\u0646\u062A \u0644\u0627 \u062A\u0631\u063A\u0628 \u0641\u064A \u0625\u0646\u0634\u0627\u0621 \u0623\u0631\u0642\u0627\u0645 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627 \u0641\u064A \u0643\u0644 \u0645\u0631\u0629 \u062A\u0642\u0648\u0645 \u0641\u064A\u0647\u0627 \u0628\u0625\u0646\u0634\u0627\u0621 \u0641\u0627\u062A\u0648\u0631\u0629 \u062C\u062F\u064A\u062F\u0629.",enter_invoice_prefix:"\u0623\u062F\u062E\u0644 \u0628\u0627\u062F\u0626\u0629 \u0631\u0642\u0645 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",terms_and_conditions:"\u0627\u0644\u0623\u062D\u0643\u0627\u0645 \u0648\u0627\u0644\u0634\u0631\u0648\u0637",company_address_format:"\u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0631\u0643\u0629",shipping_address_format:"\u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u062D\u0646",billing_address_format:"\u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631",invoice_settings_updated:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0625\u0639\u062F\u0627\u062F \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0628\u0646\u062C\u0627\u062D"},estimates:{title:"\u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A",estimate_prefix:"\u0628\u0627\u062F\u0626\u0629 \u0631\u0642\u0645 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",default_estimate_email_body:"\u062A\u0642\u062F\u064A\u0631 \u0646\u0635 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A",estimate_settings:"\u0625\u0639\u062F\u0627\u062F\u062A \u0627\u0644\u062A\u0642\u062F\u064A\u0631",autogenerate_estimate_number:"\u062A\u0631\u0642\u064A\u0645 \u0622\u0644\u064A \u0644\u0644\u062A\u0642\u062F\u064A\u0631",estimate_setting_description:"\u062A\u0639\u0637\u064A\u0644 \u0627\u0644\u062A\u0631\u0642\u064A\u0645 \u0627\u0644\u0622\u0644\u064A \u060C \u0625\u0630\u0627 \u0643\u0646\u062A \u0644\u0627 \u062A\u0631\u063A\u0628 \u0641\u064A \u0625\u0646\u0634\u0627\u0621 \u0623\u0631\u0642\u0627\u0645 \u0627\u0644\u062A\u0642\u062F\u064A\u0631\u0627\u062A \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627 \u0641\u064A \u0643\u0644 \u0645\u0631\u0629 \u062A\u0642\u0648\u0645 \u0641\u064A\u0647\u0627 \u0628\u0625\u0646\u0634\u0627\u0621 \u062A\u0642\u062F\u064A\u0631 \u062C\u062F\u064A\u062F.",enter_estimate_prefix:"\u0623\u062F\u062E\u0644 \u0628\u0627\u062F\u0626\u0629 \u0631\u0642\u0645 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",estimate_setting_updated:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0628\u0646\u062C\u0627\u062D",company_address_format:"\u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0631\u0643\u0629",billing_address_format:"\u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631",shipping_address_format:"\u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u062D\u0646"},payments:{title:"\u0627\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A",description:"Modes of transaction for payments",payment_prefix:"\u0628\u0627\u062F\u0626\u0629 \u0631\u0642\u0645 \u0627\u0644\u062F\u0641\u0639\u0629",default_payment_email_body:"\u0646\u0635 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0644\u0644\u062F\u0641\u0639 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A",payment_settings:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062F\u0641\u0639\u0629",autogenerate_payment_number:"\u062A\u0631\u0642\u064A\u0645 \u0622\u0644\u064A \u0644\u0644\u0645\u062F\u0641\u0648\u0639\u0627\u062A",payment_setting_description:"\u062A\u0639\u0637\u064A\u0644 \u0627\u0644\u062A\u0631\u0642\u064A\u0645 \u0627\u0644\u0622\u0644\u064A \u060C \u0625\u0630\u0627 \u0643\u0646\u062A \u0644\u0627 \u062A\u0631\u063A\u0628 \u0641\u064A \u0625\u0646\u0634\u0627\u0621 \u0623\u0631\u0642\u0627\u0645 \u0627\u0644\u062F\u0641\u0639\u0629 \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627 \u0641\u064A \u0643\u0644 \u0645\u0631\u0629 \u062A\u0642\u0648\u0645 \u0641\u064A\u0647\u0627 \u0628\u0625\u0646\u0634\u0627\u0621 \u062F\u0641\u0639\u0629 \u062C\u062F\u064A\u062F\u0629.",enter_payment_prefix:"\u0623\u062F\u062E\u0644 \u0628\u0627\u062F\u0626\u0629 \u0631\u0642\u0645 \u0627\u0644\u062F\u0641\u0639\u0629",payment_setting_updated:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062F\u0641\u0639\u0629 \u0628\u0646\u062C\u0627\u062D",payment_modes:"\u0637\u0631\u0642 \u0627\u0644\u062F\u0641\u0639",add_payment_mode:"\u0623\u0636\u0641 \u0648\u0636\u0639 \u0627\u0644\u062F\u0641\u0639",edit_payment_mode:"\u062A\u062D\u0631\u064A\u0631 \u0648\u0636\u0639 \u0627\u0644\u062F\u0641\u0639",mode_name:"\u0627\u0633\u0645 \u0627\u0644\u0648\u0636\u0639",payment_mode_added:"\u062A\u0645\u062A \u0625\u0636\u0627\u0641\u0629 \u0648\u0636\u0639 \u0627\u0644\u062F\u0641\u0639",payment_mode_updated:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0648\u0636\u0639 \u0627\u0644\u062F\u0641\u0639",payment_mode_confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0639\u0627\u062F\u0629 \u0648\u0636\u0639 \u0627\u0644\u062F\u0641\u0639 \u0647\u0630\u0627",already_in_use:"\u0648\u0636\u0639 \u0627\u0644\u062F\u0641\u0639 \u0642\u064A\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0628\u0627\u0644\u0641\u0639\u0644",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0648\u0636\u0639 \u0627\u0644\u062F\u0641\u0639 \u0628\u0646\u062C\u0627\u062D",company_address_format:"\u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0634\u0631\u0643\u0629",from_customer_address_format:"\u0645\u0646 \u062A\u0646\u0633\u064A\u0642 \u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0639\u0645\u064A\u0644"},items:{title:"\u0627\u0644\u0639\u0646\u0627\u0635\u0631",units:"\u0627\u0644\u0648\u062D\u062F\u0627\u062A",add_item_unit:"\u0625\u0636\u0627\u0641\u0629 \u0648\u062D\u062F\u0629 \u0639\u0646\u0635\u0631",edit_item_unit:"\u062A\u062D\u0631\u064A\u0631 \u0648\u062D\u062F\u0629 \u0627\u0644\u0639\u0646\u0627\u0635\u0631",unit_name:"\u0625\u0633\u0645 \u0627\u0644\u0648\u062D\u062F\u0629",item_unit_added:"\u062A\u0645\u062A \u0625\u0636\u0627\u0641\u0629 \u0648\u062D\u062F\u0629 \u0627\u0644\u0639\u0646\u0635\u0631",item_unit_updated:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0648\u062D\u062F\u0629 \u0627\u0644\u0639\u0646\u0635\u0631",item_unit_confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062F\u0627\u062F \u0648\u062D\u062F\u0629 \u0627\u0644\u0639\u0646\u0635\u0631 \u0647\u0630\u0647",already_in_use:"\u0648\u062D\u062F\u0629 \u0627\u0644\u0639\u0646\u0635\u0631 \u0642\u064A\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0628\u0627\u0644\u0641\u0639\u0644",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0648\u062D\u062F\u0629 \u0627\u0644\u0639\u0646\u0635\u0631 \u0628\u0646\u062C\u0627\u062D"},notes:{title:"\u0645\u0644\u0627\u062D\u0638\u0627\u062A",description:"Save time by creating notes and reusing them on your invoices, estimates & payments.",notes:"\u0645\u0644\u0627\u062D\u0638\u0627\u062A",type:"\u0646\u0648\u0639",add_note:"\u0627\u0636\u0641 \u0645\u0644\u0627\u062D\u0638\u0629",add_new_note:"\u0623\u0636\u0641 \u0645\u0644\u0627\u062D\u0638\u0629 \u062C\u062F\u064A\u062F\u0629",name:"\u0627\u0633\u0645",edit_note:"\u062A\u062D\u0631\u064A\u0631 \u0645\u0630\u0643\u0631\u0629",note_added:"\u062A\u0645\u062A \u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0645\u0644\u0627\u062D\u0638\u0629",note_updated:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0645\u0644\u0627\u062D\u0638\u0629",note_confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0639\u0627\u062F\u0629 \u0647\u0630\u0647 \u0627\u0644\u0645\u0644\u0627\u062D\u0638\u0629",already_in_use:"\u0627\u0644\u0645\u0644\u0627\u062D\u0638\u0629 \u0642\u064A\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0628\u0627\u0644\u0641\u0639\u0644",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0645\u0644\u0627\u062D\u0638\u0629 \u0628\u0646\u062C\u0627\u062D"}},account_settings:{profile_picture:"\u0635\u0648\u0631\u0629 \u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0634\u062E\u0635\u064A",name:"\u0627\u0644\u0627\u0633\u0645",email:"\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",password:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",confirm_password:"\u0623\u0639\u062F \u0643\u062A\u0627\u0628\u0629 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",account_settings:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062C\u0633\u0627\u0628",save:"\u062D\u0641\u0638",section_description:"\u064A\u0645\u0643\u0646\u0643 \u062A\u062D\u062F\u064A\u062B \u0627\u0633\u0645\u0643 \u0648\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0648\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0646\u0645\u0648\u0630\u062C \u0623\u062F\u0646\u0627\u0647.",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062D\u0633\u0627\u0628 \u0628\u0646\u062C\u0627\u062D"},user_profile:{name:"\u0627\u0644\u0627\u0633\u0645",email:"\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",password:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",confirm_password:"\u0623\u0639\u062F \u0643\u062A\u0627\u0628\u0629 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631"},notification:{title:"\u0627\u0644\u0625\u0634\u0639\u0627\u0631\u0627\u062A",email:"\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0625\u0634\u0639\u0627\u0631\u0627\u062A \u0625\u0644\u0649",description:"\u0645\u0627 \u0647\u064A \u0625\u0634\u0639\u0627\u0631\u0627\u062A \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0627\u0644\u062A\u064A \u062A\u0631\u063A\u0628 \u0641\u064A \u062A\u0644\u0642\u064A\u0647\u0627 \u0639\u0646\u062F\u0645\u0627 \u064A\u062A\u063A\u064A\u0631 \u0634\u064A\u0621 \u0645\u0627\u061F",invoice_viewed:"\u062A\u0645 \u0639\u0631\u0636 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",invoice_viewed_desc:"\u0639\u0646\u062F\u0645\u0627 \u064A\u0633\u062A\u0639\u0631\u0636 \u0639\u0645\u064A\u0644\u0643 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0627\u0644\u0645\u0631\u0633\u0644\u0629 \u0639\u0628\u0631 \u0627\u0644\u0634\u0627\u0634\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629.",estimate_viewed:"\u062A\u0645 \u0639\u0631\u0636 \u0627\u0644\u062A\u0642\u062F\u064A\u0631",estimate_viewed_desc:"\u0639\u0646\u062F\u0645\u0627 \u064A\u0633\u062A\u0639\u0631\u0636 \u0639\u0645\u064A\u0644\u0643 \u0627\u0644\u062A\u0642\u062F\u064A\u0631 \u0627\u0644\u0645\u0631\u0633\u0644\u0629 \u0639\u0628\u0631 \u0627\u0644\u0634\u0627\u0634\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629.",save:"\u062D\u0641\u0638",email_save_message:"\u062A\u0645 \u062D\u0641\u0638 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0628\u0646\u062C\u0627\u062D",please_enter_email:"\u0641\u0636\u0644\u0627\u064B \u0623\u062F\u062E\u0644 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A"},tax_types:{title:"\u0623\u0646\u0648\u0627\u0639 \u0627\u0644\u0636\u0631\u0627\u0626\u0628",add_tax:"\u0623\u0636\u0641 \u0636\u0631\u064A\u0628\u0629",edit_tax:"\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u0636\u0631\u064A\u0628\u0629",description:"\u064A\u0645\u0643\u0646\u0643 \u0625\u0636\u0627\u0641\u0629 \u0623\u0648 \u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0636\u0631\u0627\u0626\u0628 \u0643\u0645\u0627 \u064A\u062D\u0644\u0648 \u0644\u0643. \u0627\u0644\u0646\u0638\u0627\u0645 \u064A\u062F\u0639\u0645 \u0627\u0644\u0636\u0631\u0627\u0626\u0628 \u0639\u0644\u0649 \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0641\u0631\u062F\u064A\u0629 \u0648\u0643\u0630\u0644\u0643 \u0639\u0644\u0649 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629.",add_new_tax:"\u0625\u0636\u0627\u0641\u0629 \u0636\u0631\u064A\u0628\u0629 \u062C\u062F\u064A\u062F\u0629",tax_settings:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0636\u0631\u064A\u0628\u0629",tax_per_item:"\u0636\u0631\u064A\u0628\u0629 \u0639\u0644\u0649 \u0627\u0644\u0635\u0646\u0641",tax_name:"\u0627\u0633\u0645 \u0627\u0644\u0636\u0631\u064A\u0628\u0629",compound_tax:"\u0636\u0631\u064A\u0628\u0629 \u0645\u062C\u0645\u0639\u0629",percent:"\u0646\u0633\u0628\u0629 \u0645\u0624\u0648\u064A\u0629",action:"\u0625\u062C\u0631\u0627\u0621",tax_setting_description:"\u0642\u0645 \u0628\u062A\u0645\u0643\u064A\u0646 \u0647\u0630\u0627 \u0625\u0630\u0627 \u0643\u0646\u062A \u062A\u0631\u064A\u062F \u0625\u0636\u0627\u0641\u0629 \u0636\u0631\u0627\u0626\u0628 \u0644\u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0627\u0644\u0641\u0631\u062F\u064A\u0629. \u0628\u0634\u0643\u0644 \u0627\u0641\u062A\u0631\u0627\u0636\u064A \u060C \u062A\u0636\u0627\u0641 \u0627\u0644\u0636\u0631\u0627\u0626\u0628 \u0645\u0628\u0627\u0634\u0631\u0629 \u0625\u0644\u0649 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629.",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0646\u0648\u0639 \u0627\u0644\u0636\u0631\u064A\u0628\u0629 \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0646\u0648\u0639 \u0627\u0644\u0636\u0631\u064A\u0628\u0629 \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0646\u0648\u0639 \u0627\u0644\u0636\u0631\u064A\u0628\u0629 \u0628\u0646\u062C\u0627\u062D",confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0646\u0648\u0639 \u0627\u0644\u0636\u0631\u064A\u0629 \u0647\u0630\u0627",already_in_use:"\u0636\u0631\u064A\u0628\u0629 \u0642\u064A\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645"},expense_category:{title:"\u0641\u0626\u0627\u062A \u0627\u0644\u0646\u0641\u0642\u0627\u062A",action:"\u0625\u062C\u0631\u0627\u0621",description:"\u0627\u0644\u0641\u0626\u0627\u062A \u0645\u0637\u0644\u0648\u0628\u0629 \u0644\u0625\u0636\u0627\u0641\u0629 \u0625\u062F\u062E\u0627\u0644\u0627\u062A \u0627\u0644\u0646\u0641\u0642\u0627\u062A. \u064A\u0645\u0643\u0646\u0643 \u0625\u0636\u0627\u0641\u0629 \u0623\u0648 \u0625\u0632\u0627\u0644\u0629 \u0647\u0630\u0647 \u0627\u0644\u0641\u0626\u0627\u062A \u0648\u0641\u0642\u064B\u0627 \u0644\u062A\u0641\u0636\u064A\u0644\u0627\u062A\u0643.",add_new_category:"\u0625\u0636\u0627\u0641\u0629 \u0641\u0626\u0629 \u062C\u062F\u064A\u062F\u0629",add_category:"\u0625\u0636\u0627\u0641\u0629 \u0641\u0626\u0629",edit_category:"\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u0641\u0626\u0629",category_name:"\u0627\u0633\u0645 \u0627\u0644\u0641\u0626\u0629",category_description:"\u0627\u0644\u0648\u0635\u0641",created_message:"\u062A\u0645 \u0625\u0646\u0634\u0627\u0621 \u0646\u0648\u0639 \u0627\u0644\u0646\u0641\u0642\u0627\u062A \u0628\u0646\u062C\u0627\u062D",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0646\u0648\u0639 \u0627\u0644\u0646\u0641\u0642\u0627\u062A \u0628\u0646\u062C\u0627\u062D",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0646\u0648\u0639 \u0627\u0644\u0646\u0641\u0642\u0627\u062A \u0628\u0646\u062C\u0627\u062D",confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0631\u062C\u0627\u0639 \u0646\u0648\u0639 \u0627\u0644\u0646\u0641\u0642\u0627\u062A \u0647\u0630\u0627",already_in_use:"\u0646\u0648\u0639 \u0642\u064A\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645"},preferences:{currency:"\u0627\u0644\u0639\u0645\u0644\u0629",default_language:"\u0627\u0644\u0644\u063A\u0629 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A\u0629",time_zone:"\u0627\u0644\u0645\u0646\u0637\u0629 \u0627\u0644\u0632\u0645\u0646\u064A\u0629",fiscal_year:"\u0627\u0644\u0633\u0646\u0629 \u0627\u0644\u0645\u0627\u0644\u064A\u0629",date_format:"\u0635\u064A\u063A\u0629 \u0627\u0644\u062A\u0627\u0631\u064A\u062E",discount_setting:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062E\u0635\u0645",discount_per_item:"\u062E\u0635\u0645 \u0639\u0644\u0649 \u0627\u0644\u0635\u0646\u0641 ",discount_setting_description:"\u0642\u0645 \u0628\u062A\u0645\u0643\u064A\u0646 \u0647\u0630\u0627 \u0625\u0630\u0627 \u0643\u0646\u062A \u062A\u0631\u064A\u062F \u0625\u0636\u0627\u0641\u0629 \u062E\u0635\u0645 \u0625\u0644\u0649 \u0639\u0646\u0627\u0635\u0631 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629 \u0627\u0644\u0641\u0631\u062F\u064A\u0629. \u0628\u0634\u0643\u0644 \u0627\u0641\u062A\u0631\u0627\u0636\u064A \u060C \u064A\u062A\u0645 \u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u062E\u0635\u0645 \u0645\u0628\u0627\u0634\u0631\u0629 \u0625\u0644\u0649 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629.",save:"\u062D\u0641\u0638",preference:"\u062A\u0641\u0636\u064A\u0644 | \u062A\u0641\u0636\u064A\u0644\u0627\u062A",general_settings:"\u0627\u0644\u062A\u0641\u0636\u064A\u0644\u0627\u062A \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A\u0629 \u0644\u0644\u0646\u0638\u0627\u0645.",updated_message:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u062A\u0641\u0636\u064A\u0644\u0627\u062A \u0628\u0646\u062C\u0627\u062D",select_language:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0644\u063A\u0629",select_time_zone:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0645\u0646\u0637\u0629 \u0627\u0644\u0632\u0645\u0646\u064A\u0629",select_date_format:"Select Date Format",select_financial_year:"\u0627\u062E\u062A\u0631 \u0627\u0644\u0633\u0646\u0629 \u0627\u0644\u0645\u0627\u0644\u064A\u0629"},update_app:{title:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u0638\u0627\u0645",description:"\u064A\u0645\u0643\u0646\u0643 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u0638\u0627\u0645 \u0628\u0633\u0647\u0648\u0644\u0629 \u0639\u0646 \u0637\u0631\u064A\u0642 \u0627\u0644\u0628\u062D\u062B \u0639\u0646 \u062A\u062D\u062F\u064A\u062B \u062C\u062F\u064A\u062F \u0628\u0627\u0644\u0646\u0642\u0631 \u0641\u0648\u0642 \u0627\u0644\u0632\u0631 \u0623\u062F\u0646\u0627\u0647",check_update:"\u062A\u062D\u0642\u0642 \u0645\u0646 \u0627\u0644\u062A\u062D\u062F\u064A\u062B\u0627\u062A",avail_update:"\u062A\u062D\u062F\u064A\u062B \u062C\u062F\u064A\u062F \u0645\u062A\u0648\u0641\u0631",next_version:"\u0627\u0644\u0646\u0633\u062E\u0629 \u0627\u0644\u062C\u062F\u064A\u062F\u0629",requirements:"Requirements",update:"\u062D\u062F\u062B \u0627\u0644\u0622\u0646",update_progress:"\u0642\u064A\u062F \u0627\u0644\u062A\u062D\u062F\u064A\u062B...",progress_text:"\u0633\u0648\u0641 \u064A\u0633\u062A\u063A\u0631\u0642 \u0627\u0644\u062A\u062D\u062F\u064A\u062B \u0628\u0636\u0639 \u062F\u0642\u0627\u0626\u0642. \u064A\u0631\u062C\u0649 \u0639\u062F\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0634\u0627\u0634\u0629 \u0623\u0648 \u0625\u063A\u0644\u0627\u0642 \u0627\u0644\u0646\u0627\u0641\u0630\u0629 \u0642\u0628\u0644 \u0627\u0646\u062A\u0647\u0627\u0621 \u0627\u0644\u062A\u062D\u062F\u064A\u062B",update_success:"\u062A\u0645 \u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u0638\u0627\u0645! \u064A\u0631\u062C\u0649 \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631 \u062D\u062A\u0649 \u064A\u062A\u0645 \u0625\u0639\u0627\u062F\u0629 \u062A\u062D\u0645\u064A\u0644 \u0646\u0627\u0641\u0630\u0629 \u0627\u0644\u0645\u062A\u0635\u0641\u062D \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627.",latest_message:"\u0644\u0627 \u064A\u0648\u062C\u062F \u062A\u062D\u062F\u064A\u062B\u0627\u062A \u0645\u062A\u0648\u0641\u0631\u0629! \u0644\u062F\u064A\u0643 \u062D\u0627\u0644\u064A\u0627\u064B \u0623\u062D\u062F\u062B \u0646\u0633\u062E\u0629.",current_version:"\u0627\u0644\u0646\u0633\u062E\u0629 \u0627\u0644\u062D\u0627\u0644\u064A\u0629",download_zip_file:"\u062A\u0646\u0632\u064A\u0644 \u0645\u0644\u0641 ZIP",unzipping_package:"\u062D\u0632\u0645\u0629 \u0641\u0643 \u0627\u0644\u0636\u063A\u0637",copying_files:"\u0646\u0633\u062E \u0627\u0644\u0645\u0644\u0641\u0627\u062A",running_migrations:"\u0625\u062F\u0627\u0631\u0629 \u0639\u0645\u0644\u064A\u0627\u062A \u0627\u0644\u062A\u0631\u062D\u064A\u0644",finishing_update:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u062A\u0634\u0637\u064A\u0628",update_failed:"\u0641\u0634\u0644 \u0627\u0644\u062A\u062D\u062F\u064A\u062B",update_failed_text:"\u0622\u0633\u0641! \u0641\u0634\u0644 \u0627\u0644\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u062E\u0627\u0635 \u0628\u0643 \u0641\u064A: {step} \u062E\u0637\u0648\u0629"},backup:{title:"\u0627\u0644\u0646\u0633\u062E \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A | \u0627\u0644\u0646\u0633\u062E \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629",description:"\u0627\u0644\u0646\u0633\u062E\u0629 \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629 \u0647\u064A \u0645\u0644\u0641 \u0645\u0636\u063A\u0648\u0637 \u064A\u062D\u062A\u0648\u064A \u0639\u0644\u0649 \u062C\u0645\u064A\u0639 \u0627\u0644\u0645\u0644\u0641\u0627\u062A \u0641\u064A \u0627\u0644\u062F\u0644\u0627\u0626\u0644 \u0627\u0644\u062A\u064A \u062A\u062D\u062F\u062F\u0647\u0627 \u0645\u0639 \u062A\u0641\u0631\u064A\u063A \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u062E\u0627\u0635\u0629 \u0628\u0643",new_backup:"\u0625\u0636\u0627\u0641\u0629 \u0646\u0633\u062E\u0629 \u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629 \u062C\u062F\u064A\u062F\u0629",create_backup:"\u0627\u0646\u0634\u0626 \u0646\u0633\u062E\u0629 \u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629",select_backup_type:"\u062D\u062F\u062F \u0646\u0648\u0639 \u0627\u0644\u0646\u0633\u062E \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A",backup_confirm_delete:"\u0644\u0646 \u062A\u062A\u0645\u0643\u0646 \u0645\u0646 \u0627\u0633\u062A\u0639\u0627\u062F\u0629 \u0647\u0630\u0647 \u0627\u0644\u0646\u0633\u062E\u0629 \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629",path:"\u0645\u0633\u0627\u0631",new_disk:"\u0642\u0631\u0635 \u062C\u062F\u064A\u062F",created_at:"\u0623\u0646\u0634\u0626\u062A \u0641\u064A",size:"size",dropbox:"\u0628\u0635\u0646\u062F\u0648\u0642 \u0627\u0644\u0625\u0633\u0642\u0627\u0637",local:"\u0645\u062D\u0644\u064A",healthy:"\u0635\u062D\u064A",amount_of_backups:"\u0643\u0645\u064A\u0629 \u0627\u0644\u0646\u0633\u062E \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629",newest_backups:"\u0623\u062D\u062F\u062B \u0627\u0644\u0646\u0633\u062E \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629",used_storage:"\u0627\u0644\u062A\u062E\u0632\u064A\u0646 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645",select_disk:"\u062D\u062F\u062F \u0627\u0644\u0642\u0631\u0635",action:"\u0639\u0645\u0644",deleted_message:"\u062A\u0645 \u062D\u0630\u0641 \u0627\u0644\u0646\u0633\u062E\u0629 \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629 \u0628\u0646\u062C\u0627\u062D",created_message:"Backup created successfully",invalid_disk_credentials:"\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0639\u062A\u0645\u0627\u062F \u063A\u064A\u0631 \u0635\u0627\u0644\u062D\u0629 \u0644\u0644\u0642\u0631\u0635 \u0627\u0644\u0645\u062D\u062F\u062F"},disk:{title:"\u0642\u0631\u0635 \u0627\u0644\u0645\u0644\u0641\u0627\u062A | \u0623\u0642\u0631\u0627\u0635 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",description:"\u0628\u0634\u0643\u0644 \u0627\u0641\u062A\u0631\u0627\u0636\u064A \u060C \u0633\u062A\u0633\u062A\u062E\u062F\u0645 Crater \u0627\u0644\u0642\u0631\u0635 \u0627\u0644\u0645\u062D\u0644\u064A \u0644\u062D\u0641\u0638 \u0627\u0644\u0646\u0633\u062E \u0627\u0644\u0627\u062D\u062A\u064A\u0627\u0637\u064A\u0629 \u0648\u0627\u0644\u0623\u0641\u0627\u062A\u0627\u0631 \u0648\u0645\u0644\u0641\u0627\u062A \u0627\u0644\u0635\u0648\u0631 \u0627\u0644\u0623\u062E\u0631\u0649. \u064A\u0645\u0643\u0646\u0643 \u062A\u0643\u0648\u064A\u0646 \u0623\u0643\u062B\u0631 \u0645\u0646 \u0628\u0631\u0627\u0645\u062C \u062A\u0634\u063A\u064A\u0644 \u0642\u0631\u0635 \u0645\u062B\u0644 DigitalOcean \u0648 S3 \u0648 Dropbox \u0648\u0641\u0642\u064B\u0627 \u0644\u062A\u0641\u0636\u064A\u0644\u0627\u062A\u0643.",created_at:"\u0623\u0646\u0634\u0626\u062A \u0641\u064A",dropbox:"\u0628\u0635\u0646\u062F\u0648\u0642 \u0627\u0644\u0625\u0633\u0642\u0627\u0637",name:"\u0627\u0633\u0645",driver:"\u0633\u0627\u0626\u0642",disk_type:"\u0646\u0648\u0639",disk_name:"\u0627\u0633\u0645 \u0627\u0644\u0642\u0631\u0635",new_disk:"\u0625\u0636\u0627\u0641\u0629 \u0642\u0631\u0635 \u062C\u062F\u064A\u062F",filesystem_driver:"\u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0634\u063A\u064A\u0644 \u0646\u0638\u0627\u0645 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",local_driver:"\u0633\u0627\u0626\u0642 \u0645\u062D\u0644\u064A",local_root:"\u0627\u0644\u062C\u0630\u0631 \u0627\u0644\u0645\u062D\u0644\u064A",public_driver:"\u0633\u0627\u0626\u0642 \u0639\u0627\u0645",public_root:"\u0627\u0644\u062C\u0630\u0631 \u0627\u0644\u0639\u0627\u0645",public_url:"URL \u0627\u0644\u0639\u0627\u0645",public_visibility:"\u0627\u0644\u0631\u0624\u064A\u0629 \u0627\u0644\u0639\u0627\u0645\u0629",media_driver:"\u0633\u0627\u0626\u0642 \u0648\u0633\u0627\u0626\u0637",media_root:"\u062C\u0630\u0631 \u0627\u0644\u0648\u0633\u0627\u0626\u0637",aws_driver:"\u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0634\u063A\u064A\u0644 AWS",aws_key:"\u0645\u0641\u062A\u0627\u062D AWS",aws_secret:"AWS Secret",aws_region:"\u0645\u0646\u0637\u0642\u0629 AWS",aws_bucket:"\u062D\u0627\u0648\u064A\u0629 AWS",aws_root:"AWS \u0627\u0644\u062C\u0630\u0631",do_spaces_type:"\u0647\u0644 \u0646\u0648\u0639 \u0627\u0644\u0645\u0633\u0627\u062D\u0627\u062A",do_spaces_key:"\u0645\u0641\u062A\u0627\u062D Do Spaces",do_spaces_secret:"\u0647\u0644 \u0627\u0644\u0645\u0633\u0627\u062D\u0627\u062A \u0633\u0631\u064A\u0629",do_spaces_region:"\u0647\u0644 \u0645\u0646\u0637\u0642\u0629 \u0627\u0644\u0645\u0633\u0627\u062D\u0627\u062A",do_spaces_bucket:"\u0647\u0644 \u062F\u0644\u0648 \u0627\u0644\u0645\u0633\u0627\u062D\u0627\u062A",do_spaces_endpoint:"\u0642\u0645 \u0628\u0639\u0645\u0644 \u0646\u0642\u0637\u0629 \u0646\u0647\u0627\u064A\u0629 \u0644\u0644\u0645\u0633\u0627\u0641\u0627\u062A",do_spaces_root:"\u0639\u0645\u0644 \u0627\u0644\u062C\u0630\u0631 \u0644\u0644\u0645\u0633\u0627\u0641\u0627\u062A",dropbox_type:"\u0646\u0648\u0639 Dropbox",dropbox_token:"\u0631\u0645\u0632 Dropbox",dropbox_key:"\u0645\u0641\u062A\u0627\u062D Dropbox",dropbox_secret:"Dropbox Secret",dropbox_app:"\u062A\u0637\u0628\u064A\u0642 Dropbox",dropbox_root:"\u062C\u0630\u0631 Dropbox",default_driver:"\u0628\u0631\u0646\u0627\u0645\u062C \u0627\u0644\u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A",is_default:"\u0623\u0645\u0631 \u0627\u0641\u062A\u0631\u0627\u0636\u064A",set_default_disk:"\u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u0642\u0631\u0635 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A",success_set_default_disk:"Disk set as default successfully",save_pdf_to_disk:"\u062D\u0641\u0638 \u0645\u0644\u0641\u0627\u062A PDF \u0639\u0644\u0649 \u0627\u0644\u0642\u0631\u0635",disk_setting_description:"\u0642\u0645 \u0628\u062A\u0645\u0643\u064A\u0646 \u0647\u0630\u0627 \u060C \u0625\u0630\u0627 \u0643\u0646\u062A \u062A\u0631\u063A\u0628 \u0641\u064A \u062D\u0641\u0638 \u0646\u0633\u062E\u0629 \u0645\u0646 \u0643\u0644 \u0641\u0627\u062A\u0648\u0631\u0629 \u060C \u062A\u0642\u062F\u064A\u0631 \u0648\u0625\u064A\u0635\u0627\u0644 \u062F\u0641\u0639 PDF \u0639\u0644\u0649 \u0627\u0644\u0642\u0631\u0635 \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A \u0627\u0644\u062E\u0627\u0635 \u0628\u0643 \u062A\u0644\u0642\u0627\u0626\u064A\u064B\u0627. \u0633\u064A\u0624\u062F\u064A \u062A\u0634\u063A\u064A\u0644 \u0647\u0630\u0627 \u0627\u0644\u062E\u064A\u0627\u0631 \u0625\u0644\u0649 \u062A\u0642\u0644\u064A\u0644 \u0648\u0642\u062A \u0627\u0644\u062A\u062D\u0645\u064A\u0644 \u0639\u0646\u062F \u0639\u0631\u0636 \u0645\u0644\u0641\u0627\u062A PDF.",select_disk:"\u062D\u062F\u062F \u0627\u0644\u0642\u0631\u0635",disk_settings:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0642\u0631\u0635",confirm_delete:"Your existing files & folders in the specified disk will not be affected but your disk configuration will be deleted from Crater",action:"\u0639\u0645\u0644",edit_file_disk:"Edit File Disk",success_create:"\u062A\u0645\u062A \u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0642\u0631\u0635 \u0628\u0646\u062C\u0627\u062D",success_update:"Disk updated successfully",error:"\u0641\u0634\u0644 \u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0642\u0631\u0635",deleted_message:"File Disk deleted successfully",disk_variables_save_successfully:"\u062A\u0645 \u062A\u0643\u0648\u064A\u0646 \u0627\u0644\u0642\u0631\u0635 \u0628\u0646\u062C\u0627\u062D",disk_variables_save_error:"\u0641\u0634\u0644 \u062A\u0643\u0648\u064A\u0646 \u0627\u0644\u0642\u0631\u0635.",invalid_disk_credentials:"\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0639\u062A\u0645\u0627\u062F \u063A\u064A\u0631 \u0635\u0627\u0644\u062D\u0629 \u0644\u0644\u0642\u0631\u0635 \u0627\u0644\u0645\u062D\u062F\u062F"}},So={account_info:"\u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0627\u0644\u062D\u0633\u0627\u0628",account_info_desc:"\u0633\u064A\u062A\u0645 \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u062A\u0641\u0627\u0635\u064A\u0644 \u0623\u062F\u0646\u0627\u0647 \u0644\u0625\u0646\u0634\u0627\u0621 \u062D\u0633\u0627\u0628 \u0627\u0644\u0645\u0633\u0624\u0648\u0644 \u0627\u0644\u0631\u0626\u064A\u0633\u064A. \u0643\u0645\u0627 \u064A\u0645\u0643\u0646\u0643 \u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u062A\u0641\u0627\u0635\u064A\u0644 \u0641\u064A \u0623\u064A \u0648\u0642\u062A \u0628\u0639\u062F \u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644.",name:"\u0627\u0644\u0627\u0633\u0645",email:"\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",password:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",confirm_password:"\u0623\u0639\u062F \u0643\u062A\u0627\u0628\u0629 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",save_cont:"\u062D\u0641\u0638 \u0648\u0627\u0633\u062A\u0645\u0631\u0627\u0631",company_info:"\u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0627\u0644\u0634\u0631\u0643\u0629",company_info_desc:"\u0633\u064A\u062A\u0645 \u0639\u0631\u0636 \u0647\u0630\u0647 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0639\u0644\u0649 \u0627\u0644\u0641\u0648\u0627\u062A\u064A\u0631. \u0644\u0627\u062D\u0638 \u0623\u0646\u0647 \u064A\u0645\u0643\u0646\u0643 \u062A\u0639\u062F\u064A\u0644 \u0647\u0630\u0627 \u0644\u0627\u062D\u0642\u064B\u0627 \u0641\u064A \u0635\u0641\u062D\u0629 \u0627\u0644\u0625\u0639\u062F\u0627\u062F\u0627\u062A.",company_name:"\u0627\u0633\u0645 \u0627\u0644\u0634\u0631\u0643\u0629",company_logo:"\u0634\u0639\u0627\u0631 \u0627\u0644\u0634\u0631\u0643\u0629",logo_preview:"\u0627\u0633\u062A\u0639\u0631\u0627\u0636 \u0627\u0644\u0634\u0639\u0627\u0631",preferences:"\u0627\u0644\u062A\u0641\u0636\u064A\u0644\u0627\u062A",preferences_desc:"\u0627\u0644\u062A\u0641\u0636\u064A\u0644\u0627\u062A \u0627\u0644\u0627\u0641\u062A\u0631\u0627\u0636\u064A\u0629 \u0644\u0644\u0646\u0638\u0627\u0645",country:"\u0627\u0644\u062F\u0648\u0644\u0629",state:"\u0627\u0644\u0648\u0644\u0627\u064A\u0629/\u0627\u0644\u0645\u0646\u0637\u0642\u0629",city:"\u0627\u0644\u0645\u062F\u064A\u0646\u0629",address:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",street:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646 1 | \u0627\u0644\u0639\u0646\u0648\u0627\u0646 2",phone:"\u0627\u0644\u0647\u0627\u062A\u0641",zip_code:"\u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0628\u0631\u064A\u062F\u064A",go_back:"\u0644\u0644\u062E\u0644\u0641",currency:"\u0627\u0644\u0639\u0645\u0644\u0629",language:"\u0627\u0644\u0644\u063A\u0629",time_zone:"\u0627\u0644\u0645\u0646\u0637\u0629 \u0627\u0644\u0632\u0645\u0646\u064A\u0629",fiscal_year:"\u0627\u0644\u0633\u0646\u0629 \u0627\u0644\u0645\u0627\u0644\u064A\u0629",date_format:"\u0635\u064A\u063A\u0629 \u0627\u0644\u062A\u0627\u0631\u064A\u062E",from_address:"\u0645\u0646 \u0627\u0644\u0639\u0646\u0648\u0627\u0646",username:"\u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645",next:"\u0627\u0644\u062A\u0627\u0644\u064A",continue:"\u0627\u0633\u062A\u0645\u0631\u0627\u0631",skip:"\u062A\u062E\u0637\u064A",database:{database:"\u0639\u0646\u0648\u0627\u0646 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",connection:"\u0627\u062A\u0635\u0627\u0644 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",host:"\u062E\u0627\u062F\u0645 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",port:"\u0645\u0646\u0641\u0630 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",password:"\u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",app_url:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0625\u0646\u062A\u0631\u0646\u062A \u0644\u0644\u0646\u0638\u0627\u0645",app_domain:"App Domain",username:"\u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u0644\u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",db_name:"\u0633\u0645 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",db_path:"Database Path",desc:"\u0642\u0645 \u0628\u0625\u0646\u0634\u0627\u0621 \u0642\u0627\u0639\u062F\u0629 \u0628\u064A\u0627\u0646\u0627\u062A \u0639\u0644\u0649 \u0627\u0644\u062E\u0627\u062F\u0645 \u0627\u0644\u062E\u0627\u0635 \u0628\u0643 \u0648\u062A\u0639\u064A\u064A\u0646 \u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0627\u0639\u062A\u0645\u0627\u062F \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0646\u0645\u0648\u0630\u062C \u0623\u062F\u0646\u0627\u0647."},permissions:{permissions:"\u0627\u0644\u0623\u0630\u0648\u0646\u0627\u062A",permission_confirm_title:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F \u0645\u0646 \u0627\u0644\u0627\u0633\u062A\u0645\u0631\u0627\u0631\u061F",permission_confirm_desc:"\u0641\u0634\u0644 \u0641\u062D\u0635 \u0623\u0630\u0648\u0646\u0627\u062A \u0627\u0644\u0645\u062C\u0644\u062F",permission_desc:"\u0641\u064A\u0645\u0627 \u064A\u0644\u064A \u0642\u0627\u0626\u0645\u0629 \u0623\u0630\u0648\u0646\u0627\u062A \u0627\u0644\u0645\u062C\u0644\u062F \u0627\u0644\u0645\u0637\u0644\u0648\u0628\u0629 \u062D\u062A\u0649 \u064A\u0639\u0645\u0644 \u0627\u0644\u062A\u0637\u0628\u064A\u0642. \u0641\u064A \u062D\u0627\u0644\u0629 \u0641\u0634\u0644 \u0641\u062D\u0635 \u0627\u0644\u0625\u0630\u0646 \u060C \u062A\u0623\u0643\u062F \u0645\u0646 \u062A\u062D\u062F\u064A\u062B \u0623\u0630\u0648\u0646\u0627\u062A \u0627\u0644\u0645\u062C\u0644\u062F."},mail:{host:"\u062E\u0627\u062F\u0645 \u0627\u0644\u0628\u0631\u064A\u062F",port:"\u0645\u0646\u0641\u0630 \u0627\u0644\u0628\u0631\u064A\u062F",driver:"\u0645\u0634\u063A\u0644 \u0627\u0644\u0628\u0631\u064A\u062F",secret:"\u0633\u0631\u064A",mailgun_secret:"\u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0633\u0631\u064A \u0644\u0640 Mailgun",mailgun_domain:"\u0627\u0644\u0645\u062C\u0627\u0644",mailgun_endpoint:"\u0627\u0644\u0646\u0647\u0627\u064A\u0629 \u0627\u0644\u0637\u0631\u0641\u064A\u0629 \u0644\u0640 Mailgun",ses_secret:"SES \u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0633\u0631\u064A",ses_key:"SES \u0645\u0641\u062A\u0627\u062D",password:"\u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A",username:"\u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u0644\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",mail_config:"\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A",from_name:"\u0627\u0633\u0645 \u0627\u0644\u0645\u0631\u0633\u0644",from_mail:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0644\u0644\u0645\u0631\u0633\u0644",encryption:"\u0635\u064A\u063A\u0629 \u0627 \u0644\u062A\u0634\u0641\u064A\u0631",mail_config_desc:"\u0623\u062F\u0646\u0627\u0647 \u0647\u0648 \u0646\u0645\u0648\u0630\u062C \u0644\u062A\u0643\u0648\u064A\u0646 \u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0644\u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0626\u0644 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0645\u0646 \u0627\u0644\u062A\u0637\u0628\u064A\u0642. \u064A\u0645\u0643\u0646\u0643 \u0623\u064A\u0636\u064B\u0627 \u062A\u0647\u064A\u0626\u0629 \u0645\u0648\u0641\u0631\u064A \u0627\u0644\u062C\u0647\u0627\u062A \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629 \u0645\u062B\u0644 Sendgrid \u0648 SES \u0625\u0644\u062E."},req:{system_req:"\u0645\u062A\u0637\u0644\u0628\u0627\u062A \u0627\u0644\u0646\u0638\u0627\u0645",php_req_version:"Php (\u0627\u0644\u0646\u0633\u062E\u0629 \u0627\u0644\u0645\u0637\u0644\u0648\u0628\u0629 {version} \u0628\u062D\u062F \u0623\u062F\u0646\u0649)",check_req:"\u0641\u062D\u0635 \u0645\u062A\u0637\u0644\u0628\u0627\u062A \u0627\u0644\u0646\u0638\u0627\u0645",system_req_desc:"\u064A\u062D\u062A\u0648\u064A \u0627\u0644\u0646\u0638\u0627\u0645 \u0639\u0644\u0649 \u0628\u0639\u0636 \u0645\u062A\u0637\u0644\u0628\u0627\u062A \u0627\u0644\u062E\u0627\u062F\u0645. \u062A\u0623\u0643\u062F \u0645\u0646 \u0623\u0646 \u062E\u0627\u062F\u0645\u0643 \u0644\u062F\u064A\u0647 \u0646\u0633\u062E\u0629 php \u0627\u0644\u0645\u0637\u0644\u0648\u0628\u0629 \u0648\u062C\u0645\u064A\u0639 \u0627\u0644\u0627\u0645\u062A\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u0645\u0630\u0643\u0648\u0631\u0629 \u0623\u062F\u0646\u0627\u0647."},errors:{migrate_failed:"\u0641\u0634\u0644 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u062C\u062F\u0627\u0648\u0644",database_variables_save_error:"\u063A\u064A\u0631 \u0642\u0627\u062F\u0631 \u0639\u0644\u0649 \u0627\u0644\u0627\u062A\u0635\u0627\u0644 \u0628\u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u0642\u064A\u0645 \u0627\u0644\u0645\u0642\u062F\u0645\u0629.",mail_variables_save_error:"\u0641\u0634\u0644 \u062A\u0643\u0648\u064A\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A.",connection_failed:"\u0641\u0634\u0644 \u0627\u062A\u0635\u0627\u0644 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",database_should_be_empty:"\u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0641\u0627\u0631\u063A\u0629"},success:{mail_variables_save_successfully:"\u062A\u0645 \u062A\u0643\u0648\u064A\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0628\u0646\u062C\u0627\u062D",database_variables_save_successfully:"\u062A\u0645 \u062A\u0643\u0648\u064A\u0646 \u0642\u0627\u0639\u062F\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0628\u0646\u062C\u0627\u062D."}},Po={invalid_phone:"\u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062A\u0641 \u063A\u064A\u0631 \u0635\u062D\u064A\u062D",invalid_url:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0646\u062A\u0631\u0646\u062A \u063A\u064A\u0631 \u0635\u062D\u064A\u062D (\u0645\u062B\u0627\u0644: http://www.craterapp.com)",invalid_domain_url:"\u0639\u0646\u0648\u0627\u0646 \u0627\u0646\u062A\u0631\u0646\u062A \u063A\u064A\u0631 \u0635\u062D\u064A\u062D (\u0645\u062B\u0627\u0644: craterapp.com)",required:"\u062D\u0642\u0644 \u0645\u0637\u0644\u0648\u0628",email_incorrect:"\u0628\u0631\u064A\u062F \u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u063A\u064A\u0631 \u0635\u062D\u064A\u062D.",email_already_taken:"\u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0645\u0633\u062A\u062E\u062F\u0645 \u0645\u0633\u0628\u0642\u0627\u064B",email_does_not_exist:"\u0644\u0627 \u064A\u0648\u062C\u062F \u0643\u0633\u062A\u062E\u062F\u0645 \u0628\u0647\u0630\u0627 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0627\u0644\u0643\u062A\u0631\u0648\u0646\u064A",item_unit_already_taken:"\u0648\u062D\u062F\u0629 \u0627\u0644\u0628\u0646\u062F \u0642\u062F \u0627\u062A\u062E\u0630\u062A \u0628\u0627\u0644\u0641\u0639\u0644",payment_mode_already_taken:"\u0644\u0642\u062F \u062A\u0645 \u0628\u0627\u0644\u0641\u0639\u0644 \u0623\u062E\u0630 \u0637\u0631\u064A\u0642\u0629 \u0627\u0644\u062F\u0641\u0639",send_reset_link:"\u0623\u0631\u0633\u0627\u0644 \u0631\u0627\u0628\u0637 \u0627\u0633\u062A\u0639\u0627\u062F\u0629 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",not_yet:"\u0644\u064A\u0633 \u0628\u0639\u062F\u061F \u0623\u0639\u062F \u0627\u0644\u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0622\u0646..",password_min_length:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u064A\u062C\u0628 \u0623\u0646 \u062A\u062A\u0643\u0648\u0646 \u0645\u0646 {count} \u0623\u062D\u0631\u0641 \u0639\u0644\u0649 \u0627\u0644\u0623\u0642\u0644",name_min_length:"\u0627\u0644\u0627\u0633\u0645 \u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0643\u0648\u0646 \u0645\u0646 {count} \u0623\u062D\u0631\u0641 \u0639\u0644\u0649 \u0627\u0644\u0623\u0642\u0644",enter_valid_tax_rate:"\u0623\u062F\u062E\u0644 \u0645\u0639\u062F\u0644 \u0627\u0644\u0636\u0631\u064A\u0628\u0629 \u0628\u0634\u0643\u0644 \u0635\u062D\u064A\u062D",numbers_only:"\u0623\u0631\u0642\u0627\u0645 \u0641\u0642\u0637.",characters_only:"\u062D\u0631\u0648\u0641 \u0641\u0642\u0637.",password_incorrect:"\u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0643\u0644\u0645\u0627\u062A \u0627\u0644\u0645\u0631\u0648\u0631 \u0645\u062A\u0637\u0627\u0628\u0642\u0629",password_length:"\u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0628\u0637\u0648\u0644 {count} \u062D\u0631\u0641.",qty_must_greater_than_zero:"\u0627\u0644\u0643\u0645\u064A\u0629 \u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0623\u0643\u0628\u0631 \u0645\u0646 \u0635\u0641\u0631.",price_greater_than_zero:"\u0627\u0644\u0633\u0639\u0631 \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0623\u0643\u0628\u0631 \u0645\u0646 \u0635\u0641\u0631.",payment_greater_than_zero:"\u0627\u0644\u062F\u0641\u0639\u0629 \u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0623\u0643\u0628\u0631 \u0645\u0646 \u0635\u0641\u0631.",payment_greater_than_due_amount:"\u0645\u0628\u0644\u063A \u0627\u0644\u062F\u0641\u0639\u0629 \u0623\u0643\u062B\u0631 \u0645\u0646 \u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0633\u062A\u062D\u0642 \u0644\u0647\u0630\u0647 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629.",quantity_maxlength:"\u064A\u062C\u0628 \u0623\u0644\u0627 \u062A\u0632\u064A\u062F \u0627\u0644\u0643\u0645\u064A\u0629 \u0639\u0646 20 \u0631\u0642\u0645\u0627\u064B.",price_maxlength:"\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u0632\u064A\u062F \u0627\u0644\u0633\u0639\u0631 \u0639\u0646 20 \u0631\u0642\u0645\u0627\u064B.",price_minvalue:"\u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0627\u0644\u0633\u0639\u0631 \u0623\u0643\u0628\u0631 \u0645\u0646 \u0635\u0641\u0631.",amount_maxlength:"\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u0632\u064A\u062F \u0627\u0644\u0645\u0628\u0644\u063A \u0639\u0646 20 \u0631\u0642\u0645\u0627\u064B.",amount_minvalue:"\u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0627\u0644\u0645\u0628\u0644\u063A \u0623\u0643\u0628\u0631 \u0645\u0646 \u0635\u0641\u0631.",description_maxlength:"\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u0632\u064A\u062F \u0627\u0644\u0648\u0635\u0641 \u0639\u0646 255 \u062D\u0631\u0641\u0627\u064B.",subject_maxlength:"Subject should not be greater than 100 characters.",message_maxlength:"Message should not be greater than 255 characters.",maximum_options_error:"\u0627\u0644\u062D\u062F \u0627\u0644\u0623\u0639\u0644\u0649 \u0647\u0648 {max} \u062E\u064A\u0627\u0631\u0627\u062A. \u0642\u0645 \u0628\u0625\u0632\u0627\u0644\u0629 \u0623\u062D\u062F \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A \u0644\u062A\u062D\u062F\u064A\u062F \u062E\u064A\u0627\u0631 \u0622\u062E\u0631.",notes_maxlength:"\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u0632\u064A\u062F \u062D\u062C\u0645 \u0627\u0644\u0645\u0644\u0627\u062D\u0638\u0627\u062A \u0639\u0646 255 \u062D\u0631\u0641\u0627\u064B.",address_maxlength:"\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u0632\u064A\u062F \u0627\u0644\u0639\u0646\u0648\u0627\u0646 \u0639\u0646 255 \u062D\u0631\u0641\u0627\u064B.",ref_number_maxlength:"\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u0632\u064A\u062F \u0627\u0644\u0631\u0642\u0645 \u0627\u0644\u0645\u0631\u062C\u0639\u064A \u0639\u0646 255 \u062D\u0631\u0641\u0627\u064B.",prefix_maxlength:"\u064A\u062C\u0628 \u0623\u0644\u0627 \u062A\u0632\u064A\u062F \u0627\u0644\u0628\u0627\u062F\u0626\u0629 \u0639\u0646 5 \u0623\u062D\u0631\u0641.",something_went_wrong:"\u062E\u0637\u0623 \u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641!"},jo="\u062A\u0642\u062F\u064A\u0631",Do="\u0631\u0642\u0645 \u062A\u0642\u062F\u064A\u0631",Co="\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u062A\u0642\u062F\u064A\u0631",Ao="Expiry date",No="\u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",Eo="\u0631\u0642\u0645 \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",To="\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0641\u0627\u062A\u0648\u0631\u0629",Io="Due date",$o="\u0645\u0644\u0627\u062D\u0638\u0627\u062A",Ro="\u0627\u0644\u0623\u0635\u0646\u0627\u0641",Fo="\u0627\u0644\u0643\u0645\u064A\u0629",Mo="\u0627\u0644\u0633\u0639\u0631",Bo="\u0627\u0644\u062E\u0635\u0645",Vo="\u0627\u0644\u0645\u0628\u0644\u063A \u0627\u0644\u0645\u0637\u0644\u0648\u0628",Oo="Subtotal",Lo="\u0627\u0644\u0625\u062C\u0645\u0627\u0644\u064A",Uo="Payment",Ko="PAYMENT RECEIPT",qo="Payment Date",Wo="\u0631\u0642\u0645 \u0627\u0644\u062F\u0641\u0639\u0629",Zo="\u0646\u0648\u0639 \u0627\u0644\u062F\u0641\u0639\u0629",Ho="Amount Received",Go="EXPENSES REPORT",Yo="TOTAL EXPENSE",Jo="PROFIT & LOSS REPORT",Xo="Sales Customer Report",Qo="Sales Item Report",er="Tax Summary Report",tr="INCOME",ar="NET PROFIT",sr="Sales Report: By Customer",nr="TOTAL SALES",ir="Sales Report: By Item",or="TAX REPORT",rr="TOTAL TAX",dr="\u0623\u0646\u0648\u0627\u0639 \u0627\u0644\u0636\u0631\u0627\u0626\u0628",lr="\u0627\u0644\u0646\u0641\u0642\u0627\u062A",cr="\u0645\u0637\u0644\u0648\u0628 \u0645\u0646,",_r="\u064A\u0634\u062D\u0646 \u0625\u0644\u0649,",ur="Received from:",mr="\u0636\u0631\u064A\u0628\u0629";var pr={navigation:co,general:_o,dashboard:uo,tax_types:mo,global_search:po,customers:go,items:fo,estimates:ho,invoices:vo,payments:yo,expenses:bo,login:ko,users:wo,reports:xo,settings:zo,wizard:So,validation:Po,pdf_estimate_label:jo,pdf_estimate_number:Do,pdf_estimate_date:Co,pdf_estimate_expire_date:Ao,pdf_invoice_label:No,pdf_invoice_number:Eo,pdf_invoice_date:To,pdf_invoice_due_date:Io,pdf_notes:$o,pdf_items_label:Ro,pdf_quantity_label:Fo,pdf_price_label:Mo,pdf_discount_label:Bo,pdf_amount_label:Vo,pdf_subtotal:Oo,pdf_total:Lo,pdf_payment_label:Uo,pdf_payment_receipt_label:Ko,pdf_payment_date:qo,pdf_payment_number:Wo,pdf_payment_mode:Zo,pdf_payment_amount_received_label:Ho,pdf_expense_report_label:Go,pdf_total_expenses_label:Yo,pdf_profit_loss_label:Jo,pdf_sales_customers_label:Xo,pdf_sales_items_label:Qo,pdf_tax_summery_label:er,pdf_income_label:tr,pdf_net_profit_label:ar,pdf_customer_sales_report:sr,pdf_total_sales_label:nr,pdf_item_sales_label:ir,pdf_tax_report_label:or,pdf_total_tax_label:rr,pdf_tax_types_label:dr,pdf_expenses_label:lr,pdf_bill_to:cr,pdf_ship_to:_r,pdf_received_from:ur,pdf_tax_label:mr};const gr={dashboard:"\xDCbersicht",customers:"Kunden",items:"Artikel",invoices:"Rechnungen",expenses:"Kosten",estimates:"Kostenvoranschl\xE4ge",payments:"Zahlungen",reports:"Berichte",settings:"Einstellungen",logout:"Abmelden",users:"Benutzer"},fr={add_company:"Unternehmen hinzuf\xFCgen",view_pdf:"PDF anzeigen",copy_pdf_url:"PDF-Link kopieren",download_pdf:"PDF herunterladen",save:"Speichern",create:"Erstellen",cancel:"Abbrechen",update:"Aktualisieren",deselect:"Abw\xE4hlen",download:"Herunterladen",from_date:"Von Datum",to_date:"bis Datum",from:"Von",to:"bis",sort_by:"Sortieren nach",ascending:"Aufsteigend",descending:"Absteigend",subject:"Betreff",body:"Inhalt",message:"Nachricht",send:"Absenden",go_back:"zur\xFCck",back_to_login:"Zur\xFCck zum Login?",home:"Startseite",filter:"Filter",delete:"L\xF6schen",edit:"Bearbeiten",view:"Anzeigen",add_new_item:"Artikel hinzuf\xFCgen",clear_all:"Alle entfernen",showing:"Anzeigen",of:"von",actions:"Aktionen",subtotal:"ZWISCHENSUMME",discount:"RABATT",fixed:"Festsatz",percentage:"Prozentsatz",tax:"Steuer",total_amount:"GESAMTSUMME",bill_to:"Rechnungsempf\xE4nger",ship_to:"Versand ein",due:"F\xE4llig",draft:"Entwurf",sent:"Gesendet",all:"Alle",select_all:"Alle ausw\xE4hlen",choose_file:"Klicken Sie hier, um eine Datei auszuw\xE4hlen",choose_template:"W\xE4hlen Sie eine Vorlage",choose:"W\xE4hlen",remove:"Entfernen",powered_by:"Betrieben durch",bytefury:"Bytefury",select_a_status:"Status w\xE4hlen",select_a_tax:"Steuersatz w\xE4hlen",search:"Suchen",are_you_sure:"Sind Sie sicher?",list_is_empty:"Liste ist leer.",no_tax_found:"Kein Steuersatz gefunden!",four_zero_four:"Vier hundert vier",you_got_lost:"Hoppla! Du hast dich verirrt!",go_home:"Geh zur\xFCck",test_mail_conf:"E-Mail Konfiguration testen",send_mail_successfully:"E-Mail versendet erfolgreich",setting_updated:"Einstellungen erfolgreich aktualisiert",select_state:"Bundesland w\xE4hlen",select_country:"Land w\xE4hlen",select_city:"Stadt w\xE4hlen",street_1:"Stra\xDFe",street_2:"Zusatz Strasse",action_failed:"Aktion fehlgeschlagen",retry:"Wiederholen",choose_note:"Notiz ausw\xE4hlen",no_note_found:"Keine Notizen gefunden",insert_note:"Notiz einf\xFCgen"},hr={select_year:"Jahr w\xE4hlen",cards:{due_amount:"Offene Betr\xE4ge",customers:"Kunden",invoices:"Rechnungen",estimates:"Kostenvoranschl\xE4ge"},chart_info:{total_sales:"Auftr\xE4ge gesamt",total_receipts:"Zahlungen gesamt",total_expense:"Kosten gesamt",net_income:"Einnahmen Netto",year:"Jahr"},monthly_chart:{title:"Umsatz & Kosten"},recent_invoices_card:{title:"F\xE4llige Rechnungen",due_on:"F\xE4llig am",customer:"Kunden",amount_due:"Offener Betrag",actions:"Aktionen",view_all:"Alle Anzeigen"},recent_estimate_card:{title:"Aktuelle Kostenvoranschl\xE4ge",date:"Datum",customer:"Kunden",amount_due:"Betrag",actions:"Aktionen",view_all:"Alle Anzeigen"}},vr={name:"Name",description:"Beschreibung",percent:"Prozent",compound_tax:"zusammengesetzte Steuer"},yr={search:"Suchen...",customers:"Kunden",users:"Benutzer",no_results_found:"Keine Ergebnisse gefunden"},br={title:"Kunden",add_customer:"Kunde hinzuf\xFCgen",contacts_list:"Kunden-Liste",name:"Name",mail:"E-Mail| E-Mails",statement:"Stellungnahme",display_name:"Anzeige Name",primary_contact_name:"Ansprechpartner",contact_name:"Kontakt Name",amount_due:"Offener Betrag",email:"E-Mail",address:"Adresse",phone:"Telefon",website:"Webseite",overview:"\xDCbersicht",enable_portal:"Kunden-Portal aktivieren",country:"Land",state:"Bundesland",city:"Stadt",zip_code:"PLZ",added_on:"Hinzugef\xFCgt am",action:"Aktion",password:"Passwort",street_number:"Hausnummer",primary_currency:"Prim\xE4re W\xE4hrung",description:"Beschreibung",add_new_customer:"Neuen Kunden hinzuf\xFCgen",save_customer:"Kunde speichern",update_customer:"Kunden \xE4ndern",customer:"Kunde | Kunden",new_customer:"Neuer Kunde",edit_customer:"Kunde bearbeiten",basic_info:"Basisinformation",billing_address:"Rechnungsadresse",shipping_address:"Versand-Adresse",copy_billing_address:"Rechnungsadresse kopieren",no_customers:"Noch keine Kunden!",no_customers_found:"Keine Kunden gefunden!",no_contact:"Kein Kontakt",no_contact_name:"Kein Kontaktname",list_of_customers:"Dieser Abschnitt enth\xE4lt die Liste der Kunden.",primary_display_name:"Prim\xE4rer Anzeige Name",select_currency:"W\xE4hrung w\xE4hlen",select_a_customer:"W\xE4hlen Sie einen Kunden",type_or_click:"Eingeben oder anklicken zum ausw\xE4hlen",new_transaction:"Neue Transaktion",no_matching_customers:"Es gibt keine passenden Kunden!",phone_number:"Telefonnummer",create_date:"Erstellungsdatum",confirm_delete:"Sie k\xF6nnen diesen Kunden und alle zugeh\xF6rigen Rechnungen, Sch\xE4tzungen und Zahlungen nicht wiederherstellen. | Sie k\xF6nnen diesen Kunden und alle zugeh\xF6rigen Rechnungen, Sch\xE4tzungen und Zahlungen nicht wiederherstellen.",created_message:"Benutzer erfolgreich erstellt",updated_message:"Kunde erfolgreich aktualisiert",deleted_message:"Kunden erfolgreich gel\xF6scht | Kunden erfolgreich gel\xF6scht"},kr={title:"Artikel",items_list:"Artikel-Liste",name:"Name",unit:"Einheit",description:"Beschreibung",added_on:"Hinzugef\xFCgt am",price:"Preis",date_of_creation:"Erstellt am",not_selected:"Keine ausgew\xE4hlt",action:"Aktion",add_item:"Artikel hinzuf\xFCgen",save_item:"Artikel speichern",update_item:"Artikel \xE4ndern",item:"Artikel | Artikel",add_new_item:"Neuen Artikel hinzuf\xFCgen",new_item:"Neuer Artikel",edit_item:"Artikel bearbeiten",no_items:"Keine Artikel vorhanden!",list_of_items:"Dieser Abschnitt enth\xE4lt die Liste der Artikel.",select_a_unit:"w\xE4hlen Sie die Einheit",taxes:"Steuern",item_attached_message:"Ein Artikel der bereits verwendet wird kann nicht gel\xF6scht werden",confirm_delete:"Sie k\xF6nnen diesen Artikel nicht wiederherstellen | Sie k\xF6nnen diese Artikel nicht wiederherstellen",created_message:"Artikel erfolgreich erstellt",updated_message:"Artikel erfolgreich aktualisiert",deleted_message:"Artikel erfolgreich gel\xF6scht | Artikel erfolgreich gel\xF6scht"},wr={title:"Kostenvoranschl\xE4ge",estimate:"Kostenvoranschlag | Kostenvoranschl\xE4ge",estimates_list:"Liste Kostenvoranschl\xE4ge",days:"{days} Tage",months:"{months} Monat",years:"{years} Jahre",all:"Alle",paid:"Bezahlt",unpaid:"Unbezahlte",customer:"KUNDEN",ref_no:"REF. - NR.",number:"ANZAHL",amount_due:"OFFENER BETRAG",partially_paid:"Teilweise bezahlt",total:"Gesamt",discount:"Rabatt",sub_total:"Zwischensumme",estimate_number:"Kostenvoran. Nummer",ref_number:"Ref-Nummer",contact:"Kontakt",add_item:"F\xFCgen Sie ein Artikel hinzu",date:"Datum",due_date:"F\xE4lligkeit",expiry_date:"Zahlungsziel",status:"Status",add_tax:"Steuer hinzuf\xFCgen",amount:"Summe",action:"Aktion",notes:"Hinweise",tax:"Steuer",estimate_template:"Vorlage",convert_to_invoice:"Konvertieren in Rechnung",mark_as_sent:"Als gesendet markieren",send_estimate:"Kostenvoranschlag senden",resend_estimate:"Kostenvoranschlag erneut senden",record_payment:"Zahlung erfassen",add_estimate:"Kostenvoranschlag hinzuf\xFCgen",save_estimate:"Kostenvoranschlag speichern",confirm_conversion:"Sie m\xF6chten, konvertieren Sie diese Sch\xE4tzung in die Rechnung?",conversion_message:"Rechnung erfolgreich erstellt",confirm_send_estimate:"Der Kostenvoranschlag wird per E-Mail an den Kunden gesendet",confirm_mark_as_sent:"Dieser Kostenvoranschlag wird als gesendet markiert",confirm_mark_as_accepted:"Dieser Kostenvoranschlag wird als angenommen markiert",confirm_mark_as_rejected:"Dieser Kostenvoranschlag wird als abgelehnt markiert",no_matching_estimates:"Es gibt keine \xFCbereinstimmenden Kostenvoranschl\xE4ge!",mark_as_sent_successfully:"Kostenvoranschlag als gesendet markiert.",send_estimate_successfully:"Kostenvoranschlag erfolgreich gesendet",errors:{required:"Feld ist erforderlich"},accepted:"Angenommen",rejected:"Abgelehnt",sent:"Gesendet",draft:"Entwurf",declined:"Abgelehnt",new_estimate:"Neuer Kostenvoranschlag",add_new_estimate:"Neuen Kostenvoranschlag hinzuf\xFCgen",update_Estimate:"Kostenvoranschlag aktualisieren",edit_estimate:"Kostenvoranschlag \xE4ndern",items:"Artikel",Estimate:"Kostenvoranschlag | Kostenvoranschl\xE4ge",add_new_tax:"neuen Steuersatz hinzuf\xFCgen",no_estimates:"Keine Kostenvoranschl\xE4ge vorhanden!",list_of_estimates:"Dieser Abschnitt enth\xE4lt die Liste der Kostenvoranschl\xE4ge.",mark_as_rejected:"Markiert als abgelehnt",mark_as_accepted:"Markiert als angenommen",marked_as_accepted_message:"Kostenvoranschlag als angenommen markiert",marked_as_rejected_message:"Kostenvoranschlag als abgelehnt markiert",confirm_delete:"Der Kostenvoranschlag kann nicht wiederhergestellt werden | Die Kostenvoranschl\xE4ge k\xF6nnen nicht wiederhergestellt werden",created_message:"Kostenvoranschlag erfolgreich erstellt",updated_message:"Kostenvoranschlag erfolgreich aktualisiert",deleted_message:"Kostenvoranschlag erfolgreich gel\xF6scht | Kostenvoranschl\xE4ge erfolgreich gel\xF6scht",something_went_wrong:"Da ging etwas schief",item:{title:"Titel",description:"Beschreibung",quantity:"Menge",price:"Preis",discount:"Rabatt",total:"Gesamt",total_discount:"Rabatt Gesamt",sub_total:"Zwischensumme",tax:"Steuer",amount:"Summe",select_an_item:"W\xE4hlen Sie einen Artikel",type_item_description:"Artikel Beschreibung (optional)"}},xr={title:"Rechnungen",invoices_list:"Liste der Rechnungen",days:"{days} Tage",months:"{months} Monat",years:"{years} Jahre",all:"Alle",paid:"Bezahlt",unpaid:"Unbezahlt",viewed:"Gesehen",overdue:"\xDCberf\xE4llig",completed:"Abgeschlossen",customer:"KUNDEN",paid_status:"BEZAHLT-STATUS",ref_no:"REF. - NR.",number:"ANZAHL",amount_due:"OFFENER BETRAG",partially_paid:"Teilzahlung",total:"Gesamt",discount:"Rabatt",sub_total:"Zwischensumme",invoice:"Rechnung | Rechnungen",invoice_number:"Rechnungsnummer",ref_number:"Ref-Nummer",contact:"Kontakt",add_item:"F\xFCgen Sie ein Artikel hinzu",date:"Datum",due_date:"F\xE4lligkeit",status:"Status",add_tax:"Steuersatz hinzuf\xFCgen",amount:"Summe",action:"Aktion",notes:"Hinweise",view:"Anzeigen",send_invoice:"Rechnung senden",resend_invoice:"Rechnung erneut senden",invoice_template:"Rechnungs-Vorlage",template:"Vorlage",mark_as_sent:"Als gesendet markieren",confirm_send_invoice:"Diese Rechnung wird per E-Mail an den Kunden gesendet",invoice_mark_as_sent:"Diese Rechnung wird als gesendet markiert",confirm_send:"Diese Rechnung wird per E-Mail an den Kunden gesendet",invoice_date:"Rechnungsdatum",record_payment:"Zahlung erfassen",add_new_invoice:"Neue Rechnung hinzuf\xFCgen",update_expense:"Kosten aktualisieren",edit_invoice:"Rechnung bearbeiten",new_invoice:"Neue Rechnung",save_invoice:"Rechnung speichern",update_invoice:"Rechnung \xE4ndern",add_new_tax:"Neuen Steuersatz hinzuf\xFCgen",no_invoices:"Keine Rechnungen vorhanden!",list_of_invoices:"Dieser Abschnitt enth\xE4lt die Liste der Rechnungen.",select_invoice:"W\xE4hlen Sie eine Rechnung",no_matching_invoices:"Es gibt keine entsprechenden Rechnungen!",mark_as_sent_successfully:"Rechnung gekennzeichnet als erfolgreich gesendet",invoice_sent_successfully:"Rechnung erfolgreich versendet",cloned_successfully:"Rechnung erfolgreich kopiert",clone_invoice:"Rechnung kopieren",confirm_clone:"Diese Rechnung wird kopiert",item:{title:"Titel",description:"Beschreibung",quantity:"Menge",price:"Preis",discount:"Rabatt",total:"Gesamt",total_discount:"Rabatt Gesamt",sub_total:"Zwischensumme",tax:"Steuer",amount:"Summe",select_an_item:"Geben Sie oder w\xE4hlen Sie ein Artikel",type_item_description:"Artikel Beschreibung (optional)"},confirm_delete:"Sie k\xF6nnen diese Rechnung nicht wiederherstellen. | Sie k\xF6nnen diese Rechnungen nicht wiederherstellen.",created_message:"Rechnung erfolgreich erstellt",updated_message:"Rechnung erfolgreich aktualisiert",deleted_message:"Rechnung erfolgreich gel\xF6scht | Rechnungen erfolgreich gel\xF6scht",marked_as_sent_message:"Rechnung als erfolgreich gesendet markiert",something_went_wrong:"Da ist etwas schief gelaufen",invalid_due_amount_message:"Der Gesamtrechnungsbetrag darf nicht kleiner sein als der f\xFCr diese Rechnung bezahlte Gesamtbetrag. Bitte aktualisieren Sie die Rechnung oder l\xF6schen Sie die zugeh\xF6rigen Zahlungen um fortzufahren."},zr={title:"Zahlungen",payments_list:"Liste der Zahlungen",record_payment:"Zahlung eintragen",customer:"Kunden",date:"Datum",amount:"Summe",action:"Aktion",payment_number:"Zahlungsnummer",payment_mode:"Zahlungsart",invoice:"Rechnung",note:"Hinweis",add_payment:"Zahlung hinzuf\xFCgen",new_payment:"Neue Zahlung",edit_payment:"Zahlung bearbeiten",view_payment:"Zahlung anzeigen",add_new_payment:"Neue Zahlung hinzuf\xFCgen",send_payment_receipt:"Zahlungsbeleg senden",send_payment:"Senden Sie die Zahlung",save_payment:"Zahlung speichern",update_payment:"Zahlung \xE4ndern",payment:"Zahlung | Zahlungen",no_payments:"Keine Zahlungen vorhanden!",not_selected:"Nicht ausgew\xE4hlt",no_invoice:"Keine Rechnung",no_matching_payments:"Es gibt keine passenden Zahlungen!",list_of_payments:"Dieser Abschnitt enth\xE4lt die Liste der Zahlungen.",select_payment_mode:"W\xE4hlen Sie den Zahlungsmodus",confirm_mark_as_sent:"Dieser Kostenvoranschlag wird als gesendet markiert",confirm_send_payment:"Diese Zahlung wird per E-Mail an den Kunden gesendet",send_payment_successfully:"Zahlung erfolgreich gesendet",something_went_wrong:"Da ist etwas schief gelaufen",confirm_delete:"Sie k\xF6nnen diese Zahlung nicht wiederherstellen. | Sie k\xF6nnen diese Zahlungen nicht wiederherstellen.",created_message:"Zahlung erfolgreich erstellt",updated_message:"Zahlung erfolgreich aktualisiert",deleted_message:"Zahlung erfolgreich gel\xF6scht | Zahlungen erfolgreich gel\xF6scht",invalid_amount_message:"Zahlungsbetrag ist ung\xFCltig"},Sr={title:"Aufwendungen/Ausgaben",expenses_list:"Liste der Ausgaben",select_a_customer:"W\xE4hlen Sie einen Kunden",expense_title:"Titel",customer:"Kundin",contact:"Kontakt",category:"Kategorie",from_date:"Von Datum",to_date:"bis Datum",expense_date:"Datum",description:"Beschreibung",receipt:"Eingang",amount:"Summe",not_selected:"Nicht ausgew\xE4hlt",action:"Aktion",note:"Hinweis",category_id:"Kategorie-Id",date:"Aufwandsdatum",add_expense:"Aufwendung hinzuf\xFCgen",add_new_expense:"Neue Aufwendung hinzuf\xFCgen",save_expense:"Aufwendung speichern",update_expense:"Aufwendung aktualisieren",download_receipt:"Quittung herunterladen",edit_expense:"Aufwendung \xE4ndern",new_expense:"Neue Aufwendung",expense:"Aufwendung | Aufwendungen",no_expenses:"Noch keine Ausgaben!",list_of_expenses:"Dieser Abschnitt enth\xE4lt die Liste der Ausgaben.",confirm_delete:"Sie k\xF6nnen diese Ausgabe nicht wiederherstellen. | Sie k\xF6nnen diese Ausgaben nicht wiederherstellen.",created_message:"Aufwand erfolgreich erstellt",updated_message:"Aufwand erfolgreich aktualisiert",deleted_message:"Aufwand erfolgreich gel\xF6scht | Aufwand erfolgreich gel\xF6scht",categories:{categories_list:"Liste der Kategorien",title:"Titel",name:"Name",description:"Beschreibung",amount:"Summe",actions:"Aktionen",add_category:"Kategorie hinzuf\xFCgen",new_category:"Neue Kategorie",category:"Kategorie | Kategorien",select_a_category:"W\xE4hlen Sie eine Kategorie"}},Pr={email:"E-Mail",password:"Passwort",forgot_password:"Passwort vergessen?",or_signIn_with:"oder Anmelden mit",login:"Anmelden",register:"Registrieren",reset_password:"Passwort zur\xFCcksetzen",password_reset_successfully:"Passwort erfolgreich zur\xFCckgesetzt",enter_email:"Geben Sie Ihre E-Mail ein",enter_password:"Geben Sie das Passwort ein",retype_password:"Passwort best\xE4tigen"},jr={title:"Benutzer",users_list:"Benutzerliste",name:"Name",description:"Beschreibung",added_on:"Hinzugef\xFCgt am",date_of_creation:"Erstellt am",action:"Aktion",add_user:"Benutzer hinzuf\xFCgen",save_user:"Benutzer speichern",update_user:"Benutzer aktualisieren",user:"Benutzer",add_new_user:"Neuen Benutzer hinzuf\xFCgen",new_user:"Neuer Benutzer",edit_user:"Benutzer bearbeiten",no_users:"Noch keine Benutzer!",list_of_users:"Dieser Abschnitt enth\xE4lt die Liste der Benutzer.",email:"E-Mail",phone:"Telefon",password:"Passwort",user_attached_message:"Ein Artikel der bereits verwendet wird kann nicht gel\xF6scht werden",confirm_delete:"Sie werden diesen Benutzer nicht wiederherstellen k\xF6nnen | Sie werden nicht in der Lage sein, diese Benutzer wiederherzustellen",created_message:"Benutzer erfolgreich erstellt",updated_message:"Benutzer wurde erfolgreich aktualisiert",deleted_message:"Benutzer erfolgreich gel\xF6scht | Benutzer erfolgreich gel\xF6scht"},Dr={title:"Bericht",from_date:"Ab Datum",to_date:"bis Datum",status:"Status",paid:"Bezahlt",unpaid:"Unbezahlt",download_pdf:"PDF herunterladen",view_pdf:"PDF anzeigen",update_report:"Bericht aktualisieren",report:"Bericht | Berichte",profit_loss:{profit_loss:"Gewinn & Verlust",to_date:"bis Datum",from_date:"Ab Datum",date_range:"Datumsbereich ausw\xE4hlen"},sales:{sales:"Umsatz",date_range:"Datumsbereich ausw\xE4hlen",to_date:"bis Datum",from_date:"Ab Datum",report_type:"Berichtstyp"},taxes:{taxes:"Steuern",to_date:"bis Datum",from_date:"Ab Datum",date_range:"Datumsbereich ausw\xE4hlen"},errors:{required:"Feld ist erforderlich"},invoices:{invoice:"Rechnung",invoice_date:"Rechnungsdatum",due_date:"F\xE4lligkeit",amount:"Summe",contact_name:"Ansprechpartner",status:"Status"},estimates:{estimate:"Kostenvoranschlag",estimate_date:"Datum Kostenvoranschlag",due_date:"F\xE4lligkeit",estimate_number:"Kostenvoranschlag-Nr.",ref_number:"Ref-Nummer",amount:"Summe",contact_name:"Ansprechpartner",status:"Status"},expenses:{expenses:"Aufwendungen",category:"Kategorie",date:"Datum",amount:"Summe",to_date:"bis Datum",from_date:"Ab Datum",date_range:"Datumsbereich ausw\xE4hlen"}},Cr={menu_title:{account_settings:"Konto-Einstellungen",company_information:"Informationen zum Unternehmen",customization:"Anpassung",preferences:"Einstellungen",notifications:"Benachrichtigungen",tax_types:"Steuers\xE4tze",expense_category:"Ausgabenkategorien",update_app:"Applikation aktualisieren",backup:"Sicherung",file_disk:"Dateispeicher",custom_fields:"Benutzerdefinierte Felder",payment_modes:"Zahlungsarten",notes:"Hinweise"},title:"Einstellungen",setting:"Einstellung | Einstellungen",general:"Allgemeine",language:"Sprache",primary_currency:"Prim\xE4re W\xE4hrung",timezone:"Zeitzone",date_format:"Datum-Format",currencies:{title:"W\xE4hrungen",currency:"W\xE4hrung | W\xE4hrungen",currencies_list:"W\xE4hrungen Liste",select_currency:"W\xE4hrung w\xE4hlen",name:"Name",code:"Code",symbol:"Symbol",precision:"Pr\xE4zision",thousand_separator:"Tausendertrennzeichen",decimal_separator:"Dezimal-Trennzeichen",position:"Position",position_of_symbol:"Position des W\xE4hrungssymbol",right:"Rechts",left:"Links",action:"Aktion",add_currency:"W\xE4hrung einf\xFCgen"},mail:{host:"E-Mail Mailserver",port:"E-Mail Port",driver:"E-Mail Treiber",secret:"Verschl\xFCsselung",mailgun_secret:"Mailgun Verschl\xFCsselung",mailgun_domain:"Mailgun Adresse",mailgun_endpoint:"Mailgun-Endpunkt",ses_secret:"SES Verschl\xFCsselung",ses_key:"SES-Taste",password:"E-Mail-Kennwort",username:"E-Mail-Benutzername",mail_config:"E-Mail-Konfiguration",from_name:"Von E-Mail-Namen",from_mail:"Von E-Mail-Adresse",encryption:"E-Mail-Verschl\xFCsselung",mail_config_desc:"Unten finden Sie das Formular zum Konfigurieren des E-Mail-Treibers zum Senden von E-Mails \xFCber die App. Sie k\xF6nnen auch Drittanbieter wie Sendgrid, SES usw. konfigurieren."},pdf:{title:"PDF-Einstellung",footer_text:"Fu\xDFzeile Text",pdf_layout:"PDF-Layout"},company_info:{company_info:"Firmeninfo",company_name:"Name des Unternehmens",company_logo:"Firmenlogo",section_description:"Informationen zu Ihrem Unternehmen, die auf Rechnungen, Kostenvoranschl\xE4gen und anderen von Crater erstellten Dokumenten angezeigt werden.",phone:"Telefon",country:"Land",state:"Bundesland",city:"Stadt",address:"Adresse",zip:"PLZ",save:"Speichern",updated_message:"Unternehmensinformationen wurden erfolgreich aktualisiert"},custom_fields:{title:"Benutzerdefinierte Felder",section_description:"Passen Sie Ihre Rechnungen, Kostenvoranschl\xE4ge und Zahlungseinnahmen mit Ihren eigenen Feldern an. Benutzen Sie die unten aufgef\xFChrten Felder in den Adressformaten auf der Seite Anpassungseinstellungen.",add_custom_field:"Benutzerdefiniertes Feld hinzuf\xFCgen",edit_custom_field:"Benutzerdefiniertes Feld bearbeiten",field_name:"Feldname",label:"Etikette",type:"Art",name:"Name",required:"Erforderlich",placeholder:"Platzhalter",help_text:"Hilfstext",default_value:"Standardwert",prefix:"Pr\xE4fix",starting_number:"Startnummer",model:"Modell",help_text_description:"Geben Sie einen Text ein, damit Benutzer den Zweck dieses benutzerdefinierten Felds verstehen.",suffix:"Vorzeichen",yes:"Ja",no:"Nein",order:"Auftrag",custom_field_confirm_delete:"Sie k\xF6nnen dieses benutzerdefinierte Feld nicht wiederherstellen",already_in_use:"Benutzerdefiniertes Feld wird bereits verwendet",deleted_message:"Benutzerdefiniertes Feld erfolgreich gel\xF6scht",options:"Optionen",add_option:"Optionen hinzuf\xFCgen",add_another_option:"F\xFCgen Sie eine weitere Option hinzu",sort_in_alphabetical_order:"In alphabetischer Reihenfolge sortieren",add_options_in_bulk:"F\xFCgen Sie Optionen in gro\xDFen Mengen hinzu",use_predefined_options:"Verwenden Sie vordefinierte Optionen",select_custom_date:"W\xE4hlen Sie Benutzerdefiniertes Datum",select_relative_date:"W\xE4hlen Sie Relatives Datum",ticked_by_default:"Standardm\xE4\xDFig aktiviert",updated_message:"Benutzerdefiniertes Feld erfolgreich aktualisiert",added_message:"Benutzerdefiniertes Feld erfolgreich hinzugef\xFCgt"},customization:{customization:"Anpassung",save:"Speichern",addresses:{title:"Adressen",section_description:"Sie k\xF6nnen die Rechnungsadresse und das Versandadressenformat des Kunden festlegen (nur in PDF angezeigt). ",customer_billing_address:"Rechnungsadresse des Kunden",customer_shipping_address:"Versand-Adresse des Kunden",company_address:"Firma Adresse",insert_fields:"Felder einf\xFCgen",contact:"Kontakt",address:"Adresse",display_name:"Anzeigename",primary_contact_name:"Ansprechpartner",email:"E-Mail",website:"Webseite",name:"Name",country:"Land",state:"Bundesland",city:"Stadt",company_name:"Name des Unternehmens",address_street_1:"Strasse",address_street_2:"Zusatz Strasse",phone:"Telefon",zip_code:"PLZ",address_setting_updated:"Adresse-Einstellung erfolgreich aktualisiert"},updated_message:"Unternehmensinformationen wurden erfolgreich aktualisiert",invoices:{title:"Rechnungen",notes:"Hinweise",invoice_prefix:"Rechnung Pr\xE4fix",invoice_number_length:"Rechnungsnummerl\xE4nge",default_invoice_email_body:"Standard Rechnung E-Mail Inhalt",invoice_settings:"Rechnungseinstellungen",autogenerate_invoice_number:"Rechnungsnummer automatisch generieren",autogenerate_invoice_number_desc:"Deaktivieren Sie diese Option, wenn Sie Rechnungsnummern nicht jedes Mal automatisch generieren m\xF6chten, wenn Sie eine neue Rechnung erstellen.",enter_invoice_prefix:"Rechnungspr\xE4fix eingeben",terms_and_conditions:"Allgemeine Gesch\xE4ftsbedingungen",company_address_format:"Firmenadressformat",shipping_address_format:"Versandadressen Format",billing_address_format:"Rechnungsadressen Format",invoice_settings_updated:"Rechnungseinstellung erfolgreich aktualisiert"},estimates:{title:"Kostenvoranschl\xE4ge",estimate_prefix:"Kostenvoranschlag Pr\xE4fix",estimate_number_length:"Angebotsnummerl\xE4nge",default_estimate_email_body:"Rechnung - E-Mail Text",estimate_settings:"Einstellungen Kostenvoranschlag",autogenerate_estimate_number:"Kostenvoranschlagsnummer automatisch generieren",estimate_setting_description:"Deaktivieren Sie diese Option, wenn Sie nicht jedes Mal, wenn Sie einen neue Kostenvoranschlag erstellen, automatisch eine Sch\xE4tzung generieren m\xF6chten.",enter_estimate_prefix:"Geben Sie das Kostenvoranschlag Pr\xE4fix ein",estimate_setting_updated:"Einstellungen Kostenvoranschl\xE4ge erfolgreich aktualisiert",company_address_format:"Firmenadresse Format",billing_address_format:"Rechnungsadressen Format",shipping_address_format:"Versandadressen Format"},payments:{title:"Zahlungen",description:"Transaktionsmodi f\xFCr Zahlungen",payment_prefix:"Zahlung Pr\xE4fix",payment_number_length:"Zahlungsnummerl\xE4nge",default_payment_email_body:"Zahlung - E-Mail Text",payment_settings:"Zahlung Einstellungen",autogenerate_payment_number:"Zahlungsnummer automatisch generieren",payment_setting_description:"Deaktivieren Sie diese Option, wenn Sie nicht jedes Mal, wenn Sie eine neue Zahlung erstellen, automatisch Zahlungsnummern generieren m\xF6chten.",enter_payment_prefix:"Zahlungspr\xE4fix eingeben",payment_setting_updated:"Zahlungseinstellung erfolgreich aktualisiert",payment_modes:"Zahlungsarten",add_payment_mode:"Zahlungsmethode hinzuf\xFCgen",edit_payment_mode:"Zahlungsmodus bearbeiten",mode_name:"Methodenname",payment_mode_added:"Zahlungsmethode hinzugef\xFCgt",payment_mode_updated:"Zahlungsmethode aktualisiert",payment_mode_confirm_delete:"Du kannst diese Zahlungsmethode nicht wiederherstellen",already_in_use:"Zahlungsmethode bereits in Verwendung",deleted_message:"Zahlungsmethode erfolgreich",company_address_format:"Firmenadressformat",from_customer_address_format:"Rechnungsadressen Format"},items:{title:"Artikel",units:"Einheiten",add_item_unit:"Artikeleinheit hinzuf\xFCgen",edit_item_unit:"Elementeinheit bearbeiten",unit_name:"Einheitname",item_unit_added:"Artikeleinheit hinzugef\xFCgt",item_unit_updated:"Artikeleinheit aktualisiert",item_unit_confirm_delete:"Du kannst diese Artikeleinheit nicht wiederherstellen",already_in_use:"Diese Artikeleinheit ist bereits in Verwendung",deleted_message:"Artikeleinheit erfolgreich gel\xF6scht"},notes:{title:"Hinweise",description:"Sparen Sie Zeit, indem Sie Notizen erstellen und diese auf Ihren Rechnungen, Kostenvoranschl\xE4gen und Zahlungen wiederverwenden.",notes:"Hinweise",type:"Art",add_note:"Notiz hinzuf\xFCgen",add_new_note:"Neue Notiz hinzuf\xFCgen",name:"Name",edit_note:"Notiz bearbeiten",note_added:"Notiz erfolgreich hinzugef\xFCgt",note_updated:"Notiz erfolgreich aktualisiert",note_confirm_delete:"Dieser Hinweis wird unwiderruflich gel\xF6scht",already_in_use:"Hinweis bereits in verwendet",deleted_message:"Notiz erfolgreich gel\xF6scht"}},account_settings:{profile_picture:"Profil Bild",name:"Name",email:"E-Mail",password:"Passwort",confirm_password:"Kennwort Best\xE4tigen",account_settings:"Konto-Einstellungen",save:"Speichern",section_description:"Sie k\xF6nnen Ihren Namen, Ihre E-Mail-Adresse und Ihr Passwort mit dem folgenden Formular aktualisieren.",updated_message:"Kontoeinstellungen erfolgreich aktualisiert"},user_profile:{name:"Name",email:"E-Mail",password:"Passwort",confirm_password:"Kennwort best\xE4tigen"},notification:{title:"Benachrichtigung",email:"Benachrichtigungen senden an",description:"Welche E-Mail-Benachrichtigungen m\xF6chten Sie erhalten wenn sich etwas \xE4ndert?",invoice_viewed:"Rechnung angezeigt",invoice_viewed_desc:"Wenn Ihr Kunde die gesendete Rechnung anzeigt bekommt.",estimate_viewed:"Kostenvoranschlag angesehen",estimate_viewed_desc:"Wenn Ihr Kunde den gesendeten Kostenvoranschlag anzeigt bekommt.",save:"Speichern",email_save_message:"Email erfolgreich gespeichert",please_enter_email:"Bitte E-Mail eingeben"},tax_types:{title:"Steuers\xE4tze",add_tax:"Steuers\xE4tze hinzuf\xFCgen",edit_tax:"Steuer bearbeiten",description:"Sie k\xF6nnen Steuern nach Belieben hinzuf\xFCgen oder entfernen. Crater unterst\xFCtzt Steuern auf einzelne Artikel sowie auf die Rechnung.",add_new_tax:"Neuen Steuersatz hinzuf\xFCgen",tax_settings:"Einstellungen Steuersatz",tax_per_item:"Steuersatz pro Artikel",tax_name:"Name des Steuersatzes",compound_tax:"zusammengesetzte Steuer",percent:"Prozent",action:"Aktion",tax_setting_description:"Aktivieren Sie diese Option, wenn Sie den Steuersatz zu einzelnen Rechnungspositionen hinzuf\xFCgen m\xF6chten. Standardm\xE4\xDFig wird der Steuersatz direkt zur Rechnung hinzugef\xFCgt.",created_message:"Steuersatz erfolgreich erstellt",updated_message:"Steuersatz erfolgreich aktualisiert",deleted_message:"Steuersatz erfolgreich gel\xF6scht",confirm_delete:"Sie k\xF6nnen diesen Steuersatz nicht wiederherstellen",already_in_use:"Steuersatz wird bereits verwendet"},expense_category:{title:"Kategorien Kosten",action:"Aktion",description:"F\xFCr das Hinzuf\xFCgen von Ausgabeneintr\xE4gen sind Kategorien erforderlich. Sie k\xF6nnen diese Kategorien nach Ihren W\xFCnschen hinzuf\xFCgen oder entfernen.",add_new_category:"Neue Kategorie hinzuf\xFCgen",add_category:"Kategorie hinzuf\xFCgen",edit_category:"Kategorie bearbeiten",category_name:"Kategorie Name",category_description:"Beschreibung",created_message:"Ausgabenkategorie erfolgreich erstellt",deleted_message:"Ausgabenkategorie erfolgreich gel\xF6scht",updated_message:"Ausgabenkategorie erfolgreich aktualisiert",confirm_delete:"Sie k\xF6nnen diese Ausgabenkategorie nicht wiederherstellen",already_in_use:"Kategorie wird bereits verwendet"},preferences:{currency:"W\xE4hrung",default_language:"Standardsprache",time_zone:"Zeitzone",fiscal_year:"Gesch\xE4ftsjahr",date_format:"Datum-Format",discount_setting:"Einstellung Rabatt",discount_per_item:"Rabatt pro Artikel ",discount_setting_description:"Aktivieren Sie diese Option, wenn Sie einzelnen Rechnungspositionen einen Rabatt hinzuf\xFCgen m\xF6chten. Standardm\xE4\xDFig wird der Rabatt direkt zur Rechnung hinzugef\xFCgt.",save:"Speichern",preference:"Pr\xE4ferenz | Pr\xE4ferenzen",general_settings:"Standardeinstellungen f\xFCr das System.",updated_message:"Einstellungen erfolgreich aktualisiert",select_language:"Sprache ausw\xE4hlen",select_time_zone:"Zeitzone ausw\xE4hlen",select_date_format:"W\xE4hle das Datumsformat",select_financial_year:"Gesch\xE4ftsjahr ausw\xE4hlen"},update_app:{title:"Applikation aktualisieren",description:"Sie k\xF6nnen Crater ganz einfach aktualisieren, indem Sie auf die Schaltfl\xE4che unten klicken, um nach einem neuen Update zu suchen.",check_update:"Nach Updates suchen",avail_update:"Neues Update verf\xFCgbar",next_version:"N\xE4chste Version",requirements:"Voraussetzungen",update:"Jetzt aktualisieren",update_progress:"Update l\xE4uft ...",progress_text:"Es dauert nur ein paar Minuten. Bitte aktualisieren Sie den Bildschirm nicht und schlie\xDFen Sie das Fenster nicht, bevor das Update abgeschlossen ist.",update_success:"App wurde aktualisiert! Bitte warten Sie, w\xE4hrend Ihr Browserfenster automatisch neu geladen wird.",latest_message:"Kein Update verf\xFCgbar! Du bist auf der neuesten Version.",current_version:"Aktuelle Version",download_zip_file:"Laden Sie die ZIP-Datei herunter",unzipping_package:"Paket entpacken",copying_files:"Dateien kopieren",running_migrations:"Ausf\xFChren von Migrationen",finishing_update:"Update beenden",update_failed:"Update fehlgeschlagen",update_failed_text:"Es tut uns leid! Ihr Update ist am folgenden Schritt fehlgeschlagen: {step}"},backup:{title:"Sicherung | Sicherungen",description:"Die Sicherung ist eine ZIP-Datei, die alle Dateien der ausgew\xE4hlten Pfade und eine Kopie der Datenbank enth\xE4lt",new_backup:"Neues Backup",create_backup:"Datensicherung erstellen",select_backup_type:"W\xE4hlen Sie den Sicherungs-Typ",backup_confirm_delete:"Dieses Backup wird unwiderruflich gel\xF6scht",path:"Pfad",new_disk:"Speicher hinzuf\xFCgen",created_at:"erstellt am",size:"Gr\xF6\xDFe",dropbox:"Dropbox",local:"Lokal",healthy:"intakt",amount_of_backups:"Menge an Sicherungen",newest_backups:"Neuste Sicherung",used_storage:"Verwendeter Speicher",select_disk:"Speicher ausw\xE4hlen",action:"Aktion",deleted_message:"Sicherung erfolgreich gel\xF6scht",created_message:"Backup erfolgreich erstellt",invalid_disk_credentials:"Ung\xFCltige Anmeldeinformationen f\xFCr ausgew\xE4hlten Speicher"},disk:{title:"Dateispeicher | Dateispeicher",description:"Standardm\xE4\xDFig verwendet Crater Ihre lokale Festplatte zum Speichern von Sicherungen, Avatar und anderen Bilddateien. Sie k\xF6nnen mehr als einen Speicherort wie DigitalOcean, S3 und Dropbox nach Ihren W\xFCnschen konfigurieren.",created_at:"erstellt am",dropbox:"Dropbox",name:"Name",driver:"Treiber",disk_type:"Art",disk_name:"Speicher Bezeichnung",new_disk:"Speicher hinzuf\xFCgen",filesystem_driver:"Dateisystem-Treiber",local_driver:"Lokaler Treiber",local_root:"lokaler Pfad",public_driver:"\xD6ffentlicher Treiber",public_root:"\xD6ffentlicher Pfad",public_url:"\xD6ffentliche URL",public_visibility:"\xD6ffentliche Sichtbarkeit",media_driver:"Medientreiber",media_root:"Medienpfad",aws_driver:"AWS-Treiber",aws_key:"AWS-Schl\xFCssel",aws_secret:"AWS-Geheimnis",aws_region:"AWS-Region",aws_bucket:"AWS Bucket",aws_root:"AWS-Pfad",do_spaces_type:"Do Spaces-Typ",do_spaces_key:"Do Spaces-Schl\xFCssel",do_spaces_secret:"Do Spaces-Geheimnis",do_spaces_region:"Do Spaces Region",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces Endpoint",do_spaces_root:"Do Spaces Root",dropbox_type:"Dropbox Type",dropbox_token:"Dropbox Token",dropbox_key:"Dropbox Key",dropbox_secret:"Dropbox Secret",dropbox_app:"Dropbox App",dropbox_root:"Dropbox Root",default_driver:"Standard-Treiber",is_default:"Standard",set_default_disk:"Als Standard festlegen",success_set_default_disk:"Speicher wurde als Standard festgelegt",save_pdf_to_disk:"PDFs auf Festplatte speichern",disk_setting_description:" Aktivieren Sie dies, um eine Kopie von jeder Rechnung, jedem Kostenvoranschlag & jedem Zahlungsbelegung als PDF automatisch auf ihrem Standard-Speicher abzulegen. Wenn Sie diese Option aktivieren, verringert sich die Ladezeit beim Betrachten der PDFs.",select_disk:"Speicherort ausw\xE4hlen",disk_settings:"Speichermedienkonfiguration",confirm_delete:"Ihre existierenden Dateien und Ordner auf der angegebenen Festplatte werden nicht beeinflusst, aber Dieser Speicherort wird aus Crater gel\xF6scht",action:"Aktion",edit_file_disk:"Edit File Disk",success_create:"Speicher erfolgreich hinzugef\xFCgt",success_update:"Speicher erfolgreich bearbeitet",error:"Hinzuf\xFCgen des Speichers gescheitert",deleted_message:"Speicher erfolgreich gel\xF6scht",disk_variables_save_successfully:"Speicher erfolgreich konfiguriert",disk_variables_save_error:"Konfiguration des Speicher gescheitert",invalid_disk_credentials:"Ung\xFCltige Anmeldeinformationen f\xFCr ausgew\xE4hlten Speicher"}},Ar={account_info:"Account-Informationen",account_info_desc:"Die folgenden Details werden zum Erstellen des Hauptadministratorkontos verwendet. Sie k\xF6nnen die Details auch jederzeit nach dem Anmelden \xE4ndern.",name:"Name",email:"E-Mail",password:"Passwort",confirm_password:"Passwort best\xE4tigen",save_cont:"Speichern und weiter",company_info:"Unternehmensinformationen",company_info_desc:"Diese Informationen werden auf Rechnungen angezeigt. Beachten Sie, dass Sie diese sp\xE4ter auf der Einstellungsseite bearbeiten k\xF6nnen.",company_name:"Firmenname",company_logo:"Firmenlogo",logo_preview:"Vorschau Logo",preferences:"Einstellungen",preferences_desc:"Standardeinstellungen f\xFCr das System.",country:"Land",state:"Bundesland",city:"Stadt",address:"Adresse",street:"Stra\xDFe1 | Stra\xDFe2",phone:"Telefon",zip_code:"Postleitzahl",go_back:"Zur\xFCck",currency:"W\xE4hrung",language:"Sprache",time_zone:"Zeitzone",fiscal_year:"Gesch\xE4ftsjahr",date_format:"Datumsformat",from_address:"Absender",username:"Benutzername",next:"Weiter",continue:"Weiter",skip:"\xDCberspringen",database:{database:"URL der Seite & Datenbank",connection:"Datenbank Verbindung",host:"Datenbank Host",port:"Datenbank Port",password:"Datenbank Passwort",app_url:"App-URL",app_domain:"Domain der App",username:"Datenbank Benutzername",db_name:"Datenbank Name",db_path:"Datenbankpfad",desc:"Erstellen Sie eine Datenbank auf Ihrem Server und legen Sie die Anmeldeinformationen mithilfe des folgenden Formulars fest."},permissions:{permissions:"Berechtigungen",permission_confirm_title:"Sind Sie sicher, dass Sie fortfahren m\xF6chten?",permission_confirm_desc:"Pr\xFCfung der Berechtigung der Ordner fehlgeschlagen.",permission_desc:"Unten finden Sie eine Liste der Ordnerberechtigungen, die erforderlich sind, damit die App funktioniert. Wenn die Berechtigungspr\xFCfung fehlschl\xE4gt, m\xFCssen Sie Ihre Ordnerberechtigungen aktualisieren."},mail:{host:"E-Mail-Host",port:"E-Mail-Port",driver:"E-Mail-Treiber",secret:"Verschl\xFCsselung",mailgun_secret:"Mailgun Verschl\xFCsselung",mailgun_domain:"Domain",mailgun_endpoint:"Mailgun-Endpunkt",ses_secret:"SES Verschl\xFCsselung",ses_key:"SES-Taste",password:"E-Mail-Passwort",username:"E-Mail-Benutzername",mail_config:"E-Mail-Konfiguration",from_name:"Von E-Mail-Absendername",from_mail:"Von E-Mail-Absenderadresse",encryption:"E-Mail-Verschl\xFCsselung",mail_config_desc:"Unten finden Sie das Formular zum Konfigurieren des E-Mail-Treibers zum Senden von E-Mails \xFCber die App. Sie k\xF6nnen auch Drittanbieter wie Sendgrid, SES usw. konfigurieren."},req:{system_req:"System Anforderungen",php_req_version:"Php (version {version} erforderlich)",check_req:"Anforderungen pr\xFCfen",system_req_desc:"Crater hat einige Serveranforderungen. Stellen Sie sicher, dass Ihr Server die erforderliche PHP-Version und alle unten genannten Erweiterungen hat."},errors:{migrate_failed:"Migration ist Fehlgeschlagen",database_variables_save_error:"Konfiguration kann nicht in EN.env-Datei geschrieben werden. Bitte \xFCberpr\xFCfen Sie die Dateiberechtigungen.",mail_variables_save_error:"E-Mail-Konfiguration fehlgeschlagen.",connection_failed:"Datenbankverbindung fehlgeschlagen",database_should_be_empty:"Datenbank sollte leer sein"},success:{mail_variables_save_successfully:"E-Mail erfolgreich konfiguriert",database_variables_save_successfully:"Datenbank erfolgreich konfiguriert."}},Nr={invalid_phone:"Ung\xFCltige Telefonnummer",invalid_url:"Ung\xFCltige URL (Bsp.: http://www.craterapp.com)",invalid_domain_url:"Ung\xFCltige URL (Bsp.: craterapp.com)",required:"Feld ist erforderlich",email_incorrect:"Falsche E-Mail.",email_already_taken:"Die E-Mail ist bereits vergeben.",email_does_not_exist:"Benutzer mit der angegebenen E-Mail existiert nicht",item_unit_already_taken:"Die Artikeleinheit wurde bereits vergeben",payment_mode_already_taken:"Der Zahlungsmodus wurde bereits verwendet",send_reset_link:"Link zum Zur\xFCcksetzen senden",not_yet:"Noch erhalten? Erneut senden",password_min_length:"Password mu\xDF {count} Zeichen enthalten",name_min_length:"Name muss mindestens {count} Zeichen enthalten.",enter_valid_tax_rate:"Geben Sie einen g\xFCltige Steuersatz ein",numbers_only:"Nur Zahlen.",characters_only:"Nur Zeichen.",password_incorrect:"Passw\xF6rter m\xFCssen identisch sein",password_length:"Passwort muss {count} Zeichen lang sein.",qty_must_greater_than_zero:"Die Menge muss gr\xF6\xDFer als 0 sein.",price_greater_than_zero:"Preis muss gr\xF6\xDFer als 0 sein.",payment_greater_than_zero:"Die Zahlung muss gr\xF6\xDFer als 0 sein.",payment_greater_than_due_amount:"Die eingegebene Zahlung ist mehr als der f\xE4llige Betrag dieser Rechnung.",quantity_maxlength:"Die Menge sollte nicht gr\xF6\xDFer als 20 Ziffern sein.",price_maxlength:"Der Preis sollte nicht gr\xF6\xDFer als 20 Ziffern sein.",price_minvalue:"Der Preis sollte gr\xF6\xDFer als 0 sein.",amount_maxlength:"Der Betrag sollte nicht gr\xF6\xDFer als 20 Ziffern sein.",amount_minvalue:"Betrag sollte gr\xF6\xDFer als 0 sein.",description_maxlength:"Die Beschreibung sollte nicht l\xE4nger als 255 Zeichen sein.",subject_maxlength:"Der Betreff sollte nicht l\xE4nger als 100 Zeichen sein.",message_maxlength:"Die Nachricht sollte nicht l\xE4nger als 255 Zeichen sein.",maximum_options_error:"Maximal {max} Optionen ausgew\xE4hlt. Entfernen Sie zuerst eine ausgew\xE4hlte Option, um eine andere auszuw\xE4hlen.",notes_maxlength:"Notizen sollten nicht l\xE4nger als 255 Zeichen sein.",address_maxlength:"Die Adresse sollte nicht l\xE4nger als 255 Zeichen sein.",ref_number_maxlength:"Ref Number sollte nicht l\xE4nger als 255 Zeichen sein.",prefix_maxlength:"Das Pr\xE4fix sollte nicht l\xE4nger als 5 Zeichen sein.",something_went_wrong:"Da ist etwas schief gelaufen",number_length_minvalue:"Nummernl\xE4nge sollte gr\xF6\xDFer als 0 sein"},Er="Kostenvoranschlag",Tr="Kostenvoran. Nummer",Ir="Datum Kostenvoranschlag",$r="Ablaufdatum",Rr="Rechnung",Fr="Rechnungsnummer",Mr="Rechnungsdatum",Br="F\xE4lligkeitsdatum",Vr="Hinweise",Or="Artikel",Lr="Menge",Ur="Preis",Kr="Rabatt",qr="Summe",Wr="Zwischensumme",Zr="Gesamt",Hr="Zahlung",Gr="Zahlungsbeleg",Yr="Zahlungsdatum",Jr="Zahlungsnummer",Xr="Zahlungsart",Qr="Betrag erhalten",ed="Ausgaben Bericht",td="Gesamtausgaben",ad="Gewinn & Verlust Bericht",sd="Kundenverkaufs Bericht",nd="Artikelverkaufs Bericht",id="Steuer Bericht",od="Einkommen",rd="Nettogewinn",dd="Umsatzbericht: Nach Kunde",ld="GESAMTUMSATZ",cd="Umsatzbericht: Nach Artikel",_d="Umsatzsteuer BERICHT",ud="Gesamte Umsatzsteuer",md="Steuers\xE4tze",pd="Gesamtausgaben",gd="Rechnungsempf\xE4nger,",fd="Versand an,",hd="Erhalten von:",vd="Skat";var yd={navigation:gr,general:fr,dashboard:hr,tax_types:vr,global_search:yr,customers:br,items:kr,estimates:wr,invoices:xr,payments:zr,expenses:Sr,login:Pr,users:jr,reports:Dr,settings:Cr,wizard:Ar,validation:Nr,pdf_estimate_label:Er,pdf_estimate_number:Tr,pdf_estimate_date:Ir,pdf_estimate_expire_date:$r,pdf_invoice_label:Rr,pdf_invoice_number:Fr,pdf_invoice_date:Mr,pdf_invoice_due_date:Br,pdf_notes:Vr,pdf_items_label:Or,pdf_quantity_label:Lr,pdf_price_label:Ur,pdf_discount_label:Kr,pdf_amount_label:qr,pdf_subtotal:Wr,pdf_total:Zr,pdf_payment_label:Hr,pdf_payment_receipt_label:Gr,pdf_payment_date:Yr,pdf_payment_number:Jr,pdf_payment_mode:Xr,pdf_payment_amount_received_label:Qr,pdf_expense_report_label:ed,pdf_total_expenses_label:td,pdf_profit_loss_label:ad,pdf_sales_customers_label:sd,pdf_sales_items_label:nd,pdf_tax_summery_label:id,pdf_income_label:od,pdf_net_profit_label:rd,pdf_customer_sales_report:dd,pdf_total_sales_label:ld,pdf_item_sales_label:cd,pdf_tax_report_label:_d,pdf_total_tax_label:ud,pdf_tax_types_label:md,pdf_expenses_label:pd,pdf_bill_to:gd,pdf_ship_to:fd,pdf_received_from:hd,pdf_tax_label:vd};const bd={dashboard:"\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9",customers:"\u304A\u5BA2\u69D8",items:"\u30A2\u30A4\u30C6\u30E0",invoices:"\u8ACB\u6C42\u66F8",expenses:"\u7D4C\u8CBB",estimates:"\u898B\u7A4D\u308A",payments:"\u652F\u6255\u3044",reports:"\u30EC\u30DD\u30FC\u30C8",settings:"\u8A2D\u5B9A",logout:"\u30ED\u30B0\u30A2\u30A6\u30C8",users:"\u30E6\u30FC\u30B6\u30FC"},kd={add_company:"\u4F1A\u793E\u3092\u8FFD\u52A0",view_pdf:"PDF\u3092\u898B\u308B",copy_pdf_url:"PDFURL\u3092\u30B3\u30D4\u30FC\u3059\u308B",download_pdf:"PDF\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",save:"\u30BB\u30FC\u30D6",create:"\u4F5C\u6210\u3059\u308B",cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB",update:"\u66F4\u65B0",deselect:"\u9078\u629E\u3092\u89E3\u9664",download:"\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",from_date:"\u65E5\u4ED8\u304B\u3089",to_date:"\u73FE\u5728\u307E\u3067",from:"\u304B\u3089",to:"\u306B",sort_by:"\u4E26\u3073\u66FF\u3048",ascending:"\u4E0A\u6607",descending:"\u964D\u9806",subject:"\u4EF6\u540D",body:"\u4F53",message:"\u30E1\u30C3\u30BB\u30FC\u30B8",send:"\u9001\u4FE1",go_back:"\u623B\u308B",back_to_login:"\u30ED\u30B0\u30A4\u30F3\u306B\u623B\u308B\uFF1F",home:"\u30DB\u30FC\u30E0\u30DB\u30FC\u30E0",filter:"\u30D5\u30A3\u30EB\u30BF",delete:"\u524A\u9664",edit:"\u7DE8\u96C6",view:"\u898B\u308B",add_new_item:"\u65B0\u3057\u3044\u30A2\u30A4\u30C6\u30E0\u3092\u8FFD\u52A0\u3059\u308B",clear_all:"\u3059\u3079\u3066\u30AF\u30EA\u30A2",showing:"\u8868\u793A\u4E2D",of:"\u306E",actions:"\u884C\u52D5",subtotal:"\u5C0F\u8A08",discount:"\u30C7\u30A3\u30B9\u30AB\u30A6\u30F3\u30C8",fixed:"\u4FEE\u7E55",percentage:"\u30D1\u30FC\u30BB\u30F3\u30C6\u30FC\u30B8",tax:"\u7A0E\u91D1",total_amount:"\u5408\u8A08\u91D1\u984D",bill_to:"\u8ACB\u6C42\u66F8\u9001\u4ED8\u5148",ship_to:"\u9001\u308A\u5148",due:"\u671F\u9650",draft:"\u30C9\u30E9\u30D5\u30C8",sent:"\u9001\u4FE1\u6E08\u307F",all:"\u3059\u3079\u3066",select_all:"\u3059\u3079\u3066\u9078\u629E",choose_file:"\u30D5\u30A1\u30A4\u30EB\u3092\u9078\u629E\u3059\u308B\u306B\u306F\u3001\u3053\u3053\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044",choose_template:"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",choose:"\u9078\u629E",remove:"\u524A\u9664\u3059\u308B",powered_by:"\u642D\u8F09",bytefury:"Bytefury",select_a_status:"\u30B9\u30C6\u30FC\u30BF\u30B9\u3092\u9078\u629E",select_a_tax:"\u7A0E\u91D1\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",search:"\u63A2\u3059",are_you_sure:"\u672C\u6C17\u3067\u3059\u304B\uFF1F",list_is_empty:"\u30EA\u30B9\u30C8\u306F\u7A7A\u3067\u3059\u3002",no_tax_found:"\u7A0E\u91D1\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\uFF01",four_zero_four:"404",you_got_lost:"\u304A\u3063\u3068\uFF01\u3042\u306A\u305F\u306F\u8FF7\u5B50\u306B\u306A\u308A\u307E\u3057\u305F\uFF01",go_home:"\u5BB6\u306B\u5E30\u308B",test_mail_conf:"\u30E1\u30FC\u30EB\u69CB\u6210\u306E\u30C6\u30B9\u30C8",send_mail_successfully:"\u30E1\u30FC\u30EB\u306F\u6B63\u5E38\u306B\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F",setting_updated:"\u8A2D\u5B9A\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",select_state:"\u72B6\u614B\u3092\u9078\u629E",select_country:"\u56FD\u3092\u9078\u629E",select_city:"\u90FD\u5E02\u3092\u9078\u629E",street_1:"\u30B9\u30C8\u30EA\u30FC\u30C81",street_2:"2\u4E01\u76EE",action_failed:"\u30A2\u30AF\u30B7\u30E7\u30F3\u304C\u5931\u6557\u3057\u307E\u3057\u305F",retry:"\u30EA\u30C8\u30E9\u30A4",choose_note:"\u6CE8\u3092\u9078\u629E",no_note_found:"\u30E1\u30E2\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",insert_note:"\u30E1\u30E2\u3092\u633F\u5165",copied_pdf_url_clipboard:"PDF\u306EURL\u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F\uFF01"},wd={select_year:"\u5E74\u3092\u9078\u629E",cards:{due_amount:"\u6599\u91D1",customers:"\u304A\u5BA2\u69D8",invoices:"\u8ACB\u6C42\u66F8",estimates:"\u898B\u7A4D\u308A"},chart_info:{total_sales:"\u8CA9\u58F2",total_receipts:"\u9818\u53CE\u66F8",total_expense:"\u7D4C\u8CBB",net_income:"\u5F53\u671F\u7D14\u5229\u76CA",year:"\u5E74\u3092\u9078\u629E"},monthly_chart:{title:"\u8CA9\u58F2"},recent_invoices_card:{title:"\u671F\u65E5\u8ACB\u6C42\u66F8",due_on:"\u671F\u9650",customer:"\u304A\u5BA2\u69D8",amount_due:"\u6599\u91D1",actions:"\u884C\u52D5",view_all:"\u3059\u3079\u3066\u8868\u793A"},recent_estimate_card:{title:"\u6700\u8FD1\u306E\u898B\u7A4D\u3082\u308A",date:"\u65E5\u4ED8",customer:"\u304A\u5BA2\u69D8",amount_due:"\u6599\u91D1",actions:"\u884C\u52D5",view_all:"\u3059\u3079\u3066\u8868\u793A"}},xd={name:"\u540D\u524D",description:"\u8AAC\u660E",percent:"\u30D1\u30FC\u30BB\u30F3\u30C8",compound_tax:"\u8907\u5408\u7A0E"},zd={search:"\u63A2\u3059...",customers:"\u304A\u5BA2\u69D8",users:"\u30E6\u30FC\u30B6\u30FC",no_results_found:"\u7D50\u679C\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093"},Sd={title:"\u304A\u5BA2\u69D8",add_customer:"\u9867\u5BA2\u3092\u8FFD\u52A0",contacts_list:"\u9867\u5BA2\u30EA\u30B9\u30C8",name:"\u540D\u524D",mail:"\u30E1\u30FC\u30EB|\u30E1\u30FC\u30EB",statement:"\u30B9\u30C6\u30FC\u30C8\u30E1\u30F3\u30C8",display_name:"\u8868\u793A\u540D",primary_contact_name:"\u4E3B\u306A\u9023\u7D61\u5148\u540D",contact_name:"\u9023\u7D61\u5148",amount_due:"\u6599\u91D1",email:"E\u30E1\u30FC\u30EB",address:"\u4F4F\u6240",phone:"\u96FB\u8A71",website:"\u30A6\u30A7\u30D6\u30B5\u30A4\u30C8",overview:"\u6982\u8981\u6982\u8981",enable_portal:"\u30DD\u30FC\u30BF\u30EB\u3092\u6709\u52B9\u306B\u3059\u308B",country:"\u56FD",state:"\u72B6\u614B",city:"\u5E02",zip_code:"\u90F5\u4FBF\u756A\u53F7",added_on:"\u8FFD\u52A0\u3055\u308C\u305F",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",password:"\u30D1\u30B9\u30EF\u30FC\u30C9",street_number:"\u8857\u8DEF\u756A\u53F7",primary_currency:"\u4E00\u6B21\u901A\u8CA8",description:"\u8AAC\u660E",add_new_customer:"\u65B0\u898F\u9867\u5BA2\u306E\u8FFD\u52A0",save_customer:"\u9867\u5BA2\u3092\u6551\u3046",update_customer:"\u9867\u5BA2\u306E\u66F4\u65B0",customer:"\u9867\u5BA2|\u304A\u5BA2\u69D8",new_customer:"\u65B0\u898F\u9867\u5BA2",edit_customer:"\u9867\u5BA2\u306E\u7DE8\u96C6",basic_info:"\u57FA\u672C\u60C5\u5831",billing_address:"\u8ACB\u6C42\u5148\u4F4F\u6240",shipping_address:"\u304A\u5C4A\u3051\u5148\u306E\u4F4F\u6240",copy_billing_address:"\u8ACB\u6C42\u304B\u3089\u30B3\u30D4\u30FC",no_customers:"\u307E\u3060\u304A\u5BA2\u69D8\u306F\u3044\u307E\u305B\u3093\uFF01",no_customers_found:"\u9867\u5BA2\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\uFF01",no_contact:"\u63A5\u89E6\u7121\u3057",no_contact_name:"\u9023\u7D61\u5148\u540D\u306A\u3057",list_of_customers:"\u3053\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u306F\u3001\u9867\u5BA2\u306E\u30EA\u30B9\u30C8\u304C\u542B\u307E\u308C\u307E\u3059\u3002",primary_display_name:"\u4E00\u6B21\u8868\u793A\u540D",select_currency:"\u901A\u8CA8\u3092\u9078\u629E",select_a_customer:"\u9867\u5BA2\u3092\u9078\u629E\u3059\u308B",type_or_click:"\u5165\u529B\u307E\u305F\u306F\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u9078\u629E",new_transaction:"\u65B0\u3057\u3044\u30C8\u30E9\u30F3\u30B6\u30AF\u30B7\u30E7\u30F3",no_matching_customers:"\u4E00\u81F4\u3059\u308B\u9867\u5BA2\u306F\u3042\u308A\u307E\u305B\u3093\uFF01",phone_number:"\u96FB\u8A71\u756A\u53F7",create_date:"\u65E5\u4ED8\u3092\u4F5C\u6210\u3057\u307E\u3059",confirm_delete:"\u3053\u306E\u9867\u5BA2\u304A\u3088\u3073\u95A2\u9023\u3059\u308B\u3059\u3079\u3066\u306E\u8ACB\u6C42\u66F8\u3001\u898B\u7A4D\u3082\u308A\u3001\u304A\u3088\u3073\u652F\u6255\u3044\u3092\u56DE\u53CE\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002 |\u3053\u308C\u3089\u306E\u9867\u5BA2\u304A\u3088\u3073\u95A2\u9023\u3059\u308B\u3059\u3079\u3066\u306E\u8ACB\u6C42\u66F8\u3001\u898B\u7A4D\u3082\u308A\u3001\u652F\u6255\u3044\u3092\u56DE\u53CE\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002",created_message:"\u9867\u5BA2\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",updated_message:"\u304A\u5BA2\u69D8\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u304A\u5BA2\u69D8\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F|\u9867\u5BA2\u306F\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F"},Pd={title:"\u30A2\u30A4\u30C6\u30E0",items_list:"\u30A2\u30A4\u30C6\u30E0\u30EA\u30B9\u30C8",name:"\u540D\u524D",unit:"\u5358\u4F4D",description:"\u8AAC\u660E",added_on:"\u8FFD\u52A0\u3055\u308C\u305F",price:"\u4FA1\u683C",date_of_creation:"\u4F5C\u6210\u65E5",not_selected:"\u30A2\u30A4\u30C6\u30E0\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",add_item:"\u30A2\u30A4\u30C6\u30E0\u3092\u8FFD\u52A0",save_item:"\u30A2\u30A4\u30C6\u30E0\u3092\u4FDD\u5B58",update_item:"\u30A2\u30A4\u30C6\u30E0\u306E\u66F4\u65B0",item:"\u30A2\u30A4\u30C6\u30E0|\u30A2\u30A4\u30C6\u30E0",add_new_item:"\u65B0\u3057\u3044\u30A2\u30A4\u30C6\u30E0\u3092\u8FFD\u52A0\u3059\u308B",new_item:"\u65B0\u5546\u54C1",edit_item:"\u30A2\u30A4\u30C6\u30E0\u306E\u7DE8\u96C6",no_items:"\u307E\u3060\u30A2\u30A4\u30C6\u30E0\u306F\u3042\u308A\u307E\u305B\u3093\uFF01",list_of_items:"\u3053\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u306F\u3001\u30A2\u30A4\u30C6\u30E0\u306E\u30EA\u30B9\u30C8\u304C\u542B\u307E\u308C\u307E\u3059\u3002",select_a_unit:"\u30E6\u30CB\u30C3\u30C8\u3092\u9078\u629E",taxes:"\u7A0E\u91D1",item_attached_message:"\u3059\u3067\u306B\u4F7F\u7528\u4E2D\u306E\u30A2\u30A4\u30C6\u30E0\u306F\u524A\u9664\u3067\u304D\u307E\u305B\u3093",confirm_delete:"\u3053\u306E\u30A2\u30A4\u30C6\u30E0\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093|\u3053\u308C\u3089\u306E\u30A2\u30A4\u30C6\u30E0\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",created_message:"\u30A2\u30A4\u30C6\u30E0\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",updated_message:"\u30A2\u30A4\u30C6\u30E0\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u30A2\u30A4\u30C6\u30E0\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F|\u30A2\u30A4\u30C6\u30E0\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F"},jd={title:"\u898B\u7A4D\u308A",estimate:"\u898B\u7A4D\u3082\u308A|\u898B\u7A4D\u308A",estimates_list:"\u898B\u7A4D\u3082\u308A\u30EA\u30B9\u30C8",days:"{days}\u65E5",months:"{months}\u6708",years:"{years}\u5E74",all:"\u3059\u3079\u3066",paid:"\u6709\u6599",unpaid:"\u672A\u6255\u3044",customer:"\u304A\u5BA2\u69D8",ref_no:"\u53C2\u7167\u756A\u53F7",number:"\u6570",amount_due:"\u6599\u91D1",partially_paid:"\u90E8\u5206\u7684\u306B\u652F\u6255\u308F\u308C\u305F",total:"\u5408\u8A08",discount:"\u30C7\u30A3\u30B9\u30AB\u30A6\u30F3\u30C8",sub_total:"\u5C0F\u8A08",estimate_number:"\u898B\u7A4D\u3082\u308A\u756A\u53F7",ref_number:"\u53C2\u7167\u756A\u53F7",contact:"\u9023\u7D61\u5148",add_item:"\u30A2\u30A4\u30C6\u30E0\u3092\u8FFD\u52A0\u3059\u308B",date:"\u65E5\u4ED8",due_date:"\u671F\u65E5",expiry_date:"\u6709\u52B9\u671F\u9650",status:"\u72B6\u614B",add_tax:"\u7A0E\u91D1\u3092\u8FFD\u52A0\u3059\u308B",amount:"\u91CF",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",notes:"\u30CE\u30FC\u30C8",tax:"\u7A0E\u91D1",estimate_template:"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8",convert_to_invoice:"\u8ACB\u6C42\u66F8\u306B\u5909\u63DB",mark_as_sent:"\u9001\u4FE1\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF",send_estimate:"\u898B\u7A4D\u3082\u308A\u3092\u9001\u4FE1",resend_estimate:"\u898B\u7A4D\u3082\u308A\u3092\u518D\u9001",record_payment:"\u652F\u6255\u3044\u306E\u8A18\u9332",add_estimate:"\u898B\u7A4D\u3082\u308A\u3092\u8FFD\u52A0",save_estimate:"\u898B\u7A4D\u3082\u308A\u3092\u4FDD\u5B58",confirm_conversion:"\u3053\u306E\u898B\u7A4D\u3082\u308A\u306F\u3001\u65B0\u3057\u3044\u8ACB\u6C42\u66F8\u3092\u4F5C\u6210\u3059\u308B\u305F\u3081\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002",conversion_message:"\u8ACB\u6C42\u66F8\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",confirm_send_estimate:"\u3053\u306E\u898B\u7A4D\u3082\u308A\u306F\u3001\u96FB\u5B50\u30E1\u30FC\u30EB\u3067\u304A\u5BA2\u69D8\u306B\u9001\u4FE1\u3055\u308C\u307E\u3059",confirm_mark_as_sent:"\u3053\u306E\u898B\u7A4D\u3082\u308A\u306F\u9001\u4FE1\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u307E\u3059",confirm_mark_as_accepted:"\u3053\u306E\u898B\u7A4D\u3082\u308A\u306F\u627F\u8A8D\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u307E\u3059",confirm_mark_as_rejected:"\u3053\u306E\u898B\u7A4D\u3082\u308A\u306F\u62D2\u5426\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u307E\u3059",no_matching_estimates:"\u4E00\u81F4\u3059\u308B\u898B\u7A4D\u3082\u308A\u306F\u3042\u308A\u307E\u305B\u3093\uFF01",mark_as_sent_successfully:"\u6B63\u5E38\u306B\u9001\u4FE1\u3055\u308C\u305F\u3068\u30DE\u30FC\u30AF\u3055\u308C\u305F\u898B\u7A4D\u3082\u308A",send_estimate_successfully:"\u898B\u7A4D\u3082\u308A\u306F\u6B63\u5E38\u306B\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F",errors:{required:"\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u9805\u76EE\u3067\u3059"},accepted:"\u627F\u8A8D\u6E08\u307F",rejected:"\u62D2\u5426\u3055\u308C\u307E\u3057\u305F",sent:"\u9001\u4FE1\u6E08\u307F",draft:"\u30C9\u30E9\u30D5\u30C8",declined:"\u8F9E\u9000",new_estimate:"\u65B0\u3057\u3044\u898B\u7A4D\u3082\u308A",add_new_estimate:"\u65B0\u3057\u3044\u898B\u7A4D\u3082\u308A\u3092\u8FFD\u52A0",update_Estimate:"\u898B\u7A4D\u3082\u308A\u3092\u66F4\u65B0",edit_estimate:"\u898B\u7A4D\u3082\u308A\u306E\u7DE8\u96C6",items:"\u30A2\u30A4\u30C6\u30E0",Estimate:"\u898B\u7A4D\u3082\u308A|\u898B\u7A4D\u308A",add_new_tax:"\u65B0\u3057\u3044\u7A0E\u91D1\u3092\u8FFD\u52A0\u3059\u308B",no_estimates:"\u307E\u3060\u898B\u7A4D\u3082\u308A\u306F\u3042\u308A\u307E\u305B\u3093\uFF01",list_of_estimates:"\u3053\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u306F\u3001\u898B\u7A4D\u3082\u308A\u306E\u30EA\u30B9\u30C8\u304C\u542B\u307E\u308C\u307E\u3059\u3002",mark_as_rejected:"\u62D2\u5426\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF",mark_as_accepted:"\u627F\u8A8D\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF",marked_as_accepted_message:"\u627F\u8A8D\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u305F\u898B\u7A4D\u3082\u308A",marked_as_rejected_message:"\u62D2\u5426\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u305F\u898B\u7A4D\u3082\u308A",confirm_delete:"\u3053\u306E\u898B\u7A4D\u3082\u308A\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093|\u3053\u308C\u3089\u306E\u898B\u7A4D\u3082\u308A\u3092\u5FA9\u5143\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",created_message:"\u898B\u7A4D\u3082\u308A\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",updated_message:"\u898B\u7A4D\u3082\u308A\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u63A8\u5B9A\u306F\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F|\u63A8\u5B9A\u5024\u306F\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",something_went_wrong:"\u4F55\u304B\u304C\u3046\u307E\u304F\u3044\u304B\u306A\u304B\u3063\u305F",item:{title:"\u30A2\u30A4\u30C6\u30E0\u30BF\u30A4\u30C8\u30EB",description:"\u8AAC\u660E",quantity:"\u91CF",price:"\u4FA1\u683C",discount:"\u30C7\u30A3\u30B9\u30AB\u30A6\u30F3\u30C8",total:"\u5408\u8A08",total_discount:"\u5408\u8A08\u5272\u5F15",sub_total:"\u5C0F\u8A08",tax:"\u7A0E\u91D1",amount:"\u91CF",select_an_item:"\u5165\u529B\u307E\u305F\u306F\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30A2\u30A4\u30C6\u30E0\u3092\u9078\u629E\u3057\u307E\u3059",type_item_description:"\u30BF\u30A4\u30D7\u30A2\u30A4\u30C6\u30E0\u8AAC\u660E\uFF08\u30AA\u30D7\u30B7\u30E7\u30F3\uFF09"}},Dd={title:"\u8ACB\u6C42\u66F8",invoices_list:"\u8ACB\u6C42\u66F8\u30EA\u30B9\u30C8",days:"{days}\u65E5",months:"{months}\u6708",years:"{years}\u5E74",all:"\u3059\u3079\u3066",paid:"\u6709\u6599",unpaid:"\u672A\u6255\u3044",viewed:"\u95B2\u89A7\u6E08\u307F",overdue:"\u5EF6\u6EDE",completed:"\u5B8C\u4E86",customer:"\u304A\u5BA2\u69D8",paid_status:"\u6709\u6599\u30B9\u30C6\u30FC\u30BF\u30B9",ref_no:"\u53C2\u7167\u756A\u53F7",number:"\u6570",amount_due:"\u6599\u91D1",partially_paid:"\u90E8\u5206\u7684\u306B\u652F\u6255\u308F\u308C\u305F",total:"\u5408\u8A08",discount:"\u30C7\u30A3\u30B9\u30AB\u30A6\u30F3\u30C8",sub_total:"\u5C0F\u8A08",invoice:"\u8ACB\u6C42\u66F8|\u8ACB\u6C42\u66F8",invoice_number:"\u8ACB\u6C42\u66F8\u756A\u53F7",ref_number:"\u53C2\u7167\u756A\u53F7",contact:"\u9023\u7D61\u5148",add_item:"\u30A2\u30A4\u30C6\u30E0\u3092\u8FFD\u52A0\u3059\u308B",date:"\u65E5\u4ED8",due_date:"\u671F\u65E5",status:"\u72B6\u614B",add_tax:"\u7A0E\u91D1\u3092\u8FFD\u52A0\u3059\u308B",amount:"\u91CF",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",notes:"\u30CE\u30FC\u30C8",view:"\u898B\u308B",send_invoice:"\u8ACB\u6C42\u66F8\u3092\u9001\u308A\u307E\u3059",resend_invoice:"\u8ACB\u6C42\u66F8\u3092\u518D\u9001\u3059\u308B",invoice_template:"\u8ACB\u6C42\u66F8\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8",template:"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8",mark_as_sent:"\u9001\u4FE1\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF",confirm_send_invoice:"\u3053\u306E\u8ACB\u6C42\u66F8\u306F\u30E1\u30FC\u30EB\u3067\u304A\u5BA2\u69D8\u306B\u9001\u4FE1\u3055\u308C\u307E\u3059",invoice_mark_as_sent:"\u3053\u306E\u8ACB\u6C42\u66F8\u306F\u9001\u4FE1\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u307E\u3059",confirm_send:"\u3053\u306E\u8ACB\u6C42\u66F8\u306F\u30E1\u30FC\u30EB\u3067\u304A\u5BA2\u69D8\u306B\u9001\u4FE1\u3055\u308C\u307E\u3059",invoice_date:"\u8ACB\u6C42\u66F8\u306E\u65E5\u4ED8",record_payment:"\u652F\u6255\u3044\u306E\u8A18\u9332",add_new_invoice:"\u65B0\u3057\u3044\u8ACB\u6C42\u66F8\u3092\u8FFD\u52A0\u3059\u308B",update_expense:"\u7D4C\u8CBB\u306E\u66F4\u65B0",edit_invoice:"\u8ACB\u6C42\u66F8\u306E\u7DE8\u96C6",new_invoice:"\u65B0\u3057\u3044\u8ACB\u6C42\u66F8",save_invoice:"\u8ACB\u6C42\u66F8\u3092\u4FDD\u5B58\u3059\u308B",update_invoice:"\u8ACB\u6C42\u66F8\u3092\u66F4\u65B0\u3059\u308B",add_new_tax:"\u65B0\u3057\u3044\u7A0E\u91D1\u3092\u8FFD\u52A0\u3059\u308B",no_invoices:"\u8ACB\u6C42\u66F8\u306F\u307E\u3060\u3042\u308A\u307E\u305B\u3093\uFF01",list_of_invoices:"\u3053\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u306F\u3001\u8ACB\u6C42\u66F8\u306E\u30EA\u30B9\u30C8\u304C\u542B\u307E\u308C\u307E\u3059\u3002",select_invoice:"\u8ACB\u6C42\u66F8\u3092\u9078\u629E",no_matching_invoices:"\u4E00\u81F4\u3059\u308B\u8ACB\u6C42\u66F8\u306F\u3042\u308A\u307E\u305B\u3093\uFF01",mark_as_sent_successfully:"\u6B63\u5E38\u306B\u9001\u4FE1\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u305F\u8ACB\u6C42\u66F8",invoice_sent_successfully:"\u8ACB\u6C42\u66F8\u306F\u6B63\u5E38\u306B\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F",cloned_successfully:"\u8ACB\u6C42\u66F8\u306E\u30AF\u30ED\u30FC\u30F3\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",clone_invoice:"\u30AF\u30ED\u30FC\u30F3\u8ACB\u6C42\u66F8",confirm_clone:"\u3053\u306E\u8ACB\u6C42\u66F8\u306F\u65B0\u3057\u3044\u8ACB\u6C42\u66F8\u306B\u8907\u88FD\u3055\u308C\u307E\u3059",item:{title:"\u30A2\u30A4\u30C6\u30E0\u30BF\u30A4\u30C8\u30EB",description:"\u8AAC\u660E",quantity:"\u91CF",price:"\u4FA1\u683C",discount:"\u30C7\u30A3\u30B9\u30AB\u30A6\u30F3\u30C8",total:"\u5408\u8A08",total_discount:"\u5408\u8A08\u5272\u5F15",sub_total:"\u5C0F\u8A08",tax:"\u7A0E\u91D1",amount:"\u91CF",select_an_item:"\u5165\u529B\u307E\u305F\u306F\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30A2\u30A4\u30C6\u30E0\u3092\u9078\u629E\u3057\u307E\u3059",type_item_description:"\u30BF\u30A4\u30D7\u30A2\u30A4\u30C6\u30E0\u8AAC\u660E\uFF08\u30AA\u30D7\u30B7\u30E7\u30F3\uFF09"},confirm_delete:"\u3053\u306E\u8ACB\u6C42\u66F8\u3092\u56DE\u53CE\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093|\u3053\u308C\u3089\u306E\u8ACB\u6C42\u66F8\u3092\u56DE\u53CE\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002",created_message:"\u8ACB\u6C42\u66F8\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",updated_message:"\u8ACB\u6C42\u66F8\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u8ACB\u6C42\u66F8\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F|\u8ACB\u6C42\u66F8\u306F\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",marked_as_sent_message:"\u6B63\u5E38\u306B\u9001\u4FE1\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u305F\u8ACB\u6C42\u66F8",something_went_wrong:"\u4F55\u304B\u304C\u3046\u307E\u304F\u3044\u304B\u306A\u304B\u3063\u305F",invalid_due_amount_message:"\u8ACB\u6C42\u66F8\u306E\u5408\u8A08\u91D1\u984D\u306F\u3001\u3053\u306E\u8ACB\u6C42\u66F8\u306E\u652F\u6255\u3044\u7DCF\u984D\u3088\u308A\u5C11\u306A\u304F\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002\u7D9A\u884C\u3059\u308B\u306B\u306F\u3001\u8ACB\u6C42\u66F8\u3092\u66F4\u65B0\u3059\u308B\u304B\u3001\u95A2\u9023\u3059\u308B\u652F\u6255\u3044\u3092\u524A\u9664\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},Cd={title:"\u652F\u6255\u3044",payments_list:"\u652F\u6255\u3044\u30EA\u30B9\u30C8",record_payment:"\u652F\u6255\u3044\u306E\u8A18\u9332",customer:"\u304A\u5BA2\u69D8",date:"\u65E5\u4ED8",amount:"\u91CF",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",payment_number:"\u652F\u6255\u3044\u756A\u53F7",payment_mode:"\u652F\u6255\u3044\u30E2\u30FC\u30C9",invoice:"\u8ACB\u6C42\u66F8",note:"\u6CE8\u610F",add_payment:"\u652F\u6255\u3044\u3092\u8FFD\u52A0\u3059\u308B",new_payment:"\u65B0\u898F\u652F\u6255\u3044",edit_payment:"\u652F\u6255\u3044\u306E\u7DE8\u96C6",view_payment:"\u652F\u6255\u3044\u3092\u8868\u793A",add_new_payment:"\u65B0\u3057\u3044\u652F\u6255\u3044\u3092\u8FFD\u52A0\u3059\u308B",send_payment_receipt:"\u9818\u53CE\u66F8\u3092\u9001\u308B",send_payment:"\u652F\u6255\u3044\u3092\u9001\u308B",save_payment:"\u652F\u6255\u3044\u3092\u7BC0\u7D04\u3059\u308B",update_payment:"\u652F\u6255\u3044\u306E\u66F4\u65B0",payment:"\u652F\u6255\u3044|\u652F\u6255\u3044",no_payments:"\u307E\u3060\u652F\u6255\u3044\u306F\u3042\u308A\u307E\u305B\u3093\uFF01",not_selected:"\u9078\u629E\u3055\u308C\u3066\u3044\u306A\u3044",no_invoice:"\u8ACB\u6C42\u66F8\u306A\u3057",no_matching_payments:"\u4E00\u81F4\u3059\u308B\u652F\u6255\u3044\u306F\u3042\u308A\u307E\u305B\u3093\uFF01",list_of_payments:"\u3053\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u306F\u3001\u652F\u6255\u3044\u306E\u30EA\u30B9\u30C8\u304C\u542B\u307E\u308C\u307E\u3059\u3002",select_payment_mode:"\u652F\u6255\u3044\u30E2\u30FC\u30C9\u3092\u9078\u629E\u3057\u307E\u3059",confirm_mark_as_sent:"\u3053\u306E\u898B\u7A4D\u3082\u308A\u306F\u9001\u4FE1\u6E08\u307F\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u307E\u3059",confirm_send_payment:"\u3053\u306E\u652F\u6255\u3044\u306F\u96FB\u5B50\u30E1\u30FC\u30EB\u3067\u9867\u5BA2\u306B\u9001\u4FE1\u3055\u308C\u307E\u3059",send_payment_successfully:"\u652F\u6255\u3044\u304C\u6B63\u5E38\u306B\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F",something_went_wrong:"\u4F55\u304B\u304C\u3046\u307E\u304F\u3044\u304B\u306A\u304B\u3063\u305F",confirm_delete:"\u3053\u306E\u652F\u6255\u3044\u3092\u56DE\u53CE\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093|\u3053\u308C\u3089\u306E\u652F\u6255\u3044\u3092\u56DE\u53CE\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",created_message:"\u652F\u6255\u3044\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",updated_message:"\u652F\u6255\u3044\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u652F\u6255\u3044\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F|\u652F\u6255\u3044\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",invalid_amount_message:"\u304A\u652F\u6255\u3044\u91D1\u984D\u304C\u7121\u52B9\u3067\u3059"},Ad={title:"\u7D4C\u8CBB",expenses_list:"\u7D4C\u8CBB\u30EA\u30B9\u30C8",select_a_customer:"\u9867\u5BA2\u3092\u9078\u629E\u3059\u308B",expense_title:"\u984C\u540D",customer:"\u304A\u5BA2\u69D8",contact:"\u9023\u7D61\u5148",category:"\u30AB\u30C6\u30B4\u30EA\u30FC",from_date:"\u65E5\u4ED8\u304B\u3089",to_date:"\u73FE\u5728\u307E\u3067",expense_date:"\u65E5\u4ED8",description:"\u8AAC\u660E",receipt:"\u9818\u53CE\u66F8",amount:"\u91CF",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",not_selected:"\u9078\u629E\u3055\u308C\u3066\u3044\u306A\u3044",note:"\u6CE8\u610F",category_id:"\u30AB\u30C6\u30B4\u30EAID",date:"\u65E5\u4ED8",add_expense:"\u7D4C\u8CBB\u3092\u8FFD\u52A0\u3059\u308B",add_new_expense:"\u65B0\u3057\u3044\u7D4C\u8CBB\u3092\u8FFD\u52A0\u3059\u308B",save_expense:"\u7D4C\u8CBB\u3092\u7BC0\u7D04",update_expense:"\u7D4C\u8CBB\u306E\u66F4\u65B0",download_receipt:"\u9818\u53CE\u66F8\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",edit_expense:"\u7D4C\u8CBB\u306E\u7DE8\u96C6",new_expense:"\u65B0\u3057\u3044\u7D4C\u8CBB",expense:"\u7D4C\u8CBB|\u7D4C\u8CBB",no_expenses:"\u307E\u3060\u8CBB\u7528\u306F\u304B\u304B\u308A\u307E\u305B\u3093\uFF01",list_of_expenses:"\u3053\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u306F\u3001\u7D4C\u8CBB\u306E\u30EA\u30B9\u30C8\u304C\u542B\u307E\u308C\u307E\u3059\u3002",confirm_delete:"\u3053\u306E\u8CBB\u7528\u3092\u56DE\u53CE\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093|\u3053\u308C\u3089\u306E\u8CBB\u7528\u3092\u56DE\u53CE\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002",created_message:"\u7D4C\u8CBB\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",updated_message:"\u7D4C\u8CBB\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u7D4C\u8CBB\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F|\u7D4C\u8CBB\u306F\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",categories:{categories_list:"\u30AB\u30C6\u30B4\u30EA\u30EA\u30B9\u30C8",title:"\u984C\u540D",name:"\u540D\u524D",description:"\u8AAC\u660E",amount:"\u91CF",actions:"\u884C\u52D5",add_category:"\u30AB\u30C6\u30B4\u30EA\u3092\u8FFD\u52A0",new_category:"\u65B0\u305F\u306A\u30AB\u30C6\u30B4\u30EA\u30FC",category:"\u30AB\u30C6\u30B4\u30EA|\u30AB\u30C6\u30B4\u30EA",select_a_category:"\u30AB\u30C6\u30B4\u30EA\u30FC\u3092\u9078\u3076"}},Nd={email:"E\u30E1\u30FC\u30EB",password:"\u30D1\u30B9\u30EF\u30FC\u30C9",forgot_password:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u304A\u5FD8\u308C\u3067\u3059\u304B\uFF1F",or_signIn_with:"\u307E\u305F\u306F\u3067\u30B5\u30A4\u30F3\u30A4\u30F3",login:"\u30ED\u30B0\u30A4\u30F3",register:"\u767B\u9332",reset_password:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u518D\u8A2D\u5B9A\u3059\u308B",password_reset_successfully:"\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u6B63\u5E38\u306B\u30EA\u30BB\u30C3\u30C8\u3055\u308C\u307E\u3057\u305F",enter_email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066",enter_password:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B\u3059\u308B",retype_password:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u518D\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},Ed={title:"\u30E6\u30FC\u30B6\u30FC",users_list:"\u30E6\u30FC\u30B6\u30FC\u30EA\u30B9\u30C8",name:"\u540D\u524D",description:"\u8AAC\u660E",added_on:"\u8FFD\u52A0\u3055\u308C\u305F",date_of_creation:"\u4F5C\u6210\u65E5",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",add_user:"\u30E6\u30FC\u30B6\u30FC\u3092\u8FFD\u52A0\u3059\u308B",save_user:"\u30E6\u30FC\u30B6\u30FC\u3092\u4FDD\u5B58",update_user:"\u30E6\u30FC\u30B6\u30FC\u306E\u66F4\u65B0",user:"\u30E6\u30FC\u30B6\u30FC|\u30E6\u30FC\u30B6\u30FC",add_new_user:"\u65B0\u3057\u3044\u30E6\u30FC\u30B6\u30FC\u3092\u8FFD\u52A0",new_user:"\u65B0\u3057\u3044\u30E6\u30FC\u30B6\u30FC",edit_user:"\u30E6\u30FC\u30B6\u30FC\u306E\u7DE8\u96C6",no_users:"\u307E\u3060\u30E6\u30FC\u30B6\u30FC\u306F\u3044\u307E\u305B\u3093\uFF01",list_of_users:"\u3053\u306E\u30BB\u30AF\u30B7\u30E7\u30F3\u306B\u306F\u3001\u30E6\u30FC\u30B6\u30FC\u306E\u30EA\u30B9\u30C8\u304C\u542B\u307E\u308C\u307E\u3059\u3002",email:"E\u30E1\u30FC\u30EB",phone:"\u96FB\u8A71",password:"\u30D1\u30B9\u30EF\u30FC\u30C9",user_attached_message:"\u3059\u3067\u306B\u4F7F\u7528\u4E2D\u306E\u30A2\u30A4\u30C6\u30E0\u306F\u524A\u9664\u3067\u304D\u307E\u305B\u3093",confirm_delete:"\u3053\u306E\u30E6\u30FC\u30B6\u30FC\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093|\u3053\u308C\u3089\u306E\u30E6\u30FC\u30B6\u30FC\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",created_message:"\u30E6\u30FC\u30B6\u30FC\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",updated_message:"\u30E6\u30FC\u30B6\u30FC\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u30E6\u30FC\u30B6\u30FC\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F|\u30E6\u30FC\u30B6\u30FC\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F"},Td={title:"\u5831\u544A\u3059\u308B",from_date:"\u65E5\u4ED8\u304B\u3089",to_date:"\u73FE\u5728\u307E\u3067",status:"\u72B6\u614B",paid:"\u6709\u6599",unpaid:"\u672A\u6255\u3044",download_pdf:"PDF\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",view_pdf:"PDF\u3092\u898B\u308B",update_report:"\u30EC\u30DD\u30FC\u30C8\u306E\u66F4\u65B0",report:"\u30EC\u30DD\u30FC\u30C8|\u30EC\u30DD\u30FC\u30C8",profit_loss:{profit_loss:"\u5229\u76CA",to_date:"\u73FE\u5728\u307E\u3067",from_date:"\u65E5\u4ED8\u304B\u3089",date_range:"\u65E5\u4ED8\u7BC4\u56F2\u3092\u9078\u629E"},sales:{sales:"\u8CA9\u58F2",date_range:"\u65E5\u4ED8\u7BC4\u56F2\u3092\u9078\u629E",to_date:"\u73FE\u5728\u307E\u3067",from_date:"\u65E5\u4ED8\u304B\u3089",report_type:"\u30EC\u30DD\u30FC\u30C8\u30BF\u30A4\u30D7"},taxes:{taxes:"\u7A0E\u91D1",to_date:"\u73FE\u5728\u307E\u3067",from_date:"\u65E5\u4ED8\u304B\u3089",date_range:"\u65E5\u4ED8\u7BC4\u56F2\u3092\u9078\u629E"},errors:{required:"\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u9805\u76EE\u3067\u3059"},invoices:{invoice:"\u8ACB\u6C42\u66F8",invoice_date:"\u8ACB\u6C42\u66F8\u306E\u65E5\u4ED8",due_date:"\u671F\u65E5",amount:"\u91CF",contact_name:"\u9023\u7D61\u5148",status:"\u72B6\u614B"},estimates:{estimate:"\u898B\u7A4D\u3082\u308A",estimate_date:"\u898B\u7A4D\u3082\u308A\u65E5",due_date:"\u671F\u65E5",estimate_number:"\u898B\u7A4D\u3082\u308A\u756A\u53F7",ref_number:"\u53C2\u7167\u756A\u53F7",amount:"\u91CF",contact_name:"\u9023\u7D61\u5148",status:"\u72B6\u614B"},expenses:{expenses:"\u7D4C\u8CBB",category:"\u30AB\u30C6\u30B4\u30EA\u30FC",date:"\u65E5\u4ED8",amount:"\u91CF",to_date:"\u73FE\u5728\u307E\u3067",from_date:"\u65E5\u4ED8\u304B\u3089",date_range:"\u65E5\u4ED8\u7BC4\u56F2\u3092\u9078\u629E"}},Id={menu_title:{account_settings:"\u30A2\u30AB\u30A6\u30F3\u30C8\u8A2D\u5B9A",company_information:"\u4F1A\u793E\u60C5\u5831",customization:"\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA",preferences:"\u74B0\u5883\u8A2D\u5B9A",notifications:"\u901A\u77E5",tax_types:"\u7A0E\u306E\u7A2E\u985E",expense_category:"\u7D4C\u8CBB\u30AB\u30C6\u30B4\u30EA",update_app:"\u30A2\u30D7\u30EA\u3092\u66F4\u65B0",backup:"\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7",file_disk:"\u30D5\u30A1\u30A4\u30EB\u30C7\u30A3\u30B9\u30AF",custom_fields:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9",payment_modes:"\u652F\u6255\u3044\u30E2\u30FC\u30C9",notes:"\u30CE\u30FC\u30C8"},title:"\u8A2D\u5B9A",setting:"\u8A2D\u5B9A|\u8A2D\u5B9A",general:"\u4E00\u822C",language:"\u8A00\u8A9E",primary_currency:"\u4E00\u6B21\u901A\u8CA8",timezone:"\u30BF\u30A4\u30E0\u30BE\u30FC\u30F3",date_format:"\u65E5\u4ED8\u5F62\u5F0F",currencies:{title:"\u901A\u8CA8",currency:"\u901A\u8CA8|\u901A\u8CA8",currencies_list:"\u901A\u8CA8\u30EA\u30B9\u30C8",select_currency:"\u901A\u8CA8\u3092\u9078\u629E",name:"\u540D\u524D",code:"\u30B3\u30FC\u30C9",symbol:"\u30B7\u30F3\u30DC\u30EB",precision:"\u7CBE\u5EA6",thousand_separator:"\u30B5\u30A6\u30B6\u30F3\u30C9\u30BB\u30D1\u30EC\u30FC\u30BF\u30FC",decimal_separator:"\u5C0F\u6570\u70B9\u8A18\u53F7",position:"\u30DD\u30B8\u30B7\u30E7\u30F3",position_of_symbol:"\u30B7\u30F3\u30DC\u30EB\u306E\u4F4D\u7F6E",right:"\u6B63\u3057\u3044",left:"\u5DE6",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",add_currency:"\u901A\u8CA8\u3092\u8FFD\u52A0\u3059\u308B"},mail:{host:"\u30E1\u30FC\u30EB\u30DB\u30B9\u30C8",port:"\u30E1\u30FC\u30EB\u30DD\u30FC\u30C8",driver:"\u30E1\u30FC\u30EB\u30C9\u30E9\u30A4\u30D0\u30FC",secret:"\u79D8\u5BC6",mailgun_secret:"\u30E1\u30FC\u30EB\u30AC\u30F3\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8",mailgun_domain:"\u30C9\u30E1\u30A4\u30F3",mailgun_endpoint:"Mailgun\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8",ses_secret:"SES\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8",ses_key:"SES\u30AD\u30FC",password:"\u30E1\u30FC\u30EB\u30D1\u30B9\u30EF\u30FC\u30C9",username:"\u30E1\u30FC\u30EB\u30E6\u30FC\u30B6\u30FC\u540D",mail_config:"\u30E1\u30FC\u30EB\u8A2D\u5B9A",from_name:"\u30E1\u30FC\u30EB\u540D\u304B\u3089",from_mail:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u304B\u3089",encryption:"\u30E1\u30FC\u30EB\u306E\u6697\u53F7\u5316",mail_config_desc:"\u4EE5\u4E0B\u306F\u3001\u30A2\u30D7\u30EA\u304B\u3089\u30E1\u30FC\u30EB\u3092\u9001\u4FE1\u3059\u308B\u305F\u3081\u306E\u30E1\u30FC\u30EB\u30C9\u30E9\u30A4\u30D0\u30FC\u3092\u69CB\u6210\u3059\u308B\u305F\u3081\u306E\u30D5\u30A9\u30FC\u30E0\u3067\u3059\u3002 Sendgrid\u3001SES\u306A\u3069\u306E\u30B5\u30FC\u30C9\u30D1\u30FC\u30C6\u30A3\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3092\u69CB\u6210\u3059\u308B\u3053\u3068\u3082\u3067\u304D\u307E\u3059\u3002"},pdf:{title:"PDF\u8A2D\u5B9A",footer_text:"\u30D5\u30C3\u30BF\u30FC\u30C6\u30AD\u30B9\u30C8",pdf_layout:"PDF\u30EC\u30A4\u30A2\u30A6\u30C8"},company_info:{company_info:"\u4F1A\u793E\u60C5\u5831",company_name:"\u4F1A\u793E\u540D",company_logo:"\u4F1A\u793E\u306E\u30ED\u30B4",section_description:"Crater\u306B\u3088\u3063\u3066\u4F5C\u6210\u3055\u308C\u305F\u8ACB\u6C42\u66F8\u3001\u898B\u7A4D\u3082\u308A\u3001\u304A\u3088\u3073\u305D\u306E\u4ED6\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306B\u8868\u793A\u3055\u308C\u308B\u4F1A\u793E\u306B\u95A2\u3059\u308B\u60C5\u5831\u3002",phone:"\u96FB\u8A71",country:"\u56FD",state:"\u72B6\u614B",city:"\u5E02",address:"\u4F4F\u6240",zip:"\u30B8\u30C3\u30D7",save:"\u30BB\u30FC\u30D6",updated_message:"\u4F1A\u793E\u60C5\u5831\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F"},custom_fields:{title:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9",section_description:"\u8ACB\u6C42\u66F8\u3001\u898B\u7A4D\u3082\u308A\u3092\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3059\u308B",add_custom_field:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u8FFD\u52A0",edit_custom_field:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u7DE8\u96C6",field_name:"\u30D5\u30A3\u30FC\u30EB\u30C9\u540D",label:"\u30E9\u30D9\u30EB",type:"\u30BF\u30A4\u30D7",name:"\u540D\u524D",required:"\u5FC5\u9808",placeholder:"\u30D7\u30EC\u30FC\u30B9\u30DB\u30EB\u30C0\u30FC",help_text:"\u30D8\u30EB\u30D7\u30C6\u30AD\u30B9\u30C8",default_value:"\u30C7\u30D5\u30A9\u30EB\u30C8\u5024",prefix:"\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9",starting_number:"\u958B\u59CB\u756A\u53F7",model:"\u30E2\u30C7\u30EB",help_text_description:"\u30E6\u30FC\u30B6\u30FC\u304C\u3053\u306E\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u76EE\u7684\u3092\u7406\u89E3\u3067\u304D\u308B\u3088\u3046\u306B\u3001\u30C6\u30AD\u30B9\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",suffix:"\u30B5\u30D5\u30A3\u30C3\u30AF\u30B9",yes:"\u306F\u3044",no:"\u756A\u53F7",order:"\u6CE8\u6587",custom_field_confirm_delete:"\u3053\u306E\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",already_in_use:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059",deleted_message:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",options:"\u30AA\u30D7\u30B7\u30E7\u30F3",add_option:"\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u8FFD\u52A0",add_another_option:"\u5225\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u8FFD\u52A0\u3059\u308B",sort_in_alphabetical_order:"\u30A2\u30EB\u30D5\u30A1\u30D9\u30C3\u30C8\u9806\u306B\u4E26\u3079\u66FF\u3048\u308B",add_options_in_bulk:"\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u307E\u3068\u3081\u3066\u8FFD\u52A0\u3059\u308B",use_predefined_options:"\u4E8B\u524D\u5B9A\u7FA9\u3055\u308C\u305F\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u4F7F\u7528\u3059\u308B",select_custom_date:"\u30AB\u30B9\u30BF\u30E0\u65E5\u4ED8\u3092\u9078\u629E",select_relative_date:"\u76F8\u5BFE\u65E5\u4ED8\u3092\u9078\u629E",ticked_by_default:"\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u30C1\u30A7\u30C3\u30AF\u3055\u308C\u3066\u3044\u307E\u3059",updated_message:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",added_message:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9\u304C\u6B63\u5E38\u306B\u8FFD\u52A0\u3055\u308C\u307E\u3057\u305F"},customization:{customization:"\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA",save:"\u30BB\u30FC\u30D6",addresses:{title:"\u4F4F\u6240",section_description:"\u9867\u5BA2\u306E\u8ACB\u6C42\u5148\u4F4F\u6240\u3068\u9867\u5BA2\u306E\u914D\u9001\u5148\u4F4F\u6240\u306E\u5F62\u5F0F\u3092\u8A2D\u5B9A\u3067\u304D\u307E\u3059\uFF08PDF\u3067\u306E\u307F\u8868\u793A\uFF09\u3002",customer_billing_address:"\u9867\u5BA2\u306E\u8ACB\u6C42\u5148\u4F4F\u6240",customer_shipping_address:"\u304A\u5BA2\u69D8\u306E\u914D\u9001\u5148\u4F4F\u6240",company_address:"\u4F1A\u793E\u306E\u4F4F\u6240",insert_fields:"\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u633F\u5165",contact:"\u9023\u7D61\u5148",address:"\u4F4F\u6240",display_name:"\u8868\u793A\u540D",primary_contact_name:"\u4E3B\u306A\u9023\u7D61\u5148\u540D",email:"E\u30E1\u30FC\u30EB",website:"\u30A6\u30A7\u30D6\u30B5\u30A4\u30C8",name:"\u540D\u524D",country:"\u56FD",state:"\u72B6\u614B",city:"\u5E02",company_name:"\u4F1A\u793E\u540D",address_street_1:"\u4F4F\u6240\u901A\u308A1",address_street_2:"\u30A2\u30C9\u30EC\u30B9\u30B9\u30C8\u30EA\u30FC\u30C82",phone:"\u96FB\u8A71",zip_code:"\u90F5\u4FBF\u756A\u53F7",address_setting_updated:"\u30A2\u30C9\u30EC\u30B9\u8A2D\u5B9A\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F"},updated_message:"\u4F1A\u793E\u60C5\u5831\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",invoices:{title:"\u8ACB\u6C42\u66F8",notes:"\u30CE\u30FC\u30C8",invoice_prefix:"\u8ACB\u6C42\u66F8\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9",default_invoice_email_body:"\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u8ACB\u6C42\u66F8\u30E1\u30FC\u30EB\u672C\u6587",invoice_settings:"\u8ACB\u6C42\u66F8\u306E\u8A2D\u5B9A",autogenerate_invoice_number:"\u8ACB\u6C42\u66F8\u756A\u53F7\u306E\u81EA\u52D5\u751F\u6210",autogenerate_invoice_number_desc:"\u65B0\u3057\u3044\u8ACB\u6C42\u66F8\u3092\u4F5C\u6210\u3059\u308B\u305F\u3073\u306B\u8ACB\u6C42\u66F8\u756A\u53F7\u3092\u81EA\u52D5\u751F\u6210\u3057\u305F\u304F\u306A\u3044\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u7121\u52B9\u306B\u3057\u307E\u3059\u3002",invoice_email_attachment:"\u8ACB\u6C42\u66F8\u3092\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u3068\u3057\u3066\u9001\u4FE1\u3059\u308B",invoice_email_attachment_setting_description:"\u8ACB\u6C42\u66F8\u3092\u96FB\u5B50\u30E1\u30FC\u30EB\u306E\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u3068\u3057\u3066\u9001\u4FE1\u3059\u308B\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002\u30E1\u30FC\u30EB\u306E[\u8ACB\u6C42\u66F8\u306E\u8868\u793A]\u30DC\u30BF\u30F3\u3092\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u8868\u793A\u3055\u308C\u306A\u304F\u306A\u308B\u3053\u3068\u306B\u6CE8\u610F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",enter_invoice_prefix:"\u8ACB\u6C42\u66F8\u306E\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",terms_and_conditions:"\u898F\u7D04\u3068\u6761\u4EF6",company_address_format:"\u4F1A\u793E\u306E\u4F4F\u6240\u5F62\u5F0F",shipping_address_format:"\u914D\u9001\u5148\u4F4F\u6240\u306E\u5F62\u5F0F",billing_address_format:"\u8ACB\u6C42\u5148\u4F4F\u6240\u306E\u5F62\u5F0F",invoice_settings_updated:"\u8ACB\u6C42\u66F8\u8A2D\u5B9A\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F"},estimates:{title:"\u898B\u7A4D\u308A",estimate_prefix:"\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u306E\u898B\u7A4D\u3082\u308A",default_estimate_email_body:"\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u898B\u7A4D\u3082\u308A\u30E1\u30FC\u30EB\u672C\u6587",estimate_settings:"\u898B\u7A4D\u3082\u308A\u306E\u8A2D\u5B9A",autogenerate_estimate_number:"\u898B\u7A4D\u3082\u308A\u756A\u53F7\u306E\u81EA\u52D5\u751F\u6210",estimate_setting_description:"\u65B0\u3057\u3044\u898B\u7A4D\u3082\u308A\u3092\u4F5C\u6210\u3059\u308B\u305F\u3073\u306B\u898B\u7A4D\u3082\u308A\u756A\u53F7\u3092\u81EA\u52D5\u751F\u6210\u3057\u305F\u304F\u306A\u3044\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u7121\u52B9\u306B\u3057\u307E\u3059\u3002",estimate_email_attachment:"\u898B\u7A4D\u3082\u308A\u3092\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u3068\u3057\u3066\u9001\u4FE1\u3059\u308B",estimate_email_attachment_setting_description:"\u898B\u7A4D\u3082\u308A\u3092\u96FB\u5B50\u30E1\u30FC\u30EB\u306E\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u3068\u3057\u3066\u9001\u4FE1\u3059\u308B\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u30E1\u30FC\u30EB\u306E[\u898B\u7A4D\u3082\u308A\u3092\u8868\u793A]\u30DC\u30BF\u30F3\u304C\u8868\u793A\u3055\u308C\u306A\u304F\u306A\u308B\u3053\u3068\u306B\u6CE8\u610F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",enter_estimate_prefix:"\u63A8\u5B9A\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u3092\u5165\u529B\u3057\u307E\u3059",estimate_setting_updated:"\u898B\u7A4D\u3082\u308A\u8A2D\u5B9A\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",company_address_format:"\u4F1A\u793E\u306E\u4F4F\u6240\u5F62\u5F0F",billing_address_format:"\u8ACB\u6C42\u5148\u4F4F\u6240\u306E\u5F62\u5F0F",shipping_address_format:"\u914D\u9001\u5148\u4F4F\u6240\u306E\u5F62\u5F0F"},payments:{title:"\u652F\u6255\u3044",description:"\u652F\u6255\u3044\u306E\u53D6\u5F15\u30E2\u30FC\u30C9",payment_prefix:"\u652F\u6255\u3044\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9",default_payment_email_body:"\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u652F\u6255\u3044\u30E1\u30FC\u30EB\u672C\u6587",payment_settings:"\u652F\u6255\u3044\u8A2D\u5B9A",autogenerate_payment_number:"\u652F\u6255\u3044\u756A\u53F7\u306E\u81EA\u52D5\u751F\u6210",payment_setting_description:"\u65B0\u3057\u3044\u652F\u6255\u3044\u3092\u4F5C\u6210\u3059\u308B\u305F\u3073\u306B\u652F\u6255\u3044\u756A\u53F7\u3092\u81EA\u52D5\u751F\u6210\u3057\u305F\u304F\u306A\u3044\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u7121\u52B9\u306B\u3057\u307E\u3059\u3002",payment_email_attachment:"\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u3068\u3057\u3066\u652F\u6255\u3044\u3092\u9001\u4FE1\u3059\u308B",payment_email_attachment_setting_description:"\u9818\u53CE\u66F8\u3092\u30E1\u30FC\u30EB\u306E\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u3068\u3057\u3066\u9001\u4FE1\u3059\u308B\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u30E1\u30FC\u30EB\u306E[\u652F\u6255\u3044\u306E\u8868\u793A]\u30DC\u30BF\u30F3\u304C\u8868\u793A\u3055\u308C\u306A\u304F\u306A\u308B\u3053\u3068\u306B\u6CE8\u610F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",enter_payment_prefix:"\u652F\u6255\u3044\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",payment_setting_updated:"\u652F\u6255\u3044\u8A2D\u5B9A\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",payment_modes:"\u652F\u6255\u3044\u30E2\u30FC\u30C9",add_payment_mode:"\u652F\u6255\u3044\u30E2\u30FC\u30C9\u306E\u8FFD\u52A0",edit_payment_mode:"\u652F\u6255\u3044\u30E2\u30FC\u30C9\u306E\u7DE8\u96C6",mode_name:"\u30E2\u30FC\u30C9\u540D",payment_mode_added:"\u652F\u6255\u3044\u30E2\u30FC\u30C9\u304C\u8FFD\u52A0\u3055\u308C\u307E\u3057\u305F",payment_mode_updated:"\u652F\u6255\u3044\u30E2\u30FC\u30C9\u304C\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",payment_mode_confirm_delete:"\u3053\u306E\u652F\u6255\u3044\u30E2\u30FC\u30C9\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",already_in_use:"\u652F\u6255\u3044\u30E2\u30FC\u30C9\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059",deleted_message:"\u652F\u6255\u3044\u30E2\u30FC\u30C9\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",company_address_format:"\u4F1A\u793E\u306E\u4F4F\u6240\u5F62\u5F0F",from_customer_address_format:"\u9867\u5BA2\u306E\u4F4F\u6240\u5F62\u5F0F\u304B\u3089"},items:{title:"\u30A2\u30A4\u30C6\u30E0",units:"\u5358\u4F4D",add_item_unit:"\u30A2\u30A4\u30C6\u30E0\u30E6\u30CB\u30C3\u30C8\u3092\u8FFD\u52A0",edit_item_unit:"\u30A2\u30A4\u30C6\u30E0\u30E6\u30CB\u30C3\u30C8\u306E\u7DE8\u96C6",unit_name:"\u30E6\u30CB\u30C3\u30C8\u540D",item_unit_added:"\u30A2\u30A4\u30C6\u30E0\u30E6\u30CB\u30C3\u30C8\u304C\u8FFD\u52A0\u3055\u308C\u307E\u3057\u305F",item_unit_updated:"\u30A2\u30A4\u30C6\u30E0\u30E6\u30CB\u30C3\u30C8\u304C\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",item_unit_confirm_delete:"\u3053\u306E\u30A2\u30A4\u30C6\u30E0\u30E6\u30CB\u30C3\u30C8\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",already_in_use:"\u30A2\u30A4\u30C6\u30E0\u30E6\u30CB\u30C3\u30C8\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059",deleted_message:"\u30A2\u30A4\u30C6\u30E0\u30E6\u30CB\u30C3\u30C8\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F"},notes:{title:"\u30CE\u30FC\u30C8",description:"\u30E1\u30E2\u3092\u4F5C\u6210\u3057\u3066\u8ACB\u6C42\u66F8\u3084\u898B\u7A4D\u3082\u308A\u306B\u518D\u5229\u7528\u3059\u308B\u3053\u3068\u3067\u6642\u9593\u3092\u7BC0\u7D04\u3067\u304D\u307E\u3059",notes:"\u30CE\u30FC\u30C8",type:"\u30BF\u30A4\u30D7",add_note:"\u30E1\u30E2\u3092\u8FFD\u52A0",add_new_note:"\u65B0\u3057\u3044\u30E1\u30E2\u3092\u8FFD\u52A0",name:"\u540D\u524D",edit_note:"\u30E1\u30E2\u3092\u7DE8\u96C6",note_added:"\u30E1\u30E2\u304C\u6B63\u5E38\u306B\u8FFD\u52A0\u3055\u308C\u307E\u3057\u305F",note_updated:"\u6CE8\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",note_confirm_delete:"\u3053\u306E\u30E1\u30E2\u3092\u5FA9\u5143\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",already_in_use:"\u30CE\u30FC\u30C8\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059",deleted_message:"\u30E1\u30E2\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F"}},account_settings:{profile_picture:"\u30D7\u30ED\u30D5\u30A3\u30FC\u30EB\u306E\u5199\u771F",name:"\u540D\u524D",email:"E\u30E1\u30FC\u30EB",password:"\u30D1\u30B9\u30EF\u30FC\u30C9",confirm_password:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8A8D\u8A3C\u3059\u308B",account_settings:"\u30A2\u30AB\u30A6\u30F3\u30C8\u8A2D\u5B9A",save:"\u30BB\u30FC\u30D6",section_description:"\u3042\u306A\u305F\u306F\u3042\u306A\u305F\u306E\u540D\u524D\u3001\u96FB\u5B50\u30E1\u30FC\u30EB\u3092\u66F4\u65B0\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059",updated_message:"\u30A2\u30AB\u30A6\u30F3\u30C8\u8A2D\u5B9A\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F"},user_profile:{name:"\u540D\u524D",email:"E\u30E1\u30FC\u30EB",password:"\u30D1\u30B9\u30EF\u30FC\u30C9",confirm_password:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8A8D\u8A3C\u3059\u308B"},notification:{title:"\u901A\u77E5",email:"\u306B\u901A\u77E5\u3092\u9001\u4FE1\u3059\u308B",description:"\u4F55\u304B\u304C\u5909\u308F\u3063\u305F\u3068\u304D\u306B\u3069\u306E\u30E1\u30FC\u30EB\u901A\u77E5\u3092\u53D7\u3051\u53D6\u308A\u305F\u3044\u3067\u3059\u304B\uFF1F",invoice_viewed:"\u8ACB\u6C42\u66F8\u3092\u8868\u793A",invoice_viewed_desc:"\u9867\u5BA2\u304C\u30AF\u30EC\u30FC\u30BF\u30FC\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u4ECB\u3057\u3066\u9001\u4FE1\u3055\u308C\u305F\u8ACB\u6C42\u66F8\u3092\u8868\u793A\u3057\u305F\u3068\u304D\u3002",estimate_viewed:"\u95B2\u89A7\u3057\u305F\u898B\u7A4D\u3082\u308A",estimate_viewed_desc:"\u9867\u5BA2\u304C\u30AF\u30EC\u30FC\u30BF\u30FC\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u4ECB\u3057\u3066\u9001\u4FE1\u3055\u308C\u305F\u898B\u7A4D\u3082\u308A\u3092\u8868\u793A\u3057\u305F\u3068\u304D\u3002",save:"\u30BB\u30FC\u30D6",email_save_message:"\u30E1\u30FC\u30EB\u304C\u6B63\u5E38\u306B\u4FDD\u5B58\u3055\u308C\u307E\u3057\u305F",please_enter_email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044"},tax_types:{title:"\u7A0E\u306E\u7A2E\u985E",add_tax:"\u7A0E\u91D1\u3092\u8FFD\u52A0\u3059\u308B",edit_tax:"\u7A0E\u91D1\u306E\u7DE8\u96C6",description:"\u5FC5\u8981\u306B\u5FDC\u3058\u3066\u7A0E\u91D1\u3092\u8FFD\u52A0\u307E\u305F\u306F\u524A\u9664\u3067\u304D\u307E\u3059\u3002\u30AF\u30EC\u30FC\u30BF\u30FC\u306F\u3001\u8ACB\u6C42\u66F8\u3060\u3051\u3067\u306A\u304F\u3001\u500B\u3005\u306E\u30A2\u30A4\u30C6\u30E0\u306B\u5BFE\u3059\u308B\u7A0E\u91D1\u3082\u30B5\u30DD\u30FC\u30C8\u3057\u3066\u3044\u307E\u3059\u3002",add_new_tax:"\u65B0\u3057\u3044\u7A0E\u91D1\u3092\u8FFD\u52A0\u3059\u308B",tax_settings:"\u7A0E\u8A2D\u5B9A",tax_per_item:"\u30A2\u30A4\u30C6\u30E0\u3054\u3068\u306E\u7A0E\u91D1",tax_name:"\u7A0E\u540D",compound_tax:"\u8907\u5408\u7A0E",percent:"\u30D1\u30FC\u30BB\u30F3\u30C8",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",tax_setting_description:"\u500B\u3005\u306E\u8ACB\u6C42\u66F8\u30A2\u30A4\u30C6\u30E0\u306B\u7A0E\u91D1\u3092\u8FFD\u52A0\u3059\u308B\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u306F\u3001\u7A0E\u91D1\u306F\u8ACB\u6C42\u66F8\u306B\u76F4\u63A5\u8FFD\u52A0\u3055\u308C\u307E\u3059\u3002",created_message:"\u7A0E\u30BF\u30A4\u30D7\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",updated_message:"\u7A0E\u30BF\u30A4\u30D7\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u7A0E\u30BF\u30A4\u30D7\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",confirm_delete:"\u3053\u306E\u7A0E\u30BF\u30A4\u30D7\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",already_in_use:"\u7A0E\u91D1\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059"},expense_category:{title:"\u7D4C\u8CBB\u30AB\u30C6\u30B4\u30EA",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",description:"\u7D4C\u8CBB\u30A8\u30F3\u30C8\u30EA\u3092\u8FFD\u52A0\u3059\u308B\u306B\u306F\u3001\u30AB\u30C6\u30B4\u30EA\u304C\u5FC5\u8981\u3067\u3059\u3002\u597D\u307F\u306B\u5FDC\u3058\u3066\u3001\u3053\u308C\u3089\u306E\u30AB\u30C6\u30B4\u30EA\u3092\u8FFD\u52A0\u307E\u305F\u306F\u524A\u9664\u3067\u304D\u307E\u3059\u3002",add_new_category:"\u65B0\u3057\u3044\u30AB\u30C6\u30B4\u30EA\u3092\u8FFD\u52A0",add_category:"\u30AB\u30C6\u30B4\u30EA\u3092\u8FFD\u52A0",edit_category:"\u30AB\u30C6\u30B4\u30EA\u306E\u7DE8\u96C6",category_name:"\u7A2E\u5225\u540D",category_description:"\u8AAC\u660E",created_message:"\u7D4C\u8CBB\u30AB\u30C6\u30B4\u30EA\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",deleted_message:"\u7D4C\u8CBB\u30AB\u30C6\u30B4\u30EA\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",updated_message:"\u7D4C\u8CBB\u30AB\u30C6\u30B4\u30EA\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",confirm_delete:"\u3053\u306E\u7D4C\u8CBB\u30AB\u30C6\u30B4\u30EA\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",already_in_use:"\u30AB\u30C6\u30B4\u30EA\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059"},preferences:{currency:"\u901A\u8CA8",default_language:"\u65E2\u5B9A\u306E\u8A00\u8A9E",time_zone:"\u30BF\u30A4\u30E0\u30BE\u30FC\u30F3",fiscal_year:"\u4F1A\u8A08\u5E74\u5EA6",date_format:"\u65E5\u4ED8\u5F62\u5F0F",discount_setting:"\u5272\u5F15\u8A2D\u5B9A",discount_per_item:"\u30A2\u30A4\u30C6\u30E0\u3054\u3068\u306E\u5272\u5F15",discount_setting_description:"\u500B\u3005\u306E\u8ACB\u6C42\u66F8\u30A2\u30A4\u30C6\u30E0\u306B\u5272\u5F15\u3092\u8FFD\u52A0\u3059\u308B\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u306F\u3001\u5272\u5F15\u306F\u8ACB\u6C42\u66F8\u306B\u76F4\u63A5\u8FFD\u52A0\u3055\u308C\u307E\u3059\u3002",save:"\u30BB\u30FC\u30D6",preference:"\u597D\u307F|\u74B0\u5883\u8A2D\u5B9A",general_settings:"\u30B7\u30B9\u30C6\u30E0\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u8A2D\u5B9A\u3002",updated_message:"\u30D7\u30EA\u30D5\u30A1\u30EC\u30F3\u30B9\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",select_language:"\u8A00\u8A9E\u3092\u9078\u629E\u3059\u308B",select_time_zone:"\u30BF\u30A4\u30E0\u30BE\u30FC\u30F3\u3092\u9078\u629E",select_date_format:"\u65E5\u4ED8\u5F62\u5F0F\u306E\u9078\u629E",select_financial_year:"\u4F1A\u8A08\u5E74\u5EA6\u3092\u9078\u629E"},update_app:{title:"\u30A2\u30D7\u30EA\u3092\u66F4\u65B0",description:"\u4E0B\u306E\u30DC\u30BF\u30F3\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u65B0\u3057\u3044\u66F4\u65B0\u3092\u78BA\u8A8D\u3059\u308B\u3053\u3068\u3067\u3001\u30AF\u30EC\u30FC\u30BF\u30FC\u3092\u7C21\u5358\u306B\u66F4\u65B0\u3067\u304D\u307E\u3059\u3002",check_update:"\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u3092\u78BA\u8A8D\u3059\u308B",avail_update:"\u65B0\u3057\u3044\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u304C\u5229\u7528\u53EF\u80FD",next_version:"\u6B21\u306E\u30D0\u30FC\u30B8\u30E7\u30F3",requirements:"\u8981\u4EF6",update:"\u4ECA\u3059\u3050\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8",update_progress:"\u66F4\u65B0\u4E2D...",progress_text:"\u307B\u3093\u306E\u6570\u5206\u304B\u304B\u308A\u307E\u3059\u3002\u66F4\u65B0\u304C\u5B8C\u4E86\u3059\u308B\u524D\u306B\u3001\u753B\u9762\u3092\u66F4\u65B0\u3057\u305F\u308A\u3001\u30A6\u30A3\u30F3\u30C9\u30A6\u3092\u9589\u3058\u305F\u308A\u3057\u306A\u3044\u3067\u304F\u3060\u3055\u3044\u3002",update_success:"\u30A2\u30D7\u30EA\u304C\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F\uFF01\u30D6\u30E9\u30A6\u30B6\u30A6\u30A3\u30F3\u30C9\u30A6\u304C\u81EA\u52D5\u7684\u306B\u518D\u8AAD\u307F\u8FBC\u307F\u3055\u308C\u308B\u307E\u3067\u304A\u5F85\u3061\u304F\u3060\u3055\u3044\u3002",latest_message:"\u5229\u7528\u53EF\u80FD\u306A\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u306F\u3042\u308A\u307E\u305B\u3093\uFF01\u3042\u306A\u305F\u306F\u6700\u65B0\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059\u3002",current_version:"\u73FE\u884C\u7248",download_zip_file:"ZIP\u30D5\u30A1\u30A4\u30EB\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3059\u308B",unzipping_package:"\u30D1\u30C3\u30B1\u30FC\u30B8\u306E\u89E3\u51CD",copying_files:"\u30D5\u30A1\u30A4\u30EB\u306E\u30B3\u30D4\u30FC",deleting_files:"\u672A\u4F7F\u7528\u30D5\u30A1\u30A4\u30EB\u306E\u524A\u9664",running_migrations:"\u79FB\u884C\u306E\u5B9F\u884C",finishing_update:"\u66F4\u65B0\u306E\u7D42\u4E86",update_failed:"\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u306B\u5931\u6557\u3057\u307E\u3057\u305F",update_failed_text:"\u3054\u3081\u3093\u306A\u3055\u3044\uFF01\u66F4\u65B0\u304C\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{step} step"},backup:{title:"\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7|\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7",description:"\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u306F\u3001\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u306E\u30C0\u30F3\u30D7\u3068\u3068\u3082\u306B\u3001\u6307\u5B9A\u3057\u305F\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u5185\u306E\u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB\u3092\u542B\u3080zip\u30D5\u30A1\u30A4\u30EB\u3067\u3059\u3002",new_backup:"\u65B0\u3057\u3044\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u3092\u8FFD\u52A0\u3059\u308B",create_backup:"\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u3092\u4F5C\u6210\u3059\u308B",select_backup_type:"\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u307E\u3059",backup_confirm_delete:"\u3053\u306E\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u3092\u56DE\u5FA9\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",path:"\u9053",new_disk:"\u65B0\u3057\u3044\u30C7\u30A3\u30B9\u30AF",created_at:"\u3067\u4F5C\u6210\u3055\u308C\u305F",size:"\u30B5\u30A4\u30BA",dropbox:"\u30C9\u30ED\u30C3\u30D7\u30DC\u30C3\u30AF\u30B9",local:"\u5730\u5143",healthy:"\u5143\u6C17",amount_of_backups:"\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u306E\u91CF",newest_backups:"\u6700\u65B0\u306E\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7",used_storage:"\u4F7F\u7528\u6E08\u307F\u30B9\u30C8\u30EC\u30FC\u30B8",select_disk:"\u30C7\u30A3\u30B9\u30AF\u3092\u9078\u629E",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",deleted_message:"\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",created_message:"\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",invalid_disk_credentials:"\u9078\u629E\u3057\u305F\u30C7\u30A3\u30B9\u30AF\u306E\u8CC7\u683C\u60C5\u5831\u304C\u7121\u52B9\u3067\u3059"},disk:{title:"\u30D5\u30A1\u30A4\u30EB\u30C7\u30A3\u30B9\u30AF|\u30D5\u30A1\u30A4\u30EB\u30C7\u30A3\u30B9\u30AF",description:"\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u306F\u3001Crater\u306F\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u3001\u30A2\u30D0\u30BF\u30FC\u3001\u305D\u306E\u4ED6\u306E\u753B\u50CF\u30D5\u30A1\u30A4\u30EB\u3092\u4FDD\u5B58\u3059\u308B\u305F\u3081\u306B\u30ED\u30FC\u30AB\u30EB\u30C7\u30A3\u30B9\u30AF\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002\u597D\u307F\u306B\u5FDC\u3058\u3066\u3001DigitalOcean\u3001S3\u3001Dropbox\u306A\u3069\u306E\u8907\u6570\u306E\u30C7\u30A3\u30B9\u30AF\u30C9\u30E9\u30A4\u30D0\u30FC\u3092\u69CB\u6210\u3067\u304D\u307E\u3059\u3002",created_at:"\u3067\u4F5C\u6210\u3055\u308C\u305F",dropbox:"\u30C9\u30ED\u30C3\u30D7\u30DC\u30C3\u30AF\u30B9",name:"\u540D\u524D",driver:"\u904B\u8EE2\u8005",disk_type:"\u30BF\u30A4\u30D7",disk_name:"\u30C7\u30A3\u30B9\u30AF\u540D",new_disk:"\u65B0\u3057\u3044\u30C7\u30A3\u30B9\u30AF\u3092\u8FFD\u52A0\u3059\u308B",filesystem_driver:"\u30D5\u30A1\u30A4\u30EB\u30B7\u30B9\u30C6\u30E0\u30C9\u30E9\u30A4\u30D0\u30FC",local_driver:"\u30ED\u30FC\u30AB\u30EB\u30C9\u30E9\u30A4\u30D0\u30FC",local_root:"\u30ED\u30FC\u30AB\u30EB\u30EB\u30FC\u30C8",public_driver:"\u30D1\u30D6\u30EA\u30C3\u30AF\u30C9\u30E9\u30A4\u30D0\u30FC",public_root:"\u30D1\u30D6\u30EA\u30C3\u30AF\u30EB\u30FC\u30C8",public_url:"\u30D1\u30D6\u30EA\u30C3\u30AFURL",public_visibility:"\u30D1\u30D6\u30EA\u30C3\u30AF\u30D3\u30B8\u30D3\u30EA\u30C6\u30A3",media_driver:"\u30E1\u30C7\u30A3\u30A2\u30C9\u30E9\u30A4\u30D0\u30FC",media_root:"\u30E1\u30C7\u30A3\u30A2\u30EB\u30FC\u30C8",aws_driver:"AWS\u30C9\u30E9\u30A4\u30D0\u30FC",aws_key:"AWS\u30AD\u30FC",aws_secret:"AWS\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8",aws_region:"AWS\u30EA\u30FC\u30B8\u30E7\u30F3",aws_bucket:"AWS\u30D0\u30B1\u30C3\u30C8",aws_root:"AWS\u30EB\u30FC\u30C8",do_spaces_type:"\u30B9\u30DA\u30FC\u30B9\u30BF\u30A4\u30D7\u3092\u5B9F\u884C\u3057\u307E\u3059",do_spaces_key:"\u30B9\u30DA\u30FC\u30B9\u30AD\u30FC\u3092\u5B9F\u884C\u3057\u307E\u3059",do_spaces_secret:"\u30B9\u30DA\u30FC\u30B9\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u3092\u884C\u3046",do_spaces_region:"Do Spaces Region",do_spaces_bucket:"\u30B9\u30DA\u30FC\u30B9\u30D0\u30B1\u30C3\u30C8\u3092\u884C\u3046",do_spaces_endpoint:"\u30B9\u30DA\u30FC\u30B9\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u3092\u5B9F\u884C",do_spaces_root:"\u30B9\u30DA\u30FC\u30B9\u30EB\u30FC\u30C8\u3092\u5B9F\u884C\u3057\u307E\u3059",dropbox_type:"Dropbox\u30BF\u30A4\u30D7",dropbox_token:"Dropbox\u30C8\u30FC\u30AF\u30F3",dropbox_key:"Dropbox\u30AD\u30FC",dropbox_secret:"Dropbox\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8",dropbox_app:"Dropbox\u30A2\u30D7\u30EA",dropbox_root:"Dropbox\u30EB\u30FC\u30C8",default_driver:"\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u30C9\u30E9\u30A4\u30D0\u30FC",is_default:"\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u3059",set_default_disk:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30C7\u30A3\u30B9\u30AF\u306E\u8A2D\u5B9A",set_default_disk_confirm:"\u3053\u306E\u30C7\u30A3\u30B9\u30AF\u306F\u30C7\u30D5\u30A9\u30EB\u30C8\u3068\u3057\u3066\u8A2D\u5B9A\u3055\u308C\u3001\u3059\u3079\u3066\u306E\u65B0\u3057\u3044PDF\u304C\u3053\u306E\u30C7\u30A3\u30B9\u30AF\u306B\u4FDD\u5B58\u3055\u308C\u307E\u3059",success_set_default_disk:"\u30C7\u30A3\u30B9\u30AF\u304C\u30C7\u30D5\u30A9\u30EB\u30C8\u3068\u3057\u3066\u6B63\u5E38\u306B\u8A2D\u5B9A\u3055\u308C\u307E\u3057\u305F",save_pdf_to_disk:"PDF\u3092\u30C7\u30A3\u30B9\u30AF\u306B\u4FDD\u5B58",disk_setting_description:"\u5404\u8ACB\u6C42\u66F8\u306E\u30B3\u30D4\u30FC\u3092\u4FDD\u5B58\u3059\u308B\u5834\u5408\u306F\u3001\u3053\u308C\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002\u898B\u7A4D\u3082\u308A",select_disk:"\u30C7\u30A3\u30B9\u30AF\u3092\u9078\u629E",disk_settings:"\u30C7\u30A3\u30B9\u30AF\u8A2D\u5B9A",confirm_delete:"\u65E2\u5B58\u306E\u30D5\u30A1\u30A4\u30EB",action:"\u30A2\u30AF\u30B7\u30E7\u30F3",edit_file_disk:"\u30D5\u30A1\u30A4\u30EB\u30C7\u30A3\u30B9\u30AF\u306E\u7DE8\u96C6",success_create:"\u30C7\u30A3\u30B9\u30AF\u304C\u6B63\u5E38\u306B\u8FFD\u52A0\u3055\u308C\u307E\u3057\u305F",success_update:"\u30C7\u30A3\u30B9\u30AF\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",error:"\u30C7\u30A3\u30B9\u30AF\u306E\u8FFD\u52A0\u306B\u5931\u6557\u3057\u307E\u3057\u305F",deleted_message:"\u30D5\u30A1\u30A4\u30EB\u30C7\u30A3\u30B9\u30AF\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F",disk_variables_save_successfully:"\u30C7\u30A3\u30B9\u30AF\u304C\u6B63\u5E38\u306B\u69CB\u6210\u3055\u308C\u307E\u3057\u305F",disk_variables_save_error:"\u30C7\u30A3\u30B9\u30AF\u69CB\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002",invalid_disk_credentials:"\u9078\u629E\u3057\u305F\u30C7\u30A3\u30B9\u30AF\u306E\u8CC7\u683C\u60C5\u5831\u304C\u7121\u52B9\u3067\u3059"}},$d={account_info:"\u53E3\u5EA7\u60C5\u5831",account_info_desc:"\u4EE5\u4E0B\u306E\u8A73\u7D30\u306F\u3001\u30E1\u30A4\u30F3\u306E\u7BA1\u7406\u8005\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u6210\u3059\u308B\u305F\u3081\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002\u307E\u305F\u3001\u30ED\u30B0\u30A4\u30F3\u5F8C\u306F\u3044\u3064\u3067\u3082\u8A73\u7D30\u3092\u5909\u66F4\u3067\u304D\u307E\u3059\u3002",name:"\u540D\u524D",email:"E\u30E1\u30FC\u30EB",password:"\u30D1\u30B9\u30EF\u30FC\u30C9",confirm_password:"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8A8D\u8A3C\u3059\u308B",save_cont:"\u30BB\u30FC\u30D6",company_info:"\u4F1A\u793E\u60C5\u5831",company_info_desc:"\u3053\u306E\u60C5\u5831\u306F\u8ACB\u6C42\u66F8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002\u3053\u308C\u306F\u5F8C\u3067\u8A2D\u5B9A\u30DA\u30FC\u30B8\u3067\u7DE8\u96C6\u3067\u304D\u308B\u3053\u3068\u306B\u6CE8\u610F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",company_name:"\u4F1A\u793E\u540D",company_logo:"\u4F1A\u793E\u306E\u30ED\u30B4",logo_preview:"\u30ED\u30B4\u30D7\u30EC\u30D3\u30E5\u30FC",preferences:"\u74B0\u5883\u8A2D\u5B9A",preferences_desc:"\u30B7\u30B9\u30C6\u30E0\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u8A2D\u5B9A\u3002",country:"\u56FD",state:"\u72B6\u614B",city:"\u5E02",address:"\u4F4F\u6240",street:"Street1 | 2\u4E01\u76EE",phone:"\u96FB\u8A71",zip_code:"\u90F5\u4FBF\u756A\u53F7",go_back:"\u623B\u308B",currency:"\u901A\u8CA8",language:"\u8A00\u8A9E",time_zone:"\u30BF\u30A4\u30E0\u30BE\u30FC\u30F3",fiscal_year:"\u4F1A\u8A08\u5E74\u5EA6",date_format:"\u65E5\u4ED8\u5F62\u5F0F",from_address:"\u5DEE\u51FA\u4EBA\u4F4F\u6240",username:"\u30E6\u30FC\u30B6\u30FC\u540D",next:"\u6B21",continue:"\u7D99\u7D9A\u3059\u308B",skip:"\u30B9\u30AD\u30C3\u30D7",database:{database:"\u30B5\u30A4\u30C8\u306EURL",connection:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u63A5\u7D9A",host:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30DB\u30B9\u30C8",port:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30DD\u30FC\u30C8",password:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30D1\u30B9\u30EF\u30FC\u30C9",app_url:"\u30A2\u30D7\u30EA\u306EURL",app_domain:"\u30A2\u30D7\u30EA\u30C9\u30E1\u30A4\u30F3",username:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30E6\u30FC\u30B6\u30FC\u540D",db_name:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u540D",db_path:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u30D1\u30B9",desc:"\u30B5\u30FC\u30D0\u30FC\u4E0A\u306B\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u3092\u4F5C\u6210\u3057\u3001\u4EE5\u4E0B\u306E\u30D5\u30A9\u30FC\u30E0\u3092\u4F7F\u7528\u3057\u3066\u8CC7\u683C\u60C5\u5831\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002"},permissions:{permissions:"\u6A29\u9650",permission_confirm_title:"\u7D9A\u884C\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F",permission_confirm_desc:"\u30D5\u30A9\u30EB\u30C0\u306E\u30A2\u30AF\u30BB\u30B9\u8A31\u53EF\u306E\u78BA\u8A8D\u306B\u5931\u6557\u3057\u307E\u3057\u305F",permission_desc:"\u4EE5\u4E0B\u306F\u3001\u30A2\u30D7\u30EA\u304C\u6A5F\u80FD\u3059\u308B\u305F\u3081\u306B\u5FC5\u8981\u306A\u30D5\u30A9\u30EB\u30C0\u30FC\u306E\u30A2\u30AF\u30BB\u30B9\u8A31\u53EF\u306E\u30EA\u30B9\u30C8\u3067\u3059\u3002\u6A29\u9650\u30C1\u30A7\u30C3\u30AF\u306B\u5931\u6557\u3057\u305F\u5834\u5408\u306F\u3001\u5FC5\u305A\u30D5\u30A9\u30EB\u30C0\u306E\u6A29\u9650\u3092\u66F4\u65B0\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},mail:{host:"\u30E1\u30FC\u30EB\u30DB\u30B9\u30C8",port:"\u30E1\u30FC\u30EB\u30DD\u30FC\u30C8",driver:"\u30E1\u30FC\u30EB\u30C9\u30E9\u30A4\u30D0\u30FC",secret:"\u79D8\u5BC6",mailgun_secret:"\u30E1\u30FC\u30EB\u30AC\u30F3\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8",mailgun_domain:"\u30C9\u30E1\u30A4\u30F3",mailgun_endpoint:"Mailgun\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8",ses_secret:"SES\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8",ses_key:"SES\u30AD\u30FC",password:"\u30E1\u30FC\u30EB\u30D1\u30B9\u30EF\u30FC\u30C9",username:"\u30E1\u30FC\u30EB\u30E6\u30FC\u30B6\u30FC\u540D",mail_config:"\u30E1\u30FC\u30EB\u8A2D\u5B9A",from_name:"\u30E1\u30FC\u30EB\u540D\u304B\u3089",from_mail:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u304B\u3089",encryption:"\u30E1\u30FC\u30EB\u306E\u6697\u53F7\u5316",mail_config_desc:"\u4EE5\u4E0B\u306F\u3001\u30A2\u30D7\u30EA\u304B\u3089\u30E1\u30FC\u30EB\u3092\u9001\u4FE1\u3059\u308B\u305F\u3081\u306E\u30E1\u30FC\u30EB\u30C9\u30E9\u30A4\u30D0\u30FC\u3092\u69CB\u6210\u3059\u308B\u305F\u3081\u306E\u30D5\u30A9\u30FC\u30E0\u3067\u3059\u3002 Sendgrid\u3001SES\u306A\u3069\u306E\u30B5\u30FC\u30C9\u30D1\u30FC\u30C6\u30A3\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3092\u69CB\u6210\u3059\u308B\u3053\u3068\u3082\u3067\u304D\u307E\u3059\u3002"},req:{system_req:"\u30B7\u30B9\u30C6\u30E0\u8981\u6C42",php_req_version:"PHP\uFF08\u30D0\u30FC\u30B8\u30E7\u30F3{version}\u304C\u5FC5\u8981\uFF09",check_req:"\u8981\u4EF6\u3092\u78BA\u8A8D\u3059\u308B",system_req_desc:"\u30AF\u30EC\u30FC\u30BF\u30FC\u306B\u306F\u3044\u304F\u3064\u304B\u306E\u30B5\u30FC\u30D0\u30FC\u8981\u4EF6\u304C\u3042\u308A\u307E\u3059\u3002\u30B5\u30FC\u30D0\u30FC\u306B\u5FC5\u8981\u306Aphp\u30D0\u30FC\u30B8\u30E7\u30F3\u3068\u4EE5\u4E0B\u306B\u8A18\u8F09\u3055\u308C\u3066\u3044\u308B\u3059\u3079\u3066\u306E\u62E1\u5F35\u6A5F\u80FD\u304C\u3042\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},errors:{migrate_failed:"\u79FB\u884C\u306B\u5931\u6557\u3057\u307E\u3057\u305F",database_variables_save_error:"\u69CB\u6210\u3092.env\u30D5\u30A1\u30A4\u30EB\u306B\u66F8\u304D\u8FBC\u3081\u307E\u305B\u3093\u3002\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30AF\u30BB\u30B9\u8A31\u53EF\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044",mail_variables_save_error:"\u96FB\u5B50\u30E1\u30FC\u30EB\u306E\u69CB\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002",connection_failed:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u63A5\u7D9A\u306B\u5931\u6557\u3057\u307E\u3057\u305F",database_should_be_empty:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u306F\u7A7A\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059"},success:{mail_variables_save_successfully:"\u96FB\u5B50\u30E1\u30FC\u30EB\u304C\u6B63\u5E38\u306B\u69CB\u6210\u3055\u308C\u307E\u3057\u305F",database_variables_save_successfully:"\u30C7\u30FC\u30BF\u30D9\u30FC\u30B9\u304C\u6B63\u5E38\u306B\u69CB\u6210\u3055\u308C\u307E\u3057\u305F\u3002"}},Rd={invalid_phone:"\u7121\u52B9\u306A\u96FB\u8A71\u756A\u53F7",invalid_url:"\u7121\u52B9\u306AURL\uFF08\u4F8B\uFF1Ahttp\uFF1A//www.craterapp.com\uFF09",invalid_domain_url:"\u7121\u52B9\u306AURL\uFF08\u4F8B\uFF1Acraterapp.com\uFF09",required:"\u30D5\u30A3\u30FC\u30EB\u30C9\u306F\u5FC5\u9808\u9805\u76EE\u3067\u3059",email_incorrect:"\u8AA4\u3063\u305F\u30E1\u30FC\u30EB\u3002",email_already_taken:"\u30E1\u30FC\u30EB\u306F\u3059\u3067\u306B\u53D6\u3089\u308C\u3066\u3044\u307E\u3059\u3002",email_does_not_exist:"\u6307\u5B9A\u3055\u308C\u305F\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u6301\u3064\u30E6\u30FC\u30B6\u30FC\u306F\u5B58\u5728\u3057\u307E\u305B\u3093",item_unit_already_taken:"\u3053\u306E\u30A2\u30A4\u30C6\u30E0\u306E\u30E6\u30CB\u30C3\u30C8\u540D\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059",payment_mode_already_taken:"\u3053\u306E\u652F\u6255\u3044\u30E2\u30FC\u30C9\u540D\u306F\u3059\u3067\u306B\u4F7F\u7528\u3055\u308C\u3066\u3044\u307E\u3059",send_reset_link:"\u30EA\u30BB\u30C3\u30C8\u30EA\u30F3\u30AF\u3092\u9001\u4FE1\u3059\u308B",not_yet:"\u672A\u3060\u306B\uFF1F\u3082\u3046\u4E00\u5EA6\u9001\u4FE1\u3057\u3066\u304F\u3060\u3055\u3044",password_min_length:"\u30D1\u30B9\u30EF\u30FC\u30C9\u306B\u306F{count}\u6587\u5B57\u3092\u542B\u3081\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",name_min_length:"\u540D\u524D\u306B\u306F\u5C11\u306A\u304F\u3068\u3082{count}\u6587\u5B57\u304C\u5FC5\u8981\u3067\u3059\u3002",enter_valid_tax_rate:"\u6709\u52B9\u306A\u7A0E\u7387\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",numbers_only:"\u6570\u5B57\u306E\u307F\u3002",characters_only:"\u6587\u5B57\u306E\u307F\u3002",password_incorrect:"\u30D1\u30B9\u30EF\u30FC\u30C9\u306F\u540C\u4E00\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",password_length:"\u30D1\u30B9\u30EF\u30FC\u30C9\u306F{count}\u6587\u5B57\u306E\u9577\u3055\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",qty_must_greater_than_zero:"\u6570\u91CF\u306F\u30BC\u30ED\u3088\u308A\u5927\u304D\u304F\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",price_greater_than_zero:"\u4FA1\u683C\u306F\u30BC\u30ED\u3088\u308A\u5927\u304D\u304F\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",payment_greater_than_zero:"\u652F\u6255\u3044\u306F\u30BC\u30ED\u3088\u308A\u5927\u304D\u304F\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002",payment_greater_than_due_amount:"\u5165\u529B\u3055\u308C\u305F\u652F\u6255\u3044\u306F\u3001\u3053\u306E\u8ACB\u6C42\u66F8\u306E\u652F\u6255\u984D\u3092\u8D85\u3048\u3066\u3044\u307E\u3059\u3002",quantity_maxlength:"\u6570\u91CF\u306F20\u6841\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",price_maxlength:"\u4FA1\u683C\u306F20\u6841\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",price_minvalue:"\u4FA1\u683C\u306F0\u3088\u308A\u5927\u304D\u304F\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",amount_maxlength:"\u91D1\u984D\u306F20\u6841\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",amount_minvalue:"\u91D1\u984D\u306F0\u3088\u308A\u5927\u304D\u304F\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",description_maxlength:"\u8AAC\u660E\u306F65,000\u6587\u5B57\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",subject_maxlength:"\u4EF6\u540D\u306F100\u6587\u5B57\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",message_maxlength:"\u30E1\u30C3\u30BB\u30FC\u30B8\u306F255\u6587\u5B57\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",maximum_options_error:"\u9078\u629E\u3055\u308C\u305F{max}\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u6700\u5927\u6570\u3002\u307E\u305A\u3001\u9078\u629E\u3057\u305F\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u524A\u9664\u3057\u3066\u3001\u5225\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u9078\u629E\u3057\u307E\u3059\u3002",notes_maxlength:"\u30E1\u30E2\u306F65,000\u6587\u5B57\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",address_maxlength:"\u30A2\u30C9\u30EC\u30B9\u306F255\u6587\u5B57\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",ref_number_maxlength:"\u53C2\u7167\u756A\u53F7\u306F255\u6587\u5B57\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",prefix_maxlength:"\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u306F5\u6587\u5B57\u3092\u8D85\u3048\u3066\u306F\u306A\u308A\u307E\u305B\u3093\u3002",something_went_wrong:"\u4F55\u304B\u304C\u3046\u307E\u304F\u3044\u304B\u306A\u304B\u3063\u305F"},Fd="\u898B\u7A4D\u3082\u308A",Md="\u898B\u7A4D\u3082\u308A\u756A\u53F7",Bd="\u898B\u7A4D\u3082\u308A\u65E5",Vd="\u6709\u52B9\u671F\u9650",Od="\u8ACB\u6C42\u66F8",Ld="\u8ACB\u6C42\u66F8\u756A\u53F7",Ud="\u8ACB\u6C42\u66F8\u306E\u65E5\u4ED8",Kd="\u671F\u65E5",qd="\u30CE\u30FC\u30C8",Wd="\u30A2\u30A4\u30C6\u30E0",Zd="\u91CF",Hd="\u4FA1\u683C",Gd="\u30C7\u30A3\u30B9\u30AB\u30A6\u30F3\u30C8",Yd="\u91CF",Jd="\u5C0F\u8A08",Xd="\u5408\u8A08",Qd="\u652F\u6255\u3044",el="\u304A\u652F\u6255\u3044\u306E\u9818\u53CE\u66F8",tl="\u652F\u6255\u671F\u65E5",al="\u652F\u6255\u3044\u756A\u53F7",sl="\u652F\u6255\u3044\u30E2\u30FC\u30C9",nl="\u3082\u3089\u3063\u305F\u5206\u91CF",il="\u7D4C\u8CBB\u5831\u544A\u66F8",ol="\u7DCF\u7D4C\u8CBB",rl="\u5229\u76CA",dl="\u30BB\u30FC\u30EB\u30B9\u30AB\u30B9\u30BF\u30DE\u30FC\u30EC\u30DD\u30FC\u30C8",ll="\u8CA9\u58F2\u30A2\u30A4\u30C6\u30E0\u30EC\u30DD\u30FC\u30C8",cl="\u7A0E\u6982\u8981\u30EC\u30DD\u30FC\u30C8",_l="\u6240\u5F97",ul="\u7D14\u5229\u76CA",ml="\u8CA9\u58F2\u30EC\u30DD\u30FC\u30C8\uFF1A\u9867\u5BA2\u5225",pl="\u7DCF\u58F2\u4E0A\u9AD8",gl="\u8CA9\u58F2\u30EC\u30DD\u30FC\u30C8\uFF1A\u30A2\u30A4\u30C6\u30E0\u5225",fl="\u7A0E\u30EC\u30DD\u30FC\u30C8",hl="\u7DCF\u7A0E",vl="\u7A0E\u306E\u7A2E\u985E",yl="\u7D4C\u8CBB",bl="\u8ACB\u6C42\u66F8\u9001\u4ED8\u5148\u3001",kl="\u9001\u308A\u5148\u3001",wl="\u304B\u3089\u53D7\u3051\u53D6\u308A\u307E\u3057\u305F\uFF1A",xl="\u7A0E";var zl={navigation:bd,general:kd,dashboard:wd,tax_types:xd,global_search:zd,customers:Sd,items:Pd,estimates:jd,invoices:Dd,payments:Cd,expenses:Ad,login:Nd,users:Ed,reports:Td,settings:Id,wizard:$d,validation:Rd,pdf_estimate_label:Fd,pdf_estimate_number:Md,pdf_estimate_date:Bd,pdf_estimate_expire_date:Vd,pdf_invoice_label:Od,pdf_invoice_number:Ld,pdf_invoice_date:Ud,pdf_invoice_due_date:Kd,pdf_notes:qd,pdf_items_label:Wd,pdf_quantity_label:Zd,pdf_price_label:Hd,pdf_discount_label:Gd,pdf_amount_label:Yd,pdf_subtotal:Jd,pdf_total:Xd,pdf_payment_label:Qd,pdf_payment_receipt_label:el,pdf_payment_date:tl,pdf_payment_number:al,pdf_payment_mode:sl,pdf_payment_amount_received_label:nl,pdf_expense_report_label:il,pdf_total_expenses_label:ol,pdf_profit_loss_label:rl,pdf_sales_customers_label:dl,pdf_sales_items_label:ll,pdf_tax_summery_label:cl,pdf_income_label:_l,pdf_net_profit_label:ul,pdf_customer_sales_report:ml,pdf_total_sales_label:pl,pdf_item_sales_label:gl,pdf_tax_report_label:fl,pdf_total_tax_label:hl,pdf_tax_types_label:vl,pdf_expenses_label:yl,pdf_bill_to:bl,pdf_ship_to:kl,pdf_received_from:wl,pdf_tax_label:xl};const Sl={dashboard:"Panel zarz\u0105dzania",customers:"Kontrahenci",items:"Pozycje",invoices:"Faktury",expenses:"Wydatki",estimates:"Oferty",payments:"P\u0142atno\u015Bci",reports:"Raporty",settings:"Ustawienia",logout:"Wyloguj",users:"U\u017Cytkownicy"},Pl={add_company:"Dodaj firm\u0119",view_pdf:"Wy\u015Bwietl PDF",copy_pdf_url:"Kopiuj adres URL PDF",download_pdf:"\u015Aci\u0105gnij PDF",save:"Zapisz",create:"Stw\xF3rz",cancel:"Anuluj",update:"Zaktualizuj",deselect:"Odznacz",download:"Pobierz",from_date:"Od daty",to_date:"Do daty",from:"Od",to:"Do",sort_by:"Sortuj wed\u0142ug",ascending:"Rosn\u0105co",descending:"Malej\u0105co",subject:"Temat",body:"Tre\u015B\u0107",message:"Wiadomo\u015B\u0107",send:"Wy\u015Blij",go_back:"Wstecz",back_to_login:"Wr\xF3\u0107 do logowania?",home:"Strona g\u0142\xF3wna",filter:"Filtr",delete:"Usu\u0144",edit:"Edytuj",view:"Widok",add_new_item:"Dodaj now\u0105 pozycj\u0119",clear_all:"Wyczy\u015B\u0107 wszystko",showing:"Wy\u015Bwietlanie",of:"z",actions:"Akcje",subtotal:"SUMA CZ\u0118\u015ACIOWA",discount:"RABAT",fixed:"Sta\u0142y",percentage:"Procentowo",tax:"PODATEK",total_amount:"\u0141\u0104CZNA KWOTA",bill_to:"P\u0142atnik",ship_to:"Wy\u015Blij do",due:"Nale\u017Cno\u015B\u0107",draft:"Wersja robocza",sent:"Wys\u0142ano",all:"Wszystko",select_all:"Zaznacz wszystkie",choose_file:"Kliknij tutaj, aby wybra\u0107 plik",choose_template:"Wybierz szablon",choose:"Wybierz",remove:"Usu\u0144",powered_by:"Wspierane przez",bytefury:"Bytefury",select_a_status:"Wybierz status",select_a_tax:"Wybierz podatek",search:"Wyszukaj",are_you_sure:"Czy jeste\u015B pewien?",list_is_empty:"Lista jest pusta.",no_tax_found:"Nie znaleziono podatku!",four_zero_four:"404",you_got_lost:"Ups! Zgubi\u0142e\u015B si\u0119!",go_home:"Wr\xF3\u0107 do strony g\u0142\xF3wnej",test_mail_conf:"Konfiguracja poczty testowej",send_mail_successfully:"Wiadomo\u015B\u0107 wys\u0142ana pomy\u015Blnie",setting_updated:"Ustawienia zosta\u0142y zaktualizowane",select_state:"Wybierz wojew\xF3dztwo",select_country:"Wybierz kraj",select_city:"Wybierz miasto",street_1:"Adres 1",street_2:"Adres 2",action_failed:"Niepowodzenie",retry:"Spr\xF3buj ponownie",choose_note:"Wybierz notatk\u0119",no_note_found:"Nie znaleziono notatki",insert_note:"Wstaw notatk\u0119",copied_pdf_url_clipboard:"Skopiowano adres URL pliku PDF do schowka!"},jl={select_year:"Wybierz rok",cards:{due_amount:"Do zap\u0142aty",customers:"Kontrahenci",invoices:"Faktury",estimates:"Oferty"},chart_info:{total_sales:"Sprzeda\u017C",total_receipts:"Przychody",total_expense:"Wydatki",net_income:"Doch\xF3d netto",year:"Wybierz rok"},weekly_invoices:{title:"Faktury tygodniowe"},monthly_chart:{title:"Sprzeda\u017C i wydatki"},recent_invoices_card:{title:"Nale\u017Cne faktury",due_on:"Termin p\u0142atno\u015Bci",customer:"Kontrahent",amount_due:"Do zap\u0142aty",actions:"Akcje",view_all:"Zobacz wszsytkie"},recent_estimate_card:{title:"Najnowsze oferty",date:"Data",customer:"Kontrahent",amount_due:"Do zap\u0142aty",actions:"Akcje",view_all:"Zobacz wszsytkie"}},Dl={name:"Nazwa",description:"Opis",percent:"Procent",compound_tax:"Podatek z\u0142o\u017Cony"},Cl={search:"Wyszukaj...",customers:"Kontrahenci",users:"U\u017Cytkownicy",no_results_found:"Nie znaleziono wynik\xF3w"},Al={title:"Kontrahenci",add_customer:"Dodaj kontrahenta",contacts_list:"Lista kontrahent\xF3w",name:"Nazwa",mail:"Poczta | Poczta",statement:"Komunikat",display_name:"Widoczna nazwa",primary_contact_name:"G\u0142\xF3wna osoba kontaktowa",contact_name:"Nazwa kontaktu",amount_due:"Do zap\u0142aty",email:"E-mail",address:"Adres",phone:"Telefon",website:"Strona internetowa",overview:"Przegl\u0105d",enable_portal:"W\u0142\u0105cz portal",country:"Kraj",state:"Wojew\xF3dztwo",city:"Miasto",zip_code:"Kod pocztowy",added_on:"Dodano dnia",action:"Akcja",password:"Has\u0142a",street_number:"Numer ulicy",primary_currency:"Waluta g\u0142\xF3wna",description:"Opis",add_new_customer:"Dodaj nowego kontrahenta",save_customer:"Zapisz kontrahenta",update_customer:"Aktualizuj kontrahenta",customer:"Kontrahent | Kontrahenci",new_customer:"Nowy kontrahent",edit_customer:"Edytuj kontrahenta",basic_info:"Podstawowe informacje",billing_address:"Adres do faktury",shipping_address:"Adres dostawy",copy_billing_address:"Kopiuj z rachunku",no_customers:"Brak kontrahent\xF3w!",no_customers_found:"Nie znaleziono kontrahent\xF3w!",no_contact:"Brak kontaktu",no_contact_name:"Brak nazwy kontaktu",list_of_customers:"Ta sekcja b\u0119dzie zawiera\u0107 list\u0119 kontrahent\xF3w.",primary_display_name:"G\u0142\xF3wna nazwa wy\u015Bwietlana",select_currency:"Wybierz walut\u0119",select_a_customer:"Wybierz kontrahenta",type_or_click:"Wpisz lub kliknij aby wybra\u0107",new_transaction:"Nowa transakcja",no_matching_customers:"Brak pasuj\u0105cych kontrahent\xF3w!",phone_number:"Numer telefonu",create_date:"Data utworzenia",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tego kontrahenta i wszystkich powi\u0105zanych faktur, ofert i p\u0142atno\u015Bci. | Nie b\u0119dziesz w stanie odzyska\u0107 tych kontrahent\xF3w i wszystkich powi\u0105zanych faktur, ofert i p\u0142atno\u015Bci.",created_message:"Kontrahent zosta\u0142 utworzony poprawnie",updated_message:"Kontrahent zosta\u0142 zaktualizowany poprawnie",deleted_message:"Kontrahent zosta\u0142 usuni\u0119ty pomy\u015Blnie | Kontrahenci zostali usuni\u0119ci pomy\u015Blnie"},Nl={title:"Pozycje",items_list:"Lista artyku\u0142\xF3w",name:"Nazwa",unit:"Jednostka",description:"Opis",added_on:"Dodane",price:"Cena",date_of_creation:"Data utworzenia",not_selected:"Nie wybrano element\xF3w",action:"Akcja",add_item:"Dodaj pozycj\u0119",save_item:"Zapisz element",update_item:"Aktualizuj element",item:"Pozycja | Pozycje",add_new_item:"Dodaj now\u0105 pozycj\u0119",new_item:"Nowy produkt",edit_item:"Edytuj element",no_items:"Brak element\xF3w!",list_of_items:"Ta sekcja b\u0119dzie zawiera\u0107 list\u0119 pozycji.",select_a_unit:"wybierz jednostk\u0119",taxes:"Podatki",item_attached_message:"Nie mo\u017Cna usun\u0105\u0107 elementu, kt\xF3ry jest ju\u017C u\u017Cywany",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej pozycji | Nie b\u0119dziesz w stanie odzyska\u0107 tych pozycji",created_message:"Element zosta\u0142 pomy\u015Blnie zaktualizowany",updated_message:"Element zosta\u0142 pomy\u015Blnie zaktualizowany",deleted_message:"Pozycja usuni\u0119ta pomy\u015Blnie | Pozycje usuni\u0119te pomy\u015Blnie"},El={title:"Oferty",estimate:"Oferta | Oferty",estimates_list:"Lista ofert",days:"{days} Dni",months:"{months} Miesi\u0105c",years:"{years} Rok",all:"Wszystkie",paid:"Zap\u0142acone",unpaid:"Niezap\u0142acone",customer:"KONTRAHENT",ref_no:"NR REF.",number:"NUMER",amount_due:"DO ZAP\u0141ATY",partially_paid:"Cz\u0119\u015Bciowo op\u0142acona",total:"Razem",discount:"Rabat",sub_total:"Podsumowanie",estimate_number:"Numer oferty",ref_number:"Numer referencyjny",contact:"Kontakt",add_item:"Dodaj pozycj\u0119",date:"Data",due_date:"Data wa\u017Cno\u015Bci",expiry_date:"Data wyga\u015Bni\u0119cia",status:"Status",add_tax:"Dodaj podatek",amount:"Kwota",action:"Akcja",notes:"Notatki",tax:"Podatek",estimate_template:"Szablon",convert_to_invoice:"Konwertuj do faktury",mark_as_sent:"Oznacz jako wys\u0142ane",send_estimate:"Wy\u015Blij ofert\u0119",resend_estimate:"Wy\u015Blij ponownie ofert\u0119",record_payment:"Zarejestruj p\u0142atno\u015B\u0107",add_estimate:"Dodaj ofert\u0119",save_estimate:"Zapisz ofert\u0119",confirm_conversion:"Ta oferta zostanie u\u017Cyta do utworzenia nowej faktury.",conversion_message:"Faktura zosta\u0142a utworzona pomy\u015Blnie",confirm_send_estimate:"Ta oferta zostanie wys\u0142ana poczt\u0105 elektroniczn\u0105 do kontrahenta",confirm_mark_as_sent:"Ta oferta zostanie oznaczona jako wys\u0142ana",confirm_mark_as_accepted:"Ta oferta zostanie oznaczona jako zatwierdzona",confirm_mark_as_rejected:"Ta oferta zostanie oznaczona jako odrzucona",no_matching_estimates:"Brak pasuj\u0105cych ofert!",mark_as_sent_successfully:"Oferta oznaczona jako wys\u0142ana pomy\u015Blnie",send_estimate_successfully:"Kalkulacja wys\u0142ana pomy\u015Blnie",errors:{required:"To pole jest wymagane"},accepted:"Zaakceptowano",rejected:"Odrzucono",sent:"Wys\u0142ano",draft:"Wersja robocza",declined:"Odrzucony",new_estimate:"Nowa oferta",add_new_estimate:"Dodaj now\u0105 ofert\u0119",update_Estimate:"Zaktualizuj ofert\u0119",edit_estimate:"Edytuj ofert\u0119",items:"pozycje",Estimate:"Oferta | Oferty",add_new_tax:"Dodaj nowy podatek",no_estimates:"Nie ma jeszcze ofert!",list_of_estimates:"Ta sekcja b\u0119dzie zawiera\u0142a list\u0119 ofert.",mark_as_rejected:"Oznacz jako odrzucon\u0105",mark_as_accepted:"Oznacz jako zaakceptowan\u0105",marked_as_accepted_message:"Oferty oznaczone jako zaakceptowane",marked_as_rejected_message:"Oferty oznaczone jako odrzucone",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej oferty | Nie b\u0119dziesz w stanie odzyska\u0107 tych ofert",created_message:"Oferta utworzona pomy\u015Blnie",updated_message:"Oferta zaktualizowana pomy\u015Blnie",deleted_message:"Oferta usuni\u0119ta pomy\u015Blnie | Oferty usuni\u0119te pomy\u015Blnie",user_email_does_not_exist:"E-mail u\u017Cytkownika nie istnieje",something_went_wrong:"co\u015B posz\u0142o nie tak",item:{title:"Tytu\u0142 pozycji",description:"Opis",quantity:"Ilo\u015B\u0107",price:"Cena",discount:"Rabat",total:"Razem",total_discount:"Rabat \u0142\u0105cznie",sub_total:"Podsumowanie",tax:"Podatek",amount:"Kwota",select_an_item:"Wpisz lub kliknij aby wybra\u0107 element",type_item_description:"Opis pozycji (opcjonalnie)"}},Tl={title:"Faktury",invoices_list:"Lista faktur",days:"{days} Dni",months:"{months} Miesi\u0105c",years:"{years} Rok",all:"Wszystko",paid:"Zap\u0142acono",unpaid:"Nie zap\u0142acono",viewed:"Przejrzane",overdue:"Zaleg\u0142e",completed:"Uko\u0144czone",customer:"KONTRAHENT",paid_status:"STATUS P\u0141ATNO\u015ACI",ref_no:"NR REF.",number:"NUMER",amount_due:"DO ZAP\u0141ATY",partially_paid:"Cz\u0119\u015Bciowo op\u0142acona",total:"Razem",discount:"Rabat",sub_total:"Podsumowanie",invoice:"Faktura | Faktury",invoice_number:"Numer faktury",ref_number:"Numer referencyjny",contact:"Kontakt",add_item:"Dodaj pozycj\u0119",date:"Data",due_date:"Termin p\u0142atno\u015Bci",status:"Status",add_tax:"Dodaj podatek",amount:"Kwota",action:"Akcja",notes:"Notatki",view:"Widok",send_invoice:"Wy\u015Blij faktur\u0119",resend_invoice:"Wy\u015Blij faktur\u0119 ponownie",invoice_template:"Szablon faktury",template:"Szablon",mark_as_sent:"Oznacz jako wys\u0142ane",confirm_send_invoice:"Ta faktura zostanie wys\u0142ana poczt\u0105 elektroniczn\u0105 do kontrahenta",invoice_mark_as_sent:"Ta faktura zostanie oznaczona jako wys\u0142ana",confirm_send:"Ta faktura zostanie wys\u0142ana poczt\u0105 elektroniczn\u0105 do kontrahenta",invoice_date:"Data faktury",record_payment:"Zarejestruj p\u0142atno\u015B\u0107",add_new_invoice:"Dodaj now\u0105 faktur\u0119",update_expense:"Zaktualizuj wydatki",edit_invoice:"Edytuj faktur\u0119",new_invoice:"Nowa faktura",save_invoice:"Zapisz faktur\u0119",update_invoice:"Zaktualizuj faktur\u0119",add_new_tax:"Dodaj nowy podatek",no_invoices:"Brak faktur!",list_of_invoices:"Ta sekcja b\u0119dzie zawiera\u0107 list\u0119 faktur.",select_invoice:"Wybierz faktur\u0119",no_matching_invoices:"Brak pasuj\u0105cych faktur!",mark_as_sent_successfully:"Faktura oznaczona jako wys\u0142ana pomy\u015Blnie",send_invoice_successfully:"Faktura wys\u0142ana pomy\u015Blnie",cloned_successfully:"Faktura sklonowana pomy\u015Blnie",clone_invoice:"Sklonuj faktur\u0119",confirm_clone:"Ta faktura zostanie sklonowana do nowej faktury",item:{title:"Tytu\u0142 pozycji",description:"Opis",quantity:"Ilo\u015B\u0107",price:"Cena",discount:"Rabat",total:"Razem",total_discount:"Rabat \u0142\u0105cznie",sub_total:"Podsumowanie",tax:"Podatek",amount:"Kwota",select_an_item:"Wpisz lub kliknij aby wybra\u0107 element",type_item_description:"Opis pozycji (opcjonalnie)"},payment_attached_message:"Jedna z wybranych faktur ma do\u0142\u0105czon\u0105 p\u0142atno\u015B\u0107. Upewnij si\u0119, \u017Ce najpierw usuniesz za\u0142\u0105czone p\u0142atno\u015Bci, aby kontynuowa\u0107 usuwanie",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej faktury | Nie b\u0119dziesz w stanie odzyska\u0107 tych faktur",created_message:"Faktura zosta\u0142a utworzona pomy\u015Blnie",updated_message:"Faktura zosta\u0142a pomy\u015Blnie zaktualizowana",deleted_message:"Faktura usuni\u0119ta pomy\u015Blnie | Faktury usuni\u0119te pomy\u015Blnie",marked_as_sent_message:"Faktura oznaczona jako wys\u0142ana pomy\u015Blnie",user_email_does_not_exist:"E-mail u\u017Cytkownika nie istnieje",something_went_wrong:"co\u015B posz\u0142o nie tak",invalid_due_amount_message:"Ca\u0142kowita kwota faktury nie mo\u017Ce by\u0107 mniejsza ni\u017C ca\u0142kowita kwota zap\u0142acona za t\u0119 faktur\u0119. Prosz\u0119 zaktualizowa\u0107 faktur\u0119 lub usun\u0105\u0107 powi\u0105zane p\u0142atno\u015Bci, aby kontynuowa\u0107."},Il={title:"Noty kredytowe",credit_notes_list:"Lista not kredytowych",credit_notes:"Noty kredytowe",contact:"Kontakt",date:"Data",amount:"Kwota",action:"Akcja",credit_number:"Numer kredytu",notes:"Notatki",confirm_delete:"Czy na pewno chcesz usun\u0105\u0107 notatk\u0119 kredytow\u0105?",item:{title:"Tytu\u0142 pozycji",description:"Opis",quantity:"Ilo\u015B\u0107",price:"Cena",discount:"Rabat",total:"Razem",total_discount:"Rabat \u0142\u0105cznie",sub_total:"Podsumowanie",tax:"Podatek"}},$l={title:"P\u0142atno\u015Bci",payments_list:"Lista p\u0142atno\u015Bci",record_payment:"Zarejestruj p\u0142atno\u015B\u0107",customer:"Kontrahent",date:"Data",amount:"Kwota",action:"Akcja",payment_number:"Numer p\u0142atno\u015Bci",payment_mode:"Metoda p\u0142atno\u015Bci",invoice:"Faktura",note:"Notatka",add_payment:"Dodaj p\u0142atno\u015B\u0107",new_payment:"Nowa p\u0142atno\u015B\u0107",edit_payment:"Edytuj p\u0142atno\u015B\u0107",view_payment:"Wy\u015Bwietl p\u0142atno\u015B\u0107",add_new_payment:"Dodaj now\u0105 p\u0142atno\u015B\u0107",send_payment_receipt:"Wy\u015Blij potwierdzenie p\u0142atno\u015Bci",send_payment:"Wy\u015Blij p\u0142atno\u015B\u0107",save_payment:"Zapisz p\u0142atno\u015B\u0107",update_payment:"Zaktualizuj p\u0142atno\u015B\u0107",payment:"P\u0142atno\u015B\u0107 | P\u0142atno\u015Bci",no_payments:"Nie ma jeszcze p\u0142atno\u015Bci!",not_selected:"Nie wybrano",no_invoice:"Brak faktury",no_matching_payments:"Brak pasuj\u0105cych p\u0142atno\u015Bci!",list_of_payments:"Ta sekcja b\u0119dzie zawiera\u0107 list\u0119 p\u0142atno\u015Bci.",select_payment_mode:"Wybierz spos\xF3b p\u0142atno\u015Bci",confirm_mark_as_sent:"Ta oferta zostanie oznaczona jako wys\u0142ana",confirm_send_payment:"Ta p\u0142atno\u015B\u0107 zostanie wys\u0142ana e-mailem do kontrahenta",send_payment_successfully:"P\u0142atno\u015B\u0107 wys\u0142ana pomy\u015Blnie",user_email_does_not_exist:"E-mail u\u017Cytkownika nie istnieje",something_went_wrong:"co\u015B posz\u0142o nie tak",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej p\u0142atno\u015Bci | Nie b\u0119dziesz w stanie odzyska\u0107 tych p\u0142atno\u015Bci",created_message:"P\u0142atno\u015B\u0107 zosta\u0142a pomy\u015Blnie utworzona",updated_message:"P\u0142atno\u015B\u0107 zosta\u0142a pomy\u015Blnie zaktualizowana",deleted_message:"P\u0142atno\u015B\u0107 usuni\u0119ta pomy\u015Blnie | P\u0142atno\u015Bci usuni\u0119te pomy\u015Blnie",invalid_amount_message:"Kwota p\u0142atno\u015Bci jest nieprawid\u0142owa"},Rl={title:"Wydatki",expenses_list:"Lista wydatk\xF3w",select_a_customer:"Wybierz kontrahenta",expense_title:"Tytu\u0142",customer:"Kontrahent",contact:"Kontakt",category:"Kategoria",from_date:"Od daty",to_date:"Do daty",expense_date:"Data",description:"Opis",receipt:"Potwierdzenie",amount:"Kwota",action:"Akcja",not_selected:"Nie wybrano",note:"Notatka",category_id:"Identyfikator kategorii",date:"Data",add_expense:"Dodaj wydatek",add_new_expense:"Dodaj nowy wydatek",save_expense:"Zapisz wydatek",update_expense:"Zaktualizuj wydatek",download_receipt:"Pobierz potwierdzenie wp\u0142aty",edit_expense:"Edytuj wydatek",new_expense:"Nowy wydatek",expense:"Wydatek | Wydatki",no_expenses:"Nie ma jeszcze wydatk\xF3w!",list_of_expenses:"Ta sekcja b\u0119dzie zawiera\u0142a list\u0119 wydatk\xF3w.",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tego wydatku | Nie b\u0119dziesz w stanie odzyska\u0107 tych wydatk\xF3w",created_message:"Wydatek utworzony pomy\u015Blnie",updated_message:"Wydatek zaktualizowany pomy\u015Blnie",deleted_message:"Wydatek usuni\u0119ty pomy\u015Blnie | Wydatki usuni\u0119te pomy\u015Blnie",categories:{categories_list:"Lista kategorii",title:"Tytu\u0142",name:"Nazwa",description:"Opis",amount:"Kwota",actions:"Akcje",add_category:"Dodaj kategori\u0119",new_category:"Nowa kategoria",category:"Kategoria | Kategorie",select_a_category:"Wybierz kategori\u0119"}},Fl={email:"E-mail",password:"Has\u0142o",forgot_password:"Nie pami\u0119tasz has\u0142a?",or_signIn_with:"lub zaloguj si\u0119 przez",login:"Logowanie",register:"Rejestracja",reset_password:"Resetuj has\u0142o",password_reset_successfully:"Has\u0142o zosta\u0142o pomy\u015Blnie zresetowane",enter_email:"Wprowad\u017A adres e-mail",enter_password:"Wprowad\u017A has\u0142o",retype_password:"Wprowad\u017A has\u0142o ponownie",login_placeholder:"mail@example.com"},Ml={title:"U\u017Cytkownicy",users_list:"Lista u\u017Cytkownik\xF3w",name:"Nazwa",description:"Opis",added_on:"Dodano dnia",date_of_creation:"Data utworzenia",action:"Akcja",add_user:"Dodaj u\u017Cytkownika",save_user:"Zapisz u\u017Cytkownika",update_user:"Zaktualizuj u\u017Cytkownika",user:"U\u017Cytkownik | U\u017Cytkownicy",add_new_user:"Dodaj nowego u\u017Cytkownika",new_user:"Nowy u\u017Cytkownik",edit_user:"Edytuj u\u017Cytkownika",no_users:"Brak u\u017Cytkownik\xF3w!",list_of_users:"Ta sekcja b\u0119dzie zawiera\u0142a list\u0119 u\u017Cytkownik\xF3w.",email:"Email",phone:"Telefon",password:"Has\u0142o",user_attached_message:"Nie mo\u017Cna usun\u0105\u0107 elementu, kt\xF3ry jest ju\u017C w u\u017Cyciu",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tego u\u017Cytkownika | Nie b\u0119dziesz w stanie odzyska\u0107 tych u\u017Cytkownik\xF3w",created_message:"U\u017Cytkownik zosta\u0142 utworzony pomy\u015Blnie",updated_message:"U\u017Cytkownik zosta\u0142 zaktualizowany pomy\u015Blnie",deleted_message:"U\u017Cytkownik usuni\u0119ty pomy\u015Blnie | U\u017Cytkownicy usuni\u0119ci pomy\u015Blnie"},Bl={title:"Raport",from_date:"Od daty",to_date:"Do daty",status:"Status",paid:"Zap\u0142acono",unpaid:"Nie zap\u0142acono",download_pdf:"Pobierz plik PDF",view_pdf:"Podgl\u0105d PDF",update_report:"Aktualizuj raport",report:"Raport | Raporty",profit_loss:{profit_loss:"Zyski i straty",to_date:"Do daty",from_date:"Od daty",date_range:"Wybierz zakres dat"},sales:{sales:"Sprzeda\u017C",date_range:"Wybierz zakres dat",to_date:"Do daty",from_date:"Od daty",report_type:"Typ raportu"},taxes:{taxes:"Podatki",to_date:"Do daty",from_date:"Od daty",date_range:"Wybierz zakres dat"},errors:{required:"To pole jest wymagane"},invoices:{invoice:"Faktura",invoice_date:"Data faktury",due_date:"Termin p\u0142atno\u015Bci",amount:"Kwota",contact_name:"Nazwa kontaktu",status:"Status"},estimates:{estimate:"Oferta",estimate_date:"Data oferty",due_date:"Data wa\u017Cno\u015Bci",estimate_number:"Numer oferty",ref_number:"Numer referencyjny",amount:"Kwota",contact_name:"Nazwa kontaktu",status:"Status"},expenses:{expenses:"Wydatki",category:"Kategoria",date:"Data",amount:"Kwota",to_date:"Do daty",from_date:"Od daty",date_range:"Wybierz zakres dat"}},Vl={menu_title:{account_settings:"Ustawienia konta",company_information:"Informacje o firmie",customization:"Dostosowywanie",preferences:"Opcje",notifications:"Powiadomienia",tax_types:"Rodzaje podatku",expense_category:"Kategorie wydatku",update_app:"Aktualizuj aplikacj\u0119",backup:"Kopia zapasowa",file_disk:"Dysk plik\xF3w",custom_fields:"Pola niestandardowe",payment_modes:"Rodzaje p\u0142atno\u015Bci",notes:"Notatki"},title:"Ustawienia",setting:"Ustawienia | Ustawienia",general:"Og\xF3lne",language:"J\u0119zyk",primary_currency:"Waluta g\u0142\xF3wna",timezone:"Strefa czasowa",date_format:"Format daty",currencies:{title:"Waluty",currency:"Waluta | Waluty",currencies_list:"Lista walut",select_currency:"Wybierz walut\u0119",name:"Nazwa",code:"Kod",symbol:"Symbol",precision:"Dok\u0142adno\u015B\u0107",thousand_separator:"Separator tysi\u0119cy",decimal_separator:"Separator dziesi\u0119tny",position:"Pozycja",position_of_symbol:"Po\u0142o\u017Cenie symbolu",right:"Do prawej",left:"Do lewej",action:"Akcja",add_currency:"Dodaj walut\u0119"},mail:{host:"Adres hosta poczty",port:"Port poczty",driver:"Sterownik poczty",secret:"Tajny klucz",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domena",mailgun_endpoint:"Punkt dost\u0119powy Mailgun",ses_secret:"Tajny klucz SES",ses_key:"Klucz SES",password:"Has\u0142o poczty",username:"Nazwa u\u017Cytkownika poczty",mail_config:"Konfiguracja poczty",from_name:"Nazwa nadawcy",from_mail:"Adres e-mail nadawcy",encryption:"Szyfrowanie poczty",mail_config_desc:"Poni\u017Cej znajduje si\u0119 formularz konfiguracji sterownika poczty e-mail do wysy\u0142ania wiadomo\u015Bci e-mail z aplikacji. Mo\u017Cesz r\xF3wnie\u017C skonfigurowa\u0107 zewn\u0119trznych dostawc\xF3w takich jak Sendgrid, SES itp."},pdf:{title:"Ustawienia PDF",footer_text:"Teks stopki",pdf_layout:"Szablon PDF"},company_info:{company_info:"Dane firmy",company_name:"Nazwa firmy",company_logo:"Logo firmy",section_description:"Informacje o Twojej firmie, kt\xF3re b\u0119d\u0105 wy\u015Bwietlane na fakturach, ofertach i innych dokumentach stworzonych przez Crater.",phone:"Telefon",country:"Kraj",state:"Wojew\xF3dztwo",city:"Miasto",address:"Adres",zip:"Kod pocztowy",save:"Zapisz",updated_message:"Informacje o firmie zosta\u0142y pomy\u015Blnie zaktualizowane"},custom_fields:{title:"Pola niestandardowe",section_description:"Dostosuj swoje faktury, oferty i wp\u0142ywy p\u0142atno\u015Bci w\u0142asnymi polami. Upewnij si\u0119, \u017Ce u\u017Cywasz poni\u017Cszych p\xF3l w formatach adresowych na stronie ustawie\u0144 dostosowywania.",add_custom_field:"Dodaj pole niestandardowe",edit_custom_field:"Edytuj pole niestandardowe",field_name:"Nazwa pola",label:"Etykieta",type:"Typ",name:"Nazwa",required:"Wymagane",placeholder:"Symbol zast\u0119pczy",help_text:"Tekst pomocy",default_value:"Warto\u015B\u0107 domy\u015Blna",prefix:"Prefiks",starting_number:"Numer pocz\u0105tkowy",model:"Model",help_text_description:"Wprowad\u017A jaki\u015B tekst, aby pom\xF3c u\u017Cytkownikom zrozumie\u0107 cel tego pola niestandardowego.",suffix:"Sufiks",yes:"Tak",no:"Nie",order:"Zam\xF3wienie",custom_field_confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tego niestandardowego pola",already_in_use:"Pole niestandardowe jest ju\u017C w u\u017Cyciu",deleted_message:"Pole niestandardowe zosta\u0142o usuni\u0119te pomy\u015Blnie",options:"opcje",add_option:"Dodaj opcje",add_another_option:"Dodaj inn\u0105 opcj\u0119",sort_in_alphabetical_order:"Sortuj wed\u0142ug kolejno\u015Bci alfabetycznej",add_options_in_bulk:"Dodaj opcje zbiorcze",use_predefined_options:"U\u017Cyj predefiniowanych opcji",select_custom_date:"Wybierz niestandardow\u0105 dat\u0119",select_relative_date:"Wybierz dat\u0119 wzgl\u0119dn\u0105",ticked_by_default:"Zaznaczone domy\u015Blnie",updated_message:"Pole niestandardowe zosta\u0142o zaktualizowane pomy\u015Blnie",added_message:"Pole niestandardowe zosta\u0142o dodane pomy\u015Blnie"},customization:{customization:"dostosowywanie",save:"Zapisz",addresses:{title:"Adresy",section_description:"Mo\u017Cesz ustawi\u0107 adres rozliczeniowy kontrahenta i format adresu dostawy kontrahenta (tylko w formacie PDF). ",customer_billing_address:"Adres rozliczeniowy kontrahenta",customer_shipping_address:"Adres dostawy kontrahenta",company_address:"Adres firmy",insert_fields:"Wstaw pola",contact:"Kontakt",address:"Adres",display_name:"Widoczna nazwa",primary_contact_name:"G\u0142\xF3wna osoba kontaktowa",email:"Email",website:"Strona internetowa",name:"Nazwa",country:"Kraj",state:"Wojew\xF3dztwo",city:"Miasto",company_name:"Nazwa firmy",address_street_1:"Ulica 1",address_street_2:"Ulica 2",phone:"Telefon",zip_code:"Kod pocztowy",address_setting_updated:"Ustawienia adresu zosta\u0142y pomy\u015Blnie zaktualizowane"},updated_message:"Informacje o firmie zosta\u0142y pomy\u015Blnie zaktualizowane",invoices:{title:"Faktury",notes:"Notatki",invoice_prefix:"Prefiks faktury",invoice_number_length:"D\u0142ugo\u015B\u0107 numeru faktury",default_invoice_email_body:"Domy\u015Blny nag\u0142\xF3wek e-maila faktury",invoice_settings:"Ustawienia faktury",autogenerate_invoice_number:"Automatycznie generuj numer faktury",invoice_setting_description:"Wy\u0142\u0105cz to, je\u015Bli nie chcesz automatycznie generowa\u0107 numer\xF3w faktur za ka\u017Cdym razem, gdy tworzysz now\u0105 faktur\u0119.",invoice_email_attachment:"Wy\u015Blij faktury jako za\u0142\u0105czniki",invoice_email_attachment_setting_description:"W\u0142\u0105cz to, je\u015Bli chcesz wysy\u0142a\u0107 faktury jako za\u0142\u0105cznik e-mail. Pami\u0119taj, \u017Ce przycisk 'Zobacz faktur\u0119' w wiadomo\u015Bciach e-mail nie b\u0119dzie ju\u017C wy\u015Bwietlany, gdy jest w\u0142\u0105czony.",enter_invoice_prefix:"Wprowad\u017A prefiks faktury",terms_and_conditions:"Zasady i warunki",company_address_format:"Format adresu firmy",shipping_address_format:"Format adresu dostawy",billing_address_format:"Format adresu do faktury",invoice_setting_updated:"Ustawienia faktury zosta\u0142y pomy\u015Blnie zaktualizowane"},estimates:{title:"Oferty",estimate_prefix:"Prefiks oferty",estimate_number_length:"D\u0142ugo\u015B\u0107 numeru oferty",default_estimate_email_body:"Domy\u015Blny nag\u0142\xF3wek e-maila oferty",estimate_settings:"Ustawienia oferty",autogenerate_estimate_number:"Automatycznie generuj numer oferty",estimate_setting_description:"Wy\u0142\u0105cz to, je\u015Bli nie chcesz automatycznie generowa\u0107 numer\xF3w ofert za ka\u017Cdym razem, gdy tworzysz now\u0105 ofert\u0119.",estimate_email_attachment:"Wy\u015Blij oferty jako za\u0142\u0105czniki",estimate_email_attachment_setting_description:"W\u0142\u0105cz to, je\u015Bli chcesz wysy\u0142a\u0107 oferty jako za\u0142\u0105cznik e-mail. Pami\u0119taj, \u017Ce przycisk 'Zobacz ofert\u0119' w wiadomo\u015Bciach e-mail nie b\u0119dzie ju\u017C wy\u015Bwietlany, gdy jest w\u0142\u0105czony.",enter_estimate_prefix:"Wprowad\u017A prefiks oferty",estimate_setting_updated:"Ustawienia oferty zosta\u0142y pomy\u015Blnie zaktualizowane",company_address_format:"Format adresu firmy",billing_address_format:"Format adresu do faktury",shipping_address_format:"Format adresu dostawy"},payments:{title:"P\u0142atno\u015Bci",description:"Sposoby transakcji dla p\u0142atno\u015Bci",payment_prefix:"Prefiks p\u0142atno\u015Bci",payment_number_length:"D\u0142ugo\u015B\u0107 numeru p\u0142atno\u015Bci",default_payment_email_body:"Domy\u015Blny nag\u0142\xF3wek e-maila p\u0142atno\u015Bci",payment_settings:"Ustawienia p\u0142atno\u015Bci",autogenerate_payment_number:"Automatycznie generuj numer p\u0142atno\u015Bci",payment_setting_description:"Wy\u0142\u0105cz to, je\u015Bli nie chcesz automatycznie generowa\u0107 numer\xF3w p\u0142atno\u015Bci za ka\u017Cdym razem, gdy tworzysz now\u0105 p\u0142atno\u015B\u0107.",payment_email_attachment:"Wy\u015Blij p\u0142atno\u015Bci jako za\u0142\u0105czniki",payment_email_attachment_setting_description:"W\u0142\u0105cz to, je\u015Bli chcesz wysy\u0142a\u0107 p\u0142atno\u015Bci jako za\u0142\u0105cznik e-mail. Pami\u0119taj, \u017Ce przycisk 'Zobacz p\u0142atno\u015B\u0107' w wiadomo\u015Bciach e-mail nie b\u0119dzie ju\u017C wy\u015Bwietlany, gdy jest w\u0142\u0105czony.",enter_payment_prefix:"Wprowad\u017A prefiks p\u0142atno\u015Bci",payment_setting_updated:"Ustawienia p\u0142atno\u015Bci zosta\u0142y pomy\u015Blnie zaktualizowane",payment_modes:"Rodzaje p\u0142atno\u015Bci",add_payment_mode:"Dodaj metod\u0119 p\u0142atno\u015Bci",edit_payment_mode:"Edytuj metod\u0119 p\u0142atno\u015Bci",mode_name:"Metoda p\u0142atno\u015Bci",payment_mode_added:"Dodano metod\u0119 p\u0142atno\u015Bci",payment_mode_updated:"Zaktualizowano metod\u0119 p\u0142atno\u015Bci",payment_mode_confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej metody p\u0142atno\u015Bci",already_in_use:"Metoda p\u0142atno\u015Bci jest ju\u017C w u\u017Cyciu",deleted_message:"Metoda p\u0142atno\u015Bci zosta\u0142a pomy\u015Blnie usuni\u0119ta",company_address_format:"Format adresu firmy",from_customer_address_format:"Format adresu nadawcy"},items:{title:"Pozycje",units:"Jednostki",add_item_unit:"Dodaj jednostk\u0119",edit_item_unit:"Edytuj jednostk\u0119",unit_name:"Nazwa jednostki",item_unit_added:"Dodano jednostk\u0119",item_unit_updated:"Zaktualizowano jednostk\u0119",item_unit_confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej jednostki przedmiotu",already_in_use:"Jednostka pozycji jest ju\u017C w u\u017Cyciu",deleted_message:"Jednostka pozycji zosta\u0142a usuni\u0119ta pomy\u015Blnie"},notes:{title:"Notatki",description:"Oszcz\u0119dzaj czas, tworz\u0105c notatki i ponownie u\u017Cywaj\u0105c ich na fakturach, ofertach i p\u0142atno\u015Bciach.",notes:"Notatki",type:"Typ",add_note:"Dodaj notatk\u0119",add_new_note:"Dodaj now\u0105 notatk\u0119",name:"Nazwa",edit_note:"Edytuj notatk\u0119",note_added:"Notatka zosta\u0142a dodana pomy\u015Blnie",note_updated:"Notatka zaktualizowana pomy\u015Blnie",note_confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej notatki",already_in_use:"Notatka jest ju\u017C w u\u017Cyciu",deleted_message:"Notatka zosta\u0142a usuni\u0119ta pomy\u015Blnie"}},account_settings:{profile_picture:"Zdj\u0119cie profilowe",name:"Nazwa",email:"Email",password:"Has\u0142o",confirm_password:"Potwierd\u017A has\u0142o",account_settings:"Ustawienia konta",save:"Zapisz",section_description:"Mo\u017Cesz zaktualizowa\u0107 swoje imi\u0119, e-mail i has\u0142o u\u017Cywaj\u0105c poni\u017Cszego formularza.",updated_message:"Ustawienia konta zosta\u0142y pomy\u015Blnie zaktualizowane"},user_profile:{name:"Nazwa",email:"Email",password:"Has\u0142o",confirm_password:"Potwierd\u017A has\u0142o"},notification:{title:"Powiadomienie",email:"Wy\u015Blij powiadomienie do",description:"Kt\xF3re powiadomienia e-mail chcesz otrzymywa\u0107 kiedy co\u015B si\u0119 zmieni?",invoice_viewed:"Faktura wy\u015Bwietlona",invoice_viewed_desc:"Kiedy klient wy\u015Bwietli faktur\u0119 wys\u0142an\u0105 za po\u015Brednictwem kokpitu Cratera.",estimate_viewed:"Oferta wy\u015Bwietlona",estimate_viewed_desc:"Kiedy klient wy\u015Bwietli ofert\u0119 wys\u0142an\u0105 za po\u015Brednictwem kokpitu Cratera.",save:"Zapisz",email_save_message:"Wiadomo\u015B\u0107 zapisana pomy\u015Blnie",please_enter_email:"Prosz\u0119 wpisa\u0107 adres e-mail"},tax_types:{title:"Rodzaje opodatkowania",add_tax:"Dodaj podatek",edit_tax:"Edytuj podatek",description:"Mo\u017Cesz dodawa\u0107 lub usuwa\u0107 podatki. Crater obs\u0142uguje podatki od poszczeg\xF3lnych produkt\xF3w, jak r\xF3wnie\u017C na fakturze.",add_new_tax:"Dodaj nowy podatek",tax_settings:"Ustawienia podatku",tax_per_item:"Podatek na produkt",tax_name:"Nazwa podatku",compound_tax:"Podatek z\u0142o\u017Cony",percent:"Procent",action:"Akcja",tax_setting_description:"W\u0142\u0105cz to, je\u015Bli chcesz doda\u0107 podatki do poszczeg\xF3lnych element\xF3w faktury. Domy\u015Blnie podatki s\u0105 dodawane bezpo\u015Brednio do ca\u0142ej faktury.",created_message:"Typ podatku zosta\u0142 pomy\u015Blnie utworzony",updated_message:"Typ podatku zosta\u0142 pomy\u015Blnie zaktualizowany",deleted_message:"Typ podatku zosta\u0142 pomy\u015Blnie usuni\u0119ty",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tego typu podatku",already_in_use:"Ten podatek jest w u\u017Cyciu"},expense_category:{title:"Kategorie wydatk\xF3w",action:"Akcja",description:"Kategorie s\u0105 wymagane do dodawania wpis\xF3w wydatk\xF3w. Mo\u017Cesz doda\u0107 lub usun\u0105\u0107 te kategorie zgodnie ze swoimi preferencjami.",add_new_category:"Dodaj now\u0105 kategori\u0119",add_category:"Dodaj kategori\u0119",edit_category:"Edytuj kategori\u0119",category_name:"Nazwa kategorii",category_description:"Opis",created_message:"Kategoria wydatk\xF3w zosta\u0142a utworzona pomy\u015Blnie",deleted_message:"Kategoria wydatk\xF3w zosta\u0142a usuni\u0119ta pomy\u015Blnie",updated_message:"Kategoria wydatk\xF3w zaktualizowana pomy\u015Blnie",confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej kategorii wydatk\xF3w",already_in_use:"Kategoria jest ju\u017C w u\u017Cyciu"},preferences:{currency:"Waluta",default_language:"Domy\u015Blny j\u0119zyk",time_zone:"Strefa czasowa",fiscal_year:"Rok finansowy",date_format:"Format daty",discount_setting:"Ustawienia rabatu",discount_per_item:"Rabat na produkt ",discount_setting_description:"W\u0142\u0105cz to, je\u015Bli chcesz doda\u0107 rabat do poszczeg\xF3lnych element\xF3w faktury. Domy\u015Blnie rabat jest dodawany bezpo\u015Brednio do ca\u0142ej faktury.",save:"Zapisz",preference:"Preferencje | Preferencje",general_settings:"Domy\u015Blne ustawienia systemu.",updated_message:"Preferencje pomy\u015Blnie zaktualizowane",select_language:"Wybierz j\u0119zyk",select_time_zone:"Ustaw stref\u0119 czasow\u0105",select_date_format:"Wybierz format daty",select_financial_year:"Wybierz rok podatkowy"},update_app:{title:"Aktualizuj aplikacj\u0119",description:"Mo\u017Cesz \u0142atwo zaktualizowa\u0107 Cratera poprzez klikni\u0119cie przycisku poni\u017Cej",check_update:"Sprawd\u017A czy s\u0105 dost\u0119pne nowe aktualizacje",avail_update:"Dost\u0119pna nowa aktualizacja",next_version:"Nowa wersja",requirements:"Wymagania",update:"Aktualizuj teraz",update_progress:"Aktualizacja w toku...",progress_text:"To zajmie tylko kilka minut. Prosz\u0119 nie od\u015Bwie\u017Ca\u0107 ekranu ani zamyka\u0107 okna przed zako\u0144czeniem aktualizacji",update_success:"Aplikacja zosta\u0142a zaktualizowana! Prosz\u0119 czeka\u0107, a\u017C okno przegl\u0105darki zostanie automatycznie prze\u0142adowane.",latest_message:"Brak dost\u0119pnych aktualizacji! Posiadasz najnowsz\u0105 wersj\u0119.",current_version:"Aktualna wersja",download_zip_file:"Pobierz plik ZIP",unzipping_package:"Rozpakuj pakiet",copying_files:"Kopiowanie plik\xF3w",deleting_files:"Usuwanie nieu\u017Cywanych plik\xF3w",running_migrations:"Uruchamianie migracji",finishing_update:"Ko\u0144czenie aktualizacji",update_failed:"Aktualizacja nie powiod\u0142a si\u0119",update_failed_text:"Przepraszamy! Twoja aktualizacja nie powiod\u0142a si\u0119 w kroku: {step}"},backup:{title:"Kopia zapasowa | Kopie zapasowe",description:"Kopia zapasowa jest plikiem zipfile zawieraj\u0105cym wszystkie pliki w katalogach kt\xF3re podasz wraz z zrzutem bazy danych",new_backup:"Dodaj now\u0105 kopi\u0119 zapasow\u0105",create_backup:"Utw\xF3rz kopi\u0119 zapasow\u0105",select_backup_type:"Wybierz typ kopii zapasowej",backup_confirm_delete:"Nie b\u0119dziesz w stanie odzyska\u0107 tej kopii zapasowej",path:"\u015Bcie\u017Cka",new_disk:"Nowy dysk",created_at:"utworzono w",size:"rozmiar",dropbox:"dropbox",local:"lokalny",healthy:"zdrowy",amount_of_backups:"liczba kopii zapasowych",newest_backups:"najnowsza kopia zapasowa",used_storage:"zu\u017Cyta pami\u0119\u0107",select_disk:"Wybierz dysk",action:"Akcja",deleted_message:"Kopia zapasowa usuni\u0119ta pomy\u015Blnie",created_message:"Kopia zapasowa utworzona pomy\u015Blnie",invalid_disk_credentials:"Nieprawid\u0142owe dane uwierzytelniaj\u0105ce wybranego dysku"},disk:{title:"Dysk plik\xF3w | Dyski plik\xF3w",description:"Domy\u015Blnie Crater u\u017Cyje twojego lokalnego dysku do zapisywania kopii zapasowych, awatara i innych plik\xF3w obrazu. Mo\u017Cesz skonfigurowa\u0107 wi\u0119cej ni\u017C jeden serwer dysku, taki jak DigitalOcean, S3 i Dropbox, zgodnie z Twoimi preferencjami.",created_at:"utworzono w",dropbox:"dropbox",name:"Nazwa",driver:"Sterownik",disk_type:"Typ",disk_name:"Nazwa dysku",new_disk:"Dodaj nowy dysk",filesystem_driver:"Sterownik systemu plik\xF3w",local_driver:"lokalny sterownik",local_root:"g\u0142\xF3wny katalog lokalny",public_driver:"Publiczny sterownik",public_root:"Publiczny g\u0142\xF3wny katalog",public_url:"Publiczny URL",public_visibility:"Widoczno\u015B\u0107 publiczna",media_driver:"Media Driver",media_root:"Media Root",aws_driver:"Sterownik AWS",aws_key:"Klucz AWS",aws_secret:"Tajny klucz AWS",aws_region:"Region AWS",aws_bucket:"Zasobnik AWS",aws_root:"Katalog g\u0142\xF3wny AWS",do_spaces_type:"Typ Do Spaces",do_spaces_key:"Klucz Do Spaces",do_spaces_secret:"Tajny klucz Do Spaces",do_spaces_region:"Region Do Spaces",do_spaces_bucket:"Zasobnik Do Spaces",do_spaces_endpoint:"Punkt dost\u0119powy Do Spaces",do_spaces_root:"Katalog g\u0142\xF3wny Do Spaces",dropbox_type:"Typ Dropbox",dropbox_token:"Token Dropbox",dropbox_key:"Klucz Dropbox",dropbox_secret:"Tajny klucz Dropbox",dropbox_app:"Aplikacja Dropbox",dropbox_root:"Root Dropbox",default_driver:"Domy\u015Blny sterownik",is_default:"JEST DOMY\u015ALNY",set_default_disk:"Ustaw domy\u015Blny dysk",set_default_disk_confirm:"Ten dysk zostanie ustawiony jako domy\u015Blny, a wszystkie nowe pliki PDF zostan\u0105 zapisane na tym dysku",success_set_default_disk:"Dysk zosta\u0142 pomy\u015Blnie ustawiony jako domy\u015Blny",save_pdf_to_disk:"Zapisz pliki PDF na dysku",disk_setting_description:" W\u0142\u0105cz t\u0119 opcj\u0119, je\u015Bli chcesz automatycznie zapisa\u0107 kopi\u0119 ka\u017Cdej faktury, oferty i potwierdzenia p\u0142atno\u015Bci PDF na swoim domy\u015Blnym dysku. W\u0142\u0105czenie tej opcji spowoduje skr\xF3cenie czasu \u0142adowania podczas przegl\u0105dania PDF.",select_disk:"Wybierz dysk",disk_settings:"Ustawienia dysku",confirm_delete:"Twoje istniej\u0105ce pliki i foldery na okre\u015Blonym dysku nie zostan\u0105 zmienione, ale konfiguracja twojego dysku zostanie usuni\u0119ta z Cratera",action:"Akcja",edit_file_disk:"Edytuj dysk plk\xF3w",success_create:"Dysk dodany pomy\u015Blnie",success_update:"Dysk zaktualizowany pomy\u015Blnie",error:"B\u0142\u0105d dodawania dysku",deleted_message:"Dysk plik\xF3w zosta\u0142 usuni\u0119ty pomy\u015Blnie",disk_variables_save_successfully:"Dysk skonfigurowany pomy\u015Blnie",disk_variables_save_error:"Konfiguracja dysku nieudana.",invalid_disk_credentials:"Nieprawid\u0142owe dane uwierzytelniaj\u0105ce wybranego dysku"}},Ol={account_info:"Informacje o koncie",account_info_desc:"Poni\u017Csze szczeg\xF3\u0142y zostan\u0105 u\u017Cyte do utworzenia g\u0142\xF3wnego konta administratora. Mo\u017Cesz tak\u017Ce zmieni\u0107 szczeg\xF3\u0142y w dowolnym momencie po zalogowaniu.",name:"Nazwa",email:"E-mail",password:"Has\u0142o",confirm_password:"Potwierd\u017A has\u0142o",save_cont:"Zapisz i kontynuuj",company_info:"Informacje o firmie",company_info_desc:"Ta informacja b\u0119dzie wy\u015Bwietlana na fakturach. Pami\u0119taj, \u017Ce mo\u017Cesz to p\xF3\u017Aniej edytowa\u0107 na stronie ustawie\u0144.",company_name:"Nazwa firmy",company_logo:"Logo firmy",logo_preview:"Podgl\u0105d loga",preferences:"Preferencje",preferences_desc:"Domy\u015Blne preferencje dla systemu.",country:"Kraj",state:"Wojew\xF3dztwo",city:"Miasto",address:"Adres",street:"Ulica1 | Ulica2",phone:"Telefon",zip_code:"Kod pocztowy",go_back:"Wstecz",currency:"Waluta",language:"J\u0119zyk",time_zone:"Strefa czasowa",fiscal_year:"Rok finansowy",date_format:"Format daty",from_address:"Adres nadawcy",username:"Nazwa u\u017Cytkownika",next:"Nast\u0119pny",continue:"Kontynuuj",skip:"Pomi\u0144",database:{database:"Adres URL witryny i baza danych",connection:"Po\u0142\u0105czenie z baz\u0105 danych",host:"Host bazy danych",port:"Port bazy danych",password:"Has\u0142o bazy danych",app_url:"Adres aplikacji",app_domain:"Domena aplikacji",username:"Nazwa u\u017Cytkownika bazy danych",db_name:"Nazwa bazy danych",db_path:"\u015Acie\u017Cka do bazy danych",desc:"Utw\xF3rz baz\u0119 danych na swoim serwerze i ustaw dane logowania za pomoc\u0105 poni\u017Cszego formularza."},permissions:{permissions:"Uprawnienia",permission_confirm_title:"Czy na pewno chcesz kontynuowa\u0107?",permission_confirm_desc:"Sprawdzanie uprawnie\u0144 do katalogu nie powiod\u0142o si\u0119",permission_desc:"Poni\u017Cej znajduje si\u0119 lista uprawnie\u0144 folder\xF3w, kt\xF3re s\u0105 wymagane do dzia\u0142ania aplikacji. Je\u015Bli sprawdzenie uprawnie\u0144 nie powiedzie si\u0119, upewnij si\u0119, \u017Ce zaktualizujesz uprawnienia folderu."},verify_domain:{title:"Weryfikacja domeny",desc:"Crater u\u017Cywa uwierzytelniania opartego na sesji, kt\xF3re wymaga weryfikacji domeny dla cel\xF3w bezpiecze\u0144stwa. Wprowad\u017A domen\u0119, na kt\xF3rej b\u0119dziesz mie\u0107 dost\u0119p do swojej aplikacji internetowej.",app_domain:"Domena aplikacji",verify_now:"Potwierd\u017A teraz",success:"Pomy\u015Blnie zweryfikowano domen\u0119.",verify_and_continue:"Weryfikuj i kontynuuj"},mail:{host:"Adres hosta poczty",port:"Port poczty",driver:"Spos\xF3b wysy\u0142ania wiadomo\u015Bci e-mail",secret:"Tajny klucz",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domena",mailgun_endpoint:"Punkt dost\u0119powy Mailgun",ses_secret:"Tajny klucz SES",ses_key:"Klucz SES",password:"Has\u0142o poczty",username:"Nazwa u\u017Cytkownika poczty",mail_config:"Konfiguracja poczty",from_name:"Nazwa nadawcy",from_mail:"Adres e-mail nadawcy",encryption:"Szyfrowanie poczty",mail_config_desc:"Poni\u017Cej znajduje si\u0119 formularz konfiguracji sterownika poczty e-mail do wysy\u0142ania wiadomo\u015Bci e-mail z aplikacji. Mo\u017Cesz r\xF3wnie\u017C skonfigurowa\u0107 zewn\u0119trznych dostawc\xF3w takich jak Sendgrid, SES itp."},req:{system_req:"Wymagania systemowe",php_req_version:"Minimalna wersja Php (wymagana wersja {version})",check_req:"Sprawd\u017A wymagania",system_req_desc:"Crater posiada kilka wymaga\u0144 serwera. Upewnij si\u0119, \u017Ce Tw\xF3j serwer ma wymagan\u0105 wersj\u0119 php oraz wszystkie rozszerzenia wymienione poni\u017Cej."},errors:{migrate_failed:"Migracja nie powiod\u0142a si\u0119",domain_verification_failed:"Weryfikacja domeny nie powiod\u0142a si\u0119",database_variables_save_error:"Nie mo\u017Cna zapisa\u0107 konfiguracji do pliku .env. Prosz\u0119 sprawdzi\u0107 jego uprawnienia",mail_variables_save_error:"Konfiguracja email nie powiod\u0142a si\u0119.",connection_failed:"B\u0142\u0105d po\u0142\u0105czenia z baz\u0105 danych",database_should_be_empty:"Baza danych powinna by\u0107 pusta"},success:{mail_variables_save_successfully:"Email zosta\u0142 skonfigurowany pomy\u015Blnie",domain_variable_save_successfully:"Domena zosta\u0142a skonfigurowana pomy\u015Blnie",database_variables_save_successfully:"Baza danych zosta\u0142a skonfigurowana poprawnie."}},Ll={copyright_crater:"Copyright @ Crater - 2020",super_simple_invoicing:"Super proste fakturowanie",for_freelancer:"dla Freelancer\xF3w i",small_businesses:"Mikroprzedsi\u0119biorstw ",crater_help:"Crater pomaga \u015Bledzi\u0107 Twoje wydatki, zapisywa\u0107 p\u0142atno\u015Bci i generowa\u0107 pi\u0119kne",invoices_and_estimates:"faktury i oferty z mo\u017Cliwo\u015Bci\u0105 wyboru wielu szablon\xF3w."},Ul={invalid_phone:"Nieprawid\u0142owy numer telefonu",invalid_url:"Nieprawid\u0142owy adres url (np. http://www.crater.com)",invalid_domain_url:"Nieprawid\u0142owy adres url (np. crater.com)",required:"Pole jest wymagane",email_incorrect:"Niepoprawny email.",email_already_taken:"Ten adres e-mail jest ju\u017C zaj\u0119ty.",email_does_not_exist:"U\u017Cytkownik z podanym adresem email nie istnieje",item_unit_already_taken:"Ta nazwa jednostki zosta\u0142a ju\u017C zaj\u0119ta",payment_mode_already_taken:"Ta nazwa trybu p\u0142atno\u015Bci zosta\u0142a ju\u017C zaj\u0119ta",send_reset_link:"Wy\u015Blij link do resetowania has\u0142a",not_yet:"Jeszcze nie? Wy\u015Blij ponownie",password_min_length:"Has\u0142o musi zawiera\u0107 co najmniej {count} znak\xF3w",name_min_length:"Nazwa u\u017Cytkownika musi zawiera\u0107 co najmniej {count} znak\xF3w.",enter_valid_tax_rate:"Wprowad\u017A poprawn\u0105 stawk\u0119 podatku",numbers_only:"Tylko liczby.",characters_only:"Tylko znaki.",password_incorrect:"Has\u0142a musz\u0105 by\u0107 identyczne",password_length:"Has\u0142o musi zawiera\u0107 {count} znak\xF3w.",qty_must_greater_than_zero:"Ilo\u015B\u0107 musi by\u0107 wi\u0119ksza ni\u017C zero.",price_greater_than_zero:"Cena musi by\u0107 wi\u0119ksza ni\u017C zero.",payment_greater_than_zero:"P\u0142atno\u015B\u0107 musi by\u0107 wi\u0119ksza ni\u017C zero.",payment_greater_than_due_amount:"Wprowadzona p\u0142atno\u015B\u0107 to wi\u0119cej ni\u017C nale\u017Cna kwota tej faktury.",quantity_maxlength:"Ilo\u015B\u0107 nie powinna by\u0107 wi\u0119ksza ni\u017C 20 cyfr.",price_maxlength:"Cena nie powinna by\u0107 wi\u0119ksza ni\u017C 20 cyfr.",price_minvalue:"Cena powinna by\u0107 wi\u0119ksza ni\u017C 0.",amount_maxlength:"Kwota nie powinna by\u0107 wi\u0119ksza ni\u017C 20 cyfr.",amount_minvalue:"Kwota powinna by\u0107 wi\u0119ksza ni\u017C 0.",description_maxlength:"Opis nie powinien przekracza\u0107 65 000 znak\xF3w.",subject_maxlength:"Temat nie powinien by\u0107 d\u0142u\u017Cszy ni\u017C 100 znak\xF3w.",message_maxlength:"Wiadomo\u015B\u0107 nie powinna by\u0107 d\u0142u\u017Csza ni\u017C 255 znak\xF3w.",maximum_options_error:"Wybrano maksymalnie {max} opcji. Najpierw usu\u0144 wybran\u0105 opcj\u0119, aby wybra\u0107 inn\u0105.",notes_maxlength:"Notatki nie powinny by\u0107 wi\u0119ksze ni\u017C 65 000 znak\xF3w.",address_maxlength:"Adres nie powinien mie\u0107 wi\u0119cej ni\u017C 255 znak\xF3w.",ref_number_maxlength:"Numer referencyjny nie mo\u017Ce by\u0107 d\u0142u\u017Cszy ni\u017C 255 znak\xF3w.",prefix_maxlength:"Prefiks nie powinien by\u0107 d\u0142u\u017Cszy ni\u017C 5 znak\xF3w.",something_went_wrong:"co\u015B posz\u0142o nie tak",number_length_minvalue:"D\u0142ugo\u015B\u0107 numeru powinna by\u0107 wi\u0119ksza ni\u017C 0"},Kl="Oferta",ql="Numer oferty",Wl="Data oferty",Zl="Termin wa\u017Cno\u015Bci",Hl="Faktura",Gl="Numer faktury",Yl="Data faktury",Jl="Termin",Xl="Notatki",Ql="Pozycje",ec="Ilo\u015B\u0107",tc="Cena",ac="Rabat",sc="Kwota",nc="Suma cz\u0119\u015Bciowa",ic="Razem",oc="P\u0142atno\u015B\u0107",rc="POTWIERDZENIE P\u0141ATNO\u015ACI",dc="Data p\u0142atno\u015Bci",lc="Numer p\u0142atno\u015Bci",cc="Metoda p\u0142atno\u015Bci",_c="Kwota otrzymana",uc="SPRAWOZDANIE Z WYDATK\xD3W",mc="WYDATKI OG\xD3\u0141EM",pc="RAPORT ZYSK\xD3W I STRAT",gc="Raport sprzeda\u017Cy obs\u0142ugi kontrahenta",fc="Raport dotycz\u0105cy przedmiotu sprzeda\u017Cy",hc="Raport podsumowania podatku",vc="PRZYCH\xD3D",yc="ZYSK NETTO",bc="Raport sprzeda\u017Cy: Wed\u0142ug Kontrahenta",kc="CA\u0141KOWITA SPRZEDA\u017B",wc="Raport sprzeda\u017Cy: Wed\u0142ug produktu",xc="RAPORT PODATKOWY",zc="CA\u0141KOWITY PODATEK",Sc="Rodzaje podatku",Pc="Wydatki",jc="Wystawiono dla",Dc="Wysy\u0142ka do",Cc="Otrzymane od:";var Ac={navigation:Sl,general:Pl,dashboard:jl,tax_types:Dl,global_search:Cl,customers:Al,items:Nl,estimates:El,invoices:Tl,credit_notes:Il,payments:$l,expenses:Rl,login:Fl,users:Ml,reports:Bl,settings:Vl,wizard:Ol,layout_login:Ll,validation:Ul,pdf_estimate_label:Kl,pdf_estimate_number:ql,pdf_estimate_date:Wl,pdf_estimate_expire_date:Zl,pdf_invoice_label:Hl,pdf_invoice_number:Gl,pdf_invoice_date:Yl,pdf_invoice_due_date:Jl,pdf_notes:Xl,pdf_items_label:Ql,pdf_quantity_label:ec,pdf_price_label:tc,pdf_discount_label:ac,pdf_amount_label:sc,pdf_subtotal:nc,pdf_total:ic,pdf_payment_label:oc,pdf_payment_receipt_label:rc,pdf_payment_date:dc,pdf_payment_number:lc,pdf_payment_mode:cc,pdf_payment_amount_received_label:_c,pdf_expense_report_label:uc,pdf_total_expenses_label:mc,pdf_profit_loss_label:pc,pdf_sales_customers_label:gc,pdf_sales_items_label:fc,pdf_tax_summery_label:hc,pdf_income_label:vc,pdf_net_profit_label:yc,pdf_customer_sales_report:bc,pdf_total_sales_label:kc,pdf_item_sales_label:wc,pdf_tax_report_label:xc,pdf_total_tax_label:zc,pdf_tax_types_label:Sc,pdf_expenses_label:Pc,pdf_bill_to:jc,pdf_ship_to:Dc,pdf_received_from:Cc};const Nc={dashboard:"Painel",customers:"Clientes",items:"Itens",invoices:"Faturas",expenses:"Despesas",estimates:"Or\xE7amentos",payments:"Pagamentos",reports:"Relat\xF3rios",settings:"Configura\xE7\xF5es",logout:"Encerrar sess\xE3o"},Ec={view_pdf:"Ver PDF",download_pdf:"Baixar PDF",save:"Salvar",cancel:"Cancelar",update:"Atualizar",deselect:"Desmarcar",download:"Baixar",from_date:"A partir da Data",to_date:"At\xE9 a Data",from:"De",to:"Para",sort_by:"Ordenar por",ascending:"Crescente",descending:"Descendente",subject:"Sujeita",body:"Corpo",message:"Mensagem",go_back:"Voltar",back_to_login:"Voltar ao Login",home:"Home",filter:"Filtrar",delete:"Excluir",edit:"Editar",view:"Ver",add_new_item:"Adicionar novo item",clear_all:"Limpar tudo",showing:"Mostrando",of:"de",actions:"A\xE7\xF5es",subtotal:"Total parcial",discount:"Desconto",fixed:"Fixado",percentage:"Porcentagem",tax:"Imposto",total_amount:"Quantidade Total",bill_to:"Cobrar a",ship_to:"Envie a",due:"Vencida",draft:"Rascunho",sent:"Enviado",all:"Todos",select_all:"Selecionar tudo",choose_file:"Escolha um arquivo.",choose_template:"Escolha um modelo",choose:"Escolher",remove:"Excluir",powered_by:"Distribu\xEDdo por",bytefury:"Bytefury",select_a_status:"Selecione um status",select_a_tax:"Selecione um Imposto",search:"Buscar",are_you_sure:"Tem certeza?",list_is_empty:"Lista est\xE1 vazia.",no_tax_found:"Imposto n\xE3o encontrado!",four_zero_four:"404",you_got_lost:"Ops! Se perdeu!",go_home:"Ir para Home",test_mail_conf:"Testar configura\xE7\xE3o de email",send_mail_successfully:"Correio enviado com sucesso",setting_updated:"Configura\xE7\xE3o atualizada com sucesso",select_state:"Selecione Estado",select_country:"Selecionar pais",select_city:"Selecionar cidade",street_1:"Rua 1",street_2:"Rua # 2",action_failed:"A\xE7\xE3o: Falhou",retry:"Atualiza\xE7\xE3o falhou"},Tc={select_year:"Selecione Ano",cards:{due_amount:"Montante devido",customers:"Clientes",invoices:"Faturas",estimates:"Or\xE7amentos"},chart_info:{total_sales:"Vendas",total_receipts:"Receitas",total_expense:"Despesas",net_income:"Resultado l\xEDquido",year:"Selecione Ano"},monthly_chart:{title:"Vendas e Despesas"},recent_invoices_card:{title:"Faturas vencidas",due_on:"vencido em",customer:"Cliente",amount_due:"Valor Devido",actions:"A\xE7\xF5es",view_all:"Ver todos"},recent_estimate_card:{title:"Or\xE7amentos Recentes",date:"Data",customer:"Cliente",amount_due:"Valor Devido",actions:"A\xE7\xF5es",view_all:"Ver todos"}},Ic={name:"Nome",description:"Descri\xE7\xE3o",percent:"Porcentagem",compound_tax:"Imposto compuesto"},$c={title:"Clientes",add_customer:"Adicionar cliente",contacts_list:"Lista de clientes",name:"Nome",display_name:"Nome de exibi\xE7\xE3o",primary_contact_name:"Nome do contato principal",contact_name:"Nome de Contato",amount_due:"Valor Devido",email:"Email",address:"Endere\xE7o",phone:"Telefone",website:"Site",country:"Pais",state:"Estado",city:"Cidade",zip_code:"C\xF3digo postal",added_on:"Adicionado",action:"A\xE7\xE3o",password:"Senha",street_number:"N\xFAmero",primary_currency:"Moeda principal",add_new_customer:"Adicionar novo cliente",save_customer:"Salvar cliente",update_customer:"Atualizar cliente",customer:"Cliente | Clientes",new_customer:"Novo cliente",edit_customer:"Editar cliente",basic_info:"Informa\xE7\xE3o basica",billing_address:"Endere\xE7o de cobran\xE7a",shipping_address:"Endere\xE7o de entrega",copy_billing_address:"C\xF3pia de faturamento",no_customers:"Ainda n\xE3o h\xE1 clientes!",no_customers_found:"Clientes n\xE3o encontrados!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"Esta se\xE7\xE3o conter\xE1 a lista de clientes.",primary_display_name:"Nome de exibi\xE7\xE3o principal",select_currency:"Selecione o tipo de moeda",select_a_customer:"Selecione um cliente",type_or_click:"Digite ou clique para selecionar",new_transaction:"Nova transa\xE7\xE3o",no_matching_customers:"N\xE3o h\xE1 clientes correspondentes!",phone_number:"N\xFAmero de telefone",create_date:"Criar Data",confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar este cliente e todas as faturas, estimativas e pagamentos relacionados. | Voc\xEA n\xE3o poder\xE1 recuperar esses clientes e todas as faturas, estimativas e pagamentos relacionados.",created_message:"Cliente criado com sucesso",updated_message:"Cliente atualizado com sucesso",deleted_message:"Cliente exclu\xEDdo com sucesso | Clientes exclu\xEDdos com sucesso"},Rc={title:"Itens",items_list:"Lista de Itens",name:"Nome",unit:"Unidade",description:"Descri\xE7\xE3o",added_on:"Adicionado",price:"Pre\xE7o",date_of_creation:"Data de cria\xE7\xE3o",not_selected:"No item selected",action:"A\xE7\xE3o",add_item:"Adicionar item",save_item:"Salvar item",update_item:"Atualizar item",item:"Item | Itens",add_new_item:"Adicionar novo item",new_item:"Novo item",edit_item:"Editar item",no_items:"Ainda n\xE3o existe itens",list_of_items:"Esta se\xE7\xE3o conter\xE1 a lista de itens.",select_a_unit:"Seleciona unidade",taxes:"Impostos",item_attached_message:"N\xE3o \xE9 poss\xEDvel excluir um item que j\xE1 est\xE1 em uso.",confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar este item | Voc\xEA n\xE3o poder\xE1 recuperar esses itens",created_message:"Item criado com sucesso",updated_message:"Item atualizado com sucesso",deleted_message:"Item exclu\xEDdo com sucesso | Itens Exclu\xEDdos com sucesso"},Fc={title:"Or\xE7amentos",estimate:"Or\xE7amento | Or\xE7amentos",estimates_list:"Lista de or\xE7amentos",days:"{dias} dias",months:"{meses} M\xEAs",years:"{Anos} Ano",all:"Todos",paid:"Pago",unpaid:"N\xE3o pago",customer:"CLIENTE",ref_no:"N\xDAMERO DE REFER\xCANCIA.",number:"N\xDAMERO",amount_due:"Valor Devido",partially_paid:"Pago parcialmente",total:"Total",discount:"Desconto",sub_total:"Subtotal",estimate_number:"Numero do Or\xE7amento",ref_number:"Refer\xEAncia",contact:"Contato",add_item:"Adicionar Item",date:"Data",due_date:"Data de Vencimento",expiry_date:"Data de expira\xE7\xE3o",status:"Status",add_tax:"Adicionar Imposto",amount:"Montante",action:"A\xE7\xE3o",notes:"Observa\xE7\xF5es",tax:"Imposto",estimate_template:"Modelo de or\xE7amento",convert_to_invoice:"Converter em fatura",mark_as_sent:"Marcar como enviado",send_estimate:"Enviar or\xE7amento",record_payment:"Registro de pago",add_estimate:"Adicionar or\xE7amento",save_estimate:"Salvar Or\xE7amento",confirm_conversion:"Deseja converter este or\xE7amento em uma fatura?",conversion_message:"Conver\xE7\xE3o realizada com sucesso",confirm_send_estimate:"Este or\xE7amento ser\xE1 enviado por email ao cliente",confirm_mark_as_sent:"Este or\xE7amento ser\xE1 marcado como enviado",confirm_mark_as_accepted:"Este or\xE7amento ser\xE1 marcado como Aceito",confirm_mark_as_rejected:"Este or\xE7amento ser\xE1 marcado como Rejeitado",no_matching_estimates:"N\xE3o h\xE1 or\xE7amentos correspondentes!",mark_as_sent_successfully:"Or\xE7amento como marcado como enviado com sucesso",send_estimate_successfully:"Or\xE7amento enviado com sucesso",errors:{required:"Campo obrigat\xF3rio"},accepted:"Aceito",rejected:"Rejected",sent:"Enviado",draft:"Rascunho",declined:"Rejeitado",new_estimate:"Novo or\xE7amento",add_new_estimate:"Adicionar novo or\xE7amento",update_Estimate:"Atualizar or\xE7amento",edit_estimate:"Editar or\xE7amento",items:"art\xEDculos",Estimate:"Or\xE7amento | Or\xE7amentos",add_new_tax:"Adicionar novo imposto",no_estimates:"Ainda n\xE3o h\xE1 orcamentos",list_of_estimates:"Esta se\xE7\xE3o cont\xE9m a lista de or\xE7amentos.",mark_as_rejected:"Marcar como rejeitado",mark_as_accepted:"Marcar como aceito",marked_as_accepted_message:"Or\xE7amento marcado como aceito",marked_as_rejected_message:"Or\xE7amento marcado como rejeitado",confirm_delete:"N\xE3o poder\xE1 recuperar este or\xE7amento | N\xE3o poder\xE1 recuperar estes or\xE7amentos",created_message:"Or\xE7amento criado com sucesso",updated_message:"Or\xE7amento atualizado com sucesso",deleted_message:"Or\xE7amento exclu\xEDdo com sucesso | Or\xE7amentos exclu\xEDdos com sucesso",something_went_wrong:"Algo deu errado",item:{title:"Titulo do item",description:"Descri\xE7\xE3o",quantity:"Quantidade",price:"Pre\xE7o",discount:"Desconto",total:"Total",total_discount:"Desconto total",sub_total:"Subtotal",tax:"Imposto",amount:"Montante",select_an_item:"Escreva ou clique para selecionar um item",type_item_description:"Tipo Item Descri\xE7\xE3o (opcional)"}},Mc={title:"Faturas",invoices_list:"Lista de faturas",days:"{dias} dias",months:"{meses} M\xEAs",years:"{anos} Ano",all:"Todas",paid:"Paga",unpaid:"N\xE3o Paga",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"CLIENTE",paid_status:"STATUS PAGAMENTO",ref_no:"REFER\xCANCIA",number:"N\xDAMERO",amount_due:"VALOR DEVIDO",partially_paid:"Parcialmente pago",total:"Total",discount:"Desconto",sub_total:"Subtotal",invoice:"Fatura | Faturas",invoice_number:"N\xFAmero da fatura",ref_number:"Refer\xEAncia",contact:"Contato",add_item:"Adicionar um item",date:"Data",due_date:"Data de Vencimento",status:"Status",add_tax:"Adicionar imposto",amount:"Montante",action:"A\xE7\xE3o",notes:"Observa\xE7\xF5es",view:"Ver",send_invoice:"Enviar Fatura",invoice_template:"Modelo da Fatura",template:"Modelo",mark_as_sent:"Marcar como enviada",confirm_send_invoice:"Esta fatura ser\xE1 enviada por e-mail ao cliente",invoice_mark_as_sent:"Esta fatura ser\xE1 marcada como enviada",confirm_send:"Esta fatura ser\xE1 enviada por e-mail ao cliente",invoice_date:"Data da Fatura",record_payment:"Gravar Pagamento",add_new_invoice:"Adicionar Nova Fatura",update_expense:"Atualizar Despesa",edit_invoice:"Editar Fatura",new_invoice:"Nova Fatura",save_invoice:"Salvar Fatura",update_invoice:"Atualizar Fatura",add_new_tax:"Adicionar novo Imposto",no_invoices:"Ainda n\xE3o h\xE1 faturas!",list_of_invoices:"Esta se\xE7\xE3o conter\xE1 a lista de faturas.",select_invoice:"Selecionar Fatura",no_matching_invoices:"N\xE3o h\xE1 faturas correspondentes!",mark_as_sent_successfully:"Fatura marcada como enviada com sucesso",invoice_sent_successfully:"Fatura enviada com sucesso",cloned_successfully:"Fatura clonada com sucesso",clone_invoice:"Clonar fatura",confirm_clone:"Esta fatura ser\xE1 clonada em uma nova fatura",item:{title:"Titulo do Item",description:"Descri\xE7\xE3o",quantity:"Quantidade",price:"Pre\xE7o",discount:"Desconto",total:"Total",total_discount:"Desconto Total",sub_total:"SubTotal",tax:"Imposto",amount:"Montante",select_an_item:"Digite ou clique para selecionar um item",type_item_description:"Tipo Descri\xE7\xE3o do item (opcional)"},confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar esta fatura | Voc\xEA n\xE3o poder\xE1 recuperar essas faturas",created_message:"Fatura criada com sucesso",updated_message:"Fatura atualizada com sucesso",deleted_message:"Fatura exclu\xEDda com sucesso | Faturas exclu\xEDdas com sucesso",marked_as_sent_message:"Fatura marcada como enviada com sucesso",something_went_wrong:"Algo deu errado",invalid_due_amount_message:"O valor total da fatura n\xE3o pode ser menor que o valor total pago para esta fatura. Atualize a fatura ou exclua os pagamentos associados para continuar."},Bc={title:"Pagamentos",payments_list:"Lista de Pagamentos",record_payment:"Gravar Pagamento",customer:"Cliente",date:"Data",amount:"Montante",action:"A\xE7\xE3o",payment_number:"N\xFAmero do Pagamento",payment_mode:"Forma de Pagamento",invoice:"Fatura",note:"Observa\xE7\xE3o",add_payment:"Adicionar Pagamento",new_payment:"Novo Pagamento",edit_payment:"Editar Pagamento",view_payment:"Ver Pagamento",add_new_payment:"Adicionar novo Pagamento",send_payment_receipt:"Enviar recibo de pagamento",save_payment:"Salvar Pagamento",send_payment:"Mande o pagamento",update_payment:"Atualizar Pagamento",payment:"Pagamento | Pagamentos",no_payments:"Ainda sem pagamentos!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"N\xE3o h\xE1 pagamentos correspondentes!",list_of_payments:"Esta se\xE7\xE3o conter\xE1 a lista de pagamentos.",select_payment_mode:"Selecione a forma de pagamento",confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar este Pagamento | Voc\xEA n\xE3o poder\xE1 recuperar esses Pagamentos",created_message:"Pagamento criado com sucesso",updated_message:"Pagamento atualizado com sucesso",deleted_message:"Pagamento exclu\xEDdo com sucesso | Pagamentos exclu\xEDdos com sucesso",invalid_amount_message:"O valor do pagamento \xE9 inv\xE1lido"},Vc={title:"Despesas",expenses_list:"Lista de Despesas",expense_title:"T\xEDtulo",contact:"Contato",category:"Categoria",customer:"Cliente",from_date:"A partir da Data",to_date:"At\xE9 a Data",expense_date:"Data",description:"Descri\xE7\xE3o",receipt:"Receita",amount:"Montante",action:"A\xE7\xE3o",not_selected:"Not selected",note:"Observa\xE7\xE3o",category_id:"Categoria",date:"Data da Despesa",add_expense:"Adicionar Despesa",add_new_expense:"Adicionar Nova Despesa",save_expense:"Salvar Despesa",update_expense:"Atualizar Despesa",download_receipt:"Baixar Receita",edit_expense:"Editar Despesa",new_expense:"Nova Despesa",expense:"Despesa | Despesas",no_expenses:"Ainda sem Despesas!",list_of_expenses:"Esta se\xE7\xE3o conter\xE1 a lista de despesas.",confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar esta despesa | Voc\xEA n\xE3o poder\xE1 recuperar essas despesas",created_message:"Despesa criada com sucesso",updated_message:"Despesa atualizada com sucesso",deleted_message:"Despesas exclu\xEDdas com sucesso | Despesas exclu\xEDdas com sucesso",categories:{categories_list:"Lista de Categorias",title:"T\xEDtulo",name:"Nome",description:"Descri\xE7\xE3o",amount:"Montante",actions:"A\xE7\xF5es",add_category:"Adicionar Categoria",new_category:"Nova Categoria",category:"Categoria | Categorias",select_a_category:"Selecionar uma Categoria"}},Oc={email:"Email",password:"Senha",forgot_password:"Esqueceu a senha?",or_signIn_with:"ou Entre com",login:"Entrar",register:"Registre-se",reset_password:"Resetar Senha",password_reset_successfully:"Senha redefinida com sucesso",enter_email:"Digite email",enter_password:"Digite a senha",retype_password:"Confirme a Senha"},Lc={title:"Relat\xF3rio",from_date:"A partir da Data",to_date:"At\xE9 a Data",status:"Status",paid:"Pago",unpaid:"N\xE3o Pago",download_pdf:"Baixar PDF",view_pdf:"Ver PDF",update_report:"Atualizar Relat\xF3rio",report:"Relat\xF3rio | Relat\xF3rios",profit_loss:{profit_loss:"Perda de lucro",to_date:"At\xE9 a Data",from_date:"A partir da Data",date_range:"Selecionar per\xEDodo"},sales:{sales:"Vendas",date_range:"Selecionar per\xEDodo",to_date:"At\xE9 a Data",from_date:"A partir da Data",report_type:"Tipo de Relat\xF3rio"},taxes:{taxes:"Impostos",to_date:"At\xE9 a Data",from_date:"A partir da Data",date_range:"Selecionar per\xEDodo"},errors:{required:"Campo obrigat\xF3rio"},invoices:{invoice:"Fatura",invoice_date:"Data da Fatura",due_date:"Data de Vencimento",amount:"Montante",contact_name:"Nome de Contato",status:"Status"},estimates:{estimate:"Or\xE7amento",estimate_date:"Data do Or\xE7amento",due_date:"Data de Vencimento",estimate_number:"N\xFAmero do Or\xE7amento",ref_number:"Refer\xEAncia",amount:"Montante",contact_name:"Nome de Contato",status:"Status"},expenses:{expenses:"Despesas",category:"Categoria",date:"Data",amount:"Montante",to_date:"At\xE9 a Data",from_date:"A partir da Data",date_range:"Selecionar per\xEDodo"}},Uc={menu_title:{account_settings:"Configura\xE7\xF5es da conta",company_information:"Informa\xE7\xF5es da Empresa",customization:"Personalizar",preferences:"Prefer\xEAncias",notifications:"Notifica\xE7\xF5es",tax_types:"Tipos de Impostos",expense_category:"Categorias de Despesas",update_app:"Atualizar Aplicativo",custom_fields:"Os campos personalizados"},title:"Configura\xE7\xF5es",setting:"Configura\xE7\xE3o | Configura\xE7\xF5es",general:"Geral",language:"Idioma",primary_currency:"Mo\xE9da Principal",timezone:"Fuso hor\xE1rio",date_format:"Formato de data",currencies:{title:"Moedas",currency:"Moeda | Moedas",currencies_list:"Moedas",select_currency:"Selecione uma Moeda",name:"Nome",code:"C\xF3digo",symbol:"S\xEDmbolo",precision:"Precis\xE3o",thousand_separator:"Separador de Milhar",decimal_separator:"Separador Decimal",position:"Posi\xE7\xE3o",position_of_symbol:"Posi\xE7\xE3o do S\xEDmbolo",right:"Direita",left:"Esquerda",action:"A\xE7\xE3o",add_currency:"Adicionar Moeda"},mail:{host:"Host de Email",port:"Porta de Email",driver:"Mail Driver",secret:"Segredo",mailgun_secret:"Mailgun Segredo",mailgun_domain:"Dom\xEDnio",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Segredo",ses_key:"SES Chave",password:"Senha do Email",username:"Nome de Usu\xE1rio do Email",mail_config:"Configura\xE7\xE3o de Email",from_name:"Do Nome de Email",from_mail:"Do Endere\xE7o de Email",encryption:"Criptografia de Email",mail_config_desc:"Abaixo est\xE1 o formul\xE1rio para configurar o driver de email para enviar emails do aplicativo. Voc\xEA tamb\xE9m pode configurar provedores de terceiros como Sendgrid, SES etc."},pdf:{title:"Configura\xE7\xF5es de PDF",footer_text:"Texto do Rodap\xE9",pdf_layout:"Layout de PDF"},company_info:{company_info:"Informa\xE7\xE3o da Empresa",company_name:"Nome da Empresa",company_logo:"Logotipo da Empresa",section_description:"Informa\xE7\xF5es sobre sua empresa que ser\xE3o exibidas em Faturas, Or\xE7amentos e outros documentos criados pela Crater.",phone:"Telefone",country:"Pais",state:"Estado",city:"Cidade",address:"Endere\xE7o",zip:"CEP",save:"Salvar",updated_message:"Informa\xE7\xF5es da Empresa atualizadas com sucesso"},custom_fields:{title:"Os campos personalizados",add_custom_field:"Adicionar campo personalizado",edit_custom_field:"Editar campo personalizado",field_name:"Nome do campo",type:"Tipo",name:"Nome",required:"Requeridas",label:"R\xF3tulo",placeholder:"Placeholder",help_text:"Texto de ajuda",default_value:"Valor padr\xE3o",prefix:"Prefixo",starting_number:"N\xFAmero inicial",model:"Modelo",help_text_description:"Digite algum texto para ajudar os usu\xE1rios a entender a finalidade desse campo personalizado.",suffix:"Sufixo",yes:"sim",no:"N\xE3o",order:"Ordem",custom_field_confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar este campo personalizado",already_in_use:"O campo personalizado j\xE1 est\xE1 em uso",deleted_message:"Campo personalizado exclu\xEDdo com sucesso",options:"op\xE7\xF5es",add_option:"Adicionar op\xE7\xF5es",add_another_option:"Adicione outra op\xE7\xE3o",sort_in_alphabetical_order:"Classificar em ordem alfab\xE9tica",add_options_in_bulk:"Adicionar op\xE7\xF5es em massa",use_predefined_options:"Use Predefined Options",select_custom_date:"Selecionar data personalizada",select_relative_date:"Selecionar data relativa",ticked_by_default:"Marcado por padr\xE3o",updated_message:"Campo personalizado atualizado com sucesso",added_message:"Campo personalizado adicionado com sucesso"},customization:{customization:"Personalizar",save:"Salvar",addresses:{title:"Endere\xE7o",section_description:"Voc\xEA pode definir o endere\xE7o de cobran\xE7a do cliente e o formato do endere\xE7o de entrega do cliente (exibido apenas em PDF).",customer_billing_address:"Endere\xE7o de Cobran\xE7a do Cliente",customer_shipping_address:"Endere\xE7o de Entrega do Cliente",company_address:"Endere\xE7o da Empresa",insert_fields:"Inserir Campos",contact:"Contato",address:"Endere\xE7o",display_name:"Nome em Exibi\xE7\xE3o",primary_contact_name:"Nome do Contato Principal",email:"Email",website:"Website",name:"Nome",country:"Pais",state:"Estado",city:"Cidade",company_name:"Nome da Empresa",address_street_1:"Endere\xE7o Rua 1",address_street_2:"Endere\xE7o Rua 2",phone:"Telefone",zip_code:"CEP",address_setting_updated:"Configura\xE7\xE3o de Endere\xE7o Atualizada com Sucesso"},updated_message:"Informa\xE7\xF5es da Empresa atualizadas com sucesso",invoices:{title:"Faturas",notes:"Notas",invoice_prefix:"Fatura Prefixo",invoice_settings:"Configra\xE7\xF5es da Fatura",autogenerate_invoice_number:"Gerar automaticamente o n\xFAmero da Fatura",autogenerate_invoice_number_desc:"Desative isso, se voc\xEA n\xE3o deseja gerar automaticamente n\xFAmeros da Fatura sempre que criar uma nova.",enter_invoice_prefix:"Digite o prefixo da Fatura",terms_and_conditions:"Termos e Condi\xE7\xF5es",invoice_settings_updated:"Configura\xE7\xE3o da Fatura atualizada com sucesso"},estimates:{title:"Or\xE7amentos",estimate_prefix:"Or\xE7amento Prefixo",estimate_settings:"Configura\xE7\xF5es do Or\xE7amento",autogenerate_estimate_number:"Gerar automaticamente o n\xFAmero do Or\xE7amento",estimate_setting_description:"Desative isso, se voc\xEA n\xE3o deseja gerar automaticamente n\xFAmeros do Or\xE7amento sempre que criar um novo.",enter_estimate_prefix:"Digite o prefixo do Or\xE7amento",estimate_setting_updated:"Configura\xE7\xE3o do Or\xE7amento atualizada com sucesso"},payments:{title:"Pagamentos",payment_prefix:"Pagamento Prefixo",payment_settings:"Configura\xE7\xF5es de Pagamento",autogenerate_payment_number:"Gerar automaticamente n\xFAmero do Pagamento",payment_setting_description:"Desative isso, se voc\xEA n\xE3o deseja gerar automaticamente n\xFAmeros do Pagamento sempre que criar um novo.",enter_payment_prefix:"Digite o Prefixo do Pagamento",payment_setting_updated:"Configura\xE7\xF5es de Pagamento atualizada com sucesso",payment_mode:"Modo de pagamento",add_payment_mode:"Adicionar modo de pagamento",edit_payment_mode:"Editar modo de pagamento",mode_name:"Nome do modo",payment_mode_added:"Modo de pagamento adicionado",payment_mode_updated:"Modo de pagamento atualizado",payment_mode_confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar este modo de pagamento",already_in_use:"O modo de pagamento j\xE1 est\xE1 em uso",deleted_message:"Modo de pagamento exclu\xEDdo com sucesso"},items:{title:"Itens",units:"unidades",add_item_unit:"Adicionar unidade de item",edit_item_unit:"Editar unidade de item",unit_name:"Nome da unidade",item_unit_added:"Item Unit Added",item_unit_updated:"Item Unit Updated",item_unit_confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar esta unidade de item",already_in_use:"A unidade do item j\xE1 est\xE1 em uso",deleted_message:"Unidade de item exclu\xEDda com sucesso"}},account_settings:{profile_picture:"Foto do Perfil",name:"Nome",email:"Email",password:"Senha",confirm_password:"Confirmar Senha",account_settings:"Configura\xE7\xF5es da conta",save:"Salvar",section_description:"Voc\xEA pode atualizar seu nome, email e senha usando o formul\xE1rio abaixo.",updated_message:"Configura\xE7\xF5es da conta atualizadas com sucesso"},user_profile:{name:"Nome",email:"Email",password:"Password",confirm_password:"Confirmar Senha"},notification:{title:"Notifica\xE7\xE3o",email:"Enviar Notifica\xE7\xF5es para",description:"Quais notifica\xE7\xF5es por email voc\xEA gostaria de receber quando algo mudar?",invoice_viewed:"Fatura Visualizada",invoice_viewed_desc:"Quando o seu cliente visualiza uma Fatura enviada pelo painel do Crater.",estimate_viewed:"Or\xE7amento Visualizado",estimate_viewed_desc:"Quando o seu cliente visualiza um Or\xE7amento enviada pelo painel do Crater.",save:"Salvar",email_save_message:"E-mail salvo com sucesso",please_enter_email:"Por favor digite um E-mail"},tax_types:{title:"Tipos de Impostos",add_tax:"Adicionar Imposto",edit_tax:"Editar imposto",description:"Voc\xEA pode adicionar ou remover impostos conforme desejar. O Crater suporta impostos sobre itens individuais e tamb\xE9m na Fatura.",add_new_tax:"Adicionar Novo Imposto",tax_settings:"Configura\xE7\xF5es de Impostos",tax_per_item:"Imposto por Item",tax_name:"Nome do Imposto",compound_tax:"Imposto Composto",percent:"Porcentagem",action:"A\xE7\xE3o",tax_setting_description:"Habilite isso se desejar adicionar Impostos a itens da Fatura Idividualmente. Por padr\xE3o, os impostos s\xE3o adicionados diretamente \xE0 Fatura.",created_message:"Tipo de Imposto criado com sucesso",updated_message:"Tipo de Imposto Atualizado com sucesso",deleted_message:"Tipo de Imposto Deletado com sucesso",confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar este tipo de Imposto",already_in_use:"O Imposto j\xE1 est\xE1 em uso"},expense_category:{title:"Categoria de Despesa",action:"A\xE7\xE3o",description:"As Categorias s\xE3o necess\xE1rias para adicionar entradas de Despesas. Voc\xEA pode adicionar ou remover essas Categorias de acordo com sua prefer\xEAncia.",add_new_category:"Adicionar Nova Categoria",add_category:"Adicionar categoria",edit_category:"Editar categoria",category_name:"Nome da Categoria",category_description:"Descri\xE7\xE3o",created_message:"Categoria de Despesa criada com sucesso",deleted_message:"Categoria de Despesa exclu\xEDda com sucesso",updated_message:"Categoria de Despesa atualizada com sucesso",confirm_delete:"Voc\xEA n\xE3o poder\xE1 recuperar esta Categoria de Despesa",already_in_use:"A categoria j\xE1 est\xE1 em uso"},preferences:{currency:"Moeda",language:"Idioma",time_zone:"Fuso Hor\xE1rio",fiscal_year:"Ano Financeiro",date_format:"Formato da Data",discount_setting:"Configura\xE7\xE3o de Desconto",discount_per_item:"Desconto por Item ",discount_setting_description:"Habilite isso se desejar adicionar desconto a itens de Fatura individualmente. Por padr\xE3o, o desconto \xE9 adicionado diretamente \xE0 Fatura.",save:"Salvar",preference:"Prefer\xEAncia | Prefer\xEAncias",general_settings:"Prefer\xEAncias padr\xE3o para o sistema.",updated_message:"Prefer\xEAncias atualizadas com sucesso",select_language:"Selecione um Idioma",select_time_zone:"Selecione um fuso hor\xE1rio",select_date_formate:"Selecione um formato de data",select_financial_year:"Selecione o ano financeiro"},update_app:{title:"Atualizar Aplicativo",description:"Voc\xEA pode atualizar facilmente o Crater, verifique se h\xE0 novas atualiza\xE7\xF5es, clicando no bot\xE3o abaixo",check_update:"Verifique se h\xE1 atualiza\xE7\xF5es",avail_update:"Nova atualiza\xE7\xE3o dispon\xEDvel",next_version:"Pr\xF3xima vers\xE3o",update:"Atualizar agora",update_progress:"Atualiza\xE7\xE3o em progresso...",progress_text:"Levar\xE1 apenas alguns minutos. N\xE3o atualize a tela ou feche a janela antes que a atualiza\xE7\xE3o seja conclu\xEDda",update_success:"O aplicativo foi atualizado! Aguarde enquanto a janela do navegador \xE9 recarregada automaticamente.",latest_message:"Nenhuma atualiza\xE7\xE3o dispon\xEDvel! Voc\xEA est\xE1 na vers\xE3o mais recente.",current_version:"Vers\xE3o Atual",download_zip_file:"Baixar arquivo ZIP",unzipping_package:"Descompactando o pacote",copying_files:"Copiando arquivos",running_migrations:"Executando migra\xE7\xF5es",finishing_update:"Atualiza\xE7\xE3o de acabamento",update_failed:"Atualiza\xE7\xE3o falhou",update_failed_text:"Desculpa! Sua atualiza\xE7\xE3o falhou em: {step} step"}},Kc={account_info:"Informa\xE7\xE3o da conta",account_info_desc:"Os detalhes abaixo ser\xE3o usados para criar a conta principal do administrador. Al\xE9m disso, voc\xEA pode alterar os detalhes a qualquer momento ap\xF3s o login.",name:"Nome",email:"Email",password:"Senha",confirm_password:"Confirmar Senha",save_cont:"Salvar e Continuar",company_info:"Informa\xE7\xE3o da Empresa",company_info_desc:"Esta informa\xE7\xE3o ser\xE1 exibida nas Faturas. Observe que voc\xEA pode editar isso mais tarde na p\xE1gina de configura\xE7\xF5es.",company_name:"Nome da Empresa",company_logo:"Logotipo da Empresa",logo_preview:"Previsualizar Logotipo",preferences:"Prefer\xEAncias",preferences_desc:"Prefer\xEAncias padr\xE3o para o sistema.",country:"Pais",state:"Estado",city:"Cidade",address:"Endere\xE7o",street:"Rua 1 | Rua 2",phone:"Telefone",zip_code:"CEP",go_back:"Voltar",currency:"Moeda",language:"Idioma",time_zone:"Fuso Hor\xE1rio",fiscal_year:"Ano Financeiro",date_format:"Formato de Data",from_address:"Do Endere\xE7o",username:"Nome de Usu\xE1rio",next:"Pr\xF3ximo",continue:"Continuar",skip:"Pular",database:{database:"URL do Site e Base de Dados",connection:"Conex\xE3o da Base de Dados",host:"Host da Base de Dados",port:"Porta da Base de Dados",password:"Senha da Base de Dados",app_url:"URL do Aplicativo",username:"Usu\xE1rio da Base de Dados",db_name:"Nome da Base de Dados",desc:"Crie um Banco de Dados no seu servidor e defina as credenciais usando o formul\xE1rio abaixo."},permissions:{permissions:"Permiss\xF5es",permission_confirm_title:"Voc\xEA tem certeza que quer continuar?",permission_confirm_desc:"Falha na verifica\xE7\xE3o de permiss\xE3o da pasta",permission_desc:"Abaixo est\xE1 a lista de permiss\xF5es de pasta que s\xE3o necess\xE1rias para que o aplicativo funcione. Se a verifica\xE7\xE3o da permiss\xE3o falhar, atualize as permiss\xF5es da pasta."},mail:{host:"Host do email",port:"Porta do email",driver:"Driver do email",secret:"Segredo",mailgun_secret:"Segredo do Mailgun",mailgun_domain:"Dom\xEDnio",mailgun_endpoint:"Endpoint do Mailgun",ses_secret:"Segredo do SES",ses_key:"Chave SES",password:"Senha do email",username:"Nome do Usu\xE1rio do email",mail_config:"Configura\xE7\xE3o de email",from_name:"Nome do email",from_mail:"Endere\xE7o de email",encryption:"Criptografia de email",mail_config_desc:"Abaixo est\xE1 o formul\xE1rio para configurar o driver de email que ser\xE1 usado para enviar emails do aplicativo. Voc\xEA tamb\xE9m pode configurar provedores de terceiros como Sendgrid, SES etc."},req:{system_req:"Requisitos de Sistema",php_req_version:"PHP (vers\xE3o {version} obrigat\xF3ria)",check_req:"Verificar Requisitos",system_req_desc:"O Crater tem alguns requisitos de servidor. Verifique se o seu servidor possui a vers\xE3o do PHP necess\xE1ria e todas as extens\xF5es mencionadas abaixo."},errors:{migrate_failed:"Falha na migra\xE7\xE3o",database_variables_save_error:"N\xE3o \xE9 poss\xEDvel gravar a configura\xE7\xE3o no arquivo .env. Por favor, verifique suas permiss\xF5es de arquivo",mail_variables_save_error:"A configura\xE7\xE3o do email falhou.",connection_failed:"Falha na conex\xE3o com o banco de dados",database_should_be_empty:"O banco de dados deve estar vazio"},success:{mail_variables_save_successfully:"Email configurado com sucesso",database_variables_save_successfully:"Banco de dados configurado com sucesso."}},qc={invalid_phone:"N\xFAmero de telefone inv\xE1lido",invalid_url:"url inv\xE1lidas (ex: http://www.craterapp.com)",required:"Campo obrigat\xF3rio",email_incorrect:"E-mail incorreto",email_already_taken:"O email j\xE1 foi recebido.",email_does_not_exist:"O usu\xE1rio com determinado email n\xE3o existe",send_reset_link:"Enviar link de redefini\xE7\xE3o",not_yet:"Ainda n\xE3o? Envie novamente",password_min_length:"A senha deve conter {count} caracteres",name_min_length:"O nome deve ter pelo menos {count} letras.",enter_valid_tax_rate:"Insira uma taxa de imposto v\xE1lida",numbers_only:"Apenas N\xFAmeros.",characters_only:"Apenas Caracteres.",password_incorrect:"As senhas devem ser id\xEAnticas",password_length:"A senha deve ter {count} caracteres.",qty_must_greater_than_zero:"A quantidade deve ser maior que zero.",price_greater_than_zero:"O pre\xE7o deve ser maior que zero.",payment_greater_than_zero:"O pagamento deve ser maior que zero.",payment_greater_than_due_amount:"O pagamento inserido \xE9 mais do que o valor devido desta fatura.",quantity_maxlength:"A quantidade n\xE3o deve exceder 20 d\xEDgitos.",price_maxlength:"O pre\xE7o n\xE3o deve ser superior a 20 d\xEDgitos.",price_minvalue:"O pre\xE7o deve ser maior que 0.",amount_maxlength:"Montante n\xE3o deve ser superior a 20 d\xEDgitos.",amount_minvalue:"Montante deve ser maior que zero",description_maxlength:"A descri\xE7\xE3o n\xE3o deve ter mais que 255 caracteres.",maximum_options_error:"M\xE1ximo de {max} op\xE7\xF5es selecionadas. Primeiro remova uma op\xE7\xE3o selecionada para selecionar outra.",notes_maxlength:"As anota\xE7\xF5es n\xE3o devem ter mais que 255 caracteres.",address_maxlength:"O endere\xE7o n\xE3o deve ter mais que 255 caracteres.",ref_number_maxlength:"O n\xFAmero de refer\xEAncia n\xE3o deve ter mais que 255 caracteres.",prefix_maxlength:"O prefixo n\xE3o deve ter mais que 5 caracteres."};var Wc={navigation:Nc,general:Ec,dashboard:Tc,tax_types:Ic,customers:$c,items:Rc,estimates:Fc,invoices:Mc,payments:Bc,expenses:Vc,login:Oc,reports:Lc,settings:Uc,wizard:Kc,validation:qc};const Zc={dashboard:"Dashboard",customers:"Clienti",items:"Commesse",invoices:"Fatture",expenses:"Spese",estimates:"Preventivi",payments:"Pagamenti",reports:"Reports",settings:"Configurazione",logout:"Logout",users:"Users"},Hc={add_company:"Add Company",view_pdf:"Vedi PDF",copy_pdf_url:"Copy PDF Url",download_pdf:"Scarica PDF",save:"Salva",create:"Create",cancel:"Elimina",update:"Aggiorna",deselect:"Deseleziona",download:"Download",from_date:"Dalla Data",to_date:"Alla Data",from:"Da",to:"A",sort_by:"Ordina per",ascending:"Crescente",descending:"Decrescente",subject:"Oggetto",body:"Corpo",message:"Messaggio",send:"Send",go_back:"Torna indietro",back_to_login:"Torna al Login?",home:"Home",filter:"Filtro",delete:"Elimina",edit:"Modifica",view:"Visualizza",add_new_item:"Aggiungi nuova Commessa",clear_all:"Pulisci tutto",showing:"Showing",of:"di",actions:"Azioni",subtotal:"SUBTOTALE",discount:"SCONTO",fixed:"Fissato",percentage:"Percentuale",tax:"TASSA",total_amount:"AMMONTARE TOTALE",bill_to:"Fattura a",ship_to:"Invia a",due:"Dovuto",draft:"Bozza",sent:"Inviata",all:"Tutte",select_all:"Seleziona tutto",choose_file:"Clicca per selezionare un file",choose_template:"Scegli un modello",choose:"Scegli",remove:"Rimuovi",powered_by:"Prodotto da",bytefury:"Bytefury",select_a_status:"Seleziona uno Stato",select_a_tax:"Seleziona una Tassa",search:"Cerca",are_you_sure:"Sei sicuro/a?",list_is_empty:"La lista \xE8 vuota.",no_tax_found:"Nessuna Tassa trovata!",four_zero_four:"404",you_got_lost:"Hoops! Ti sei perso",go_home:"Vai alla Home",test_mail_conf:"Configurazione della mail di test",send_mail_successfully:"Mail inviata con successo",setting_updated:"Configurazioni aggiornate con successo",select_state:"Seleziona lo Stato",select_country:"Seleziona Paese",select_city:"Seleziona Citt\xE0",street_1:"Indirizzo 1",street_2:"Indirizzo 2",action_failed:"Errore",retry:"Retry",choose_note:"Choose Note",no_note_found:"No Note Found",insert_note:"Insert Note"},Gc={select_year:"Seleziona anno",cards:{due_amount:"Somma dovuta",customers:"Clienti",invoices:"Fatture",estimates:"Preventivi"},chart_info:{total_sales:"Vendite",total_receipts:"Ricevute",total_expense:"Uscite",net_income:"Guadagno netto",year:"Seleziona anno"},monthly_chart:{title:"Entrate & Uscite"},recent_invoices_card:{title:"Fatture insolute",due_on:"Data di scadenza",customer:"Cliente",amount_due:"Ammontare dovuto",actions:"Azioni",view_all:"Vedi tutto"},recent_estimate_card:{title:"Preventivi recenti",date:"Data",customer:"Cliente",amount_due:"Ammontare dovuto",actions:"Azioni",view_all:"Vedi tutto"}},Yc={name:"Nome",description:"Descrizione",percent:"Percento",compound_tax:"Tassa composta"},Jc={search:"Search...",customers:"Clienti",users:"Users",no_results_found:"No Results Found"},Xc={title:"Clienti",add_customer:"Aggiungi cliente",contacts_list:"Lista clienti",name:"Nome",mail:"Mail | Mails",statement:"Statement",display_name:"Mostra nome",primary_contact_name:"Riferimento",contact_name:"Nome Contatto",amount_due:"Ammontare dovuto",email:"Email",address:"Indirizzo",phone:"Telefono",website:"Sito web",overview:"Overview",enable_portal:"Enable Portal",country:"Paese",state:"Stato",city:"Citt\xE0",zip_code:"Codice Postale",added_on:"Aggiunto il",action:"Azione",password:"Password",street_number:"Numero Civico",primary_currency:"Val\xF9ta Principale",description:"Descrizione",add_new_customer:"Aggiungi nuovo Cliente",save_customer:"Salva Cliente",update_customer:"Aggiorna Cliente",customer:"Cliente | Clienti",new_customer:"Nuovo cliente",edit_customer:"Modifica Cliente",basic_info:"Informazioni",billing_address:"Indirizzo di Fatturazione",shipping_address:"Indirizzo di Spedizione",copy_billing_address:"Copia da Fatturazione",no_customers:"Ancora nessun Cliente!",no_customers_found:"Nessun cliente trovato!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"Qui ci sar\xE0 la lista dei tuoi clienti",primary_display_name:"Mostra il Nome Principale",select_currency:"Selezione Val\xF9ta",select_a_customer:"Seleziona Cliente",type_or_click:"Scrivi o clicca per selezionare",new_transaction:"Nuova transazione",no_matching_customers:"Non ci sono clienti corrispondenti!",phone_number:"Numero di telefono",create_date:"Crea data",confirm_delete:"Non sarai in grado di recuperare questo cliente e tutte le relative fatture, stime e pagamenti. | Non sarai in grado di recuperare questi clienti e tutte le relative fatture, stime e pagamenti.",created_message:"Cliente creato con successo",updated_message:"Cliente aggiornato con successo",deleted_message:"Cliente cancellato con successo | Clienti cancellati con successo"},Qc={title:"Commesse",items_list:"Lista Commesse",name:"Nome",unit:"Unit\xE0/Tipo",description:"Descrizione",added_on:"Aggiunto il",price:"Prezzo",date_of_creation:"Data di creazione",not_selected:"No item selected",action:"Azione",add_item:"Aggiungi Commessa",save_item:"Salva",update_item:"Aggiorna",item:"Commessa | Commesse",add_new_item:"Aggiungi nuova Commessa",new_item:"Nuova Commessa",edit_item:"Modifica Commessa",no_items:"Ancora nessuna commessa!",list_of_items:"Qui ci sar\xE0 la lista delle commesse.",select_a_unit:"Seleziona",taxes:"Imposte",item_attached_message:"Non puoi eliminare una Commessa che \xE8 gi\xE0 attiva",confirm_delete:"Non potrai ripristinare la Commessa | Non potrai ripristinare le Commesse",created_message:"Commessa creata con successo",updated_message:"Commessa aggiornata con successo",deleted_message:"Commessa eliminata con successo | Commesse eliminate con successo"},e_={title:"Preventivi",estimate:"Preventivo | Preventivi",estimates_list:"Lista Preventivi",days:"{days} Giorni",months:"{months} Mese",years:"{years} Anno",all:"Tutti",paid:"Pagato",unpaid:"Non pagato",customer:"CLIENTE",ref_no:"RIF N.",number:"NUMERO",amount_due:"AMMONTARE DOVUTO",partially_paid:"Pagamento Parziale",total:"Totale",discount:"Sconto",sub_total:"Sub Totale",estimate_number:"Preventivo Numero",ref_number:"Numero di Rif.",contact:"Contatto",add_item:"Aggiungi un item",date:"Data",due_date:"Data di pagamento",expiry_date:"Data di scadenza",status:"Stato",add_tax:"Aggiungi Imposta",amount:"Ammontare",action:"Azione",notes:"Note",tax:"Imposta",estimate_template:"Modello",convert_to_invoice:"Converti in Fattura",mark_as_sent:"Segna come Inviata",send_estimate:"Invia preventivo",resend_estimate:"Resend Estimate",record_payment:"Registra Pagamento",add_estimate:"Aggiungi Preventivo",save_estimate:"Salva Preventivo",confirm_conversion:"Questo preventivo verr\xE0 usato per generare una nuova fattura.",conversion_message:"Fattura creata",confirm_send_estimate:"Questo preventivo verr\xE0 inviato al cliente via mail",confirm_mark_as_sent:"Questo preventivo verr\xE0 contrassegnato come inviato",confirm_mark_as_accepted:"Questo preventivo verr\xE0 contrassegnato come Accettato",confirm_mark_as_rejected:"Questo preventivo verr\xE0 contrassegnato come Rifiutato",no_matching_estimates:"Nessun preventivo trovato!",mark_as_sent_successfully:"Preventivo contrassegnato come inviato con successo",send_estimate_successfully:"Preventivo inviato con successo",errors:{required:"Campo obbligatorio"},accepted:"Accettato",rejected:"Rejected",sent:"Inviato",draft:"Bozza",declined:"Rifiutato",new_estimate:"Nuovo Preventivo",add_new_estimate:"Crea Nuovo Preventivo",update_Estimate:"Aggiorna preventivo",edit_estimate:"Modifica Preventivo",items:"Commesse",Estimate:"Preventivo | Preventivi",add_new_tax:"Aggiungi una nuova tassa/imposta",no_estimates:"Ancora nessun preventivo!",list_of_estimates:"Questa sezione conterr\xE0 la lista dei preventivi.",mark_as_rejected:"Segna come Rifiutato",mark_as_accepted:"Segna come Accettato",marked_as_accepted_message:"Preventivo contrassegnato come accettato",marked_as_rejected_message:"Preventivo contrassegnato come rifiutato",confirm_delete:"Non potrai pi\xF9 recuperare questo preventivo | Non potrai pi\xF9 recuperare questi preventivi",created_message:"Preventivo creato con successo",updated_message:"Preventivo modificato con successo",deleted_message:"Preventivo eliminato con successo | Preventivi eliminati con successo",something_went_wrong:"Si \xE8 verificato un errore",item:{title:"Titolo Commessa",description:"Descrizione",quantity:"Quantit\xE0",price:"Prezzo",discount:"Sconto",total:"Totale",total_discount:"Sconto Totale",sub_total:"Sub Totale",tax:"Tasse",amount:"Ammontare",select_an_item:"Scrivi o clicca per selezionare un item",type_item_description:"Scrivi una Descrizione (opzionale)"}},t_={title:"Fatture",invoices_list:"Lista Fatture",days:"{days} Giorni",months:"{months} Mese",years:"{years} Anno",all:"Tutti",paid:"Pagato",unpaid:"Insoluto",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"CLIENTE",paid_status:"STATO DI PAGAMENTO",ref_no:"RIF N.",number:"NUMERO",amount_due:"AMMONTARE DOVUTO",partially_paid:"Parzialmente Pagata",total:"Totale",discount:"Sconto",sub_total:"Sub Totale",invoice:"Fattura | Fatture",invoice_number:"Numero Fattura",ref_number:"Rif Numero",contact:"Contatto",add_item:"Aggiungi Commessa/Item",date:"Data",due_date:"Data di pagamento",status:"Stato",add_tax:"Aggiungi Imposta",amount:"Ammontare",action:"Azione",notes:"Note",view:"Vedi",send_invoice:"Invia Fattura",resend_invoice:"Resend Invoice",invoice_template:"Modello Fattura",template:"Modello",mark_as_sent:"Segna come inviata",confirm_send_invoice:"Questa fattura sar\xE0 inviata via Mail al Cliente",invoice_mark_as_sent:"Questa fattura sar\xE0 contrassegnata come inviata",confirm_send:"Questa fattura sar\xE0 inviata via Mail al Cliente",invoice_date:"Data fattura",record_payment:"Registra Pagamento",add_new_invoice:"Aggiungi nuova Fattura",update_expense:"Aggiorna Costo",edit_invoice:"Modifica Fattura",new_invoice:"Nuova Fattura",save_invoice:"Salva fattura",update_invoice:"Aggiorna Fattura",add_new_tax:"Aggiungi tassa/imposta",no_invoices:"Ancora nessuna fattura!",list_of_invoices:"Questa sezione conterr\xE0 la lista delle Fatture.",select_invoice:"Seleziona Fattura",no_matching_invoices:"Nessuna fattura trovata!",mark_as_sent_successfully:"Fattura contassegnata come inviata con successo",invoice_sent_successfully:"Fattura inviata con successo",cloned_successfully:"Fattura copiata con successo",clone_invoice:"Clona Fattura",confirm_clone:"Questa fattura verr\xE0 clonata in una nuova fattura",item:{title:"Titolo Commessa",description:"Descrizione",quantity:"Quantit\xE0",price:"Prezzo",discount:"Sconto",total:"Totale",total_discount:"Sconto Totale",sub_total:"Sub Totale",tax:"Tassa",amount:"Ammontare",select_an_item:"Scrivi o clicca per selezionare un item",type_item_description:"Scrivi una descrizione (opzionale)"},confirm_delete:"Non potrai recuperare la Fattura cancellata | Non potrai recuperare le Fatture cancellate",created_message:"Fattura creata con successo",updated_message:"Fattura aggiornata con successo",deleted_message:"Fattura cancellata con successo | Fatture cancellate con successo",marked_as_sent_message:"Fattura contrassegnata come inviata con successo",something_went_wrong:"Si \xE8 verificato un errore",invalid_due_amount_message:"L'ammontare totale della fattura non pu\xF2 essere inferiore all'ammontare totale pagato per questa fattura. Modifica la fattura o cancella i pagamenti associati per continuare."},a_={title:"Pagamenti",payments_list:"Lista Pagamenti",record_payment:"Registra Pagamento",customer:"Cliente",date:"Data",amount:"Ammontare",action:"Azione",payment_number:"Numero di pagamento",payment_mode:"Modalit\xE0 di Pagamento",invoice:"Fattura",note:"Nota",add_payment:"Aggiungi Pagamento",new_payment:"Nuovo Pagamento",edit_payment:"Modifica Pagamento",view_payment:"Vedi Pagamento",add_new_payment:"Aggiungi nuovo pagamento",send_payment_receipt:"Invia ricevuta di pagamento",send_payment:"Inviare il pagamento",save_payment:"Salva pagamento",update_payment:"Aggiorna pagamento",payment:"Pagamento | Pagamenti",no_payments:"Ancora nessun pagamento!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"Non ci sono pagamenti!",list_of_payments:"Questa sezione conterr\xE0 la lista dei pagamenti.",select_payment_mode:"Seleziona modalit\xE0 di pagamento",confirm_mark_as_sent:"Questo preventivo verr\xE0 contrassegnato come inviato",confirm_send_payment:"Questo pagamento verr\xE0 inviato via email al cliente",send_payment_successfully:"Pagamento inviato con successo",something_went_wrong:"si \xE8 verificato un errore",confirm_delete:"Non potrai recuperare questo pagamento | Non potrai recuperare questi pagamenti",created_message:"Pagamento creato con successo",updated_message:"Pagamento aggiornato con successo",deleted_message:"Pagamento cancellato con successo | Pagamenti cancellati con successo",invalid_amount_message:"L'ammontare del pagamento non \xE8 valido"},s_={title:"Spese",expenses_list:"Lista Costi",select_a_customer:"Seleziona Cliente",expense_title:"Titolo",customer:"Cliente",contact:"Contatto",category:"Categoria",from_date:"Dalla Data",to_date:"Alla Data",expense_date:"Data",description:"Descrizione",receipt:"Ricevuta",amount:"Ammontare",action:"Azione",not_selected:"Not selected",note:"Nota",category_id:"Id categoria",date:"Data Spesa",add_expense:"Aggiungi Spesa",add_new_expense:"Aggiungi nuova Spesa",save_expense:"Salva la Spesa",update_expense:"Aggiorna Spesa",download_receipt:"Scarica la Ricevuta",edit_expense:"Modifica Spesa",new_expense:"Nuova Spesa",expense:"Spesa | Spese",no_expenses:"Ancora nessuna spesa!",list_of_expenses:"Questa sezione conterr\xE0 la lista delle Spese.",confirm_delete:"Non potrai recuperare questa spesa | Non potrai recuperare queste spese",created_message:"Spesa creata con successo",updated_message:"Spesa modificata con successo",deleted_message:"Spesa cancellata con successo | Spese cancellate con successo",categories:{categories_list:"Lista categorie",title:"Titolo",name:"Nome",description:"Descrizione",amount:"Ammontare",actions:"Azioni",add_category:"Aggiungi Categoria",new_category:"Nuova Categoria",category:"Categoria | Categorie",select_a_category:"Seleziona Categoria"}},n_={email:"Email",password:"Password",forgot_password:"Password dimenticata?",or_signIn_with:"o fai login con",login:"Login",register:"Registrati",reset_password:"Resetta Password",password_reset_successfully:"Password Resettata con successo",enter_email:"Inserisci email",enter_password:"Inserisci Password",retype_password:"Ridigita Password"},i_={title:"Users",users_list:"Users List",name:"Nome",description:"Descrizione",added_on:"Aggiunto il",date_of_creation:"Data di creazione",action:"Azione",add_user:"Add User",save_user:"Save User",update_user:"Update User",user:"User | Users",add_new_user:"Add New User",new_user:"New User",edit_user:"Edit User",no_users:"No users yet!",list_of_users:"This section will contain the list of users.",email:"Email",phone:"Telefono",password:"Password",user_attached_message:"Non puoi eliminare una Commessa che \xE8 gi\xE0 attiva",confirm_delete:"You will not be able to recover this User | You will not be able to recover these Users",created_message:"User created successfully",updated_message:"User updated successfully",deleted_message:"User deleted successfully | User deleted successfully"},o_={title:"Report",from_date:"Da",to_date:"A",status:"Stato",paid:"Pagato",unpaid:"Non pagato",download_pdf:"Scarica PDF",view_pdf:"Vedi PDF",update_report:"Aggiorna Report",report:"Report | Reports",profit_loss:{profit_loss:"Guadagni & Perdite",to_date:"A",from_date:"Da",date_range:"Seleziona intervallo date"},sales:{sales:"Vendite",date_range:"Seleziona intervallo date",to_date:"A",from_date:"Da",report_type:"Tipo di report"},taxes:{taxes:"Tasse",to_date:"Alla data",from_date:"Dalla data",date_range:"Seleziona intervallo date"},errors:{required:"Campo obbligatorio"},invoices:{invoice:"Fattura",invoice_date:"Data fattura",due_date:"Data di pagamento",amount:"Ammontare",contact_name:"Nome contatto",status:"Stato"},estimates:{estimate:"Preventivo",estimate_date:"Data preventivo",due_date:"Data di pagamento",estimate_number:"Numero di preventivo",ref_number:"Numero di Rif.",amount:"Ammontare",contact_name:"Nome contatto",status:"Stato"},expenses:{expenses:"Spese",category:"Categoria",date:"Data",amount:"Ammontare",to_date:"Alla data",from_date:"Dalla data",date_range:"Seleziona intervallo date"}},r_={menu_title:{account_settings:"Impostazioni Account",company_information:"Informazioni Azienda",customization:"Personalizzazione",preferences:"Opzioni",notifications:"Notifiche",tax_types:"Tupi di Tasse",expense_category:"Categorie di spesa",update_app:"Aggiorna App",backup:"Backup",file_disk:"File Disk",custom_fields:"Campi personalizzati",payment_modes:"Payment Modes",notes:"Note"},title:"Impostazioni",setting:"Opzione | Impostazioni",general:"Generale",language:"Lingua",primary_currency:"Valuta Principale",timezone:"Time Zone",date_format:"Formato data",currencies:{title:"Valute",currency:"Val\xF9ta | Valute",currencies_list:"Lista valute",select_currency:"Seleziona Val\xF9ta",name:"Nome",code:"Codice",symbol:"Simbolo",precision:"Precisione",thousand_separator:"Separatore migliaia",decimal_separator:"Separatore decimali",position:"Posizione",position_of_symbol:"Posizione del Simbolo",right:"Destra",left:"Sinistra",action:"Azione",add_currency:"Aggiungi Val\xF9ta"},mail:{host:"Mail Host",port:"Mail - Porta",driver:"Mail Driver",secret:"Secret",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domain",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"Mail Password",username:"Mail Username",mail_config:"Configurazione Mail",from_name:"Nome Mittente Mail",from_mail:"Indirizzo Mittente Mail",encryption:"Tipo di cifratura Mail",mail_config_desc:"Form per Configurazione Driver Mail per invio mail dall'App. Puoi anche configurare providers di terze parti come Sendgrid, SES, etc.."},pdf:{title:"Configurazione PDF",footer_text:"Testo Footer",pdf_layout:"Layout PDF"},company_info:{company_info:"Info azienda",company_name:"Nome azienda",company_logo:"Logo azienda",section_description:"Informazioni sulla tua azienda che saranno mostrate in fattura, preventivi ed altri documenti creati dell'applicazione.",phone:"Telefono",country:"Paese",state:"Stato",city:"Citt\xE0",address:"Indirizzo",zip:"CAP",save:"Salva",updated_message:"Informazioni Azienda aggiornate con successo."},custom_fields:{title:"Campi personalizzati",section_description:"Customize your Invoices, Estimates & Payment Receipts with your own fields. Make sure to use the below added fields on the address formats on Customization settings page.",add_custom_field:"Aggiungi campo personalizzato",edit_custom_field:"Modifica campo personalizzato",field_name:"Nome campo",label:"Etichetta",type:"genere",name:"Nome",required:"Necessaria",placeholder:"segnaposto",help_text:"Testo guida",default_value:"Valore predefinito",prefix:"Prefisso",starting_number:"Numero iniziale",model:"Modella",help_text_description:"Inserisci del testo per aiutare gli utenti a comprendere lo scopo di questo campo personalizzato.",suffix:"Suffisso",yes:"s\xEC",no:"No",order:"Ordine",custom_field_confirm_delete:"Non sarai in grado di recuperare questo campo personalizzato",already_in_use:"Il campo personalizzato \xE8 gi\xE0 in uso",deleted_message:"Campo personalizzato eliminato correttamente",options:"opzioni",add_option:"Aggiungi opzioni",add_another_option:"Aggiungi un'altra opzione",sort_in_alphabetical_order:"Ordina in ordine alfabetico",add_options_in_bulk:"Aggiungi opzioni in blocco",use_predefined_options:"Usa opzioni predefinite",select_custom_date:"Seleziona la data personalizzata",select_relative_date:"Seleziona la data relativa",ticked_by_default:"Contrassegnato per impostazione predefinita",updated_message:"Campo personalizzato aggiornato correttamente",added_message:"Campo personalizzato aggiunto correttamente"},customization:{customization:"personalizzazione",save:"Salva",addresses:{title:"Indirizzi",section_description:"Puoi settare l'indirizzo di fatturazione del Cliente e/o il formato dell'indirizzo di spedizione (Mostrato solo sul PDF). ",customer_billing_address:"Indirizzo Fatturazione Cliente",customer_shipping_address:"Indirizzo spedizione Cliente",company_address:"Indirizzo Azienda",insert_fields:"Inserisci Campi",contact:"Contatto",address:"Indirizzo",display_name:"Mostra nome",primary_contact_name:"Nome contatto primario",email:"Email",website:"Sito web",name:"Nome",country:"Paese",state:"Stato",city:"Citt\xE0",company_name:"Nome Azienda",address_street_1:"Indirizzo 1",address_street_2:"Indirizzo 2",phone:"Telefono",zip_code:"CAP/ZIP Code",address_setting_updated:"Indirizzo aggiornato con Successo"},updated_message:"Info azienda aggiornate con successo",invoices:{title:"Fatture",notes:"Note",invoice_prefix:"Prefisso Fattura",default_invoice_email_body:"Default Invoice Email Body",invoice_settings:"Impostazioni fattura",autogenerate_invoice_number:"Auto genera numero di fattura",autogenerate_invoice_number_desc:"Disabilita, se non vuoi auto-generare i numeri delle fatture ogni volta che crei una nuova fattura.",enter_invoice_prefix:"Inserisci prefisso fattura",terms_and_conditions:"Termini e Condizioni",company_address_format:"Company Address Format",shipping_address_format:"Shipping Address Format",billing_address_format:"Billing Address Format",invoice_settings_updated:"Impostazioni fatture aggiornate con successo"},estimates:{title:"Preventivi",estimate_prefix:"Prefisso Preventivi",default_estimate_email_body:"Default Estimate Email Body",estimate_settings:"Impostazioni Preventivi",autogenerate_estimate_number:"Auto-genera Numero di preventivo",estimate_setting_description:"Disabilita, se non vuoi autogenerare il numero di preventivo ogni volta che ne viene creato uno nuovo.",enter_estimate_prefix:"Inserisci prefisso preventivo",estimate_setting_updated:"Impostazioni preventivi aggiornate con successo",company_address_format:"Company Address Format",billing_address_format:"Billing Address Format",shipping_address_format:"Shipping Address Format"},payments:{title:"Pagamenti",description:"Modes of transaction for payments",payment_prefix:"Prefisso Pagamento",default_payment_email_body:"Default Payment Email Body",payment_settings:"Impostazioni Pagamento",autogenerate_payment_number:"Auto genera il numero di Pagamento",payment_setting_description:"Disabilita, se non vuoi autogenerare il numero di pagamento ogni volta che ne viene creato uno nuovo.",enter_payment_prefix:"Inserisci prefisso di pagamento",payment_setting_updated:"Impostazioni di pagamento aggiornate con successo",payment_modes:"Payment Modes",add_payment_mode:"Aggiungi modalit\xE0 di pagamento",edit_payment_mode:"Modifica modalit\xE0 di pagamento",mode_name:"Nome modalit\xE0",payment_mode_added:"Modalit\xE0 di pagamento aggiunta",payment_mode_updated:"Modalit\xE0 di pagamento aggiornata",payment_mode_confirm_delete:"Non potrai ripristinare la modalit\xE0 di pagamento",already_in_use:"Modalit\xE0 di pagamento gi\xE0 in uso",deleted_message:"Payment Mode deleted successfully",company_address_format:"Company Address Format",from_customer_address_format:"From Customer Address Format"},items:{title:"Commesse",units:"unit\xE0",add_item_unit:"Aggiungi Unit\xE0 Item",edit_item_unit:"Modifica unit\xE0 articolo",unit_name:"Nome",item_unit_added:"Unit\xE0 aggiunta",item_unit_updated:"Unit\xE0 aggiornata",item_unit_confirm_delete:"Non potrai ripristinare questa unit\xE0 Item",already_in_use:"Unit\xE0 Item gi\xE0 in uso",deleted_message:"Unit\xE0 item eliminata con successo"},notes:{title:"Note",description:"Save time by creating notes and reusing them on your invoices, estimates & payments.",notes:"Note",type:"genere",add_note:"Add Note",add_new_note:"Add New Note",name:"Nome",edit_note:"Edit Note",note_added:"Note added successfully",note_updated:"Note Updated successfully",note_confirm_delete:"You will not be able to recover this Note",already_in_use:"Note is already in use",deleted_message:"Note deleted successfully"}},account_settings:{profile_picture:"Immagine profilo",name:"Nome",email:"Email",password:"Password",confirm_password:"Conferma Password",account_settings:"Impostazioni Account",save:"Salva",section_description:"Puoi aggiornare nome email e password utilizzando il form qui sotto.",updated_message:"Impostazioni account aggiornate con successo"},user_profile:{name:"Nome",email:"Email",password:"Password",confirm_password:"Conferma Password"},notification:{title:"Notifica",email:"Invia notifiche a",description:"Quali notifiche email vorresti ricevere quando qualcosa cambia?",invoice_viewed:"Fattura visualizzata",invoice_viewed_desc:"Quando il cliente visualizza la fattura inviata via dashboard applicazione.",estimate_viewed:"Preventivo visualizzato",estimate_viewed_desc:"Quando il cliente visualizza il preventivo inviato dall'applicazione.",save:"Salva",email_save_message:"Email salvata con successo",please_enter_email:"Inserisci Email"},tax_types:{title:"Tipi di Imposta",add_tax:"Aggiungi Imposta",edit_tax:"Modifica imposta",description:"Puoi aggiongere e rimuovere imposte a piacimento. Vengono supportate Tasse differenti per prodotti/servizi specifici esattamento come per le fatture.",add_new_tax:"Aggiungi nuova imposta",tax_settings:"Impostazioni Imposte",tax_per_item:"Tassa per prodotto/servizio",tax_name:"Nome imposta",compound_tax:"Imposta composta",percent:"Percento",action:"Azione",tax_setting_description:"Abilita se vuoi aggiungere imposte specifiche per prodotti o servizi. Di default le imposte sono aggiunte direttamente alla fattura.",created_message:"Tipo di imposta creato con successo",updated_message:"Tipo di imposta aggiornato con successo",deleted_message:"Tipo di imposta eliminato con successo",confirm_delete:"Non potrai ripristinare questo tipo di imposta",already_in_use:"Imposta gi\xE0 in uso"},expense_category:{title:"Categorie di spesa",action:"Azione",description:"Le categorie sono necessarie per aggiungere delle voci di spesa. Puoi aggiungere o eliminare queste categorie in base alle tue preferenze.",add_new_category:"Aggiungi nuova categoria",add_category:"Aggiungi categoria",edit_category:"Modifica categoria",category_name:"Nome Categoria",category_description:"Descrizione",created_message:"Categoria di spesa creata con successo",deleted_message:"Categoria di spesa eliminata con successo",updated_message:"Categoria di spesa aggiornata con successo",confirm_delete:"Non potrai ripristinare questa categoria di spesa",already_in_use:"Categoria gi\xE0 in uso"},preferences:{currency:"Val\xF9ta",default_language:"Default Language",time_zone:"Time Zone",fiscal_year:"Anno finanziario",date_format:"Formato Data",discount_setting:"Impostazione Sconto",discount_per_item:"Sconto Per Item ",discount_setting_description:"Abilita se vuoi aggiungere uno sconto ad uno specifica fattura. Di default, lo sconto \xE8 aggiunto direttamente in fattura.",save:"Salva",preference:"Preferenza | Preferenze",general_settings:"Impostazioni di default del sistema.",updated_message:"Preferenze aggiornate con successo",select_language:"seleziona lingua",select_time_zone:"Seleziona Time Zone",select_date_format:"Select Date Format",select_financial_year:"Seleziona anno finanziario"},update_app:{title:"Aggiorna App",description:"Puoi facilmente aggiornare l'app. Aggiorna cliccando sul bottone qui sotto",check_update:"Controllo aggiornamenti",avail_update:"Aggiornamento disponibile",next_version:"Versione successiva",requirements:"Requirements",update:"Aggiorna ora",update_progress:"Aggiornamento in corso...",progress_text:"Sar\xE0 necessario qualche minuto. Per favore non aggiornare la pagina e non chiudere la finestra prima che l'aggiornamento sia completato",update_success:"L'App \xE8 aggiornata! Attendi che la pagina venga ricaricata automaticamente.",latest_message:"Nessun aggiornamneto disponibile! Sei gi\xE0 alla versione pi\xF9 recente.",current_version:"Versione corrente",download_zip_file:"Scarica il file ZIP",unzipping_package:"Pacchetto di decompressione",copying_files:"Copia dei file",running_migrations:"Esecuzione delle migrazioni",finishing_update:"Aggiornamento di finitura",update_failed:"Aggiornamento non riuscito",update_failed_text:"Scusate! L'aggiornamento non \xE8 riuscito il: passaggio {step}"},backup:{title:"Backup | Backups",description:"The backup is a zipfile that contains all files in the directories you specify along with a dump of your database",new_backup:"Add New Backup",create_backup:"Create Backup",select_backup_type:"Select Backup Type",backup_confirm_delete:"You will not be able to recover this Backup",path:"path",new_disk:"New Disk",created_at:"created at",size:"size",dropbox:"dropbox",local:"local",healthy:"healthy",amount_of_backups:"amount of backups",newest_backups:"newest backups",used_storage:"used storage",select_disk:"Select Disk",action:"Azione",deleted_message:"Backup deleted successfully",created_message:"Backup created successfully",invalid_disk_credentials:"Invalid credential of selected disk"},disk:{title:"File Disk | File Disks",description:"By default, Crater will use your local disk for saving backups, avatar and other image files. You can configure more than one disk drivers like DigitalOcean, S3 and Dropbox according to your preference.",created_at:"created at",dropbox:"dropbox",name:"Nome",driver:"Driver",disk_type:"genere",disk_name:"Disk Name",new_disk:"Add New Disk",filesystem_driver:"Filesystem Driver",local_driver:"local Driver",local_root:"local Root",public_driver:"Public Driver",public_root:"Public Root",public_url:"Public URL",public_visibility:"Public Visibility",media_driver:"Media Driver",media_root:"Media Root",aws_driver:"AWS Driver",aws_key:"AWS Key",aws_secret:"AWS Secret",aws_region:"AWS Region",aws_bucket:"AWS Bucket",aws_root:"AWS Root",do_spaces_type:"Do Spaces type",do_spaces_key:"Do Spaces key",do_spaces_secret:"Do Spaces Secret",do_spaces_region:"Do Spaces Region",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces Endpoint",do_spaces_root:"Do Spaces Root",dropbox_type:"Dropbox Type",dropbox_token:"Dropbox Token",dropbox_key:"Dropbox Key",dropbox_secret:"Dropbox Secret",dropbox_app:"Dropbox App",dropbox_root:"Dropbox Root",default_driver:"Default Driver",is_default:"IS DEFAULT",set_default_disk:"Set Default Disk",success_set_default_disk:"Disk set as default successfully",save_pdf_to_disk:"Save PDFs to Disk",disk_setting_description:" Enable this, if you wish to save a copy of each Invoice, Estimate & Payment Receipt PDF on your default disk automatically. Turning this option will decrease the load-time when viewing the PDFs.",select_disk:"Select Disk",disk_settings:"Disk Settings",confirm_delete:"Your existing files & folders in the specified disk will not be affected but your disk configuration will be deleted from Crater",action:"Azione",edit_file_disk:"Edit File Disk",success_create:"Disk added successfully",success_update:"Disk updated successfully",error:"Disk addition failed",deleted_message:"File Disk deleted successfully",disk_variables_save_successfully:"Disk Configured Successfully",disk_variables_save_error:"Disk configuration failed.",invalid_disk_credentials:"Invalid credential of selected disk"}},d_={account_info:"Informazioni Account",account_info_desc:"I dettagli qui sotto verranno usati per creare l'account principale dell'Amministratore. Puoi modificarli in qualsiasi momento dopo esserti loggato come Amministratore.",name:"Nome",email:"Email",password:"Password",confirm_password:"Conferma Password",save_cont:"Salva & Continua",company_info:"Informazioni Azienda",company_info_desc:"Questa informazione verr\xE0 mostrata nelle fatture. Puoi modificare queste informazione in un momento successivo dalla pagina delle impostazioni.",company_name:"Nome Azienda",company_logo:"Logo Azienda",logo_preview:"Anteprima Logo",preferences:"Impostazioni",preferences_desc:"Impostazioni di default del sistema.",country:"Paese",state:"Stato",city:"Citt\xE0",address:"Indirizzo",street:"Indirizzo1 | Indirizzo2",phone:"Telefono",zip_code:"CAP/Zip Code",go_back:"Torna indietro",currency:"Val\xF9ta",language:"Lingua",time_zone:"Time Zone",fiscal_year:"Anno Finanziario",date_format:"Formato Date",from_address:"Indirizzo - Da",username:"Username",next:"Successivo",continue:"Continua",skip:"Salta",database:{database:"URL del sito & database",connection:"Connessione Database",host:"Database Host",port:"Database - Porta",password:"Database Password",app_url:"App URL",app_domain:"App Domain",username:"Database Username",db_name:"Database Nome",db_path:"Database Path",desc:"Crea un database sul tuo server e setta le credenziali usando il form qui sotto."},permissions:{permissions:"Permessi",permission_confirm_title:"Sei sicuro di voler continuare?",permission_confirm_desc:"Controllo sui permessi Cartelle, fallito",permission_desc:"Qui sotto la lista dei permessi richiesti per far funzionare correttamente l'App. Se il controllo dei permessi fallisce, assicurati di aggiornare/modificare i permessi sulle cartelle."},mail:{host:"Mail Host",port:"Mail - Porta",driver:"Mail Driver",secret:"Secret",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domain",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"Mail Password",username:"Mail Username",mail_config:"Configurazione Mail",from_name:"Nome mittente mail",from_mail:"Indirizzo mittente mail",encryption:"Tipo di cifratura Mail",mail_config_desc:"Form per configurazione del 'driver mail' per inviare emails dall'App. Puoi anche configurare servizi di terze parti come Sendgrid, SES, ecc.."},req:{system_req:"Requisiti di Sistema",php_req_version:"Php (versione {version} richiesta)",check_req:"Controllo Requisiti",system_req_desc:"Crater ha alcuni requisiti di sistema. Assicurati che il server ha la versione di php richiesta e tutte le estensioni necessarie."},errors:{migrate_failed:"Migrate Failed",database_variables_save_error:"Cannot write configuration to .env file. Please check its file permissions",mail_variables_save_error:"Email configuration failed.",connection_failed:"Database connection failed",database_should_be_empty:"Database should be empty"},success:{mail_variables_save_successfully:"Email configurata con successo",database_variables_save_successfully:"Database configurato con successo."}},l_={invalid_phone:"Numero di telefono invalido",invalid_url:"URL non valido (es: http://www.craterapp.com)",invalid_domain_url:"URL non valido (es: craterapp.com)",required:"Campo obbligatorio",email_incorrect:"Email non corretta.",email_already_taken:"Email gi\xE0 in uso.",email_does_not_exist:"L'utente con questa email non esiste",item_unit_already_taken:"Questo nome item \xE8 gi\xE0 utilizzato",payment_mode_already_taken:"Questa modalit\xE0 di pagamento \xE8 gi\xE0 stata inserita.",send_reset_link:"Invia Link di Reset",not_yet:"Non ancora? Invia di nuovo",password_min_length:"La password deve contenere {count} caratteri",name_min_length:"Il nome deve avere almeno {count} lettere.",enter_valid_tax_rate:"Inserisci un tasso di imposta valido",numbers_only:"Solo numeri.",characters_only:"Solo caratteri.",password_incorrect:"La Password deve essere identica",password_length:"La password deve essere lunga {count} caratteri.",qty_must_greater_than_zero:"La quantit\xE0 deve essere maggiore di zero.",price_greater_than_zero:"Il prezzo deve essere maggiore di zero.",payment_greater_than_zero:"Il pagamento deve essere maggiore di zero.",payment_greater_than_due_amount:"Il pagamento inserito \xE8 maggiore di quello indicato in fattura.",quantity_maxlength:"La Quantit\xE0 non pu\xF2 essere maggiore di 20 cifre.",price_maxlength:"Il prezzo non pu\xF2 contenere pi\xF9 di 20 cifre.",price_minvalue:"Il prezzo deve essere maggiore di 0.",amount_maxlength:"La somma non deve contenere pi\xF9 di 20 cifre.",amount_minvalue:"La somma deve essere maggiore di 0.",description_maxlength:"La Descrizione non deve superare i 255 caratteri.",subject_maxlength:"L'Oggetto non deve superare i 100 caratter.",message_maxlength:"Il messaggio non pu\xF2 superare i 255 caratteri.",maximum_options_error:"Massimo di {max} opzioni selezionate. Per selezionare un'altra opzione deseleziona prima una opzione.",notes_maxlength:"Le note non possono superare i 255 caratteri.",address_maxlength:"L'Indirizzo non pu\xF2 eccedere i 255 caratteri.",ref_number_maxlength:"Il Numero di Riferimento non pu\xF2 superare i 255 caratteri.",prefix_maxlength:"Il Prefisso non pu\xF2 superare i 5 caratteri.",something_went_wrong:"Si \xE8 verificato un errore"},c_="Preventivo",__="Preventivo Numero",u_="Data preventivo",m_="Expiry date",p_="Fattura",g_="Numero Fattura",f_="Data fattura",h_="Due date",v_="Note",y_="Commesse",b_="Quantit\xE0",k_="Prezzo",w_="Sconto",x_="Ammontare",z_="Subtotal",S_="Totale",P_="Payment",j_="PAYMENT RECEIPT",D_="Payment Date",C_="Numero di pagamento",A_="Modalit\xE0 di Pagamento",N_="Amount Received",E_="EXPENSES REPORT",T_="TOTAL EXPENSE",I_="PROFIT & LOSS REPORT",$_="Sales Customer Report",R_="Sales Item Report",F_="Tax Summary Report",M_="INCOME",B_="NET PROFIT",V_="Sales Report: By Customer",O_="TOTAL SALES",L_="Sales Report: By Item",U_="TAX REPORT",K_="TOTAL TAX",q_="Tipi di Imposta",W_="Uscite",Z_="Fattura a,",H_="Invia a,",G_="Received from:",Y_="imposta";var J_={navigation:Zc,general:Hc,dashboard:Gc,tax_types:Yc,global_search:Jc,customers:Xc,items:Qc,estimates:e_,invoices:t_,payments:a_,expenses:s_,login:n_,users:i_,reports:o_,settings:r_,wizard:d_,validation:l_,pdf_estimate_label:c_,pdf_estimate_number:__,pdf_estimate_date:u_,pdf_estimate_expire_date:m_,pdf_invoice_label:p_,pdf_invoice_number:g_,pdf_invoice_date:f_,pdf_invoice_due_date:h_,pdf_notes:v_,pdf_items_label:y_,pdf_quantity_label:b_,pdf_price_label:k_,pdf_discount_label:w_,pdf_amount_label:x_,pdf_subtotal:z_,pdf_total:S_,pdf_payment_label:P_,pdf_payment_receipt_label:j_,pdf_payment_date:D_,pdf_payment_number:C_,pdf_payment_mode:A_,pdf_payment_amount_received_label:N_,pdf_expense_report_label:E_,pdf_total_expenses_label:T_,pdf_profit_loss_label:I_,pdf_sales_customers_label:$_,pdf_sales_items_label:R_,pdf_tax_summery_label:F_,pdf_income_label:M_,pdf_net_profit_label:B_,pdf_customer_sales_report:V_,pdf_total_sales_label:O_,pdf_item_sales_label:L_,pdf_tax_report_label:U_,pdf_total_tax_label:K_,pdf_tax_types_label:q_,pdf_expenses_label:W_,pdf_bill_to:Z_,pdf_ship_to:H_,pdf_received_from:G_,pdf_tax_label:Y_};const X_={dashboard:"Komandna tabla",customers:"Klijenti",items:"Stavke",invoices:"Fakture",expenses:"Rashodi",estimates:"Profakture",payments:"Uplate",reports:"Izve\u0161taji",settings:"Pode\u0161avanja",logout:"Odjavi se",users:"Korisnici"},Q_={add_company:"Dodaj kompaniju",view_pdf:"Pogledaj PDF",copy_pdf_url:"Kopiraj PDF link",download_pdf:"Preuzmi PDF",save:"Sa\u010Duvaj",create:"Napravi",cancel:"Otka\u017Ei",update:"A\u017Euriraj",deselect:"Poni\u0161ti izbor",download:"Preuzmi",from_date:"Od Datuma",to_date:"Do Datuma",from:"Po\u0161iljalac",to:"Primalac",sort_by:"Rasporedi Po",ascending:"Rastu\u0107e",descending:"Opadaju\u0107e",subject:"Predmet",body:"Telo",message:"Poruka",send:"Po\u0161alji",go_back:"Idi nazad",back_to_login:"Nazad na prijavu?",home:"Po\u010Detna",filter:"Filter",delete:"Obri\u0161i",edit:"Izmeni",view:"Pogledaj",add_new_item:"Dodaj novu stavku",clear_all:"Izbri\u0161i sve",showing:"Prikazivanje",of:"od",actions:"Akcije",subtotal:"UKUPNO",discount:"POPUST",fixed:"Fiksno",percentage:"Procenat",tax:"POREZ",total_amount:"UKUPAN IZNOS",bill_to:"Ra\u010Dun za",ship_to:"Isporu\u010Diti za",due:"Du\u017Ean",draft:"U izradi",sent:"Poslato",all:"Sve",select_all:"Izaberi sve",choose_file:"Klikni ovde da izabere\u0161 fajl",choose_template:"Izaberi \u0161ablon",choose:"Izaberi",remove:"Ukloni",powered_by:"Pokre\u0107e",bytefury:"Bytefury",select_a_status:"Izaberi status",select_a_tax:"Izaberi porez",search:"Pretraga",are_you_sure:"Da li ste sigurni?",list_is_empty:"Lista je prazna.",no_tax_found:"Porez nije prona\u0111en!",four_zero_four:"404",you_got_lost:"Ups! Izgubio si se!",go_home:"Idi na po\u010Detnu stranicu",test_mail_conf:"Testiraj pode\u0161avanje Po\u0161te",send_mail_successfully:"Po\u0161ta uspe\u0161no poslata",setting_updated:"Pode\u0161avanje uspe\u0161no a\u017Eurirano",select_state:"Odaberi saveznu dr\u017Eavu",select_country:"Odaberi dr\u017Eavu",select_city:"Odaberi grad",street_1:"Adresa 1",street_2:"Adresa 2",action_failed:"Akcija nije uspela",retry:"Poku\u0161aj ponovo",choose_note:"Odaberi napomenu",no_note_found:"Ne postoje sa\u010Duvane napomene",insert_note:"Unesi bele\u0161ku",copied_pdf_url_clipboard:"Link do PDF fajla kopiran!"},eu={select_year:"Odaberi godinu",cards:{due_amount:"Du\u017Ean iznos",customers:"Klijenti",invoices:"Fakture",estimates:"Profakture"},chart_info:{total_sales:"Prodaja",total_receipts:"Ra\u010Duni",total_expense:"Rashodi",net_income:"Prihod NETO",year:"Odaberi godinu"},monthly_chart:{title:"Prodaja & Rashodi"},recent_invoices_card:{title:"Dospele fakture",due_on:"Datum dospevanja",customer:"Klijent",amount_due:"Iznos dospe\u0107a",actions:"Akcije",view_all:"Pogledaj sve"},recent_estimate_card:{title:"Nedavne profakture",date:"Datum",customer:"Klijent",amount_due:"Iznos dospe\u0107a",actions:"Akcije",view_all:"Pogledaj sve"}},tu={name:"Naziv",description:"Opis",percent:"Procenat",compound_tax:"Slo\u017Eeni porez"},au={search:"Pretraga...",customers:"Klijenti",users:"Korisnici",no_results_found:"Nema rezultata"},su={title:"Klijenti",add_customer:"Dodaj Klijenta",contacts_list:"Lista klijenata",name:"Naziv",mail:"Mail | Mail-ovi",statement:"Izjava",display_name:"Naziv koji se prikazuje",primary_contact_name:"Primarna kontakt osoba",contact_name:"Naziv kontakt osobe",amount_due:"Iznos dospe\u0107a",email:"Email",address:"Adresa",phone:"Telefon",website:"Veb stranica",overview:"Pregled",enable_portal:"Uklju\u010Di portal",country:"Dr\u017Eava",state:"Savezna dr\u017Eava",city:"Grad",zip_code:"Po\u0161tanski broj",added_on:"Datum dodavanja",action:"Akcija",password:"\u0160ifra",street_number:"Broj ulice",primary_currency:"Primarna valuta",description:"Opis",add_new_customer:"Dodaj novog klijenta",save_customer:"Sa\u010Duvaj klijenta",update_customer:"A\u017Euriraj klijenta",customer:"Klijent | Klijenti",new_customer:"Nov klijent",edit_customer:"Izmeni klijenta",basic_info:"Osnovne informacije",billing_address:"Adresa za naplatu",shipping_address:"Adresa za dostavu",copy_billing_address:"Kopiraj iz adrese za naplatu",no_customers:"Jo\u0161 uvek nema klijenata!",no_customers_found:"Klijenti nisu prona\u0111eni!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"Ova sekcija \u0107e da sadr\u017Ei spisak klijenata.",primary_display_name:"Primarni naziv koji se prikazuje",select_currency:"Odaberi valutu",select_a_customer:"Odaberi klijenta",type_or_click:"Unesi tekst ili klikni da izabere\u0161",new_transaction:"Nova transakcija",no_matching_customers:"Ne postoje klijenti koji odgovaraju pretrazi!",phone_number:"Broj telefona",create_date:"Datum kreiranja",confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovog klijenta i sve njegove Fakture, Profakture i Uplate. | Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ove klijente i njihove Fakture, Profakture i Uplate.",created_message:"Klijent uspe\u0161no kreiran",updated_message:"Klijent uspe\u0161no a\u017Euriran",deleted_message:"Klijent uspe\u0161no obrisan | Klijenti uspe\u0161no obrisani"},nu={title:"Stavke",items_list:"Lista stavki",name:"Naziv",unit:"Jedinica",description:"Opis",added_on:"Datum dodavanja",price:"Cena",date_of_creation:"Datum kreiranja",not_selected:"No item selected",action:"Akcije",add_item:"Dodaj Stavku",save_item:"Sa\u010Duvaj Stavku",update_item:"A\u017Euriraj Stavku",item:"Stavka | Stavke",add_new_item:"Dodaj novu stavku",new_item:"Nova stavka",edit_item:"Izmeni stavku",no_items:"Jo\u0161 uvek nema stavki!",list_of_items:"Ova sekcija \u0107e da sadr\u017Ei spisak stavki.",select_a_unit:"odaberi jedinicu",taxes:"Porezi",item_attached_message:"Nije dozvoljeno brisanje stavke koje se koristi",confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovu Stavku | Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ove Stavke",created_message:"Stavka uspe\u0161no kreirana",updated_message:"Stavka uspe\u0161no a\u017Eurirana",deleted_message:"Stavka uspe\u0161no obrisana | Stavke uspe\u0161no obrisane"},iu={title:"Profakture",estimate:"Profaktura | Profakture",estimates_list:"Lista profaktura",days:"{days} Dan",months:"{months} Mesec",years:"{years} Godina",all:"Sve",paid:"Pla\u0107eno",unpaid:"Nepla\u0107eno",customer:"KLIJENT",ref_no:"POZIV NA BROJ",number:"BROJ",amount_due:"IZNOS DOSPE\u0106A",partially_paid:"Delimi\u010Dno Pla\u0107eno",total:"Ukupno za pla\u0107anje",discount:"Popust",sub_total:"Osnovica za obra\u010Dun PDV-a",estimate_number:"Broj profakture",ref_number:"Poziv na broj",contact:"Kontakt",add_item:"Dodaj stavku",date:"Datum",due_date:"Datum Dospe\u0107a",expiry_date:"Datum Isteka",status:"Status",add_tax:"Dodaj Porez",amount:"Iznos",action:"Akcija",notes:"Napomena",tax:"Porez",estimate_template:"\u0160ablon",convert_to_invoice:"Pretvori u Fakturu",mark_as_sent:"Ozna\u010Di kao Poslato",send_estimate:"Po\u0161alji Profakturu",resend_estimate:"Ponovo po\u0161alji Profakturu",record_payment:"Unesi uplatu",add_estimate:"Dodaj Profakturu",save_estimate:"Sa\u010Duvaj Profakturu",confirm_conversion:"Detalji ove Profakture \u0107e biti iskori\u0161\u0107eni za pravljenje Fakture.",conversion_message:"Faktura uspe\u0161no kreirana",confirm_send_estimate:"Ova Profaktura \u0107e biti poslata putem Email-a klijentu",confirm_mark_as_sent:"Ova Profaktura \u0107e biti ozna\u010Dena kao Poslata",confirm_mark_as_accepted:"Ova Profaktura \u0107e biti ozna\u010Dena kao Prihva\u0107ena",confirm_mark_as_rejected:"Ova Profaktura \u0107e biti ozna\u010Dena kao Odbijena",no_matching_estimates:"Ne postoji odgovaraju\u0107a profaktura!",mark_as_sent_successfully:"Profaktura uspe\u0161no ozna\u010Dena kao Poslata",send_estimate_successfully:"Profaktura uspe\u0161no poslata",errors:{required:"Polje je obavezno"},accepted:"Prihva\u0107eno",rejected:"Rejected",sent:"Poslato",draft:"U izradi",declined:"Odbijeno",new_estimate:"Nova Profaktura",add_new_estimate:"Dodaj novu Profakturu",update_Estimate:"A\u017Euriraj Profakturu",edit_estimate:"Izmeni Profakturu",items:"stavke",Estimate:"Profaktura | Profakture",add_new_tax:"Dodaj nov Porez",no_estimates:"Jo\u0161 uvek nema Profaktura!",list_of_estimates:"Ova sekcija \u0107e da sadr\u017Ei spisak Profaktura.",mark_as_rejected:"Ozna\u010Di kao odbijeno",mark_as_accepted:"Ozna\u010Di kao prihva\u0107eno",marked_as_accepted_message:"Profaktura ozna\u010Dena kao prihva\u0107ena",marked_as_rejected_message:"Profaktura ozna\u010Dena kao odbijena",confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovu Profakturu | Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ove Profakture",created_message:"Profaktura uspe\u0161no kreirana",updated_message:"Profaktura uspe\u0161no a\u017Eurirana",deleted_message:"Profaktura uspe\u0161no obrisana | Profakture uspe\u0161no obrisane",something_went_wrong:"ne\u0161to je krenulo naopako",item:{title:"Naziv stavke",description:"Opis",quantity:"Koli\u010Dina",price:"Cena",discount:"Popust",total:"Ukupno za pla\u0107anje",total_discount:"Ukupan popust",sub_total:"Ukupno",tax:"Porez",amount:"Iznos",select_an_item:"Unesi tekst ili klikni da izabere\u0161",type_item_description:"Unesi opis Stavke (nije obavezno)"}},ou={title:"Fakture",invoices_list:"List Faktura",days:"{days} dan",months:"{months} Mesec",years:"{years} Godina",all:"Sve",paid:"Pla\u0107eno",unpaid:"Nepla\u0107eno",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"KLIJENT",paid_status:"STATUS UPLATE",ref_no:"POZIV NA BROJ",number:"BROJ",amount_due:"IZNOS DOSPE\u0106A",partially_paid:"Delimi\u010Dno pla\u0107eno",total:"Ukupno za pla\u0107anje",discount:"Popust",sub_total:"Osnovica za obra\u010Dun PDV-a",invoice:"Faktura | Fakture",invoice_number:"Broj Fakture",ref_number:"Poziv na broj",contact:"Kontakt",add_item:"Dodaj Stavku",date:"Datum",due_date:"Datum Dospe\u0107a",status:"Status",add_tax:"Dodaj Porez",amount:"Iznos",action:"Akcija",notes:"Napomena",view:"Pogledaj",send_invoice:"Po\u0161alji Fakturu",resend_invoice:"Ponovo po\u0161alji Fakturu",invoice_template:"\u0160ablon Fakture",template:"\u0160ablon",mark_as_sent:"Ozna\u010Di kao Poslato",confirm_send_invoice:"Ova Faktura \u0107e biti poslata putem Email-a klijentu",invoice_mark_as_sent:"Ova Faktura \u0107e biti ozna\u010Dena kao poslata",confirm_send:"Ova Faktura \u0107e biti poslata putem Email-a klijentu",invoice_date:"Datum Fakture",record_payment:"Unesi Uplatu",add_new_invoice:"Dodaj novu Fakturu",update_expense:"A\u017Euriraj Rashod",edit_invoice:"Izmeni Fakturu",new_invoice:"Nova Faktura",save_invoice:"Sa\u010Duvaj Fakturu",update_invoice:"A\u017Euriraj Fakturu",add_new_tax:"Dodaj nov Porez",no_invoices:"Jo\u0161 uvek nema Faktura!",list_of_invoices:"Ova sekcija \u0107e da sadr\u017Ei spisak Faktura.",select_invoice:"Odaberi Fakturu",no_matching_invoices:"Ne postoje Fakture koje odgovaraju pretrazi!",mark_as_sent_successfully:"Faktura uspe\u0161no ozna\u010Dena kao Poslata",invoice_sent_successfully:"Faktura uspe\u0161no poslata",cloned_successfully:"Uspe\u0161no napravljen duplikat Fakture",clone_invoice:"Napravi duplikat",confirm_clone:"Ova Faktura \u0107e biti duplikat nove Fakture",item:{title:"Naziv Stavke",description:"Opis",quantity:"Koli\u010Dina",price:"Cena",discount:"Popust",total:"Ukupno za pla\u0107anje",total_discount:"Ukupan popust",sub_total:"Ukupno",tax:"Porez",amount:"Iznos",select_an_item:"Unesi tekst ili klikni da izabere\u0161",type_item_description:"Unesi opis Stavke (nije obavezno)"},confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovu Fakturu | Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ove Fakture",created_message:"Faktura uspe\u0161no kreirana",updated_message:"Faktura uspe\u0161no a\u017Eurirana",deleted_message:"Faktura uspe\u0161no obrisana | Fakture uspe\u0161no obrisane",marked_as_sent_message:"Faktura ozna\u010Dena kao uspe\u0161no poslata",something_went_wrong:"ne\u0161to je krenulo naopako",invalid_due_amount_message:"Ukupan iznos za pla\u0107anje u fakturi ne mo\u017Ee biti manji od iznosa uplate za ovu fakturu. Molim Vas a\u017Eurirajte fakturu ili obri\u0161ite uplate koje su povezane sa ovom fakturom da bi nastavili."},ru={title:"Uplate",payments_list:"Lista uplata",record_payment:"Unesi Uplatu",customer:"Klijent",date:"Datum",amount:"Iznos",action:"Akcija",payment_number:"Broj uplate",payment_mode:"Na\u010Din pla\u0107anja",invoice:"Faktura",note:"Napomena",add_payment:"Dodaj Uplatu",new_payment:"Nova Uplata",edit_payment:"Izmeni Uplatu",view_payment:"Vidi Uplatu",add_new_payment:"Dodaj Novu Uplatu",send_payment_receipt:"Po\u0161alji potvrdu o uplati",send_payment:"Po\u0161alji Uplatu",save_payment:"Sa\u010Duvaj Uplatu",update_payment:"A\u017Euriraj Uplatu",payment:"Uplata | Uplate",no_payments:"Jo\u0161 uvek nema uplata!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"Ne postoje uplate koje odgovaraju pretrazi!",list_of_payments:"Ova sekcija \u0107e da sadr\u017Ei listu uplata.",select_payment_mode:"Odaberi na\u010Din pla\u0107anja",confirm_mark_as_sent:"Ovo pla\u0107anje \u0107e biti ozna\u010Dena kao Poslata",confirm_send_payment:"Ovo pla\u0107anje \u0107e biti poslato putem Email-a klijentu",send_payment_successfully:"Pla\u0107anje uspe\u0161no poslato",something_went_wrong:"ne\u0161to je krenulo naopako",confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovu Uplatu | Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ove Uplate",created_message:"Uplata uspe\u0161no kreirana",updated_message:"Uplata uspe\u0161no a\u017Eurirana",deleted_message:"Uplata uspe\u0161no obrisana | Uplate uspe\u0161no obrisane",invalid_amount_message:"Iznos Uplate je pogre\u0161an"},du={title:"Rashodi",expenses_list:"Lista Rashoda",select_a_customer:"Odaberi klijenta",expense_title:"Naslov",customer:"Klijent",contact:"Kontakt",category:"Kategorija",from_date:"Datum od",to_date:"Datum do",expense_date:"Datum",description:"Opis",receipt:"Ra\u010Dun",amount:"Iznos",action:"Akcija",not_selected:"Not selected",note:"Napomena",category_id:"ID kategorije",date:"Datum",add_expense:"Dodaj Rashod",add_new_expense:"Dodaj Novi Rashod",save_expense:"Sa\u010Duvaj Rashod",update_expense:"A\u017Euriraj Rashod",download_receipt:"Preuzmi Ra\u010Dun",edit_expense:"Izmeni Rashod",new_expense:"Novi Rashod",expense:"Rashod | Rashodi",no_expenses:"Jo\u0161 uvek nema rashoda!",list_of_expenses:"Ova sekcija \u0107e da sadr\u017Ei listu rashoda.",confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovaj Rashod | Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ove Rashode",created_message:"Rashod uspe\u0161no kreiran",updated_message:"Rashod uspe\u0161no a\u017Euriran",deleted_message:"Rashod uspe\u0161no obrisan | Rashodi uspe\u0161no obrisani",categories:{categories_list:"Lista Kategorija",title:"Naslov",name:"Naziv",description:"Opis",amount:"Iznos",actions:"Akcije",add_category:"Dodaj Kategoriju",new_category:"Nova Kategorija",category:"Kategorija | Kategorije",select_a_category:"Izaberi kategoriju"}},lu={email:"Email",password:"\u0160ifra",forgot_password:"Zaboravili ste \u0161ifru?",or_signIn_with:"ili se prijavite sa",login:"Prijava",register:"Registracija",reset_password:"Restujte \u0161ifru",password_reset_successfully:"\u0160ifra Uspe\u0161no Resetovana",enter_email:"Unesi email",enter_password:"Unesi \u0161ifru",retype_password:"Ponovo unesi \u0161ifru"},cu={title:"Korisnici",users_list:"Lista korisnika",name:"Ime i prezime",description:"Opis",added_on:"Datum dodavanja",date_of_creation:"Datum kreiranja",action:"Akcija",add_user:"Dodaj Korisnika",save_user:"Sa\u010Duvaj Korisnika",update_user:"A\u017Euriraj Korisnika",user:"Korisnik | Korisnici",add_new_user:"Dodaj novog korisnika",new_user:"Nov Korisnik",edit_user:"Izmeni Korisnika",no_users:"Jo\u0161 uvek nema korisnika!",list_of_users:"Ova sekcija \u0107e da sadr\u017Ei listu korisnika.",email:"Email",phone:"Broj telefona",password:"\u0160ifra",user_attached_message:"Ne mo\u017Eete obrisati stavku koja je ve\u0107 u upotrebi",confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovog Korisnika | Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ove Korisnike",created_message:"Korisnik uspe\u0161no napravljen",updated_message:"Korisnik uspe\u0161no a\u017Euriran",deleted_message:"Korisnik uspe\u0161no obrisan | Korisnici uspe\u0161no obrisani"},_u={title:"Izve\u0161taj",from_date:"Datum od",to_date:"Datum do",status:"Status",paid:"Pla\u0107eno",unpaid:"Nepla\u0107eno",download_pdf:"Preuzmi PDF",view_pdf:"Pogledaj PDF",update_report:"A\u017Euriraj Izve\u0161taj",report:"Izve\u0161taj | Izve\u0161taji",profit_loss:{profit_loss:"Prihod & Rashod",to_date:"Datum do",from_date:"Datum od",date_range:"Izaberi opseg datuma"},sales:{sales:"Prodaja",date_range:"Izaberi opseg datuma",to_date:"Datum do",from_date:"Datum od",report_type:"Tip Izve\u0161taja"},taxes:{taxes:"Porezi",to_date:"Datum do",from_date:"Datum od",date_range:"Izaberi opseg datuma"},errors:{required:"Polje je obavezno"},invoices:{invoice:"Faktura",invoice_date:"Datum Fakture",due_date:"Datum Dospe\u0107a",amount:"Iznos",contact_name:"Ime Kontakta",status:"Status"},estimates:{estimate:"Profaktura",estimate_date:"Datum Profakture",due_date:"Datum Dospe\u0107a",estimate_number:"Broj Profakture",ref_number:"Poziv na broj",amount:"Iznos",contact_name:"Ime Kontakta",status:"Status"},expenses:{expenses:"Rashodi",category:"Kategorija",date:"Datum",amount:"Iznos",to_date:"Datum do",from_date:"Datum od",date_range:"Izaberi opseg datuma"}},uu={menu_title:{account_settings:"Pode\u0161avanje Naloga",company_information:"Podaci o firmi",customization:"Prilago\u0111avanje",preferences:"Preferencija",notifications:"Obave\u0161tenja",tax_types:"Tipovi Poreza",expense_category:"Kategorije Rashoda",update_app:"A\u017Euriraj Aplikaciju",backup:"Bekap",file_disk:"File Disk",custom_fields:"Prilago\u0111ena polja",payment_modes:"Na\u010Din pla\u0107anja",notes:"Napomene"},title:"Pode\u0161avanja",setting:"Pode\u0161avanje | Pode\u0161avanja",general:"Op\u0161te",language:"Jezik",primary_currency:"Primarna Valuta",timezone:"Vremenska Zona",date_format:"Format Datuma",currencies:{title:"Valute",currency:"Valuta | Valute",currencies_list:"Lista Valuta",select_currency:"Odaberi Valutu",name:"Naziv",code:"Kod",symbol:"Simbol",precision:"Preciznost",thousand_separator:"Separator za hiljade",decimal_separator:"Separator za decimale",position:"Pozicija",position_of_symbol:"Pozicija simbola",right:"Desno",left:"Levo",action:"Akcija",add_currency:"Dodaj Valutu"},mail:{host:"Mail Host",port:"Mail Port",driver:"Mail Driver",secret:"\u0160ifra",mailgun_secret:"Mailgun \u0160ifra",mailgun_domain:"Domain",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES \u0160ifra",ses_key:"SES Klju\u010D",password:"Mail \u0160ifra",username:"Mail Korisni\u010Dko Ime",mail_config:"Mail Pode\u0161avanje",from_name:"Naziv po\u0161iljaoca",from_mail:"E-mail adresa po\u0161iljaoca",encryption:"E-mail enkripcija",mail_config_desc:"Ispod se nalazi forma za pode\u0161avanje E-mail drajvera za slanje po\u0161te iz aplikacije. Tako\u0111e mo\u017Eete podesiti provajdere tre\u0107e strane kao Sendgrid, SES itd."},pdf:{title:"PDF Pode\u0161avanje",footer_text:"Tekstualno zaglavlje na dnu strane",pdf_layout:"PDF Raspored"},company_info:{company_info:"Podaci o firmi",company_name:"Naziv firme",company_logo:"Logo firme",section_description:"Informacije o Va\u0161oj firmi \u0107e biti prikazane na fakturama, profakturama i drugim dokumentima koji se prave u ovoj aplikaciji.",phone:"Telefon",country:"Dr\u017Eava",state:"Savezna Dr\u017Eava",city:"Grad",address:"Adresa",zip:"Po\u0161tanski broj",save:"Sa\u010Duvaj",updated_message:"Podaci o firmi uspe\u0161no sa\u010Duvani"},custom_fields:{title:"Prilago\u0111ena polja",section_description:"Prilagodite va\u0161e Fakture, Profakture i Uplate (priznanice) sa svojim poljima. Postarajte se da koristite polja navedena ispod na formatu adrese na stranici Pode\u0161avanja/Prilago\u0111avanje.",add_custom_field:"Dodaj prilago\u0111eno polje",edit_custom_field:"Izmeni prilago\u0111eno polje",field_name:"Naziv polja",label:"Oznaka",type:"Tip",name:"Naziv",required:"Obavezno",placeholder:"Opis polja (Placeholder)",help_text:"Pomo\u0107ni tekst",default_value:"Podrazumevana vrednost",prefix:"Prefiks",starting_number:"Po\u010Detni broj",model:"Model",help_text_description:"Unesite opis koji \u0107e pomo\u0107i korisnicima da razumeju svrhu ovog prilago\u0111enog polja.",suffix:"Sufiks",yes:"Da",no:"Ne",order:"Redosled",custom_field_confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovo prilago\u0111eno polje",already_in_use:"Prilago\u0111eno polje je ve\u0107 u upotrebi",deleted_message:"Prilago\u0111eno polje je uspe\u0161no obrisano",options:"opcije",add_option:"Dodaj opcije",add_another_option:"Dodaj jo\u0161 jednu opciju",sort_in_alphabetical_order:"Pore\u0111aj po Abecedi",add_options_in_bulk:"Grupno dodavanje opcija",use_predefined_options:"Koristi predefinisane opcije",select_custom_date:"Odaberi datum",select_relative_date:"Odaberi relativan datum",ticked_by_default:"Podrazumevano odabrano",updated_message:"Prilago\u0111eno polje uspe\u0161no a\u017Eurirano",added_message:"Prilago\u0111eno polje uspe\u0161no dodato"},customization:{customization:"prilago\u0111avanje",save:"Sa\u010Duvaj",addresses:{title:"Adrese",section_description:"Mo\u017Eete podesiti format adrese klijenta za naplatu i adrese klijenta za dostavu (Prikazano samo u PDF-u)",customer_billing_address:"Adresa za naplatu klijentu",customer_shipping_address:"Adresa za dostavu klijentu",company_address:"Adresa Firme",insert_fields:"Dodaj Polja",contact:"Kontakt",address:"Adresa",display_name:"Naziv koji se prikazuje",primary_contact_name:"Primarna kontakt osoba",email:"Email",website:"Veb stranica",name:"Naziv",country:"Dr\u017Eava",state:"Savezna Dr\u017Eava",city:"Grad",company_name:"Naziv Firme",address_street_1:"Adresa 1",address_street_2:"Adresa 2",phone:"Telefon",zip_code:"Po\u0161tanski broj",address_setting_updated:"Pode\u0161avanje adrese uspe\u0161no a\u017Eurirano"},updated_message:"Podaci o firmi su uspe\u0161no a\u017Eurirani",invoices:{title:"Fakture",notes:"Napomene",invoice_prefix:"Prefiks faktura",default_invoice_email_body:"Podrazumevan sadr\u017Eaj email-a za Fakture",invoice_settings:"Pode\u0161avanje za fakture",autogenerate_invoice_number:"Automatski-generi\u0161i broj fakture",autogenerate_invoice_number_desc:"Onemogu\u0107i ovo, Ako Vi ne \u017Eelite da automatski-generi\u0161ete broj fakture kada pravite novu fakturu.",enter_invoice_prefix:"Unesite prefiks fakture",terms_and_conditions:"Uslovi Kori\u0161\u0107enja",company_address_format:"Format adrese firme",shipping_address_format:"Format adrese za dostavu firme",billing_address_format:"Format adrese za naplatu firme",invoice_settings_updated:"Pode\u0161avanje za fakture je uspe\u0161no sa\u010Duvano"},estimates:{title:"Profakture",estimate_prefix:"Prefiks profaktura",default_estimate_email_body:"Podrazumevan sadr\u017Eaj email-a za Profakture",estimate_settings:"Pode\u0161avanje za profakture",autogenerate_estimate_number:"Automatski-generi\u0161i broj profakture",estimate_setting_description:"Onemogu\u0107i ovo, Ako Vi ne \u017Eelite da automatski-generi\u0161ete broj profakture kada pravite novu profakturu.",enter_estimate_prefix:"Unesite prefiks profakture",estimate_setting_updated:"Pode\u0161avanje za profakture je uspe\u0161no sa\u010Duvano",company_address_format:"Format adrese firme",billing_address_format:"Format adrese za naplatu firme",shipping_address_format:"Format adrese za dostavu firme"},payments:{title:"Uplate",description:"Na\u010Din pla\u0107anja",payment_prefix:"Prefiks uplata",default_payment_email_body:"Podrazumevan sadr\u017Eaj email-a za potvrdu o pla\u0107anju (ra\u010Dun)",payment_settings:"Pode\u0161avanje za pla\u0107anja",autogenerate_payment_number:"Automatski-generi\u0161i broj uplate",payment_setting_description:"Onemogu\u0107i ovo, Ako ne \u017Eelite da automatski-generi\u0161ete broj uplate kada pravite novu uplatu.",enter_payment_prefix:"Unesite prefiks uplate",payment_setting_updated:"Pode\u0161avanje za pla\u0107anja je uspe\u0161no sa\u010Duvano",payment_modes:"Na\u010Din Pla\u0107anja",add_payment_mode:"Dodaj na\u010Din pla\u0107anja",edit_payment_mode:"Izmeni na\u010Din pla\u0107anja",mode_name:"Na\u010Din pla\u0107anja",payment_mode_added:"Na\u010Din pla\u0107anja dodat",payment_mode_updated:"Na\u010Din pla\u0107anja a\u017Euriran",payment_mode_confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovaj Na\u010Din Pla\u0107anja",already_in_use:"Na\u010Din pla\u0107anja se ve\u0107 koristi",deleted_message:"Na\u010Din pla\u0107anja uspe\u0161no obrisan",company_address_format:"Format adrese firme",from_customer_address_format:"Format adrese klijenta"},items:{title:"Stavke",units:"Jedinice",add_item_unit:"Dodaj jedinicu stavke",edit_item_unit:"Izmeni jedinicu stavke",unit_name:"Naziv jedinice",item_unit_added:"Jedinica stavke dodata",item_unit_updated:"Jedinica stavke a\u017Eurirana",item_unit_confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovu jedinicu stavke",already_in_use:"Jedinica stavke se ve\u0107 koristi",deleted_message:"Jedinica stavke uspe\u0161no obrisana"},notes:{title:"Napomene",description:"U\u0161tedite vreme pravlje\u0107i napomene i koriste\u0107i ih na fakturama, profakturama i uplatama.",notes:"Napomene",type:"Tip",add_note:"Dodaj Napomenu",add_new_note:"Dodaj novu Napomenu",name:"Naziv",edit_note:"Izmeni Napomenu",note_added:"Napomena uspe\u0161no dodata",note_updated:"Napomena uspe\u0161no a\u017Eurirana",note_confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovu Napomenu",already_in_use:"Napomena se ve\u0107 koristi",deleted_message:"Napomena uspe\u0161no obrisana"}},account_settings:{profile_picture:"Profilna slika",name:"Ime i prezime",email:"Email",password:"\u0160ifra",confirm_password:"Potvrdi \u0161ifru",account_settings:"Pode\u0161avanje naloga",save:"Sa\u010Duvaj",section_description:"Mo\u017Eete a\u017Eurirati Va\u0161e ime i prezime, email, \u0161ifru koriste\u0107i formu ispod.",updated_message:"Pode\u0161avanje naloga uspe\u0161no a\u017Eurirano"},user_profile:{name:"Ime i prezime",email:"Email",password:"\u0160ifra",confirm_password:"Potvrdi \u0161ifru"},notification:{title:"Obave\u0161tenje",email:"\u0160alji obave\u0161tenja na",description:"Koja email obave\u0161tenja bi \u017Eeleli da dobijate kada se ne\u0161to promeni?",invoice_viewed:"Faktura gledana",invoice_viewed_desc:"Kada klijent pogleda fakturu koja je poslata putem ove aplikacije.",estimate_viewed:"Profaktura gledana",estimate_viewed_desc:"Kada klijent pogleda profakturu koja je poslata putem ove aplikacije.",save:"Sa\u010Duvaj",email_save_message:"Email uspe\u0161no sa\u010Duvan",please_enter_email:"Molim Vas unesite E-mail"},tax_types:{title:"Tipovi Poreza",add_tax:"Dodaj Porez",edit_tax:"Izmeni Porez",description:"Mo\u017Eete dodavati ili uklanjati poreze kako \u017Eelite. Ova aplikacija podr\u017Eava porez kako na individualnim stavkama tako i na fakturi.",add_new_tax:"Dodaj Nov Porez",tax_settings:"Pode\u0161avanje Poreza",tax_per_item:"Porez po Stavki",tax_name:"Naziv Poreza",compound_tax:"Slo\u017Een Porez",percent:"Procenat",action:"Akcija",tax_setting_description:"Izaberite ovo ako \u017Eelite da dodajete porez na individualne stavke. Podrazumevano pona\u0161anje je da je porez dodat direktno na fakturu.",created_message:"Tip poreza uspe\u0161no kreiran",updated_message:"Tip poreza uspe\u0161no a\u017Euriran",deleted_message:"Tip poreza uspe\u0161no obrisan",confirm_delete:"Ne\u0107ete mo\u0107i da povratite ovaj Tip Poreza",already_in_use:"Porez se ve\u0107 koristi"},expense_category:{title:"Kategorija Rashoda",action:"Akcija",description:"Kategorije su obavezne za dodavanje rashoda. Mo\u017Ee\u0161 da doda\u0161 ili obri\u0161e\u0161 ove kategorije po svojoj \u017Eelji.",add_new_category:"Dodaj novu kategoriju",add_category:"Dodaj kategoriju",edit_category:"Izmeni kategoriju",category_name:"Naziv kategorije",category_description:"Opis",created_message:"Kagetorija rashoda je uspe\u0161no kreirana",deleted_message:"Kategorija rashoda je uspe\u0161no izbrisana",updated_message:"Kategorija rashoda je uspe\u0161no a\u017Eurirana",confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovu kategoriju rashoda",already_in_use:"Kategorija se ve\u0107 koristi"},preferences:{currency:"Valuta",default_language:"Jezik",time_zone:"Vremenska Zona",fiscal_year:"Finansijska Godina",date_format:"Format datuma",discount_setting:"Pode\u0161avanja za popuste",discount_per_item:"Popust po stavci",discount_setting_description:"Izaberite ovo ako \u017Eelite da dodajete Popust na individualne stavke. Podrazumevano pona\u0161anje je da je Popust dodat direktno na fakturu.",save:"Sa\u010Duvaj",preference:"Preferencija | Preferencije",general_settings:"Podrazumevane preferencije za sistem",updated_message:"Preferencije su uspe\u0161no a\u017Eurirane",select_language:"Izaberi Jezik",select_time_zone:"Izaberi Vremensku Zonu",select_date_format:"Izaberi Format Datuma",select_financial_year:"Izaberi Finansijsku Godinu"},update_app:{title:"A\u017Euriraj aplikaciju",description:"Lako mo\u017Ee\u0161 da a\u017Eurira\u0161 Crater tako \u0161to \u0107e\u0161 uraditi proveru novih verzija klikom na polje ispod",check_update:"Proveri a\u017Euriranost",avail_update:"Dostupna je nova verzija",next_version:"Slede\u0107a verzija",requirements:"Zahtevi",update:"A\u017Euriraj sad",update_progress:"A\u017Euriranje je u toku...",progress_text:"Traja\u0107e svega par minuta. Nemojte osve\u017Eavati ili zatvoriti stranicu dok a\u017Euriranje ne bude gotovo",update_success:"Aplikacija je a\u017Eurirana! Molim Vas Sa\u010Dekajte da se stranica osve\u017Ei automatski.",latest_message:"Nema nove verzije! A\u017Eurirana poslednja verzija.",current_version:"Trenutna verzija",download_zip_file:"Preuzmi ZIP paket",unzipping_package:"Raspakivanje paketa",copying_files:"Kopiranje datoteka",deleting_files:"Brisanje fajlova koji nisu u upotrebi",running_migrations:"Migracije u toku",finishing_update:"Zavr\u0161avanje a\u017Euriranja",update_failed:"Neuspe\u0161no a\u017Euriranje",update_failed_text:"\u017Dao mi je! Tvoje a\u017Euriranje nije uspelo na koraku broj: {step} korak"},backup:{title:"Bekap | Bekapi",description:"Bekap je zip arhiva koja sadr\u017Ei sve fajlove iz foldera koje ste specificirali, tako\u0111e sadr\u017Ei bekap baze.",new_backup:"Dodaj novi Bekap",create_backup:"Napravi Bekap",select_backup_type:"Izaberi tip Bekapa",backup_confirm_delete:"Ne\u0107e\u0161 mo\u0107i da povrati\u0161 ovaj Bekap",path:"putanja",new_disk:"Novi Disk",created_at:"datum kreiranja",size:"veli\u010Dina",dropbox:"dropbox",local:"lokalni",healthy:"zdrav",amount_of_backups:"broj bekapa",newest_backups:"najnoviji bekapi",used_storage:"kori\u0161c\u0301eno skladi\u0161te",select_disk:"Izaberi Disk",action:"Akcija",deleted_message:"Bekap uspe\u0161no obrisan",created_message:"Bekap uspe\u0161no napravljen",invalid_disk_credentials:"Pogre\u0161ni kredencijali za odabrani disk"},disk:{title:"File Disk | File Disks",description:"Podrazumevano pona\u0161anje je da Crater koristi lokalni disk za \u010Duvanje bekapa, avatara i ostalih slika. Mo\u017Eete podesiti vi\u0161e od jednog disk drajvera od provajdera poput DigitalOcean, S3 i Dropbox po va\u0161oj \u017Eelji.",created_at:"datum kreiranja",dropbox:"dropbox",name:"Naziv",driver:"Drajver",disk_type:"Tip",disk_name:"Naziv Diska",new_disk:"Dodaj novi Disk",filesystem_driver:"Filesystem Driver",local_driver:"lokalni Drajver",local_root:"local Root",public_driver:"Public Driver",public_root:"Public Root",public_url:"Public URL",public_visibility:"Public Visibility",media_driver:"Media Driver",media_root:"Media Root",aws_driver:"AWS Driver",aws_key:"AWS Key",aws_secret:"AWS Secret",aws_region:"AWS Region",aws_bucket:"AWS Bucket",aws_root:"AWS Root",do_spaces_type:"Do Spaces type",do_spaces_key:"Do Spaces key",do_spaces_secret:"Do Spaces Secret",do_spaces_region:"Do Spaces Region",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces Endpoint",do_spaces_root:"Do Spaces Root",dropbox_type:"Dropbox Type",dropbox_token:"Dropbox Token",dropbox_key:"Dropbox Key",dropbox_secret:"Dropbox Secret",dropbox_app:"Dropbox App",dropbox_root:"Dropbox Root",default_driver:"Podrazumevani Drajver",is_default:"DA LI JE PODRAZUMEVAN",set_default_disk:"Postavi Podrazumevani Disk",set_default_disk_confirm:"Ovaj disk \u0107e biti postavljen kao podrazumevan i svi novi PDF fajlovi \u0107e biti sa\u010Duvani na ovom disku",success_set_default_disk:"Disk je uspe\u0161no postavljen kao podrazumevan",save_pdf_to_disk:"Sa\u010Duvaj PDF fajlove na Disk",disk_setting_description:" Uklju\u010Dite ovo ako \u017Eelite da sa\u010Duvate kopiju PDF fajla svake Fakture, Profakture i Uplate na va\u0161 podrazumevani disk automatski. Uklju\u010Divanjem ove opcije \u0107ete smanjiti vreme u\u010Ditavanja pri pregledu PDF fajlova.",select_disk:"Izaberi Disk",disk_settings:"Disk Pode\u0161avanja",confirm_delete:"Ovo ne\u0107e uticati na va\u0161e postoje\u0107e fajlove i foldere na navedenom disku, ali \u0107e se konfiguracija va\u0161eg diska izbrisati iz Cratera.",action:"Akcija",edit_file_disk:"Izmeni File Disk",success_create:"Disk uspe\u0161no dodat",success_update:"Disk uspe\u0161no a\u017Euriran",error:"Dodavanje diska nije uspelo",deleted_message:"File Disk uspe\u0161no obrisan",disk_variables_save_successfully:"Disk uspe\u0161no pode\u0161en",disk_variables_save_error:"Pode\u0161avanje diska nije uspelo.",invalid_disk_credentials:"Pogre\u0161an kredencijal za disk koji je naveden"}},mu={account_info:"Informacije o nalogu",account_info_desc:"Detalji u nastavku \u0107e se koristiti za kreiranje glavnog administratorskog naloga. Mogu\u0107e ih je izmeniti u bilo kom trenutku nakon prijavljivanja.",name:"Naziv",email:"E-mail",password:"\u0160ifra",confirm_password:"Potvrdi \u0161ifru",save_cont:"Sa\u010Duvaj & Nastavi",company_info:"Informacije o firmi",company_info_desc:"Ove informacije \u0107e biti prikazane na fakturama. Mogu\u0107e ih je izmeniti kasnije u pode\u0161avanjima.",company_name:"Naziv firme",company_logo:"Logo firme",logo_preview:"Pregled logoa",preferences:"Preference",preferences_desc:"Podrazumevane Preference za sistem",country:"Dr\u017Eava",state:"Savezna Dr\u017Eava",city:"Grad",address:"Adresa",street:"Ulica1 | Ulica2",phone:"Telefon",zip_code:"Po\u0161tanski broj",go_back:"Vrati se nazad",currency:"Valuta",language:"Jezik",time_zone:"Vremenska zona",fiscal_year:"Finansijska godina",date_format:"Format datuma",from_address:"Adresa po\u0161iljaoca",username:"Korisni\u010Dko ime",next:"Slede\u0107e",continue:"Nastavi",skip:"Presko\u010Di",database:{database:"URL stranice & baze podataka",connection:"Veza baze podataka",host:"Host baze podataka",port:"Port baze podataka",password:"\u0160ifra baze podataka",app_url:"URL aplikacije",app_domain:"Domen aplikacije",username:"Korisni\u010Dko ime baze podataka",db_name:"Naziv baze podataka",db_path:"Putanja do baze",desc:"Kreiraj bazu podataka na svom serveru i postavi kredencijale prate\u0107i obrazac u nastavku."},permissions:{permissions:"Dozvole",permission_confirm_title:"Da li ste sigurni da \u017Eelite da nastavite?",permission_confirm_desc:"Provera dozvola za foldere nije uspela",permission_desc:"U nastavku se nalazi lista dozvola za foldere koji su neophodni kako bi alikacija radila. Ukoliko provera dozvola ne uspe, a\u017Euriraj svoju listu dozvola za te foldere."},mail:{host:"Mail Host",port:"Mail Port",driver:"Mail drajver",secret:"\u0160ifra",mailgun_secret:"Mailgun \u0160ifra",mailgun_domain:"Domen",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES \u0160ifra",ses_key:"SES Klju\u010D",password:"\u0160ifra za e-mail",username:"Koristni\u010Dko ime za e-mail",mail_config:"E-mail konfigurisanje",from_name:"Naziv po\u0161iljaoca",from_mail:"E-mail adresa po\u0161iljaoca",encryption:"E-mail enkripcija",mail_config_desc:"Ispod se nalazi forma za pode\u0161avanje E-mail drajvera za slanje po\u0161te iz aplikacije. Tako\u0111e mo\u017Eete podesiti provajdere tre\u0107e strane kao Sendgrid, SES itd."},req:{system_req:"Sistemski zahtevi",php_req_version:"Zahteva se PHP verzija {version} ",check_req:"Proveri zahteve",system_req_desc:"Crater ima nekoliko zahteva za server. Proveri da li tvoj server ima potrebnu verziju PHP-a i sva navedena pro\u0161irenja navedena u nastavku"},errors:{migrate_failed:"Neuspe\u0161no migriranje",database_variables_save_error:"Konfiguraciju nije moguc\u0301e zapisati u .env datoteku. Proveri dozvole za datoteku",mail_variables_save_error:"E-mail konfigurisanje je neuspe\u0161no",connection_failed:"Neuspe\u0161na konekcija sa bazom podataka",database_should_be_empty:"Baza podataka treba da bude prazna"},success:{mail_variables_save_successfully:"E-mail je uspe\u0161no konfigurisan",database_variables_save_successfully:"Baza podataka je uspe\u0161no konfigurisana"}},pu={invalid_phone:"Pogre\u0161an Broj Telefona",invalid_url:"Neva\u017Ee\u0107i URL (primer: http://www.craterapp.com)",invalid_domain_url:"Pogre\u0161an URL (primer: craterapp.com)",required:"Obavezno polje",email_incorrect:"Pogre\u0161an E-mail",email_already_taken:"Navedeni E-mail je zauzet",email_does_not_exist:"Korisnik sa navedenom e-mail adresom ne postoji",item_unit_already_taken:"Naziv ove jedinice stavke je zauzet",payment_mode_already_taken:"Naziv ovog na\u010Dina pla\u0107anja je zauzet",send_reset_link:"Po\u0161alji link za resetovanje",not_yet:"Jo\u0161 uvek ni\u0161ta? Po\u0161alji ponovo",password_min_length:"\u0160ifra mora imati {count} karaktera",name_min_length:"Naziv mora imati najmanje {count} slova",enter_valid_tax_rate:"Unesite odgovaraju\u0107u poresku stopu",numbers_only:"Mogu se unositi samo brojevi",characters_only:"Mogu se unositi samo karakteri",password_incorrect:"\u0160ifra mora biti identi\u010Dna",password_length:"\u0160ifra mora imati {count} karaktera",qty_must_greater_than_zero:"Koli\u010Dina mora biti ve\u0107a od 0.",price_greater_than_zero:"Cena mora biti ve\u0107a od 0",payment_greater_than_zero:"Uplata mora biti ve\u0107a od 0",payment_greater_than_due_amount:"Uneta uplata je ve\u0107a od dospelog iznosa ove fakture",quantity_maxlength:"Koli\u010Dina ne mo\u017Ee imati vi\u0161e od 20 cifara",price_maxlength:"Cena ne mo\u017Ee imati vi\u0161e od 20 cifara",price_minvalue:"Cena mora biti ve\u0107a od 0",amount_maxlength:"Iznos ne mo\u017Ee da ima vi\u0161e od 20 cifara",amount_minvalue:"Iznos mora biti ve\u0107i od 0",description_maxlength:"Opis ne mo\u017Ee da ima vi\u0161e od 65,000 karaktera",subject_maxlength:"Predmet ne mo\u017Ee da ima vi\u0161e od 100 karaktera",message_maxlength:"Poruka ne mo\u017Ee da ima vi\u0161e od 255 karaktera",maximum_options_error:"Maksimalan broj opcija je izabran. Prvo uklonite izabranu opciju da biste izabrali drugu",notes_maxlength:"Napomena ne mo\u017Ee da ima vi\u0161e od 65,000 karaktera",address_maxlength:"Adresa ne mo\u017Ee da ima vi\u0161e od 255 karaktera",ref_number_maxlength:"Poziv na broj ne mo\u017Ee da ima vi\u0161e od 225 karaktera",prefix_maxlength:"Prefiks ne mo\u017Ee da ima vi\u0161e od 5 karaktera",something_went_wrong:"ne\u0161to je krenulo naopako"},gu="Profaktura",fu="Broj Profakture",hu="Datum Profakture",vu="Datum isteka Profakture",yu="Faktura",bu="Broj Fakture",ku="Datum Fakture",wu="Datum dospe\u0107a Fakture",xu="Napomena",zu="Stavke",Su="Koli\u010Dina",Pu="Cena",ju="Popust",Du="Iznos",Cu="Osnovica za obra\u010Dun PDV-a",Au="Ukupan iznos",Nu="Payment",Eu="POTVRDA O UPLATI",Tu="Datum Uplate",Iu="Broj Uplate",$u="Na\u010Din Uplate",Ru="Iznos Uplate",Fu="IZVE\u0160TAJ O RASHODIMA",Mu="RASHODI UKUPNO",Bu="IZVE\u0160TAJ O PRIHODIMA I RASHODIMA",Vu="Sales Customer Report",Ou="Sales Item Report",Lu="Tax Summary Report",Uu="PRIHOD",Ku="NETO PROFIT",qu="Izve\u0161taj o Prodaji: Po Klijentu",Wu="PRODAJA UKUPNO",Zu="Izve\u0161taj o Prodaji: Po Stavci",Hu="IZVE\u0160TAJ O POREZIMA",Gu="UKUPNO POREZ",Yu="Tipovi Poreza",Ju="Rashodi",Xu="Ra\u010Dun za,",Qu="Isporu\u010Diti za,",em="Poslat od strane:",tm="Tax";var am={navigation:X_,general:Q_,dashboard:eu,tax_types:tu,global_search:au,customers:su,items:nu,estimates:iu,invoices:ou,payments:ru,expenses:du,login:lu,users:cu,reports:_u,settings:uu,wizard:mu,validation:pu,pdf_estimate_label:gu,pdf_estimate_number:fu,pdf_estimate_date:hu,pdf_estimate_expire_date:vu,pdf_invoice_label:yu,pdf_invoice_number:bu,pdf_invoice_date:ku,pdf_invoice_due_date:wu,pdf_notes:xu,pdf_items_label:zu,pdf_quantity_label:Su,pdf_price_label:Pu,pdf_discount_label:ju,pdf_amount_label:Du,pdf_subtotal:Cu,pdf_total:Au,pdf_payment_label:Nu,pdf_payment_receipt_label:Eu,pdf_payment_date:Tu,pdf_payment_number:Iu,pdf_payment_mode:$u,pdf_payment_amount_received_label:Ru,pdf_expense_report_label:Fu,pdf_total_expenses_label:Mu,pdf_profit_loss_label:Bu,pdf_sales_customers_label:Vu,pdf_sales_items_label:Ou,pdf_tax_summery_label:Lu,pdf_income_label:Uu,pdf_net_profit_label:Ku,pdf_customer_sales_report:qu,pdf_total_sales_label:Wu,pdf_item_sales_label:Zu,pdf_tax_report_label:Hu,pdf_total_tax_label:Gu,pdf_tax_types_label:Yu,pdf_expenses_label:Ju,pdf_bill_to:Xu,pdf_ship_to:Qu,pdf_received_from:em,pdf_tax_label:tm};const sm={dashboard:"Overzicht",customers:"Klanten",items:"Artikelen",invoices:"Facturen",expenses:"Uitgaven",estimates:"Offertes",payments:"Betalingen",reports:"Rapporten",settings:"Instellingen",logout:"Uitloggen",users:"Gebruikers"},nm={add_company:"Bedrijf toevoegen",view_pdf:"Bekijk PDF",copy_pdf_url:"Kopieer PDF-URL",download_pdf:"Download PDF",save:"Opslaan",create:"Maak",cancel:"annuleren",update:"Bijwerken",deselect:"Maak de selectie ongedaan",download:"Downloaden",from_date:"Van datum",to_date:"Tot datum",from:"Van",to:"Naar",sort_by:"Sorteer op",ascending:"Oplopend",descending:"Aflopend",subject:"Onderwerp",body:"Inhoud",message:"Bericht",send:"Verstuur",go_back:"Ga terug",back_to_login:"Terug naar Inloggen?",home:"Home",filter:"Filter",delete:"Verwijderen",edit:"Bewerken",view:"Bekijken",add_new_item:"Voeg een nieuw item toe",clear_all:"Wis alles",showing:"Weergegeven",of:"van",actions:"Acties",subtotal:"SUBTOTAAL",discount:"KORTING",fixed:"Gemaakt",percentage:"Percentage",tax:"BELASTING",total_amount:"TOTAALBEDRAG",bill_to:"Rekening naar",ship_to:"Verzend naar",due:"Openstaand",draft:"Concept",sent:"Verzonden",all:"Alles",select_all:"Selecteer alles",choose_file:"Klik hier om een bestand te kiezen",choose_template:"Kies een sjabloon",choose:"Kiezen",remove:"Verwijderen",powered_by:"Mogelijk gemaakt door",bytefury:"Bytefury",select_a_status:"Selecteer een status",select_a_tax:"Selecteer een belasting",search:"Zoeken",are_you_sure:"Weet je het zeker?",list_is_empty:"Lijst is leeg.",no_tax_found:"Geen belasting gevonden!",four_zero_four:"404",you_got_lost:"Oeps!\xA0Je bent verdwaald!",go_home:"Ga naar home",test_mail_conf:"E-mailconfiguratie testen",send_mail_successfully:"Mail is succesvol verzonden",setting_updated:"Instelling succesvol bijgewerkt",select_state:"Selecteer staat",select_country:"Selecteer land",select_city:"Selecteer stad",street_1:"straat 1",street_2:"Straat # 2",action_failed:"Actie: mislukt",retry:"Retr",choose_note:"Kies notitie",no_note_found:"Geen notitie gevonden",insert_note:"Notitie invoegen"},im={select_year:"Selecteer jaar",cards:{due_amount:"Openstaand bedrag",customers:"Klanten",invoices:"Facturen",estimates:"Offertes"},chart_info:{total_sales:"Verkoop",total_receipts:"Inkomsten",total_expense:"Uitgaven",net_income:"Netto inkomen",year:"Selecteer jaar"},monthly_chart:{title:"Verkoop en kosten"},recent_invoices_card:{title:"Openstaande facturen",due_on:"Openstaand op",customer:"Klant",amount_due:"Openstaand bedrag",actions:"Acties",view_all:"Toon alles"},recent_estimate_card:{title:"Recente offertes",date:"Datum",customer:"Klant",amount_due:"Openstaand bedrag",actions:"Acties",view_all:"Toon alles"}},om={name:"Naam",description:"Omschrijving",percent:"Procent",compound_tax:"Verbinding Ta"},rm={search:"Zoeken...",customers:"Klanten",users:"Gebruikers",no_results_found:"Geen zoekresultaten"},dm={title:"Klanten",add_customer:"Klant toevoegen",contacts_list:"Klantenlijst",name:"Naam",mail:"Mail | Mails",statement:"Verklaring",display_name:"Weergavenaam",primary_contact_name:"Naam primaire contactpersoon",contact_name:"Contactnaam",amount_due:"Openstaand bedrag",email:"E-mail",address:"Adres",phone:"Telefoon",website:"Website",overview:"Overzicht",enable_portal:"Activeer Portaal",country:"Land",state:"Provincie",city:"Stad",zip_code:"Postcode",added_on:"Toegevoegd",action:"Actie",password:"Wachtwoord",street_number:"Huisnummer",primary_currency:"Primaire valuta",description:"Omschrijving",add_new_customer:"Nieuwe klant toevoegen",save_customer:"Klant opslaan",update_customer:"Klant bijwerken",customer:"Klant |\xA0Klanten",new_customer:"Nieuwe klant",edit_customer:"Klant bewerken",basic_info:"Basis informatie",billing_address:"factuur adres",shipping_address:"Verzendingsadres",copy_billing_address:"Kopi\xEBren van facturering",no_customers:"Nog geen klanten!",no_customers_found:"Geen klanten gevonden!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"Hier vind je jouw klanten terug.",primary_display_name:"Primaire weergavenaam",select_currency:"Selecteer valuta",select_a_customer:"Selecteer een klant",type_or_click:"Typ of klik om te selecteren",new_transaction:"Nieuwe transactie",no_matching_customers:"Er zijn geen overeenkomende klanten!",phone_number:"Telefoonnummer",create_date:"Aangemaakt op",confirm_delete:"Deze klant en alle gerelateerde facturen, offertes en betalingen worden permanent verwijderd.\xA0|\xA0Deze klanten en alle gerelateerde facturen, offertes en betalingen worden permanent verwijderd.",created_message:"Klant succesvol aangemaakt",updated_message:"Klant succesvol ge\xFCpdatet",deleted_message:"Klant succesvol verwijderd |\xA0Klanten zijn succesvol verwijderd"},lm={title:"Artikelen",items_list:"Lijst met items",name:"Naam",unit:"Eenheid",description:"Omschrijving",added_on:"Toegevoegd",price:"Prijs",date_of_creation:"Datum van creatie",not_selected:"No item selected",action:"Actie",add_item:"Voeg item toe",save_item:"Item opslaan",update_item:"Item bijwerken",item:"Artikel |\xA0Artikelen",add_new_item:"Voeg een nieuw item toe",new_item:"Nieuw item",edit_item:"Item bewerken",no_items:"Nog geen items!",list_of_items:"Hier vind je jouw artikelen terug.",select_a_unit:"selecteer eenheid",taxes:"Belastingen",item_attached_message:"Kan een item dat al in gebruik is niet verwijderen",confirm_delete:"U kunt dit item | niet herstellen\xA0U kunt deze items niet herstellen",created_message:"Item succesvol aangemaakt",updated_message:"Item succesvol bijgewerkt",deleted_message:"Item succesvol verwijderd |\xA0Items zijn verwijderd"},cm={title:"Offertes",estimate:"Offerte |\xA0Offertes",estimates_list:"Lijst met offertes",days:"{dagen} dagen",months:"{months} Maand",years:"{jaar} jaar",all:"Allemaal",paid:"Betaald",unpaid:"Onbetaald",customer:"Klant",ref_no:"Ref Nr.",number:"Aantal",amount_due:"Bedrag",partially_paid:"Gedeeltelijk betaald",total:"Totaal",discount:"Korting",sub_total:"Subtotaal",estimate_number:"Offerte nummer",ref_number:"Referentie nummer",contact:"Contact",add_item:"Voeg een item toe",date:"Datum",due_date:"Opleveringsdatum",expiry_date:"Vervaldatum",status:"Status",add_tax:"Belasting toevoegen",amount:"Bedrag",action:"Actie",notes:"Opmerkingen",tax:"Belasting",estimate_template:"Sjabloon",convert_to_invoice:"Converteren naar factuur",mark_as_sent:"Markeren als verzonden",send_estimate:"Verzend offerte",resend_estimate:"Offerte opnieuw verzenden",record_payment:"Bestaling registreren",add_estimate:"Offerte toevoegen",save_estimate:"Bewaar offerte",confirm_conversion:"Deze offerte wordt gebruikt om een nieuwe factuur te maken.",conversion_message:"Factuur gemaakt",confirm_send_estimate:"Deze offerte wordt via e-mail naar de klant gestuurd",confirm_mark_as_sent:"Deze offerte wordt gemarkeerd als verzonden",confirm_mark_as_accepted:"Deze offerte wordt gemarkeerd als Geaccepteerd",confirm_mark_as_rejected:"Deze offerte wordt gemarkeerd als Afgewezen",no_matching_estimates:"Er zijn geen overeenkomende offertes!",mark_as_sent_successfully:"Offerte gemarkeerd als succesvol verzonden",send_estimate_successfully:"Offerte succesvol verzonden",errors:{required:"Veld is vereist"},accepted:"Geaccepteerd",rejected:"Rejected",sent:"Verzonden",draft:"Concept",declined:"Geweigerd",new_estimate:"Nieuwe offerte",add_new_estimate:"Offerte toevoegen",update_Estimate:"Offerte bijwerken",edit_estimate:"Offerte bewerken",items:"artikelen",Estimate:"Offerte |\xA0Offertes",add_new_tax:"Nieuwe belasting toevoegen",no_estimates:"Nog geen offertes!",list_of_estimates:"Hier vind je jouw offertes terug.",mark_as_rejected:"Markeer als afgewezen",mark_as_accepted:"Markeer als geaccepteerd",marked_as_accepted_message:"Offerte gemarkeerd als geaccepteerd",marked_as_rejected_message:"Offerte gemarkeerd als afgewezen",confirm_delete:"U kunt deze offerte | niet herstellen\xA0U kunt deze offertes niet herstellen",created_message:"Offerte is gemaakt",updated_message:"Offerte succesvol bijgewerkt",deleted_message:"Offerte succesvol verwijderd |\xA0Offertes zijn succesvol verwijderd",something_went_wrong:"Er is iets fout gegaan",item:{title:"Titel van het item",description:"Omschrijving",quantity:"Aantal stuks",price:"Prijs",discount:"Korting",total:"Totaal",total_discount:"Totale korting",sub_total:"Subtotaal",tax:"Belasting",amount:"Bedrag",select_an_item:"Typ of klik om een item te selecteren",type_item_description:"Type Item Beschrijving (optioneel)"}},_m={title:"Facturen",invoices_list:"Facturenlijst",days:"{dagen} dagen",months:"{months} Maand",years:"{jaar} jaar",all:"Allemaal",paid:"Betaald",unpaid:"Onbetaald",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"Klant",paid_status:"Betaling",ref_no:"REF NR.",number:"AANTAL",amount_due:"BEDRAG",partially_paid:"Gedeeltelijk betaald",total:"Totaal",discount:"Korting",sub_total:"Subtotaal",invoice:"Factuur |\xA0Facturen",invoice_number:"Factuurnummer",ref_number:"Referentie nummer",contact:"Contact",add_item:"Voeg een item toe",date:"Datum",due_date:"Opleveringsdatum",status:"Status",add_tax:"Belasting toevoegen",amount:"Bedrag",action:"Actie",notes:"Opmerkingen",view:"Bekijken",send_invoice:"Factuur verzenden",resend_invoice:"Factuur opnieuw verzenden",invoice_template:"Factuursjabloon",template:"Sjabloon",mark_as_sent:"Markeer als verzonden",confirm_send_invoice:"Deze factuur wordt via e-mail naar de klant gestuurd",invoice_mark_as_sent:"Deze factuur wordt gemarkeerd als verzonden",confirm_send:"Deze factuur wordt via e-mail naar de klant gestuurd",invoice_date:"Factuur datum",record_payment:"Bestaling registreren",add_new_invoice:"Nieuwe factuur toevoegen",update_expense:"Onkosten bijwerken",edit_invoice:"Factuur bewerken",new_invoice:"Nieuwe factuur",save_invoice:"Factuur opslaan",update_invoice:"Factuur bijwerken",add_new_tax:"Nieuwe belasting toevoegen",no_invoices:"Nog geen facturen!",list_of_invoices:"Hier vind je jouw facturen terug.",select_invoice:"Selecteer Factuur",no_matching_invoices:"Er zijn geen overeenkomende facturen!",mark_as_sent_successfully:"Factuur gemarkeerd als succesvol verzonden",invoice_sent_successfully:"Factuur succesvol verzonden",cloned_successfully:"Factuur succesvol gekloond",clone_invoice:"Factuur klonen",confirm_clone:"Deze factuur wordt gekloond in een nieuwe factuur",item:{title:"Titel van het item",description:"Omschrijving",quantity:"Aantal stuks",price:"Prijs",discount:"Korting",total:"Totaal",total_discount:"Totale korting",sub_total:"Subtotaal",tax:"Belasting",amount:"Bedrag",select_an_item:"Typ of klik om een item te selecteren",type_item_description:"Type Item Beschrijving (optioneel)"},confirm_delete:"Deze factuur wordt permanent verwijderd |\xA0Deze facturen worden permanent verwijderd",created_message:"Factuur succesvol aangemaakt",updated_message:"Factuur succesvol bijgewerkt",deleted_message:"Factuur succesvol verwijderd |\xA0Facturen succesvol verwijderd",marked_as_sent_message:"Factuur gemarkeerd als succesvol verzonden",something_went_wrong:"Er is iets fout gegaan",invalid_due_amount_message:"Het totale factuurbedrag mag niet lager zijn dan het totale betaalde bedrag voor deze factuur.\xA0Werk de factuur bij of verwijder de bijbehorende betalingen om door te gaan."},um={title:"Betalingen",payments_list:"Betalingslijst",record_payment:"Bestaling registreren",customer:"Klant",date:"Datum",amount:"Bedrag",action:"Actie",payment_number:"Betalingsnummer",payment_mode:"Betaalmethode",invoice:"Factuur",note:"Notitie",add_payment:"Betaling toevoegen",new_payment:"Nieuwe betaling",edit_payment:"Betaling bewerken",view_payment:"Bekijk betaling",add_new_payment:"Nieuwe betaling toevoegen",send_payment_receipt:"Betaalbewijs verzenden",send_payment:"Verstuur betaling",save_payment:"Betaling opslaan",update_payment:"Betaling bijwerken",payment:"Betaling |\xA0Betalingen",no_payments:"Nog geen betalingen!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"Er zijn geen overeenkomende betalingen!",list_of_payments:"Hier vind je jouw betalingen terug.",select_payment_mode:"Selecteer betalingswijze",confirm_mark_as_sent:"Deze offerte wordt gemarkeerd als verzonden",confirm_send_payment:"Deze betaling wordt via e-mail naar de klant gestuurd",send_payment_successfully:"Betaling succesvol verzonden",something_went_wrong:"Er is iets fout gegaan",confirm_delete:"Deze betaling wordt permanent verwijderd |\xA0Deze betalingen worden permanent verwijderd",created_message:"De betaling is succesvol aangemaakt",updated_message:"Betaling succesvol bijgewerkt",deleted_message:"Betaling succesvol verwijderd |\xA0Betalingen zijn verwijderd",invalid_amount_message:"Het bedrag van de betaling is ongeldig"},mm={title:"Uitgaven",expenses_list:"Uitgavenlijst",select_a_customer:"Selecteer een klant",expense_title:"Titel",customer:"Klant",contact:"Contact",category:"Categorie",from_date:"Van datum",to_date:"Tot datum",expense_date:"Datum",description:"Omschrijving",receipt:"Bon",amount:"Bedrag",action:"Actie",not_selected:"Not selected",note:"Notitie",category_id:"Categorie ID",date:"Uitgavendatum",add_expense:"Kosten toevoegen",add_new_expense:"Kosten toevoegen",save_expense:"Kosten opslaan",update_expense:"Onkosten bijwerken",download_receipt:"Ontvangstbewijs downloaden",edit_expense:"Uitgaven bewerken",new_expense:"Kosten toevoegen",expense:"Uitgaven |\xA0Uitgaven",no_expenses:"Nog geen kosten!",list_of_expenses:"Hier vind je jouw uitgaven terug.",confirm_delete:"Deze uitgave wordt permanent verwijderd | Deze kosten worden permanent verwijderd",created_message:"Kosten succesvol gemaakt",updated_message:"Kosten succesvol bijgewerkt",deleted_message:"Kosten succesvol verwijderd |\xA0Uitgaven zijn verwijderd",categories:{categories_list:"Categorie\xEBnlijst",title:"Titel",name:"Naam",description:"Omschrijving",amount:"Bedrag",actions:"Acties",add_category:"categorie toevoegen",new_category:"Nieuwe categorie",category:"Categorie |\xA0Categorie\xEBn",select_a_category:"Selecteer een categorie"}},pm={email:"E-mail",password:"Wachtwoord",forgot_password:"Wachtwoord vergeten?",or_signIn_with:"of Log in met",login:"Log in",register:"Registreren",reset_password:"Wachtwoord opnieuw instellen",password_reset_successfully:"Wachtwoord opnieuw ingesteld",enter_email:"Voer email in",enter_password:"Voer wachtwoord in",retype_password:"Geef nogmaals het wachtwoord"},gm={title:"Gebruikers",users_list:"Gebruikerslijst",name:"Naam",description:"Omschrijving",added_on:"Toegevoegd",date_of_creation:"Datum van creatie",action:"Actie",add_user:"Gebruiker toevoegen",save_user:"Gebruiker opslaan",update_user:"Gebruiker bijwerken",user:"Gebruiker | Gebruikers",add_new_user:"Nieuwe gebruiker toevoegen",new_user:"Nieuwe gebruiker",edit_user:"Gebruiker bewerken",no_users:"Nog geen gebruikers!",list_of_users:"Deze sectie zal de lijst met gebruikers bevatten.",email:"E-mail",phone:"Telefoon",password:"Wachtwoord",user_attached_message:"Kan een item dat al in gebruik is niet verwijderen",confirm_delete:"Je kunt deze gebruiker later niet herstellen | Je kunt deze gebruikers later niet herstellen",created_message:"Gebruiker succesvol aangemaakt",updated_message:"Gebruiker met succes bijgewerkt",deleted_message:"Gebruiker succesvol verwijderd | Gebruikers succesvol verwijderd"},fm={title:"Verslag doen van",from_date:"Van datum",to_date:"Tot datum",status:"Status",paid:"Betaald",unpaid:"Onbetaald",download_pdf:"Download PDF",view_pdf:"Bekijk PDF",update_report:"Rapport bijwerken",report:"Verslag |\xA0Rapporten",profit_loss:{profit_loss:"Verlies",to_date:"Tot datum",from_date:"Van datum",date_range:"Selecteer Datumbereik"},sales:{sales:"Verkoop",date_range:"Selecteer datumbereik",to_date:"Tot datum",from_date:"Van datum",report_type:"Rapporttype"},taxes:{taxes:"Belastingen",to_date:"Tot datum",from_date:"Van datum",date_range:"Selecteer Datumbereik"},errors:{required:"Veld is vereist"},invoices:{invoice:"Factuur",invoice_date:"Factuur datum",due_date:"Opleveringsdatum",amount:"Bedrag",contact_name:"Contactnaam",status:"Status"},estimates:{estimate:"Offerte",estimate_date:"Offerte Datum",due_date:"Opleveringsdatum",estimate_number:"Offerte nummer",ref_number:"Referentie nummer",amount:"Bedrag",contact_name:"Contactnaam",status:"Status"},expenses:{expenses:"Uitgaven",category:"Categorie",date:"Datum",amount:"Bedrag",to_date:"Tot datum",from_date:"Van datum",date_range:"Selecteer Datumbereik"}},hm={menu_title:{account_settings:"Account instellingen",company_information:"Bedrijfsinformatie",customization:"Aanpassen",preferences:"Voorkeuren",notifications:"Kennisgevingen",tax_types:"Belastingtypen",expense_category:"Onkostencategorie\xEBn",update_app:"App bijwerken",backup:"Back-up",file_disk:"Bestandsopslag",custom_fields:"Aangepaste velden",payment_modes:"Betaalmethodes",notes:"Opmerkingen"},title:"Instellingen",setting:"Instellingen |\xA0Instellingen",general:"Algemeen",language:"Taal",primary_currency:"Primaire valuta",timezone:"Tijdzone",date_format:"Datumnotatie",currencies:{title:"Valuta's",currency:"Valuta |\xA0Valuta's",currencies_list:"Lijst van valuta's",select_currency:"selecteer valuta",name:"Naam",code:"Code",symbol:"Symbool",precision:"Precisie",thousand_separator:"Duizend scheidingsteken",decimal_separator:"Decimaalscheidingsteken",position:"Positie",position_of_symbol:"Positie van symbool",right:"Rechtsaf",left:"Links",action:"Actie",add_currency:"Valuta toevoegen"},mail:{host:"Mail host",port:"Mail Port",driver:"Mail-stuurprogramma",secret:"Geheim",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domein",mailgun_endpoint:"Mailgun-eindpunt",ses_secret:"SES Secret",ses_key:"SES-sleutel",password:"Mail wachtwoord",username:"Mail gebruikersnaam",mail_config:"E-mailconfiguratie",from_name:"Van Mail Name",from_mail:"Van e-mailadres",encryption:"E-mailversleuteling",mail_config_desc:"Hieronder vindt u het formulier voor het configureren van het e-mailstuurprogramma voor het verzenden van e-mails vanuit de app.\xA0U kunt ook externe providers zoals Sendgrid, SES enz. Configureren."},pdf:{title:"PDF-instelling",footer_text:"Voettekst",pdf_layout:"PDF indeling"},company_info:{company_info:"Bedrijfsinfo",company_name:"Bedrijfsnaam",company_logo:"Bedrijfslogo",section_description:"Informatie over uw bedrijf die wordt weergegeven op facturen, offertes en andere documenten die door Crater zijn gemaakt.",phone:"Telefoon",country:"Land",state:"Provincie",city:"Stad",address:"Adres",zip:"Postcode",save:"Opslaan",updated_message:"Bedrijfsinformatie succesvol bijgewerkt"},custom_fields:{title:"Aangepaste velden",section_description:"Uw facturen, offertes & betalingsbewijzen aanpassen met uw eigen velden. Gebruik onderstaande velden op het adres format op de Customization instellings pagina.",add_custom_field:"Extra veld toevoegen",edit_custom_field:"Veld wijzigen",field_name:"Veld naam",label:"Label",type:"Type",name:"Naam",required:"Verplicht",placeholder:"Tijdelijke plaatshouder",help_text:"Hulp Text",default_value:"Standaard waarde",prefix:"Voorvoegsel",starting_number:"Starting Number",model:"Model",help_text_description:"Voer tekst in om gebruikers te helpen het doel van dit aangepaste veld te begrijpen.",suffix:"Achtervoegsel",yes:"Ja",no:"Nee",order:"Volgorde",custom_field_confirm_delete:"U kunt dit veld niet herstellen",already_in_use:"Aangepast veld is al in gebruik",deleted_message:"Aangepast veld is succesvol verwijderd",options:"opties",add_option:"Optie toevoegen",add_another_option:"Nog een optie toevoegen",sort_in_alphabetical_order:"Sorteer op alfabetische volgorde",add_options_in_bulk:"Voeg opties toe in bulk",use_predefined_options:"Gebruik voorgedefinieerde opties",select_custom_date:"Selecteer een aangepaste datum",select_relative_date:"Selecteer relatieve datum",ticked_by_default:"Standaard aangevinkt",updated_message:"Aangepast veld is succesvol aangepast",added_message:"Aangepast veld is succesvol toegevoegd"},customization:{customization:"aanpassen",save:"Opslaan",addresses:{title:"Adressen",section_description:"U kunt het factuuradres van de klant en het verzendadres van de klant instellen (alleen weergegeven in PDF).",customer_billing_address:"Factuuradres van klant",customer_shipping_address:"Klant verzendadres",company_address:"bedrijfsadres",insert_fields:"Velden invoegen",contact:"Contact",address:"Adres",display_name:"Weergavenaam",primary_contact_name:"Naam primaire contactpersoon",email:"E-mail",website:"Website",name:"Naam",country:"Land",state:"Provincie",city:"Stad",company_name:"Bedrijfsnaam",address_street_1:"Adres Straat 1",address_street_2:"Adresstraat 2",phone:"Telefoon",zip_code:"Postcode",address_setting_updated:"Adresinstelling is bijgewerkt"},updated_message:"Bedrijfsinformatie succesvol bijgewerkt",invoices:{title:"Facturen",notes:"Opmerkingen",invoice_prefix:"Factuurvoorvoegsel",default_invoice_email_body:"Standaard factuur email text",invoice_settings:"Factuurinstellingen",autogenerate_invoice_number:"Factuurnummer automatisch genereren",autogenerate_invoice_number_desc:"Schakel dit uit als u niet automatisch factuurnummers wilt genereren telkens wanneer u een nieuwe factuur maakt.",enter_invoice_prefix:"Voer het factuurvoorvoegsel in",terms_and_conditions:"Voorwaarden",company_address_format:"Bedrijfsadres format",shipping_address_format:"Verzendadres format",billing_address_format:"Factuuradres format",invoice_settings_updated:"Factuurinstelling succesvol bijgewerkt"},estimates:{title:"Offertes",estimate_prefix:"Voorvoegsel schatten",default_estimate_email_body:"Standaard offerte email text",estimate_settings:"Instellingen schatten",autogenerate_estimate_number:"Automatisch geschat nummer genereren",estimate_setting_description:"Schakel dit uit als u niet automatisch offertesaantallen wilt genereren telkens wanneer u een nieuwe offerte maakt.",enter_estimate_prefix:"Voer het prefixnummer in",estimate_setting_updated:"Instelling Offerte succesvol bijgewerkt",company_address_format:"Bedrijfsadres format",billing_address_format:"Factuuradres Format",shipping_address_format:"Verzendadres format"},payments:{title:"Betalingen",description:"Modes of transaction for payments",payment_prefix:"Betalingsvoorvoegsel",default_payment_email_body:"Default Payment Email Body",payment_settings:"Betalingsinstellingen",autogenerate_payment_number:"Betalingsnummer automatisch genereren",payment_setting_description:"Schakel dit uit als u niet elke keer dat u een nieuwe betaling aanmaakt, automatisch betalingsnummers wilt genereren.",enter_payment_prefix:"Voer het betalingsvoorvoegsel in",payment_setting_updated:"Betalingsinstelling ge\xFCpdatet",payment_modes:"Betaalmethodes",add_payment_mode:"Betaalmodus toevoegen",edit_payment_mode:"Betaalmodus bewerken",mode_name:"Mode naam",payment_mode_added:"Betaalwijze toegevoegd",payment_mode_updated:"Betalingsmodus bijgewerkt",payment_mode_confirm_delete:"U kunt deze betalingsmodus niet herstellen",already_in_use:"De betalingsmodus is al in gebruik",deleted_message:"Betaalwijze succesvol verwijderd",company_address_format:"Bedrijfsadres format",from_customer_address_format:"Van klant adres formaat"},items:{title:"Artikelen",units:"eenheden",add_item_unit:"Itemeenheid toevoegen",edit_item_unit:"Itemeenheid bewerken",unit_name:"Naam eenheid",item_unit_added:"Item Eenheid toegevoegd",item_unit_updated:"Artikeleenheid bijgewerkt",item_unit_confirm_delete:"U kunt dit item niet terughalen",already_in_use:"Item Unit is al in gebruik",deleted_message:"Artikeleenheid succesvol verwijderd"},notes:{title:"Opmerkingen",description:"Bespaar tijd door notities te maken en ze opnieuw te gebruiken op uw facturen, ramingen en betalingen.",notes:"Opmerkingen",type:"Type",add_note:"Notitie toevoegen",add_new_note:"Voeg een nieuwe notitie toe",name:"Naam",edit_note:"Notitie bewerken",note_added:"Notitie toegevoegd",note_updated:"Notitie bijgewerkt",note_confirm_delete:"U kunt deze notitie niet terughalen",already_in_use:"Notitie is reeds in gebruik",deleted_message:"Notitie verwijderd"}},account_settings:{profile_picture:"Profielfoto",name:"Naam",email:"E-mail",password:"Wachtwoord",confirm_password:"bevestig wachtwoord",account_settings:"Account instellingen",save:"Opslaan",section_description:"U kunt uw naam, e-mailadres en wachtwoord bijwerken via onderstaand formulier.",updated_message:"Accountinstellingen succesvol bijgewerkt"},user_profile:{name:"Naam",email:"E-mail",password:"Wachtwoord",confirm_password:"Bevestig wachtwoord"},notification:{title:"Kennisgeving",email:"Stuur meldingen naar",description:"Welke e-mailmeldingen wilt u ontvangen als er iets verandert?",invoice_viewed:"Factuur bekeken",invoice_viewed_desc:"Wanneer uw klant de factuur bekijkt die via het kraterdashboard is verzonden.",estimate_viewed:"Offerte bekeken",estimate_viewed_desc:"Wanneer uw klant de offerte bekijkt die via het kraterdashboard is verzonden.",save:"Opslaan",email_save_message:"E-mail succesvol opgeslagen",please_enter_email:"Voer e-mailadres in"},tax_types:{title:"Belastingtypen",add_tax:"Belasting toevoegen",edit_tax:"Belasting bewerken",description:"U kunt naar believen belastingen toevoegen of verwijderen.\xA0Crater ondersteunt belastingen op individuele items en op de factuur.",add_new_tax:"Nieuwe belasting toevoegen",tax_settings:"Belastinginstellingen",tax_per_item:"Belasting per item",tax_name:"Belastingnaam",compound_tax:"Samengestelde belasting",percent:"Procent",action:"Actie",tax_setting_description:"Schakel dit in als u belastingen wilt toevoegen aan afzonderlijke factuuritems.\xA0Standaard worden belastingen rechtstreeks aan de factuur toegevoegd.",created_message:"Belastingtype is gemaakt",updated_message:"Belastingtype succesvol bijgewerkt",deleted_message:"Belastingtype succesvol verwijderd",confirm_delete:"Dit belastingtype wordt permanent verwijderd",already_in_use:"Belasting al in gebruik"},expense_category:{title:"Onkostencategorie\xEBn",action:"Actie",description:"Categorie\xEBn zijn vereist voor het toevoegen van onkostenposten.\xA0U kunt deze categorie\xEBn naar wens toevoegen of verwijderen.",add_new_category:"Voeg een nieuwe categorie toe",add_category:"categorie toevoegen",edit_category:"Categorie bewerken",category_name:"categorie naam",category_description:"Omschrijving",created_message:"Onkostencategorie succesvol aangemaakt",deleted_message:"Uitgavencategorie is verwijderd",updated_message:"Uitgavencategorie is bijgewerkt",confirm_delete:"U kunt deze uitgavencategorie niet herstellen",already_in_use:"Categorie al in gebruik"},preferences:{currency:"Valuta",default_language:"Standaard taal",time_zone:"Tijdzone",fiscal_year:"Financieel jaar",date_format:"Datumnotatie",discount_setting:"Kortingsinstelling",discount_per_item:"Korting per item",discount_setting_description:"Schakel dit in als u korting wilt toevoegen aan afzonderlijke factuuritems.\xA0Standaard wordt korting rechtstreeks aan de factuur toegevoegd.",save:"Opslaan",preference:"Voorkeur |\xA0Voorkeuren",general_settings:"Standaardvoorkeuren voor het systeem.",updated_message:"Voorkeuren succesvol bijgewerkt",select_language:"Selecteer taal",select_time_zone:"Selecteer Tijdzone",select_date_format:"Selecteer datum/tijdindeling",select_financial_year:"Selecteer financieel ja"},update_app:{title:"App bijwerken",description:"U kunt Crater eenvoudig bijwerken door te controleren op een nieuwe update door op de onderstaande knop te klikken",check_update:"Controleer op updates",avail_update:"Nieuwe update beschikbaar",next_version:"Volgende versie",requirements:"Vereisten",update:"Nu updaten",update_progress:"Update wordt uitgevoerd...",progress_text:"Het duurt maar een paar minuten.\xA0Vernieuw het scherm niet en sluit het venster niet voordat de update is voltooid",update_success:"App is bijgewerkt!\xA0Een ogenblik geduld, uw browservenster wordt automatisch opnieuw geladen.",latest_message:"Geen update beschikbaar!\xA0U gebruikt de nieuwste versie.",current_version:"Huidige versie",download_zip_file:"Download ZIP-bestand",unzipping_package:"Pakket uitpakken",copying_files:"Bestanden kopi\xEBren",running_migrations:"Migraties uitvoeren",finishing_update:"Afwerking Update",update_failed:"Update mislukt",update_failed_text:"Sorry!\xA0Je update is mislukt op: {step} step "},backup:{title:"Backup | Backups",description:"De back-up is een zipfile met alle bestanden in de mappen die je opgeeft samen met een dump van je database",new_backup:"Nieuwe back-up",create_backup:"Backup maken",select_backup_type:"Backup-type selecteren",backup_confirm_delete:"U kunt deze back-up niet terughalen",path:"pad",new_disk:"Nieuwe schijf",created_at:"aangemaakt op",size:"grootte",dropbox:"dropbox",local:"lokaal",healthy:"gezond",amount_of_backups:"aantal back-ups",newest_backups:"nieuwste back-ups",used_storage:"gebruikte opslag",select_disk:"Selecteer Disk",action:"Actie",deleted_message:"Back-up is succesvol verwijderd",created_message:"Back-up successvol gemaakt",invalid_disk_credentials:"Ongeldige inloggegevens voor geselecteerde schijf"},disk:{title:"Bestandsschijf | Bestandsschijven",description:"Standaard gebruikt Crater uw lokale schijf om back-ups, avatars en andere afbeeldingen op te slaan. U kunt indien gewenst meer dan \xE9\xE9n opslaglocatie configureren zoals DigitalOcean, S3 en Dropbox.",created_at:"aangemaakt op",dropbox:"dropbox",name:"Naam",driver:"Stuurprogramma",disk_type:"Type",disk_name:"Naam van de schijf",new_disk:"Nieuwe schijf toevoegen",filesystem_driver:"Filesystem Driver",local_driver:"lokaal besturingsprogramma",local_root:"local Root",public_driver:"Publiek besturingsprogramma",public_root:"Public Root",public_url:"Publieke URL",public_visibility:"Publieke zichtbaarheid",media_driver:"Media stuurprogramma",media_root:"Media Root",aws_driver:"AWS Stuurprogramma",aws_key:"AWS Sleutel",aws_secret:"AWS Secret",aws_region:"AWS Regio",aws_bucket:"AWS Bucket",aws_root:"AWS Root",do_spaces_type:"Do Spaces type",do_spaces_key:"Do Spaces Key",do_spaces_secret:"Do Spaces Secret",do_spaces_region:"Do Spaces Regio",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces Endpoint",do_spaces_root:"Do Spaces Root",dropbox_type:"Dropbox Type",dropbox_token:"Dropbox Token",dropbox_key:"Dropbox Key",dropbox_secret:"Dropbox Secret",dropbox_app:"Dropbox App",dropbox_root:"Dropbox Root",default_driver:"Standaard stuurprogramma",is_default:"IS STANDAARD",set_default_disk:"Standaardschijf instellen",success_set_default_disk:"Standaardschijf ingesteld",save_pdf_to_disk:"PDF's opslaan op schijf",disk_setting_description:" Schakel dit in als je een kopie van elke factuur, raming en betalingsbewijs automatisch op je standaard schijf wilt opslaan. Het inschakelen van deze optie zal de laadtijd verminderen wanneer de PDF's worden bekeken.",select_disk:"Selecteer Schijf",disk_settings:"Schijfinstellingen",confirm_delete:"Uw bestaande bestanden en mappen in de opgegeven schijf worden niet be\xEFnvloed, maar uw schijfconfiguratie wordt uit Crater verwijderd",action:"Actie",edit_file_disk:"Bestandsschijf bewerken",success_create:"Schijf toegevoegd",success_update:"Schijf bijgewerkt",error:"Schijf niet toegevoegd",deleted_message:"Bestandsschijf verwijderd",disk_variables_save_successfully:"Schijf geconfigureerd",disk_variables_save_error:"Schijfconfiguratie mislukt.",invalid_disk_credentials:"Ongeldige inloggegevens voor geselecteerde schijf"}},vm={account_info:"Account Informatie",account_info_desc:"Onderstaande gegevens worden gebruikt om het hoofdbeheerdersaccount te maken.\xA0Ook kunt u de gegevens op elk moment wijzigen na inloggen.",name:"Naam",email:"E-mail",password:"Wachtwoord",confirm_password:"bevestig wachtwoord",save_cont:"Opslaan doorgaan",company_info:"Bedrijfsinformatie",company_info_desc:"Deze informatie wordt weergegeven op facturen.\xA0Merk op dat u dit later op de instellingenpagina kunt bewerken.",company_name:"Bedrijfsnaam",company_logo:"Bedrijfslogo",logo_preview:"Logo Voorbeeld",preferences:"Voorkeuren",preferences_desc:"Standaardvoorkeuren voor het systeem.",country:"Land",state:"Provincie",city:"Stad",address:"Adres",street:"Straat1 |\xA0Straat # 2",phone:"Telefoon",zip_code:"Postcode",go_back:"Ga terug",currency:"Valuta",language:"Taal",time_zone:"Tijdzone",fiscal_year:"Financieel jaar",date_format:"Datumnotatie",from_address:"Van adres",username:"Gebruikersnaam",next:"De volgende",continue:"Doorgaan met",skip:"Overslaan",database:{database:"Site-URL en database",connection:"Database verbinding",host:"Database host",port:"Databasepoort",password:"Database wachtwoord",app_url:"App-URL",app_domain:"App Domein",username:"Database gebruikersnaam",db_name:"Database naam",db_path:"Databankpad",desc:"Maak een database op uw server en stel de referenties in via het onderstaande formulier."},permissions:{permissions:"Rechten",permission_confirm_title:"Weet je zeker dat je door wilt gaan?",permission_confirm_desc:"Controle van maprechten is mislukt",permission_desc:"Hieronder vindt u de lijst met mapmachtigingen die vereist zijn om de app te laten werken.\xA0Als de machtigingscontrole mislukt, moet u de mapmachtigingen bijwerken."},mail:{host:"E-mail server",port:"E-mail Poort",driver:"Mail-stuurprogramma",secret:"Geheim",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domein",mailgun_endpoint:"Mailgun-eindpunt",ses_secret:"SES Secret",ses_key:"SES-sleutel",password:"Mail wachtwoord",username:"Mail gebruikersnaam",mail_config:"E-mailconfiguratie",from_name:"Van Mail Name",from_mail:"Van e-mailadres",encryption:"E-mailversleuteling",mail_config_desc:"Hieronder vindt u het formulier voor het configureren van het e-mailstuurprogramma voor het verzenden van e-mails vanuit de app.\xA0U kunt ook externe providers zoals Sendgrid, SES enz. Configureren."},req:{system_req:"systeem vereisten",php_req_version:"PHP (versie {versie} vereist))",check_req:"Controleer vereisten",system_req_desc:"Crater heeft een paar serververeisten.\xA0Zorg ervoor dat uw server de vereiste php-versie heeft en alle onderstaande extensies."},errors:{migrate_failed:"Migreren mislukt",database_variables_save_error:"Kan configuratie niet schrijven naar .env-bestand.\xA0Controleer de bestandsrechten",mail_variables_save_error:"E-mailconfiguratie is mislukt.",connection_failed:"Databaseverbinding mislukt",database_should_be_empty:"Database moet leeg zijn"},success:{mail_variables_save_successfully:"E-mail succesvol geconfigureerd",database_variables_save_successfully:"Database succesvol geconfigureerd."}},ym={invalid_phone:"Ongeldig Telefoonnummer",invalid_url:"Ongeldige URL (bijvoorbeeld: http://www.craterapp.com))",invalid_domain_url:"Ongeldige URL (bijvoorbeeld: craterapp.com))",required:"Veld is verplicht",email_incorrect:"Incorrecte Email.",email_already_taken:"De email is al in gebruik.",email_does_not_exist:"Gebruiker met opgegeven e-mailadres bestaat niet",item_unit_already_taken:"De naam van dit item is al in gebruik",payment_mode_already_taken:"Deze naam voor de betalingsmodus is al in gebruik",send_reset_link:"Stuur resetlink",not_yet:"Nog niet?\xA0Stuur het opnieuw",password_min_length:"Wachtwoord moet {count} tekens bevatten",name_min_length:"Naam moet minimaal {count} letters bevatten.",enter_valid_tax_rate:"Voer een geldig belastingtarief in",numbers_only:"Alleen nummers.",characters_only:"Alleen tekens.",password_incorrect:"Wachtwoorden moeten identiek zijn",password_length:"Wachtwoord moet {count} tekens lang zijn.",qty_must_greater_than_zero:"Hoeveelheid moet groter zijn dan nul.",price_greater_than_zero:"Prijs moet groter zijn dan nul.",payment_greater_than_zero:"De betaling moet hoger zijn dan nul.",payment_greater_than_due_amount:"Ingevoerde betaling is meer dan het openstaande bedrag van deze factuur.",quantity_maxlength:"Het aantal mag niet groter zijn dan 20 cijfers.",price_maxlength:"Prijs mag niet groter zijn dan 20 cijfers.",price_minvalue:"Prijs moet hoger zijn dan 0.",amount_maxlength:"Bedrag mag niet groter zijn dan 20 cijfers.",amount_minvalue:"Bedrag moet groter zijn dan 0.",description_maxlength:"De beschrijving mag niet meer dan 255 tekens bevatten.",subject_maxlength:"Het onderwerp mag niet meer dan 100 tekens bevatten.",message_maxlength:"Bericht mag niet groter zijn dan 255 tekens.",maximum_options_error:"Maximaal {max} opties geselecteerd.\xA0Verwijder eerst een geselecteerde optie om een andere te selecteren.",notes_maxlength:"Notities mogen niet langer zijn dan 255 tekens.",address_maxlength:"Adres mag niet groter zijn dan 255 tekens.",ref_number_maxlength:"Ref-nummer mag niet groter zijn dan 255 tekens.",prefix_maxlength:"Het voorvoegsel mag niet meer dan 5 tekens bevatten.",something_went_wrong:"Er is iets fout gegaan"},bm="Offerte",km="Offerte nummer",wm="Offerte Datum",xm="Vervaldatum",zm="Factuur",Sm="Factuurnummer",Pm="Factuur datum",jm="Opleveringsdatum",Dm="Opmerkingen",Cm="Artikelen",Am="Aantal stuks",Nm="Prijs",Em="Korting",Tm="Bedrag",Im="Subtotaal",$m="Totaal",Rm="Payment",Fm="Betalingsafschrift",Mm="Betalingsdatum",Bm="Betalingsnummer",Vm="Betaalmethode",Om="Ontvangen bedrag",Lm="UITGAVEN RAPPORT",Um="TOTALE UITGAVEN",Km="WINST & VERLIES RAPPORT",qm="Sales Customer Report",Wm="Sales Item Report",Zm="Tax Summary Report",Hm="INKOMEN",Gm="NETTO WINST",Ym="Verkooprapport: per klant",Jm="TOTALE VERKOPEN",Xm="Verkooprapport: Per Item",Qm="BELASTINGEN RAPPORT",ep="TOTALE BELASTINGEN",tp="Belastingtypen",ap="Uitgaven",sp="Rekening naar,",np="Verzend naar,",ip="Ontvangen van:",op="Tax";var rp={navigation:sm,general:nm,dashboard:im,tax_types:om,global_search:rm,customers:dm,items:lm,estimates:cm,invoices:_m,payments:um,expenses:mm,login:pm,users:gm,reports:fm,settings:hm,wizard:vm,validation:ym,pdf_estimate_label:bm,pdf_estimate_number:km,pdf_estimate_date:wm,pdf_estimate_expire_date:xm,pdf_invoice_label:zm,pdf_invoice_number:Sm,pdf_invoice_date:Pm,pdf_invoice_due_date:jm,pdf_notes:Dm,pdf_items_label:Cm,pdf_quantity_label:Am,pdf_price_label:Nm,pdf_discount_label:Em,pdf_amount_label:Tm,pdf_subtotal:Im,pdf_total:$m,pdf_payment_label:Rm,pdf_payment_receipt_label:Fm,pdf_payment_date:Mm,pdf_payment_number:Bm,pdf_payment_mode:Vm,pdf_payment_amount_received_label:Om,pdf_expense_report_label:Lm,pdf_total_expenses_label:Um,pdf_profit_loss_label:Km,pdf_sales_customers_label:qm,pdf_sales_items_label:Wm,pdf_tax_summery_label:Zm,pdf_income_label:Hm,pdf_net_profit_label:Gm,pdf_customer_sales_report:Ym,pdf_total_sales_label:Jm,pdf_item_sales_label:Xm,pdf_tax_report_label:Qm,pdf_total_tax_label:ep,pdf_tax_types_label:tp,pdf_expenses_label:ap,pdf_bill_to:sp,pdf_ship_to:np,pdf_received_from:ip,pdf_tax_label:op};const dp={dashboard:"\uACC4\uAE30\uBC18",customers:"\uACE0\uAC1D",items:"\uC544\uC774\uD15C",invoices:"\uC1A1\uC7A5",expenses:"\uACBD\uBE44",estimates:"\uACAC\uC801",payments:"\uC9C0\uBD88",reports:"\uBCF4\uACE0\uC11C",settings:"\uC124\uC815",logout:"\uB85C\uADF8 \uC544\uC6C3",users:"\uC0AC\uC6A9\uC790"},lp={add_company:"\uD68C\uC0AC \uCD94\uAC00",view_pdf:"PDF\uBCF4\uAE30",copy_pdf_url:"PDF URL \uBCF5\uC0AC",download_pdf:"PDF \uB2E4\uC6B4\uB85C\uB4DC",save:"\uC800\uC7A5",create:"\uCC3D\uC870\uD558\uB2E4",cancel:"\uCDE8\uC18C",update:"\uCD5C\uC2E0 \uC815\uBCF4",deselect:"\uC120\uD0DD \uCDE8\uC18C",download:"\uB2E4\uC6B4\uB85C\uB4DC",from_date:"\uC2DC\uC791 \uB0A0\uC9DC",to_date:"\uD604\uC7AC\uAE4C\uC9C0",from:"\uC5D0\uC11C",to:"\uC5D0",sort_by:"\uC815\uB82C \uAE30\uC900",ascending:"\uC624\uB984\uCC28\uC21C",descending:"\uB0B4\uB9BC\uCC28\uC21C",subject:"\uC81C\uBAA9",body:"\uBAB8",message:"\uBA54\uC2DC\uC9C0",send:"\uBCF4\uB0B4\uB2E4",go_back:"\uB3CC\uC544 \uAC00\uAE30",back_to_login:"\uB85C\uADF8\uC778\uC73C\uB85C \uB3CC\uC544\uAC00\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",home:"\uC9D1",filter:"\uD544\uD130",delete:"\uC9C0\uC6B0\uB2E4",edit:"\uD3B8\uC9D1\uD558\uB2E4",view:"\uC804\uB9DD",add_new_item:"\uC0C8 \uD56D\uBAA9 \uCD94\uAC00",clear_all:"\uBAA8\uB450 \uC9C0\uC6B0\uAE30",showing:"\uC804\uC2DC",of:"\uC758",actions:"\uD589\uC704",subtotal:"\uC18C\uACC4",discount:"\uD560\uC778",fixed:"\uACB0\uC815\uB41C",percentage:"\uBC31\uBD84\uC728",tax:"\uC138",total_amount:"\uCD1D\uC561",bill_to:"\uCCAD\uAD6C \uB300\uC0C1",ship_to:"\uBC30\uC1A1\uC9C0",due:"\uC815\uB2F9\uD55C",draft:"\uCD08\uC548",sent:"\uBCF4\uB0C4",all:"\uBAA8\uB450",select_all:"\uBAA8\uB450 \uC120\uD0DD",choose_file:"\uD30C\uC77C\uC744 \uC120\uD0DD\uD558\uB824\uBA74 \uC5EC\uAE30\uB97C \uD074\uB9AD\uD558\uC2ED\uC2DC\uC624",choose_template:"\uD15C\uD50C\uB9BF \uC120\uD0DD",choose:"\uACE0\uB974\uB2E4",remove:"\uC5C6\uC560\uB2E4",powered_by:"\uC81C\uACF5",bytefury:"\uBC14\uC774\uD2B8 \uD4E8\uB9AC",select_a_status:"\uC0C1\uD0DC \uC120\uD0DD",select_a_tax:"\uC138\uAE08 \uC120\uD0DD",search:"\uAC80\uC0C9",are_you_sure:"\uD655\uC2E4\uD569\uB2C8\uAE4C?",list_is_empty:"\uBAA9\uB85D\uC774 \uBE44\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.",no_tax_found:"\uC138\uAE08\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",four_zero_four:"404",you_got_lost:"\uC774\uB7F0! \uB2F9\uC2E0\uC740 \uAE38\uC744 \uC783\uC5C8\uC2B5\uB2C8\uB2E4!",go_home:"\uC9D1\uC5D0\uAC00",test_mail_conf:"\uBA54\uC77C \uAD6C\uC131 \uD14C\uC2A4\uD2B8",send_mail_successfully:"\uBA54\uC77C\uC744 \uC131\uACF5\uC801\uC73C\uB85C \uBCF4\uB0C8\uC2B5\uB2C8\uB2E4.",setting_updated:"\uC124\uC815\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",select_state:"\uC8FC \uC120\uD0DD",select_country:"\uAD6D\uAC00 \uC120\uD0DD",select_city:"\uB3C4\uC2DC \uC120\uD0DD",street_1:"\uAC70\uB9AC 1",street_2:"\uAC70\uB9AC 2",action_failed:"\uC791\uC5C5 \uC2E4\uD328",retry:"\uB2E4\uC2DC \uD574 \uBCF4\uB2E4",choose_note:"\uCC38\uACE0 \uC120\uD0DD",no_note_found:"\uBA54\uBAA8\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",insert_note:"\uBA54\uBAA8 \uC0BD\uC785",copied_pdf_url_clipboard:"PDF URL\uC744 \uD074\uB9BD \uBCF4\uB4DC\uC5D0 \uBCF5\uC0AC\uD588\uC2B5\uB2C8\uB2E4!"},cp={select_year:"\uC5F0\uB3C4 \uC120\uD0DD",cards:{due_amount:"\uC9C0\uBD88\uC561",customers:"\uACE0\uAC1D",invoices:"\uC1A1\uC7A5",estimates:"\uACAC\uC801"},chart_info:{total_sales:"\uB9E4\uC0C1",total_receipts:"\uC601\uC218\uC99D",total_expense:"\uACBD\uBE44",net_income:"\uC21C\uC774\uC775",year:"\uC5F0\uB3C4 \uC120\uD0DD"},monthly_chart:{title:"\uB9E4\uC0C1"},recent_invoices_card:{title:"\uB9CC\uAE30 \uC1A1\uC7A5",due_on:"\uAE30\uD55C",customer:"\uACE0\uAC1D",amount_due:"\uC9C0\uBD88\uC561",actions:"\uD589\uC704",view_all:"\uBAA8\uB450\uBCF4\uAE30"},recent_estimate_card:{title:"\uCD5C\uADFC \uACAC\uC801",date:"\uB370\uC774\uD2B8",customer:"\uACE0\uAC1D",amount_due:"\uC9C0\uBD88\uC561",actions:"\uD589\uC704",view_all:"\uBAA8\uB450\uBCF4\uAE30"}},_p={name:"\uC774\uB984",description:"\uAE30\uC220",percent:"\uD37C\uC13C\uD2B8",compound_tax:"\uBCF5\uD569 \uC138"},up={search:"\uAC80\uC0C9...",customers:"\uACE0\uAC1D",users:"\uC0AC\uC6A9\uC790",no_results_found:"\uAC80\uC0C9 \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4"},mp={title:"\uACE0\uAC1D",add_customer:"\uACE0\uAC1D \uCD94\uAC00",contacts_list:"\uACE0\uAC1D \uBAA9\uB85D",name:"\uC774\uB984",mail:"\uBA54\uC77C | \uBA54\uC77C",statement:"\uC131\uBA85\uC11C",display_name:"\uC774\uB984 \uD45C\uC2DC\uD558\uAE30",primary_contact_name:"\uAE30\uBCF8 \uC5F0\uB77D\uCC98 \uC774\uB984",contact_name:"\uB2F4\uB2F9\uC790 \uC774\uB984",amount_due:"\uC9C0\uBD88\uC561",email:"\uC774\uBA54\uC77C",address:"\uC8FC\uC18C",phone:"\uC804\uD654",website:"\uC6F9 \uC0AC\uC774\uD2B8",overview:"\uAC1C\uC694",enable_portal:"\uD3EC\uD138 \uD65C\uC131\uD654",country:"\uAD6D\uAC00",state:"\uC0C1\uD0DC",city:"\uC2DC\uD2F0",zip_code:"\uC6B0\uD3B8 \uBC88\uD638",added_on:"\uCD94\uAC00\uB428",action:"\uB3D9\uC791",password:"\uC554\uD638",street_number:"\uBC88\uC9C0",primary_currency:"\uAE30\uBCF8 \uD1B5\uD654",description:"\uAE30\uC220",add_new_customer:"\uC2E0\uADDC \uACE0\uAC1D \uCD94\uAC00",save_customer:"\uACE0\uAC1D \uC800\uC7A5",update_customer:"\uACE0\uAC1D \uC5C5\uB370\uC774\uD2B8",customer:"\uACE0\uAC1D | \uACE0\uAC1D",new_customer:"\uC2E0\uADDC \uACE0\uAC1D",edit_customer:"\uACE0\uAC1D \uD3B8\uC9D1",basic_info:"\uAE30\uBCF8 \uC815\uBCF4",billing_address:"\uCCAD\uAD6C \uC9C0 \uC8FC\uC18C",shipping_address:"\uBC30\uC1A1 \uC8FC\uC18C",copy_billing_address:"\uACB0\uC81C\uC5D0\uC11C \uBCF5\uC0AC",no_customers:"\uC544\uC9C1 \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",no_customers_found:"\uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",no_contact:"\uC5F0\uB77D\uCC98 \uC5C6\uC74C",no_contact_name:"\uC5F0\uB77D\uCC98 \uC774\uB984\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",list_of_customers:"\uC774 \uC139\uC158\uC5D0\uB294 \uACE0\uAC1D \uBAA9\uB85D\uC774 \uD3EC\uD568\uB429\uB2C8\uB2E4.",primary_display_name:"\uAE30\uBCF8 \uD45C\uC2DC \uC774\uB984",select_currency:"\uD1B5\uD654 \uC120\uD0DD",select_a_customer:"\uACE0\uAC1D \uC120\uD0DD",type_or_click:"\uC785\uB825\uD558\uAC70\uB098 \uD074\uB9AD\uD558\uC5EC \uC120\uD0DD",new_transaction:"\uC0C8\uB85C\uC6B4 \uAC70\uB798",no_matching_customers:"\uC77C\uCE58\uD558\uB294 \uACE0\uAC1D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",phone_number:"\uC804\uD654 \uBC88\uD638",create_date:"\uB0A0\uC9DC \uC0DD\uC131",confirm_delete:"\uC774 \uACE0\uAC1D\uACFC \uBAA8\uB4E0 \uAD00\uB828 \uC1A1\uC7A5, \uACAC\uC801 \uBC0F \uC9C0\uBD88\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. | \uC774\uB7EC\uD55C \uACE0\uAC1D \uBC0F \uBAA8\uB4E0 \uAD00\uB828 \uCCAD\uAD6C\uC11C, \uACAC\uC801 \uBC0F \uC9C0\uBD88\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",created_message:"\uACE0\uAC1D\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uACE0\uAC1D\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uD588\uC2B5\uB2C8\uB2E4.",deleted_message:"\uACE0\uAC1D\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. | \uACE0\uAC1D\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},pp={title:"\uC544\uC774\uD15C",items_list:"\uD488\uBAA9 \uBAA9\uB85D",name:"\uC774\uB984",unit:"\uB2E8\uC704",description:"\uAE30\uC220",added_on:"\uCD94\uAC00\uB428",price:"\uAC00\uACA9",date_of_creation:"\uC0DD\uC131 \uC77C",not_selected:"\uC120\uD0DD\uD55C \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4.",action:"\uB3D9\uC791",add_item:"\uC544\uC774\uD15C \uCD94\uAC00",save_item:"\uD56D\uBAA9 \uC800\uC7A5",update_item:"\uD56D\uBAA9 \uC5C5\uB370\uC774\uD2B8",item:"\uD56D\uBAA9 | \uC544\uC774\uD15C",add_new_item:"\uC0C8 \uD56D\uBAA9 \uCD94\uAC00",new_item:"\uC0C8\uB85C\uC6B4 \uBB3C\uD488",edit_item:"\uD56D\uBAA9 \uD3B8\uC9D1",no_items:"\uC544\uC9C1 \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",list_of_items:"\uC774 \uC139\uC158\uC5D0\uB294 \uD56D\uBAA9 \uBAA9\uB85D\uC774 \uD3EC\uD568\uB429\uB2C8\uB2E4.",select_a_unit:"\uB2E8\uC704 \uC120\uD0DD",taxes:"\uAD6C\uC2E4",item_attached_message:"\uC774\uBBF8 \uC0AC\uC6A9\uC911\uC778 \uD56D\uBAA9\uC740 \uC0AD\uC81C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",confirm_delete:"\uC774 \uD56D\uBAA9\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. | \uC774 \uD56D\uBAA9\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",created_message:"\uD56D\uBAA9\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uD56D\uBAA9\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",deleted_message:"\uD56D\uBAA9\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. | \uD56D\uBAA9\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},gp={title:"\uACAC\uC801",estimate:"\uACAC\uC801 | \uACAC\uC801",estimates_list:"\uACAC\uC801 \uBAA9\uB85D",days:"{days} \uC77C",months:"{months} \uAC1C\uC6D4",years:"{years} \uB144",all:"\uBAA8\uB450",paid:"\uC720\uB8CC",unpaid:"\uBBF8\uC9C0\uAE09",customer:"\uACE0\uAC1D",ref_no:"\uCC38\uC870 \uBC88\uD638.",number:"\uBC88\uD638",amount_due:"\uC9C0\uBD88\uC561",partially_paid:"\uBD80\uBD84 \uC9C0\uBD88",total:"\uD569\uACC4",discount:"\uD560\uC778",sub_total:"\uC18C\uACC4",estimate_number:"\uACAC\uC801 \uBC88\uD638",ref_number:"\uCC38\uC870 \uBC88\uD638",contact:"\uC811\uCD09",add_item:"\uD56D\uBAA9 \uCD94\uAC00",date:"\uB370\uC774\uD2B8",due_date:"\uB9C8\uAC10\uC77C",expiry_date:"\uB9CC\uB8CC\uC77C",status:"\uC0C1\uD0DC",add_tax:"\uC138\uAE08 \uCD94\uAC00",amount:"\uC591",action:"\uB3D9\uC791",notes:"\uB178\uD2B8",tax:"\uC138",estimate_template:"\uC8FC\uD615",convert_to_invoice:"\uC1A1\uC7A5\uC73C\uB85C \uBCC0\uD658",mark_as_sent:"\uBCF4\uB0B8 \uAC83\uC73C\uB85C \uD45C\uC2DC",send_estimate:"\uACAC\uC801 \uBCF4\uB0B4\uAE30",resend_estimate:"\uACAC\uC801 \uC7AC\uC804\uC1A1",record_payment:"\uAE30\uB85D \uC9C0\uBD88",add_estimate:"\uACAC\uC801 \uCD94\uAC00",save_estimate:"\uACAC\uC801 \uC800\uC7A5",confirm_conversion:"\uC774 \uACAC\uC801\uC740 \uC0C8 \uC778\uBCF4\uC774\uC2A4\uB97C \uB9CC\uB4DC\uB294 \uB370 \uC0AC\uC6A9\uB429\uB2C8\uB2E4.",conversion_message:"\uC778\uBCF4\uC774\uC2A4\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",confirm_send_estimate:"\uC774 \uACAC\uC801\uC740 \uC774\uBA54\uC77C\uC744 \uD1B5\uD574 \uACE0\uAC1D\uC5D0\uAC8C \uC804\uC1A1\uB429\uB2C8\uB2E4.",confirm_mark_as_sent:"\uC774 \uACAC\uC801\uC740 \uC804\uC1A1 \uB41C \uAC83\uC73C\uB85C \uD45C\uC2DC\uB429\uB2C8\uB2E4.",confirm_mark_as_accepted:"\uC774 \uACAC\uC801\uC740 \uC218\uB77D \uB428\uC73C\uB85C \uD45C\uC2DC\uB429\uB2C8\uB2E4.",confirm_mark_as_rejected:"\uC774 \uACAC\uC801\uC740 \uAC70\uBD80 \uB428\uC73C\uB85C \uD45C\uC2DC\uB429\uB2C8\uB2E4.",no_matching_estimates:"\uC77C\uCE58\uD558\uB294 \uACAC\uC801\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",mark_as_sent_successfully:"\uC131\uACF5\uC801\uC73C\uB85C \uC804\uC1A1 \uB41C \uAC83\uC73C\uB85C \uD45C\uC2DC\uB41C \uACAC\uC801",send_estimate_successfully:"\uACAC\uC801\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC804\uC1A1\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",errors:{required:"\uD544\uB4DC\uB294 \uD544\uC218\uC785\uB2C8\uB2E4"},accepted:"\uC218\uB77D \uB428",rejected:"\uAC70\uBD80 \uB428",sent:"\uBCF4\uB0C4",draft:"\uCD08\uC548",declined:"\uAC70\uBD80 \uB428",new_estimate:"\uC0C8\uB85C\uC6B4 \uACAC\uC801",add_new_estimate:"\uC0C8\uB85C\uC6B4 \uACAC\uC801 \uCD94\uAC00",update_Estimate:"\uACAC\uC801 \uC5C5\uB370\uC774\uD2B8",edit_estimate:"\uACAC\uC801 \uC218\uC815",items:"\uD56D\uBAA9",Estimate:"\uACAC\uC801 | \uACAC\uC801",add_new_tax:"\uC0C8 \uC138\uAE08 \uCD94\uAC00",no_estimates:"\uC544\uC9C1 \uACAC\uC801\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",list_of_estimates:"\uC774 \uC139\uC158\uC5D0\uB294 \uACAC\uC801 \uBAA9\uB85D\uC774 \uD3EC\uD568\uB429\uB2C8\uB2E4.",mark_as_rejected:"\uAC70\uBD80 \uB428\uC73C\uB85C \uD45C\uC2DC",mark_as_accepted:"\uC218\uB77D \uB428\uC73C\uB85C \uD45C\uC2DC",marked_as_accepted_message:"\uC218\uB77D \uB41C \uAC83\uC73C\uB85C \uD45C\uC2DC\uB41C \uACAC\uC801",marked_as_rejected_message:"\uAC70\uBD80 \uB41C \uAC83\uC73C\uB85C \uD45C\uC2DC\uB41C \uACAC\uC801",confirm_delete:"\uC774 \uACAC\uC801\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. | \uC774 \uACAC\uC801\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",created_message:"\uACAC\uC801\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uACAC\uC801\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",deleted_message:"\uC608\uC0C1\uCE58\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. | \uACAC\uC801\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",something_went_wrong:"\uBB54\uAC00 \uC798\uBABB \uB410\uC5B4",item:{title:"\uD56D\uBAA9 \uC81C\uBAA9",description:"\uAE30\uC220",quantity:"\uC218\uB7C9",price:"\uAC00\uACA9",discount:"\uD560\uC778",total:"\uD569\uACC4",total_discount:"\uCD1D \uD560\uC778",sub_total:"\uC18C\uACC4",tax:"\uC138",amount:"\uC591",select_an_item:"\uD56D\uBAA9\uC744 \uC785\uB825\uD558\uAC70\uB098 \uD074\uB9AD\uD558\uC5EC \uC120\uD0DD",type_item_description:"\uC720\uD615 \uD56D\uBAA9 \uC124\uBA85 (\uC120\uD0DD \uC0AC\uD56D)"}},fp={title:"\uC1A1\uC7A5",invoices_list:"\uC1A1\uC7A5 \uBAA9\uB85D",days:"{days} \uC77C",months:"{months} \uAC1C\uC6D4",years:"{years} \uB144",all:"\uBAA8\uB450",paid:"\uC720\uB8CC",unpaid:"\uBBF8\uC9C0\uAE09",viewed:"\uC870\uD68C",overdue:"\uC5F0\uCCB4",completed:"\uC644\uB8CC",customer:"\uACE0\uAC1D",paid_status:"\uC9C0\uBD88 \uC0C1\uD0DC",ref_no:"\uCC38\uC870 \uBC88\uD638.",number:"\uBC88\uD638",amount_due:"\uC9C0\uBD88\uC561",partially_paid:"\uBD80\uBD84 \uC9C0\uBD88",total:"\uD569\uACC4",discount:"\uD560\uC778",sub_total:"\uC18C\uACC4",invoice:"\uC1A1\uC7A5 | \uC1A1\uC7A5",invoice_number:"\uC1A1\uC7A5 \uBC88\uD638",ref_number:"\uCC38\uC870 \uBC88\uD638",contact:"\uC811\uCD09",add_item:"\uD56D\uBAA9 \uCD94\uAC00",date:"\uB370\uC774\uD2B8",due_date:"\uB9C8\uAC10\uC77C",status:"\uC0C1\uD0DC",add_tax:"\uC138\uAE08 \uCD94\uAC00",amount:"\uC591",action:"\uB3D9\uC791",notes:"\uB178\uD2B8",view:"\uC804\uB9DD",send_invoice:"\uC1A1\uC7A5\uC744 \uBCF4\uB0B4\uB2E4",resend_invoice:"\uC778\uBCF4\uC774\uC2A4 \uC7AC\uC804\uC1A1",invoice_template:"\uC1A1\uC7A5 \uD15C\uD50C\uB9BF",template:"\uC8FC\uD615",mark_as_sent:"\uBCF4\uB0B8 \uAC83\uC73C\uB85C \uD45C\uC2DC",confirm_send_invoice:"\uC774 \uC778\uBCF4\uC774\uC2A4\uB294 \uC774\uBA54\uC77C\uC744 \uD1B5\uD574 \uACE0\uAC1D\uC5D0\uAC8C \uBC1C\uC1A1\uB429\uB2C8\uB2E4.",invoice_mark_as_sent:"\uC774 \uC778\uBCF4\uC774\uC2A4\uB294 \uBCF4\uB0B8 \uAC83\uC73C\uB85C \uD45C\uC2DC\uB429\uB2C8\uB2E4.",confirm_send:"\uC774 \uC778\uBCF4\uC774\uC2A4\uB294 \uC774\uBA54\uC77C\uC744 \uD1B5\uD574 \uACE0\uAC1D\uC5D0\uAC8C \uBC1C\uC1A1\uB429\uB2C8\uB2E4.",invoice_date:"\uC1A1\uC7A5 \uB0A0\uC9DC",record_payment:"\uAE30\uB85D \uC9C0\uBD88",add_new_invoice:"\uC0C8 \uC1A1\uC7A5 \uCD94\uAC00",update_expense:"\uBE44\uC6A9 \uC5C5\uB370\uC774\uD2B8",edit_invoice:"\uC1A1\uC7A5 \uD3B8\uC9D1",new_invoice:"\uC0C8 \uC1A1\uC7A5",save_invoice:"\uC1A1\uC7A5 \uC800\uC7A5",update_invoice:"\uC1A1\uC7A5 \uC5C5\uB370\uC774\uD2B8",add_new_tax:"\uC0C8 \uC138\uAE08 \uCD94\uAC00",no_invoices:"\uC544\uC9C1 \uC778\uBCF4\uC774\uC2A4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4!",list_of_invoices:"\uC774 \uC139\uC158\uC5D0\uB294 \uC1A1\uC7A5 \uBAA9\uB85D\uC774 \uD3EC\uD568\uB429\uB2C8\uB2E4.",select_invoice:"\uC1A1\uC7A5 \uC120\uD0DD",no_matching_invoices:"\uC77C\uCE58\uD558\uB294 \uC1A1\uC7A5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",mark_as_sent_successfully:"\uC131\uACF5\uC801\uC73C\uB85C \uBC1C\uC1A1 \uB41C \uAC83\uC73C\uB85C \uD45C\uC2DC\uB41C \uC1A1\uC7A5",invoice_sent_successfully:"\uC778\uBCF4\uC774\uC2A4\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC804\uC1A1\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",cloned_successfully:"\uC1A1\uC7A5\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uBCF5\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",clone_invoice:"\uC1A1\uC7A5 \uBCF5\uC81C",confirm_clone:"\uC774 \uC1A1\uC7A5\uC740 \uC0C8 \uC1A1\uC7A5\uC5D0 \uBCF5\uC81C\uB429\uB2C8\uB2E4.",item:{title:"\uD56D\uBAA9 \uC81C\uBAA9",description:"\uAE30\uC220",quantity:"\uC218\uB7C9",price:"\uAC00\uACA9",discount:"\uD560\uC778",total:"\uD569\uACC4",total_discount:"\uCD1D \uD560\uC778",sub_total:"\uC18C\uACC4",tax:"\uC138",amount:"\uC591",select_an_item:"\uD56D\uBAA9\uC744 \uC785\uB825\uD558\uAC70\uB098 \uD074\uB9AD\uD558\uC5EC \uC120\uD0DD",type_item_description:"\uC720\uD615 \uD56D\uBAA9 \uC124\uBA85 (\uC120\uD0DD \uC0AC\uD56D)"},confirm_delete:"\uC774 \uC778\uBCF4\uC774\uC2A4\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. | \uC774\uB7EC\uD55C \uC778\uBCF4\uC774\uC2A4\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",created_message:"\uC1A1\uC7A5\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uC1A1\uC7A5\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",deleted_message:"\uC1A1\uC7A5\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. | \uC778\uBCF4\uC774\uC2A4\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",marked_as_sent_message:"\uC131\uACF5\uC801\uC73C\uB85C \uBC1C\uC1A1 \uB41C \uAC83\uC73C\uB85C \uD45C\uC2DC\uB41C \uC1A1\uC7A5",something_went_wrong:"\uBB54\uAC00 \uC798\uBABB \uB410\uC5B4",invalid_due_amount_message:"\uCD1D \uC1A1\uC7A5 \uAE08\uC561\uC740\uC774 \uC1A1\uC7A5\uC5D0 \uB300\uD55C \uCD1D \uC9C0\uBD88 \uAE08\uC561\uBCF4\uB2E4 \uC791\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uACC4\uC18D\uD558\uB824\uBA74 \uC778\uBCF4\uC774\uC2A4\uB97C \uC5C5\uB370\uC774\uD2B8\uD558\uAC70\uB098 \uAD00\uB828 \uACB0\uC81C\uB97C \uC0AD\uC81C\uD558\uC138\uC694."},hp={title:"\uC9C0\uBD88",payments_list:"\uC9C0\uBD88 \uBAA9\uB85D",record_payment:"\uAE30\uB85D \uC9C0\uBD88",customer:"\uACE0\uAC1D",date:"\uB370\uC774\uD2B8",amount:"\uC591",action:"\uB3D9\uC791",payment_number:"\uACB0\uC81C \uBC88\uD638",payment_mode:"\uC9C0\uBD88 \uBAA8\uB4DC",invoice:"\uC1A1\uC7A5",note:"\uB178\uD2B8",add_payment:"\uC9C0\uBD88 \uCD94\uAC00",new_payment:"\uC0C8\uB85C\uC6B4 \uC9C0\uBD88",edit_payment:"\uACB0\uC81C \uC218\uC815",view_payment:"\uACB0\uC81C\uBCF4\uAE30",add_new_payment:"\uC0C8 \uC9C0\uBD88 \uCD94\uAC00",send_payment_receipt:"\uACB0\uC81C \uC601\uC218\uC99D \uBCF4\uB0B4\uAE30",send_payment:"\uC9C0\uBD88 \uBCF4\uB0B4\uAE30",save_payment:"\uC9C0\uBD88 \uC800\uC7A5",update_payment:"\uACB0\uC81C \uC5C5\uB370\uC774\uD2B8",payment:"\uC9C0\uBD88 | \uC9C0\uBD88",no_payments:"\uC544\uC9C1 \uACB0\uC81C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4!",not_selected:"\uC120\uD0DD\uB418\uC9C0 \uC54A\uC740",no_invoice:"\uC1A1\uC7A5 \uC5C6\uC74C",no_matching_payments:"\uC77C\uCE58\uD558\uB294 \uC9C0\uBD88\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",list_of_payments:"\uC774 \uC139\uC158\uC5D0\uB294 \uC9C0\uBD88 \uBAA9\uB85D\uC774 \uD3EC\uD568\uB429\uB2C8\uB2E4.",select_payment_mode:"\uACB0\uC81C \uBAA8\uB4DC \uC120\uD0DD",confirm_mark_as_sent:"\uC774 \uACAC\uC801\uC740 \uC804\uC1A1 \uB41C \uAC83\uC73C\uB85C \uD45C\uC2DC\uB429\uB2C8\uB2E4.",confirm_send_payment:"\uC774 \uACB0\uC81C\uB294 \uC774\uBA54\uC77C\uC744 \uD1B5\uD574 \uACE0\uAC1D\uC5D0\uAC8C \uC804\uC1A1\uB429\uB2C8\uB2E4.",send_payment_successfully:"\uC9C0\uBD88\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC804\uC1A1\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",something_went_wrong:"\uBB54\uAC00 \uC798\uBABB \uB410\uC5B4",confirm_delete:"\uC774 \uC9C0\uBD88\uAE08\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. | \uC774 \uC9C0\uAE09\uAE08\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",created_message:"\uACB0\uC81C\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uACB0\uC81C\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",deleted_message:"\uACB0\uC81C\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. | \uACB0\uC81C\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",invalid_amount_message:"\uACB0\uC81C \uAE08\uC561\uC774 \uC798\uBABB\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},vp={title:"\uACBD\uBE44",expenses_list:"\uBE44\uC6A9 \uBAA9\uB85D",select_a_customer:"\uACE0\uAC1D \uC120\uD0DD",expense_title:"\uD45C\uC81C",customer:"\uACE0\uAC1D",contact:"\uC811\uCD09",category:"\uBC94\uC8FC",from_date:"\uC2DC\uC791 \uB0A0\uC9DC",to_date:"\uD604\uC7AC\uAE4C\uC9C0",expense_date:"\uB370\uC774\uD2B8",description:"\uAE30\uC220",receipt:"\uC601\uC218\uC99D",amount:"\uC591",action:"\uB3D9\uC791",not_selected:"\uC120\uD0DD\uB418\uC9C0 \uC54A\uC740",note:"\uB178\uD2B8",category_id:"\uCE74\uD14C\uACE0\uB9AC ID",date:"\uB370\uC774\uD2B8",add_expense:"\uBE44\uC6A9 \uCD94\uAC00",add_new_expense:"\uC2E0\uADDC \uBE44\uC6A9 \uCD94\uAC00",save_expense:"\uBE44\uC6A9 \uC808\uAC10",update_expense:"\uBE44\uC6A9 \uC5C5\uB370\uC774\uD2B8",download_receipt:"\uC601\uC218\uC99D \uB2E4\uC6B4\uB85C\uB4DC",edit_expense:"\uBE44\uC6A9 \uD3B8\uC9D1",new_expense:"\uC0C8\uB85C\uC6B4 \uBE44\uC6A9",expense:"\uBE44\uC6A9 | \uACBD\uBE44",no_expenses:"\uC544\uC9C1 \uBE44\uC6A9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4!",list_of_expenses:"\uC774 \uC139\uC158\uC5D0\uB294 \uBE44\uC6A9 \uBAA9\uB85D\uC774 \uD3EC\uD568\uB429\uB2C8\uB2E4.",confirm_delete:"\uC774 \uBE44\uC6A9\uC744 \uD68C\uC218 \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. | \uC774\uB7EC\uD55C \uBE44\uC6A9\uC740 \uD68C\uC218 \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",created_message:"\uBE44\uC6A9\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uBE44\uC6A9\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",deleted_message:"\uBE44\uC6A9\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. | \uBE44\uC6A9\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",categories:{categories_list:"\uCE74\uD14C\uACE0\uB9AC \uBAA9\uB85D",title:"\uD45C\uC81C",name:"\uC774\uB984",description:"\uAE30\uC220",amount:"\uC591",actions:"\uD589\uC704",add_category:"\uCE74\uD14C\uACE0\uB9AC \uCD94\uAC00",new_category:"\uC0C8 \uBD84\uB958",category:"\uCE74\uD14C\uACE0\uB9AC | \uCE74\uD14C\uACE0\uB9AC",select_a_category:"\uCE74\uD14C\uACE0\uB9AC \uC120\uD0DD"}},yp={email:"\uC774\uBA54\uC77C",password:"\uC554\uD638",forgot_password:"\uBE44\uBC00\uBC88\uD638\uB97C \uC78A\uC73C \uC168\uB098\uC694?",or_signIn_with:"\uB610\uB294 \uB2E4\uC74C\uC73C\uB85C \uB85C\uADF8\uC778",login:"\uB85C\uADF8\uC778",register:"\uB808\uC9C0\uC2A4\uD130",reset_password:"\uC554\uD638\uB97C \uC7AC\uC124\uC815",password_reset_successfully:"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815 \uC131\uACF5",enter_email:"\uC774\uBA54\uC77C \uC785\uB825",enter_password:"\uC554\uD638\uB97C \uC785\uB825",retype_password:"\uBE44\uBC00\uBC88\uD638 \uC7AC \uC785\uB825"},bp={title:"\uC0AC\uC6A9\uC790",users_list:"\uC0AC\uC6A9\uC790 \uBAA9\uB85D",name:"\uC774\uB984",description:"\uAE30\uC220",added_on:"\uCD94\uAC00\uB428",date_of_creation:"\uC0DD\uC131 \uC77C",action:"\uB3D9\uC791",add_user:"\uC0AC\uC6A9\uC790 \uCD94\uAC00",save_user:"\uC0AC\uC6A9\uC790 \uC800\uC7A5",update_user:"\uC0AC\uC6A9\uC790 \uC5C5\uB370\uC774\uD2B8",user:"\uC0AC\uC6A9\uC790 | \uC0AC\uC6A9\uC790",add_new_user:"\uC0C8 \uC0AC\uC6A9\uC790 \uCD94\uAC00",new_user:"\uC0C8\uB85C\uC6B4 \uC0AC\uC6A9\uC790",edit_user:"\uC0AC\uC6A9\uC790 \uD3B8\uC9D1",no_users:"\uC544\uC9C1 \uC0AC\uC6A9\uC790\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4!",list_of_users:"\uC774 \uC139\uC158\uC5D0\uB294 \uC0AC\uC6A9\uC790 \uBAA9\uB85D\uC774 \uD3EC\uD568\uB429\uB2C8\uB2E4.",email:"\uC774\uBA54\uC77C",phone:"\uC804\uD654",password:"\uC554\uD638",user_attached_message:"\uC774\uBBF8 \uC0AC\uC6A9\uC911\uC778 \uD56D\uBAA9\uC740 \uC0AD\uC81C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",confirm_delete:"\uC774 \uC0AC\uC6A9\uC790\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. | \uC774\uB7EC\uD55C \uC0AC\uC6A9\uC790\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",created_message:"\uC0AC\uC6A9\uC790\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uC0AC\uC6A9\uC790\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",deleted_message:"\uC0AC\uC6A9\uC790\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4. | \uC0AC\uC6A9\uC790\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},kp={title:"\uBCF4\uACE0\uC11C",from_date:"\uC2DC\uC791 \uB0A0\uC9DC",to_date:"\uD604\uC7AC\uAE4C\uC9C0",status:"\uC0C1\uD0DC",paid:"\uC720\uB8CC",unpaid:"\uBBF8\uC9C0\uAE09",download_pdf:"PDF \uB2E4\uC6B4\uB85C\uB4DC",view_pdf:"PDF\uBCF4\uAE30",update_report:"\uBCF4\uACE0\uC11C \uC5C5\uB370\uC774\uD2B8",report:"\uC2E0\uACE0 | \uBCF4\uACE0\uC11C",profit_loss:{profit_loss:"\uC774\uC775",to_date:"\uD604\uC7AC\uAE4C\uC9C0",from_date:"\uC2DC\uC791 \uB0A0\uC9DC",date_range:"\uAE30\uAC04 \uC120\uD0DD"},sales:{sales:"\uB9E4\uC0C1",date_range:"\uAE30\uAC04 \uC120\uD0DD",to_date:"\uD604\uC7AC\uAE4C\uC9C0",from_date:"\uC2DC\uC791 \uB0A0\uC9DC",report_type:"\uBCF4\uACE0\uC11C \uC720\uD615"},taxes:{taxes:"\uAD6C\uC2E4",to_date:"\uD604\uC7AC\uAE4C\uC9C0",from_date:"\uC2DC\uC791 \uB0A0\uC9DC",date_range:"\uAE30\uAC04 \uC120\uD0DD"},errors:{required:"\uD544\uB4DC\uB294 \uD544\uC218\uC785\uB2C8\uB2E4"},invoices:{invoice:"\uC1A1\uC7A5",invoice_date:"\uC1A1\uC7A5 \uB0A0\uC9DC",due_date:"\uB9C8\uAC10\uC77C",amount:"\uC591",contact_name:"\uB2F4\uB2F9\uC790 \uC774\uB984",status:"\uC0C1\uD0DC"},estimates:{estimate:"\uACAC\uC801",estimate_date:"\uC608\uC0C1 \uB0A0\uC9DC",due_date:"\uB9C8\uAC10\uC77C",estimate_number:"\uACAC\uC801 \uBC88\uD638",ref_number:"\uCC38\uC870 \uBC88\uD638",amount:"\uC591",contact_name:"\uB2F4\uB2F9\uC790 \uC774\uB984",status:"\uC0C1\uD0DC"},expenses:{expenses:"\uACBD\uBE44",category:"\uBC94\uC8FC",date:"\uB370\uC774\uD2B8",amount:"\uC591",to_date:"\uD604\uC7AC\uAE4C\uC9C0",from_date:"\uC2DC\uC791 \uB0A0\uC9DC",date_range:"\uAE30\uAC04 \uC120\uD0DD"}},wp={menu_title:{account_settings:"\uACC4\uC815 \uC124\uC815",company_information:"\uD68C\uC0AC \uC815\uBCF4",customization:"\uCEE4\uC2A4\uD130\uB9C8\uC774\uC9D5",preferences:"\uD658\uACBD \uC124\uC815",notifications:"\uC54C\uB9BC",tax_types:"\uC138\uAE08 \uC720\uD615",expense_category:"\uBE44\uC6A9 \uBC94\uC8FC",update_app:"\uC571 \uC5C5\uB370\uC774\uD2B8",backup:"\uC9C0\uC6D0",file_disk:"\uD30C\uC77C \uB514\uC2A4\uD06C",custom_fields:"\uC0AC\uC6A9\uC790 \uC815\uC758 \uD544\uB4DC",payment_modes:"\uC9C0\uBD88 \uBAA8\uB4DC",notes:"\uB178\uD2B8"},title:"\uC124\uC815",setting:"\uC124\uC815 | \uC124\uC815",general:"\uC77C\uBC18",language:"\uC5B8\uC5B4",primary_currency:"\uAE30\uBCF8 \uD1B5\uD654",timezone:"\uC2DC\uAC04\uB300",date_format:"\uB0A0\uC9DC \uD615\uC2DD",currencies:{title:"\uD1B5\uD654",currency:"\uD1B5\uD654 | \uD1B5\uD654",currencies_list:"\uD1B5\uD654 \uBAA9\uB85D",select_currency:"\uD1B5\uD654 \uC120\uD0DD",name:"\uC774\uB984",code:"\uC554\uD638",symbol:"\uC0C1\uC9D5",precision:"\uC815\uB3C4",thousand_separator:"\uCC9C \uAD6C\uBD84\uC790",decimal_separator:"\uC18C\uC218\uC810 \uAD6C\uBD84 \uAE30\uD638",position:"\uC704\uCE58",position_of_symbol:"\uAE30\uD638 \uC704\uCE58",right:"\uAD8C\uB9AC",left:"\uC67C\uCABD",action:"\uB3D9\uC791",add_currency:"\uD1B5\uD654 \uCD94\uAC00"},mail:{host:"\uBA54\uC77C \uD638\uC2A4\uD2B8",port:"\uBA54\uC77C \uD3EC\uD2B8",driver:"\uBA54\uC77C \uB4DC\uB77C\uC774\uBC84",secret:"\uBE44\uBC00",mailgun_secret:"Mailgun \uBE44\uBC00",mailgun_domain:"\uB3C4\uBA54\uC778",mailgun_endpoint:"Mailgun \uC5D4\uB4DC \uD3EC\uC778\uD2B8",ses_secret:"SES \uBE44\uBC00",ses_key:"SES \uD0A4",password:"\uBA54\uC77C \uBE44\uBC00\uBC88\uD638",username:"\uBA54\uC77C \uC0AC\uC6A9\uC790 \uC774\uB984",mail_config:"\uBA54\uC77C \uAD6C\uC131",from_name:"\uBA54\uC77C \uC774\uB984\uC5D0\uC11C",from_mail:"\uBA54\uC77C \uC8FC\uC18C\uC5D0\uC11C",encryption:"\uBA54\uC77C \uC554\uD638\uD654",mail_config_desc:"\uB2E4\uC74C\uC740 \uC571\uC5D0\uC11C \uC774\uBA54\uC77C\uC744 \uBCF4\uB0B4\uAE30\uC704\uD55C \uC774\uBA54\uC77C \uB4DC\uB77C\uC774\uBC84 \uAD6C\uC131 \uC591\uC2DD\uC785\uB2C8\uB2E4. Sendgrid, SES \uB4F1\uACFC \uAC19\uC740 \uD0C0\uC0AC \uACF5\uAE09\uC790\uB97C \uAD6C\uC131 \uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4."},pdf:{title:"PDF \uC124\uC815",footer_text:"\uBC14\uB2E5 \uAE00 \uD14D\uC2A4\uD2B8",pdf_layout:"PDF \uB808\uC774\uC544\uC6C3"},company_info:{company_info:"\uD68C\uC0AC \uC815\uBCF4",company_name:"\uD68C\uC0AC \uC774\uB984",company_logo:"\uD68C\uC0AC \uB85C\uACE0",section_description:"Crater\uC5D0\uC11C \uC0DD\uC131 \uD55C \uC1A1\uC7A5, \uACAC\uC801 \uBC0F \uAE30\uD0C0 \uBB38\uC11C\uC5D0 \uD45C\uC2DC \uB420 \uD68C\uC0AC\uC5D0 \uB300\uD55C \uC815\uBCF4.",phone:"\uC804\uD654",country:"\uAD6D\uAC00",state:"\uC0C1\uD0DC",city:"\uC2DC\uD2F0",address:"\uC8FC\uC18C",zip:"\uC9C0\uD37C",save:"\uC800\uC7A5",updated_message:"\uD68C\uC0AC \uC815\uBCF4\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},custom_fields:{title:"\uC0AC\uC6A9\uC790 \uC815\uC758 \uD544\uB4DC",section_description:"\uC1A1\uC7A5, \uACAC\uC801 \uC0AC\uC6A9\uC790 \uC9C0\uC815",add_custom_field:"\uC0AC\uC6A9\uC790 \uC815\uC758 \uD544\uB4DC \uCD94\uAC00",edit_custom_field:"\uC0AC\uC6A9\uC790 \uC815\uC758 \uD544\uB4DC \uD3B8\uC9D1",field_name:"\uBD84\uC57C \uBA85",label:"\uC0C1\uD45C",type:"\uC720\uD615",name:"\uC774\uB984",required:"\uD544\uC218",placeholder:"\uC790\uB9AC \uD45C\uC2DC \uC790",help_text:"\uB3C4\uC6C0\uB9D0 \uD14D\uC2A4\uD2B8",default_value:"\uAE30\uBCF8\uAC12",prefix:"\uC811\uB450\uC0AC",starting_number:"\uC2DC\uC791 \uBC88\uD638",model:"\uBAA8\uB378",help_text_description:"\uC0AC\uC6A9\uC790\uAC00\uC774 \uC0AC\uC6A9\uC790 \uC815\uC758 \uD544\uB4DC\uC758 \uBAA9\uC801\uC744 \uC774\uD574\uD558\uB294 \uB370 \uB3C4\uC6C0\uC774\uB418\uB294 \uD14D\uC2A4\uD2B8\uB97C \uC785\uB825\uD558\uC2ED\uC2DC\uC624.",suffix:"\uC811\uBBF8\uC0AC",yes:"\uC608",no:"\uC544\uB2C8",order:"\uC8FC\uBB38",custom_field_confirm_delete:"\uC774 \uC0AC\uC6A9\uC790 \uC815\uC758 \uD544\uB4DC\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",already_in_use:"\uB9DE\uCDA4 \uC785\uB825\uB780\uC774 \uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4.",deleted_message:"\uB9DE\uCDA4 \uC785\uB825\uB780\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",options:"\uC635\uC158",add_option:"\uC635\uC158 \uCD94\uAC00",add_another_option:"\uB2E4\uB978 \uC635\uC158 \uCD94\uAC00",sort_in_alphabetical_order:"\uC54C\uD30C\uBCB3\uC21C\uC73C\uB85C \uC815\uB82C",add_options_in_bulk:"\uC77C\uAD04 \uC635\uC158 \uCD94\uAC00",use_predefined_options:"\uBBF8\uB9AC \uC815\uC758 \uB41C \uC635\uC158 \uC0AC\uC6A9",select_custom_date:"\uB9DE\uCDA4 \uB0A0\uC9DC \uC120\uD0DD",select_relative_date:"\uC0C1\uB300 \uB0A0\uC9DC \uC120\uD0DD",ticked_by_default:"\uAE30\uBCF8\uC801\uC73C\uB85C \uC120\uD0DD\uB428",updated_message:"\uB9DE\uCDA4 \uC785\uB825\uB780\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",added_message:"\uB9DE\uCDA4 \uC785\uB825\uB780\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uCD94\uAC00\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},customization:{customization:"\uB9DE\uCDA4\uD654",save:"\uC800\uC7A5",addresses:{title:"\uAD6C\uC560",section_description:"\uACE0\uAC1D \uCCAD\uAD6C \uC8FC\uC18C \uBC0F \uACE0\uAC1D \uBC30\uC1A1 \uC8FC\uC18C \uD615\uC2DD\uC744 \uC124\uC815\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4 (PDF\uB85C\uB9CC \uD45C\uC2DC\uB428).",customer_billing_address:"\uACE0\uAC1D \uCCAD\uAD6C \uC8FC\uC18C",customer_shipping_address:"\uACE0\uAC1D \uBC30\uC1A1 \uC8FC\uC18C",company_address:"\uD68C\uC0AC \uC8FC\uC18C",insert_fields:"\uD544\uB4DC \uC0BD\uC785",contact:"\uC811\uCD09",address:"\uC8FC\uC18C",display_name:"\uC774\uB984 \uD45C\uC2DC\uD558\uAE30",primary_contact_name:"\uAE30\uBCF8 \uC5F0\uB77D\uCC98 \uC774\uB984",email:"\uC774\uBA54\uC77C",website:"\uC6F9 \uC0AC\uC774\uD2B8",name:"\uC774\uB984",country:"\uAD6D\uAC00",state:"\uC0C1\uD0DC",city:"\uC2DC\uD2F0",company_name:"\uD68C\uC0AC \uC774\uB984",address_street_1:"\uC8FC\uC18C \uAC70\uB9AC 1",address_street_2:"\uC8FC\uC18C Street 2",phone:"\uC804\uD654",zip_code:"\uC6B0\uD3B8 \uBC88\uD638",address_setting_updated:"\uC8FC\uC18C \uC124\uC815\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},updated_message:"\uD68C\uC0AC \uC815\uBCF4\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",invoices:{title:"\uC1A1\uC7A5",notes:"\uB178\uD2B8",invoice_prefix:"\uC1A1\uC7A5 \uC811\uB450\uC0AC",default_invoice_email_body:"\uAE30\uBCF8 \uC1A1\uC7A5 \uC774\uBA54\uC77C \uBCF8\uBB38",invoice_settings:"\uC1A1\uC7A5 \uC124\uC815",autogenerate_invoice_number:"\uC1A1\uC7A5 \uBC88\uD638 \uC790\uB3D9 \uC0DD\uC131",autogenerate_invoice_number_desc:"\uC0C8 \uC778\uBCF4\uC774\uC2A4\uB97C \uC0DD\uC131 \uD560 \uB54C\uB9C8\uB2E4 \uC778\uBCF4\uC774\uC2A4 \uBC88\uD638\uB97C \uC790\uB3D9 \uC0DD\uC131\uD558\uC9C0 \uC54A\uC73C\uB824\uBA74\uC774 \uAE30\uB2A5\uC744 \uBE44\uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624.",invoice_email_attachment:"\uC1A1\uC7A5\uC744 \uCCA8\uBD80 \uD30C\uC77C\uB85C \uBCF4\uB0B4\uAE30",invoice_email_attachment_setting_description:"\uC778\uBCF4\uC774\uC2A4\uB97C \uC774\uBA54\uC77C \uCCA8\uBD80 \uD30C\uC77C\uB85C \uBCF4\uB0B4\uB824\uBA74\uC774 \uC635\uC158\uC744 \uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624. \uC774\uBA54\uC77C\uC758 '\uC778\uBCF4\uC774\uC2A4\uBCF4\uAE30'\uBC84\uD2BC\uC774 \uD65C\uC131\uD654\uB418\uBA74 \uB354 \uC774\uC0C1 \uD45C\uC2DC\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",enter_invoice_prefix:"\uC1A1\uC7A5 \uC811\uB450\uC0AC \uC785\uB825",terms_and_conditions:"\uC774\uC6A9 \uC57D\uAD00",company_address_format:"\uD68C\uC0AC \uC8FC\uC18C \uD615\uC2DD",shipping_address_format:"\uBC30\uC1A1 \uC8FC\uC18C \uD615\uC2DD",billing_address_format:"\uCCAD\uAD6C \uC9C0 \uC8FC\uC18C \uD615\uC2DD",invoice_settings_updated:"\uC778\uBCF4\uC774\uC2A4 \uC124\uC815\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},estimates:{title:"\uACAC\uC801",estimate_prefix:"\uC811\uB450\uC0AC \uCD94\uC815",default_estimate_email_body:"\uAE30\uBCF8 \uC608\uC0C1 \uC774\uBA54\uC77C \uBCF8\uBB38",estimate_settings:"\uC608\uC0C1 \uC124\uC815",autogenerate_estimate_number:"\uACAC\uC801 \uBC88\uD638 \uC790\uB3D9 \uC0DD\uC131",estimate_setting_description:"\uC0C8 \uACAC\uC801\uC744 \uC0DD\uC131 \uD560 \uB54C\uB9C8\uB2E4 \uACAC\uC801 \uBC88\uD638\uB97C \uC790\uB3D9 \uC0DD\uC131\uD558\uC9C0 \uC54A\uC73C\uB824\uBA74\uC774 \uAE30\uB2A5\uC744 \uBE44\uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624.",estimate_email_attachment:"\uACAC\uC801\uC744 \uCCA8\uBD80 \uD30C\uC77C\uB85C \uBCF4\uB0B4\uAE30",estimate_email_attachment_setting_description:"\uACAC\uC801\uC744 \uC774\uBA54\uC77C \uCCA8\uBD80 \uD30C\uC77C\uB85C \uBCF4\uB0B4\uB824\uBA74\uC774 \uC635\uC158\uC744 \uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624. \uC774\uBA54\uC77C\uC758 '\uC608\uC0C1\uBCF4\uAE30'\uBC84\uD2BC\uC774 \uD65C\uC131\uD654\uB418\uBA74 \uB354 \uC774\uC0C1 \uD45C\uC2DC\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",enter_estimate_prefix:"\uACAC\uC801 \uC811\uB450\uC0AC \uC785\uB825",estimate_setting_updated:"\uC608\uC0C1 \uC124\uC815\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",company_address_format:"\uD68C\uC0AC \uC8FC\uC18C \uD615\uC2DD",billing_address_format:"\uCCAD\uAD6C \uC9C0 \uC8FC\uC18C \uD615\uC2DD",shipping_address_format:"\uBC30\uC1A1 \uC8FC\uC18C \uD615\uC2DD"},payments:{title:"\uC9C0\uBD88",description:"\uC9C0\uBD88\uC744\uC704\uD55C \uAC70\uB798 \uBC29\uC2DD",payment_prefix:"\uC9C0\uBD88 \uC811\uB450\uC0AC",default_payment_email_body:"\uAE30\uBCF8 \uACB0\uC81C \uC774\uBA54\uC77C \uBCF8\uBB38",payment_settings:"\uACB0\uC81C \uC124\uC815",autogenerate_payment_number:"\uACB0\uC81C \uBC88\uD638 \uC790\uB3D9 \uC0DD\uC131",payment_setting_description:"\uC0C8 \uACB0\uC81C\uB97C \uC0DD\uC131 \uD560 \uB54C\uB9C8\uB2E4 \uACB0\uC81C \uBC88\uD638\uB97C \uC790\uB3D9 \uC0DD\uC131\uD558\uC9C0 \uC54A\uC73C\uB824\uBA74\uC774 \uAE30\uB2A5\uC744 \uBE44\uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624.",payment_email_attachment:"\uCCA8\uBD80 \uD30C\uC77C\uB85C \uC9C0\uBD88 \uBCF4\uB0B4\uAE30",payment_email_attachment_setting_description:"\uACB0\uC81C \uC601\uC218\uC99D\uC744 \uC774\uBA54\uC77C \uCCA8\uBD80 \uD30C\uC77C\uB85C \uBCF4\uB0B4\uB824\uBA74\uC774 \uC635\uC158\uC744 \uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624. \uC774\uBA54\uC77C\uC758 '\uACB0\uC81C\uBCF4\uAE30'\uBC84\uD2BC\uC774 \uD65C\uC131\uD654\uB418\uBA74 \uB354 \uC774\uC0C1 \uD45C\uC2DC\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",enter_payment_prefix:"\uC9C0\uBD88 \uC811\uB450\uC0AC \uC785\uB825",payment_setting_updated:"\uACB0\uC81C \uC124\uC815\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",payment_modes:"\uC9C0\uBD88 \uBAA8\uB4DC",add_payment_mode:"\uACB0\uC81C \uBAA8\uB4DC \uCD94\uAC00",edit_payment_mode:"\uACB0\uC81C \uBAA8\uB4DC \uC218\uC815",mode_name:"\uBAA8\uB4DC \uC774\uB984",payment_mode_added:"\uACB0\uC81C \uBAA8\uB4DC \uCD94\uAC00",payment_mode_updated:"\uACB0\uC81C \uBAA8\uB4DC \uC5C5\uB370\uC774\uD2B8",payment_mode_confirm_delete:"\uC774 \uACB0\uC81C \uBAA8\uB4DC\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",already_in_use:"\uACB0\uC81C \uBAA8\uB4DC\uAC00 \uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4.",deleted_message:"\uACB0\uC81C \uBAA8\uB4DC\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",company_address_format:"\uD68C\uC0AC \uC8FC\uC18C \uD615\uC2DD",from_customer_address_format:"\uACE0\uAC1D \uC8FC\uC18C \uD615\uC2DD\uC5D0\uC11C"},items:{title:"\uC544\uC774\uD15C",units:"\uB2E8\uC704",add_item_unit:"\uD56D\uBAA9 \uB2E8\uC704 \uCD94\uAC00",edit_item_unit:"\uD56D\uBAA9 \uB2E8\uC704 \uD3B8\uC9D1",unit_name:"\uB2E8\uC704 \uC774\uB984",item_unit_added:"\uD56D\uBAA9 \uB2E8\uC704 \uCD94\uAC00\uB428",item_unit_updated:"\uD56D\uBAA9 \uB2E8\uC704 \uC5C5\uB370\uC774\uD2B8 \uB428",item_unit_confirm_delete:"\uC774 \uD56D\uBAA9 \uB2E8\uC704\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",already_in_use:"\uD56D\uBAA9 \uB2E8\uC704\uAC00 \uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4.",deleted_message:"\uD56D\uBAA9 \uB2E8\uC704\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},notes:{title:"\uB178\uD2B8",description:"\uBA54\uBAA8\uB97C \uC791\uC131\uD558\uACE0 \uC1A1\uC7A5, \uACAC\uC801\uC11C\uC5D0 \uC7AC\uC0AC\uC6A9\uD558\uC5EC \uC2DC\uAC04 \uC808\uC57D",notes:"\uB178\uD2B8",type:"\uC720\uD615",add_note:"\uBA54\uBAA8\uB97C \uCD94\uAC00",add_new_note:"\uC0C8 \uBA54\uBAA8 \uCD94\uAC00",name:"\uC774\uB984",edit_note:"\uBA54\uBAA8 \uC218\uC815",note_added:"\uBA54\uBAA8\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uCD94\uAC00\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",note_updated:"\uCC38\uACE0 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",note_confirm_delete:"\uC774 \uBA54\uBAA8\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",already_in_use:"\uBA54\uBAA8\uAC00 \uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4.",deleted_message:"\uBA54\uBAA8\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."}},account_settings:{profile_picture:"\uD504\uB85C\uD544 \uC0AC\uC9C4",name:"\uC774\uB984",email:"\uC774\uBA54\uC77C",password:"\uC554\uD638",confirm_password:"\uBE44\uBC00\uBC88\uD638 \uD655\uC778",account_settings:"\uACC4\uC815 \uC124\uC815",save:"\uC800\uC7A5",section_description:"\uC774\uB984, \uC774\uBA54\uC77C\uC744 \uC5C5\uB370\uC774\uD2B8 \uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",updated_message:"\uACC4\uC815 \uC124\uC815\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4."},user_profile:{name:"\uC774\uB984",email:"\uC774\uBA54\uC77C",password:"\uC554\uD638",confirm_password:"\uBE44\uBC00\uBC88\uD638 \uD655\uC778"},notification:{title:"\uACF5\uACE0",email:"\uC54C\uB9BC \uBCF4\uB0B4\uAE30",description:"\uBCC0\uACBD \uC0AC\uD56D\uC774\uC788\uC744 \uB54C \uC5B4\uB5A4 \uC774\uBA54\uC77C \uC54C\uB9BC\uC744 \uBC1B\uC73C\uC2DC\uACA0\uC2B5\uB2C8\uAE4C?",invoice_viewed:"\uC1A1\uC7A5 \uC870\uD68C",invoice_viewed_desc:"\uACE0\uAC1D\uC774 \uBD84\uD654\uAD6C \uB300\uC2DC \uBCF4\uB4DC\uB97C \uD1B5\uD574 \uC804\uC1A1 \uB41C \uC1A1\uC7A5\uC744 \uBCFC \uB54C.",estimate_viewed:"\uBCF8 \uACAC\uC801",estimate_viewed_desc:"\uACE0\uAC1D\uC774 \uBD84\uD654\uAD6C \uB300\uC2DC \uBCF4\uB4DC\uB97C \uD1B5\uD574 \uC804\uC1A1 \uB41C \uACAC\uC801\uC744 \uBCFC \uB54C.",save:"\uC800\uC7A5",email_save_message:"\uC774\uBA54\uC77C\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC800\uC7A5\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",please_enter_email:"\uC774\uBA54\uC77C\uC744 \uC785\uB825\uD558\uC2ED\uC2DC\uC624"},tax_types:{title:"\uC138\uAE08 \uC720\uD615",add_tax:"\uC138\uAE08 \uCD94\uAC00",edit_tax:"\uC138\uAE08 \uC218\uC815",description:"\uC6D0\uD558\uB294\uB300\uB85C \uC138\uAE08\uC744 \uCD94\uAC00\uD558\uAC70\uB098 \uC81C\uAC70 \uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. Crater\uB294 \uC1A1\uC7A5\uBFD0\uB9CC \uC544\uB2C8\uB77C \uAC1C\uBCC4 \uD488\uBAA9\uC5D0 \uB300\uD55C \uC138\uAE08\uC744 \uC9C0\uC6D0\uD569\uB2C8\uB2E4.",add_new_tax:"\uC0C8 \uC138\uAE08 \uCD94\uAC00",tax_settings:"\uC138\uAE08 \uC124\uC815",tax_per_item:"\uD488\uBAA9 \uB2F9 \uC138\uAE08",tax_name:"\uC138\uAE08 \uC774\uB984",compound_tax:"\uBCF5\uD569 \uC138",percent:"\uD37C\uC13C\uD2B8",action:"\uB3D9\uC791",tax_setting_description:"\uAC1C\uBCC4 \uC1A1\uC7A5 \uD56D\uBAA9\uC5D0 \uC138\uAE08\uC744 \uCD94\uAC00\uD558\uB824\uBA74\uC774 \uC635\uC158\uC744 \uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624. \uAE30\uBCF8\uC801\uC73C\uB85C \uC138\uAE08\uC740 \uC1A1\uC7A5\uC5D0 \uC9C1\uC811 \uCD94\uAC00\uB429\uB2C8\uB2E4.",created_message:"\uC138\uAE08 \uC720\uD615\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uC138\uAE08 \uC720\uD615\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",deleted_message:"\uC138\uAE08 \uC720\uD615\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",confirm_delete:"\uC774 \uC138\uAE08 \uC720\uD615\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",already_in_use:"\uC138\uAE08\uC774 \uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4."},expense_category:{title:"\uBE44\uC6A9 \uBC94\uC8FC",action:"\uB3D9\uC791",description:"\uBE44\uC6A9 \uD56D\uBAA9\uC744 \uCD94\uAC00\uD558\uB824\uBA74 \uCE74\uD14C\uACE0\uB9AC\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4. \uAE30\uBCF8 \uC124\uC815\uC5D0 \uB530\uB77C \uC774\uB7EC\uD55C \uBC94\uC8FC\uB97C \uCD94\uAC00\uD558\uAC70\uB098 \uC81C\uAC70 \uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",add_new_category:"\uC0C8 \uCE74\uD14C\uACE0\uB9AC \uCD94\uAC00",add_category:"\uCE74\uD14C\uACE0\uB9AC \uCD94\uAC00",edit_category:"\uCE74\uD14C\uACE0\uB9AC \uC218\uC815",category_name:"\uCE74\uD14C\uACE0\uB9AC \uC774\uB984",category_description:"\uAE30\uC220",created_message:"\uBE44\uC6A9 \uBC94\uC8FC\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",deleted_message:"\uBE44\uC6A9 \uBC94\uC8FC\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",updated_message:"\uBE44\uC6A9 \uBC94\uC8FC\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",confirm_delete:"\uC774 \uBE44\uC6A9 \uBC94\uC8FC\uB97C \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",already_in_use:"\uCE74\uD14C\uACE0\uB9AC\uAC00 \uC774\uBBF8 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4."},preferences:{currency:"\uD1B5\uD654",default_language:"\uAE30\uBCF8 \uC5B8\uC5B4",time_zone:"\uC2DC\uAC04\uB300",fiscal_year:"\uD68C\uACC4 \uC5F0\uB3C4",date_format:"\uB0A0\uC9DC \uD615\uC2DD",discount_setting:"\uD560\uC778 \uC124\uC815",discount_per_item:"\uD488\uBAA9\uBCC4 \uD560\uC778",discount_setting_description:"\uAC1C\uBCC4 \uC1A1\uC7A5 \uD56D\uBAA9\uC5D0 \uD560\uC778\uC744 \uCD94\uAC00\uD558\uB824\uBA74\uC774 \uC635\uC158\uC744 \uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624. \uAE30\uBCF8\uC801\uC73C\uB85C \uD560\uC778\uC740 \uC1A1\uC7A5\uC5D0 \uC9C1\uC811 \uCD94\uAC00\uB429\uB2C8\uB2E4.",save:"\uC800\uC7A5",preference:"\uC120\uD638\uB3C4 | \uD658\uACBD \uC124\uC815",general_settings:"\uC2DC\uC2A4\uD15C\uC758 \uAE30\uBCF8 \uAE30\uBCF8 \uC124\uC815\uC785\uB2C8\uB2E4.",updated_message:"\uD658\uACBD \uC124\uC815\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",select_language:"\uC5B8\uC5B4 \uC120\uD0DD",select_time_zone:"\uC2DC\uAC04\uB300 \uC120\uD0DD",select_date_format:"\uB0A0\uC9DC \uD615\uC2DD \uC120\uD0DD",select_financial_year:"\uD68C\uACC4 \uC5F0\uB3C4 \uC120\uD0DD"},update_app:{title:"\uC571 \uC5C5\uB370\uC774\uD2B8",description:"\uC544\uB798 \uBC84\uD2BC\uC744 \uD074\uB9AD\uD558\uC5EC \uC0C8\uB85C\uC6B4 \uC5C5\uB370\uC774\uD2B8\uB97C \uD655\uC778\uD558\uC5EC Crater\uB97C \uC27D\uAC8C \uC5C5\uB370\uC774\uD2B8 \uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",check_update:"\uC5C5\uB370\uC774\uD2B8 \uD655\uC778",avail_update:"\uC0C8\uB85C\uC6B4 \uC5C5\uB370\uC774\uD2B8 \uC0AC\uC6A9 \uAC00\uB2A5",next_version:"\uB2E4\uC74C \uBC84\uC804",requirements:"\uC694\uAD6C \uC0AC\uD56D",update:"\uC9C0\uAE08 \uC5C5\uB370\uC774\uD2B8",update_progress:"\uC5C5\uB370\uC774\uD2B8 \uC9C4\uD589 \uC911 ...",progress_text:"\uBA87 \uBD84 \uC815\uB3C4 \uAC78\uB9BD\uB2C8\uB2E4. \uC5C5\uB370\uC774\uD2B8\uAC00 \uC644\uB8CC\uB418\uAE30 \uC804\uC5D0 \uD654\uBA74\uC744 \uC0C8\uB85C \uACE0\uCE58\uAC70\uB098 \uCC3D\uC744 \uB2EB\uC9C0 \uB9C8\uC2ED\uC2DC\uC624.",update_success:"\uC571\uC774 \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4! \uBE0C\uB77C\uC6B0\uC800 \uCC3D\uC774 \uC790\uB3D9\uC73C\uB85C \uB2E4\uC2DC\uB85C\uB4DC\uB418\uB294 \uB3D9\uC548 \uC7A0\uC2DC \uAE30\uB2E4\uB824\uC8FC\uC2ED\uC2DC\uC624.",latest_message:"\uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uC5C5\uB370\uC774\uD2B8\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4! \uCD5C\uC2E0 \uBC84\uC804\uC744 \uC0AC\uC6A9 \uC911\uC785\uB2C8\uB2E4.",current_version:"\uD604\uC7AC \uBC84\uC804",download_zip_file:"ZIP \uD30C\uC77C \uB2E4\uC6B4\uB85C\uB4DC",unzipping_package:"\uD328\uD0A4\uC9C0 \uC555\uCD95 \uD574\uC81C",copying_files:"\uD30C\uC77C \uBCF5\uC0AC",deleting_files:"\uC0AC\uC6A9\uD558\uC9C0 \uC54A\uB294 \uD30C\uC77C \uC0AD\uC81C",running_migrations:"\uB9C8\uC774\uADF8\uB808\uC774\uC158 \uC2E4\uD589",finishing_update:"\uC5C5\uB370\uC774\uD2B8 \uC644\uB8CC",update_failed:"\uC5C5\uB370\uC774\uD2B8\uAC00 \uC2E4\uD328",update_failed_text:"\uC8C4\uC1A1\uD569\uB2C8\uB2E4! \uC5C5\uB370\uC774\uD2B8 \uC2E4\uD328 : {step} \uB2E8\uACC4"},backup:{title:"\uBC31\uC5C5 | \uBC31\uC5C5",description:"\uBC31\uC5C5\uC740 \uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uB364\uD504\uC640 \uD568\uAED8 \uC9C0\uC815\uD55C \uB514\uB809\uD1A0\uB9AC\uC758 \uBAA8\uB4E0 \uD30C\uC77C\uC744 \uD3EC\uD568\uD558\uB294 zip \uD30C\uC77C\uC785\uB2C8\uB2E4.",new_backup:"\uC0C8 \uBC31\uC5C5 \uCD94\uAC00",create_backup:"\uBC31\uC5C5 \uC0DD\uC131",select_backup_type:"\uBC31\uC5C5 \uC720\uD615 \uC120\uD0DD",backup_confirm_delete:"\uC774 \uBC31\uC5C5\uC744 \uBCF5\uAD6C \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",path:"\uD1B5\uB85C",new_disk:"\uC0C8 \uB514\uC2A4\uD06C",created_at:"\uC5D0 \uC0DD\uC131",size:"\uD06C\uAE30",dropbox:"\uB4DC\uB86D \uBC15\uC2A4",local:"\uD604\uC9C0",healthy:"\uAC74\uAC15\uD55C",amount_of_backups:"\uBC31\uC5C5 \uC591",newest_backups:"\uCD5C\uC2E0 \uBC31\uC5C5",used_storage:"\uC911\uACE0 \uC800\uC7A5",select_disk:"\uB514\uC2A4\uD06C \uC120\uD0DD",action:"\uB3D9\uC791",deleted_message:"\uBC31\uC5C5\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",created_message:"\uBC31\uC5C5\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",invalid_disk_credentials:"\uC120\uD0DD\uD55C \uB514\uC2A4\uD06C\uC758 \uC798\uBABB\uB41C \uC790\uACA9 \uC99D\uBA85"},disk:{title:"\uD30C\uC77C \uB514\uC2A4\uD06C | \uD30C\uC77C \uB514\uC2A4\uD06C",description:"\uAE30\uBCF8\uC801\uC73C\uB85C Crater\uB294 \uBC31\uC5C5, \uC544\uBC14\uD0C0 \uBC0F \uAE30\uD0C0 \uC774\uBBF8\uC9C0 \uD30C\uC77C\uC744 \uC800\uC7A5\uD558\uAE30 \uC704\uD574 \uB85C\uCEEC \uB514\uC2A4\uD06C\uB97C \uC0AC\uC6A9\uD569\uB2C8\uB2E4. \uC120\uD638\uB3C4\uC5D0 \uB530\uB77C DigitalOcean, S3 \uBC0F Dropbox\uC640 \uAC19\uC740 \uB458 \uC774\uC0C1\uC758 \uB514\uC2A4\uD06C \uB4DC\uB77C\uC774\uBC84\uB97C \uAD6C\uC131 \uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",created_at:"\uC5D0 \uC0DD\uC131",dropbox:"\uB4DC\uB86D \uBC15\uC2A4",name:"\uC774\uB984",driver:"\uC6B4\uC804\uC0AC",disk_type:"\uC720\uD615",disk_name:"\uB514\uC2A4\uD06C \uC774\uB984",new_disk:"\uC0C8 \uB514\uC2A4\uD06C \uCD94\uAC00",filesystem_driver:"\uD30C\uC77C \uC2DC\uC2A4\uD15C \uB4DC\uB77C\uC774\uBC84",local_driver:"\uB85C\uCEEC \uB4DC\uB77C\uC774\uBC84",local_root:"\uB85C\uCEEC \uB8E8\uD2B8",public_driver:"\uACF5\uACF5 \uC6B4\uC804\uC790",public_root:"\uACF5\uAC1C \uB8E8\uD2B8",public_url:"\uACF5\uAC1C URL",public_visibility:"\uACF5\uAC1C \uAC00\uC2DC\uC131",media_driver:"\uBBF8\uB514\uC5B4 \uB4DC\uB77C\uC774\uBC84",media_root:"\uBBF8\uB514\uC5B4 \uB8E8\uD2B8",aws_driver:"AWS \uB4DC\uB77C\uC774\uBC84",aws_key:"AWS \uD0A4",aws_secret:"AWS \uBE44\uBC00",aws_region:"AWS \uB9AC\uC804",aws_bucket:"AWS \uBC84\uD0B7",aws_root:"AWS \uB8E8\uD2B8",do_spaces_type:"Do Spaces \uC720\uD615",do_spaces_key:"Do Spaces \uD0A4",do_spaces_secret:"\uC2A4\uD398\uC774\uC2A4 \uC2DC\uD06C\uB9BF",do_spaces_region:"Do Spaces \uC601\uC5ED",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces \uB05D\uC810",do_spaces_root:"\uACF5\uAC04 \uB8E8\uD2B8 \uC218\uD589",dropbox_type:"Dropbox \uC720\uD615",dropbox_token:"Dropbox \uD1A0\uD070",dropbox_key:"Dropbox \uD0A4",dropbox_secret:"Dropbox \uBE44\uBC00",dropbox_app:"Dropbox \uC571",dropbox_root:"Dropbox \uB8E8\uD2B8",default_driver:"\uAE30\uBCF8 \uB4DC\uB77C\uC774\uBC84",is_default:"\uAE30\uBCF8\uAC12\uC785\uB2C8\uB2E4.",set_default_disk:"\uAE30\uBCF8 \uB514\uC2A4\uD06C \uC124\uC815",set_default_disk_confirm:"\uC774 \uB514\uC2A4\uD06C\uB294 \uAE30\uBCF8\uAC12\uC73C\uB85C \uC124\uC815\uB418\uBA70 \uBAA8\uB4E0 \uC0C8 PDF\uAC00\uC774 \uB514\uC2A4\uD06C\uC5D0 \uC800\uC7A5\uB429\uB2C8\uB2E4.",success_set_default_disk:"\uB514\uC2A4\uD06C\uAC00 \uAE30\uBCF8\uAC12\uC73C\uB85C \uC124\uC815\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",save_pdf_to_disk:"PDF\uB97C \uB514\uC2A4\uD06C\uC5D0 \uC800\uC7A5",disk_setting_description:"\uAC01 \uC1A1\uC7A5\uC758 \uC0AC\uBCF8\uC744 \uC800\uC7A5\uD558\uB824\uBA74 \uC774\uAC83\uC744 \uD65C\uC131\uD654\uD558\uC2ED\uC2DC\uC624.",select_disk:"\uB514\uC2A4\uD06C \uC120\uD0DD",disk_settings:"\uB514\uC2A4\uD06C \uC124\uC815",confirm_delete:"\uAE30\uC874 \uD30C\uC77C",action:"\uB3D9\uC791",edit_file_disk:"\uD30C\uC77C \uB514\uC2A4\uD06C \uD3B8\uC9D1",success_create:"\uB514\uC2A4\uD06C\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uCD94\uAC00\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",success_update:"\uB514\uC2A4\uD06C\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC5C5\uB370\uC774\uD2B8\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",error:"\uB514\uC2A4\uD06C \uCD94\uAC00 \uC2E4\uD328",deleted_message:"\uD30C\uC77C \uB514\uC2A4\uD06C\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",disk_variables_save_successfully:"\uB514\uC2A4\uD06C\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uAD6C\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",disk_variables_save_error:"\uB514\uC2A4\uD06C \uAD6C\uC131\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4.",invalid_disk_credentials:"\uC120\uD0DD\uD55C \uB514\uC2A4\uD06C\uC758 \uC798\uBABB\uB41C \uC790\uACA9 \uC99D\uBA85"}},xp={account_info:"\uACC4\uC815 \uC815\uBCF4",account_info_desc:"\uC544\uB798 \uC138\uBD80 \uC815\uBCF4\uB294 \uAE30\uBCF8 \uAD00\uB9AC\uC790 \uACC4\uC815\uC744 \uB9CC\uB4DC\uB294 \uB370 \uC0AC\uC6A9\uB429\uB2C8\uB2E4. \uB610\uD55C \uB85C\uADF8\uC778 \uD6C4 \uC5B8\uC81C\uB4E0\uC9C0 \uC138\uBD80 \uC815\uBCF4\uB97C \uBCC0\uACBD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",name:"\uC774\uB984",email:"\uC774\uBA54\uC77C",password:"\uC554\uD638",confirm_password:"\uBE44\uBC00\uBC88\uD638 \uD655\uC778",save_cont:"\uC800\uC7A5",company_info:"\uD68C\uC0AC \uC815\uBCF4",company_info_desc:"\uC774 \uC815\uBCF4\uB294 \uC1A1\uC7A5\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4. \uB098\uC911\uC5D0 \uC124\uC815 \uD398\uC774\uC9C0\uC5D0\uC11C \uC218\uC815\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",company_name:"\uD68C\uC0AC \uC774\uB984",company_logo:"\uD68C\uC0AC \uB85C\uACE0",logo_preview:"\uB85C\uACE0 \uBBF8\uB9AC\uBCF4\uAE30",preferences:"\uD658\uACBD \uC124\uC815",preferences_desc:"\uC2DC\uC2A4\uD15C\uC758 \uAE30\uBCF8 \uAE30\uBCF8 \uC124\uC815\uC785\uB2C8\uB2E4.",country:"\uAD6D\uAC00",state:"\uC0C1\uD0DC",city:"\uC2DC\uD2F0",address:"\uC8FC\uC18C",street:"Street1 | Street2",phone:"\uC804\uD654",zip_code:"\uC6B0\uD3B8 \uBC88\uD638",go_back:"\uB3CC\uC544 \uAC00\uAE30",currency:"\uD1B5\uD654",language:"\uC5B8\uC5B4",time_zone:"\uC2DC\uAC04\uB300",fiscal_year:"\uD68C\uACC4 \uC5F0\uB3C4",date_format:"\uB0A0\uC9DC \uD615\uC2DD",from_address:"\uC8FC\uC18C\uC5D0\uC11C",username:"\uC0AC\uC6A9\uC790 \uC774\uB984",next:"\uB2E4\uC74C",continue:"\uACC4\uC18D\uD558\uB2E4",skip:"\uAC74\uB108 \uB6F0\uAE30",database:{database:"\uC0AC\uC774\uD2B8 URL",connection:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uC5F0\uACB0",host:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uD638\uC2A4\uD2B8",port:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uD3EC\uD2B8",password:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uBE44\uBC00\uBC88\uD638",app_url:"\uC571 URL",app_domain:"\uC571 \uB3C4\uBA54\uC778",username:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uC0AC\uC6A9\uC790 \uC774\uB984",db_name:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uC774\uB984",db_path:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uACBD\uB85C",desc:"\uC11C\uBC84\uC5D0 \uB370\uC774\uD130\uBCA0\uC774\uC2A4\uB97C \uB9CC\uB4E4\uACE0 \uC544\uB798 \uC591\uC2DD\uC744 \uC0AC\uC6A9\uD558\uC5EC \uC790\uACA9 \uC99D\uBA85\uC744 \uC124\uC815\uD569\uB2C8\uB2E4."},permissions:{permissions:"\uAD8C\uD55C",permission_confirm_title:"\uB108 \uC815\uB9D0 \uACC4\uC18D\uD558\uACE0 \uC2F6\uB2C8?",permission_confirm_desc:"\uD3F4\uB354 \uAD8C\uD55C \uD655\uC778 \uC2E4\uD328",permission_desc:"\uB2E4\uC74C\uC740 \uC571\uC774 \uC791\uB3D9\uD558\uB294 \uB370 \uD544\uC694\uD55C \uD3F4\uB354 \uAD8C\uD55C \uBAA9\uB85D\uC785\uB2C8\uB2E4. \uAD8C\uD55C \uD655\uC778\uC5D0 \uC2E4\uD328\uD558\uBA74 \uD3F4\uB354 \uAD8C\uD55C\uC744 \uC5C5\uB370\uC774\uD2B8\uD558\uC2ED\uC2DC\uC624."},mail:{host:"\uBA54\uC77C \uD638\uC2A4\uD2B8",port:"\uBA54\uC77C \uD3EC\uD2B8",driver:"\uBA54\uC77C \uB4DC\uB77C\uC774\uBC84",secret:"\uBE44\uBC00",mailgun_secret:"Mailgun \uBE44\uBC00",mailgun_domain:"\uB3C4\uBA54\uC778",mailgun_endpoint:"Mailgun \uC5D4\uB4DC \uD3EC\uC778\uD2B8",ses_secret:"SES \uBE44\uBC00",ses_key:"SES \uD0A4",password:"\uBA54\uC77C \uBE44\uBC00\uBC88\uD638",username:"\uBA54\uC77C \uC0AC\uC6A9\uC790 \uC774\uB984",mail_config:"\uBA54\uC77C \uAD6C\uC131",from_name:"\uBA54\uC77C \uC774\uB984\uC5D0\uC11C",from_mail:"\uBA54\uC77C \uC8FC\uC18C\uC5D0\uC11C",encryption:"\uBA54\uC77C \uC554\uD638\uD654",mail_config_desc:"\uB2E4\uC74C\uC740 \uC571\uC5D0\uC11C \uC774\uBA54\uC77C\uC744 \uBCF4\uB0B4\uAE30\uC704\uD55C \uC774\uBA54\uC77C \uB4DC\uB77C\uC774\uBC84 \uAD6C\uC131 \uC591\uC2DD\uC785\uB2C8\uB2E4. Sendgrid, SES \uB4F1\uACFC \uAC19\uC740 \uD0C0\uC0AC \uACF5\uAE09\uC790\uB97C \uAD6C\uC131 \uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4."},req:{system_req:"\uC2DC\uC2A4\uD15C \uC694\uAD6C \uC0AC\uD56D",php_req_version:"PHP (\uBC84\uC804 {version} \uD544\uC694)",check_req:"\uC694\uAD6C \uC0AC\uD56D \uD655\uC778",system_req_desc:"\uD06C\uB808\uC774\uD130\uC5D0\uB294 \uBA87 \uAC00\uC9C0 \uC11C\uBC84 \uC694\uAD6C \uC0AC\uD56D\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uC11C\uBC84\uC5D0 \uD544\uC694\uD55C PHP \uBC84\uC804\uACFC \uC544\uB798\uC5D0 \uC5B8\uAE09 \uB41C \uBAA8\uB4E0 \uD655\uC7A5\uC774 \uC788\uB294\uC9C0 \uD655\uC778\uD558\uC2ED\uC2DC\uC624."},errors:{migrate_failed:"\uB9C8\uC774\uADF8\uB808\uC774\uC158 \uC2E4\uD328",database_variables_save_error:".env \uD30C\uC77C\uC5D0 \uAD6C\uC131\uC744 \uC4F8 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uD30C\uC77C \uAD8C\uD55C\uC744 \uD655\uC778\uD558\uC2ED\uC2DC\uC624",mail_variables_save_error:"\uC774\uBA54\uC77C \uAD6C\uC131\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4.",connection_failed:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4 \uC5F0\uACB0 \uC2E4\uD328",database_should_be_empty:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4\uB294 \uBE44\uC5B4 \uC788\uC5B4\uC57C\uD569\uB2C8\uB2E4."},success:{mail_variables_save_successfully:"\uC774\uBA54\uC77C\uC774 \uC131\uACF5\uC801\uC73C\uB85C \uAD6C\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",database_variables_save_successfully:"\uB370\uC774\uD130\uBCA0\uC774\uC2A4\uAC00 \uC131\uACF5\uC801\uC73C\uB85C \uAD6C\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4."}},zp={invalid_phone:"\uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uC804\uD654 \uBC88\uD638",invalid_url:"\uC798\uBABB\uB41C URL (\uC608 : http://www.craterapp.com)",invalid_domain_url:"\uC798\uBABB\uB41C URL (\uC608 : craterapp.com)",required:"\uD544\uB4DC\uB294 \uD544\uC218\uC785\uB2C8\uB2E4",email_incorrect:"\uC798\uBABB\uB41C \uC774\uBA54\uC77C.",email_already_taken:"\uC774\uBA54\uC77C\uC774 \uC774\uBBF8 \uC0AC\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",email_does_not_exist:"\uC8FC\uC5B4\uC9C4 \uC774\uBA54\uC77C\uC744 \uAC00\uC9C4 \uC0AC\uC6A9\uC790\uAC00 \uC874\uC7AC\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4",item_unit_already_taken:"\uC774 \uD56D\uBAA9 \uB2E8\uC704 \uC774\uB984\uC740 \uC774\uBBF8 \uC0AC\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",payment_mode_already_taken:"\uC774 \uACB0\uC81C \uBAA8\uB4DC \uC774\uB984\uC740 \uC774\uBBF8 \uC0AC\uC6A9\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",send_reset_link:"\uC7AC\uC124\uC815 \uB9C1\uD06C \uBCF4\uB0B4\uAE30",not_yet:"\uC544\uC9C1? \uB2E4\uC2DC \uBCF4\uB0B4\uC918",password_min_length:"\uBE44\uBC00\uBC88\uD638\uB294 {count}\uC790\uB97C \uD3EC\uD568\uD574\uC57C\uD569\uB2C8\uB2E4.",name_min_length:"\uC774\uB984\uC740 {count} \uC790 \uC774\uC0C1\uC774\uC5B4\uC57C\uD569\uB2C8\uB2E4.",enter_valid_tax_rate:"\uC720\uD6A8\uD55C \uC138\uC728\uC744 \uC785\uB825\uD558\uC138\uC694.",numbers_only:"\uC22B\uC790 \uB9CC.",characters_only:"\uBB38\uC790 \uB9CC.",password_incorrect:"\uBE44\uBC00\uBC88\uD638\uB294 \uB3D9\uC77C\uD574\uC57C\uD569\uB2C8\uB2E4.",password_length:"\uBE44\uBC00\uBC88\uD638\uB294 {count} \uC790 \uC5EC\uC57C\uD569\uB2C8\uB2E4.",qty_must_greater_than_zero:"\uC218\uB7C9\uC740 0\uBCF4\uB2E4 \uCEE4\uC57C\uD569\uB2C8\uB2E4.",price_greater_than_zero:"\uAC00\uACA9\uC740 0\uBCF4\uB2E4 \uCEE4\uC57C\uD569\uB2C8\uB2E4.",payment_greater_than_zero:"\uACB0\uC81C \uAE08\uC561\uC740 0\uBCF4\uB2E4 \uCEE4\uC57C\uD569\uB2C8\uB2E4.",payment_greater_than_due_amount:"\uC785\uB825 \uB41C \uACB0\uC81C \uAE08\uC561\uC774\uC774 \uC1A1\uC7A5\uC758 \uB9CC\uAE30 \uAE08\uC561\uC744 \uCD08\uACFC\uD569\uB2C8\uB2E4.",quantity_maxlength:"\uC218\uB7C9\uC740 20 \uC790\uB9AC\uB97C \uCD08\uACFC \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",price_maxlength:"\uAC00\uACA9\uC740 20 \uC790\uB9AC\uB97C \uCD08\uACFC \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",price_minvalue:"\uAC00\uACA9\uC740 0\uBCF4\uB2E4 \uCEE4\uC57C\uD569\uB2C8\uB2E4.",amount_maxlength:"\uAE08\uC561\uC740 20 \uC790\uB9AC\uB97C \uCD08\uACFC \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",amount_minvalue:"\uAE08\uC561\uC740 0\uBCF4\uB2E4 \uCEE4\uC57C\uD569\uB2C8\uB2E4.",description_maxlength:"\uC124\uBA85\uC740 65,000\uC790\uB97C \uCD08\uACFC \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",subject_maxlength:"\uC81C\uBAA9\uC740 100 \uC790 \uC774\uD558 \uC5EC\uC57C\uD569\uB2C8\uB2E4.",message_maxlength:"\uBA54\uC2DC\uC9C0\uB294 255\uC790\uB97C \uCD08\uACFC \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",maximum_options_error:"\uCD5C\uB300 {max} \uAC1C\uC758 \uC635\uC158\uC774 \uC120\uD0DD\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uBA3C\uC800 \uC120\uD0DD\uD55C \uC635\uC158\uC744 \uC81C\uAC70\uD558\uC5EC \uB2E4\uB978 \uC635\uC158\uC744 \uC120\uD0DD\uD558\uC2ED\uC2DC\uC624.",notes_maxlength:"\uBA54\uBAA8\uB294 65,000\uC790\uB97C \uCD08\uACFC \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",address_maxlength:"\uC8FC\uC18C\uB294 255\uC790\uB97C \uCD08\uACFC \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",ref_number_maxlength:"\uCC38\uC870 \uBC88\uD638\uB294 255\uC790\uB97C \uCD08\uACFC \uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",prefix_maxlength:"\uC811\uB450\uC0AC\uB294 5 \uC790 \uC774\uD558 \uC5EC\uC57C\uD569\uB2C8\uB2E4.",something_went_wrong:"\uBB54\uAC00 \uC798\uBABB \uB410\uC5B4"},Sp="\uACAC\uC801",Pp="\uACAC\uC801 \uBC88\uD638",jp="\uC608\uC0C1 \uB0A0\uC9DC",Dp="\uB9CC\uB8CC\uC77C",Cp="\uC1A1\uC7A5",Ap="\uC1A1\uC7A5 \uBC88\uD638",Np="\uC1A1\uC7A5 \uB0A0\uC9DC",Ep="\uB9C8\uAC10\uC77C",Tp="\uB178\uD2B8",Ip="\uC544\uC774\uD15C",$p="\uC218\uB7C9",Rp="\uAC00\uACA9",Fp="\uD560\uC778",Mp="\uC591",Bp="\uC18C\uACC4",Vp="\uD569\uACC4",Op="\uC9C0\uBD88",Lp="\uC601\uC218\uC99D",Up="\uACB0\uC81C\uC77C",Kp="\uACB0\uC81C \uBC88\uD638",qp="\uC9C0\uBD88 \uBAA8\uB4DC",Wp="\uBC1B\uC740 \uAE08\uC561",Zp="\uBE44\uC6A9 \uBCF4\uACE0\uC11C",Hp="\uCD1D \uBE44\uC6A9",Gp="\uC774\uC775",Yp="\uD310\uB9E4 \uACE0\uAC1D \uBCF4\uACE0\uC11C",Jp="\uD310\uB9E4 \uD488\uBAA9 \uBCF4\uACE0\uC11C",Xp="\uC138\uAE08 \uC694\uC57D \uBCF4\uACE0\uC11C",Qp="\uC218\uC785",eg="\uC21C\uC774\uC775",tg="\uD310\uB9E4 \uBCF4\uACE0\uC11C : \uACE0\uAC1D \uBCC4",ag="\uCD1D \uB9E4\uCD9C",sg="\uD310\uB9E4 \uBCF4\uACE0\uC11C : \uD488\uBAA9\uBCC4",ng="\uC138\uAE08 \uBCF4\uACE0\uC11C",ig="\uCD1D \uC138\uAE08",og="\uC138\uAE08 \uC720\uD615",rg="\uACBD\uBE44",dg="\uCCAD\uAD6C\uC11C,",lg="\uBC30\uC1A1\uC9C0,",cg="\uBC1B\uC740 \uC0AC\uB78C :",_g="\uC138";var ug={navigation:dp,general:lp,dashboard:cp,tax_types:_p,global_search:up,customers:mp,items:pp,estimates:gp,invoices:fp,payments:hp,expenses:vp,login:yp,users:bp,reports:kp,settings:wp,wizard:xp,validation:zp,pdf_estimate_label:Sp,pdf_estimate_number:Pp,pdf_estimate_date:jp,pdf_estimate_expire_date:Dp,pdf_invoice_label:Cp,pdf_invoice_number:Ap,pdf_invoice_date:Np,pdf_invoice_due_date:Ep,pdf_notes:Tp,pdf_items_label:Ip,pdf_quantity_label:$p,pdf_price_label:Rp,pdf_discount_label:Fp,pdf_amount_label:Mp,pdf_subtotal:Bp,pdf_total:Vp,pdf_payment_label:Op,pdf_payment_receipt_label:Lp,pdf_payment_date:Up,pdf_payment_number:Kp,pdf_payment_mode:qp,pdf_payment_amount_received_label:Wp,pdf_expense_report_label:Zp,pdf_total_expenses_label:Hp,pdf_profit_loss_label:Gp,pdf_sales_customers_label:Yp,pdf_sales_items_label:Jp,pdf_tax_summery_label:Xp,pdf_income_label:Qp,pdf_net_profit_label:eg,pdf_customer_sales_report:tg,pdf_total_sales_label:ag,pdf_item_sales_label:sg,pdf_tax_report_label:ng,pdf_total_tax_label:ig,pdf_tax_types_label:og,pdf_expenses_label:rg,pdf_bill_to:dg,pdf_ship_to:lg,pdf_received_from:cg,pdf_tax_label:_g};const mg={dashboard:"Inform\u0101cijas panelis",customers:"Klienti",items:"Preces",invoices:"R\u0113\u0137ini",expenses:"Izdevumi",estimates:"Apr\u0113\u0137ini",payments:"Maks\u0101jumi",reports:"Atskaites",settings:"Iestat\u012Bjumi",logout:"Iziet",users:"Lietot\u0101ji"},pg={add_company:"Pievienot uz\u0146\u0113mumu",view_pdf:"Apskat\u012Bt PDF",copy_pdf_url:"Kop\u0113t PDF Url",download_pdf:"Lejupiel\u0101d\u0113t PDF",save:"Saglab\u0101t",create:"Izveidot",cancel:"Atcelt",update:"Atjaunin\u0101t",deselect:"Atcelt iez\u012Bm\u0113\u0161anu",download:"Lejupiel\u0101d\u0113t",from_date:"Datums no",to_date:"Datums l\u012Bdz",from:"No",to:"Kam",sort_by:"K\u0101rtot p\u0113c",ascending:"Augo\u0161\u0101 sec\u012Bb\u0101",descending:"Dilsto\u0161\u0101 sec\u012Bb\u0101",subject:"Temats",body:"Saturs",message:"Zi\u0146ojums",send:"Nos\u016Bt\u012Bt",go_back:"Atpaka\u013C",back_to_login:"Atpaka\u013C uz autoriz\u0101ciju?",home:"S\u0101kums",filter:"Filtr\u0113t",delete:"Dz\u0113st",edit:"Labot",view:"Skat\u012Bt",add_new_item:"Pievienot jaunu",clear_all:"Not\u012Br\u012Bt visu",showing:"R\u0101da",of:"no",actions:"Darb\u012Bbas",subtotal:"KOP\u0100",discount:"ATLAIDE",fixed:"Fiks\u0113ts",percentage:"Procenti",tax:"Nodoklis",total_amount:"KOP\u0100 APMAKSAI",bill_to:"Sa\u0146\u0113m\u0113js",ship_to:"Pieg\u0101d\u0101t uz",due:"Due",draft:"Melnraksts",sent:"Nos\u016Bt\u012Bts",all:"Visi",select_all:"Iez\u012Bm\u0113t visu",choose_file:"Speid \u0161eit, lai izv\u0113l\u0113tos failu",choose_template:"Izv\u0113laties sagatavi",choose:"Izv\u0113lies",remove:"Dz\u0113st",select_a_status:"Izv\u0113lieties statusu",select_a_tax:"Izv\u0113l\u0113ties nodokli",search:"Mekl\u0113t",are_you_sure:"Vai esat p\u0101rliecin\u0101ts?",list_is_empty:"Saraksts ir tuk\u0161s.",no_tax_found:"Nodoklis nav atrasts!",four_zero_four:"404",you_got_lost:"Op\u0101! Esi apmald\u012Bjies!",go_home:"Uz S\u0101kumu",test_mail_conf:"J\u016Bsu e-pasta uzst\u0101d\u012Bjumu tests",send_mail_successfully:"Veiksm\u012Bgi nos\u016Bt\u012Bts",setting_updated:"Iestat\u012Bjumi tika veiksm\u012Bgi atjaunin\u0101ti",select_state:"Izv\u0113lieties re\u0123ionu",select_country:"Izv\u0113l\u0113ties valsti",select_city:"Izv\u0113lieties pils\u0113tu",street_1:"Adrese 1",street_2:"Adrese 2",action_failed:"Darb\u012Bba neizdev\u0101s",retry:"Atk\u0101rtot",choose_note:"Izv\u0113lieties piez\u012Bmi",no_note_found:"Piez\u012Bmes nav atrastas",insert_note:"Ievietot piez\u012Bmi"},gg={select_year:"Izv\u0113lieties gadu",cards:{due_amount:"Apmaksas summa",customers:"Klienti",invoices:"R\u0113\u0137ini",estimates:"Apr\u0113\u0137ini"},chart_info:{total_sales:"P\u0101rdotais",total_receipts:"\u010Ceki",total_expense:"Izdevumi",net_income:"Pe\u013C\u0146a",year:"Izv\u0113lieties gadu"},monthly_chart:{title:"P\u0101rdotais un Izdevumi"},recent_invoices_card:{title:"Pien\u0101ko\u0161ie r\u0113\u0137ini",due_on:"Termi\u0146\u0161",customer:"Klients",amount_due:"Apmaksas summa",actions:"Darb\u012Bbas",view_all:"Skat\u012Bt visus"},recent_estimate_card:{title:"Nesenie apr\u0113\u0137ini",date:"Datums",customer:"Klients",amount_due:"Apmaksas summa",actions:"Darb\u012Bbas",view_all:"Skat\u012Bt visus"}},fg={name:"Nosaukums",description:"Apraksts",percent:"Procenti",compound_tax:"Compound Tax"},hg={search:"Mekl\u0113t...",customers:"Klienti",users:"Lietot\u0101ji",no_results_found:"Nav atbilsto\u0161u rezult\u0101tu"},vg={title:"Klienti",add_customer:"Pievienot klientu",contacts_list:"Klientu saraksts",name:"V\u0101rds",mail:"Pasts",statement:"Statement",display_name:"Nosaukums",primary_contact_name:"Galven\u0101 kontakta v\u0101rds",contact_name:"Kontaktpersonas v\u0101rds",amount_due:"Kop\u0101",email:"E-pasts",address:"Adrese",phone:"Telefona numurs",website:"M\u0101jaslapa",overview:"P\u0101rskats",enable_portal:"Aktiviz\u0113t port\u0101lu",country:"Valsts",state:"Re\u0123ions",city:"Pils\u0113ta",zip_code:"Pasta indekss",added_on:"Pievienots",action:"Darb\u012Bba",password:"Parole",street_number:"Adrese",primary_currency:"Prim\u0101r\u0101 val\u016Bta",description:"Apraksts",add_new_customer:"Pievienot jaunu klientu",save_customer:"Saglab\u0101t klientu",update_customer:"Atjaunin\u0101t klientu",customer:"Klients | Klienti",new_customer:"Jauns klients",edit_customer:"Redi\u0123\u0113t klientu",basic_info:"Pamatinform\u0101cija",billing_address:"Juridisk\u0101 adrese",shipping_address:"Pieg\u0101des adrese",copy_billing_address:"Kop\u0113t no juridisk\u0101s adreses",no_customers:"Pagaid\u0101m nav klientu!",no_customers_found:"Klienti netika atrasti!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"\u0160aj\u0101 sada\u013C\u0101 b\u016Bs klientu saraksts.",primary_display_name:"Klienta nosaukums",select_currency:"Izv\u0113lieties val\u016Btu",select_a_customer:"Izv\u0113l\u0113ties klientu",type_or_click:"Rakst\u012Bt vai spiest, lai izv\u0113l\u0113tos",new_transaction:"Jauns dar\u012Bjums",no_matching_customers:"Netika atrasts neviens klients!",phone_number:"Telefona numurs",create_date:"Izveido\u0161anas datums",confirm_delete:"J\u016Bs nevar\u0113sit atg\u016Bt \u0161o klientu un visus saist\u012Btos r\u0113\u0137inus, apr\u0113\u0137inus un maks\u0101jumus.",created_message:"Klients izveidots veiksm\u012Bgi",updated_message:"Klients atjaunin\u0101ts veiksm\u012Bgi",deleted_message:"Klients veiksm\u012Bgi izdz\u0113sts"},yg={title:"Preces",items_list:"Pre\u010Du saraksts",name:"Nosaukums",unit:"Vien\u012Bba",description:"Apraksts",added_on:"Pievienots",price:"Cena",date_of_creation:"Izveido\u0161anas datums",not_selected:"No item selected",action:"Darb\u012Bba",add_item:"Pievienot",save_item:"Saglab\u0101t",update_item:"Atjaunin\u0101t",item:"Prece | Preces",add_new_item:"Pievienot jaunu preci",new_item:"Jauna prece",edit_item:"Redi\u0123\u0113t preci",no_items:"Nav pre\u010Du!",list_of_items:"\u0160aj\u0101 sada\u013C\u0101 b\u016Bs pre\u010Du/pakalpojumu saraksts.",select_a_unit:"atlasiet vien\u012Bbu",taxes:"Nodok\u013Ci",item_attached_message:"Nevar dz\u0113st preci, kura tiek izmantota",confirm_delete:"J\u016Bs nevar\u0113siet atg\u016Bt \u0161o preci",created_message:"Prece izveidota veiksm\u012Bgi",updated_message:"Prece atjaunin\u0101ta veiksm\u012Bgi",deleted_message:"Prece veiksm\u012Bgi izdz\u0113sta"},bg={title:"Apr\u0113\u0137ini",estimate:"Apr\u0113\u0137ins | Apr\u0113\u0137ini",estimates_list:"Apr\u0113\u0137inu saraksts",days:"{days} Dienas",months:"{months} M\u0113nesis",years:"{years} Gads",all:"Visi",paid:"Apmaks\u0101ts",unpaid:"Neapmaks\u0101ts",customer:"KLIENTS",ref_no:"REF NR.",number:"NUMURS",amount_due:"Summa apmaksai",partially_paid:"Da\u013C\u0113ji apmaks\u0101ts",total:"Kop\u0101",discount:"Atlaide",sub_total:"Starpsumma",estimate_number:"Apr\u0113\u0137ina numurs",ref_number:"Ref numurs",contact:"Kontakti",add_item:"Pievienot preci",date:"Datums",due_date:"Apmaksas termi\u0146\u0161",expiry_date:"Termi\u0146a beigu datums",status:"Status",add_tax:"Pievienot nodokli",amount:"Summa",action:"Darb\u012Bba",notes:"Piez\u012Bmes",tax:"Nodoklis",estimate_template:"Sagatave",convert_to_invoice:"P\u0101rveidot par r\u0113\u0137inu",mark_as_sent:"Atz\u012Bm\u0113t k\u0101 nos\u016Bt\u012Btu",send_estimate:"Nos\u016Bt\u012Bt apr\u0113\u0137inu",resend_estimate:"Atk\u0101rtoti nos\u016Bt\u012Bt apr\u0113\u0137inu",record_payment:"Izveidot maks\u0101jumu",add_estimate:"Pievienot apr\u0113\u0137inu",save_estimate:"Saglab\u0101t apr\u0113\u0137inu",confirm_conversion:"\u0160is apr\u0113\u0137ins tiks izmantots, lai izveidotu jaunu r\u0113\u0137inu.",conversion_message:"R\u0113\u0137ins izveidots veiksm\u012Bgi",confirm_send_estimate:"\u0160is apr\u0113\u0137ins tiks nos\u016Bt\u012Bts klientam e-past\u0101",confirm_mark_as_sent:"Apr\u0113\u0137ins tiks atz\u012Bm\u0113ts k\u0101 nos\u016Bt\u012Bts",confirm_mark_as_accepted:"Apr\u0113\u0137ins tiks atz\u012Bm\u0113ts k\u0101 apstiprin\u0101ts",confirm_mark_as_rejected:"Apr\u0113\u0137ins tiks atz\u012Bm\u0113ts k\u0101 noraid\u012Bts",no_matching_estimates:"Netika atrasts neviens apr\u0113\u0137ins!",mark_as_sent_successfully:"Apr\u0113\u0137ins atz\u012Bm\u0113ts k\u0101 veiksm\u012Bgi nos\u016Bt\u012Bts",send_estimate_successfully:"Apr\u0113\u0137ins veiksm\u012Bgi nos\u016Bt\u012Bts",errors:{required:"\u0160is lauks ir oblig\u0101ts"},accepted:"Apstiprin\u0101ts",rejected:"Rejected",sent:"Nos\u016Bt\u012Bts",draft:"Melnraksts",declined:"Noraid\u012Bts",new_estimate:"Jauns apr\u0113\u0137ins",add_new_estimate:"Pievienot jaunu apr\u0113\u0137inu",update_Estimate:"Atjaunin\u0101t apr\u0113\u0137inu",edit_estimate:"Labot apr\u0113\u0137inu",items:"preces",Estimate:"Apr\u0113\u0137ins | Apr\u0113\u0137ini",add_new_tax:"Pievienot jaunu nodokli",no_estimates:"V\u0113l nav apr\u0113\u0137inu!",list_of_estimates:"\u0160aj\u0101 sada\u013C\u0101 b\u016Bs apr\u0113\u0137inu saraksts.",mark_as_rejected:"Atz\u012Bm\u0113t k\u0101 noraid\u012Btu",mark_as_accepted:"Atz\u012Bm\u0113t k\u0101 apstiprin\u0101tu",marked_as_accepted_message:"Apr\u0113\u0137ins atz\u012Bm\u0113ts k\u0101 apstiprin\u0101ts",marked_as_rejected_message:"Apr\u0113\u0137ins atz\u012Bm\u0113ts k\u0101 noraid\u012Bts",confirm_delete:"J\u016Bs nevar\u0113siet atg\u016Bt \u0161o apr\u0113\u0137inu | J\u016Bs nevar\u0113siet atg\u016Bt \u0161o apr\u0113\u0137inus",created_message:"Apr\u0113\u0137ins izveidots veiksm\u012Bgi",updated_message:"Apr\u0113\u0137ins atjaunin\u0101ts veiksm\u012Bgi",deleted_message:"Apr\u0113\u0137ins veiksm\u012Bgi izdz\u0113sts | Apr\u0113\u0137ini veiksm\u012Bgi izdz\u0113sti",something_went_wrong:"kaut kas nog\u0101ja greizi",item:{title:"Preces nosaukums",description:"Apraksts",quantity:"Daudzums",price:"Cena",discount:"Atlaide",total:"Kop\u0101",total_discount:"Kop\u0113j\u0101 atlaide",sub_total:"Starpsumma",tax:"Nodoklis",amount:"Summa",select_an_item:"Rakst\u012Bt vai spiest, lai izv\u0113l\u0113tos",type_item_description:"Ievadiet preces/pakalpojuma aprakstu (nav oblig\u0101ti)"}},kg={title:"R\u0113\u0137ini",invoices_list:"R\u0113\u0137inu saraksts",days:"{days} Dienas",months:"{months} M\u0113nesis",years:"{years} Gads",all:"Visi",paid:"Apmaks\u0101ts",unpaid:"Neapmaks\u0101ts",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"KLIENTS",paid_status:"APMAKSAS STATUS",ref_no:"REF NR.",number:"NUMURS",amount_due:"SUMMA APMAKSAI",partially_paid:"Da\u013C\u0113ji apmaks\u0101ts",total:"Kop\u0101",discount:"Atlaide",sub_total:"Starpsumma",invoice:"R\u0113\u0137ins | R\u0113\u0137ini",invoice_number:"R\u0113\u0137ina numurs",ref_number:"Ref numurs",contact:"Kontakti",add_item:"Pievienot preci",date:"Datums",due_date:"Apmaksas termi\u0146\u0161",status:"Status",add_tax:"Pievienot nodokli",amount:"Summa",action:"Darb\u012Bba",notes:"Piez\u012Bmes",view:"Skat\u012Bt",send_invoice:"Nos\u016Bt\u012Bt r\u0113\u0137inu",resend_invoice:"Nos\u016Bt\u012Bt r\u0113\u0137inu atk\u0101rtoti",invoice_template:"R\u0113\u0137ina sagatave",template:"Sagatave",mark_as_sent:"Atz\u012Bm\u0113t k\u0101 nos\u016Bt\u012Btu",confirm_send_invoice:"\u0160is r\u0113\u0137ins tiks nos\u016Bt\u012Bts klientam e-past\u0101",invoice_mark_as_sent:"R\u0113\u0137ins tiks atz\u012Bm\u0113ts k\u0101 nos\u016Bt\u012Bts",confirm_send:"\u0160is r\u0113\u0137ins tiks nos\u016Bt\u012Bts klientam e-past\u0101",invoice_date:"R\u0113\u0137ina datums",record_payment:"Izveidot maks\u0101jumu",add_new_invoice:"Jauns r\u0113\u0137ins",update_expense:"Atjaunin\u0101t izdevumu",edit_invoice:"Redi\u0123\u0113t r\u0113\u0137inu",new_invoice:"Jauns r\u0113\u0137ins",save_invoice:"Saglab\u0101t r\u0113\u0137inu",update_invoice:"Atjaunin\u0101t r\u0113\u0137inu",add_new_tax:"Pievienot jaunu nodokli",no_invoices:"V\u0113l nav r\u0113\u0137inu!",list_of_invoices:"\u0160aj\u0101 sada\u013C\u0101 b\u016Bs r\u0113\u0137inu saraksts.",select_invoice:"Izv\u0113laties r\u0113\u0137inu",no_matching_invoices:"Netika atrasts neviens r\u0113\u0137ins!",mark_as_sent_successfully:"R\u0113\u0137ins atz\u012Bm\u0113ts k\u0101 veiksm\u012Bgi nos\u016Bt\u012Bts",invoice_sent_successfully:"R\u0113\u0137ins ir veiksm\u012Bgi nos\u016Bt\u012Bts",cloned_successfully:"R\u0113\u0137ins ir veiksm\u012Bgi nokop\u0113ts",clone_invoice:"Kop\u0113t r\u0113\u0137inu",confirm_clone:"\u0160is r\u0113\u0137ins tiks nokop\u0113ts k\u0101 jauns r\u0113\u0137ins",item:{title:"Preces nosaukums",description:"Apraksts",quantity:"Daudzums",price:"Cena",discount:"Atlaide",total:"Kop\u0101",total_discount:"Kop\u0113j\u0101 atlaide",sub_total:"Starpsumma",tax:"Nodoklis",amount:"Summa",select_an_item:"Rakst\u012Bt vai spiest, lai izv\u0113l\u0113tos",type_item_description:"Ievadiet preces/pakalpojuma aprakstu (nav oblig\u0101ti)"},confirm_delete:"J\u016Bs nevar\u0113siet atg\u016Bt \u0161o r\u0113\u0137inu | J\u016Bs nevar\u0113siet atg\u016Bt \u0161os r\u0113\u0137inus",created_message:"R\u0113\u0137ins izveidots veiksm\u012Bgi",updated_message:"R\u0113\u0137ins ir veiksm\u012Bgi atjaunin\u0101ts",deleted_message:"R\u0113\u0137ins veiksm\u012Bgi izdz\u0113sts | R\u0113\u0137ini veiksm\u012Bgi izdz\u0113sti",marked_as_sent_message:"R\u0113\u0137ins atz\u012Bm\u0113ts k\u0101 veiksm\u012Bgi nos\u016Bt\u012Bts",something_went_wrong:"kaut kas nog\u0101ja greizi",invalid_due_amount_message:"R\u0113\u0137ina kop\u0113j\u0101 summa nevar b\u016Bt maz\u0101ka par kop\u0113jo apmaks\u0101to summu. L\u016Bdzu atjauniniet r\u0113\u0137inu vai dz\u0113siet piesaist\u012Btos maks\u0101jumus, lai turpin\u0101tu."},wg={title:"Maks\u0101jumi",payments_list:"Maks\u0101jumu saraksts",record_payment:"Izveidot maks\u0101jumu",customer:"Klients",date:"Datums",amount:"Summa",action:"Darb\u012Bba",payment_number:"Maks\u0101juma numurs",payment_mode:"Apmaksas veids",invoice:"R\u0113\u0137ins",note:"Piez\u012Bme",add_payment:"Pievienot maks\u0101jumu",new_payment:"Jauns maks\u0101jums",edit_payment:"Labot maks\u0101jumu",view_payment:"Skat\u012Bt maks\u0101jumu",add_new_payment:"Pievienot jaunu maks\u0101jumu",send_payment_receipt:"Nos\u016Bt\u012Bt maks\u0101juma izdruku",send_payment:"Nos\u016Bt\u012Bt maks\u0101jumu",save_payment:"Saglab\u0101t maks\u0101jumu",update_payment:"Labot maks\u0101jumu",payment:"Maks\u0101jums | Maks\u0101jumi",no_payments:"Nav pievienotu maks\u0101jumu!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"Netika atrasts neviens maks\u0101jums!",list_of_payments:"\u0160aj\u0101 sada\u013C\u0101 b\u016Bs maks\u0101jumu saraksts.",select_payment_mode:"Izv\u0113l\u0113ties maks\u0101juma veidu",confirm_mark_as_sent:"Apr\u0113\u0137ins tiks atz\u012Bm\u0113ts k\u0101 nos\u016Bt\u012Bts",confirm_send_payment:"\u0160is maks\u0101jums tiks nos\u016Bt\u012Bts klientam e-past\u0101",send_payment_successfully:"Maks\u0101jums veiksm\u012Bgi nos\u016Bt\u012Bts",something_went_wrong:"kaut kas nog\u0101ja greizi",confirm_delete:"J\u016Bs nevar\u0113siet atg\u016Bt \u0161o maks\u0101jumu | J\u016Bs nevar\u0113siet atg\u016Bt \u0161os maks\u0101jumus",created_message:"Maks\u0101jums veiksm\u012Bgi izveidots",updated_message:"Maks\u0101jums veiksm\u012Bgi labots",deleted_message:"Maks\u0101jums veiksm\u012Bgi izdz\u0113sts | Maks\u0101jumi veiksm\u012Bgi izdz\u0113sti",invalid_amount_message:"Maks\u0101juma summa nav pareiza"},xg={title:"Izdevumi",expenses_list:"Izdevumu saraksts",select_a_customer:"Izv\u0113l\u0113ties klientu",expense_title:"Nosaukums",customer:"Klients",contact:"Kontakti",category:"Kategorija",from_date:"Datums no",to_date:"Datums l\u012Bdz",expense_date:"Datums",description:"Apraksts",receipt:"\u010Ceks",amount:"Summa",action:"Darb\u012Bba",not_selected:"Not selected",note:"Piez\u012Bme",category_id:"Kategorijas Id",date:"Datums",add_expense:"Pievienot izdevumu",add_new_expense:"Pievienot jaunu izdevumu",save_expense:"Saglab\u0101t izdevumu",update_expense:"Atjaunin\u0101t izdevumu",download_receipt:"Lejupiel\u0101d\u0113t \u010Deku",edit_expense:"Labot izdevumu",new_expense:"Jauns izdevums",expense:"Izdevums | Izdevumi",no_expenses:"V\u0113l nav izdevumu!",list_of_expenses:"\u0160aj\u0101 sada\u013C\u0101 b\u016Bs izdevumu saraksts.",confirm_delete:"J\u016Bs nevar\u0113siet atg\u016Bt \u0161o izdevumu | J\u016Bs nevar\u0113siet atg\u016Bt \u0161os izdevumus",created_message:"Izdevums izveidots veiksm\u012Bgi",updated_message:"Izdevums atjaunin\u0101ts veiksm\u012Bgi",deleted_message:"Izdevums veiksm\u012Bgi izdz\u0113sts | Izdevumi veiksm\u012Bgi izdz\u0113sti",categories:{categories_list:"Kategoriju saraksts",title:"Nosaukums",name:"V\u0101rds",description:"Apraksts",amount:"Summa",actions:"Darb\u012Bbas",add_category:"Pievienot kategoriju",new_category:"Jauna Kategorija",category:"Kategorija | Kategorijas",select_a_category:"Izv\u0113lieties kategoriju"}},zg={email:"E-pasts",password:"Parole",forgot_password:"Aizmirsi paroli?",or_signIn_with:"vai pierakst\u012Bties ar",login:"Ielogoties",register:"Re\u0123istr\u0113ties",reset_password:"Atjaunot paroli",password_reset_successfully:"Parole atjaunota veiksm\u012Bgi",enter_email:"Ievadiet e-pastu",enter_password:"Ievadiet paroli",retype_password:"Atk\u0101rtoti ievadiet paroli"},Sg={title:"Lietot\u0101ji",users_list:"Lietot\u0101ju saraksts",name:"V\u0101rds",description:"Apraksts",added_on:"Pievienots",date_of_creation:"Izveido\u0161anas datums",action:"Darb\u012Bba",add_user:"Pievienot lietot\u0101ju",save_user:"Saglab\u0101t lietot\u0101ju",update_user:"Atjaunin\u0101t lietot\u0101ju",user:"Lietot\u0101js | Lietot\u0101ji",add_new_user:"Pievienot jaunu lietot\u0101ju",new_user:"Jauns lietot\u0101js",edit_user:"Redi\u0123\u0113t lietot\u0101ju",no_users:"Pagaid\u0101m nav lietot\u0101ju!",list_of_users:"\u0160aj\u0101 sada\u013C\u0101 b\u016Bs lietot\u0101ju saraksts.",email:"E-pasts",phone:"Telefona numurs",password:"Parole",user_attached_message:"Nevar dz\u0113st preci, kura tiek izmantota",confirm_delete:"J\u016Bs nevar\u0113siet atg\u016Bt \u0161o lietot\u0101ju | J\u016Bs nevar\u0113siet atg\u016Bt \u0161os lietot\u0101jus",created_message:"Lietot\u0101js veiksm\u012Bgi izveidots",updated_message:"Lietot\u0101js veiksm\u012Bgi labots",deleted_message:"Lietot\u0101js veiksm\u012Bgi izdz\u0113sts"},Pg={title:"Atskaite",from_date:"Datums no",to_date:"Datums l\u012Bdz",status:"Status",paid:"Apmaks\u0101ts",unpaid:"Neapmaks\u0101ts",download_pdf:"Lejupiel\u0101d\u0113t PDF",view_pdf:"Apskat\u012Bt PDF",update_report:"Labot atskaiti",report:"Atskaite | Atskaites",profit_loss:{profit_loss:"Pe\u013C\u0146a & Zaud\u0113jumi",to_date:"Datums l\u012Bdz",from_date:"Datums no",date_range:"Izv\u0113l\u0113ties datumus"},sales:{sales:"P\u0101rdotais",date_range:"Izv\u0113l\u0113ties datumus",to_date:"Datums l\u012Bdz",from_date:"Datums no",report_type:"Atskaites veids"},taxes:{taxes:"Nodok\u013Ci",to_date:"Datums l\u012Bdz",from_date:"Datums no",date_range:"Izv\u0113l\u0113ties datumus"},errors:{required:"\u0160is lauks ir oblig\u0101ts"},invoices:{invoice:"R\u0113\u0137ins",invoice_date:"R\u0113\u0137ina datums",due_date:"Apmaksas termi\u0146\u0161",amount:"Summa",contact_name:"Kontaktpersonas v\u0101rds",status:"Status"},estimates:{estimate:"Apr\u0113\u0137ins",estimate_date:"Apr\u0113\u0137ina datums",due_date:"Termi\u0146\u0161",estimate_number:"Apr\u0113\u0137ina numurs",ref_number:"Ref numurs",amount:"Summa",contact_name:"Kontaktpersonas v\u0101rds",status:"Status"},expenses:{expenses:"Izdevumi",category:"Kategorija",date:"Datums",amount:"Summa",to_date:"Datums l\u012Bdz",from_date:"Datums no",date_range:"Izv\u0113l\u0113ties datumus"}},jg={menu_title:{account_settings:"Konta iestat\u012Bjumi",company_information:"Uz\u0146\u0113muma inform\u0101cija",customization:"Piel\u0101go\u0161ana",preferences:"Iestat\u012Bjumi",notifications:"Pazi\u0146ojumi",tax_types:"Nodok\u013Cu veidi",expense_category:"Izdevumu kategorijas",update_app:"Atjaunin\u0101t App",backup:"Rezerves kopija",file_disk:"Disks",custom_fields:"Piel\u0101gotie lauki",payment_modes:"Apmaksas veidi",notes:"Piez\u012Bmes"},title:"Iestat\u012Bjumi",setting:"Iestat\u012Bjumi | Iestat\u012Bjumi",general:"Visp\u0101r\u012Bgi",language:"Valoda",primary_currency:"Prim\u0101r\u0101 val\u016Bta",timezone:"Laika josla",date_format:"Datuma form\u0101ts",currencies:{title:"Val\u016Btas",currency:"Val\u016Bta | Val\u016Btas",currencies_list:"Val\u016Btu saraksts",select_currency:"Izv\u0113leties val\u016Btu",name:"Nosaukums",code:"Kods",symbol:"Simbols",precision:"Precizit\u0101te",thousand_separator:"T\u016Bksto\u0161u atdal\u012Bt\u0101js",decimal_separator:"Decim\u0101lda\u013Cu atdal\u012Bt\u0101js",position:"Poz\u012Bcija",position_of_symbol:"Poz\u012Bcijas simbols",right:"Pa labi",left:"Pa kreisi",action:"Darb\u012Bba",add_currency:"Pievienot val\u016Btu"},mail:{host:"E-pasta serveris",port:"E-pasta ports",driver:"E-pasta draiveris",secret:"Secret",mailgun_secret:"Mailgun Secret",mailgun_domain:"Dom\u0113ns",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"E-pasta parole",username:"E-pasta lietot\u0101jv\u0101rds",mail_config:"E-pasta konfigur\u0101cija",from_name:"E-pasts no",from_mail:"E-pasta adrese no kuras s\u016Bt\u012Bt",encryption:"E-pasta \u0161ifr\u0113\u0161ana",mail_config_desc:"Zem\u0101k ir e-pasta konfigur\u0113\u0161anas forma. J\u016Bs varat konfigur\u0113t ar\u012B tre\u0161\u0101s puses servisus k\u0101 Sendgrid, SES u.c."},pdf:{title:"PDF uzst\u0101d\u012Bjumi",footer_text:"K\u0101jenes teksts",pdf_layout:"PDF izk\u0101rtojums"},company_info:{company_info:"Uz\u0146\u0113muma inform\u0101cija",company_name:"Uz\u0146\u0113muma nosaukums",company_logo:"Uz\u0146\u0113muma logo",section_description:"Inform\u0101cija par uz\u0146\u0113mumu kura tiks uzr\u0101d\u012Bta r\u0113\u0137inos, apr\u0113\u0137inos un citos dokumentos kurus veidosiet Crater sist\u0113m\u0101.",phone:"Telefona numurs",country:"Valsts",state:"Re\u0123ions",city:"Pils\u0113ta",address:"Adrese",zip:"Pasta indekss",save:"Saglab\u0101t",updated_message:"Uz\u0146\u0113muma inform\u0101cija veiksm\u012Bgi saglab\u0101ta"},custom_fields:{title:"Piel\u0101gotie lauki",section_description:"Customize your Invoices, Estimates & Payment Receipts with your own fields. Make sure to use the below added fields on the address formats on Customization settings page.",add_custom_field:"Add Custom Field",edit_custom_field:"Edit Custom Field",field_name:"Field Name",label:"Label",type:"Type",name:"Name",required:"Required",placeholder:"Placeholder",help_text:"Help Text",default_value:"Noklus\u0113juma v\u0113rt\u012Bba",prefix:"Prefikss",starting_number:"S\u0101kuma numurs",model:"Modelis",help_text_description:"Enter some text to help users understand the purpose of this custom field.",suffix:"Suffix",yes:"J\u0101",no:"N\u0113",order:"Order",custom_field_confirm_delete:"You will not be able to recover this Custom Field",already_in_use:"Custom Field is already in use",deleted_message:"Custom Field deleted successfully",options:"options",add_option:"Add Options",add_another_option:"Add another option",sort_in_alphabetical_order:"Sort in Alphabetical Order",add_options_in_bulk:"Add options in bulk",use_predefined_options:"Use Predefined Options",select_custom_date:"Select Custom Date",select_relative_date:"Select Relative Date",ticked_by_default:"Ticked by default",updated_message:"Custom Field updated successfully",added_message:"Custom Field added successfully"},customization:{customization:"piel\u0101go\u0161ana",save:"Saglab\u0101t",addresses:{title:"Adreses",section_description:"J\u016Bs varat piel\u0101got klienta juridisk\u0101s adreses un pieg\u0101des adreses form\u0101tu. (Uzr\u0101d\u0101s PDF izdruk\u0101). ",customer_billing_address:"Klienta nor\u0113\u0137inu adrese",customer_shipping_address:"Klienta pieg\u0101des adrese",company_address:"Uz\u0146\u0113muma adrese",insert_fields:"Pievienot lauku",contact:"Kontakti",address:"Adrese",display_name:"Nosaukums",primary_contact_name:"Galven\u0101 kontakta v\u0101rds",email:"E-pasts",website:"M\u0101jaslapa",name:"Nosaukums",country:"Valsts",state:"Re\u0123ions",city:"Pils\u0113ta",company_name:"Uz\u0146\u0113muma nosaukums",address_street_1:"Adrese 1",address_street_2:"Adrese 2",phone:"Telefona numurs",zip_code:"Pasta indekss",address_setting_updated:"Iestat\u012Bjumi tika veiksm\u012Bgi atjaunin\u0101ti"},updated_message:"Uz\u0146\u0113muma inform\u0101cija veiksm\u012Bgi saglab\u0101ta",invoices:{title:"R\u0113\u0137ini",notes:"Piez\u012Bmes",invoice_prefix:"R\u0113\u0137ina prefikss",default_invoice_email_body:"Default Invoice Email Body",invoice_settings:"Invoice Settings",autogenerate_invoice_number:"Autom\u0101tiski \u0123ener\u0113t r\u0113\u0137ina numuru",autogenerate_invoice_number_desc:"Atsp\u0113jojiet, ja nev\u0113laties autom\u0101tiski \u0123ener\u0113t r\u0113\u0137inu numurus katru reizi, kad izveidojat jaunu r\u0113\u0137inu.",enter_invoice_prefix:"Ievadiet r\u0113\u0137ina prefiksu",terms_and_conditions:"Lieto\u0161anas noteikumi",company_address_format:"Uz\u0146\u0113muma adreses form\u0101ts",shipping_address_format:"Pieg\u0101des adreses form\u0101ts",billing_address_format:"Maks\u0101t\u0101ja / Uz\u0146\u0113muma adreses form\u0101ts",invoice_settings_updated:"R\u0113\u0137ina iestat\u012Bjumi ir veiksm\u012Bgi atjaunin\u0101ti"},estimates:{title:"Apr\u0113\u0137ini",estimate_prefix:"Apr\u0113\u0137inu prefikss",default_estimate_email_body:"Noklus\u0113jamais Apr\u0113\u0137ina e-pasta saturs",estimate_settings:"Apr\u0113\u0137inu iestat\u012Bjumi",autogenerate_estimate_number:"Autom\u0101tiski \u0123ener\u0113t Apr\u0113\u0137ina numuru",estimate_setting_description:"Atsp\u0113jojiet, ja nev\u0113laties autom\u0101tiski \u0123ener\u0113t Apr\u0113\u0137inu numurus katru reizi, kad izveidojat jaunu Apr\u0113\u0137inu.",enter_estimate_prefix:"Ievadiet Apr\u0113\u0137ina prefiksu",estimate_setting_updated:"Apr\u0113\u0137ina iestat\u012Bjumi ir veiksm\u012Bgi atjaunin\u0101ti",company_address_format:"Uz\u0146\u0113muma adreses form\u0101ts",billing_address_format:"Maks\u0101t\u0101ja / Uz\u0146\u0113muma adreses form\u0101ts",shipping_address_format:"Pieg\u0101des adreses form\u0101ts"},payments:{title:"Maks\u0101jumi",description:"P\u0101rskait\u012Bjumu veidi, maks\u0101jumiem",payment_prefix:"Maks\u0101juma prefikss",default_payment_email_body:"Noklus\u0113jamais Maks\u0101juma e-pasta saturs",payment_settings:"Maks\u0101jumu iestat\u012Bjumi",autogenerate_payment_number:"Autom\u0101tiski \u0123ener\u0113t Maks\u0101juma numuru",payment_setting_description:"Atsp\u0113jojiet, ja nev\u0113laties autom\u0101tiski \u0123ener\u0113t Maks\u0101juma numurus katru reizi, kad izveidojat jaunu Maks\u0101jumu.",enter_payment_prefix:"Ievadiet Maks\u0101juma prefiksu",payment_setting_updated:"Maks\u0101jumu iestat\u012Bjumi ir veiksm\u012Bgi atjaunin\u0101ti",payment_modes:"Apmaksas veidi",add_payment_mode:"Pievienojiet apmaksas veidu",edit_payment_mode:"Labot maks\u0101juma veidu",mode_name:"Veida nosaukums",payment_mode_added:"Pievienots maks\u0101\u0161anas veids",payment_mode_updated:"Labots maks\u0101\u0161anas veids",payment_mode_confirm_delete:"Jums neb\u016Bs iesp\u0113jas atg\u016Bt \u0161o Maks\u0101juma veidu",already_in_use:"Maks\u0101juma veids jau tiek izmantots",deleted_message:"Maks\u0101juma veids veiksm\u012Bgi izdz\u0113sts",company_address_format:"Uz\u0146\u0113muma adreses form\u0101ts",from_customer_address_format:"No Klienta adreses form\u0101ts"},items:{title:"Preces",units:"Vien\u012Bbas",add_item_unit:"Pievienot Preces vien\u012Bbu",edit_item_unit:"Labot Preces vien\u012Bbu",unit_name:"Vien\u012Bbas nosaukums",item_unit_added:"Preces vien\u012Bba pievienota",item_unit_updated:"Preces vien\u012Bba atjaunota",item_unit_confirm_delete:"Jums neb\u016Bs iesp\u0113jas atg\u016Bt \u0161o Preces vien\u012Bbu",already_in_use:"Preces vien\u012Bba jau tiek izmantota",deleted_message:"Preces vien\u012Bba veiksm\u012Bgi izdz\u0113sta"},notes:{title:"Piez\u012Bmes",description:"Save time by creating notes and reusing them on your invoices, estimates & payments.",notes:"Notes",type:"Type",add_note:"Add Note",add_new_note:"Add New Note",name:"Name",edit_note:"Edit Note",note_added:"Note added successfully",note_updated:"Note Updated successfully",note_confirm_delete:"You will not be able to recover this Note",already_in_use:"Note is already in use",deleted_message:"Note deleted successfully"}},account_settings:{profile_picture:"Profile Picture",name:"Name",email:"Email",password:"Password",confirm_password:"Confirm Password",account_settings:"Account Settings",save:"Save",section_description:"You can update your name, email & password using the form below.",updated_message:"Account Settings updated successfully"},user_profile:{name:"Name",email:"Email",password:"Password",confirm_password:"Confirm Password"},notification:{title:"Notification",email:"Send Notifications to",description:"Which email notifications would you like to receive when something changes?",invoice_viewed:"Invoice viewed",invoice_viewed_desc:"When your customer views the invoice sent via crater dashboard.",estimate_viewed:"Estimate viewed",estimate_viewed_desc:"When your customer views the estimate sent via crater dashboard.",save:"Save",email_save_message:"Email saved successfully",please_enter_email:"Please Enter Email"},tax_types:{title:"Tax Types",add_tax:"Add Tax",edit_tax:"Edit Tax",description:"You can add or Remove Taxes as you please. Crater supports Taxes on Individual Items as well as on the invoice.",add_new_tax:"Add New Tax",tax_settings:"Tax Settings",tax_per_item:"Tax Per Item",tax_name:"Tax Name",compound_tax:"Compound Tax",percent:"Percent",action:"Action",tax_setting_description:"Enable this if you want to add taxes to individual invoice items. By default, taxes are added directly to the invoice.",created_message:"Tax type created successfully",updated_message:"Tax type updated successfully",deleted_message:"Tax type deleted successfully",confirm_delete:"Jums neb\u016Bs iesp\u0113jas atg\u016Bt \u0161o Nodok\u013Ca veidu",already_in_use:"Nodoklis jau tiek izmantots"},expense_category:{title:"Izdevumu kategorijas",action:"Darb\u012Bba",description:"Kategorijas ir oblig\u0101tas, lai pievienotu Izdevumus.",add_new_category:"Pievienot jaunu kategoriju",add_category:"Pievienot kategoriju",edit_category:"Redi\u0123\u0113t kategoriju",category_name:"Kategorijas nosaukums",category_description:"Apraksts",created_message:"Izdevumu kategorija izveidota veiksm\u012Bgi",deleted_message:"Izdevumu kategorija veiksm\u012Bgi izdz\u0113sta",updated_message:"Izdevumu kategorija atjaunin\u0101ta veiksm\u012Bgi",confirm_delete:"Jums neb\u016Bs iesp\u0113jas atg\u016Bt \u0161o Izdevumu kategoriju",already_in_use:"Kategorija jau tiek izmantota"},preferences:{currency:"Val\u016Bta",default_language:"Noklus\u0113juma valoda",time_zone:"Laika josla",fiscal_year:"Finan\u0161u gads",date_format:"Datuma form\u0101ts",discount_setting:"Atlai\u017Eu iestat\u012Bjumi",discount_per_item:"Atlaide par preci/pakalpojumu ",discount_setting_description:"Iesp\u0113jot \u0161o, lai pie\u0161\u0137irtu atlaides individu\u0101l\u0101m r\u0113\u0137ina prec\u0113m. P\u0113c noklus\u0113juma, atlaide tiek piem\u0113rota r\u0113\u0137inam.",save:"Saglab\u0101t",preference:"Iestat\u012Bjumi | Iestat\u012Bjumi",general_settings:"Noklus\u0113jamie iestat\u012Bjumi sist\u0113mai.",updated_message:"Iestat\u012Bjumi atjaunin\u0101ti veiksm\u012Bgi",select_language:"Izv\u0113lieties valodu",select_time_zone:"Izv\u0113laties laika joslu",select_date_format:"Izv\u0113laties datuma form\u0101tu",select_financial_year:"Izv\u0113laties finan\u0161u gadu"},update_app:{title:"Atjaunin\u0101t App",description:"J\u016Bs varat atjaunin\u0101t Crater sist\u0113mas versiju pavisam vienk\u0101r\u0161i - spie\u017Eot uz pogas zem\u0101k",check_update:"Mekl\u0113t atjaunin\u0101jumus",avail_update:"Pieejami jauni atjaunin\u0101jumi",next_version:"N\u0101kam\u0101 versija",requirements:"Pras\u012Bbas",update:"Atjaunin\u0101t tagad",update_progress:"Notiek atjaunin\u0101\u0161ana...",progress_text:"Tas pras\u012Bs tikai da\u017Eas min\u016Btes. Pirms atjaunin\u0101\u0161anas beig\u0101m, l\u016Bdzu, neatsvaidziniet ekr\u0101nu un neaizveriet logu",update_success:"Sist\u0113ma ir atjaunin\u0101ta! L\u016Bdzu, uzgaidiet, kam\u0113r p\u0101rl\u016Bkprogrammas logs tiks autom\u0101tiski iel\u0101d\u0113ts.",latest_message:"Atjaunin\u0101jumi nav pieejami! Jums ir jaun\u0101k\u0101 versija.",current_version:"Versija",download_zip_file:"Lejupiel\u0101d\u0113t ZIP failu",unzipping_package:"Atarhiv\u0113 Zip failu",copying_files:"Notiek failu kop\u0113\u0161ana",running_migrations:"Notiek migr\u0101cijas",finishing_update:"Pabeidz atjaunin\u0101jumu",update_failed:"Atjaunin\u0101\u0161ana neizdev\u0101s",update_failed_text:"Atvainojiet! J\u016Bsu atjaunin\u0101juma laik\u0101 notika k\u013C\u016Bda: {step}. sol\u012B"},backup:{title:"Backup | Backups",description:"The backup is a zipfile that contains all files in the directories you specify along with a dump of your database",new_backup:"Add New Backup",create_backup:"Create Backup",select_backup_type:"Select Backup Type",backup_confirm_delete:"You will not be able to recover this Backup",path:"path",new_disk:"New Disk",created_at:"created at",size:"size",dropbox:"dropbox",local:"local",healthy:"healthy",amount_of_backups:"amount of backups",newest_backups:"newest backups",used_storage:"used storage",select_disk:"Select Disk",action:"Action",deleted_message:"Backup deleted successfully",created_message:"Backup created successfully",invalid_disk_credentials:"Invalid credential of selected disk"},disk:{title:"File Disk | File Disks",description:"By default, Crater will use your local disk for saving backups, avatar and other image files. You can configure more than one disk drivers like DigitalOcean, S3 and Dropbox according to your preference.",created_at:"created at",dropbox:"dropbox",name:"Name",driver:"Driver",disk_type:"Type",disk_name:"Disk Name",new_disk:"Add New Disk",filesystem_driver:"Filesystem Driver",local_driver:"local Driver",local_root:"local Root",public_driver:"Public Driver",public_root:"Public Root",public_url:"Public URL",public_visibility:"Public Visibility",media_driver:"Media Driver",media_root:"Media Root",aws_driver:"AWS Driver",aws_key:"AWS Key",aws_secret:"AWS Secret",aws_region:"AWS Region",aws_bucket:"AWS Bucket",aws_root:"AWS Root",do_spaces_type:"Do Spaces type",do_spaces_key:"Do Spaces key",do_spaces_secret:"Do Spaces Secret",do_spaces_region:"Do Spaces Region",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces Endpoint",do_spaces_root:"Do Spaces Root",dropbox_type:"Dropbox Type",dropbox_token:"Dropbox Token",dropbox_key:"Dropbox Key",dropbox_secret:"Dropbox Secret",dropbox_app:"Dropbox App",dropbox_root:"Dropbox Root",default_driver:"Default Driver",is_default:"IR NOKLUS\u0112JAMS",set_default_disk:"Iestatiet noklus\u0113juma disku",success_set_default_disk:"Disks ir veiksm\u012Bgi iestat\u012Bts k\u0101 noklus\u0113jums",save_pdf_to_disk:"Saglab\u0101t PDF uz diska",disk_setting_description:" Iesp\u0113jot \u0161o, ja v\u0113laties lai katru r\u0113\u0137ina, apr\u0113\u0137ina un maks\u0101juma izdrukas PDF kopiju saglab\u0101tu disk\u0101. \u0160\u012B opcija samazin\u0101s iel\u0101d\u0113\u0161anas laiku, kad apskat\u012Bsiet PDF.",select_disk:"Izv\u0113lieties disku",disk_settings:"Diska uzst\u0101d\u012Bjumi",confirm_delete:"J\u016Bsu eso\u0161ie faili un mapes nor\u0101d\u012Btaj\u0101 disk\u0101 netiks ietekm\u0113ti, bet diska konfigur\u0101cija tiks izdz\u0113sta no Crater sist\u0113mas",action:"Darb\u012Bba",edit_file_disk:"Labot failu disku",success_create:"Disks tika pievienots veiksm\u012Bgi",success_update:"Disks atjaunin\u0101ts veiksm\u012Bgi",error:"Diska pievieno\u0161anas k\u013C\u016Bda",deleted_message:"Failu disks veiksm\u012Bgi izdz\u0113sts",disk_variables_save_successfully:"Disks konfigur\u0113ts veiksm\u012Bgi",disk_variables_save_error:"Diska konfigur\u0101cija neveiksm\u012Bga.",invalid_disk_credentials:"Nepareizi pieejas dati atz\u012Bm\u0113tajam diskam"}},Dg={account_info:"Konta inform\u0101cija",account_info_desc:"Zem\u0101k sniegt\u0101 inform\u0101cija tiks izmantota galven\u0101 administratora konta izveidei. J\u016Bs var\u0113siet main\u012Bt inform\u0101ciju jebkur\u0101 laik\u0101 p\u0113c ielogo\u0161an\u0101s.",name:"V\u0101rds",email:"E-pasts",password:"Parole",confirm_password:"Apstipriniet paroli",save_cont:"Saglab\u0101t un turpin\u0101t",company_info:"Uz\u0146\u0113muma inform\u0101cija",company_info_desc:"\u0160\u012B inform\u0101cija tiks par\u0101d\u012Bta r\u0113\u0137inos. \u0145emiet v\u0113r\u0101, ka v\u0113l\u0101k to var redi\u0123\u0113t iestat\u012Bjumu lap\u0101.",company_name:"Uz\u0146\u0113muma nosaukums",company_logo:"Uz\u0146\u0113muma logo",logo_preview:"Logo",preferences:"Iestat\u012Bjumi",preferences_desc:"Noklus\u0113jamie iestat\u012Bjumi sist\u0113mai.",country:"Valsts",state:"Re\u0123ions",city:"Pils\u0113ta",address:"Adrese",street:"Adrese1 | Adrese2",phone:"Telefona numurs",zip_code:"Pasta indekss",go_back:"Atpaka\u013C",currency:"Val\u016Bta",language:"Valoda",time_zone:"Time Zone",fiscal_year:"Financial Year",date_format:"Date Format",from_address:"From Address",username:"Username",next:"Next",continue:"Continue",skip:"Skip",database:{database:"Site URL & Database",connection:"Database Connection",host:"Database Host",port:"Database Port",password:"Database Password",app_url:"App URL",app_domain:"App Domain",username:"Database Username",db_name:"Database Name",db_path:"Database Path",desc:"Create a database on your server and set the credentials using the form below."},permissions:{permissions:"Permissions",permission_confirm_title:"Are you sure you want to continue?",permission_confirm_desc:"Folder permission check failed",permission_desc:"Below is the list of folder permissions which are required in order for the app to work. If the permission check fails, make sure to update your folder permissions."},mail:{host:"Mail Host",port:"Mail Port",driver:"Mail Driver",secret:"Secret",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domain",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"Mail Password",username:"Mail Username",mail_config:"Mail Configuration",from_name:"From Mail Name",from_mail:"From Mail Address",encryption:"Mail Encryption",mail_config_desc:"Below is the form for Configuring Email driver for sending emails from the app. You can also configure third party providers like Sendgrid, SES etc."},req:{system_req:"System Requirements",php_req_version:"Php (version {version} required)",check_req:"P\u0101rbaud\u012Bt pras\u012Bbas",system_req_desc:"Crater sist\u0113mai ir da\u017Eas servera pras\u012Bbas. P\u0101rliecinieties, ka j\u016Bsu serverim ir vajadz\u012Bg\u0101 php versija un visi t\u0101l\u0101k min\u0113tie papla\u0161in\u0101jumi."},errors:{migrate_failed:"Migr\u0101cija neizdev\u0101s",database_variables_save_error:"Nevar\u0113ja konfigur\u0113t .env failu. L\u016Bdzu p\u0101rbaudiet faila pieejas",mail_variables_save_error:"E-pasta konfigur\u0101cija neveiksm\u012Bga.",connection_failed:"Datub\u0101zes savienojums neveiksm\u012Bgs",database_should_be_empty:"Datub\u0101zei j\u0101b\u016Bt tuk\u0161ai"},success:{mail_variables_save_successfully:"E-pasts konfigur\u0113ts veiksm\u012Bgi",database_variables_save_successfully:"Database configured successfully."}},Cg={invalid_phone:"Invalid Phone Number",invalid_url:"Invalid url (ex: http://www.craterapp.com)",invalid_domain_url:"Invalid url (ex: craterapp.com)",required:"Field is required",email_incorrect:"Incorrect Email.",email_already_taken:"The email has already been taken.",email_does_not_exist:"User with given email doesn't exist",item_unit_already_taken:"This item unit name has already been taken",payment_mode_already_taken:"This payment mode name has already been taken",send_reset_link:"Send Reset Link",not_yet:"Not yet? Send it again",password_min_length:"Password must contain {count} characters",name_min_length:"Name must have at least {count} letters.",enter_valid_tax_rate:"Enter valid tax rate",numbers_only:"Numbers Only.",characters_only:"Characters Only.",password_incorrect:"Passwords must be identical",password_length:"Password must be {count} character long.",qty_must_greater_than_zero:"Quantity must be greater than zero.",price_greater_than_zero:"Price must be greater than zero.",payment_greater_than_zero:"Payment must be greater than zero.",payment_greater_than_due_amount:"Entered Payment is more than due amount of this invoice.",quantity_maxlength:"Quantity should not be greater than 20 digits.",price_maxlength:"Price should not be greater than 20 digits.",price_minvalue:"Price should be greater than 0.",amount_maxlength:"Amount should not be greater than 20 digits.",amount_minvalue:"Amount should be greater than 0.",description_maxlength:"Description should not be greater than 255 characters.",subject_maxlength:"Subject should not be greater than 100 characters.",message_maxlength:"Message should not be greater than 255 characters.",maximum_options_error:"Maximum of {max} options selected. First remove a selected option to select another.",notes_maxlength:"Notes should not be greater than 255 characters.",address_maxlength:"Address should not be greater than 255 characters.",ref_number_maxlength:"Ref Number should not be greater than 255 characters.",prefix_maxlength:"Prefix should not be greater than 5 characters.",something_went_wrong:"something went wrong"},Ag="Apr\u0113\u0137ins",Ng="Apr\u0113\u0137ina numurs",Eg="Apr\u0113\u0137ina datums",Tg="Der\u012Bgs l\u012Bdz",Ig="R\u0113\u0137ins",$g="R\u0113\u0137ina numurs",Rg="R\u0113\u0137ina datums",Fg="Apmaksas termi\u0146\u0161",Mg="Notes",Bg="Nosaukums",Vg="Daudzums",Og="Cena",Lg="Atlaide",Ug="Summa",Kg="Starpsumma",qg="Kop\u0101",Wg="Payment",Zg="MAKS\u0100JUMA IZDRUKA",Hg="Maks\u0101juma datums",Gg="Maks\u0101juma numurs",Yg="Apmaksas veids",Jg="Sa\u0146emt\u0101 summa",Xg="IZDEVUMU ATSKAITE",Qg="KOP\u0100 IZDEVUMI",ef="PE\u013B\u0145AS & IZDEVUMU ATSKAITE",tf="Sales Customer Report",af="Sales Item Report",sf="Tax Summary Report",nf="IEN\u0100KUMI",of="PE\u013B\u0145A",rf="Atskaite par p\u0101rdoto: P\u0113c lietot\u0101ja",df="KOP\u0100 P\u0100RDOTAIS",lf="Atskaite par p\u0101rdoto: P\u0113c preces/pakalpojuma",cf="NODOK\u013BU ATSKAITE",_f="NODOK\u013BI KOP\u0100",uf="Nodok\u013Cu veidi",mf="Izdevumi",pf="Sa\u0146\u0113m\u0113js,",gf="Pieg\u0101des adrese,",ff="Sa\u0146emts no:",hf="Nodoklis";var vf={navigation:mg,general:pg,dashboard:gg,tax_types:fg,global_search:hg,customers:vg,items:yg,estimates:bg,invoices:kg,payments:wg,expenses:xg,login:zg,users:Sg,reports:Pg,settings:jg,wizard:Dg,validation:Cg,pdf_estimate_label:Ag,pdf_estimate_number:Ng,pdf_estimate_date:Eg,pdf_estimate_expire_date:Tg,pdf_invoice_label:Ig,pdf_invoice_number:$g,pdf_invoice_date:Rg,pdf_invoice_due_date:Fg,pdf_notes:Mg,pdf_items_label:Bg,pdf_quantity_label:Vg,pdf_price_label:Og,pdf_discount_label:Lg,pdf_amount_label:Ug,pdf_subtotal:Kg,pdf_total:qg,pdf_payment_label:Wg,pdf_payment_receipt_label:Zg,pdf_payment_date:Hg,pdf_payment_number:Gg,pdf_payment_mode:Yg,pdf_payment_amount_received_label:Jg,pdf_expense_report_label:Xg,pdf_total_expenses_label:Qg,pdf_profit_loss_label:ef,pdf_sales_customers_label:tf,pdf_sales_items_label:af,pdf_tax_summery_label:sf,pdf_income_label:nf,pdf_net_profit_label:of,pdf_customer_sales_report:rf,pdf_total_sales_label:df,pdf_item_sales_label:lf,pdf_tax_report_label:cf,pdf_total_tax_label:_f,pdf_tax_types_label:uf,pdf_expenses_label:mf,pdf_bill_to:pf,pdf_ship_to:gf,pdf_received_from:ff,pdf_tax_label:hf};const yf={dashboard:"\xD6versikt",customers:"Kunder",items:"Artiklar",invoices:"Fakturor",expenses:"Utgifter",estimates:"Kostnadsf\xF6rslag",payments:"Betalningar",reports:"Rapporter",settings:"Inst\xE4llningar",logout:"Logga ut",users:"Anv\xE4ndare"},bf={add_company:"Skapa f\xF6retag",view_pdf:"Visa PDF",copy_pdf_url:"Kopiera adress till PDF",download_pdf:"Ladda ner PDF",save:"Spara",create:"Skapa",cancel:"Avbryt",update:"Uppdatera",deselect:"Avmarkera",download:"Ladda ner",from_date:"Fr\xE5n datum",to_date:"Till datum",from:"Fr\xE5n",to:"Till",sort_by:"Sortera p\xE5",ascending:"Stigande",descending:"Fallande",subject:"\xC4mne",body:"Inneh\xE5ll",message:"Meddelande",send:"Skicka",go_back:"Tillbaka",back_to_login:"Till inloggningssidan?",home:"Hem",filter:"Filter",delete:"Ta bort",edit:"Editera",view:"Visa",add_new_item:"Skapa artikel",clear_all:"Rensa alla",showing:"Visar",of:"av",actions:"Funktioner",subtotal:"DELSUMMA",discount:"RABATT",fixed:"Fast",percentage:"Procent",tax:"MOMS",total_amount:"TOTALSUMMA",bill_to:"Faktureras till",ship_to:"Levereras till",due:"F\xF6rfallen",draft:"F\xF6rslag",sent:"Skickat",all:"Alla",select_all:"V\xE4lj alla",choose_file:"Klicka h\xE4r f\xF6r att v\xE4lja fil",choose_template:"V\xE4lj mall",choose:"V\xE4lj",remove:"Ta bort",select_a_status:"V\xE4lj status",select_a_tax:"V\xE4lj moms",search:"S\xF6k",are_you_sure:"\xC4r du s\xE4ker?",list_is_empty:"Listan \xE4r tom.",no_tax_found:"Hittade inte moms!",four_zero_four:"404",you_got_lost:"Hoppsan! Nu \xE4r du vilse!",go_home:"G\xE5 hem",test_mail_conf:"Testa epostinst\xE4llningar",send_mail_successfully:"Lyckades skicka epost",setting_updated:"Inst\xE4llningar uppdaterades",select_state:"V\xE4lj kommun",select_country:"V\xE4lj land",select_city:"V\xE4lj stad",street_1:"Gatuadress 1",street_2:"Gatuadress 2",action_failed:"F\xF6rs\xF6k misslyckades",retry:"F\xF6rs\xF6k igen",choose_note:"V\xE4lj notering",no_note_found:"Inga noteringar hittades",insert_note:"L\xE4gg till notering",copied_pdf_url_clipboard:"Url till PDF kopierades till urklipp!"},kf={select_year:"V\xE4lj \xE5r",cards:{due_amount:"F\xF6rfallet belopp",customers:"Kunder",invoices:"Fakturor",estimates:"Kostnadsf\xF6rslag"},chart_info:{total_sales:"F\xF6rs\xE4ljning",total_receipts:"Kvitton",total_expense:"Utgifter",net_income:"Nettoinkomst",year:"V\xE4lj \xE5r"},monthly_chart:{title:"F\xF6rs\xE4ljning och utgifter"},recent_invoices_card:{title:"F\xF6rfallna fakturor",due_on:"F\xF6rfaller den",customer:"Kund",amount_due:"F\xF6rfallet belopp",actions:"Handlingar",view_all:"Visa alla"},recent_estimate_card:{title:"Senaste kostnadsf\xF6rslag",date:"Datum",customer:"Kund",amount_due:"F\xF6rfallet belopp",actions:"Handlingar",view_all:"Visa alla"}},wf={name:"Namn",description:"Beskrivning",percent:"Provent",compound_tax:"Sammansatt moms"},xf={search:"S\xF6k...",customers:"Kunder",users:"Anv\xE4ndare",no_results_found:"Hittade inga resultat"},zf={title:"Kunder",add_customer:"L\xE4gg till kund",contacts_list:"Kundlista",name:"Namn",mail:"Epost | Epost",statement:"P\xE5st\xE5ende",display_name:"Visningsnamn",primary_contact_name:"Prim\xE4r kontakts namn",contact_name:"Kontaktnamn",amount_due:"F\xF6rfallet belopp",email:"Epost",address:"Adress",phone:"Telefon",website:"Hemsida",overview:"\xD6versikt",enable_portal:"Aktivera portal",country:"Land",state:"Kommun",city:"Stad",zip_code:"Postnummer",added_on:"Tillagd den",action:"Handling",password:"L\xF6senord",street_number:"Gatnummer",primary_currency:"Huvudvaluta",description:"Beskrivning",add_new_customer:"L\xE4gg till ny kund",save_customer:"Spara kund",update_customer:"Uppdatera kund",customer:"Kund | Kunder",new_customer:"Ny kund",edit_customer:"\xC4ndra kund",basic_info:"Information",billing_address:"Fakturaadress",shipping_address:"Leveransadress",copy_billing_address:"Kopiera fr\xE5n faktura",no_customers:"Inga kunder \xE4n!",no_customers_found:"Hittade inga kunder!",no_contact:"No contact",no_contact_name:"No contact name",list_of_customers:"H\xE4r kommer det finnas en lista med kunder.",primary_display_name:"Visningsnamn",select_currency:"V\xE4lj valuta",select_a_customer:"V\xE4lj kund",type_or_click:"Skriv eller klicka f\xF6r att v\xE4lja",new_transaction:"Ny transaktion",no_matching_customers:"Matchade inte med n\xE5gon kund!",phone_number:"Telefonnummer",create_date:"Skapandedatum",confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna kund eller n\xE5gra relaterade fakturor, kostnadsf\xF6rslag eller betalningar. | Du kommer inte kunna \xE5terst\xE4lla dessa kunder eller n\xE5gra relaterade fakturor, kostnadsf\xF6rslag eller betalningar.",created_message:"Kund skapades",updated_message:"Kund uppdaterades",deleted_message:"Kund raderades | Kunder raderades"},Sf={title:"Artiklar",items_list:"Artikellista",name:"Namn",unit:"Enhet",description:"Beskrivning",added_on:"Tillagd den",price:"Pris",date_of_creation:"Skapandedatum",not_selected:"No item selected",action:"Handling",add_item:"Skapa artikel",save_item:"Spara artikel",update_item:"Uppdatera artiklar",item:"Artikel | Artiklar",add_new_item:"Skapa ny artikel",new_item:"Ny artikel",edit_item:"\xC4ndra artikel",no_items:"Inga artiklar \xE4n!",list_of_items:"H\xE4r kommer lista \xF6ver artiklar vara.",select_a_unit:"v\xE4lj enhet",taxes:"Moms",item_attached_message:"Kan inte radera en artikel som anv\xE4nds",confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna artikel | Du kommer inte kunna \xE5terst\xE4lla dessa artiklar",created_message:"Artikel skapades",updated_message:"Artikel uppdaterades",deleted_message:"Artikel raderades | Artiklar raderades"},Pf={title:"Kostnadsf\xF6rslag",estimate:"Kostnadsf\xF6rslag | Kostnadsf\xF6rslag",estimates_list:"Lista med kostnadsf\xF6rslag",days:"{days} dagar",months:"{months} m\xE5nader",years:"{years} \xE5r",all:"Alla",paid:"Betalda",unpaid:"Obetalda",customer:"KUND",ref_no:"REF NR.",number:"NUMMER",amount_due:"F\xD6RFALLET BELOPP",partially_paid:"Delbetald",total:"Summa",discount:"Rabatt",sub_total:"Delsumma",estimate_number:"Kostnadsf\xF6rslagsnummer",ref_number:"Ref Nummer",contact:"Kontakt",add_item:"L\xE4gg till artikel",date:"Datum",due_date:"F\xF6rfallodatum",expiry_date:"Utg\xE5ngsdatum",status:"Status",add_tax:"L\xE4gg till moms",amount:"Belopp",action:"Handling",notes:"Noteringar",tax:"Moms",estimate_template:"Mall",convert_to_invoice:"Konvertera till faktura",mark_as_sent:"Markerade som skickad",send_estimate:"Skicka kostnadsf\xF6rslag",resend_estimate:"Skicka kostnadsf\xF6rslag igen",record_payment:"Registrera betalning",add_estimate:"L\xE4gg till kostnadsf\xF6rslag",save_estimate:"Spara kostnadsf\xF6rslag",confirm_conversion:"Detta kostnadsf\xF6rslag anv\xE4nds f\xF6r att skapa ny faktura.",conversion_message:"Faktura skapades",confirm_send_estimate:"Detta kostnadsf\xF6rslag skickas via epost till kund",confirm_mark_as_sent:"Detta kostnadsf\xF6rslag markeras som skickat",confirm_mark_as_accepted:"Detta kostnadsf\xF6rslag markeras som accepterad",confirm_mark_as_rejected:"Detta kostnadsf\xF6rslag markeras som avvisad",no_matching_estimates:"Inga matchande kostnadsf\xF6rslag!",mark_as_sent_successfully:"Kostnadsf\xF6rslag markerat som skickat",send_estimate_successfully:"Kostnadsf\xF6rslag skickades",errors:{required:"F\xE4ltet \xE4r tvingande"},accepted:"Accepterad",rejected:"Rejected",sent:"Skickat",draft:"Utkast",declined:"Avvisad",new_estimate:"Nytt kostnadsf\xF6rslag",add_new_estimate:"Skapa nytt kostnadsf\xF6rslag",update_Estimate:"Uppdatera kostnadsf\xF6rslag",edit_estimate:"\xC4ndra kostnadsf\xF6rslag",items:"artiklar",Estimate:"Kostnadsf\xF6rslag | Kostnadsf\xF6rslag",add_new_tax:"Skapa ny momssats",no_estimates:"Inga kostnadsf\xF6rslag \xE4n!",list_of_estimates:"H\xE4r kommer det finnas kostnadsf\xF6rslag.",mark_as_rejected:"Markera som avvisad",mark_as_accepted:"Markera som godk\xE4nd",marked_as_accepted_message:"Kostnadsf\xF6rslag markerad som godk\xE4nd",marked_as_rejected_message:"Kostnadsf\xF6rslag markerad som avvisad",confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla detta kostnadsf\xF6rslag | Du kommer inte kunna \xE5terst\xE4lla dessa kostnadsf\xF6rslag",created_message:"Kostnadsf\xF6rslag skapades",updated_message:"Kostnadsf\xF6rslag \xE4ndrades",deleted_message:"Kostnadsf\xF6rslag raderades | Kostnadsf\xF6rslag raderades",something_went_wrong:"n\xE5got gick fel",item:{title:"Artikelnamn",description:"Beskrivning",quantity:"Antal",price:"Pris",discount:"Rabatt",total:"Summa",total_discount:"Rabattsumma",sub_total:"Delsumma",tax:"Moms",amount:"Summa",select_an_item:"Skriv eller klicka f\xF6r att v\xE4lja artikel",type_item_description:"Skriv in artikelns beskrivning (frivilligt)"}},jf={title:"Fakturor",invoices_list:"Fakturor",days:"{days} dagar",months:"{months} m\xE5nader",years:"{years} \xE5r",all:"Alla",paid:"Betalda",unpaid:"Obetalda",viewed:"Viewed",overdue:"Overdue",completed:"Completed",customer:"KUNDER",paid_status:"BETALSTATUS",ref_no:"REF NR.",number:"NUMMER",amount_due:"F\xD6RFALLET BELOPP",partially_paid:"Delbetald",total:"Summa",discount:"Rabatt",sub_total:"Delsumma",invoice:"Faktura | Fakturor",invoice_number:"Fakturanummer",ref_number:"Ref Nummer",contact:"Kontakt",add_item:"L\xE4gg till artikel",date:"Datum",due_date:"F\xF6rfallodatum",status:"Status",add_tax:"L\xE4gg till moms",amount:"Summa",action:"Handling",notes:"Noteringar",view:"Visa",send_invoice:"Skicka faktura",resend_invoice:"Skicka faktura igen",invoice_template:"Fakturamall",template:"Mall",mark_as_sent:"Markera som skickad",confirm_send_invoice:"Denna faktura skickas via epost till kunden",invoice_mark_as_sent:"Denna faktura markeras som skickad",confirm_send:"Denna faktura skickas via epost till kunden",invoice_date:"Fakturadatum",record_payment:"Registrera betalning",add_new_invoice:"L\xE4gg till ny faktura",update_expense:"\xC4ndra utgifter",edit_invoice:"Editera faktura",new_invoice:"Ny faktura",save_invoice:"Spara faktura",update_invoice:"Uppdatera faktura",add_new_tax:"L\xE4gg till ny momssats",no_invoices:"Inga fakturor \xE4n!",list_of_invoices:"H\xE4r kommer det vara en lista med fakturor.",select_invoice:"V\xE4lj faktura",no_matching_invoices:"Inga matchande fakturor!",mark_as_sent_successfully:"Fakturans status \xE4ndrad till skickad",invoice_sent_successfully:"Fakturan skickades",cloned_successfully:"Fakturan kopierades",clone_invoice:"Kopiera faktura",confirm_clone:"Denna faktura kopieras till en ny faktura",item:{title:"Artikelnamn",description:"Beskvirning",quantity:"Antal",price:"Pris",discount:"Rabatt",total:"Summa",total_discount:"Totalsumma",sub_total:"Delsumma",tax:"Moms",amount:"Summa",select_an_item:"Skriv eller klicka f\xF6r att v\xE4lja artikel",type_item_description:"Artikeltypsbeskrivning (frivillig)"},confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna faktura | Du kommer inte kunna \xE5terst\xE4lla dessa fakturor",created_message:"Faktura skapades",updated_message:"Faktura uppdaterades",deleted_message:"Faktura raderades | fakturor raderades",marked_as_sent_message:"Faktura markerad som skickad",something_went_wrong:"n\xE5got blev fel",invalid_due_amount_message:"Totalsumman f\xF6r fakturan kan inte vara l\xE4gra \xE4n den betalda summan. V\xE4nligen uppdatera fakturan eller radera dom kopplade betalningarna."},Df={title:"Betalningar",payments_list:"Lista med betalningar",record_payment:"Registrera betalning",customer:"Kund",date:"Datum",amount:"Summa",action:"Handling",payment_number:"Betalningsnummer",payment_mode:"Betalningss\xE4tt",invoice:"Faktura",note:"Notering",add_payment:"Skapa betalning",new_payment:"Ny betalning",edit_payment:"\xC4ndra betalning",view_payment:"Visa betalning",add_new_payment:"Skapa ny betalning",send_payment_receipt:"Skicka kvitto p\xE5 betalning",send_payment:"Skicka betalning",save_payment:"Spara betalning",update_payment:"Uppdatera betalning",payment:"Betalning | Betalningar",no_payments:"Inga betalningar \xE4n!",not_selected:"Not selected",no_invoice:"No invoice",no_matching_payments:"Inga matchande betalningar!",list_of_payments:"H\xE4r kommer listan med betalningar finnas.",select_payment_mode:"V\xE4lj betalningss\xE4tt",confirm_mark_as_sent:"Detta kostnadsf\xF6rslag markeras som skickat",confirm_send_payment:"Denna betalning skickas till kunden via epost",send_payment_successfully:"Betalningen skickades",something_went_wrong:"n\xE5got gick fel",confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna betalning | Du kommer inte kunna \xE5terst\xE4lla dessa betalningar",created_message:"Betalning skapades",updated_message:"Betalning uppdaterades",deleted_message:"Betalning raderades | Betalningar raderades",invalid_amount_message:"Betalsumman \xE4r ogiltig"},Cf={title:"Utgifter",expenses_list:"Lista med utgifter",select_a_customer:"V\xE4lj en kund",expense_title:"Titel",customer:"Kund",contact:"Kontakt",category:"Kategori",from_date:"Fr\xE5n datum",to_date:"Till datum",expense_date:"Datum",description:"Beskrivning",receipt:"Kvitto",amount:"Summa",action:"Handling",not_selected:"Not selected",note:"Notering",category_id:"Kategorins ID",date:"Datum",add_expense:"L\xE4gg till utgift",add_new_expense:"L\xE4gg till ny utgift",save_expense:"Spara utgift",update_expense:"Uppdatera utgift",download_receipt:"Ladda ner kvitto",edit_expense:"\xC4ndra utgift",new_expense:"Ny utgift",expense:"Utgift | Utgifter",no_expenses:"Inga utgifter \xE4n!",list_of_expenses:"H\xE4r kommer utgifterna finnas.",confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna utgift | Du kommer inte kunna \xE5terst\xE4lla dessa utgifter",created_message:"Utgift skapades",updated_message:"Utgift \xE4ndrades",deleted_message:"Utgift raderades | utgifterna raderades",categories:{categories_list:"Kategorier",title:"Titel",name:"Namn",description:"Beskrivning",amount:"Summa",actions:"Handlingar",add_category:"L\xE4gg till kategori",new_category:"Ny kategori",category:"Kategori | Kategorier",select_a_category:"V\xE4lj en kategori"}},Af={email:"Epost",password:"L\xF6senord",forgot_password:"Gl\xF6mt l\xF6senord?",or_signIn_with:"eller logga in med",login:"Logga in",register:"Registrera",reset_password:"\xC5terst\xE4ll l\xF6senord",password_reset_successfully:"L\xF6senord \xE5terst\xE4llt",enter_email:"Skriv in epost",enter_password:"Skriv in l\xF6senord",retype_password:"Skriv l\xF6senordet igen"},Nf={title:"Anv\xE4ndare",users_list:"Anv\xE4ndare",name:"Namn",description:"Beskrivning",added_on:"Tillagd den",date_of_creation:"Datum skapad",action:"Handling",add_user:"L\xE4gg till anv\xE4ndare",save_user:"Spara anv\xE4ndare",update_user:"Uppdatera anv\xE4ndare",user:"Anv\xE4ndare | Anv\xE4ndare",add_new_user:"L\xE4gg till ny anv\xE4ndare",new_user:"Ny anv\xE4ndare",edit_user:"\xC4ndra anv\xE4ndare",no_users:"Inga anv\xE4ndare \xE4n!",list_of_users:"H\xE4r kommer man se alla anv\xE4ndare.",email:"Epost",phone:"Telefon",password:"L\xF6senord",user_attached_message:"Kan inte ta bort ett objeckt som anv\xE4nds",confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna anv\xE4ndare | Du kommer inte kunna \xE5terst\xE4lla dessa anv\xE4ndare",created_message:"Anv\xE4ndare skapades",updated_message:"Anv\xE4ndare uppdaterades",deleted_message:"Anv\xE4ndaren raderades | Anv\xE4ndarna raderades"},Ef={title:"Rapport",from_date:"Fr\xE5n datum",to_date:"Till datum",status:"Status",paid:"Betald",unpaid:"Obetald",download_pdf:"Ladda ner PDF",view_pdf:"Visa PDF",update_report:"Uppdatera rapport",report:"Rapport | Rapporter",profit_loss:{profit_loss:"Inkomst och utgifter",to_date:"Till datum",from_date:"Fr\xE5n datum",date_range:"V\xE4lj datumintervall"},sales:{sales:"F\xF6rs\xE4ljningar",date_range:"V\xE4lj datumintervall",to_date:"Till datum",from_date:"Fr\xE5n datum",report_type:"Rapporttyp"},taxes:{taxes:"Momssatser",to_date:"Till datum",from_date:"Fr\xE5n datum",date_range:"V\xE4lj datumintervall"},errors:{required:"F\xE4ltet \xE4r tvingande"},invoices:{invoice:"Faktura",invoice_date:"Fakturadatum",due_date:"F\xF6rfallodatum",amount:"Summa",contact_name:"Kontaktnamn",status:"Status"},estimates:{estimate:"Kostnadsf\xF6rslag",estimate_date:"Kostnadsf\xF6rslagsdatum",due_date:"F\xF6rfallodatum",estimate_number:"Kostnadsf\xF6rslagsnummer",ref_number:"Ref Nummer",amount:"Summa",contact_name:"Kontaktnamn",status:"Status"},expenses:{expenses:"Utgifter",category:"Kategori",date:"Datum",amount:"Summa",to_date:"Till datum",from_date:"Fr\xE5n datum",date_range:"V\xE4lj datumintervall"}},Tf={menu_title:{account_settings:"Kontoinst\xE4llningar",company_information:"F\xF6retagsinformation",customization:"Anpassning",preferences:"Inst\xE4llningar",notifications:"Notifieringar",tax_types:"Momssatser",expense_category:"Utgiftskategorier",update_app:"Uppdatera appen",backup:"Backup",file_disk:"File Disk",custom_fields:"Anpassade f\xE4lt",payment_modes:"Betalmetoder",notes:"Noteringar"},title:"Inst\xE4llningar",setting:"Inst\xE4llningar | Inst\xE4llningar",general:"Allm\xE4n",language:"Spr\xE5k",primary_currency:"Prim\xE4r valuta",timezone:"Tidszon",date_format:"Datumformat",currencies:{title:"Valutor",currency:"Valuta | Valutor",currencies_list:"Lista med valutor",select_currency:"V\xE4lj valuta",name:"Namn",code:"Kod",symbol:"Symbol",precision:"Precision",thousand_separator:"Tusenavgr\xE4nsare",decimal_separator:"Decimalavgr\xE4nsare",position:"Position",position_of_symbol:"Symbolens position",right:"H\xF6ger",left:"V\xE4nster",action:"Handling",add_currency:"L\xE4gg till valuta"},mail:{host:"V\xE4rdadress",port:"Port",driver:"Typ",secret:"Hemlighet",mailgun_secret:"Mailgun Secret",mailgun_domain:"Dom\xE4n",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"L\xF6senord",username:"Anv\xE4ndarnamn",mail_config:"Epostinst\xE4llningar",from_name:"Fr\xE5n namn",from_mail:"Fr\xE5n adress",encryption:"Kryptering",mail_config_desc:"Nedan formul\xE4r anv\xE4nds f\xF6r att konfigurera vilket s\xE4tt som ska anv\xE4ndar f\xF6r att skicka epost. Du kan ocks\xE5 anv\xE4nda tredjepartsleverant\xF6r som Sendgrid, SES o.s.v."},pdf:{title:"PDF-inst\xE4llningar",footer_text:"Sidfotstext",pdf_layout:"PDF-layout"},company_info:{company_info:"F\xF6retagsinfo",company_name:"F\xF6retagsnamn",company_logo:"F\xF6retagslogga",section_description:"Information om ditt f\xF6retags som kommer visas p\xE5 fakturor, kostnadsf\xF6rslag och andra dokument skapade av Crater.",phone:"Telefon",country:"Land",state:"Kommun",city:"Stad",address:"Adress",zip:"Postnr",save:"Spara",updated_message:"F\xF6retagsinformation uppdaterad"},custom_fields:{title:"Anpassade f\xE4lt",section_description:"Anpassa fakturor, kostnadsf\xF6rslag och kvitton med dina egna f\xE4lt. Anv\xE4nd nedanst\xE5ende f\xE4lt i adressforamteringen p\xE5 anpassningarnas inst\xE4llningssida.",add_custom_field:"L\xE4gg till anpassat f\xE4lt",edit_custom_field:"\xC4ndra anpassade f\xE4lt",field_name:"F\xE4ltnamn",label:"Etikett",type:"Typ",name:"Namn",required:"Tvingad",placeholder:"Placeholder",help_text:"Hj\xE4lptext",default_value:"Standardv\xE4rde",prefix:"Prefix",starting_number:"Startnummer",model:"Modell",help_text_description:"Skriv in text som hj\xE4lper anv\xE4ndaren f\xF6rst\xE5 vad det anpassade f\xE4ltet anv\xE4nds f\xF6r.",suffix:"Suffix",yes:"Ja",no:"Nej",order:"Ordning",custom_field_confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla detta anpassade f\xE4lt",already_in_use:"Det anpassade f\xE4ltet anv\xE4nds",deleted_message:"Det anpassade f\xE4ltet raderades",options:"val",add_option:"L\xE4gg till val",add_another_option:"L\xE4gg till ett till val",sort_in_alphabetical_order:"Sortera i alfabetisk ordning",add_options_in_bulk:"L\xE4gg till flera val",use_predefined_options:"Anv\xE4nd f\xF6rinst\xE4llda val",select_custom_date:"V\xE4lj anpassat datum",select_relative_date:"V\xE4lj relativt datum",ticked_by_default:"Ikryssad fr\xE5n start",updated_message:"Anpassat f\xE4lt uppdaterades",added_message:"Anpassat f\xE4lt skapat"},customization:{customization:"Anpassning",save:"Spara",addresses:{title:"Adresser",section_description:"Du kan formatera kundens faktura- och leveransadress (Visas enbart i PDF-en). ",customer_billing_address:"Kunds fakturaadress",customer_shipping_address:"Kunds leveransadress",company_address:"F\xF6retagsadress",insert_fields:"L\xE4gg till f\xE4lt",contact:"Kontakt",address:"Adress",display_name:"Visningsnamn",primary_contact_name:"Huvudkontakts namn",email:"Epost",website:"Hemsida",name:"Namn",country:"Lan",state:"Kommun",city:"Stad",company_name:"F\xF6retagsnamn",address_street_1:"Gatuadress 1",address_street_2:"Gatuadress 2",phone:"Telefon",zip_code:"Postnummer",address_setting_updated:"Inst\xE4llningar f\xF6r adress uppdaterades"},updated_message:"F\xF6retagsinformation uppdaterades",invoices:{title:"Fakturor",notes:"Noteringar",invoice_prefix:"Prefix f\xF6r fakturor",default_invoice_email_body:"Standardtext f\xF6r faktura",invoice_settings:"Fakturainst\xE4llningar",autogenerate_invoice_number:"Generera fakturanummer automatiskt",autogenerate_invoice_number_desc:"Inaktivera detta dom du inte vill att det automatiskt ska genereras ett nytt fakturanummer vid skapande av faktura.",enter_invoice_prefix:"Skriv prefix f\xF6r faktura",terms_and_conditions:"Villkor",company_address_format:"Formatering av f\xF6retagsadress",shipping_address_format:"Formatering av leveransadress",billing_address_format:"Formatering av fakturaadress",invoice_settings_updated:"Fakturainst\xE4llningar uppdaterades"},estimates:{title:"Kostnadsf\xF6rslag",estimate_prefix:"Prefix f\xF6r kostnadsf\xF6rslag",default_estimate_email_body:"Standardtext f\xF6r kostnadsf\xF6rslag",estimate_settings:"Kostnadsf\xF6rslagsinst\xE4llningar",autogenerate_estimate_number:"Generera kostnadsf\xF6rslagsnummer automatiskt",estimate_setting_description:"Inaktivera detta dom du inte vill att det automatiskt ska genereras ett nytt kostnadsf\xF6rslagsnummer vid skapande av kostnadsf\xF6rslag.",enter_estimate_prefix:"Skriv prefix f\xF6r kostnadsf\xF6rslag",estimate_setting_updated:"Kostnadsf\xF6rslagsinst\xE4llningar uppdaterades",company_address_format:"Formatering av f\xF6retagsadress",billing_address_format:"Formatering av fakturaadress",shipping_address_format:"Formatering av leveransadress"},payments:{title:"Betalningar",description:"\xD6verf\xF6ringstyper f\xF6r betalningar",payment_prefix:"Prefix f\xF6r betalningar",default_payment_email_body:"Standardtext f\xF6r betalningar",payment_settings:"Betalningsinst\xE4llningar",autogenerate_payment_number:"Generera betalningsnummer automatiskt",payment_setting_description:"Inaktivera detta dom du inte vill att det automatiskt ska genereras ett nytt betalningssnummer vid skapande av betalning.",enter_payment_prefix:"Skriv prefix f\xF6r kostnadsf\xF6rslag",payment_setting_updated:"Betalningsinst\xE4llningar uppdaterades",payment_modes:"Betalningss\xE4tt",add_payment_mode:"L\xE4gg till betalningss\xE4tt",edit_payment_mode:"\xC4ndra betalningss\xE4tt",mode_name:"Typnamn",payment_mode_added:"Betalningss\xE4tt tillagd",payment_mode_updated:"Betalningss\xE4tt uppdaterat",payment_mode_confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna betalningsmetod",already_in_use:"Betalningss\xE4ttet anv\xE4nds",deleted_message:"Betalningss\xE4tt raderades",company_address_format:"Format f\xF6r f\xF6retagsadress",from_customer_address_format:"Format f\xF6r kundens fr\xE5n-adress"},items:{title:"Artiklar",units:"Enheter",add_item_unit:"L\xE4gg till artikelenhet",edit_item_unit:"Editera artikelenhet",unit_name:"Enhets namn",item_unit_added:"Artikelenhet tillagd",item_unit_updated:"Artikelenhet uppdaterad",item_unit_confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna artikelenhet",already_in_use:"Artikelenhet anv\xE4nds",deleted_message:"Artikelenhet raderades"},notes:{title:"Noteringar",description:"Spara tid genom att skapa noteringar som kan \xE5teranv\xE4ndas p\xE5 fakturor, betalningsf\xF6rslag, och betalningar.",notes:"Noteringar",type:"Typ",add_note:"L\xE4gg till notering",add_new_note:"L\xE4gg till ny notering",name:"Namn",edit_note:"Editera notering",note_added:"Notering skapades",note_updated:"Notering uppdaterades",note_confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna notering",already_in_use:"Notering anv\xE4nds",deleted_message:"Notering raderades"}},account_settings:{profile_picture:"Profilbild",name:"Namn",email:"Epost",password:"L\xF6senord",confirm_password:"Bekr\xE4fta l\xF6senord",account_settings:"Kontoinst\xE4llningar",save:"Spara",section_description:"Du kan uppdatera namn, epost och l\xF6senord med hj\xE4lp av formul\xE4ret nedan.",updated_message:"Kontoinst\xE4llningar uppdaterades"},user_profile:{name:"Namn",email:"Epost",password:"L\xF6senord",confirm_password:"Bekr\xE4fta l\xF6senord"},notification:{title:"Notifieringar",email:"Skicka notifiering till",description:"Vilka notifieringar vill du ha via epost n\xE4r n\xE5got \xE4ndras?",invoice_viewed:"Faktura kollad",invoice_viewed_desc:"N\xE4r din kund kollar fakturan via craters \xF6versikt.",estimate_viewed:"Betalf\xF6rslag kollad",estimate_viewed_desc:"N\xE4r din kund kollar betalf\xF6rslag via craters \xF6versikt.",save:"Spara",email_save_message:"Epost sparades",please_enter_email:"Skriv in epostadress"},tax_types:{title:"Momssatser",add_tax:"L\xE4gg till moms",edit_tax:"\xC4ndra moms",description:"Du kan l\xE4gga till och ta bort momssatser som du vill. Crater har st\xF6d f\xF6r moms per artikel men \xE4ven per faktura.",add_new_tax:"L\xE4gg till ny momssats",tax_settings:"Momssattsinst\xE4llningar",tax_per_item:"Moms per artikel",tax_name:"Namn",compound_tax:"Sammansatt moms",percent:"Procent",action:"Handling",tax_setting_description:"Aktivera detta om du vill l\xE4gga till momssats p\xE5 individuella fakturaartiklar. Som standard s\xE4tts moms direkt p\xE5 fakturan.",created_message:"Momssats skapades",updated_message:"Momssats uppdaterades",deleted_message:"Momssats raderades",confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna Momssats",already_in_use:"Momssats anv\xE4nds"},expense_category:{title:"Kategorier f\xF6r utgifter",action:"Handling",description:"Kategorier kr\xE4vs f\xF6r att l\xE4gga till utgifter. Du kan l\xE4gga till och ta bort dessa kategorier som du vill",add_new_category:"L\xE4gg till ny kategori",add_category:"L\xE4gg till kategori",edit_category:"\xC4ndra kategori",category_name:"Kategorinamn",category_description:"Beskrivning",created_message:"Utgiftskategori skapades",deleted_message:"Utgiftskategori raderades",updated_message:"Utgiftskategori uppdaterades",confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna utgiftskategori",already_in_use:"Kategorin anv\xE4nds"},preferences:{currency:"Valuta",default_language:"Standardspr\xE5k",time_zone:"Tidszon",fiscal_year:"R\xE4kenskaps\xE5r",date_format:"Datumformattering",discount_setting:"Rabattinst\xE4llningar",discount_per_item:"Rabatt per artikel ",discount_setting_description:"Aktivera detta om du vill kunna l\xE4gga rabatt p\xE5 enskilda fakturaartiklar. Rabatt ges som standard p\xE5 hela fakturan.",save:"Spara",preference:"Preferens | Preferenser",general_settings:"Standardpreferenser f\xF6r systemet.",updated_message:"Preferenser uppdaterades",select_language:"V\xE4lj spr\xE5k",select_time_zone:"V\xE4lj tidszon",select_date_format:"V\xE4lj datumformat",select_financial_year:"V\xE4lj r\xE4kenskaps\xE5r"},update_app:{title:"Uppdatera applikationen",description:"Du kan enkelt uppdatera Crater genom att s\xF6ka efter uppdateringar via knappen nedan",check_update:"S\xF6k efter uppdateringar",avail_update:"Uppdatering \xE4r tillg\xE4nglig",next_version:"N\xE4sta version",requirements:"Krav",update:"Uppdatera nu",update_progress:"Uppdaterar...",progress_text:"Det kommer bara ta n\xE5gra minuter. St\xE4ng eller uppdatera inte webl\xE4saren f\xF6rr\xE4n uppdateringen \xE4r f\xE4rdig.",update_success:"Applikationen har uppdaterats! V\xE4nta s\xE5 kommer f\xF6nstret laddas om automatiskt..",latest_message:"Ingen uppdatering tillg\xE4nglig! Du har den senaste versionen.",current_version:"Nuvarande version",download_zip_file:"Ladda ner ZIP-fil",unzipping_package:"Zippar upp paket",copying_files:"Kopierar filer",running_migrations:"K\xF6r migreringar",finishing_update:"Avslutar uppdateringen",update_failed:"Uppdatering misslyckades",update_failed_text:"Uppdateringen misslyckades p\xE5 steg : {step} step"},backup:{title:"S\xE4kerhetskopiering | S\xE4kerhetskopieringar",description:"S\xE4kerhetskopian \xE4r en zip-fil som inneh\xE5ller alla filer i katalogerna du v\xE4ljer samt en kopia av databasen",new_backup:"Skapa ny s\xE4kerhetskopia",create_backup:"Skapa s\xE4kerhetskopia",select_backup_type:"V\xE4lj typ av s\xE4kerhetskopia",backup_confirm_delete:"Du kommer inte kunna \xE5terst\xE4lla denna s\xE4kerhetskopia",path:"s\xF6kv\xE4g",new_disk:"Ny disk",created_at:"skapad den",size:"storlek",dropbox:"dropbox",local:"lokal",healthy:"h\xE4lsosam",amount_of_backups:"antal s\xE4kerhetskopior",newest_backups:"senaste s\xE4kerhetskopiorna",used_storage:"anv\xE4nt utrymme",select_disk:"V\xE4lj disk",action:"Handling",deleted_message:"S\xE4kerhetskopia raderad",created_message:"S\xE4kerhetskopia skapades",invalid_disk_credentials:"Ogiltiga autentiseringsuppgifter f\xF6r den valda disken"},disk:{title:"Lagring | Lagringar",description:"Crater anv\xE4nder din lokala disk som standard f\xF6r att spara s\xE4kerhetskopior, avatarer och andra bildfiler. Du kan st\xE4lla in fler lagringsenheter s\xE5som DigitalOcean, S3 och Dropbox beroende av ditt behov.",created_at:"skapad den",dropbox:"dropbox",name:"Namn",driver:"Plats",disk_type:"Typ",disk_name:"Lagringsenhetsnamn",new_disk:"L\xE4gg till ny lagringsenhet",filesystem_driver:"Enhetsplats",local_driver:"Lokal enhet",local_root:"S\xF6kv\xE4g p\xE5 lokal enhet",public_driver:"Offentlig drivrutin",public_root:"Offentlig rot",public_url:"Offentlig URL",public_visibility:"Offentlig synlighet",media_driver:"Mediaenhet",media_root:"Media Root",aws_driver:"AWS",aws_key:"Nyckel",aws_secret:"L\xF6senord",aws_region:"Region",aws_bucket:"Bucket",aws_root:"S\xF6kv\xE4g",do_spaces_type:"Do Spaces type",do_spaces_key:"Nyckel",do_spaces_secret:"L\xF6senord",do_spaces_region:"Region",do_spaces_bucket:"Bucket",do_spaces_endpoint:"Endpoint",do_spaces_root:"S\xF6kv\xE4g",dropbox_type:"Typ",dropbox_token:"Token",dropbox_key:"Nyckel",dropbox_secret:"L\xF6senord",dropbox_app:"App",dropbox_root:"S\xF6kv\xE4g",default_driver:"Standard",is_default:"\xC4r standard",set_default_disk:"V\xE4lj som standard",set_default_disk_confirm:"Denna disk kommer bli standard och alla nya PFDer blir sparade h\xE4r",success_set_default_disk:"Disk vald som standard",save_pdf_to_disk:"Spara PDFer till disk",disk_setting_description:"Aktivera detta om du vill ha en kopia av varje faktura, kostnadsf\xF6rslag, och betalningskvitto som PDF p\xE5 din standard disk automatiskt.Aktiverar du denna funktion s\xE5 kommer laddtiderna f\xF6r visning av PDFer minskas.",select_disk:"V\xE4lj Disk",disk_settings:"Diskinst\xE4llningar",confirm_delete:"Dina existerande filer och kataloger p\xE5 den valda disken kommer inte p\xE5verkas men inst\xE4llningarna f\xF6r disken raderas fr\xE5n Crater",action:"Handling",edit_file_disk:"\xC4ndra disk",success_create:"Disk skapades",success_update:"Disk uppdaterades",error:"Fel vid skapande av disk",deleted_message:"Disk raderades",disk_variables_save_successfully:"Diskinst\xE4llningar sparades",disk_variables_save_error:"N\xE5got gick fel vid sparning av diskinst\xE4llningar",invalid_disk_credentials:"Felaktiga uppgifter vid val av disk"}},If={account_info:"Kontoinformation",account_info_desc:"Nedan detaljer anv\xE4nds f\xF6r att skapa huvudadministrat\xF6rskonto. Du kan \xE4ndra detta i efterhand.",name:"Namn",email:"Epost",password:"L\xF6senord",confirm_password:"Bekr\xE4fta l\xF6senord",save_cont:"Spara och forts\xE4tt",company_info:"F\xF6retagsinformation",company_info_desc:"Denna information visas p\xE5 fakturor. Du kan \xE4ndra detta i efterhand p\xE5 sidan f\xF6r inst\xE4llningar.",company_name:"F\xF6retagsnamn",company_logo:"F\xF6retagslogga",logo_preview:"F\xF6rhandsvisning av logga",preferences:"Inst\xE4llningar",preferences_desc:"Standardinst\xE4llningar f\xF6r systemet.",country:"Land",state:"Kommun",city:"Stad",address:"Adress",street:"Gatuadress1 | Gatuadress2",phone:"Telefon",zip_code:"Postnr",go_back:"Tillbaka",currency:"Valuta",language:"Spr\xE5k",time_zone:"Tidszon",fiscal_year:"R\xE4kenskaps\xE5r",date_format:"Datumformat",from_address:"Fr\xE5n adress",username:"Anv\xE4ndarnamn",next:"N\xE4sta",continue:"Forts\xE4tt",skip:"Hoppa \xF6ver",database:{database:"Sidans URL & Databas",connection:"Databasanslutning",host:"V\xE4rdadress till databasen",port:"Port till databasen",password:"L\xF6senord till databasen",app_url:"Appens URL",app_domain:"Appens Dom\xE4n",username:"Anv\xE4ndarnamn till databasen",db_name:"Databasens namn",db_path:"Databasens s\xF6kv\xE4g",desc:"Skapa en database p\xE5 din server och st\xE4ll in autentiseringsuppgifter i formul\xE4ret nedan."},permissions:{permissions:"Beh\xF6righeter",permission_confirm_title:"\xC4r du s\xE4ker p\xE5 att du vill forts\xE4tta?",permission_confirm_desc:"Fel beh\xF6righeter vid kontroll p\xE5 katalogen",permission_desc:"Nedan \xE4r en lista p\xE5 katalogr\xE4ttigheter som kr\xE4vs f\xF6r att denna app ska fungera. Om beh\xF6righetskontrollen misslyckas, uppdatera beh\xF6righeterna f\xF6r katalogerna."},mail:{host:"V\xE4rdadress till epost",port:"Port till epost",driver:"Typ",secret:"Hemlighet",mailgun_secret:"Hemlighet",mailgun_domain:"Dom\xE4n",mailgun_endpoint:"Endpoint",ses_secret:"Hemlighet",ses_key:"Nyckel",password:"L\xF6senord",username:"Anv\xE4ndarnamn",mail_config:"Epostinst\xE4llningar",from_name:"Namn som st\xE5r vid utg\xE5ende epost",from_mail:"Epostadress som anv\xE4nds som returadress vid utg\xE5ende epost",encryption:"Epostkryptering",mail_config_desc:"Nedan formul\xE4r anv\xE4nds f\xF6r att konfigurera vilket s\xE4tt som ska anv\xE4ndar f\xF6r att skicka epost. Du kan ocks\xE5 anv\xE4nda tredjepartsleverant\xF6r som Sendgrid, SES o.s.v."},req:{system_req:"Systemkrav",php_req_version:"Php (version {version} kr\xE4vs)",check_req:"Kontrollera krav",system_req_desc:"Crater har n\xE5gra krav p\xE5 din server. Kontrollera att din server har den n\xF6dv\xE4ndiga versionen av PHP och alla till\xE4gg som n\xE4mns nedan."},errors:{migrate_failed:"Migration misslyckades",database_variables_save_error:"Kan inte skriva till .env-filen. Kontrollera dina beh\xF6righeter till filen",mail_variables_save_error:"Epostinst\xE4llningar misslyckades.",connection_failed:"Databasanslutning misslyckades",database_should_be_empty:"Databasen m\xE5ste vara tom"},success:{mail_variables_save_successfully:"Epostinst\xE4llningar sparades.",database_variables_save_successfully:"Databasinst\xE4llningar sparades."}},$f={invalid_phone:"Felaktigt telefonnummer",invalid_url:"Felaktig url (ex: http://www.craterapp.com)",invalid_domain_url:"Felaktig url (ex: craterapp.com)",required:"F\xE4ltet \xE4r tvingande",email_incorrect:"Felaktig epostadress.",email_already_taken:"Denna epostadress finns redan.",email_does_not_exist:"Anv\xE4ndare med den epostadressen finns inte",item_unit_already_taken:"Detta artikelenhetsnamn finns redan",payment_mode_already_taken:"Betalningsmetodsnamnet finns redan",send_reset_link:"Skicka l\xE4nk f\xF6r \xE5terst\xE4llning",not_yet:"Inte \xE4n? Skicka igen",password_min_length:"L\xF6senordet m\xE5ste inneh\xE5lla {count} tecken",name_min_length:"Namn m\xE5ste ha minst {count} bokst\xE4ver.",enter_valid_tax_rate:"Skriv in till\xE5ten momssats",numbers_only:"Endast siffror.",characters_only:"Endast bokst\xE4ver.",password_incorrect:"L\xF6senorden m\xE5ste \xF6verensst\xE4mma",password_length:"L\xF6senordet m\xE5ste vara minst {count} tecken.",qty_must_greater_than_zero:"Antal m\xE5ste vara st\xF6rre \xE4n noll.",price_greater_than_zero:"Pris m\xE5ste vara st\xF6rre \xE4n noll.",payment_greater_than_zero:"Betalningen m\xE5ste vara st\xF6rre \xE4n noll.",payment_greater_than_due_amount:"Inslagen betalning \xE4r st\xF6rre \xE4n summan p\xE5 denna faktura.",quantity_maxlength:"Antal kan inte vara st\xF6rre \xE4n 20 siffror.",price_maxlength:"Pris kan inte vara st\xF6rre \xE4n 20 siffror.",price_minvalue:"Pris m\xE5ste vara st\xF6rre \xE4n 0.",amount_maxlength:"Belopp kan inte vara st\xF6rre \xE4n 20 siffror.",amount_minvalue:"Belopp m\xE5ste vara st\xF6rre \xE4n 9.",description_maxlength:"Beskrivning f\xE5r inte inneh\xE5lla fler \xE4n 255 tecken.",subject_maxlength:"\xC4mne f\xE5r inte inneh\xE5lla fler \xE4n 100 tecken.",message_maxlength:"Meddelande f\xE5r inte inneh\xE5lla fler \xE4n 255 tecken.",maximum_options_error:"H\xF6gst {max} val. Ta bort ett val f\xF6r att kunna l\xE4gga till ett annat.",notes_maxlength:"Noteringar kan inte vara st\xF6rre \xE4n 255 tecken.",address_maxlength:"Adress kan inte vara st\xF6rre \xE4n 255 tecken.",ref_number_maxlength:"Referensnummer kan inte vara st\xF6rre \xE4n 255 tecken.",prefix_maxlength:"Prefix kan inte vara st\xF6rre \xE4n 5 tecken.",something_went_wrong:"n\xE5got blev fel"},Rf="Kostnadsf\xF6rslag",Ff="Kostnadsf\xF6rslagsnummer",Mf="Kostnadsf\xF6rslagsdatum",Bf="Utg\xE5ngsdatum",Vf="Faktura",Of="Fakturanummer",Lf="Fakturadatum",Uf="Inbetalningsdatum",Kf="Noteringar",qf="Artiklar",Wf="Antal",Zf="Kostnad",Hf="Rabatt",Gf="Belopp",Yf="Delsumma",Jf="Summa",Xf="Payment",Qf="Betalningskvitto",eh="Betalningsdatum",th="Betalningsnummer",ah="Betalningstyp",sh="Belopp mottaget",nh="Kostnadsrapport",ih="Totalkostnad",oh="Resultat- och f\xF6rlustrapport",rh="Sales Customer Report",dh="Sales Item Report",lh="Tax Summary Report",ch="Inkomst",_h="Nettof\xF6rtj\xE4nst",uh="F\xF6rs\xE4ljningsrapport: Per kund",mh="SUMMA F\xD6RS\xC4LJNINGAR",ph="F\xF6rs\xE4ljningsrapport: Per artikel",gh="Momsrapport",fh="SUMMA MOMS",hh="Momssatser",vh="Utgifter",yh="Faktureras till,",bh="Skickas till,",kh="Fr\xE5n:",wh="Tax";var xh={navigation:yf,general:bf,dashboard:kf,tax_types:wf,global_search:xf,customers:zf,items:Sf,estimates:Pf,invoices:jf,payments:Df,expenses:Cf,login:Af,users:Nf,reports:Ef,settings:Tf,wizard:If,validation:$f,pdf_estimate_label:Rf,pdf_estimate_number:Ff,pdf_estimate_date:Mf,pdf_estimate_expire_date:Bf,pdf_invoice_label:Vf,pdf_invoice_number:Of,pdf_invoice_date:Lf,pdf_invoice_due_date:Uf,pdf_notes:Kf,pdf_items_label:qf,pdf_quantity_label:Wf,pdf_price_label:Zf,pdf_discount_label:Hf,pdf_amount_label:Gf,pdf_subtotal:Yf,pdf_total:Jf,pdf_payment_label:Xf,pdf_payment_receipt_label:Qf,pdf_payment_date:eh,pdf_payment_number:th,pdf_payment_mode:ah,pdf_payment_amount_received_label:sh,pdf_expense_report_label:nh,pdf_total_expenses_label:ih,pdf_profit_loss_label:oh,pdf_sales_customers_label:rh,pdf_sales_items_label:dh,pdf_tax_summery_label:lh,pdf_income_label:ch,pdf_net_profit_label:_h,pdf_customer_sales_report:uh,pdf_total_sales_label:mh,pdf_item_sales_label:ph,pdf_tax_report_label:gh,pdf_total_tax_label:fh,pdf_tax_types_label:hh,pdf_expenses_label:vh,pdf_bill_to:yh,pdf_ship_to:bh,pdf_received_from:kh,pdf_tax_label:wh};const zh={dashboard:"Hlavn\xFD Panel",customers:"Z\xE1kazn\xEDci",items:"Polo\u017Eky",invoices:"Fakt\xFAry",expenses:"V\xFDdaje",estimates:"Cenov\xE9 odhady",payments:"Platby",reports:"Reporty",settings:"Nastavenia",logout:"Odhl\xE1si\u0165 sa",users:"U\u017Eivatelia"},Sh={add_company:"Prida\u0165 firmu",view_pdf:"Zobrazi\u0165 PDF",copy_pdf_url:"Kop\xEDrova\u0165 PDF adresu",download_pdf:"Stiahnu\u0165 PDF",save:"Ulo\u017Ei\u0165",create:"Vytvori\u0165",cancel:"Zru\u0161i\u0165",update:"Aktualizova\u0165",deselect:"Zru\u0161i\u0165 v\xFDber",download:"Stiahnu\u0165",from_date:"Od d\xE1tumu",to_date:"Do d\xE1tumu",from:"Od",to:"Pre",sort_by:"Zoradi\u0165 pod\u013Ea",ascending:"Vzostupne",descending:"Zostupne",subject:"Predmet",body:"Telo textu",message:"Spr\xE1va",send:"Odosla\u0165",go_back:"Sp\xE4\u0165",back_to_login:"Sp\xE4\u0165 na prihl\xE1senie?",home:"Domov",filter:"Filtrova\u0165",delete:"Odstr\xE1ni\u0165",edit:"Upravi\u0165",view:"Zobrazi\u0165",add_new_item:"Prida\u0165 nov\xFA polo\u017Eku",clear_all:"Vy\u010Disti\u0165 v\u0161etko",showing:"Zobrazuje sa",of:"z",actions:"Akcie",subtotal:"MEDZIS\xDA\u010CET",discount:"Z\u013DAVA",fixed:"Pevn\xE9",percentage:"Percento",tax:"DA\u0147",total_amount:"SUMA SPOLU",bill_to:"Faktura\u010Dn\xE1 adresa",ship_to:"Adresa doru\u010Denia",due:"Term\xEDn",draft:"Koncept",sent:"Odoslan\xE9",all:"V\u0161etko",select_all:"Vybra\u0165 v\u0161etky",choose_file:"Kliknite sem pre vybratie s\xFAboru",choose_template:"Vybra\u0165 vzh\u013Ead",choose:"Vybra\u0165",remove:"Odstr\xE1ni\u0165",powered_by:"Be\u017E\xED na",bytefury:"Bytefury",select_a_status:"Vyberte stav",select_a_tax:"Vyberte da\u0148",search:"H\u013Eada\u0165",are_you_sure:"Ste si ist\xFD?",list_is_empty:"Zoznam je pr\xE1zdny.",no_tax_found:"\u017Diadna da\u0148 nebola n\xE1jden\xE1!",four_zero_four:"404",you_got_lost:"Ups! Stratili ste sa!",go_home:"\xCDs\u0165 domov",test_mail_conf:"Otestova\u0165 e-mailov\xFA konfigur\xE1ciu",send_mail_successfully:"E-Mail odoslan\xFD \xFAspe\u0161ne",setting_updated:"Nastavenia boli \xFAspe\u0161ne aktualizovan\xE9",select_state:"Vyberte \u0161t\xE1t",select_country:"Vyberte krajinu",select_city:"Vyberte mesto",street_1:"Prv\xFD riadok ulice",street_2:"Druh\xFD riadok ulice",action_failed:"Akcia ne\xFAspe\u0161n\xE1",retry:"Sk\xFAsi\u0165 znova",choose_note:"Vyberte pozn\xE1mku",no_note_found:"Neboli n\xE1jden\xE9 \u017Eiadne pozn\xE1mky",insert_note:"Vlo\u017E pozn\xE1mku"},Ph={select_year:"Vyberte rok",cards:{due_amount:"\u010Ciastka k zaplateniu",customers:"Z\xE1kazn\xEDci",invoices:"Fakt\xFAry",estimates:"Cenov\xE9 odhady"},chart_info:{total_sales:"Predaje",total_receipts:"Doklady o zaplaten\xED",total_expense:"V\xFDdaje",net_income:"\u010Cist\xFD pr\xEDjem",year:"Vyberte rok"},monthly_chart:{title:"Predaje a V\xFDdaje"},recent_invoices_card:{title:"Splatn\xE9 fakt\xFAry",due_on:"Term\xEDn splatenia",customer:"Z\xE1kazn\xEDk",amount_due:"\u010Ciastka k zaplateniu",actions:"Akcie",view_all:"Zobrazi\u0165 v\u0161etko"},recent_estimate_card:{title:"Ned\xE1vne cenov\xE9 odhady",date:"D\xE1tum",customer:"Z\xE1kazn\xEDk",amount_due:"Cena",actions:"Akcie",view_all:"Zobrazi\u0165 v\u0161etky"}},jh={name:"Meno",description:"Popis",percent:"Percento",compound_tax:"Zlo\u017Een\xE1 da\u0148"},Dh={search:"H\u013Eada\u0165...",customers:"Z\xE1kazn\xEDci",users:"U\u017Eivatelia",no_results_found:"Neboli n\xE1jden\xE9 \u017Eiadne v\xFDsledky"},Ch={title:"Z\xE1kazn\xEDci",add_customer:"Prida\u0165 Z\xE1kazn\xEDka",contacts_list:"Zoznam z\xE1kazn\xEDkov",name:"Meno",mail:"E-mail | E-maily",statement:"V\xFDpis",display_name:"Zobrazovan\xE9 meno",primary_contact_name:"Meno Prim\xE1rneho Kontaktu",contact_name:"Meno Kontaktu",amount_due:"\u010Ciastka k zaplateniu",email:"E-mail",address:"Adresa",phone:"Telef\xF3n",website:"Webov\xE9 str\xE1nky",overview:"Preh\u013Ead",enable_portal:"Aktivova\u0165 port\xE1l",country:"Krajina",state:"\u0160t\xE1t",city:"Mesto",zip_code:"PS\u010C",added_on:"Pridan\xE9 D\u0148a",action:"Akcia",password:"Heslo",street_number:"\u010C\xEDslo Ulice",primary_currency:"Hlavn\xE1 Mena",description:"Popis",add_new_customer:"Prida\u0165 Nov\xE9ho Z\xE1kazn\xEDka",save_customer:"Ulo\u017Ei\u0165 Z\xE1kazn\xEDka",update_customer:"Aktualizova\u0165 Zak\xE1zn\xEDka",customer:"Z\xE1kazn\xEDk | Z\xE1kazn\xEDci",new_customer:"Nov\xFD Z\xE1kazn\xEDk",edit_customer:"Upravi\u0165 Z\xE1kazn\xEDka",basic_info:"Z\xE1kladn\xE9 Inform\xE1cie",billing_address:"Faktura\u010Dn\xE1 Adresa",shipping_address:"Doru\u010Dovacia Adresa",copy_billing_address:"Kop\xEDrova\u0165 pod\u013Ea Faktura\u010Dnej adresy",no_customers:"Zatia\u013E nebol pridan\xFD \u017Eiadny z\xE1kazn\xEDk!",no_customers_found:"Nen\xE1jden\xED \u017Eiadni z\xE1kazn\xEDci!",list_of_customers:"T\xE1to sekcia bude obsahova\u0165 zoznam z\xE1kazn\xEDkov.",primary_display_name:"Hlavn\xE9 meno pre zobrazenie",select_currency:"Vyberte menu",select_a_customer:"Vyberte z\xE1kazn\xEDka",type_or_click:"Za\u010Dnite p\xEDsa\u0165 alebo kliknite pre vybratie",new_transaction:"Nov\xE1 Transakcia",no_matching_customers:"Nena\u0161li sa \u017Eiadny z\xE1kazn\xEDci sp\u013A\u0148aj\xFAce Va\u0161e podmienky!",phone_number:"Telef\xF3nne \u010C\xEDslo",create_date:"D\xE1tum Vytvorenia",confirm_delete:"Nebudete m\xF4c\u0165 obnovi\u0165 tohto z\xE1kazn\xEDka ani \u017Eiadne fakt\xFAry, cenov\xE9 odhady alebo platby s n\xEDm spojen\xE9. | Nebudete m\xF4c\u0165 obnovi\u0165 t\xFDchto z\xE1kazn\xEDkov ani \u017Eiadne fakt\xFAry, cenov\xE9 odhady alebo platby s nimi spojen\xE9.",created_message:"Z\xE1kazn\xEDk \xFAspe\u0161ne vytvoren\xFD",updated_message:"Z\xE1kazn\xEDk \xFAspe\u0161ne aktualizovan\xFD",deleted_message:"Z\xE1kazn\xEDk \xFAspe\u0161ne odstr\xE1nen\xFD | Z\xE1kazn\xEDci \xFAspe\u0161ne odstr\xE1nen\xED"},Ah={title:"Polo\u017Eky",items_list:"Zoznam Polo\u017Eiek",name:"Meno",unit:"Jednotka",description:"Popis",added_on:"Pridan\xE9 D\u0148a",price:"Cena",date_of_creation:"D\xE1tum Vytvorenia",action:"Akcia",add_item:"Prida\u0165 Polo\u017Eku",save_item:"Ulo\u017Ei\u0165 Polo\u017Eku",update_item:"Aktualizova\u0165 Polo\u017Eku",item:"Polo\u017Eka | Polo\u017Eky",add_new_item:"Prida\u0165 Nov\xFA Polo\u017Eku",new_item:"Nov\xE1 polo\u017Eka",edit_item:"Upravi\u0165 Polo\u017Eku",no_items:"Zatia\u013E \u017Eiadn\xE9 polo\u017Eky!",list_of_items:"T\xE1to sekcia bude obsahova\u0165 zoznam z\xE1kazn\xEDkov.",select_a_unit:"vyberte jednotku",taxes:"Dane",item_attached_message:"Nie je mo\u017En\xE9 vymaza\u0165 polo\u017Eku, ktor\xE1 sa pou\u017E\xEDva",confirm_delete:"Nebudete m\xF4c\u0165 obnovi\u0165 t\xFAto Polo\u017Eku | Nebudete m\xF4c\u0165 obnovi\u0165 tieto Polo\u017Eky",created_message:"Polo\u017Eka \xFAspe\u0161ne vytvoren\xE1",updated_message:"Polo\u017Eka \xFAspe\u0161ne aktualizovan\xE1",deleted_message:"Polo\u017Eka \xFAspe\u0161ne odstr\xE1nen\xE1 | Polo\u017Eky \xFAspe\u0161ne odstr\xE1nen\xE9"},Nh={title:"Cenov\xE9 odhady",estimate:"Cenov\xFD odhad | Cenov\xE9 odhady",estimates_list:"Zoznam Cenov\xFDch odhadov",days:"{days} Dn\xED",months:"{months} Mesiac",years:"{years} Rok",all:"V\u0161etko",paid:"Zaplaten\xE9",unpaid:"Nezaplaten\xE9",customer:"Z\xC1KAZN\xCDK",ref_no:"REF \u010C.",number:"\u010C\xCDSLO",amount_due:"Dl\u017En\xE1 suma",partially_paid:"\u010Ciasto\u010Dne Zaplaten\xE9",total:"Spolu",discount:"Z\u013Eava",sub_total:"Medzis\xFA\u010Det",estimate_number:"\u010C\xEDslo Cenov\xE9ho odhadu",ref_number:"Ref. \u010C\xEDslo",contact:"Kontakt",add_item:"Prida\u0165 Polo\u017Eku",date:"D\xE1tum",due_date:"D\xE1tum Splatnosti",expiry_date:"D\xE1tum Ukon\u010Denia Platnosti",status:"Stav",add_tax:"Prida\u0165 Da\u0148",amount:"Suma",action:"Akcia",notes:"Pozn\xE1mky",tax:"Da\u0148",estimate_template:"Vzh\u013Ead",convert_to_invoice:"Konvertova\u0165 do Fakt\xFAry",mark_as_sent:"Ozna\u010Di\u0165 ako odoslan\xE9",send_estimate:"Odosla\u0165 Cenov\xFD odhad",resend_estimate:"Znovu Odosla\u0165 Cenov\xFD odhad",record_payment:"Zaznamena\u0165 Platbu",add_estimate:"Vytvori\u0165 Cenov\xFD odhad",save_estimate:"Ulo\u017Ei\u0165 Cenov\xFD odhad",confirm_conversion:"Tento cenov\xFD odhad bude pou\u017Eit\xFD k vytvoreniu novej Fakt\xFAry.",conversion_message:"Fakt\xFAra \xFAspe\u0161ne vytvoren\xE1",confirm_send_estimate:"Tento Cenov\xFD odhad bude odoslan\xFD z\xE1kazn\xEDkovi prostredn\xEDctvom e-mailu",confirm_mark_as_sent:"Tento Cenov\xFD odhad bude ozna\u010Den\xFD ako odoslan\xFD",confirm_mark_as_accepted:"Tento Cenov\xFD odhad bude ozna\u010Den\xFD ako Prijat\xFD",confirm_mark_as_rejected:"Tento Cenov\xFD odhad bude ozna\u010Den\xFD ako Odmietnut\xFD",no_matching_estimates:"Nena\u0161li sa \u017Eiadne Cenov\xE9 odhady sp\u013A\u0148aj\xFAce Va\u0161e podmienky!",mark_as_sent_successfully:"Cenov\xFD odhad \xFAspe\u0161ne ozna\u010Den\xFD ako odoslan\xFD",send_estimate_successfully:"Cenov\xFD odhad \xFAspe\u0161ne odoslan\xFD",errors:{required:"Pole je povinn\xE9"},accepted:"Prij\xE1t\xE1",sent:"Odoslan\xE1",draft:"Koncept",declined:"Zru\u0161en\xFD",new_estimate:"Nov\xFD Cenov\xFD odhad",add_new_estimate:"Prida\u0165 nov\xFD Cenov\xFD odhad",update_Estimate:"Aktualizova\u0165 Cenov\xFD odhad",edit_estimate:"Upravi\u0165 Cenov\xFD odhad",items:"polo\u017Eky",Estimate:"Cenov\xFD odhad | Cenov\xE9 odhady",add_new_tax:"Prida\u0165 Nov\xFA Da\u0148",no_estimates:"Zatia\u013E \u017Eiadne cenov\xE9 odhady",list_of_estimates:"T\xE1to sekcia bude obsahova\u0165 zoznam cenov\xFDch odhadov.",mark_as_rejected:"Ozna\u010Di\u0165 ako odmietnut\xFA",mark_as_accepted:"Ozna\u010Den\xFD ako prijat\xFA",marked_as_accepted_message:"Cenov\xFD odhad ozna\u010Den\xFD ako schv\xE1len\xFD",marked_as_rejected_message:"Cenov\xFD odhad ozna\u010Den\xFD ako odmietnut\xFD",confirm_delete:"Nebude mo\u017En\xE9 obnovi\u0165 cenov\xFD odhad | Nebude mo\u017En\xE9 obnovi\u0165 cenov\xE9 odhady",created_message:"Cenov\xFD odhad \xFAspe\u0161n\xE9 vytvoren\xFD",updated_message:"Cenov\xFD odhad \xFAspe\u0161n\xE9 aktualizovan\xFD",deleted_message:"Cenov\xFD odhad \xFAspe\u0161n\xE9 vymazan\xFD | Cenov\xE9 odhady \xFAspe\u0161n\xE9 vymazan\xE9",something_went_wrong:"Nie\u010Do neprebehlo v poriadku, odsk\xFA\u0161ajte pros\xEDm znova.",item:{title:"N\xE1zov Polo\u017Eky",description:"Popis",quantity:"Mno\u017Estvo",price:"Cena",discount:"Z\u013Eava",total:"Celkom",total_discount:"Celkov\xE1 z\u013Eava",sub_total:"Medzis\xFA\u010Det",tax:"Da\u0148",amount:"Suma",select_an_item:"Za\u010Dnite p\xEDsa\u0165 alebo kliknite pre vybratie polo\u017Eky",type_item_description:"Zadajte Popis Polo\u017Eky (volite\u013En\xE9)"}},Eh={title:"Fakt\xFAry",invoices_list:"Zoznam Fakt\xFAr",days:"{days} \u010Ee\u0148",months:"{months} Mesiac",years:"{years} Rok",all:"V\u0161etko",paid:"Zaplaten\xE9",unpaid:"Nezaplaten\xE9",customer:"Z\xC1KAZN\xCDK",paid_status:"Stav platby",ref_no:"REF \u010C.",number:"\u010C\xCDSLO",amount_due:"Dl\u017En\xE1 suma",partially_paid:"\u010Ciasto\u010Dne Zaplaten\xE9",total:"Spolu",discount:"Z\u013Eava",sub_total:"Medzis\xFA\u010Det",invoice:"Fakt\xFAra | Fakt\xFAry",invoice_number:"\u010C\xEDslo Fakt\xFAry",ref_number:"Ref. \u010C\xEDslo",contact:"Kontakt",add_item:"Prida\u0165 Polo\u017Eku",date:"D\xE1tum",due_date:"D\xE1tum Splatnosti",status:"Stav",add_tax:"Prida\u0165 Da\u0148",amount:"Suma",action:"Akcia",notes:"Pozn\xE1mky",view:"Zobrazi\u0165",send_invoice:"Odosla\u0165 Fakt\xFAru",resend_invoice:"Odosla\u0165 Fakt\xFAru Znovu",invoice_template:"Vzh\u013Ead fakt\xFAry",template:"Vzh\u013Ead",mark_as_sent:"Ozna\u010Di\u0165 ako odoslan\xFA",confirm_send_invoice:"T\xE1to fakt\xFAra bude odoslan\xE1 z\xE1kazn\xEDkovi prostredn\xEDctvom e-mailu",invoice_mark_as_sent:"T\xE1to fakt\xFAra bude ozna\u010Den\xE1 ako odoslan\xE1",confirm_send:"T\xE1to fakt\xFAra bude odoslan\xE1 z\xE1kazn\xEDkovi prostredn\xEDctvom e-mailu",invoice_date:"D\xE1tum Vystavenia",record_payment:"Zaznamena\u0165 Platbu",add_new_invoice:"Nov\xE1 Fakt\xFAra",update_expense:"Update Expense",edit_invoice:"Upravi\u0165 Fakt\xFAru",new_invoice:"Nov\xE1 Fakt\xFAra",save_invoice:"Ulo\u017Ei\u0165 Fakt\xFAru",update_invoice:"Upravi\u0165 Fakt\xFAru",add_new_tax:"Prida\u0165 Nov\xFA Da\u0148",no_invoices:"Zatia\u013E nem\xE1te \u017Eiadn\xE9 fakt\xFAry!",list_of_invoices:"T\xE1to sekcia bude obsahova\u0165 zoznam fakt\xFAr",select_invoice:"Vybra\u0165 Fakt\xFAru",no_matching_invoices:"Nena\u0161li sa \u017Eiadne fakt\xFAry!",mark_as_sent_successfully:"Fakt\xFAra ozna\u010Den\xE1 ako \xFAspe\u0161ne odoslan\xE1",invoice_sent_successfully:"Fakt\xFAra bola \xFAspe\u0161ne odoslan\xE1",cloned_successfully:"Fakt\xFAra bola \xFAspe\u0161ne okop\xEDrovan\xE1",clone_invoice:"Kop\xEDrova\u0165 fakt\xFAru",confirm_clone:"Fakt\xFAra bude okop\xEDrovan\xE1 do novej",item:{title:"N\xE1zov polo\u017Eky",description:"Popis",quantity:"Mno\u017Estvo",price:"Cena",discount:"Z\u013Eava",total:"Celkom",total_discount:"Celkov\xE1 z\u013Eava",sub_total:"Medzis\xFA\u010Det",tax:"Da\u0148",amount:"\u010Ciastka",select_an_item:"Nap\xED\u0161te alebo vyberte polo\u017Eku",type_item_description:"Popis polo\u017Eky (volite\u013En\xE9)"},confirm_delete:"T\xFAto fakt\xFAru nebude mo\u017En\xE9 obnovi\u0165 | Tieto fakt\xFAry nebude mo\u017En\xE9 obnovi\u0165",created_message:"Fakt\xFAra \xFAspe\u0161ne vytvoren\xE1",updated_message:"Fakt\xFAra \xFAspe\u0161ne aktualizovan\xE1",deleted_message:"Fakt\xFAra \xFAspe\u0161ne vymazan\xE1 | Fakt\xFAry \xFAspe\u0161ne vymazan\xE9",marked_as_sent_message:"Fakt\xFAra \xFAspe\u0161ne ozna\u010Den\xE1 ako odoslan\xE1",something_went_wrong:"Nie\u010Do neprebehlo v poriadku, odsk\xFA\u0161ajte pros\xEDm znova.",invalid_due_amount_message:"Celkov\xE1 suma fakt\xFAry nem\xF4\u017Ee by\u0165 ni\u017E\u0161ia ako celkov\xE1 suma zaplaten\xE1 za t\xFAto fakt\xFAru. Ak chcete pokra\u010Dova\u0165, aktualizujte fakt\xFAru alebo odstr\xE1\u0148te s\xFAvisiace platby."},Th={title:"Platby",payments_list:"Zoznam Platieb",record_payment:"Zaznamena\u0165 Platbu",customer:"Z\xE1kazn\xEDk",date:"D\xE1tum",amount:"Suma",action:"Akcia",payment_number:"\u010C\xEDslo Platby",payment_mode:"Sp\xF4sob Platby",invoice:"Fakt\xFAra",note:"Pozn\xE1mka",add_payment:"Prida\u0165 Platbu",new_payment:"Nov\xE1 Platba",edit_payment:"\xDApravi\u0165 Platbu",view_payment:"Zobrazi\u0165 Platbu",add_new_payment:"Nov\xE1 Platba",send_payment_receipt:"Posla\u0165 Doklad o Zaplaten\xED",send_payment:"Odosla\u0165 Platbu",save_payment:"Ulo\u017Ei\u0165 Platbu",update_payment:"\xDApravi\u0165 Platbu",payment:"Platba | Platby",no_payments:"Zatia\u013E nem\xE1te \u017Eiadne platby!",no_matching_payments:"Nena\u0161li sa \u017Eiadne platby sp\u013A\u0148aj\xFAce Va\u0161e podmienky!",list_of_payments:"T\xE1to sekcia bude obsahova\u0165 zoznam platieb.",select_payment_mode:"Vyberte sp\xF4sob platby",confirm_mark_as_sent:"Tento cenov\xFD odhad bude ozna\u010Den\xFD ako odoslan\xFD",confirm_send_payment:"Tento cenov\xFD odhad bude odoslan\xFD z\xE1kazn\xEDkovi prostredn\xEDctvom e-mailu",send_payment_successfully:"Platba \xFAspe\u0161ne odoslan\xE1",something_went_wrong:"Nie\u010Do neprebehlo v poriadku, odsk\xFA\u0161ajte pros\xEDm znova.",confirm_delete:"Nebudete m\xF4c\u0165 obnovi\u0165 t\xFAto Platbu | Nebudete m\xF4c\u0165 obnovi\u0165 tieto Platby",created_message:"Platba \xFAspe\u0161ne vytvoren\xE1",updated_message:"Platba \xFAspe\u0161ne upravena",deleted_message:"Platba \xFAspe\u0161ne odstr\xE1nen\xE1 | Platby \xFAspe\u0161ne odstr\xE1nen\xE9",invalid_amount_message:"Suma platby nie je spr\xE1vna"},Ih={title:"V\xFDdaje",expenses_list:"Zoznam V\xFDdajov",select_a_customer:"Vyberte z\xE1kazn\xEDka",expense_title:"Nadpis",customer:"Z\xE1kazn\xEDk",contact:"Kontakt",category:"Kateg\xF3ria",from_date:"Od d\xE1tumu",to_date:"Do d\xE1tumu",expense_date:"D\xE1tum",description:"Popis",receipt:"Doklad o zaplaten\xED",amount:"Suma",action:"Akcia",note:"Pozn\xE1mka",category_id:"ID kateg\xF3rie",date:"D\xE1tum",add_expense:"Prida\u0165 V\xFDdaj",add_new_expense:"Prida\u0165 Nov\xFD V\xFDdaj",save_expense:"Ulo\u017Ei\u0165 V\xFDdaj",update_expense:"Aktualizova\u0165 V\xFDdaj",download_receipt:"Stiahnu\u0165 doklad o zaplaten\xED",edit_expense:"Upravi\u0165 V\xFDdaj",new_expense:"Nov\xFD V\xFDdaj",expense:"V\xFDdaj | V\xFDdaje",no_expenses:"Zatia\u013E nem\xE1te \u017Eiadne v\xFDdaje!",list_of_expenses:"T\xE1to sekcia bude obsahova\u0165 zoznam v\xFDdajov.",confirm_delete:"Nebudete m\xF4c\u0165 obnovi\u0165 tento V\xFDdaj | Nebudete m\xF4c\u0165 obnovi\u0165 tieto V\xFDdaje",created_message:"V\xFDdaj \xFAspe\u0161ne vytvoren\xFD",updated_message:"V\xFDdaj \xFAspe\u0161ne aktualizovan\xFD",deleted_message:"V\xFDdaj \xFAspe\u0161ne odstr\xE1nen\xFD | V\xFDdaje \xFAspe\u0161ne odstr\xE1nen\xE9",categories:{categories_list:"Zoznam kateg\xF3ri\xED",title:"Nadpis",name:"N\xE1zov",description:"Popis",amount:"Suma",actions:"Akcie",add_category:"Prida\u0165 Kateg\xF3riu",new_category:"Nov\xE1 Kateg\xF3ria",category:"Kateg\xF3ria | Kateg\xF3rie",select_a_category:"Vyberte kateg\xF3riu"}},$h={email:"E-mail",password:"Heslo",forgot_password:"Zabudol som heslo",or_signIn_with:"alebo sa prihl\xE1si\u0165 pomocou",login:"Prihl\xE1si\u0165 sa",register:"Registrova\u0165 sa",reset_password:"Obnovi\u0165 heslo",password_reset_successfully:"Heslo \xDAspe\u0161ne Obnoven\xE9",enter_email:"Zadajte e-mail",enter_password:"Zadajte heslo",retype_password:"Znova zadajte heslo"},Rh={title:"U\u017Eivatelia",users_list:"Zoznam U\u017E\xEDvate\u013Eov",name:"Meno",description:"Popis",added_on:"Pridan\xE9 D\u0148a",date_of_creation:"D\xE1tum Vytvorenia",action:"Akcia",add_user:"Prida\u0165 pou\u017E\xEDvate\u013Ea",save_user:"Ulo\u017Ei\u0165 pou\u017E\xEDvate\u013Ea",update_user:"Aktualizova\u0165 pou\u017E\xEDvate\u013Ea",user:"U\u017E\xEDvate\u013E | U\u017E\xEDvatelia",add_new_user:"Prida\u0165 Nov\xE9ho U\u017E\xEDvate\u013Ea",new_user:"Nov\xFD u\u017E\xEDvate\u013E",edit_user:"Upravi\u0165 U\u017E\xEDvate\u013Ea",no_users:"Zatia\u013E nebol pridan\xFD \u017Eiadny u\u017E\xEDvate\u013E!",list_of_users:"T\xE1to sekcia bude obsahova\u0165 zoznam u\u017E\xEDvate\u013Eov.",email:"E-mail",phone:"Telef\xF3n",password:"Heslo",user_attached_message:"Nie je mo\u017En\xE9 vymaza\u0165 akt\xEDvneho u\u017E\xEDvate\u013Ea",confirm_delete:"Nebude mo\u017En\xE9 obnovi\u0165 tohto pou\u017E\xEDvate\u013Ea | Nebude mo\u017En\xE9 obnovi\u0165 t\xFDchto pou\u017E\xEDvate\u013Eov",created_message:"U\u017E\xEDvate\u013E \xFAspe\u0161ne vytvoren\xFD",updated_message:"U\u017E\xEDvate\u013E \xFAspe\u0161ne aktualizovan\xE1",deleted_message:"U\u017E\xEDvate\u013E \xFAspe\u0161ne odstr\xE1nen\xFD | U\u017E\xEDvatelia \xFAspe\u0161ne odstr\xE1nen\xED"},Fh={title:"Reporty",from_date:"Od d\xE1tumu",to_date:"Do d\xE1tumu",status:"Stav",paid:"Zaplaten\xE1",unpaid:"Nezaplaten\xE1",download_pdf:"Stiahnu\u0165 PDF",view_pdf:"Zobrazi\u0165 PDF",update_report:"Aktualizova\u0165 Report",report:"Report | Reporty",profit_loss:{profit_loss:"Ziskt a Straty",to_date:"Do d\xE1tumu",from_date:"Od d\xE1tumu",date_range:"Vybra\u0165 rozsah d\xE1tumu"},sales:{sales:"Predaje",date_range:"Vybra\u0165 rozsah d\xE1tumu",to_date:"Do d\xE1tumu",from_date:"Od d\xE1tumu",report_type:"Typ Reportu"},taxes:{taxes:"Dane",to_date:"Do d\xE1tumu",from_date:"Od d\xE1tumu",date_range:"Vybra\u0165 Rozsah D\xE1tumu"},errors:{required:"Pole je povinn\xE9"},invoices:{invoice:"Fakt\xFAra",invoice_date:"D\xE1tum Vystavenia",due_date:"D\xE1tum Splatnosti",amount:"Suma",contact_name:"Kontaktn\xE1 Osoba",status:"Stav"},estimates:{estimate:"Cenov\xFD odhad",estimate_date:"D\xE1tum cenov\xE9ho odhadu",due_date:"D\xE1tum platnosti cenov\xE9ho odhadu",estimate_number:"\u010C\xEDslo cenov\xE9ho odhadu",ref_number:"Ref. \u010C\xEDslo",amount:"Suma",contact_name:"Kontaktn\xE1 Osoba",status:"Stav"},expenses:{expenses:"V\xFDdaje",category:"Kateg\xF3ria",date:"D\xE1tum",amount:"Suma",to_date:"Do d\xE1tumu",from_date:"Od d\xE1tumu",date_range:"Vybra\u0165 Rozsah D\xE1tumu"}},Mh={menu_title:{account_settings:"Nastavenia \xFA\u010Dtu",company_information:"Inform\xE1cie o Firme",customization:"Prisp\xF4sobenie",preferences:"Preferencie",notifications:"Upozornenia",tax_types:"Typy Dan\xED",expense_category:"Kateg\xF3rie cenov\xFDch odhadov",update_app:"Aktualizova\u0165 Aplik\xE1ciu",backup:"Z\xE1loha",file_disk:"S\xFAborov\xFD disk",custom_fields:"Vlastn\xE9 Polia",payment_modes:"Sp\xF4soby Platby",notes:"Pozn\xE1mky"},title:"Nastavenia",setting:"Nastavenia | Nastavenia",general:"V\u0161eobecn\xE9",language:"Jazyk",primary_currency:"Hlavn\xE1 Mena",timezone:"\u010Casov\xE9 P\xE1smo",date_format:"Form\xE1t D\xE1tumu",currencies:{title:"Meny",currency:"Mena | Meny",currencies_list:"Zoznam Mien",select_currency:"Vyberte Menu",name:"Meno",code:"K\xF3d",symbol:"Symbol",precision:"Presnos\u0165",thousand_separator:"Oddelova\u010D Tis\xEDciek",decimal_separator:"Oddelova\u010D Desatinn\xFDch Miest",position:"Poz\xEDcia",position_of_symbol:"Poz\xEDcia Symbolu",right:"Vpravo",left:"V\u013Eavo",action:"Akcia",add_currency:"Prida\u0165 nov\xFA Menu"},mail:{host:"Host E-mailu",port:"Port E-mailu",driver:"Driver E-mailu",secret:"Tajn\xFD K\u013E\xFA\u010D (secret)",mailgun_secret:"Tajn\xFD k\u013E\xFA\u010D Mailgun (secret)",mailgun_domain:"Dom\xE9na",mailgun_endpoint:"Endpoint Mailgun",ses_secret:"SES Tajn\xFD K\u013E\xFA\u010D (secret)",ses_key:"SES k\u013E\xFA\u010D (key)",password:"E-mailov\xE9 heslo",username:"E-mailov\xE9 meno (username)",mail_config:"Konfigur\xE1cia E-mailov",from_name:"Meno odosielate\u013Ea",from_mail:"E-mail odosielate\u013Ea",encryption:"E-mailov\xE1 Enkrypcia",mail_config_desc:"Ni\u017E\u0161ie n\xE1jdete konfigur\xE1ciu E-mailu pou\u017Eit\xE9ho k odosielaniu E-mailov z aplik\xE1cie Crater. M\xF4\u017Eete taktie\u017E nastavi\u0165 spojenie so slu\u017Ebami tret\xEDch str\xE1n ako napr\xEDklad Sendgrid, SES a pod."},pdf:{title:"Nastavenia PDF",footer_text:"Text v p\xE4ti\u010Dke",pdf_layout:"Rozlo\u017Eenie PDF"},company_info:{company_info:"Inform\xE1cie o spolo\u010Dnosti",company_name:"N\xE1zov spolo\u010Dnosti",company_logo:"Logo spolo\u010Dnosti",section_description:"Inform\xE1cie o Va\u0161ej firme, ktor\xE9 bud\xFA zobrazen\xE9 na fakt\xFArach, cenov\xFDch odhadoch a in\xFDch dokumentoch vytvoren\xFDch v\u010Faka Creater.",phone:"Telef\xF3n",country:"Krajina",state:"\u0160t\xE1t",city:"Mesto",address:"Adresa",zip:"PS\u010C",save:"Ulo\u017Ei\u0165",updated_message:"Inform\xE1cie o firme \xFAspe\u0161ne aktualizovan\xE9"},custom_fields:{title:"Vlastn\xE9 Polia",section_description:"Personalizujte si Fakt\xFAry, Cenov\xE9 Odhady a Potvrdenia o platbe pomocou vlastn\xFDch pol\xED. Uistite sa, \u017Ee ste ni\u017E\u0161ie vytvoren\xE9 polia pou\u017Eili v form\xE1te adresy na str\xE1nke nastaven\xED personaliz\xE1cie.",add_custom_field:"Prida\u0165 Vlastn\xE9 Pole",edit_custom_field:"Upravi\u0165 Vlastn\xE9 Pole",field_name:"Meno Po\u013Ea",label:"Zna\u010Dka",type:"Typ",name:"N\xE1zov",required:"Povinn\xE9",placeholder:"Umiestnenie",help_text:"Pomocn\xFD Text",default_value:"Predvolen\xE1 hodnota",prefix:"Predpona",starting_number:"Po\u010Diato\u010Dn\xE9 \u010C\xEDslo",model:"Model",help_text_description:"Nap\xED\u0161te popis aby u\u017E\xEDvatelia lep\u0161ie pochopili v\xFDznam tohto po\u013Ea.",suffix:"Pr\xEDpona",yes:"\xC1no",no:"Nie",order:"Objedna\u0165",custom_field_confirm_delete:"Nebudete m\xF4c\u0165 obnovit toto vlastn\xE9 pole",already_in_use:"Toto vlastne pole sa u\u017E pou\u017E\xEDva",deleted_message:"Vlastn\xE9 pole \xFAspe\u0161ne vymazan\xE9",options:"mo\u017Enosti",add_option:"Prida\u0165 Mo\u017Enosti",add_another_option:"Prida\u0165 \u010Fa\u013E\u0161iu mo\u017Enost\u0165",sort_in_alphabetical_order:"Zoradi\u0165 v abecednom porad\xED",add_options_in_bulk:"Prida\u0165 hromadn\xE9 mo\u017Enosti",use_predefined_options:"Pou\u017Ei\u0165 predvolen\xE9 mo\u017Enosti",select_custom_date:"Vybrat vlastn\xFD d\xE1tum",select_relative_date:"Vybra\u0165 Relat\xEDvny D\xE1tum",ticked_by_default:"Predvolene ozna\u010Den\xE9",updated_message:"Vlastn\xE9 pole \xFAspe\u0161ne aktualizovan\xE9",added_message:"Vlastne pole \xFAspe\u0161ne pridan\xE9"},customization:{customization:"Prisp\xF4sobenie",save:"Ulo\u017Ei\u0165",addresses:{title:"Adresy",section_description:"M\xF4\u017Eete nastavi\u0165 form\xE1t faktura\u010Dnej a dodacej adresy z\xE1kazn\xEDka (Zobrazuje sa iba v PDF). ",customer_billing_address:"Z\xE1kazn\xEDk - faktura\u010Dn\xE1 adresa",customer_shipping_address:"Z\xE1kazn\xEDk - doru\u010Dovacia adresa",company_address:"Firemn\xE1 adresa",insert_fields:"Vlo\u017Ei\u0165 polia",contact:"Kontakt",address:"Adresa",display_name:"Zobrazovan\xE9 Meno",primary_contact_name:"Meno Prim\xE1rneho Kontaktu",email:"Email",website:"Webov\xE9 str\xE1nky",name:"N\xE1zov",country:"Krajina",state:"\u0160t\xE1t",city:"Mesto",company_name:"N\xE1zov firmy",address_street_1:"Adresa ulica 1",address_street_2:"Adresa ulica 2",phone:"Telef\xF3n",zip_code:"PS\u010C",address_setting_updated:"Nastavenia adresy \xFAspe\u0161ne aktualizovan\xE9"},updated_message:"Inform\xE1cie o firme \xFAspe\u0161ne aktualizovan\xE9",invoices:{title:"Fakt\xFAry",notes:"Pozn\xE1mky",invoice_prefix:"Predpona Fakt\xFAry",default_invoice_email_body:"Prednastaven\xE9 telo e-mailu fakt\xFAry",invoice_settings:"Nastavenia Fakt\xFAry",autogenerate_invoice_number:"Automaticky Vygenerova\u0165 \u010C\xEDslo Fakt\xFAry",autogenerate_invoice_number_desc:"Ak si neprajete automaticky generova\u0165 \u010D\xEDslo novej fakt\xFAry, vypnite t\xFAto mo\u017Enos\u0165.",enter_invoice_prefix:"Zadajte predponu fakt\xFAry",terms_and_conditions:"Podmienky pou\u017E\xEDvania",company_address_format:"Form\xE1t firemnej adresy",shipping_address_format:"Form\xE1t doru\u010Dovacej adresy",billing_address_format:"Form\xE1t faktura\u010Dnej adresy",invoice_settings_updated:"Nastavenia fakt\xFAr boli \xFAspe\u0161ne aktualizovan\xE9"},estimates:{title:"Cenov\xFD odhad",estimate_prefix:"Predpona cenov\xE9ho odhadu",default_estimate_email_body:"Prednastaven\xE9 telo e-mailu cenov\xE9ho dohadu",estimate_settings:"Nastavenia cenov\xFDch odhadov",autogenerate_estimate_number:"Automaticky generova\u0165 \u010D\xEDslo cenov\xE9ho odhadu",estimate_setting_description:"Zak\xE1\u017Ete to, ak si neprajete automaticky generova\u0165 \u010D\xEDsla cenovych odhadov zaka\u017Ed\xFDm, ke\u010F vytvor\xEDte nov\xFD odhad.",enter_estimate_prefix:"Vlo\u017Ete prepdonu cenov\xE9ho odhadu",estimate_setting_updated:"Nastavenia cenov\xFDch odhadov \xFAspe\u0161ne aktualizovan\xE9",company_address_format:"Form\xE1t firemnej adresy",billing_address_format:"Form\xE1t faktura\u010Dnej adresy",shipping_address_format:"Form\xE1t faktura\u010Dnej adresy"},payments:{title:"Platby",description:"Mo\u017Enosti platieb",payment_prefix:"Predpona platby",default_payment_email_body:"Prednastaven\xE9 telo e-mailu platby",payment_settings:"Nastavenia Platieb",autogenerate_payment_number:"Automaticky generova\u0165 \u010D\xEDslo platby",payment_setting_description:"Zak\xE1\u017Ete to, ak si neprajete automaticky generova\u0165 \u010D\xEDsla platieb zaka\u017Ed\xFDm, ke\u010F vytvor\xEDte nov\xFA platbu.",enter_payment_prefix:"Vlo\u017Eit Predponu Platby",payment_setting_updated:"Nastavenia platieb \xFAspe\u0161ne aktualizovan\xE9",payment_modes:"Typy Platieb",add_payment_mode:"Prida\u0165 typ Platby",edit_payment_mode:"Upravi\u0165 typ Platby",mode_name:"N\xE1zov platby",payment_mode_added:"Typ Platby pridan\xFD",payment_mode_updated:"Typ Platby aktualizovan\xFD",payment_mode_confirm_delete:"Nebude m\xF4c\u0165 obnovi\u0165 typ platby",already_in_use:"Tento typ platby sa u\u017E pou\u017E\xEDva",deleted_message:"Typ platby \xFAspe\u0161ne odstr\xE1nen\xFD",company_address_format:"Form\xE1t firemnej adresy",from_customer_address_format:"Z form\xE1tu adresy z\xE1kazn\xEDka"},items:{title:"Polo\u017Eky",units:"Jednotky",add_item_unit:"Prida\u0165 Jednotku",edit_item_unit:"Upravi\u0165 Jednotku",unit_name:"N\xE1zov Jednotky",item_unit_added:"Jednotka \xFAspe\u0161ne pridan\xE1",item_unit_updated:"Jednotka \xFAspe\u0161ne aktualizovan\xE1",item_unit_confirm_delete:"Nebudete m\xF4c\u0165 obnovi\u0165 t\xFAto Jednotku",already_in_use:"Jednotk\xE1 sa pr\xE1ve pou\u017E\xEDva",deleted_message:"Jednotka \xFAspe\u0161ne odstr\xE1nena"},notes:{title:"Pozn\xE1mky",description:"U\u0161etrite \u010Das vytv\xE1ran\xEDm pozn\xE1mok a ich op\xE4tovn\xFDm pou\u017Eit\xEDm vo svojich fakt\xFArach, odhadoch a platb\xE1ch.",notes:"Pozn\xE1mky",type:"Typ",add_note:"Prida\u0165 pozn\xE1mku",add_new_note:"Prida\u0165 Nov\xFA Pozn\xE1mku",name:"N\xE1zov",edit_note:"Upravi\u0165 pozn\xE1mku",note_added:"Pozn\xE1mka \xFAspe\u0161ne pridan\xE1",note_updated:"Pozn\xE1mka \xFAspe\u0161ne aktualizovan\xE1",note_confirm_delete:"Nebudete m\xF4c\u0165 obnovi\u0165 t\xFAto Pozn\xE1mku",already_in_use:"Pozn\xE1mka sa pr\xE1ve pou\u017E\xEDva",deleted_message:"Pozn\xE1mka \xFAspe\u0161ne odstr\xE1nena"}},account_settings:{profile_picture:"Profilov\xE1 Fotka",name:"Meno",email:"Email",password:"Heslo",confirm_password:"Potvrdi\u0165 heslo",account_settings:"Nastavenie \xFA\u010Dtu",save:"Ulo\u017Ei\u0165",section_description:"Svoje meno, e-mail a heslo m\xF4\u017Eete aktualizova\u0165 pomocou formul\xE1ra ni\u017E\u0161ie.",updated_message:"Nastavenia \xFA\u010Dtu boli \xFAspe\u0161ne aktualizovan\xE9"},user_profile:{name:"Meno",email:"Email",password:"Heslo",confirm_password:"Potvrdi\u0165 heslo"},notification:{title:"Upozornenia",email:"Odosla\u0165 upozornenie",description:"Ktor\xE9 e-mailov\xE9 upozornenia chcete dost\xE1va\u0165 ke\u010F sa nie\u010Do zmen\xED?",invoice_viewed:"Fakt\xFAra zobrazen\xE1",invoice_viewed_desc:"Ke\u010F si v\xE1\u0161 z\xE1kazn\xEDk prezer\xE1 fakt\xFAru odoslan\xFA cez Hlavn\xFD Panel.",estimate_viewed:"Cenov\xFD odhad zobrazen\xFD",estimate_viewed_desc:"Ke\u010F si v\xE1\u0161 z\xE1kazn\xEDk prezer\xE1 cenov\xFD odhad odoslan\xFD cez Hlavn\xFD Panel.",save:"Ulo\u017Ei\u0165",email_save_message:"E-mail bol \xFAspe\u0161ne ulo\u017Een\xFD",please_enter_email:"Zadajte e-mail"},tax_types:{title:"Typ dan\xED",add_tax:"Prida\u0165 da\u0148",edit_tax:"Upravi\u0165 Da\u0148",description:"M\xF4\u017Eete prida\u0165 alebo odobra\u0165 dane. Crater podporuje dane jednotliv\xFDch polo\u017Eiek aj na fakt\xFAre.",add_new_tax:"Prida\u0165 Nov\xFA Da\u0148",tax_settings:"Nastavenia dan\xED",tax_per_item:"Da\u0148 pre ka\u017Ed\xFA Polo\u017Eku zvl\xE1\u0161\u0165",tax_name:"N\xE1zov Dane",compound_tax:"Zlo\u017Een\xE1 da\u0148",percent:"Percento",action:"Akcia",tax_setting_description:"T\xFAto mo\u017Enos\u0165 povo\u013Ete, ak chcete prida\u0165 dane k jednotliv\xFDm polo\u017Ek\xE1m fakt\xFAr. \u0160tandardne sa dane pripo\u010D\xEDtavaj\xFA priamo k fakt\xFAre.",created_message:"Da\u0148 \xFAspe\u0161ne vytvoren\xE1",updated_message:"Da\u0148 \xFAspe\u0161ne aktualizovan\xE1",deleted_message:"Da\u0148 \xFAspe\u0161ne odstr\xE1nen\xE1",confirm_delete:"Nebudete m\xF4c\u0165 obnovi\u0165 da\u0148",already_in_use:"Da\u0148 u\u017E sa u\u017E po\u017E\xEDva"},expense_category:{title:"Kateg\xF3rie v\xFDdajov",action:"Akcia",description:"Na pridanie polo\u017Eiek v\xFDdavkov s\xFA povinn\xE9 kateg\xF3rie. Tieto kateg\xF3rie m\xF4\u017Eete prida\u0165 alebo odstr\xE1ni\u0165 pod\u013Ea svojich preferenci\xED.",add_new_category:"Prida\u0165 Nov\xFA Kateg\xF3riu",add_category:"Prida\u0165 Kateg\xF3riu",edit_category:"Upravi\u0165 Kateg\xF3riu",category_name:"N\xE1zov Kateg\xF3rie",category_description:"Popis",created_message:"Kateg\xF3ria cenov\xE9ho odhadu \xFAspe\u0161ne vytvoren\xE1",deleted_message:"Kateg\xF3ria cenov\xE9ho odhadu \xFAspe\u0161ne odstr\xE1nena",updated_message:"Kateg\xF3ria cenov\xE9ho odhadu \xFAspe\u0161ne aktualizovan\xE1",confirm_delete:"Nebudete m\xF4c\u0165 obnovi\u0165 t\xFAto kateg\xF3riu cenov\xFDch odhadov",already_in_use:"Kateg\xF3ria sa u\u017E pou\u017E\xEDva"},preferences:{currency:"Mena",default_language:"Predvolen\xFD Jazyk",time_zone:"\u010Casov\xE9 P\xE1smo",fiscal_year:"Fi\u0161k\xE1lny Rok",date_format:"Form\xE1t D\xE1tumu",discount_setting:"Nastavenia Z\u013Eavy",discount_per_item:"Z\u013Eava pre ka\u017Ed\xFA Polo\u017Eku zvl\xE1\u0161\u0165",discount_setting_description:"T\xFAto mo\u017Enos\u0165 povo\u013Ete, ak chcete prida\u0165 z\u013Eavu k jednotliv\xFDm polo\u017Ek\xE1m fakt\xFAry. \u0160tandardne sa z\u013Eava pripo\u010D\xEDtava priamo k fakt\xFAre.",save:"Ulo\u017Ei\u0165",preference:"Preferencie | Preferencie",general_settings:"Syst\xE9movo predvolen\xE9 preferencie.",updated_message:"Preferencie \xFAspe\u0161ne aktualizovan\xE9",select_language:"Vyberte Jazyk",select_time_zone:"Vyberte \u010Casov\xE9 P\xE1smo",select_date_format:"Vybra\u0165 Form\xE1t D\xE1tumu",select_financial_year:"Vyberte Fi\u0161k\xE1lny Rok"},update_app:{title:"Aktualizova\u0165 Aplik\xE1ciu",description:"Aplik\xE1ciu m\xF4\u017Ete jednoducho aktualizova\u0165 tla\u010Ditkom ni\u017E\u0161ie",check_update:"Skontrolova\u0165 Aktualiz\xE1cie",avail_update:"Nov\xE1 aktualiz\xE1cia je k dispoz\xEDcii",next_version:"\u010Eal\u0161ia Verzia",requirements:"Po\u017Eiadavky",update:"Aktualizova\u0165",update_progress:"Aktualiz\xE1cia prebieha...",progress_text:"Bude to trva\u0165 len p\xE1r min\xFAt. Pred dokon\u010Den\xEDm aktualiz\xE1cie neobnovujte obrazovku ani nezatv\xE1rajte okno.",update_success:"App bola aktualizovan\xE1! Po\u010Dkajte, k\xFDm sa okno v\xE1\u0161ho prehliada\u010Da na\u010D\xEDta automaticky.",latest_message:"Nie je k dispoz\xEDcii \u017Eiadna aktualiz\xE1cia! Pou\u017E\xEDvate najnov\u0161iu verziu.",current_version:"Aktu\xE1lna verzia",download_zip_file:"Stiahnu\u0165 ZIP s\xFAbor",unzipping_package:"Rozbali\u0165 bal\xEDk",copying_files:"Kop\xEDrovanie s\xFAborov",running_migrations:"Prebieha Migr\xE1cia",finishing_update:"Ukon\u010Dovanie Aktualiz\xE1cie",update_failed:"Aktualiz\xE1cia zlyhala!",update_failed_text:"Aktualiz\xE1cia zlyhala na : {step} kroku"},backup:{title:"Z\xE1loha | Z\xE1lohy",description:"Z\xE1loha je vo form\xE1te zip ktor\xFD obsahuje v\u0161etky s\xFAbory v adres\xE1roch vr\xE1tane v\xFDpisu z datab\xE1zy.",new_backup:"Vytvori\u0165 z\xE1lohu",create_backup:"Vytvori\u0165 z\xE1lohu",select_backup_type:"Vybra\u0165 typ z\xE1lohy",backup_confirm_delete:"Nebude mo\u017En\xE9 obnovi\u0165 t\xFAto z\xE1lohu",path:"cesta",new_disk:"Nov\xFD Disk",created_at:"vytvoren\xE9",size:"velkost",dropbox:"dropbox",local:"local",healthy:"v poriadku",amount_of_backups:"po\u010Det z\xE1loh",newest_backups:"najnov\u0161ie z\xE1lohy",used_storage:"vyu\u017Eit\xE9 miesto na disku",select_disk:"Vybra\u0165 disk",action:"Akcia",deleted_message:"Z\xE1loha \xFAspe\u0161ne vymazan\xE1",created_message:"Z\xE1loha \xFAspe\u0161ne vytvoren\xE1",invalid_disk_credentials:"Nespr\xE1vne prihlasovacie \xFAdaje na disk"},disk:{title:"File Disk | File Disks",description:"V predvolenom nastaven\xED pou\u017Eije Crater v\xE1\u0161 lok\xE1lny disk na ukladanie z\xE1loh, avatarov a in\xFDch obrazov\xFDch s\xFAborov. M\xF4\u017Eete nakonfigurova\u0165 viac ako jeden disku ako napr. DigitalOcean, S3 a Dropbox pod\u013Ea va\u0161ich preferenci\xED.",created_at:"vytvoren\xE9",dropbox:"Dropbox",name:"N\xE1zov",driver:"Driver",disk_type:"Typ",disk_name:"N\xE1zov Disku",new_disk:"Prida\u0165 Nov\xFD Disk",filesystem_driver:"Driver syst\xE9mov\xFDch s\xFAborov",local_driver:"lok\xE1lny Driver",local_root:"Lok\xE1lka Cesta (root)",public_driver:"Verejn\xFD Driver",public_root:"Verejn\xE1 Cesta (root)",public_url:"Verejn\xE1 URL",public_visibility:"Vidite\u013En\xE9 pre Verejnos\u0165",media_driver:"Driver m\xE9di\xED",media_root:"Root m\xE9di\xED",aws_driver:"AWS Driver",aws_key:"AWS K\u013E\xFA\u010D (key)",aws_secret:"AWS Tajn\xFD K\u013E\xFA\u010D (secret)",aws_region:"AWS Regi\xF3n",aws_bucket:"AWP Bucket",aws_root:"AWP Cesta (root)",do_spaces_type:"Do Spaces type",do_spaces_key:"Do Spaces key",do_spaces_secret:"Do Spaces Secret",do_spaces_region:"Do Spaces Region",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces Endpoint",do_spaces_root:"Do Spaces Root",dropbox_type:"Dropbox Type",dropbox_token:"Dropbox Token",dropbox_key:"Dropbox Key",dropbox_secret:"Dropbox Secret",dropbox_app:"Dropbox App",dropbox_root:"Dropbox Root",default_driver:"Predvolen\xFD Driver",is_default:"Je predvolen\xFD",set_default_disk:"Nastavi\u0165 predvolen\xFD disk",success_set_default_disk:"Disk \xFAspe\u0161ne nastaven\xFD ako predvolen\xFD",save_pdf_to_disk:"Ulo\u017E PDFs na Disk",disk_setting_description:"T\xFAto mo\u017Enos\u0165 povo\u013Ete ak si chcete automaticky ulo\u017Ei\u0165 k\xF3piu ka\u017Ed\xE9ho s\xFAboru PDF s fakturami, odhadmi a pr\xEDjmami na predvolen\xFD disk. Pou\u017Eit\xEDm tejto mo\u017Enosti skr\xE1tite dobu na\u010D\xEDtania pri prezeran\xED s\xFAborov PDF.",select_disk:"Vybra\u0165 Disk",disk_settings:"Nastavenie Disku",confirm_delete:"Va\u0161e existuj\xFAce s\xFAbory a prie\u010Dinky na zadanom disku nebud\xFA ovplyvnen\xE9 ale konfigur\xE1cia v\xE1\u0161ho disku bude odstr\xE1nen\xE1 z Crateru",action:"Akcia",edit_file_disk:"Upravit Disk",success_create:"Disk \xFAspe\u0161ne pridan\xFD",success_update:"Disk \xFAspe\u0161ne aktualizovan\xFD",error:"Pridanie disku zlyhalo",deleted_message:"Disk bol \xFAspe\u0161ne odstr\xE1nen\xFD",disk_variables_save_successfully:"Disk bol \xFAspe\u0161ne pridan\xFD",disk_variables_save_error:"Konfigur\xE1cia disku zlyhala.",invalid_disk_credentials:"Neplatn\xE9 prihlasovacie \xFAdaje pre Disk"}},Bh={account_info:"Inform\xE1cie o \xFA\u010Dte",account_info_desc:"Ni\u017E\u0161ie uveden\xE9 podrobnosti sa pou\u017Eij\xFA na vytvorenie hlavn\xE9ho \xFA\u010Dtu spr\xE1vcu. Tie m\xF4\u017Eete kedyko\u013Evek zmeni\u0165 po prihl\xE1sen\xED.",name:"Meno",email:"Email",password:"Heslo",confirm_password:"Potvrdi\u0165 heslo",save_cont:"Ulo\u017Ei\u0165 a pokra\u010Dova\u0165",company_info:"Firemn\xE9 \xFAdaje",company_info_desc:"Tieto inform\xE1cie sa zobrazia na fakt\xFArach. Nesk\xF4r ich v\u0161ak m\xF4\u017Eete upravi\u0165.",company_name:"N\xE1zov firmy",company_logo:"Firemn\xE9 logo",logo_preview:"N\xE1h\u013Ead loga",preferences:"Preferencie",preferences_desc:"Predvolen\xE9 nastavenie syst\xE9mu.",country:"Krajina",state:"\u0160t\xE1t",city:"Mesto",address:"Adresa",street:"Ulica1 | Ulica2",phone:"Telef\xF3n",zip_code:"PS\u010C",go_back:"Nasp\xE4\u0165",currency:"Mena",language:"Jazyk",time_zone:"\u010Casov\xE9 p\xE1smo",fiscal_year:"Fi\u0161k\xE1lny rok",date_format:"Form\xE1t d\xE1tumu",from_address:"Z adresy",username:"Prihlasovacie meno",next:"\u010Ea\u013E\u0161\xED",continue:"Pokra\u010Dova\u0165",skip:"Vynecha\u0165",database:{database:"URL Adresa Aplik\xE1cie a Datab\xE1za",connection:"Pripojenie k datab\xE1ze",host:"Datab\xE1za - Host",port:"Datab\xE1za - Port",password:"Heslo do datab\xE1zy",app_url:"URL Adresa Aplik\xE1cie",app_domain:"Dom\xE9na aplik\xE1cie",username:"Prihlasovacie meno do datab\xE1zy",db_name:"N\xE1zov datab\xE1zy",db_path:"Datab\xE1z\xE1 - cesta (path)",desc:"Vytvorte datab\xE1zu na svojom serveri a pomocou nasleduj\xFAceho formul\xE1ra nastavte poverenia."},permissions:{permissions:"Opr\xE1vnenia",permission_confirm_title:"Ste si ist\xFD \u017Ee chcete pokra\u010Dova\u0165?",permission_confirm_desc:"Nedostato\u010Dn\xE9 opr\xE1vnenia na prie\u010Dinky in\u0161tal\xE1cie",permission_desc:"Ni\u017E\u0161ie je uveden\xFD zoznam povolen\xED prie\u010Dinkov ktor\xE9 s\xFA potrebn\xE9 na fungovanie aplik\xE1cie. Ak kontrola povolen\xED zlyh\xE1 nezabudnite aktualizova\u0165 povolenia prie\u010Dinka."},mail:{host:"Mail Host",port:"Mail Port",driver:"Mail Driver",secret:"Secret",mailgun_secret:"Mailgun Secret",mailgun_domain:"Domain",mailgun_endpoint:"Mailgun Endpoint",ses_secret:"SES Secret",ses_key:"SES Key",password:"Mail Password",username:"Mail Username",mail_config:"Mail Configuration",from_name:"From Mail Name",from_mail:"From Mail Address",encryption:"Mail Encryption",mail_config_desc:"Ni\u017E\u0161ie je uveden\xFD formul\xE1r na konfigur\xE1ciu ovl\xE1da\u010Da e-mailu na odosielanie e-mailov z aplik\xE1cie. M\xF4\u017Eete tie\u017E nakonfigurova\u0165 aj extern\xFDch poskytovate\u013Eov napr\xEDklad Sendgrid apod."},req:{system_req:"Syst\xE9mov\xE9 po\u017Eiadavky",php_req_version:"Php (verzia {version} po\u017Eadovan\xE1)",check_req:"Skontrolujte po\u017Eiadavky",system_req_desc:"Crater m\xE1 nieko\u013Eko po\u017Eiadaviek na server. Skontrolujte \u010Di m\xE1 v\xE1\u0161 server po\u017Eadovan\xFA verziu php a v\u0161etky moduly uveden\xE9 ni\u017E\u0161ie."},errors:{migrate_failed:"Migr\xE1ci zlyhala",database_variables_save_error:"Nie je mo\u017En\xE9 zap\xEDsa\u0165 konfigur\xE1ciu do .env file. Skontrolujte opr\xE1vnenia",mail_variables_save_error:"Konfigur\xE1cia emailu zlyhala.",connection_failed:"Pripojenie k datab\xE1ze zlyhalo",database_should_be_empty:"Datab\xE1za mus\xED by\u0165 pr\xE1zdna"},success:{mail_variables_save_successfully:"Email \xFAspe\u0161ne nakonfigurovan\xFD",database_variables_save_successfully:"Datab\xE1za \xFAspe\u0161ne nakonfigurovan\xE1."}},Vh={invalid_phone:"Zl\xE9 telef\xF3nn\xE9 \u010D\xEDslo",invalid_url:"Nespr\xE1vna URL adresa (ex: http://www.craterapp.com)",invalid_domain_url:"Nespr\xE1vna URL (ex: craterapp.com)",required:"Povinn\xE9 pole",email_incorrect:"Zl\xFD email.",email_already_taken:"Email sa uz pou\u017E\xEDva.",email_does_not_exist:"Pou\u017E\xEDvate\u013E s t\xFDmto emailom neexistuje.",item_unit_already_taken:"N\xE1zov tejto polo\u017Eky sa u\u017E pou\u017E\xEDva",payment_mode_already_taken:"N\xE1zov tohto typu platby sa u\u017E pou\u017E\xEDva",send_reset_link:"Odosla\u0165 resetovac\xED link",not_yet:"Email e\u0161te nepri\u0161iel? Znova odosla\u0165",password_min_length:"Heslo mus\xED obsahova\u0165 {count} znaky",name_min_length:"Meno mus\xED ma\u0165 minim\xE1lne {count} p\xEDsmen.",enter_valid_tax_rate:"Zadajte platn\xFA sadzbu dane",numbers_only:"Iba \u010D\xEDsla.",characters_only:"Iba znaky.",password_incorrect:"Hesl\xE1 musia by\u0165 rovnak\xE9",password_length:"Heslo musi obsahova\u0165 minim\xE1lne {count} znakov.",qty_must_greater_than_zero:"Mno\u017Estvo mus\xED by\u0165 viac ako 0.",price_greater_than_zero:"Cena mus\xED by\u0165 viac ako 0.",payment_greater_than_zero:"Platba mus\xED by\u0165 viac ako 0.",payment_greater_than_due_amount:"Zadan\xE1 platba je vy\u0161\u0161ia ako suma na fakt\xFAre.",quantity_maxlength:"Mno\u017Estvo by nemalo obsahova\u0165 ako 20 \u010D\xEDslic.",price_maxlength:"Cena by nemala obsahova\u0165 viac ako 20 \u010D\xEDslic.",price_minvalue:"Suma musi by\u0165 vy\u0161\u0161ia ako 0.",amount_maxlength:"\u010Ciastka by nemala obsahova\u0165 viac ako 20 \u010D\xEDslic.",amount_minvalue:"\u010Ciastka mus\xED by\u0165 va\u010D\u0161ia ako 0.",description_maxlength:"Popis nesmie obsahova\u0165 viac ako 255 znaokv.",subject_maxlength:"Predmet nesmie obsahova\u0165 viac ako 100 znakov.",message_maxlength:"Spr\xE1va nesmie obsahova\u0165 viac ako 255 znakov.",maximum_options_error:"Maxim\xE1lny po\u010Det z {max} mo\u017Enosti vybran\xFD. Najprv odstr\xE1nte aspo\u0148 jednu mo\u017Enost a n\xE1sledne vyberte in\xFA.",notes_maxlength:"Pozn\xE1mky nesm\xFA obsahova\u0165 viac ako 100 znakov.",address_maxlength:"Adresa nesmie obsahova\u0165 viac ako 255 znakov",ref_number_maxlength:"Referen\u010Dn\xE9 \u010Dislo nesmie obsahova\u0165 viac ako 255 znakov",prefix_maxlength:"Predpona nesmie ma\u0165 viac ako 5 znakov.",something_went_wrong:"Nie\u010Do neprebehlo v poriadku, odsk\xFA\u0161ajte pros\xEDm znova."},Oh="Cenov\xFD odhad",Lh="\u010C\xEDslo cenov\xE9ho odhadu",Uh="D\xE1tum cenov\xE9ho odhadu",Kh="Platnos\u0165 cenov\xE9ho odhadu",qh="Fakt\xFAra",Wh="\u010C\xEDslo fakt\xFAry",Zh="D\xE1tum vystavenia",Hh="D\xE1tum splatnosti",Gh="Pozn\xE1mky",Yh="Polo\u017Eky",Jh="Po\u010Det",Xh="Cena",Qh="Z\u013Eava",ev="Celkom",tv="Medzis\xFA\u010Det",av="S\xFA\u010Det",sv="Doklad o zaplaten\xED",nv="D\xE1tum platby",iv="\u010C\xEDslo platby",ov="Sp\xF4sob platby",rv="Prijat\xE1 suma",dv="Report v\xFDdajov",lv="Celkov\xE9 v\xFDdaje",cv="Zisky a straty",_v="Pr\xEDjem",uv="\u010Cist\xFD pr\xEDjem",mv="Report predajov: Pod\u013Ea z\xE1kazn\xEDkov",pv="Celkov\xE9 predaje",gv="Report predajov: Pod\u013Ea polo\u017Eky",fv="Report dan\xED",hv="Celkov\xE9 dane",vv="Typy dan\xED",yv="V\xFDdaje",bv="Fakturova\u0165,",kv="Doru\u010Di\u0165,",wv="Prijat\xE9 od:",xv="da\u0148";var zv={navigation:zh,general:Sh,dashboard:Ph,tax_types:jh,global_search:Dh,customers:Ch,items:Ah,estimates:Nh,invoices:Eh,payments:Th,expenses:Ih,login:$h,users:Rh,reports:Fh,settings:Mh,wizard:Bh,validation:Vh,pdf_estimate_label:Oh,pdf_estimate_number:Lh,pdf_estimate_date:Uh,pdf_estimate_expire_date:Kh,pdf_invoice_label:qh,pdf_invoice_number:Wh,pdf_invoice_date:Zh,pdf_invoice_due_date:Hh,pdf_notes:Gh,pdf_items_label:Yh,pdf_quantity_label:Jh,pdf_price_label:Xh,pdf_discount_label:Qh,pdf_amount_label:ev,pdf_subtotal:tv,pdf_total:av,pdf_payment_receipt_label:sv,pdf_payment_date:nv,pdf_payment_number:iv,pdf_payment_mode:ov,pdf_payment_amount_received_label:rv,pdf_expense_report_label:dv,pdf_total_expenses_label:lv,pdf_profit_loss_label:cv,pdf_income_label:_v,pdf_net_profit_label:uv,pdf_customer_sales_report:mv,pdf_total_sales_label:pv,pdf_item_sales_label:gv,pdf_tax_report_label:fv,pdf_total_tax_label:hv,pdf_tax_types_label:vv,pdf_expenses_label:yv,pdf_bill_to:bv,pdf_ship_to:kv,pdf_received_from:wv,pdf_tax_label:xv};const Sv={dashboard:"B\u1EA3ng \u0111i\u1EC1u khi\u1EC3n",customers:"Kh\xE1ch h\xE0ng",items:"M\u1EB7t h\xE0ng",invoices:"H\xF3a \u0111\u01A1n",expenses:"Chi ph\xED",estimates:"\u01AF\u1EDBc t\xEDnh",payments:"Thanh to\xE1n",reports:"B\xE1o c\xE1o",settings:"C\xE0i \u0111\u1EB7t",logout:"\u0110\u0103ng xu\u1EA5t",users:"Ng\u01B0\u1EDDi d\xF9ng"},Pv={add_company:"Th\xEAm c\xF4ng ty",view_pdf:"Xem PDF",copy_pdf_url:"Sao ch\xE9p Url PDF",download_pdf:"t\u1EA3i PDF",save:"Ti\u1EBFt ki\u1EC7m",create:"T\u1EA1o m\u1EDBi",cancel:"Hu\u1EF7 b\u1ECF",update:"C\u1EADp nh\u1EADt",deselect:"B\u1ECF ch\u1ECDn",download:"T\u1EA3i xu\u1ED1ng",from_date:"T\u1EEB ng\xE0y",to_date:"\u0110\u1EBFn ng\xE0y",from:"T\u1EEB",to:"\u0110\u1EBFn",sort_by:"S\u1EAFp x\u1EBFp theo",ascending:"T\u0103ng d\u1EA7n",descending:"Gi\u1EA3m d\u1EA7n",subject:"M\xF4n h\u1ECDc",body:"Th\xE2n h\xECnh",message:"Th\xF4ng \u0111i\u1EC7p",send:"G\u1EEDi",go_back:"Quay l\u1EA1i",back_to_login:"Quay l\u1EA1i \u0111\u0103ng nh\u1EADp?",home:"Trang Ch\u1EE7",filter:"B\u1ED9 l\u1ECDc",delete:"X\xF3a b\u1ECF",edit:"Ch\u1EC9nh s\u1EEDa",view:"L\u01B0\u1EE3t xem",add_new_item:"Th\xEAm m\u1EE5c m\u1EDBi",clear_all:"L\xE0m s\u1EA1ch t\u1EA5t c\u1EA3",showing:"Hi\u1EC3n th\u1ECB",of:"c\u1EE7a",actions:"H\xE0nh \u0111\u1ED9ng",subtotal:"TI\xCAU \u0110\u1EC0",discount:"GI\u1EA2M GI\xC1",fixed:"\u0111\xE3 s\u1EEDa",percentage:"Ph\u1EA7n tr\u0103m",tax:"THU\u1EBE",total_amount:"T\xD4\u0309NG C\xD4\u0323NG",bill_to:"Giao t\u1EEB",ship_to:"Giao t\u1EDBi",due:"\u0110\u1EBFn h\u1EA1n",draft:"B\u1EA3n nh\xE1p",sent:"G\u1EEDi",all:"T\u1EA5t c\u1EA3",select_all:"Ch\u1ECDn t\u1EA5t c\u1EA3",choose_file:"B\u1EA5m v\xE0o \u0111\xE2y \u0111\u1EC3 ch\u1ECDn m\u1ED9t t\u1EADp tin",choose_template:"Ch\u1ECDn m\u1ED9t m\u1EABu",choose:"Ch\u1ECDn",remove:"G\u1EE1",powered_by:"\u0110\u01B0\u1EE3c cung c\u1EA5p b\u1EDFi",bytefury:"Bytefury",select_a_status:"Ch\u1ECDn m\u1ED9t tr\u1EA1ng th\xE1i",select_a_tax:"Ch\u1ECDn thu\u1EBF",search:"T\xECm ki\u1EBFm",are_you_sure:"B\u1EA1n c\xF3 ch\u1EAFc kh\xF4ng?",list_is_empty:"Danh s\xE1ch tr\u1ED1ng.",no_tax_found:"Kh\xF4ng t\xECm th\u1EA5y thu\u1EBF!",four_zero_four:"404",you_got_lost:"R\u1EA5t ti\u1EBFc! B\u1EA1n b\u1ECB l\u1EA1c r\u1ED3i!",go_home:"V\u1EC1 nh\xE0",test_mail_conf:"Ki\u1EC3m tra c\u1EA5u h\xECnh th\u01B0",send_mail_successfully:"Th\u01B0 \u0111\xE3 \u0111\u01B0\u1EE3c g\u1EEDi th\xE0nh c\xF4ng",setting_updated:"\u0110\xE3 c\u1EADp nh\u1EADt c\xE0i \u0111\u1EB7t th\xE0nh c\xF4ng",select_state:"Ch\u1ECDn tr\u1EA1ng th\xE1i",select_country:"Ch\u1ECDn qu\u1ED1c gia",select_city:"L\u1EF1a ch\u1ECDn th\xE0nh ph\u1ED1",street_1:"\u0111\u01B0\u1EDDng s\u1ED1 1",street_2:"\u0110\u01B0\u1EDDng 2",action_failed:"\u0110\xE3 th\u1EA5t b\u1EA1i",retry:"Th\u1EED l\u1EA1i",choose_note:"Ch\u1ECDn Ghi ch\xFA",no_note_found:"Kh\xF4ng t\xECm th\u1EA5y ghi ch\xFA",insert_note:"Ch\xE8n ghi ch\xFA",copied_pdf_url_clipboard:"\u0110\xE3 sao ch\xE9p url PDF v\xE0o khay nh\u1EDB t\u1EA1m!"},jv={select_year:"Ch\u1ECDn n\u0103m",cards:{due_amount:"S\u1ED1 ti\u1EC1n \u0111\u1EBFn h\u1EA1n",customers:"Kh\xE1ch h\xE0ng",invoices:"H\xF3a \u0111\u01A1n",estimates:"\u01AF\u1EDBc t\xEDnh"},chart_info:{total_sales:"B\xE1n h\xE0ng",total_receipts:"Bi\xEAn lai",total_expense:"Chi ph\xED",net_income:"Thu nh\u1EADp r\xF2ng",year:"Ch\u1ECDn n\u0103m"},monthly_chart:{title:"B\xE1n h\xE0ng"},recent_invoices_card:{title:"H\xF3a \u0111\u01A1n \u0111\u1EBFn h\u1EA1n",due_on:"\u0110\u1EBFn h\u1EA1n v\xE0o",customer:"kh\xE1ch h\xE0ng",amount_due:"S\u1ED1 ti\u1EC1n \u0111\u1EBFn h\u1EA1n",actions:"H\xE0nh \u0111\u1ED9ng",view_all:"Xem t\u1EA5t c\u1EA3"},recent_estimate_card:{title:"C\xE1c \u01B0\u1EDBc t\xEDnh g\u1EA7n \u0111\xE2y",date:"Ng\xE0y",customer:"kh\xE1ch h\xE0ng",amount_due:"S\u1ED1 ti\u1EC1n \u0111\u1EBFn h\u1EA1n",actions:"H\xE0nh \u0111\u1ED9ng",view_all:"Xem t\u1EA5t c\u1EA3"}},Dv={name:"T\xEAn",description:"Mi\xEAu t\u1EA3",percent:"Ph\u1EA7n tr\u0103m",compound_tax:"Thu\u1EBF t\u1ED5ng h\u1EE3p"},Cv={search:"T\xECm ki\u1EBFm...",customers:"Kh\xE1ch h\xE0ng",users:"Ng\u01B0\u1EDDi d\xF9ng",no_results_found:"Kh\xF4ng t\xECm th\u1EA5y k\u1EBFt qu\u1EA3 n\xE0o"},Av={title:"Kh\xE1ch h\xE0ng",add_customer:"Th\xEAm kh\xE1ch h\xE0ng",contacts_list:"Danh s\xE1ch kh\xE1ch h\xE0ng",name:"T\xEAn",mail:"Th\u01B0 t\xEDn | Th\u01B0",statement:"Tuy\xEAn b\u1ED1",display_name:"T\xEAn hi\u1EC3n th\u1ECB",primary_contact_name:"T\xEAn li\xEAn h\u1EC7 ch\xEDnh",contact_name:"T\xEAn Li\xEAn l\u1EA1c",amount_due:"S\u1ED1 ti\u1EC1n \u0111\u1EBFn h\u1EA1n",email:"E-mail",address:"\u0110\u1ECBa ch\u1EC9",phone:"\u0110i\u1EC7n tho\u1EA1i",website:"Website",overview:"T\u1ED5ng quan",enable_portal:"B\u1EADt C\u1ED5ng th\xF4ng tin",country:"Qu\u1ED1c gia",state:"Ti\u1EC3u bang",city:"Tp.",zip_code:"M\xE3 B\u01B0u Ch\xEDnh",added_on:"\u0110\xE3 th\xEAm v\xE0o",action:"Ho\u1EA1t \u0111\u1ED9ng",password:"M\u1EADt kh\u1EA9u",street_number:"S\u1ED1 \u0111\u01B0\u1EDDng",primary_currency:"Ti\u1EC1n t\u1EC7 ch\xEDnh",description:"Mi\xEAu t\u1EA3",add_new_customer:"Th\xEAm kh\xE1ch h\xE0ng m\u1EDBi",save_customer:"L\u01B0u kh\xE1ch h\xE0ng",update_customer:"C\u1EADp nh\u1EADt kh\xE1ch h\xE0ng",customer:"Kh\xE1ch h\xE0ng | Kh\xE1ch h\xE0ng",new_customer:"Kh\xE1ch h\xE0ng m\u1EDBi",edit_customer:"Ch\u1EC9nh s\u1EEDa kh\xE1ch h\xE0ng",basic_info:"Th\xF4ng tin c\u01A1 b\u1EA3n",billing_address:"\u0110\u1ECBa ch\u1EC9 thanh to\xE1n",shipping_address:"\u0110\u1ECBa ch\u1EC9 giao h\xE0ng",copy_billing_address:"Sao ch\xE9p t\u1EEB thanh to\xE1n",no_customers:"Ch\u01B0a c\xF3 kh\xE1ch h\xE0ng!",no_customers_found:"Kh\xF4ng t\xECm th\u1EA5y kh\xE1ch h\xE0ng n\xE0o!",no_contact:"Kh\xF4ng c\xF3 li\xEAn l\u1EA1c",no_contact_name:"Kh\xF4ng c\xF3 t\xEAn li\xEAn h\u1EC7",list_of_customers:"Ph\u1EA7n n\xE0y s\u1EBD ch\u1EE9a danh s\xE1ch c\xE1c kh\xE1ch h\xE0ng.",primary_display_name:"T\xEAn hi\u1EC3n th\u1ECB ch\xEDnh",select_currency:"Ch\u1ECDn \u0111\u01A1n v\u1ECB ti\u1EC1n t\u1EC7",select_a_customer:"Ch\u1ECDn m\u1ED9t kh\xE1ch h\xE0ng",type_or_click:"Nh\u1EADp ho\u1EB7c nh\u1EA5p \u0111\u1EC3 ch\u1ECDn",new_transaction:"Giao d\u1ECBch m\u1EDBi",no_matching_customers:"Kh\xF4ng c\xF3 kh\xE1ch h\xE0ng ph\xF9 h\u1EE3p!",phone_number:"S\u1ED1 \u0111i\u1EC7n tho\u1EA1i",create_date:"T\u1EA1o ng\xE0y",confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c kh\xE1ch h\xE0ng n\xE0y v\xE0 t\u1EA5t c\u1EA3 c\xE1c H\xF3a \u0111\u01A1n, \u01AF\u1EDBc t\xEDnh v\xE0 Thanh to\xE1n c\xF3 li\xEAn quan. | B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c nh\u1EEFng kh\xE1ch h\xE0ng n\xE0y v\xE0 t\u1EA5t c\u1EA3 c\xE1c H\xF3a \u0111\u01A1n, \u01AF\u1EDBc t\xEDnh v\xE0 Thanh to\xE1n c\xF3 li\xEAn quan.",created_message:"Kh\xE1ch h\xE0ng \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt kh\xE1ch h\xE0ng th\xE0nh c\xF4ng",deleted_message:"\u0110\xE3 x\xF3a kh\xE1ch h\xE0ng th\xE0nh c\xF4ng | \u0110\xE3 x\xF3a kh\xE1ch h\xE0ng th\xE0nh c\xF4ng"},Nv={title:"M\u1EB7t h\xE0ng",items_list:"Danh s\xE1ch m\u1EB7t h\xE0ng",name:"T\xEAn",unit:"\u0110\u01A1n v\u1ECB",description:"Mi\xEAu t\u1EA3",added_on:"\u0110\xE3 th\xEAm v\xE0o",price:"Gi\xE1 b\xE1n",date_of_creation:"Ng\xE0y t\u1EA1o",not_selected:"Kh\xF4ng c\xF3 m\u1EE5c n\xE0o \u0111\u01B0\u1EE3c ch\u1ECDn",action:"Ho\u1EA1t \u0111\u1ED9ng",add_item:"Th\xEAm m\u1EB7t h\xE0ng",save_item:"L\u01B0u m\u1EE5c",update_item:"C\u1EADp nh\u1EADt m\u1EB7t h\xE0ng",item:"M\u1EB7t h\xE0ng | M\u1EB7t h\xE0ng",add_new_item:"Th\xEAm m\u1EE5c m\u1EDBi",new_item:"S\u1EA3n ph\u1EA9m m\u1EDBi",edit_item:"Ch\u1EC9nh s\u1EEDa m\u1EE5c",no_items:"Ch\u01B0a c\xF3 m\u1EB7t h\xE0ng n\xE0o!",list_of_items:"Ph\u1EA7n n\xE0y s\u1EBD ch\u1EE9a danh s\xE1ch c\xE1c m\u1EE5c.",select_a_unit:"ch\u1ECDn \u0111\u01A1n v\u1ECB",taxes:"Thu\u1EBF",item_attached_message:"Kh\xF4ng th\u1EC3 x\xF3a m\u1ED9t m\u1EE5c \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng",confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c V\u1EADt ph\u1EA9m n\xE0y | B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c c\xE1c M\u1EE5c n\xE0y",created_message:"M\u1EE5c \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt m\u1EB7t h\xE0ng th\xE0nh c\xF4ng",deleted_message:"\u0110\xE3 x\xF3a m\u1EE5c th\xE0nh c\xF4ng | C\xE1c m\u1EE5c \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a th\xE0nh c\xF4ng"},Ev={title:"\u01AF\u1EDBc t\xEDnh",estimate:"\u01AF\u1EDBc t\xEDnh | \u01AF\u1EDBc t\xEDnh",estimates_list:"Danh s\xE1ch \u01B0\u1EDBc t\xEDnh",days:"{days} Ng\xE0y",months:"{months} th\xE1ng",years:"{years} N\u0103m",all:"T\u1EA5t c\u1EA3",paid:"\u0110\xE3 thanh to\xE1n",unpaid:"Ch\u01B0a thanh to\xE1n",customer:"KH\xC1CH H\xC0NG",ref_no:"S\u1ED0 THAM CHI\u1EBEU.",number:"CON S\u1ED0",amount_due:"S\u1ED0 TI\u1EC0N THANH TO\xC1N",partially_paid:"Thanh to\xE1n m\u1ED9t ph\u1EA7n",total:"To\xE0n b\u1ED9",discount:"Gi\u1EA3m gi\xE1",sub_total:"T\u1ED5ng ph\u1EE5",estimate_number:"S\u1ED1 \u01B0\u1EDBc t\xEDnh",ref_number:"S\u1ED1 REF",contact:"Li\xEAn h\u1EC7",add_item:"Th\xEAm m\u1ED9t m\u1EB7t h\xE0ng",date:"Ng\xE0y",due_date:"Ng\xE0y \u0111\xE1o h\u1EA1n",expiry_date:"Ng\xE0y h\u1EBFt h\u1EA1n",status:"Tr\u1EA1ng th\xE1i",add_tax:"Th\xEAm thu\u1EBF",amount:"S\u1ED1 ti\u1EC1n",action:"Ho\u1EA1t \u0111\u1ED9ng",notes:"Ghi ch\xFA",tax:"Thu\u1EBF",estimate_template:"B\u1EA3n m\u1EABu",convert_to_invoice:"Chuy\u1EC3n \u0111\u1ED5i sang h\xF3a \u0111\u01A1n",mark_as_sent:"\u0110\xE1nh d\u1EA5u l\xE0 \u0110\xE3 g\u1EEDi",send_estimate:"G\u1EEDi \u01B0\u1EDBc t\xEDnh",resend_estimate:"G\u1EEDi l\u1EA1i \u01B0\u1EDBc t\xEDnh",record_payment:"Ghi l\u1EA1i Thanh to\xE1n",add_estimate:"Th\xEAm \u01B0\u1EDBc t\xEDnh",save_estimate:"L\u01B0u \u01B0\u1EDBc t\xEDnh",confirm_conversion:"\u01AF\u1EDBc t\xEDnh n\xE0y s\u1EBD \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng \u0111\u1EC3 t\u1EA1o H\xF3a \u0111\u01A1n m\u1EDBi.",conversion_message:"H\xF3a \u0111\u01A1n \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",confirm_send_estimate:"\u01AF\u1EDBc t\xEDnh n\xE0y s\u1EBD \u0111\u01B0\u1EE3c g\u1EEDi qua email cho kh\xE1ch h\xE0ng",confirm_mark_as_sent:"\u01AF\u1EDBc t\xEDnh n\xE0y s\u1EBD \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 \u0111\xE3 g\u1EEDi",confirm_mark_as_accepted:"\u01AF\u1EDBc t\xEDnh n\xE0y s\u1EBD \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 \u0110\xE3 ch\u1EA5p nh\u1EADn",confirm_mark_as_rejected:"\u01AF\u1EDBc t\xEDnh n\xE0y s\u1EBD \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 B\u1ECB t\u1EEB ch\u1ED1i",no_matching_estimates:"Kh\xF4ng c\xF3 \u01B0\u1EDBc t\xEDnh ph\xF9 h\u1EE3p!",mark_as_sent_successfully:"\u01AF\u1EDBc t\xEDnh \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 \u0111\xE3 g\u1EEDi th\xE0nh c\xF4ng",send_estimate_successfully:"\u01AF\u1EDBc t\xEDnh \u0111\xE3 \u0111\u01B0\u1EE3c g\u1EEDi th\xE0nh c\xF4ng",errors:{required:"Tr\u01B0\u1EDDng kh\xF4ng \u0111\u01B0\u1EE3c b\u1ECF tr\u1ED1ng."},accepted:"\u0110\xE3 \u0111\u01B0\u1EE3c ch\u1EA5p nh\u1EADn",rejected:"T\u1EEB ch\u1ED1i",sent:"G\u1EEDi",draft:"B\u1EA3n nh\xE1p",declined:"Suy gi\u1EA3m",new_estimate:"\u01AF\u1EDBc t\xEDnh m\u1EDBi",add_new_estimate:"Th\xEAm \u01B0\u1EDBc t\xEDnh m\u1EDBi",update_Estimate:"C\u1EADp nh\u1EADt \u01B0\u1EDBc t\xEDnh",edit_estimate:"Ch\u1EC9nh s\u1EEDa \u01B0\u1EDBc t\xEDnh",items:"m\u1EB7t h\xE0ng",Estimate:"\u01AF\u1EDBc t\xEDnh | \u01AF\u1EDBc t\xEDnh",add_new_tax:"Th\xEAm thu\u1EBF m\u1EDBi",no_estimates:"Ch\u01B0a c\xF3 \u01B0\u1EDBc t\xEDnh n\xE0o!",list_of_estimates:"Ph\u1EA7n n\xE0y s\u1EBD ch\u1EE9a danh s\xE1ch c\xE1c \u01B0\u1EDBc t\xEDnh.",mark_as_rejected:"\u0110\xE1nh d\u1EA5u l\xE0 b\u1ECB t\u1EEB ch\u1ED1i",mark_as_accepted:"\u0110\xE1nh d\u1EA5u l\xE0 \u0111\xE3 ch\u1EA5p nh\u1EADn",marked_as_accepted_message:"\u01AF\u1EDBc t\xEDnh \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 \u0111\u01B0\u1EE3c ch\u1EA5p nh\u1EADn",marked_as_rejected_message:"\u01AF\u1EDBc t\xEDnh \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 b\u1ECB t\u1EEB ch\u1ED1i",confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c \u01AF\u1EDBc t\xEDnh n\xE0y | B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c c\xE1c \u01AF\u1EDBc t\xEDnh n\xE0y",created_message:"\u01AF\u1EDBc t\xEDnh \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt \u01B0\u1EDBc t\xEDnh th\xE0nh c\xF4ng",deleted_message:"\u0110\xE3 x\xF3a \u01B0\u1EDBc t\xEDnh th\xE0nh c\xF4ng | \u0110\xE3 x\xF3a \u01B0\u1EDBc t\xEDnh th\xE0nh c\xF4ng",something_went_wrong:"C\xF3 g\xEC \u0111\xF3 kh\xF4ng \u1ED5n",item:{title:"Danh m\u1EE5c",description:"Mi\xEAu t\u1EA3",quantity:"\u0110\u1ECBnh l\u01B0\u1EE3ng",price:"Gi\xE1 b\xE1n",discount:"Gi\u1EA3m gi\xE1",total:"To\xE0n b\u1ED9",total_discount:"T\u1ED5ng kh\u1EA5u tr\u1EEB",sub_total:"T\u1ED5ng ph\u1EE5",tax:"Thu\u1EBF",amount:"S\u1ED1 ti\u1EC1n",select_an_item:"Nh\u1EADp ho\u1EB7c nh\u1EA5p \u0111\u1EC3 ch\u1ECDn m\u1ED9t m\u1EE5c",type_item_description:"Lo\u1EA1i M\u1EE5c M\xF4 t\u1EA3 (t\xF9y ch\u1ECDn)"}},Tv={title:"H\xF3a \u0111\u01A1n",invoices_list:"Danh s\xE1ch h\xF3a \u0111\u01A1n",days:"{days} Ng\xE0y",months:"{months} th\xE1ng",years:"{years} N\u0103m",all:"T\u1EA5t c\u1EA3",paid:"\u0110\xE3 thanh to\xE1n",unpaid:"Ch\u01B0a thanh to\xE1n",viewed:"\u0110\xE3 xem",overdue:"Qu\xE1 h\u1EA1n",completed:"\u0110\xE3 ho\xE0n th\xE0nh",customer:"KH\xC1CH H\xC0NG",paid_status:"TR\u1EA0NG TH\xC1I \u0110\xC3 TR\u1EA2 TI\u1EC0N",ref_no:"S\u1ED0 THAM CHI\u1EBEU.",number:"S\u1ED0",amount_due:"S\u1ED0 TI\u1EC0N THANH TO\xC1N",partially_paid:"Thanh to\xE1n m\u1ED9t ph\u1EA7n",total:"To\xE0n b\u1ED9",discount:"Gi\u1EA3m gi\xE1",sub_total:"T\u1ED5ng ph\u1EE5",invoice:"H\xF3a \u0111\u01A1n | H\xF3a \u0111\u01A1n",invoice_number:"S\u1ED1 h\xF3a \u0111\u01A1n",ref_number:"S\u1ED1 REF",contact:"Li\xEAn h\u1EC7",add_item:"Th\xEAm m\u1ED9t m\u1EB7t h\xE0ng",date:"Ng\xE0y",due_date:"Ng\xE0y \u0111\xE1o h\u1EA1n",status:"Tr\u1EA1ng th\xE1i",add_tax:"Th\xEAm thu\u1EBF",amount:"S\u1ED1 ti\u1EC1n",action:"Ho\u1EA1t \u0111\u1ED9ng",notes:"Ghi ch\xFA",view:"L\u01B0\u1EE3t xem",send_invoice:"G\u1EEDi h\xF3a \u0111\u01A1n",resend_invoice:"G\u1EEDi l\u1EA1i h\xF3a \u0111\u01A1n",invoice_template:"M\u1EABu h\xF3a \u0111\u01A1n",template:"B\u1EA3n m\u1EABu",mark_as_sent:"\u0110\xE1nh d\u1EA5u l\xE0 \u0111\xE3 g\u1EEDi",confirm_send_invoice:"H\xF3a \u0111\u01A1n n\xE0y s\u1EBD \u0111\u01B0\u1EE3c g\u1EEDi qua email cho kh\xE1ch h\xE0ng",invoice_mark_as_sent:"H\xF3a \u0111\u01A1n n\xE0y s\u1EBD \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 \u0111\xE3 g\u1EEDi",confirm_send:"H\xF3a \u0111\u01A1n n\xE0y s\u1EBD \u0111\u01B0\u1EE3c g\u1EEDi qua email cho kh\xE1ch h\xE0ng",invoice_date:"Ng\xE0y l\u1EADp h\xF3a \u0111\u01A1n",record_payment:"Ghi l\u1EA1i Thanh to\xE1n",add_new_invoice:"Th\xEAm h\xF3a \u0111\u01A1n m\u1EDBi",update_expense:"C\u1EADp nh\u1EADt chi ph\xED",edit_invoice:"Ch\u1EC9nh s\u1EEDa h\xF3a \u0111\u01A1n",new_invoice:"H\xF3a \u0111\u01A1n m\u1EDBi",save_invoice:"L\u01B0u h\xF3a \u0111\u01A1n",update_invoice:"C\u1EADp nh\u1EADt h\xF3a \u0111\u01A1n",add_new_tax:"Th\xEAm thu\u1EBF m\u1EDBi",no_invoices:"Ch\u01B0a c\xF3 h\xF3a \u0111\u01A1n!",list_of_invoices:"Ph\u1EA7n n\xE0y s\u1EBD ch\u1EE9a danh s\xE1ch c\xE1c h\xF3a \u0111\u01A1n.",select_invoice:"Ch\u1ECDn h\xF3a \u0111\u01A1n",no_matching_invoices:"Kh\xF4ng c\xF3 h\xF3a \u0111\u01A1n ph\xF9 h\u1EE3p!",mark_as_sent_successfully:"H\xF3a \u0111\u01A1n \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 \u0111\xE3 g\u1EEDi th\xE0nh c\xF4ng",invoice_sent_successfully:"H\xF3a \u0111\u01A1n \u0111\xE3 \u0111\u01B0\u1EE3c g\u1EEDi th\xE0nh c\xF4ng",cloned_successfully:"H\xF3a \u0111\u01A1n \u0111\u01B0\u1EE3c sao ch\xE9p th\xE0nh c\xF4ng",clone_invoice:"H\xF3a \u0111\u01A1n nh\xE2n b\u1EA3n",confirm_clone:"H\xF3a \u0111\u01A1n n\xE0y s\u1EBD \u0111\u01B0\u1EE3c sao ch\xE9p v\xE0o m\u1ED9t H\xF3a \u0111\u01A1n m\u1EDBi",item:{title:"Danh m\u1EE5c",description:"Mi\xEAu t\u1EA3",quantity:"\u0110\u1ECBnh l\u01B0\u1EE3ng",price:"Gi\xE1 b\xE1n",discount:"Gi\u1EA3m gi\xE1",total:"To\xE0n b\u1ED9",total_discount:"T\u1ED5ng kh\u1EA5u tr\u1EEB",sub_total:"T\u1ED5ng ph\u1EE5",tax:"Thu\u1EBF",amount:"S\u1ED1 ti\u1EC1n",select_an_item:"Nh\u1EADp ho\u1EB7c nh\u1EA5p \u0111\u1EC3 ch\u1ECDn m\u1ED9t m\u1EE5c",type_item_description:"Lo\u1EA1i M\u1EE5c M\xF4 t\u1EA3 (t\xF9y ch\u1ECDn)"},confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c H\xF3a \u0111\u01A1n n\xE0y | B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c c\xE1c H\xF3a \u0111\u01A1n n\xE0y",created_message:"H\xF3a \u0111\u01A1n \u0111\xE3 \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt h\xF3a \u0111\u01A1n th\xE0nh c\xF4ng",deleted_message:"H\xF3a \u0111\u01A1n \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a th\xE0nh c\xF4ng | H\xF3a \u0111\u01A1n \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a th\xE0nh c\xF4ng",marked_as_sent_message:"H\xF3a \u0111\u01A1n \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 \u0111\xE3 g\u1EEDi th\xE0nh c\xF4ng",something_went_wrong:"c\xF3 g\xEC \u0111\xF3 kh\xF4ng \u1ED5n",invalid_due_amount_message:"T\u1ED5ng s\u1ED1 ti\u1EC1n tr\xEAn H\xF3a \u0111\u01A1n kh\xF4ng \u0111\u01B0\u1EE3c nh\u1ECF h\u01A1n t\u1ED5ng s\u1ED1 ti\u1EC1n \u0111\xE3 thanh to\xE1n cho H\xF3a \u0111\u01A1n n\xE0y. Vui l\xF2ng c\u1EADp nh\u1EADt h\xF3a \u0111\u01A1n ho\u1EB7c x\xF3a c\xE1c kho\u1EA3n thanh to\xE1n li\xEAn quan \u0111\u1EC3 ti\u1EBFp t\u1EE5c."},Iv={title:"Thanh to\xE1n",payments_list:"Danh s\xE1ch thanh to\xE1n",record_payment:"Ghi l\u1EA1i Thanh to\xE1n",customer:"kh\xE1ch h\xE0ng",date:"Ng\xE0y",amount:"S\u1ED1 ti\u1EC1n",action:"Ho\u1EA1t \u0111\u1ED9ng",payment_number:"M\xE3 S\u1ED1 Thanh To\xE1n",payment_mode:"Ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n",invoice:"H\xF3a \u0111\u01A1n",note:"Ghi ch\xFA",add_payment:"Th\xEAm thanh to\xE1n",new_payment:"Thanh to\xE1n m\u1EDBi",edit_payment:"Ch\u1EC9nh s\u1EEDa Thanh to\xE1n",view_payment:"Xem thanh to\xE1n",add_new_payment:"Th\xEAm thanh to\xE1n m\u1EDBi",send_payment_receipt:"G\u1EEDi bi\xEAn lai thanh to\xE1n",send_payment:"G\u1EEDi h\xF3a \u0111\u01A1n",save_payment:"L\u01B0u thanh to\xE1n",update_payment:"C\u1EADp nh\u1EADt thanh to\xE1n",payment:"Thanh to\xE1n | Thanh to\xE1n",no_payments:"Ch\u01B0a c\xF3 kho\u1EA3n thanh to\xE1n n\xE0o!",not_selected:"Kh\xF4ng \u0111\u01B0\u1EE3c ch\u1ECDn",no_invoice:"Kh\xF4ng c\xF3 h\xF3a \u0111\u01A1n",no_matching_payments:"Kh\xF4ng c\xF3 kho\u1EA3n thanh to\xE1n n\xE0o ph\xF9 h\u1EE3p!",list_of_payments:"Ph\u1EA7n n\xE0y s\u1EBD ch\u1EE9a danh s\xE1ch c\xE1c kho\u1EA3n thanh to\xE1n.",select_payment_mode:"Ch\u1ECDn ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n",confirm_mark_as_sent:"\u01AF\u1EDBc t\xEDnh n\xE0y s\u1EBD \u0111\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u l\xE0 \u0111\xE3 g\u1EEDi",confirm_send_payment:"Kho\u1EA3n thanh to\xE1n n\xE0y s\u1EBD \u0111\u01B0\u1EE3c g\u1EEDi qua email cho kh\xE1ch h\xE0ng",send_payment_successfully:"Thanh to\xE1n \u0111\xE3 \u0111\u01B0\u1EE3c g\u1EEDi th\xE0nh c\xF4ng",something_went_wrong:"C\xF3 g\xEC \u0111\xF3 kh\xF4ng \u1ED5n",confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c Thanh to\xE1n n\xE0y | B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c c\xE1c Kho\u1EA3n thanh to\xE1n n\xE0y",created_message:"Thanh to\xE1n \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt thanh to\xE1n th\xE0nh c\xF4ng",deleted_message:"\u0110\xE3 x\xF3a thanh to\xE1n th\xE0nh c\xF4ng | Thanh to\xE1n \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a th\xE0nh c\xF4ng",invalid_amount_message:"S\u1ED1 ti\u1EC1n thanh to\xE1n kh\xF4ng h\u1EE3p l\u1EC7"},$v={title:"Chi ph\xED",expenses_list:"Danh s\xE1ch chi ph\xED",select_a_customer:"Ch\u1ECDn m\u1ED9t kh\xE1ch h\xE0ng",expense_title:"Ti\xEAu \u0111\u1EC1",customer:"kh\xE1ch h\xE0ng",contact:"Li\xEAn h\u1EC7",category:"th\u1EC3 lo\u1EA1i",from_date:"T\u1EEB ng\xE0y",to_date:"\u0110\u1EBFn ng\xE0y",expense_date:"Ng\xE0y",description:"Mi\xEAu t\u1EA3",receipt:"Bi\xEAn lai",amount:"S\u1ED1 ti\u1EC1n",action:"Ho\u1EA1t \u0111\u1ED9ng",not_selected:"Kh\xF4ng \u0111\u01B0\u1EE3c ch\u1ECDn",note:"Ghi ch\xFA",category_id:"Th\u1EC3 lo\u1EA1i ID",date:"Ng\xE0y",add_expense:"Th\xEAm chi ph\xED",add_new_expense:"Th\xEAm chi ph\xED m\u1EDBi",save_expense:"Ti\u1EBFt ki\u1EC7m chi ph\xED",update_expense:"C\u1EADp nh\u1EADt chi ph\xED",download_receipt:"Bi\xEAn nh\u1EADn t\u1EA3i xu\u1ED1ng",edit_expense:"Ch\u1EC9nh s\u1EEDa chi ph\xED",new_expense:"Chi ph\xED m\u1EDBi",expense:"Chi ph\xED | Chi ph\xED",no_expenses:"Ch\u01B0a c\xF3 chi ph\xED!",list_of_expenses:"Ph\u1EA7n n\xE0y s\u1EBD ch\u1EE9a danh s\xE1ch c\xE1c chi ph\xED.",confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 thu h\u1ED3i Kho\u1EA3n chi ph\xED n\xE0y | B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 thu h\u1ED3i c\xE1c Kho\u1EA3n chi ph\xED n\xE0y",created_message:"\u0110\xE3 t\u1EA1o th\xE0nh c\xF4ng chi ph\xED",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt chi ph\xED th\xE0nh c\xF4ng",deleted_message:"\u0110\xE3 x\xF3a th\xE0nh c\xF4ng chi ph\xED | \u0110\xE3 x\xF3a th\xE0nh c\xF4ng chi ph\xED",categories:{categories_list:"Danh s\xE1ch h\u1EA1ng m\u1EE5c",title:"Ti\xEAu \u0111\u1EC1",name:"T\xEAn",description:"Mi\xEAu t\u1EA3",amount:"S\u1ED1 ti\u1EC1n",actions:"H\xE0nh \u0111\u1ED9ng",add_category:"th\xEAm th\xEA\u0309 loa\u0323i",new_category:"Danh m\u1EE5c m\u1EDBi",category:"Th\u1EC3 lo\u1EA1i | Th\u1EC3 lo\u1EA1i",select_a_category:"Ch\u1ECDn m\u1ED9t danh m\u1EE5c"}},Rv={email:"E-mail",password:"M\u1EADt kh\u1EA9u",forgot_password:"Qu\xEAn m\u1EADt kh\u1EA9u?",or_signIn_with:"ho\u1EB7c \u0110\u0103ng nh\u1EADp b\u1EB1ng",login:"\u0110\u0103ng nh\u1EADp",register:"\u0110\u0103ng k\xFD",reset_password:"\u0110\u1EB7t l\u1EA1i m\u1EADt kh\u1EA9u",password_reset_successfully:"\u0110\u1EB7t l\u1EA1i m\u1EADt kh\u1EA9u th\xE0nh c\xF4ng",enter_email:"Nh\u1EADp email",enter_password:"Nh\u1EADp m\u1EADt kh\u1EA9u",retype_password:"G\xF5 l\u1EA1i m\u1EADt kh\u1EA9u"},Fv={title:"Ng\u01B0\u1EDDi d\xF9ng",users_list:"Danh s\xE1ch ng\u01B0\u1EDDi d\xF9ng",name:"T\xEAn",description:"Mi\xEAu t\u1EA3",added_on:"\u0110\xE3 th\xEAm v\xE0o",date_of_creation:"Ng\xE0y t\u1EA1o",action:"Ho\u1EA1t \u0111\u1ED9ng",add_user:"Th\xEAm ng\u01B0\u1EDDi d\xF9ng",save_user:"L\u01B0u ng\u01B0\u1EDDi d\xF9ng",update_user:"C\u1EADp nh\u1EADt ng\u01B0\u1EDDi d\xF9ng",user:"Ng\u01B0\u1EDDi d\xF9ng | Ng\u01B0\u1EDDi d\xF9ng",add_new_user:"Th\xEAm ng\u01B0\u1EDDi d\xF9ng m\u1EDBi",new_user:"Ng\u01B0\u1EDDi d\xF9ng m\u1EDBi",edit_user:"Ch\u1EC9nh s\u1EEDa g\u01B0\u1EDDi d\xF9ng",no_users:"Ch\u01B0a c\xF3 ng\u01B0\u1EDDi d\xF9ng n\xE0o!",list_of_users:"Ph\u1EA7n n\xE0y s\u1EBD ch\u1EE9a danh s\xE1ch ng\u01B0\u1EDDi d\xF9ng.",email:"E-mail",phone:"\u0110i\u1EC7n tho\u1EA1i",password:"M\u1EADt kh\u1EA9u",user_attached_message:"Kh\xF4ng th\u1EC3 x\xF3a m\u1ED9t m\u1EE5c \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng",confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c Ng\u01B0\u1EDDi d\xF9ng n\xE0y | B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c nh\u1EEFng Ng\u01B0\u1EDDi d\xF9ng n\xE0y",created_message:"Ng\u01B0\u1EDDi d\xF9ng \u0111\xE3 \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt ng\u01B0\u1EDDi d\xF9ng th\xE0nh c\xF4ng",deleted_message:"\u0110\xE3 x\xF3a ng\u01B0\u1EDDi d\xF9ng th\xE0nh c\xF4ng | \u0110\xE3 x\xF3a ng\u01B0\u1EDDi d\xF9ng th\xE0nh c\xF4ng"},Mv={title:"B\xE1o c\xE1o",from_date:"T\u1EEB ng\xE0y",to_date:"\u0110\u1EBFn ng\xE0y",status:"Tr\u1EA1ng th\xE1i",paid:"\u0110\xE3 thanh to\xE1n",unpaid:"Ch\u01B0a thanh to\xE1n",download_pdf:"T\u1EA3i PDF",view_pdf:"Xem PDF",update_report:"C\u1EADp nh\u1EADt b\xE1o c\xE1o",report:"B\xE1o c\xE1o | B\xE1o c\xE1o",profit_loss:{profit_loss:"L\u1EE3i nhu\u1EADn",to_date:"\u0110\u1EBFn ng\xE0y",from_date:"T\u1EEB ng\xE0y",date_range:"Ch\u1ECDn ph\u1EA1m vi ng\xE0y"},sales:{sales:"B\xE1n h\xE0ng",date_range:"Ch\u1ECDn ph\u1EA1m vi ng\xE0y",to_date:"\u0110\u1EBFn ng\xE0y",from_date:"T\u1EEB ng\xE0y",report_type:"Lo\u1EA1i b\xE1o c\xE1o"},taxes:{taxes:"Thu\u1EBF",to_date:"\u0110\u1EBFn ng\xE0y",from_date:"T\u1EEB ng\xE0y",date_range:"Ch\u1ECDn ph\u1EA1m vi ng\xE0y"},errors:{required:"L\u0129nh v\u1EF1c \u0111\u01B0\u1EE3c y\xEAu c\u1EA7u"},invoices:{invoice:"H\xF3a \u0111\u01A1n",invoice_date:"Ng\xE0y l\u1EADp h\xF3a \u0111\u01A1n",due_date:"Ng\xE0y \u0111\xE1o h\u1EA1n",amount:"S\u1ED1 ti\u1EC1n",contact_name:"T\xEAn Li\xEAn l\u1EA1c",status:"Tr\u1EA1ng th\xE1i"},estimates:{estimate:"\u01AF\u1EDBc t\xEDnh",estimate_date:"Ng\xE0y \u01B0\u1EDBc t\xEDnh",due_date:"Ng\xE0y \u0111\xE1o h\u1EA1n",estimate_number:"S\u1ED1 \u01B0\u1EDBc t\xEDnh",ref_number:"S\u1ED1 REF",amount:"S\u1ED1 ti\u1EC1n",contact_name:"T\xEAn Li\xEAn l\u1EA1c",status:"Tr\u1EA1ng th\xE1i"},expenses:{expenses:"Chi ph\xED",category:"th\u1EC3 lo\u1EA1i",date:"Ng\xE0y",amount:"S\u1ED1 ti\u1EC1n",to_date:"\u0110\u1EBFn ng\xE0y",from_date:"T\u1EEB ng\xE0y",date_range:"Ch\u1ECDn ph\u1EA1m vi ng\xE0y"}},Bv={menu_title:{account_settings:"C\xE0i \u0111\u1EB7t t\xE0i kho\u1EA3n",company_information:"Th\xF4ng tin c\xF4ng ty",customization:"T\xF9y bi\u1EBFn",preferences:"S\u1EDF th\xEDch",notifications:"Th\xF4ng b\xE1o",tax_types:"C\xE1c lo\u1EA1i thu\u1EBF",expense_category:"H\u1EA1ng m\u1EE5c Chi ph\xED",update_app:"C\u1EADp nh\u1EADt \u1EE9ng d\u1EE5ng",backup:"Sao l\u01B0u",file_disk:"\u0110\u0129a t\u1EC7p",custom_fields:"Tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh",payment_modes:"Ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n",notes:"Ghi ch\xFA"},title:"C\xE0i \u0111\u1EB7t",setting:"C\xE0i \u0111\u1EB7t | C\xE0i \u0111\u1EB7t",general:"Chung",language:"Ng\xF4n ng\u1EEF",primary_currency:"Ti\u1EC1n t\u1EC7 ch\xEDnh",timezone:"M\xFAi gi\u1EDD",date_format:"\u0110\u1ECBnh d\u1EA1ng ng\xE0y th\xE1ng",currencies:{title:"Ti\u1EC1n t\u1EC7",currency:"Ti\u1EC1n t\u1EC7 | Ti\u1EC1n t\u1EC7",currencies_list:"Danh s\xE1ch ti\u1EC1n t\u1EC7",select_currency:"Ch\u1ECDn ti\u1EC1n t\u1EC7",name:"T\xEAn",code:"M\xE3",symbol:"Bi\u1EC3u t\u01B0\u1EE3ng",precision:"\u0110\u1ED9 ch\xEDnh x\xE1c",thousand_separator:"H\xE0ng ng\xE0n m\xE1y t\xE1ch",decimal_separator:"Ph\xE2n s\u1ED1 th\u1EADp ph\xE2n",position:"Ch\u1EE9c v\u1EE5",position_of_symbol:"V\u1ECB tr\xED c\u1EE7a bi\u1EC3u t\u01B0\u1EE3ng",right:"\u0110\xFAng",left:"Tr\xE1i",action:"Ho\u1EA1t \u0111\u1ED9ng",add_currency:"Th\xEAm ti\u1EC1n t\u1EC7"},mail:{host:"M\xE1y ch\u1EE7 Th\u01B0",port:"C\u1ED5ng th\u01B0",driver:"Tr\xECnh \u0111i\u1EC1u khi\u1EC3n Th\u01B0",secret:"Kh\xF3a",mailgun_secret:"Kh\xF3a Mailgun",mailgun_domain:"Mi\u1EC1n",mailgun_endpoint:"\u0110i\u1EC3m cu\u1ED1i c\u1EE7a Mailgun",ses_secret:"Kh\xF3a SES",ses_key:"Kh\xF3a SES",password:"M\u1EADt kh\u1EA9u th\u01B0",username:"T\xEAn ng\u01B0\u1EDDi d\xF9ng th\u01B0",mail_config:"C\u1EA5u h\xECnh th\u01B0",from_name:"T\u1EEB t\xEAn th\u01B0",from_mail:"T\u1EEB \u0111\u1ECBa ch\u1EC9 th\u01B0",encryption:"M\xE3 h\xF3a Th\u01B0",mail_config_desc:"D\u01B0\u1EDBi \u0111\xE2y l\xE0 bi\u1EC3u m\u1EABu \u0110\u1ECBnh c\u1EA5u h\xECnh tr\xECnh \u0111i\u1EC1u khi\u1EC3n Email \u0111\u1EC3 g\u1EEDi email t\u1EEB \u1EE9ng d\u1EE5ng. B\u1EA1n c\u0169ng c\xF3 th\u1EC3 \u0111\u1ECBnh c\u1EA5u h\xECnh c\xE1c nh\xE0 cung c\u1EA5p b\xEAn th\u1EE9 ba nh\u01B0 Sendgrid, SES, v.v."},pdf:{title:"C\xE0i \u0111\u1EB7t PDF",footer_text:"V\u0103n b\u1EA3n ch\xE2n trang",pdf_layout:"B\u1ED1 c\u1EE5c PDF"},company_info:{company_info:"Th\xF4ng tin c\xF4ng ty",company_name:"T\xEAn c\xF4ng ty",company_logo:"Logo c\xF4ng ty",section_description:"Th\xF4ng tin v\u1EC1 c\xF4ng ty c\u1EE7a b\u1EA1n s\u1EBD \u0111\u01B0\u1EE3c hi\u1EC3n th\u1ECB tr\xEAn h\xF3a \u0111\u01A1n, \u01B0\u1EDBc t\xEDnh v\xE0 c\xE1c t\xE0i li\u1EC7u kh\xE1c do Crater t\u1EA1o.",phone:"\u0110i\u1EC7n tho\u1EA1i",country:"Qu\u1ED1c gia",state:"Ti\u1EC3u bang",city:"Tp.",address:"\u0110\u1ECBa ch\u1EC9",zip:"Zip",save:"L\u01B0u",updated_message:"Th\xF4ng tin c\xF4ng ty \u0111\u01B0\u1EE3c c\u1EADp nh\u1EADt th\xE0nh c\xF4ng"},custom_fields:{title:"Tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh",section_description:"T\xF9y ch\u1EC9nh h\xF3a \u0111\u01A1n, \u01B0\u1EDBc t\xEDnh c\u1EE7a b\u1EA1n",add_custom_field:"Th\xEAm tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh",edit_custom_field:"Ch\u1EC9nh s\u1EEDa tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh",field_name:"T\xEAn tr\u01B0\u1EDDng",label:"Nh\xE3n",type:"Ki\u1EC3u",name:"T\xEAn",required:"C\u1EA7n thi\u1EBFt",placeholder:"Tr\xECnh gi\u1EEF ch\u1ED7",help_text:"V\u0103n b\u1EA3n tr\u1EE3 gi\xFAp",default_value:"Gi\xE1 tr\u1ECB m\u1EB7c \u0111\u1ECBnh",prefix:"Ti\u1EBFp \u0111\u1EA7u ng\u1EEF",starting_number:"S\u1ED1 b\u1EAFt \u0111\u1EA7u",model:"M\xF4 h\xECnh",help_text_description:"Nh\u1EADp m\u1ED9t s\u1ED1 v\u0103n b\u1EA3n \u0111\u1EC3 gi\xFAp ng\u01B0\u1EDDi d\xF9ng hi\u1EC3u m\u1EE5c \u0111\xEDch c\u1EE7a tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh n\xE0y.",suffix:"H\u1EADu t\u1ED1",yes:"\u0110\xFAng",no:"Kh\xF4ng",order:"\u0110\u1EB7t h\xE0ng",custom_field_confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c Tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh n\xE0y",already_in_use:"Tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng",deleted_message:"Tr\u01B0\u1EDDng T\xF9y ch\u1EC9nh \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a th\xE0nh c\xF4ng",options:"c\xE1c t\xF9y ch\u1ECDn",add_option:"Th\xEAm t\xF9y ch\u1ECDn",add_another_option:"Th\xEAm m\u1ED9t t\xF9y ch\u1ECDn kh\xE1c",sort_in_alphabetical_order:"S\u1EAFp x\u1EBFp theo th\u1EE9 t\u1EF1 b\u1EA3ng ch\u1EEF c\xE1i",add_options_in_bulk:"Th\xEAm h\xE0ng lo\u1EA1t t\xF9y ch\u1ECDn",use_predefined_options:"S\u1EED d\u1EE5ng c\xE1c t\xF9y ch\u1ECDn \u0111\u01B0\u1EE3c x\xE1c \u0111\u1ECBnh tr\u01B0\u1EDBc",select_custom_date:"Ch\u1ECDn ng\xE0y t\xF9y ch\u1EC9nh",select_relative_date:"Ch\u1ECDn ng\xE0y t\u01B0\u01A1ng \u0111\u1ED1i",ticked_by_default:"\u0110\u01B0\u1EE3c \u0111\xE1nh d\u1EA5u theo m\u1EB7c \u0111\u1ECBnh",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh th\xE0nh c\xF4ng",added_message:"Tr\u01B0\u1EDDng t\xF9y ch\u1EC9nh \u0111\xE3 \u0111\u01B0\u1EE3c th\xEAm th\xE0nh c\xF4ng"},customization:{customization:"s\u1EF1 t\xF9y bi\u1EBFn",save:"Ti\u1EBFt ki\u1EC7m",addresses:{title:"\u0110\u1ECBa ch\u1EC9",section_description:"B\u1EA1n c\xF3 th\u1EC3 \u0111\u1EB7t \u0110\u1ECBnh d\u1EA1ng \u0110\u1ECBa ch\u1EC9 Thanh to\xE1n c\u1EE7a Kh\xE1ch h\xE0ng v\xE0 \u0110\u1ECBa ch\u1EC9 Giao h\xE0ng c\u1EE7a Kh\xE1ch h\xE0ng (Ch\u1EC9 hi\u1EC3n th\u1ECB d\u01B0\u1EDBi d\u1EA1ng PDF).",customer_billing_address:"\u0110\u1ECBa ch\u1EC9 thanh to\xE1n c\u1EE7a kh\xE1ch h\xE0ng",customer_shipping_address:"\u0110\u1ECBa ch\u1EC9 giao h\xE0ng c\u1EE7a kh\xE1ch h\xE0ng",company_address:"\u0111\u1ECBa ch\u1EC9 c\xF4ng ty",insert_fields:"Ch\xE8n tr\u01B0\u1EDDng",contact:"Li\xEAn h\u1EC7",address:"\u0110\u1ECBa ch\u1EC9",display_name:"T\xEAn hi\u1EC3n th\u1ECB",primary_contact_name:"T\xEAn li\xEAn h\u1EC7 ch\xEDnh",email:"E-mail",website:"Website",name:"T\xEAn",country:"Qu\u1ED1c gia",state:"Ti\u1EC3u bang",city:"Tp.",company_name:"T\xEAn c\xF4ng ty",address_street_1:"\u0110\u1ECBa ch\u1EC9 \u0110\u01B0\u1EDDng 1",address_street_2:"\u0110\u1ECBa ch\u1EC9 \u0110\u01B0\u1EDDng 2",phone:"\u0110i\u1EC7n tho\u1EA1i",zip_code:"M\xE3 B\u01B0u Ch\xEDnh",address_setting_updated:"\u0110\xE3 c\u1EADp nh\u1EADt c\xE0i \u0111\u1EB7t \u0111\u1ECBa ch\u1EC9 th\xE0nh c\xF4ng"},updated_message:"Th\xF4ng tin c\xF4ng ty \u0111\u01B0\u1EE3c c\u1EADp nh\u1EADt th\xE0nh c\xF4ng",invoices:{title:"H\xF3a \u0111\u01A1n",notes:"Ghi ch\xFA",invoice_prefix:"Ti\u1EC1n t\u1ED1 h\xF3a \u0111\u01A1n",default_invoice_email_body:"N\u1ED9i dung email h\xF3a \u0111\u01A1n m\u1EB7c \u0111\u1ECBnh",invoice_settings:"C\xE0i \u0111\u1EB7t h\xF3a \u0111\u01A1n",autogenerate_invoice_number:"T\u1EF1 \u0111\u1ED9ng t\u1EA1o s\u1ED1 h\xF3a \u0111\u01A1n",autogenerate_invoice_number_desc:"T\u1EAFt t\xEDnh n\u0103ng n\xE0y, N\u1EBFu b\u1EA1n kh\xF4ng mu\u1ED1n t\u1EF1 \u0111\u1ED9ng t\u1EA1o s\u1ED1 h\xF3a \u0111\u01A1n m\u1ED7i khi b\u1EA1n t\u1EA1o h\xF3a \u0111\u01A1n m\u1EDBi.",invoice_email_attachment:"G\u1EEDi h\xF3a \u0111\u01A1n d\u01B0\u1EDBi d\u1EA1ng t\u1EC7p \u0111\xEDnh k\xE8m",invoice_email_attachment_setting_description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y n\u1EBFu b\u1EA1n mu\u1ED1n g\u1EEDi h\xF3a \u0111\u01A1n d\u01B0\u1EDBi d\u1EA1ng t\u1EC7p \u0111\xEDnh k\xE8m email. Xin l\u01B0u \xFD r\u1EB1ng n\xFAt 'Xem H\xF3a \u0111\u01A1n' trong email s\u1EBD kh\xF4ng \u0111\u01B0\u1EE3c hi\u1EC3n th\u1ECB n\u1EEFa khi \u0111\u01B0\u1EE3c b\u1EADt.",enter_invoice_prefix:"Nh\u1EADp ti\u1EC1n t\u1ED1 h\xF3a \u0111\u01A1n",terms_and_conditions:"C\xE1c \u0111i\u1EC1u kho\u1EA3n v\xE0 \u0111i\u1EC1u ki\u1EC7n",company_address_format:"\u0110\u1ECBnh d\u1EA1ng \u0111\u1ECBa ch\u1EC9 c\xF4ng ty",shipping_address_format:"\u0110\u1ECBnh d\u1EA1ng \u0111\u1ECBa ch\u1EC9 giao h\xE0ng",billing_address_format:"\u0110\u1ECBnh d\u1EA1ng \u0111\u1ECBa ch\u1EC9 thanh to\xE1n",invoice_settings_updated:"\u0110\xE3 c\u1EADp nh\u1EADt c\xE0i \u0111\u1EB7t h\xF3a \u0111\u01A1n th\xE0nh c\xF4ng"},estimates:{title:"\u01AF\u1EDBc t\xEDnh",estimate_prefix:"Ti\u1EC1n t\u1ED1 \u01B0\u1EDBc t\xEDnh",default_estimate_email_body:"N\u1ED9i dung Email \u01AF\u1EDBc t\xEDnh M\u1EB7c \u0111\u1ECBnh",estimate_settings:"C\xE0i \u0111\u1EB7t \u01B0\u1EDBc t\xEDnh",autogenerate_estimate_number:"T\u1EF1 \u0111\u1ED9ng t\u1EA1o s\u1ED1 \u01B0\u1EDBc t\xEDnh",estimate_setting_description:"T\u1EAFt t\xEDnh n\u0103ng n\xE0y, n\u1EBFu b\u1EA1n kh\xF4ng mu\u1ED1n t\u1EF1 \u0111\u1ED9ng t\u1EA1o s\u1ED1 \u01B0\u1EDBc t\xEDnh m\u1ED7i khi b\u1EA1n t\u1EA1o \u01B0\u1EDBc t\xEDnh m\u1EDBi.",estimate_email_attachment:"G\u1EEDi \u01B0\u1EDBc t\xEDnh d\u01B0\u1EDBi d\u1EA1ng t\u1EC7p \u0111\xEDnh k\xE8m",estimate_email_attachment_setting_description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y n\u1EBFu b\u1EA1n mu\u1ED1n g\u1EEDi \u01B0\u1EDBc t\xEDnh d\u01B0\u1EDBi d\u1EA1ng t\u1EC7p \u0111\xEDnh k\xE8m email. Xin l\u01B0u \xFD r\u1EB1ng n\xFAt 'Xem \u01AF\u1EDBc t\xEDnh' trong email s\u1EBD kh\xF4ng \u0111\u01B0\u1EE3c hi\u1EC3n th\u1ECB n\u1EEFa khi \u0111\u01B0\u1EE3c b\u1EADt.",enter_estimate_prefix:"Nh\u1EADp ti\u1EC1n t\u1ED1 estmiate",estimate_setting_updated:"\u0110\xE3 c\u1EADp nh\u1EADt c\xE0i \u0111\u1EB7t \u01B0\u1EDBc t\xEDnh th\xE0nh c\xF4ng",company_address_format:"\u0110\u1ECBnh d\u1EA1ng \u0111\u1ECBa ch\u1EC9 c\xF4ng ty",billing_address_format:"\u0110\u1ECBnh d\u1EA1ng \u0111\u1ECBa ch\u1EC9 thanh to\xE1n",shipping_address_format:"\u0110\u1ECBnh d\u1EA1ng \u0111\u1ECBa ch\u1EC9 giao h\xE0ng"},payments:{title:"Thanh to\xE1n",description:"C\xE1c ph\u01B0\u01A1ng th\u1EE9c giao d\u1ECBch thanh to\xE1n",payment_prefix:"Ti\u1EC1n t\u1ED1 thanh to\xE1n",default_payment_email_body:"N\u1ED9i dung Email Thanh to\xE1n M\u1EB7c \u0111\u1ECBnh",payment_settings:"C\xE0i \u0111\u1EB7t thanh to\xE1n",autogenerate_payment_number:"T\u1EF1 \u0111\u1ED9ng t\u1EA1o s\u1ED1 thanh to\xE1n",payment_setting_description:"T\u1EAFt t\xEDnh n\u0103ng n\xE0y, n\u1EBFu b\u1EA1n kh\xF4ng mu\u1ED1n t\u1EF1 \u0111\u1ED9ng t\u1EA1o s\u1ED1 thanh to\xE1n m\u1ED7i khi b\u1EA1n t\u1EA1o m\u1ED9t kho\u1EA3n thanh to\xE1n m\u1EDBi.",payment_email_attachment:"G\u1EEDi thanh to\xE1n d\u01B0\u1EDBi d\u1EA1ng t\u1EC7p \u0111\xEDnh k\xE8m",payment_email_attachment_setting_description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y n\u1EBFu b\u1EA1n mu\u1ED1n g\u1EEDi bi\xEAn nh\u1EADn thanh to\xE1n d\u01B0\u1EDBi d\u1EA1ng t\u1EC7p \u0111\xEDnh k\xE8m email. Xin l\u01B0u \xFD r\u1EB1ng n\xFAt 'Xem Thanh to\xE1n' trong email s\u1EBD kh\xF4ng \u0111\u01B0\u1EE3c hi\u1EC3n th\u1ECB n\u1EEFa khi \u0111\u01B0\u1EE3c b\u1EADt.",enter_payment_prefix:"Nh\u1EADp ti\u1EC1n t\u1ED1 thanh to\xE1n",payment_setting_updated:"\u0110\xE3 c\u1EADp nh\u1EADt c\xE0i \u0111\u1EB7t thanh to\xE1n th\xE0nh c\xF4ng",payment_modes:"Ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n",add_payment_mode:"Th\xEAm ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n",edit_payment_mode:"Ch\u1EC9nh s\u1EEDa Ph\u01B0\u01A1ng th\u1EE9c Thanh to\xE1n",mode_name:"T\xEAn ch\u1EBF \u0111\u1ED9",payment_mode_added:"Ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n \u0111\xE3 \u0111\u01B0\u1EE3c th\xEAm",payment_mode_updated:"\u0110\xE3 c\u1EADp nh\u1EADt ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n",payment_mode_confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c Ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n n\xE0y",already_in_use:"Ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng",deleted_message:"Ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a th\xE0nh c\xF4ng",company_address_format:"\u0110\u1ECBnh d\u1EA1ng \u0111\u1ECBa ch\u1EC9 c\xF4ng ty",from_customer_address_format:"T\u1EEB \u0111\u1ECBnh d\u1EA1ng \u0111\u1ECBa ch\u1EC9 kh\xE1ch h\xE0ng"},items:{title:"M\u1EB7t h\xE0ng",units:"C\xE1c \u0111\u01A1n v\u1ECB",add_item_unit:"Th\xEAm \u0111\u01A1n v\u1ECB m\u1EB7t h\xE0ng",edit_item_unit:"Ch\u1EC9nh s\u1EEDa \u0111\u01A1n v\u1ECB m\u1EB7t h\xE0ng",unit_name:"T\xEAn b\xE0i",item_unit_added:"\u0110\u01A1n v\u1ECB m\u1EB7t h\xE0ng \u0111\xE3 \u0111\u01B0\u1EE3c th\xEAm",item_unit_updated:"\u0110\xE3 c\u1EADp nh\u1EADt \u0111\u01A1n v\u1ECB m\u1EB7t h\xE0ng",item_unit_confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c \u0111\u01A1n v\u1ECB M\u1EB7t h\xE0ng n\xE0y",already_in_use:"\u0110\u01A1n v\u1ECB v\u1EADt ph\u1EA9m \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng",deleted_message:"\u0110\u01A1n v\u1ECB m\u1EB7t h\xE0ng \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a th\xE0nh c\xF4ng"},notes:{title:"Ghi ch\xFA",description:"Ti\u1EBFt ki\u1EC7m th\u1EDDi gian b\u1EB1ng c\xE1ch t\u1EA1o ghi ch\xFA v\xE0 s\u1EED d\u1EE5ng l\u1EA1i ch\xFAng tr\xEAn h\xF3a \u0111\u01A1n, \u01B0\u1EDBc t\xEDnh c\u1EE7a b\u1EA1n",notes:"Ghi ch\xFA",type:"Ki\u1EC3u",add_note:"Th\xEAm ghi ch\xFA",add_new_note:"Th\xEAm ghi ch\xFA m\u1EDBi",name:"T\xEAn",edit_note:"Ch\u1EC9nh s\u1EEDa ghi ch\xFA",note_added:"\u0110\xE3 th\xEAm ghi ch\xFA th\xE0nh c\xF4ng",note_updated:"\u0110\xE3 c\u1EADp nh\u1EADt ghi ch\xFA th\xE0nh c\xF4ng",note_confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c Ghi ch\xFA n\xE0y",already_in_use:"Ghi ch\xFA \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng",deleted_message:"\u0110\xE3 x\xF3a ghi ch\xFA th\xE0nh c\xF4ng"}},account_settings:{profile_picture:"\u1EA2nh \u0111\u1EA1i di\u1EC7n",name:"T\xEAn",email:"E-mail",password:"M\u1EADt kh\u1EA9u",confirm_password:"X\xE1c nh\u1EADn m\u1EADt kh\u1EA9u",account_settings:"C\xE0i \u0111\u1EB7t t\xE0i kho\u1EA3n",save:"L\u01B0u",section_description:"B\u1EA1n c\xF3 th\u1EC3 c\u1EADp nh\u1EADt t\xEAn, email c\u1EE7a m\xECnh",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt c\xE0i \u0111\u1EB7t t\xE0i kho\u1EA3n th\xE0nh c\xF4ng"},user_profile:{name:"T\xEAn",email:"E-mail",password:"M\u1EADt kh\u1EA9u",confirm_password:"X\xE1c nh\u1EADn m\u1EADt kh\u1EA9u"},notification:{title:"Th\xF4ng b\xE1o",email:"G\u1EEDi th\xF4ng b\xE1o t\u1EDBi",description:"B\u1EA1n mu\u1ED1n nh\u1EADn th\xF4ng b\xE1o email n\xE0o khi c\xF3 \u0111i\u1EC1u g\xEC \u0111\xF3 thay \u0111\u1ED5i?",invoice_viewed:"H\xF3a \u0111\u01A1n \u0111\xE3 xem",invoice_viewed_desc:"Khi kh\xE1ch h\xE0ng c\u1EE7a b\u1EA1n xem h\xF3a \u0111\u01A1n \u0111\u01B0\u1EE3c g\u1EEDi qua b\u1EA3ng \u0111i\u1EC1u khi\u1EC3n mi\u1EC7ng n\xFAi l\u1EEDa.",estimate_viewed:"\u01AF\u1EDBc t\xEDnh \u0111\xE3 xem",estimate_viewed_desc:"Khi kh\xE1ch h\xE0ng c\u1EE7a b\u1EA1n xem \u01B0\u1EDBc t\xEDnh \u0111\u01B0\u1EE3c g\u1EEDi qua b\u1EA3ng \u0111i\u1EC1u khi\u1EC3n mi\u1EC7ng n\xFAi l\u1EEDa.",save:"L\u01B0u",email_save_message:"Email \u0111\xE3 \u0111\u01B0\u1EE3c l\u01B0u th\xE0nh c\xF4ng",please_enter_email:"Vui l\xF2ng nh\u1EADp Email"},tax_types:{title:"C\xE1c lo\u1EA1i thu\u1EBF",add_tax:"Th\xEAm thu\u1EBF",edit_tax:"Ch\u1EC9nh s\u1EEDa thu\u1EBF",description:"B\u1EA1n c\xF3 th\u1EC3 th\xEAm ho\u1EB7c b\u1EDBt thu\u1EBF t\xF9y \xFD. Crater h\u1ED7 tr\u1EE3 Thu\u1EBF \u0111\u1ED1i v\u1EDBi c\xE1c m\u1EB7t h\xE0ng ri\xEAng l\u1EBB c\u0169ng nh\u01B0 tr\xEAn h\xF3a \u0111\u01A1n.",add_new_tax:"Th\xEAm thu\u1EBF m\u1EDBi",tax_settings:"C\xE0i \u0111\u1EB7t thu\u1EBF",tax_per_item:"Thu\u1EBF m\u1ED7i m\u1EB7t h\xE0ng",tax_name:"T\xEAn thu\u1EBF",compound_tax:"Thu\u1EBF t\u1ED5ng h\u1EE3p",percent:"Ph\u1EA7n tr\u0103m",action:"Ho\u1EA1t \u0111\u1ED9ng",tax_setting_description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y n\u1EBFu b\u1EA1n mu\u1ED1n th\xEAm thu\u1EBF v\xE0o c\xE1c m\u1EE5c h\xF3a \u0111\u01A1n ri\xEAng l\u1EBB. Theo m\u1EB7c \u0111\u1ECBnh, thu\u1EBF \u0111\u01B0\u1EE3c th\xEAm tr\u1EF1c ti\u1EBFp v\xE0o h\xF3a \u0111\u01A1n.",created_message:"Lo\u1EA1i thu\u1EBF \u0111\xE3 \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt th\xE0nh c\xF4ng lo\u1EA1i thu\u1EBF",deleted_message:"\u0110\xE3 x\xF3a th\xE0nh c\xF4ng lo\u1EA1i thu\u1EBF",confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c Lo\u1EA1i thu\u1EBF n\xE0y",already_in_use:"Thu\u1EBF \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng"},expense_category:{title:"H\u1EA1ng m\u1EE5c Chi ph\xED",action:"Ho\u1EA1t \u0111\u1ED9ng",description:"C\xE1c danh m\u1EE5c \u0111\u01B0\u1EE3c y\xEAu c\u1EA7u \u0111\u1EC3 th\xEAm c\xE1c m\u1EE5c chi ph\xED. B\u1EA1n c\xF3 th\u1EC3 Th\xEAm ho\u1EB7c X\xF3a c\xE1c danh m\u1EE5c n\xE0y t\xF9y theo s\u1EDF th\xEDch c\u1EE7a m\xECnh.",add_new_category:"Th\xEAm danh m\u1EE5c m\u1EDBi",add_category:"th\xEAm th\xEA\u0309 loa\u0323i",edit_category:"Ch\u1EC9nh s\u1EEDa danh m\u1EE5c",category_name:"t\xEAn danh m\u1EE5c",category_description:"Mi\xEAu t\u1EA3",created_message:"Danh m\u1EE5c Chi ph\xED \u0111\xE3 \u0111\u01B0\u1EE3c t\u1EA1o th\xE0nh c\xF4ng",deleted_message:"\u0110\xE3 x\xF3a th\xE0nh c\xF4ng danh m\u1EE5c chi ph\xED",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt danh m\u1EE5c chi ph\xED th\xE0nh c\xF4ng",confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c Danh m\u1EE5c Chi ph\xED n\xE0y",already_in_use:"Danh m\u1EE5c \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng"},preferences:{currency:"Ti\u1EC1n t\u1EC7",default_language:"Ng\xF4n ng\u1EEF m\u1EB7c \u0111\u1ECBnh",time_zone:"M\xFAi gi\u1EDD",fiscal_year:"N\u0103m t\xE0i ch\xEDnh",date_format:"\u0110\u1ECBnh d\u1EA1ng ng\xE0y th\xE1ng",discount_setting:"C\xE0i \u0111\u1EB7t chi\u1EBFt kh\u1EA5u",discount_per_item:"Gi\u1EA3m gi\xE1 cho m\u1ED7i m\u1EB7t h\xE0ng",discount_setting_description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y n\u1EBFu b\u1EA1n mu\u1ED1n th\xEAm Gi\u1EA3m gi\xE1 v\xE0o c\xE1c m\u1EB7t h\xE0ng h\xF3a \u0111\u01A1n ri\xEAng l\u1EBB. Theo m\u1EB7c \u0111\u1ECBnh, Gi\u1EA3m gi\xE1 \u0111\u01B0\u1EE3c th\xEAm tr\u1EF1c ti\u1EBFp v\xE0o h\xF3a \u0111\u01A1n.",save:"L\u01B0u",preference:"S\u1EDF th\xEDch | S\u1EDF th\xEDch",general_settings:"T\xF9y ch\u1ECDn m\u1EB7c \u0111\u1ECBnh cho h\u1EC7 th\u1ED1ng.",updated_message:"\u0110\xE3 c\u1EADp nh\u1EADt th\xE0nh c\xF4ng c\xE1c t\xF9y ch\u1ECDn",select_language:"Ch\u1ECDn ng\xF4n ng\u1EEF",select_time_zone:"Ch\u1ECDn m\xFAi gi\u1EDD",select_date_format:"Ch\u1ECDn \u0111\u1ECBnh d\u1EA1ng ng\xE0y",select_financial_year:"Ch\u1ECDn n\u0103m t\xE0i ch\xEDnh"},update_app:{title:"C\u1EADp nh\u1EADt \u1EE9ng d\u1EE5ng",description:"B\u1EA1n c\xF3 th\u1EC3 d\u1EC5 d\xE0ng c\u1EADp nh\u1EADt Crater b\u1EB1ng c\xE1ch ki\u1EC3m tra b\u1EA3n c\u1EADp nh\u1EADt m\u1EDBi b\u1EB1ng c\xE1ch nh\u1EA5p v\xE0o n\xFAt b\xEAn d\u01B0\u1EDBi",check_update:"Ki\u1EC3m tra c\u1EADp nh\u1EADt",avail_update:"C\u1EADp nh\u1EADt m\u1EDBi c\xF3 s\u1EB5n",next_version:"Phi\xEAn b\u1EA3n ti\u1EBFp theo",requirements:"Y\xEAu c\u1EA7u",update:"C\u1EADp nh\u1EADt b\xE2y gi\u1EDD",update_progress:"\u0110ang c\u1EADp nh\u1EADt ...",progress_text:"N\xF3 s\u1EBD ch\u1EC9 m\u1EA5t m\u1ED9t v\xE0i ph\xFAt. Vui l\xF2ng kh\xF4ng l\xE0m m\u1EDBi m\xE0n h\xECnh ho\u1EB7c \u0111\xF3ng c\u1EEDa s\u1ED5 tr\u01B0\u1EDBc khi c\u1EADp nh\u1EADt k\u1EBFt th\xFAc",update_success:"\u1EE8ng d\u1EE5ng \u0111\xE3 \u0111\u01B0\u1EE3c c\u1EADp nh\u1EADt! Vui l\xF2ng \u0111\u1EE3i trong khi c\u1EEDa s\u1ED5 tr\xECnh duy\u1EC7t c\u1EE7a b\u1EA1n \u0111\u01B0\u1EE3c t\u1EA3i l\u1EA1i t\u1EF1 \u0111\u1ED9ng.",latest_message:"Kh\xF4ng c\xF3 b\u1EA3n c\u1EADp nh\u1EADt n\xE0o! B\u1EA1n \u0111ang s\u1EED d\u1EE5ng phi\xEAn b\u1EA3n m\u1EDBi nh\u1EA5t.",current_version:"Phi\xEAn b\u1EA3n hi\u1EC7n t\u1EA1i",download_zip_file:"T\u1EA3i xu\u1ED1ng t\u1EC7p ZIP",unzipping_package:"G\xF3i gi\u1EA3i n\xE9n",copying_files:"Sao ch\xE9p c\xE1c t\u1EADp tin",deleting_files:"X\xF3a c\xE1c t\u1EC7p kh\xF4ng s\u1EED d\u1EE5ng",running_migrations:"Ch\u1EA1y di c\u01B0",finishing_update:"C\u1EADp nh\u1EADt k\u1EBFt th\xFAc",update_failed:"C\u1EADp nh\u1EADt kh\xF4ng th\xE0nh c\xF4ng",update_failed_text:"L\u1EA5y l\xE0m ti\u1EBFc! C\u1EADp nh\u1EADt c\u1EE7a b\u1EA1n kh\xF4ng th\xE0nh c\xF4ng v\xE0o: b\u01B0\u1EDBc {step}"},backup:{title:"Sao l\u01B0u | Sao l\u01B0u",description:"B\u1EA3n sao l\u01B0u l\xE0 m\u1ED9t t\u1EC7p zip ch\u1EE9a t\u1EA5t c\u1EA3 c\xE1c t\u1EC7p trong th\u01B0 m\u1EE5c b\u1EA1n ch\u1EC9 \u0111\u1ECBnh c\xF9ng v\u1EDBi m\u1ED9t k\u1EBFt xu\u1EA5t c\u01A1 s\u1EDF d\u1EEF li\u1EC7u c\u1EE7a b\u1EA1n",new_backup:"Th\xEAm b\u1EA3n sao l\u01B0u m\u1EDBi",create_backup:"T\u1EA1o b\u1EA3n sao",select_backup_type:"Ch\u1ECDn lo\u1EA1i sao l\u01B0u",backup_confirm_delete:"B\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 kh\xF4i ph\u1EE5c B\u1EA3n sao l\u01B0u n\xE0y",path:"con \u0111\u01B0\u1EDDng",new_disk:"\u0110\u0129a m\u1EDBi",created_at:"\u0111\u01B0\u1EE3c t\u1EA1o ra t\u1EA1i",size:"k\xEDch th\u01B0\u1EDBc",dropbox:"dropbox",local:"\u0111\u1ECBa ph\u01B0\u01A1ng",healthy:"kh\u1ECFe m\u1EA1nh",amount_of_backups:"l\u01B0\u1EE3ng sao l\u01B0u",newest_backups:"b\u1EA3n sao l\u01B0u m\u1EDBi nh\u1EA5t",used_storage:"l\u01B0u tr\u1EEF \u0111\xE3 s\u1EED d\u1EE5ng",select_disk:"Ch\u1ECDn \u0111\u0129a",action:"Ho\u1EA1t \u0111\u1ED9ng",deleted_message:"\u0110\xE3 x\xF3a b\u1EA3n sao l\u01B0u th\xE0nh c\xF4ng",created_message:"\u0110\xE3 t\u1EA1o th\xE0nh c\xF4ng b\u1EA3n sao l\u01B0u",invalid_disk_credentials:"Th\xF4ng tin \u0111\u0103ng nh\u1EADp kh\xF4ng h\u1EE3p l\u1EC7 c\u1EE7a \u0111\u0129a \u0111\xE3 ch\u1ECDn"},disk:{title:"\u0110\u0129a t\u1EADp tin | \u0110\u0129a T\u1EC7p",description:"Theo m\u1EB7c \u0111\u1ECBnh, Crater s\u1EBD s\u1EED d\u1EE5ng \u0111\u0129a c\u1EE5c b\u1ED9 c\u1EE7a b\u1EA1n \u0111\u1EC3 l\u01B0u c\xE1c b\u1EA3n sao l\u01B0u, \u1EA3nh \u0111\u1EA1i di\u1EC7n v\xE0 c\xE1c t\u1EC7p h\xECnh \u1EA3nh kh\xE1c. B\u1EA1n c\xF3 th\u1EC3 \u0111\u1ECBnh c\u1EA5u h\xECnh nhi\u1EC1u h\u01A1n m\u1ED9t tr\xECnh \u0111i\u1EC1u khi\u1EC3n \u0111\u0129a nh\u01B0 DigitalOcean, S3 v\xE0 Dropbox theo s\u1EDF th\xEDch c\u1EE7a m\xECnh.",created_at:"\u0111\u01B0\u1EE3c t\u1EA1o ra t\u1EA1i",dropbox:"dropbox",name:"T\xEAn",driver:"Ng\u01B0\u1EDDi l\xE1i xe",disk_type:"Ki\u1EC3u",disk_name:"T\xEAn \u0111\u0129a",new_disk:"Th\xEAm \u0111\u0129a m\u1EDBi",filesystem_driver:"Tr\xECnh \u0111i\u1EC1u khi\u1EC3n h\u1EC7 th\u1ED1ng t\u1EADp tin",local_driver:"Tr\xECnh \u0111i\u1EC1u khi\u1EC3n \u0111\u1ECBa ph\u01B0\u01A1ng",local_root:"G\u1ED1c c\u1EE5c b\u1ED9",public_driver:"T\xE0i x\u1EBF c\xF4ng c\u1ED9ng",public_root:"G\u1ED1c c\xF4ng khai",public_url:"URL c\xF4ng khai",public_visibility:"Hi\u1EC3n th\u1ECB c\xF4ng khai",media_driver:"Tr\xECnh \u0111i\u1EC1u khi\u1EC3n ph\u01B0\u01A1ng ti\u1EC7n",media_root:"G\u1ED1c ph\u01B0\u01A1ng ti\u1EC7n",aws_driver:"Tr\xECnh \u0111i\u1EC1u khi\u1EC3n AWS",aws_key:"Kh\xF3a AWS",aws_secret:"Kh\xF3a AWS",aws_region:"Khu v\u1EF1c AWS",aws_bucket:"Nh\xF3m AWS",aws_root:"G\u1ED1c AWS",do_spaces_type:"L\xE0m ki\u1EC3u Spaces",do_spaces_key:"Do ph\xEDm Spaces",do_spaces_secret:"L\xE0m b\xED m\u1EADt v\u1EC1 kh\xF4ng gian",do_spaces_region:"Do Spaces Region",do_spaces_bucket:"Do Spaces Bucket",do_spaces_endpoint:"Do Spaces Endpoint",do_spaces_root:"Do Spaces Root",dropbox_type:"Lo\u1EA1i h\u1ED9p ch\u1EE9a",dropbox_token:"M\xE3 th\xF4ng b\xE1o Dropbox",dropbox_key:"Kh\xF3a Dropbox",dropbox_secret:"Kh\xF3a Dropbox",dropbox_app:"\u1EE8ng d\u1EE5ng Dropbox",dropbox_root:"G\u1ED1c Dropbox",default_driver:"Tr\xECnh \u0111i\u1EC1u khi\u1EC3n m\u1EB7c \u0111\u1ECBnh",is_default:"L\xC0 \u0110\u1ECANH NGH\u0128A",set_default_disk:"\u0110\u1EB7t \u0111\u0129a m\u1EB7c \u0111\u1ECBnh",set_default_disk_confirm:"\u0110\u0129a n\xE0y s\u1EBD \u0111\u01B0\u1EE3c \u0111\u1EB7t l\xE0m m\u1EB7c \u0111\u1ECBnh v\xE0 t\u1EA5t c\u1EA3 c\xE1c t\u1EC7p PDF m\u1EDBi s\u1EBD \u0111\u01B0\u1EE3c l\u01B0u tr\xEAn \u0111\u0129a n\xE0y",success_set_default_disk:"\u0110\u0129a \u0111\u01B0\u1EE3c \u0111\u1EB7t l\xE0m m\u1EB7c \u0111\u1ECBnh th\xE0nh c\xF4ng",save_pdf_to_disk:"L\u01B0u PDF v\xE0o \u0111\u0129a",disk_setting_description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y, n\u1EBFu b\u1EA1n mu\u1ED1n l\u01B0u m\u1ED9t b\u1EA3n sao c\u1EE7a m\u1ED7i H\xF3a \u0111\u01A1n, \u01AF\u1EDBc t\xEDnh",select_disk:"Ch\u1ECDn \u0111\u0129a",disk_settings:"C\xE0i \u0111\u1EB7t \u0111\u0129a",confirm_delete:"T\u1EC7p hi\u1EC7n c\xF3 c\u1EE7a b\u1EA1n",action:"Ho\u1EA1t \u0111\u1ED9ng",edit_file_disk:"Ch\u1EC9nh s\u1EEDa \u0110\u0129a T\u1EC7p",success_create:"\u0110\xE3 th\xEAm \u0111\u0129a th\xE0nh c\xF4ng",success_update:"\u0110\xE3 c\u1EADp nh\u1EADt \u0111\u0129a th\xE0nh c\xF4ng",error:"Th\xEAm \u0111\u0129a kh\xF4ng th\xE0nh c\xF4ng",deleted_message:"\u0110\u0129a T\u1EC7p \u0111\xE3 \u0111\u01B0\u1EE3c x\xF3a th\xE0nh c\xF4ng",disk_variables_save_successfully:"\u0110\xE3 c\u1EA5u h\xECnh \u0111\u0129a th\xE0nh c\xF4ng",disk_variables_save_error:"C\u1EA5u h\xECnh \u0111\u0129a kh\xF4ng th\xE0nh c\xF4ng.",invalid_disk_credentials:"Th\xF4ng tin \u0111\u0103ng nh\u1EADp kh\xF4ng h\u1EE3p l\u1EC7 c\u1EE7a \u0111\u0129a \u0111\xE3 ch\u1ECDn"}},Vv={account_info:"th\xF4ng tin t\xE0i kho\u1EA3n",account_info_desc:"Th\xF4ng tin chi ti\u1EBFt d\u01B0\u1EDBi \u0111\xE2y s\u1EBD \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng \u0111\u1EC3 t\u1EA1o t\xE0i kho\u1EA3n Qu\u1EA3n tr\u1ECB vi\xEAn ch\xEDnh. Ngo\xE0i ra, b\u1EA1n c\xF3 th\u1EC3 thay \u0111\u1ED5i th\xF4ng tin chi ti\u1EBFt b\u1EA5t c\u1EE9 l\xFAc n\xE0o sau khi \u0111\u0103ng nh\u1EADp.",name:"T\xEAn",email:"E-mail",password:"M\u1EADt kh\u1EA9u",confirm_password:"X\xE1c nh\u1EADn m\u1EADt kh\u1EA9u",save_cont:"L\u01B0u",company_info:"Th\xF4ng tin c\xF4ng ty",company_info_desc:"Th\xF4ng tin n\xE0y s\u1EBD \u0111\u01B0\u1EE3c hi\u1EC3n th\u1ECB tr\xEAn h\xF3a \u0111\u01A1n. L\u01B0u \xFD r\u1EB1ng b\u1EA1n c\xF3 th\u1EC3 ch\u1EC9nh s\u1EEDa \u0111i\u1EC1u n\xE0y sau tr\xEAn trang c\xE0i \u0111\u1EB7t.",company_name:"T\xEAn c\xF4ng ty",company_logo:"Logo c\xF4ng ty",logo_preview:"Xem tr\u01B0\u1EDBc Logo",preferences:"S\u1EDF th\xEDch",preferences_desc:"T\xF9y ch\u1ECDn m\u1EB7c \u0111\u1ECBnh cho h\u1EC7 th\u1ED1ng.",country:"Qu\u1ED1c gia",state:"Ti\u1EC3u bang",city:"Tp.",address:"\u0110\u1ECBa ch\u1EC9",street:"Ph\u1ED11 | Street2",phone:"\u0110i\u1EC7n tho\u1EA1i",zip_code:"M\xE3 B\u01B0u Ch\xEDnh",go_back:"Quay l\u1EA1i",currency:"Ti\u1EC1n t\u1EC7",language:"Ng\xF4n ng\u1EEF",time_zone:"M\xFAi gi\u1EDD",fiscal_year:"N\u0103m t\xE0i ch\xEDnh",date_format:"\u0110\u1ECBnh d\u1EA1ng ng\xE0y th\xE1ng",from_address:"T\u1EEB \u0111\u1ECBa ch\u1EC9",username:"t\xEAn t\xE0i kho\u1EA3n",next:"K\u1EBF ti\u1EBFp",continue:"Ti\u1EBFp t\u1EE5c",skip:"Nh\u1EA3y",database:{database:"URL trang web",connection:"K\u1EBFt n\u1ED1i c\u01A1 s\u1EDF d\u1EEF li\u1EC7u",host:"M\xE1y ch\u1EE7 c\u01A1 s\u1EDF d\u1EEF li\u1EC7u",port:"C\u1ED5ng c\u01A1 s\u1EDF d\u1EEF li\u1EC7u",password:"M\u1EADt kh\u1EA9u c\u01A1 s\u1EDF d\u1EEF li\u1EC7u",app_url:"URL \u1EE9ng d\u1EE5ng",app_domain:"Mi\u1EC1n \u1EE9ng d\u1EE5ng",username:"T\xEAn ng\u01B0\u1EDDi d\xF9ng c\u01A1 s\u1EDF d\u1EEF li\u1EC7u",db_name:"T\xEAn c\u01A1 s\u1EDF d\u1EEF li\u1EC7u",db_path:"\u0110\u01B0\u1EDDng d\u1EABn c\u01A1 s\u1EDF d\u1EEF li\u1EC7u",desc:"T\u1EA1o c\u01A1 s\u1EDF d\u1EEF li\u1EC7u tr\xEAn m\xE1y ch\u1EE7 c\u1EE7a b\u1EA1n v\xE0 \u0111\u1EB7t th\xF4ng tin \u0111\u0103ng nh\u1EADp b\u1EB1ng bi\u1EC3u m\u1EABu b\xEAn d\u01B0\u1EDBi."},permissions:{permissions:"Quy\u1EC1n",permission_confirm_title:"B\u1EA1n c\xF3 ch\u1EAFc ch\u1EAFn mu\u1ED1n ti\u1EBFp t\u1EE5c kh\xF4ng?",permission_confirm_desc:"Ki\u1EC3m tra quy\u1EC1n th\u01B0 m\u1EE5c kh\xF4ng th\xE0nh c\xF4ng",permission_desc:"D\u01B0\u1EDBi \u0111\xE2y l\xE0 danh s\xE1ch c\xE1c quy\u1EC1n \u0111\u1ED1i v\u1EDBi th\u01B0 m\u1EE5c \u0111\u01B0\u1EE3c y\xEAu c\u1EA7u \u0111\u1EC3 \u1EE9ng d\u1EE5ng ho\u1EA1t \u0111\u1ED9ng. N\u1EBFu ki\u1EC3m tra quy\u1EC1n kh\xF4ng th\xE0nh c\xF4ng, h\xE3y \u0111\u1EA3m b\u1EA3o c\u1EADp nh\u1EADt quy\u1EC1n th\u01B0 m\u1EE5c c\u1EE7a b\u1EA1n."},mail:{host:"M\xE1y ch\u1EE7 Th\u01B0",port:"C\u1ED5ng th\u01B0",driver:"Tr\xECnh \u0111i\u1EC1u khi\u1EC3n Th\u01B0",secret:"Kh\xF3a",mailgun_secret:"Kh\xF3a Mailgun",mailgun_domain:"Mi\u1EC1n",mailgun_endpoint:"\u0110i\u1EC3m cu\u1ED1i c\u1EE7a Mailgun",ses_secret:"Kh\xF3a SES",ses_key:"Kh\xF3a SES",password:"M\u1EADt kh\u1EA9u th\u01B0",username:"T\xEAn ng\u01B0\u1EDDi d\xF9ng th\u01B0",mail_config:"C\u1EA5u h\xECnh th\u01B0",from_name:"T\u1EEB t\xEAn th\u01B0",from_mail:"T\u1EEB \u0111\u1ECBa ch\u1EC9 th\u01B0",encryption:"M\xE3 h\xF3a Th\u01B0",mail_config_desc:"D\u01B0\u1EDBi \u0111\xE2y l\xE0 bi\u1EC3u m\u1EABu \u0110\u1ECBnh c\u1EA5u h\xECnh tr\xECnh \u0111i\u1EC1u khi\u1EC3n Email \u0111\u1EC3 g\u1EEDi email t\u1EEB \u1EE9ng d\u1EE5ng. B\u1EA1n c\u0169ng c\xF3 th\u1EC3 \u0111\u1ECBnh c\u1EA5u h\xECnh c\xE1c nh\xE0 cung c\u1EA5p b\xEAn th\u1EE9 ba nh\u01B0 Sendgrid, SES, v.v."},req:{system_req:"y\xEAu c\u1EA7u h\u1EC7 th\u1ED1ng",php_req_version:"Php (version {version} required)",check_req:"Ki\u1EC3m tra y\xEAu c\u1EA7u",system_req_desc:"Crater c\xF3 m\u1ED9t s\u1ED1 y\xEAu c\u1EA7u m\xE1y ch\u1EE7. \u0110\u1EA3m b\u1EA3o r\u1EB1ng m\xE1y ch\u1EE7 c\u1EE7a b\u1EA1n c\xF3 phi\xEAn b\u1EA3n php b\u1EAFt bu\u1ED9c v\xE0 t\u1EA5t c\u1EA3 c\xE1c ph\u1EA7n m\u1EDF r\u1ED9ng \u0111\u01B0\u1EE3c \u0111\u1EC1 c\u1EADp b\xEAn d\u01B0\u1EDBi."},errors:{migrate_failed:"Di chuy\u1EC3n kh\xF4ng th\xE0nh c\xF4ng",database_variables_save_error:"Kh\xF4ng th\u1EC3 ghi c\u1EA5u h\xECnh v\xE0o t\u1EC7p .env. Vui l\xF2ng ki\u1EC3m tra quy\u1EC1n \u0111\u1ED1i v\u1EDBi t\u1EC7p c\u1EE7a n\xF3",mail_variables_save_error:"C\u1EA5u h\xECnh email kh\xF4ng th\xE0nh c\xF4ng.",connection_failed:"K\u1EBFt n\u1ED1i c\u01A1 s\u1EDF d\u1EEF li\u1EC7u kh\xF4ng th\xE0nh c\xF4ng",database_should_be_empty:"C\u01A1 s\u1EDF d\u1EEF li\u1EC7u ph\u1EA3i tr\u1ED1ng"},success:{mail_variables_save_successfully:"Email \u0111\u01B0\u1EE3c \u0111\u1ECBnh c\u1EA5u h\xECnh th\xE0nh c\xF4ng",database_variables_save_successfully:"\u0110\xE3 c\u1EA5u h\xECnh th\xE0nh c\xF4ng c\u01A1 s\u1EDF d\u1EEF li\u1EC7u."}},Ov={invalid_phone:"S\u1ED1 \u0111i\u1EC7n tho\u1EA1i kh\xF4ng h\u1EE3p l\u1EC7",invalid_url:"Url kh\xF4ng h\u1EE3p l\u1EC7 (v\xED d\u1EE5: http://www.craterapp.com)",invalid_domain_url:"Url kh\xF4ng h\u1EE3p l\u1EC7 (v\xED d\u1EE5: craterapp.com)",required:"L\u0129nh v\u1EF1c \u0111\u01B0\u1EE3c y\xEAu c\u1EA7u",email_incorrect:"Email kh\xF4ng ch\xEDnh x\xE1c.",email_already_taken:"L\xE1 th\u01B0 \u0111\xE3 \u0111\u01B0\u1EE3c l\u1EA5y \u0111i.",email_does_not_exist:"Ng\u01B0\u1EDDi d\xF9ng c\xF3 email \u0111\xE3 cho kh\xF4ng t\u1ED3n t\u1EA1i",item_unit_already_taken:"T\xEAn \u0111\u01A1n v\u1ECB m\u1EB7t h\xE0ng n\xE0y \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng",payment_mode_already_taken:"T\xEAn ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n n\xE0y \u0111\xE3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng",send_reset_link:"G\u1EEDi li\xEAn k\u1EBFt \u0111\u1EB7t l\u1EA1i",not_yet:"Ch\u01B0a? G\u1EEDi l\u1EA1i",password_min_length:"M\u1EADt kh\u1EA9u ph\u1EA3i ch\u1EE9a {count} k\xFD t\u1EF1",name_min_length:"T\xEAn ph\u1EA3i c\xF3 \xEDt nh\u1EA5t {count} ch\u1EEF c\xE1i.",enter_valid_tax_rate:"Nh\u1EADp thu\u1EBF su\u1EA5t h\u1EE3p l\u1EC7",numbers_only:"Ch\u1EC9 s\u1ED1.",characters_only:"Ch\u1EC9 nh\xE2n v\u1EADt.",password_incorrect:"M\u1EADt kh\u1EA9u ph\u1EA3i gi\u1ED1ng h\u1EC7t nhau",password_length:"M\u1EADt kh\u1EA9u ph\u1EA3i d\xE0i {count} k\xFD t\u1EF1.",qty_must_greater_than_zero:"S\u1ED1 l\u01B0\u1EE3ng ph\u1EA3i l\u1EDBn h\u01A1n kh\xF4ng.",price_greater_than_zero:"Gi\xE1 ph\u1EA3i l\u1EDBn h\u01A1n 0.",payment_greater_than_zero:"Kho\u1EA3n thanh to\xE1n ph\u1EA3i l\u1EDBn h\u01A1n 0.",payment_greater_than_due_amount:"Thanh to\xE1n \u0111\xE3 nh\u1EADp nhi\u1EC1u h\u01A1n s\u1ED1 ti\u1EC1n \u0111\u1EBFn h\u1EA1n c\u1EE7a h\xF3a \u0111\u01A1n n\xE0y.",quantity_maxlength:"S\u1ED1 l\u01B0\u1EE3ng kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 20 ch\u1EEF s\u1ED1.",price_maxlength:"Gi\xE1 kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 20 ch\u1EEF s\u1ED1.",price_minvalue:"Gi\xE1 ph\u1EA3i l\u1EDBn h\u01A1n 0.",amount_maxlength:"S\u1ED1 ti\u1EC1n kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 20 ch\u1EEF s\u1ED1.",amount_minvalue:"S\u1ED1 ti\u1EC1n ph\u1EA3i l\u1EDBn h\u01A1n 0.",description_maxlength:"M\xF4 t\u1EA3 kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 65.000 k\xFD t\u1EF1.",subject_maxlength:"Ch\u1EE7 \u0111\u1EC1 kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 100 k\xFD t\u1EF1.",message_maxlength:"Tin nh\u1EAFn kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 255 k\xFD t\u1EF1.",maximum_options_error:"\u0110\xE3 ch\u1ECDn t\u1ED1i \u0111a {max} t\xF9y ch\u1ECDn. \u0110\u1EA7u ti\xEAn, h\xE3y x\xF3a m\u1ED9t t\xF9y ch\u1ECDn \u0111\xE3 ch\u1ECDn \u0111\u1EC3 ch\u1ECDn m\u1ED9t t\xF9y ch\u1ECDn kh\xE1c.",notes_maxlength:"Ghi ch\xFA kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 65.000 k\xFD t\u1EF1.",address_maxlength:"\u0110\u1ECBa ch\u1EC9 kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 255 k\xFD t\u1EF1.",ref_number_maxlength:"S\u1ED1 tham chi\u1EBFu kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 255 k\xFD t\u1EF1.",prefix_maxlength:"Ti\u1EC1n t\u1ED1 kh\xF4ng \u0111\u01B0\u1EE3c l\u1EDBn h\u01A1n 5 k\xFD t\u1EF1.",something_went_wrong:"c\xF3 g\xEC \u0111\xF3 kh\xF4ng \u1ED5n"},Lv="\u01AF\u1EDBc t\xEDnh",Uv="S\u1ED1 \u01B0\u1EDBc t\xEDnh",Kv="Ng\xE0y \u01B0\u1EDBc t\xEDnh",qv="Ng\xE0y h\u1EBFt h\u1EA1n",Wv="H\xF3a \u0111\u01A1n",Zv="S\u1ED1 h\xF3a \u0111\u01A1n",Hv="Ng\xE0y l\u1EADp h\xF3a \u0111\u01A1n",Gv="Ng\xE0y \u0111\xE1o h\u1EA1n",Yv="Ghi ch\xFA",Jv="M\u1EB7t h\xE0ng",Xv="\u0110\u1ECBnh l\u01B0\u1EE3ng",Qv="Gi\xE1 b\xE1n",ey="Gi\u1EA3m gi\xE1",ty="S\u1ED1 ti\u1EC1n",ay="T\u1ED5ng ph\u1EE5",sy="To\xE0n b\u1ED9",ny="Thanh to\xE1n",iy="H\xD3A \u0110\u01A0N THANH TO\xC1N",oy="Ng\xE0y thanh to\xE1n",ry="S\u1ED1 ti\u1EC1n ph\u1EA3i tr\u1EA3",dy="Ph\u01B0\u01A1ng th\u1EE9c thanh to\xE1n",ly="S\u1ED1 ti\u1EC1n nh\u1EADn \u0111\u01B0\u1EE3c",cy="B\xC1O C\xC1O CHI PH\xCD",_y="T\u1ED4NG CHI PH\xCD",uy="L\u1EE2I NHU\u1EACN",my="B\xE1o c\xE1o kh\xE1ch h\xE0ng b\xE1n h\xE0ng",py="B\xE1o c\xE1o m\u1EB7t h\xE0ng b\xE1n h\xE0ng",gy="B\xE1o c\xE1o T\xF3m t\u1EAFt Thu\u1EBF",fy="THU NH\u1EACP = EARNINGS",hy="L\u1EE2I NHU\u1EACN R\xD2NG",vy="B\xE1o c\xE1o b\xE1n h\xE0ng: Theo kh\xE1ch h\xE0ng",yy="T\u1ED4NG DOANH S\u1ED0 B\xC1N H\xC0NG",by="B\xE1o c\xE1o b\xE1n h\xE0ng: Theo m\u1EB7t h\xE0ng",ky="B\xC1O C\xC1O THU\u1EBE",wy="T\u1ED4NG THU\u1EBE",xy="C\xE1c lo\u1EA1i thu\u1EBF",zy="Chi ph\xED",Sy="Xu\u1EA5t t\u1EEB,",Py="Chuy\u1EC3n t\u1EDBi,",jy="Nh\xE2\u0323n t\u1EEB:",Dy="Thu\u1EBF";var Cy={navigation:Sv,general:Pv,dashboard:jv,tax_types:Dv,global_search:Cv,customers:Av,items:Nv,estimates:Ev,invoices:Tv,payments:Iv,expenses:$v,login:Rv,users:Fv,reports:Mv,settings:Bv,wizard:Vv,validation:Ov,pdf_estimate_label:Lv,pdf_estimate_number:Uv,pdf_estimate_date:Kv,pdf_estimate_expire_date:qv,pdf_invoice_label:Wv,pdf_invoice_number:Zv,pdf_invoice_date:Hv,pdf_invoice_due_date:Gv,pdf_notes:Yv,pdf_items_label:Jv,pdf_quantity_label:Xv,pdf_price_label:Qv,pdf_discount_label:ey,pdf_amount_label:ty,pdf_subtotal:ay,pdf_total:sy,pdf_payment_label:ny,pdf_payment_receipt_label:iy,pdf_payment_date:oy,pdf_payment_number:ry,pdf_payment_mode:dy,pdf_payment_amount_received_label:ly,pdf_expense_report_label:cy,pdf_total_expenses_label:_y,pdf_profit_loss_label:uy,pdf_sales_customers_label:my,pdf_sales_items_label:py,pdf_tax_summery_label:gy,pdf_income_label:fy,pdf_net_profit_label:hy,pdf_customer_sales_report:vy,pdf_total_sales_label:yy,pdf_item_sales_label:by,pdf_tax_report_label:ky,pdf_total_tax_label:wy,pdf_tax_types_label:xy,pdf_expenses_label:zy,pdf_bill_to:Sy,pdf_ship_to:Py,pdf_received_from:jy,pdf_tax_label:Dy},Ay={en:Js,fr:si,es:lo,ar:pr,de:yd,ja:zl,pt_BR:Wc,it:J_,sr:am,nl:rp,ko:ug,lv:vf,sv:xh,sk:zv,vi:Cy,pl:Ac};const Ny="modulepreload",mt={},Ey="/build/",V=function(r,o){return!o||o.length===0?r():Promise.all(o.map(t=>{if(t=`${Ey}${t}`,t in mt)return;mt[t]=!0;const s=t.endsWith(".css"),a=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${t}"]${a}`))return;const e=document.createElement("link");if(e.rel=s?"stylesheet":Ny,s||(e.as="script",e.crossOrigin=""),e.href=t,document.head.appendChild(e),s)return new Promise((n,_)=>{e.addEventListener("load",n),e.addEventListener("error",_)})})).then(()=>r())},E=(i=!1)=>(i?window.pinia.defineStore:W)({id:"notification",state:()=>({active:!1,autoHide:!0,notifications:[]}),actions:{showNotification(o){this.notifications.push(H(M({},o),{id:(Math.random().toString(36)+Date.now().toString(36)).substr(2)}))},hideNotification(o){this.notifications=this.notifications.filter(t=>t.id!=o.id)}}})(),Ty=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"backup",state:()=>({backups:[],currentBackupData:{option:"full",selected_disk:null}}),actions:{fetchBackups(t){return new Promise((s,a)=>{f.get("/api/v1/backups",{params:t}).then(e=>{this.backups=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},createBackup(t){return new Promise((s,a)=>{f.post("/api/v1/backups",t).then(e=>{E().showNotification({type:"success",message:o.t("settings.backup.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},removeBackup(t){return new Promise((s,a)=>{f.delete(`/api/v1/backups/${t.disk}`,{params:t}).then(e=>{E().showNotification({type:"success",message:o.t("settings.backup.deleted_message")}),s(e)}).catch(e=>{g(e),a(e)})})}}})()},Iy=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"category",state:()=>({categories:[],currentCategory:{id:null,name:"",description:""}}),getters:{isEdit:t=>!!t.currentCategory.id},actions:{fetchCategories(t){return new Promise((s,a)=>{f.get("/api/v1/categories",{params:t}).then(e=>{this.categories=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},fetchCategory(t){return new Promise((s,a)=>{f.get(`/api/v1/categories/${t}`).then(e=>{this.currentCategory=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},addCategory(t){return new Promise((s,a)=>{window.axios.post("/api/v1/categories",t).then(e=>{this.categories.push(e.data.data),E().showNotification({type:"success",message:o.t("settings.expense_category.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},updateCategory(t){return new Promise((s,a)=>{window.axios.put(`/api/v1/categories/${t.id}`,t).then(e=>{if(e.data){let n=this.categories.findIndex(u=>u.id===e.data.data.id);this.categories[n]=t.categories,E().showNotification({type:"success",message:o.t("settings.expense_category.updated_message")})}s(e)}).catch(e=>{g(e),a(e)})})},deleteCategory(t){return new Promise(s=>{f.delete(`/api/v1/categories/${t}`).then(a=>{let e=this.categories.findIndex(_=>_.id===t);this.categories.splice(e,1),E().showNotification({type:"success",message:o.t("settings.expense_category.deleted_message")}),s(a)}).catch(a=>{g(a),console.error(a)})})}}})()},te=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"company",state:()=>({companies:[],selectedCompany:null,selectedCompanySettings:{},selectedCompanyCurrency:null}),actions:{setSelectedCompany(t){window.Ls.set("selectedCompany",t.id),this.selectedCompany=t},fetchBasicMailConfig(){return new Promise((t,s)=>{f.get("/api/v1/company/mail/config").then(a=>{t(a)}).catch(a=>{g(a),s(a)})})},updateCompany(t){return new Promise((s,a)=>{f.put("/api/v1/company",t).then(e=>{E().showNotification({type:"success",message:o.t("settings.company_info.updated_message")}),this.selectedCompany=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},updateCompanyLogo(t){return new Promise((s,a)=>{f.post("/api/v1/company/upload-logo",t).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},addNewCompany(t){return new Promise((s,a)=>{f.post("/api/v1/companies",t).then(e=>{E().showNotification({type:"success",message:o.t("company_switcher.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},fetchCompany(t){return new Promise((s,a)=>{f.get("/api/v1/current-company",t).then(e=>{Object.assign(this.companyForm,e.data.data.address),this.companyForm.name=e.data.data.name,s(e)}).catch(e=>{g(e),a(e)})})},fetchUserCompanies(){return new Promise((t,s)=>{f.get("/api/v1/companies").then(a=>{t(a)}).catch(a=>{g(a),s(a)})})},fetchCompanySettings(t){return new Promise((s,a)=>{f.get("/api/v1/company/settings",{params:{settings:t}}).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},updateCompanySettings({data:t,message:s}){return new Promise((a,e)=>{f.post("/api/v1/company/settings",t).then(n=>{Object.assign(this.selectedCompanySettings,t.settings),s&&E().showNotification({type:"success",message:o.t(s)}),a(n)}).catch(n=>{g(n),e(n)})})},deleteCompany(t){return new Promise((s,a)=>{f.post("/api/v1/companies/delete",t).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},setDefaultCurrency(t){this.defaultCurrency=t.currency}}})()};var pt={id:null,label:null,type:null,name:null,default_answer:null,is_required:!1,placeholder:null,model_type:null,order:1,options:[]},$y=i=>st({locale:"en",fallbackLocale:"en",messages:i});const{global:de}=$y;var Ce={isImageFile(i){return["image/gif","image/jpeg","image/png"].includes(i)},addClass(i,r){i.classList?i.classList.add(r):i.className+=" "+r},hasClass(i,r){return i.classList?i.classList.contains(r):new RegExp("(^| )"+r+"( |$)","gi").test(i.className)},formatMoney(i,r=0){r||(r={precision:2,thousand_separator:",",decimal_separator:".",symbol:"$"}),i=i/100;let{precision:o,decimal_separator:t,thousand_separator:s,symbol:a,swap_currency_symbol:e}=r;try{o=Math.abs(o),o=isNaN(o)?2:o;const n=i<0?"-":"";let _=parseInt(i=Math.abs(Number(i)||0).toFixed(o)).toString(),u=_.length>3?_.length%3:0,y=`${a}`,z=u?_.substr(0,u)+s:"",b=_.substr(u).replace(/(\d{3})(?=\d)/g,"$1"+s),h=o?t+Math.abs(i-_).toFixed(o).slice(2):"",x=n+z+b+h;return e?x+" "+y:y+" "+x}catch(n){console.error(n)}},mergeSettings(i,r){Object.keys(r).forEach(function(o){o in i&&(i[o]=r[o])})},checkValidUrl(i){return i.includes("http://localhost")||i.includes("http://127.0.0.1")||i.includes("https://localhost")||i.includes("https://127.0.0.1")?!0:!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(i)},checkValidDomainUrl(i){return i.includes("localhost")||i.includes("127.0.0.1")?!0:!!new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(i)},fallbackCopyTextToClipboard(i){var r=document.createElement("textarea");r.value=i,r.style.top="0",r.style.left="0",r.style.position="fixed",document.body.appendChild(r),r.focus(),r.select();try{var o=document.execCommand("copy"),t=o?"successful":"unsuccessful";console.log("Fallback: Copying text command was "+t)}catch(s){console.error("Fallback: Oops, unable to copy",s)}document.body.removeChild(r)},copyTextToClipboard(i){if(!navigator.clipboard){this.fallbackCopyTextToClipboard(i);return}navigator.clipboard.writeText(i).then(function(){return!0},function(r){return!1})},arrayDifference(i,r){return i==null?void 0:i.filter(o=>(r==null?void 0:r.indexOf(o))<0)},getBadgeStatusColor(i){switch(i){case"DRAFT":return{bgColor:"#F8EDCB",color:"#744210"};case"PAID":return{bgColor:"#D5EED0",color:"#276749"};case"UNPAID":return{bgColor:"#F8EDC",color:"#744210"};case"SENT":return{bgColor:"rgba(246, 208, 154, 0.4)",color:"#975a16"};case"REJECTED":return{bgColor:"#E1E0EA",color:"#1A1841"};case"ACCEPTED":return{bgColor:"#D5EED0",color:"#276749"};case"VIEWED":return{bgColor:"#C9E3EC",color:"#2c5282"};case"EXPIRED":return{bgColor:"#FED7D7",color:"#c53030"};case"PARTIALLY PAID":return{bgColor:"#C9E3EC",color:"#2c5282"};case"OVERDUE":return{bgColor:"#FED7D7",color:"#c53030"};case"COMPLETED":return{bgColor:"#D5EED0",color:"#276749"};case"DUE":return{bgColor:"#F8EDCB",color:"#744210"};case"YES":return{bgColor:"#D5EED0",color:"#276749"};case"NO":return{bgColor:"#FED7D7",color:"#c53030"}}},getStatusTranslation(i){switch(i){case"DRAFT":return de.t("general.draft");case"PAID":return de.t("invoices.paid");case"UNPAID":return de.t("invoices.unpaid");case"SENT":return de.t("general.sent");case"REJECTED":return de.t("estimates.rejected");case"ACCEPTED":return de.t("estimates.accepted");case"VIEWED":return de.t("invoices.viewed");case"EXPIRED":return de.t("estimates.expired");case"PARTIALLY PAID":return de.t("estimates.partially_paid");case"OVERDUE":return de.t("invoices.overdue");case"COMPLETED":return de.t("invoices.completed");case"DUE":return de.t("general.due");default:return i}},toFormData(i){const r=new FormData;return Object.keys(i).forEach(o=>{nt.exports.isArray(i[o])?r.append(o,JSON.stringify(i[o])):(i[o]===null&&(i[o]=""),r.append(o,i[o]))}),r}};const gt=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"custom-field",state:()=>({customFields:[],isRequestOngoing:!1,currentCustomField:M({},pt)}),getters:{isEdit(){return!!this.currentCustomField.id}},actions:{resetCustomFields(){this.customFields=[]},resetCurrentCustomField(){this.currentCustomField=M({},pt)},fetchCustomFields(t){return new Promise((s,a)=>{f.get("/api/v1/custom-fields",{params:t}).then(e=>{this.customFields=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},fetchNoteCustomFields(t){return new Promise((s,a)=>{if(this.isRequestOngoing)return s({requestOnGoing:!0}),!0;this.isRequestOngoing=!0,f.get("/api/v1/custom-fields",{params:t}).then(e=>{this.customFields=e.data.data,this.isRequestOngoing=!1,s(e)}).catch(e=>{this.isRequestOngoing=!1,g(e),a(e)})})},fetchCustomField(t){return new Promise((s,a)=>{f.get(`/api/v1/custom-fields/${t}`).then(e=>{this.currentCustomField=e.data.data,this.currentCustomField.options&&this.currentCustomField.options.length&&(this.currentCustomField.options=this.currentCustomField.options.map(n=>n={name:n})),s(e)}).catch(e=>{g(e),a(e)})})},addCustomField(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/custom-fields",t).then(n=>{let _=M({},n.data.data);_.options&&(_.options=_.options.map(u=>({name:u||""}))),this.customFields.push(_),s.showNotification({type:"success",message:o.t("settings.custom_fields.added_message")}),a(n)}).catch(n=>{g(n),e(n)})})},updateCustomField(t){const s=E();return new Promise((a,e)=>{f.put(`/api/v1/custom-fields/${t.id}`,t).then(n=>{let _=M({},n.data.data);_.options&&(_.options=_.options.map(y=>({name:y||""})));let u=this.customFields.findIndex(y=>y.id===_.id);this.customFields[u]&&(this.customFields[u]=_),s.showNotification({type:"success",message:o.t("settings.custom_fields.updated_message")}),a(n)}).catch(n=>{g(n),e(n)})})},deleteCustomFields(t){const s=E();return new Promise((a,e)=>{f.delete(`/api/v1/custom-fields/${t}`).then(n=>{let _=this.customFields.findIndex(u=>u.id===t);this.customFields.splice(_,1),n.data.error?s.showNotification({type:"error",message:o.t("settings.custom_fields.already_in_use")}):s.showNotification({type:"success",message:o.t("settings.custom_fields.deleted_message")}),a(n)}).catch(n=>{g(n),e(n)})})}}})()},ue=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"global",state:()=>({config:null,timeZones:[],dateFormats:[],currencies:[],countries:[],languages:[],fiscalYears:[],mainMenu:[],settingMenu:[],isAppLoaded:!1,isSidebarOpen:!1,areCurrenciesLoading:!1,downloadReport:null}),getters:{menuGroups:t=>Object.values(ie.groupBy(t.mainMenu,"group"))},actions:{bootstrap(){return new Promise((t,s)=>{f.get("/api/v1/bootstrap").then(a=>{const e=te(),n=ve();this.mainMenu=a.data.main_menu,this.settingMenu=a.data.setting_menu,this.config=a.data.config,n.currentUser=a.data.current_user,n.currentUserSettings=a.data.current_user_settings,n.currentAbilities=a.data.current_user_abilities,e.companies=a.data.companies,e.selectedCompany=a.data.current_company,e.setSelectedCompany(a.data.current_company),e.selectedCompanySettings=a.data.current_company_settings,e.selectedCompanyCurrency=a.data.current_company_currency,o.locale=a.data.current_user_settings.language||"en",this.isAppLoaded=!0,t(a)}).catch(a=>{g(a),s(a)})})},fetchCurrencies(){return new Promise((t,s)=>{this.currencies.length||this.areCurrenciesLoading?t(this.currencies):(this.areCurrenciesLoading=!0,f.get("/api/v1/currencies").then(a=>{this.currencies=a.data.data.filter(e=>e.name=`${e.code} - ${e.name}`),this.areCurrenciesLoading=!1,t(a)}).catch(a=>{g(a),this.areCurrenciesLoading=!1,s(a)}))})},fetchConfig(t){return new Promise((s,a)=>{f.get("/api/v1/config",{params:t}).then(e=>{e.data.languages?this.languages=e.data.languages:this.fiscalYears=e.data.fiscal_years,s(e)}).catch(e=>{g(e),a(e)})})},fetchDateFormats(){return new Promise((t,s)=>{this.dateFormats.length?t(this.dateFormats):f.get("/api/v1/date/formats").then(a=>{this.dateFormats=a.data.date_formats,t(a)}).catch(a=>{g(a),s(a)})})},fetchTimeZones(){return new Promise((t,s)=>{this.timeZones.length?t(this.timeZones):f.get("/api/v1/timezones").then(a=>{this.timeZones=a.data.time_zones,t(a)}).catch(a=>{g(a),s(a)})})},fetchCountries(){return new Promise((t,s)=>{this.countries.length?t(this.countries):f.get("/api/v1/countries").then(a=>{this.countries=a.data.data,t(a)}).catch(a=>{g(a),s(a)})})},fetchPlaceholders(t){return new Promise((s,a)=>{f.get("/api/v1/number-placeholders",{params:t}).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},setSidebarVisibility(t){this.isSidebarOpen=t},setIsAppLoaded(t){this.isAppLoaded=t}}})()};var Re={name:null,phone:null,address_street_1:null,address_street_2:null,city:null,state:null,country_id:null,zip:null,type:null};function ft(){return{name:"",contact_name:"",email:"",phone:null,currency_id:null,website:null,billing:M({},Re),shipping:M({},Re),customFields:[],fields:[]}}const ze=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"customer",state:()=>({customers:[],totalCustomers:0,selectAllField:!1,selectedCustomers:[],selectedViewCustomer:{},isFetchingInitialSettings:!1,isFetchingViewData:!1,currentCustomer:M({},ft())}),getters:{isEdit:t=>!!t.currentCustomer.id},actions:{resetCurrentCustomer(){this.currentCustomer=M({},ft())},copyAddress(){this.currentCustomer.shipping=H(M({},this.currentCustomer.billing),{type:"shipping"})},fetchCustomerInitialSettings(t){const s=oe(),a=ue(),e=te();this.isFetchingInitialSettings=!0;let n=[];t?n=[this.fetchCustomer(s.params.id)]:this.currentCustomer.currency_id=e.selectedCompanyCurrency.id,Promise.all([a.fetchCurrencies(),a.fetchCountries(),...n]).then(async([_,u,y])=>{this.isFetchingInitialSettings=!1}).catch(_=>{g(_)})},fetchCustomers(t){return new Promise((s,a)=>{f.get("/api/v1/customers",{params:t}).then(e=>{this.customers=e.data.data,this.totalCustomers=e.data.meta.customer_total_count,s(e)}).catch(e=>{g(e),a(e)})})},fetchViewCustomer(t){return new Promise((s,a)=>{this.isFetchingViewData=!0,f.get(`/api/v1/customers/${t.id}/stats`,{params:t}).then(e=>{this.selectedViewCustomer={},Object.assign(this.selectedViewCustomer,e.data.data),this.setAddressStub(e.data.data),this.isFetchingViewData=!1,s(e)}).catch(e=>{this.isFetchingViewData=!1,g(e),a(e)})})},fetchCustomer(t){return new Promise((s,a)=>{f.get(`/api/v1/customers/${t}`).then(e=>{Object.assign(this.currentCustomer,e.data.data),this.setAddressStub(e.data.data),s(e)}).catch(e=>{g(e),a(e)})})},addCustomer(t){return new Promise((s,a)=>{f.post("/api/v1/customers",t).then(e=>{this.customers.push(e.data.data),E().showNotification({type:"success",message:o.t("customers.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},updateCustomer(t){return new Promise((s,a)=>{f.put(`/api/v1/customers/${t.id}`,t).then(e=>{if(e.data){let n=this.customers.findIndex(u=>u.id===e.data.data.id);this.customers[n]=t,E().showNotification({type:"success",message:o.t("customers.updated_message")})}s(e)}).catch(e=>{g(e),a(e)})})},deleteCustomer(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/customers/delete",t).then(n=>{let _=this.customers.findIndex(u=>u.id===t);this.customers.splice(_,1),s.showNotification({type:"success",message:o.tc("customers.deleted_message",1)}),a(n)}).catch(n=>{g(n),e(n)})})},deleteMultipleCustomers(){const t=E();return new Promise((s,a)=>{f.post("/api/v1/customers/delete",{ids:this.selectedCustomers}).then(e=>{this.selectedCustomers.forEach(n=>{let _=this.customers.findIndex(u=>u.id===n.id);this.customers.splice(_,1)}),t.showNotification({type:"success",message:o.tc("customers.deleted_message",2)}),s(e)}).catch(e=>{g(e),a(e)})})},setSelectAllState(t){this.selectAllField=t},selectCustomer(t){this.selectedCustomers=t,this.selectedCustomers.length===this.customers.length?this.selectAllField=!0:this.selectAllField=!1},selectAllCustomers(){if(this.selectedCustomers.length===this.customers.length)this.selectedCustomers=[],this.selectAllField=!1;else{let t=this.customers.map(s=>s.id);this.selectedCustomers=t,this.selectAllField=!0}},setAddressStub(t){t.billing||(this.currentCustomer.billing=M({},Re)),t.shipping||(this.currentCustomer.shipping=M({},Re))}}})()},Ry=(i=!1)=>(i?window.pinia.defineStore:W)({id:"dashboard",state:()=>({stats:{totalAmountDue:0,totalCustomerCount:0,totalInvoiceCount:0,totalEstimateCount:0},chartData:{months:[],invoiceTotals:[],expenseTotals:[],receiptTotals:[],netIncomeTotals:[]},totalSales:null,totalReceipts:null,totalExpenses:null,totalNetIncome:null,recentDueInvoices:[],recentEstimates:[],isDashboardDataLoaded:!1}),actions:{loadData(o){return new Promise((t,s)=>{axios.get("/api/v1/dashboard",{params:o}).then(a=>{this.stats.totalAmountDue=a.data.total_amount_due,this.stats.totalCustomerCount=a.data.total_customer_count,this.stats.totalInvoiceCount=a.data.total_invoice_count,this.stats.totalEstimateCount=a.data.total_estimate_count,this.chartData&&a.data.chart_data&&(this.chartData.months=a.data.chart_data.months,this.chartData.invoiceTotals=a.data.chart_data.invoice_totals,this.chartData.expenseTotals=a.data.chart_data.expense_totals,this.chartData.receiptTotals=a.data.chart_data.receipt_totals,this.chartData.netIncomeTotals=a.data.chart_data.net_income_totals),this.totalSales=a.data.total_sales,this.totalReceipts=a.data.total_receipts,this.totalExpenses=a.data.total_expenses,this.totalNetIncome=a.data.total_net_income,this.recentDueInvoices=a.data.recent_due_invoices,this.recentEstimates=a.data.recent_estimates,this.isDashboardDataLoaded=!0,t(a)}).catch(a=>{g(a),s(a)})})}}})(),ht=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"dialog",state:()=>({active:!1,title:"",message:"",size:"md",data:null,variant:"danger",yesLabel:o.t("settings.custom_fields.yes"),noLabel:o.t("settings.custom_fields.no"),noLabel:"No",resolve:null,hideNoButton:!1}),actions:{openDialog(t){return this.active=!0,this.title=t.title,this.message=t.message,this.size=t.size,this.data=t.data,this.variant=t.variant,this.yesLabel=t.yesLabel,this.noLabel=t.noLabel,this.hideNoButton=t.hideNoButton,new Promise((s,a)=>{this.resolve=s})},closeDialog(){this.active=!1,setTimeout(()=>{this.title="",this.message="",this.data=null},300)}}})()},Fy=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"disk",state:()=>({disks:[],diskDrivers:[],diskConfigData:null,selected_driver:"local",doSpaceDiskConfig:{name:"",selected_driver:"doSpaces",key:"",secret:"",region:"",bucket:"",endpoint:"",root:""},dropBoxDiskConfig:{name:"",selected_driver:"dropbox",token:"",key:"",secret:"",app:""},localDiskConfig:{name:"",selected_driver:"local",root:""},s3DiskConfigData:{name:"",selected_driver:"s3",key:"",secret:"",region:"",bucket:"",root:""}}),getters:{getDiskDrivers:t=>t.diskDrivers},actions:{fetchDiskEnv(t){return new Promise((s,a)=>{f.get(`/api/v1/disks/${t.disk}`).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},fetchDisks(t){return new Promise((s,a)=>{f.get("/api/v1/disks",{params:t}).then(e=>{this.disks=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},fetchDiskDrivers(){return new Promise((t,s)=>{f.get("/api/v1/disk/drivers").then(a=>{this.diskConfigData=a.data,this.diskDrivers=a.data.drivers,t(a)}).catch(a=>{g(a),s(a)})})},deleteFileDisk(t){return new Promise((s,a)=>{f.delete(`/api/v1/disks/${t}`).then(e=>{if(e.data.success){let n=this.disks.findIndex(u=>u.id===t);this.disks.splice(n,1),E().showNotification({type:"success",message:o.t("settings.disk.deleted_message")})}s(e)}).catch(e=>{g(e),a(e)})})},updateDisk(t){return new Promise((s,a)=>{f.put(`/api/v1/disks/${t.id}`,t).then(e=>{if(e.data){let n=this.disks.findIndex(u=>u.id===e.data.data);this.disks[n]=t.disks,E().showNotification({type:"success",message:o.t("settings.disk.success_set_default_disk")})}s(e)}).catch(e=>{g(e),a(e)})})},createDisk(t){return new Promise((s,a)=>{f.post("/api/v1/disks",t).then(e=>{e.data&&E().showNotification({type:"success",message:o.t("settings.disk.success_create")}),this.disks.push(e.data),s(e)}).catch(e=>{g(e),a(e)})})}}})()},Ae=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"item",state:()=>({items:[],totalItems:0,selectAllField:!1,selectedItems:[],itemUnits:[],currentItemUnit:{id:null,name:""},currentItem:{name:"",description:"",price:0,unit_id:"",unit:null,taxes:[],tax_per_item:!1}}),getters:{isItemUnitEdit:t=>!!t.currentItemUnit.id},actions:{resetCurrentItem(){this.currentItem={name:"",description:"",price:0,unit_id:"",unit:null,taxes:[]}},fetchItems(t){return new Promise((s,a)=>{f.get("/api/v1/items",{params:t}).then(e=>{this.items=e.data.data,this.totalItems=e.data.meta.item_total_count,s(e)}).catch(e=>{g(e),a(e)})})},fetchItem(t){return new Promise((s,a)=>{f.get(`/api/v1/items/${t}`).then(e=>{e.data&&Object.assign(this.currentItem,e.data.data),s(e)}).catch(e=>{g(e),a(e)})})},addItem(t){return new Promise((s,a)=>{f.post("/api/v1/items",t).then(e=>{const n=E();this.items.push(e.data.data),n.showNotification({type:"success",message:o.t("items.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},updateItem(t){return new Promise((s,a)=>{f.put(`/api/v1/items/${t.id}`,t).then(e=>{if(e.data){const n=E();let _=this.items.findIndex(u=>u.id===e.data.data.id);this.items[_]=t.item,n.showNotification({type:"success",message:o.t("items.updated_message")})}s(e)}).catch(e=>{g(e),a(e)})})},deleteItem(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/items/delete",t).then(n=>{let _=this.items.findIndex(u=>u.id===t);this.items.splice(_,1),s.showNotification({type:"success",message:o.tc("items.deleted_message",1)}),a(n)}).catch(n=>{g(n),e(n)})})},deleteMultipleItems(){const t=E();return new Promise((s,a)=>{f.post("/api/v1/items/delete",{ids:this.selectedItems}).then(e=>{this.selectedItems.forEach(n=>{let _=this.items.findIndex(u=>u.id===n.id);this.items.splice(_,1)}),t.showNotification({type:"success",message:o.tc("items.deleted_message",2)}),s(e)}).catch(e=>{g(e),a(e)})})},selectItem(t){this.selectedItems=t,this.selectedItems.length===this.items.length?this.selectAllField=!0:this.selectAllField=!1},selectAllItems(t){if(this.selectedItems.length===this.items.length)this.selectedItems=[],this.selectAllField=!1;else{let s=this.items.map(a=>a.id);this.selectedItems=s,this.selectAllField=!0}},addItemUnit(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/units",t).then(n=>{this.itemUnits.push(n.data.data),n.data.data&&s.showNotification({type:"success",message:o.t("settings.customization.items.item_unit_added")}),n.data.errors&&s.showNotification({type:"error",message:err.response.data.errors[0]}),a(n)}).catch(n=>{g(n),e(n)})})},updateItemUnit(t){const s=E();return new Promise((a,e)=>{f.put(`/api/v1/units/${t.id}`,t).then(n=>{let _=this.itemUnits.findIndex(u=>u.id===n.data.data.id);this.itemUnits[_]=t,n.data.data&&s.showNotification({type:"success",message:o.t("settings.customization.items.item_unit_updated")}),n.data.errors&&s.showNotification({type:"error",message:err.response.data.errors[0]}),a(n)}).catch(n=>{g(n),e(n)})})},fetchItemUnits(t){return new Promise((s,a)=>{f.get("/api/v1/units",{params:t}).then(e=>{this.itemUnits=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},fetchItemUnit(t){return new Promise((s,a)=>{f.get(`/api/v1/units/${t}`).then(e=>{this.currentItemUnit=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},deleteItemUnit(t){const s=E();return new Promise((a,e)=>{f.delete(`/api/v1/units/${t}`).then(n=>{if(!n.data.error){let _=this.itemUnits.findIndex(u=>u.id===t);this.itemUnits.splice(_,1)}n.data.success&&s.showNotification({type:"success",message:o.t("settings.customization.items.deleted_message")}),a(n)}).catch(n=>{g(n),e(n)})})}}})()},Fe=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"taxType",state:()=>({taxTypes:[],currentTaxType:{id:null,name:"",percent:0,description:"",compound_tax:!1,collective_tax:0}}),getters:{isEdit:t=>!!t.currentTaxType.id},actions:{resetCurrentTaxType(){this.currentTaxType={id:null,name:"",percent:0,description:"",compound_tax:!1,collective_tax:0}},fetchTaxTypes(t){return new Promise((s,a)=>{f.get("/api/v1/tax-types",{params:t}).then(e=>{this.taxTypes=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},fetchTaxType(t){return new Promise((s,a)=>{window.axios.get(`/api/v1/tax-types/${t}`).then(e=>{this.currentTaxType=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},addTaxType(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/tax-types",t).then(n=>{this.taxTypes.push(n.data.data),s.showNotification({type:"success",message:o.t("settings.tax_types.created_message")}),a(n)}).catch(n=>{g(n),e(n)})})},updateTaxType(t){const s=E();return new Promise((a,e)=>{f.put(`/api/v1/tax-types/${t.id}`,t).then(n=>{if(n.data){let _=this.taxTypes.findIndex(u=>u.id===n.data.data.id);this.taxTypes[_]=t.taxTypes,s.showNotification({type:"success",message:o.t("settings.tax_types.updated_message")})}a(n)}).catch(n=>{g(n),e(n)})})},deleteTaxType(t){return new Promise((s,a)=>{window.axios.delete(`/api/v1/tax-types/${t}`).then(e=>{if(e.data.success){let n=this.taxTypes.findIndex(u=>u.id===t);this.taxTypes.splice(n,1),E().showNotification({type:"success",message:o.t("settings.tax_types.deleted_message")})}s(e)}).catch(e=>{g(e),a(e)})})}}})()};var He={estimate_id:null,item_id:null,name:"",title:"",description:null,quantity:1,price:0,discount_type:"fixed",discount_val:0,discount:0,total:0,sub_total:0,totalTax:0,totalSimpleTax:0,totalCompoundTax:0,tax:0,taxes:[]},he={name:"",tax_type_id:0,amount:null,percent:null,compound_tax:!1};function vt(){return{id:null,customer:null,template_name:"",tax_per_item:null,discount_per_item:null,estimate_date:"",expiry_date:"",estimate_number:"",customer_id:null,sub_total:0,total:0,tax:0,notes:"",discount_type:"fixed",discount_val:0,reference_number:null,discount:0,items:[H(M({},He),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]})],taxes:[],customFields:[],fields:[],selectedNote:null,selectedCurrency:""}}const Me=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"estimate",state:()=>({templates:[],estimates:[],selectAllField:!1,selectedEstimates:[],totalEstimateCount:0,isFetchingInitialSettings:!1,showExchangeRate:!1,newEstimate:M({},vt())}),getters:{getSubTotal(){return this.newEstimate.items.reduce(function(t,s){return t+s.total},0)},getTotalSimpleTax(){return ie.sumBy(this.newEstimate.taxes,function(t){return t.compound_tax?0:t.amount})},getTotalCompoundTax(){return ie.sumBy(this.newEstimate.taxes,function(t){return t.compound_tax?t.amount:0})},getTotalTax(){return this.newEstimate.tax_per_item==="NO"||this.newEstimate.tax_per_item===null?this.getTotalSimpleTax+this.getTotalCompoundTax:ie.sumBy(this.newEstimate.items,function(t){return t.tax})},getSubtotalWithDiscount(){return this.getSubTotal-this.newEstimate.discount_val},getTotal(){return this.getSubtotalWithDiscount+this.getTotalTax},isEdit:t=>!!t.newEstimate.id},actions:{resetCurrentEstimate(){this.newEstimate=M({},vt())},previewEstimate(t){return new Promise((s,a)=>{f.get(`/api/v1/estimates/${t.id}/send/preview`,{params:t}).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},fetchEstimates(t){return new Promise((s,a)=>{f.get("/api/v1/estimates",{params:t}).then(e=>{this.estimates=e.data.data,this.totalEstimateCount=e.data.meta.estimate_total_count,s(e)}).catch(e=>{g(e),a(e)})})},getNextNumber(t,s=!1){return new Promise((a,e)=>{f.get("/api/v1/next-number?key=estimate",{params:t}).then(n=>{s&&(this.newEstimate.estimate_number=n.data.nextNumber),a(n)}).catch(n=>{g(n),e(n)})})},fetchEstimate(t){return new Promise((s,a)=>{f.get(`/api/v1/estimates/${t}`).then(e=>{Object.assign(this.newEstimate,e.data.data),s(e)}).catch(e=>{g(e),a(e)})})},sendEstimate(t){const s=E();return new Promise((a,e)=>{f.post(`/api/v1/estimates/${t.id}/send`,t).then(n=>{t.is_preview||s.showNotification({type:"success",message:o.t("estimates.send_estimate_successfully")}),a(n)}).catch(n=>{g(n),e(n)})})},addEstimate(t){return new Promise((s,a)=>{f.post("/api/v1/estimates",t).then(e=>{this.estimates=[...this.estimates,e.data.estimate],E().showNotification({type:"success",message:o.t("estimates.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},deleteEstimate(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/estimates/delete",t).then(n=>{let _=this.estimates.findIndex(u=>u.id===t);this.estimates.splice(_,1),s.showNotification({type:"success",message:o.t("estimates.deleted_message",1)}),a(n)}).catch(n=>{g(n),e(n)})})},deleteMultipleEstimates(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/estimates/delete",{ids:this.selectedEstimates}).then(n=>{this.selectedEstimates.forEach(_=>{let u=this.estimates.findIndex(y=>y.id===_.id);this.estimates.splice(u,1)}),this.selectedEstimates=[],s.showNotification({type:"success",message:o.tc("estimates.deleted_message",2)}),a(n)}).catch(n=>{g(n),e(n)})})},updateEstimate(t){return new Promise((s,a)=>{f.put(`/api/v1/estimates/${t.id}`,t).then(e=>{let n=this.estimates.findIndex(u=>u.id===e.data.data.id);this.estimates[n]=e.data.data,E().showNotification({type:"success",message:o.t("estimates.updated_message")}),s(e)}).catch(e=>{g(e),a(e)})})},markAsAccepted(t){return new Promise((s,a)=>{f.post(`/api/v1/estimates/${t.id}/status`,t).then(e=>{let n=this.estimates.findIndex(_=>_.id===t.id);this.estimates[n]&&(this.estimates[n].status="ACCEPTED",E().showNotification({type:"success",message:o.t("estimates.marked_as_accepted_message")})),s(e)}).catch(e=>{g(e),a(e)})})},markAsRejected(t){return new Promise((s,a)=>{f.post(`/api/v1/estimates/${t.id}/status`,t).then(e=>{E().showNotification({type:"success",message:o.t("estimates.marked_as_rejected_message")}),s(e)}).catch(e=>{g(e),a(e)})})},markAsSent(t){return new Promise((s,a)=>{f.post(`/api/v1/estimates/${t.id}/status`,t).then(e=>{let n=this.estimates.findIndex(_=>_.id===t.id);this.estimates[n]&&(this.estimates[n].status="SENT",E().showNotification({type:"success",message:o.t("estimates.mark_as_sent_successfully")})),s(e)}).catch(e=>{g(e),a(e)})})},convertToInvoice(t){const s=E();return new Promise((a,e)=>{f.post(`/api/v1/estimates/${t}/convert-to-invoice`).then(n=>{s.showNotification({type:"success",message:o.t("estimates.conversion_message")}),a(n)}).catch(n=>{g(n),e(n)})})},searchEstimate(t){return new Promise((s,a)=>{f.get(`/api/v1/estimates?${t}`).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},selectEstimate(t){this.selectedEstimates=t,this.selectedEstimates.length===this.estimates.length?this.selectAllField=!0:this.selectAllField=!1},selectAllEstimates(){if(this.selectedEstimates.length===this.estimates.length)this.selectedEstimates=[],this.selectAllField=!1;else{let t=this.estimates.map(s=>s.id);this.selectedEstimates=t,this.selectAllField=!0}},selectCustomer(t){return new Promise((s,a)=>{f.get(`/api/v1/customers/${t}`).then(e=>{this.newEstimate.customer=e.data.data,this.newEstimate.customer_id=e.data.data.id,s(e)}).catch(e=>{g(e),a(e)})})},fetchEstimateTemplates(t){return new Promise((s,a)=>{f.get("/api/v1/estimates/templates",{params:t}).then(e=>{this.templates=e.data.estimateTemplates,s(e)}).catch(e=>{g(e),a(e)})})},setTemplate(t){this.newEstimate.template_name=t},resetSelectedCustomer(){this.newEstimate.customer=null,this.newEstimate.customer_id=""},selectNote(t){this.newEstimate.selectedNote=null,this.newEstimate.selectedNote=t},resetSelectedNote(){this.newEstimate.selectedNote=null},addItem(){this.newEstimate.items.push(H(M({},He),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]}))},updateItem(t){Object.assign(this.newEstimate.items[t.index],M({},t))},removeItem(t){this.newEstimate.items.splice(t,1)},deselectItem(t){this.newEstimate.items[t]=H(M({},He),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]})},async fetchEstimateInitialSettings(t){const s=te(),a=ze(),e=Ae(),n=Fe(),_=oe();if(this.isFetchingInitialSettings=!0,this.newEstimate.selectedCurrency=s.selectedCompanyCurrency,_.query.customer){let y=await a.fetchCustomer(_.query.customer);this.newEstimate.customer=y.data.data,this.newEstimate.customer_id=y.data.data.id}let u=[];t?u=[this.fetchEstimate(_.params.id)]:(this.newEstimate.tax_per_item=s.selectedCompanySettings.tax_per_item,this.newEstimate.discount_per_item=s.selectedCompanySettings.discount_per_item,this.newEstimate.estimate_date=ye().format("YYYY-MM-DD"),this.newEstimate.expiry_date=ye().add(7,"days").format("YYYY-MM-DD")),Promise.all([e.fetchItems({filter:{},orderByField:"",orderBy:""}),this.resetSelectedNote(),this.fetchEstimateTemplates(),this.getNextNumber(),n.fetchTaxTypes({limit:"all"}),...u]).then(async([y,z,b,h,x,j,R])=>{t||(h.data&&(this.newEstimate.estimate_number=h.data.nextNumber),this.setTemplate(this.templates[0].name)),this.isFetchingInitialSettings=!1}).catch(y=>{g(y),this.isFetchingInitialSettings=!1})}}})()},Ge=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n,t=E();return r({id:"exchange-rate",state:()=>({supportedCurrencies:[],drivers:[],activeUsedCurrencies:[],providers:[],currencies:null,currentExchangeRate:{id:null,driver:"",key:"",active:!0,currencies:[]},currencyConverter:{type:"",url:""},bulkCurrencies:[]}),getters:{isEdit:s=>!!s.currentExchangeRate.id},actions:{fetchProviders(s){return new Promise((a,e)=>{f.get("/api/v1/exchange-rate-providers",{params:s}).then(n=>{this.providers=n.data.data,a(n)}).catch(n=>{g(n),e(n)})})},fetchDefaultProviders(){return new Promise((s,a)=>{f.get("/api/v1/config?key=exchange_rate_drivers").then(e=>{this.drivers=e.data.exchange_rate_drivers,s(e)}).catch(e=>{g(e),a(e)})})},fetchProvider(s){return new Promise((a,e)=>{f.get(`/api/v1/exchange-rate-providers/${s}`).then(n=>{this.currentExchangeRate=n.data.data,this.currencyConverter=n.data.data.driver_config,a(n)}).catch(n=>{g(n),e(n)})})},addProvider(s){return new Promise((a,e)=>{f.post("/api/v1/exchange-rate-providers",s).then(n=>{t.showNotification({type:"success",message:o.t("settings.exchange_rate.created_message")}),a(n)}).catch(n=>{g(n),e(n)})})},updateProvider(s){return new Promise((a,e)=>{f.put(`/api/v1/exchange-rate-providers/${s.id}`,s).then(n=>{t.showNotification({type:"success",message:o.t("settings.exchange_rate.updated_message")}),a(n)}).catch(n=>{g(n),e(n)})})},deleteExchangeRate(s){return new Promise((a,e)=>{f.delete(`/api/v1/exchange-rate-providers/${s}`).then(n=>{let _=this.drivers.findIndex(u=>u.id===s);this.drivers.splice(_,1),n.data.success?t.showNotification({type:"success",message:o.t("settings.exchange_rate.deleted_message")}):t.showNotification({type:"error",message:o.t("settings.exchange_rate.error")}),a(n)}).catch(n=>{g(n),e(n)})})},fetchCurrencies(s){return new Promise((a,e)=>{f.get("/api/v1/supported-currencies",{params:s}).then(n=>{this.supportedCurrencies=n.data.supportedCurrencies,a(n)}).catch(n=>{g(n),e(n)})})},fetchActiveCurrency(s){return new Promise((a,e)=>{f.get("/api/v1/used-currencies",{params:s}).then(n=>{this.activeUsedCurrencies=n.data.activeUsedCurrencies,a(n)}).catch(n=>{g(n),e(n)})})},fetchBulkCurrencies(){return new Promise((s,a)=>{f.get("/api/v1/currencies/used").then(e=>{this.bulkCurrencies=e.data.currencies.map(n=>(n.exchange_rate=null,n)),s(e)}).catch(e=>{g(e),a(e)})})},updateBulkExchangeRate(s){return new Promise((a,e)=>{f.post("/api/v1/currencies/bulk-update-exchange-rate",s).then(n=>{a(n)}).catch(n=>{g(n),e(n)})})},getCurrentExchangeRate(s){return new Promise((a,e)=>{f.get(`/api/v1/currencies/${s}/exchange-rate`).then(n=>{a(n)}).catch(n=>{e(n)})})},getCurrencyConverterServers(){return new Promise((s,a)=>{f.get("/api/v1/config?key=currency_converter_servers").then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},checkForActiveProvider(s){return new Promise((a,e)=>{f.get(`/api/v1/currencies/${s}/active-provider`).then(n=>{a(n)}).catch(n=>{e(n)})})}}})()};var yt={expense_category_id:null,expense_date:ye().format("YYYY-MM-DD"),amount:100,notes:"",attachment_receipt:null,customer_id:"",currency_id:"",payment_method_id:"",receiptFiles:[],customFields:[],fields:[],in_use:!1,selectedCurrency:null};const My=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"expense",state:()=>({expenses:[],totalExpenses:0,selectAllField:!1,selectedExpenses:[],paymentModes:[],showExchangeRate:!1,currentExpense:M({},yt)}),getters:{getCurrentExpense:t=>t.currentExpense,getSelectedExpenses:t=>t.selectedExpenses},actions:{resetCurrentExpenseData(){this.currentExpense=M({},yt)},fetchExpenses(t){return new Promise((s,a)=>{f.get("/api/v1/expenses",{params:t}).then(e=>{this.expenses=e.data.data,this.totalExpenses=e.data.meta.expense_total_count,s(e)}).catch(e=>{g(e),a(e)})})},fetchExpense(t){return new Promise((s,a)=>{f.get(`/api/v1/expenses/${t}`).then(e=>{e.data&&(Object.assign(this.currentExpense,e.data.data),this.currentExpense.selectedCurrency=e.data.data.currency,e.data.data.attachment_receipt?Ce.isImageFile(e.data.data.attachment_receipt_meta.mime_type)?this.currentExpense.receiptFiles=[{image:`/expenses/${t}/receipt`}]:this.currentExpense.receiptFiles=[{type:"document",name:e.data.data.attachment_receipt_meta.file_name}]:this.currentExpense.receiptFiles=[]),s(e)}).catch(e=>{g(e),a(e)})})},addExpense(t){const s=Ce.toFormData(t);return new Promise((a,e)=>{f.post("/api/v1/expenses",s).then(n=>{this.expenses.push(n.data),E().showNotification({type:"success",message:o.t("expenses.created_message")}),a(n)}).catch(n=>{g(n),e(n)})})},updateExpense({id:t,data:s}){const a=E(),e=Ce.toFormData(s);return e.append("_method","PUT"),new Promise(n=>{f.post(`/api/v1/expenses/${t}`,e).then(_=>{let u=this.expenses.findIndex(y=>y.id===_.data.id);this.expenses[u]=s.expense,a.showNotification({type:"success",message:o.t("expenses.updated_message")}),n(_)})}).catch(n=>{g(n),reject(n)})},setSelectAllState(t){this.selectAllField=t},selectExpense(t){this.selectedExpenses=t,this.selectedExpenses.length===this.expenses.length?this.selectAllField=!0:this.selectAllField=!1},selectAllExpenses(t){if(this.selectedExpenses.length===this.expenses.length)this.selectedExpenses=[],this.selectAllField=!1;else{let s=this.expenses.map(a=>a.id);this.selectedExpenses=s,this.selectAllField=!0}},deleteExpense(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/expenses/delete",t).then(n=>{let _=this.expenses.findIndex(u=>u.id===t);this.expenses.splice(_,1),s.showNotification({type:"success",message:o.tc("expenses.deleted_message",1)}),a(n)}).catch(n=>{g(n),e(n)})})},deleteMultipleExpenses(){const t=E();return new Promise((s,a)=>{f.post("/api/v1/expenses/delete",{ids:this.selectedExpenses}).then(e=>{this.selectedExpenses.forEach(n=>{let _=this.expenses.findIndex(u=>u.id===n.id);this.expenses.splice(_,1)}),t.showNotification({type:"success",message:o.tc("expenses.deleted_message",2)}),s(e)}).catch(e=>{g(e),a(e)})})},fetchPaymentModes(t){return new Promise((s,a)=>{f.get("/api/v1/payment-methods",{params:t}).then(e=>{this.paymentModes=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})}}})()},By=(i=!1)=>{const r=i?window.pinia.defineStore:W,o=te();return r({id:"installation",state:()=>({currentDataBaseData:{database_connection:"mysql",database_hostname:"127.0.0.1",database_port:"3306",database_name:null,database_username:null,database_password:null,app_url:window.location.origin}}),actions:{fetchInstallationRequirements(){return new Promise((t,s)=>{f.get("/api/v1/installation/requirements").then(a=>{t(a)}).catch(a=>{g(a),s(a)})})},fetchInstallationStep(){return new Promise((t,s)=>{f.get("/api/v1/installation/wizard-step").then(a=>{t(a)}).catch(a=>{g(a),s(a)})})},addInstallationStep(t){return new Promise((s,a)=>{f.post("/api/v1/installation/wizard-step",t).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},fetchInstallationPermissions(){return new Promise((t,s)=>{f.get("/api/v1/installation/permissions").then(a=>{t(a)}).catch(a=>{g(a),s(a)})})},fetchInstallationDatabase(t){return new Promise((s,a)=>{f.get("/api/v1/installation/database/config",{params:t}).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},addInstallationDatabase(t){return new Promise((s,a)=>{f.post("/api/v1/installation/database/config",t).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},addInstallationFinish(){return new Promise((t,s)=>{f.post("/api/v1/installation/finish").then(a=>{t(a)}).catch(a=>{g(a),s(a)})})},setInstallationDomain(t){return new Promise((s,a)=>{f.put("/api/v1/installation/set-domain",t).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},installationLogin(){return new Promise((t,s)=>{f.get("/sanctum/csrf-cookie").then(a=>{a&&f.post("/api/v1/installation/login").then(e=>{o.setSelectedCompany(e.data.company),t(e)}).catch(e=>{g(e),s(e)})})})},checkAutheticated(){return new Promise((t,s)=>{f.get("/api/v1/auth/check").then(a=>{t(a)}).catch(a=>{s(a)})})}}})()};var Ye={invoice_id:null,item_id:null,name:"",title:"",description:null,quantity:1,price:0,discount_type:"fixed",discount_val:0,discount:0,total:0,totalTax:0,totalSimpleTax:0,totalCompoundTax:0,tax:0,taxes:[]};function bt(){return{id:null,invoice_number:"",customer:null,customer_id:null,template_name:null,invoice_date:"",due_date:"",notes:"",discount:0,discount_type:"fixed",discount_val:0,reference_number:null,tax:0,sub_total:0,total:0,tax_per_item:null,discount_per_item:null,taxes:[],items:[H(M({},Ye),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]})],customFields:[],fields:[],selectedNote:null,selectedCurrency:""}}const Ne=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n,t=E();return r({id:"invoice",state:()=>({templates:[],invoices:[],selectedInvoices:[],selectAllField:!1,invoiceTotalCount:0,showExchangeRate:!1,isFetchingInitialSettings:!1,isFetchingInvoice:!1,newInvoice:M({},bt())}),getters:{getInvoice:s=>a=>{let e=parseInt(a);return s.invoices.find(n=>n.id===e)},getSubTotal(){return this.newInvoice.items.reduce(function(s,a){return s+a.total},0)},getTotalSimpleTax(){return ie.sumBy(this.newInvoice.taxes,function(s){return s.compound_tax?0:s.amount})},getTotalCompoundTax(){return ie.sumBy(this.newInvoice.taxes,function(s){return s.compound_tax?s.amount:0})},getTotalTax(){return this.newInvoice.tax_per_item==="NO"||this.newInvoice.tax_per_item===null?this.getTotalSimpleTax+this.getTotalCompoundTax:ie.sumBy(this.newInvoice.items,function(s){return s.tax})},getSubtotalWithDiscount(){return this.getSubTotal-this.newInvoice.discount_val},getTotal(){return this.getSubtotalWithDiscount+this.getTotalTax},isEdit:s=>!!s.newInvoice.id},actions:{resetCurrentInvoice(){this.newInvoice=M({},bt())},previewInvoice(s){return new Promise((a,e)=>{f.get(`/api/v1/invoices/${s.id}/send/preview`,{params:s}).then(n=>{a(n)}).catch(n=>{g(n),e(n)})})},fetchInvoices(s){return new Promise((a,e)=>{f.get("/api/v1/invoices",{params:s}).then(n=>{this.invoices=n.data.data,this.invoiceTotalCount=n.data.meta.invoice_total_count,a(n)}).catch(n=>{g(n),e(n)})})},fetchInvoice(s){return new Promise((a,e)=>{f.get(`/api/v1/invoices/${s}`).then(n=>{Object.assign(this.newInvoice,n.data.data),this.newInvoice.customer=n.data.data.customer,a(n)}).catch(n=>{g(n),e(n)})})},sendInvoice(s){return new Promise((a,e)=>{f.post(`/api/v1/invoices/${s.id}/send`,s).then(n=>{t.showNotification({type:"success",message:o.t("invoices.invoice_sent_successfully")}),a(n)}).catch(n=>{g(n),e(n)})})},addInvoice(s){return new Promise((a,e)=>{f.post("/api/v1/invoices",s).then(n=>{this.invoices=[...this.invoices,n.data.invoice],t.showNotification({type:"success",message:o.t("invoices.created_message")}),a(n)}).catch(n=>{g(n),e(n)})})},deleteInvoice(s){return new Promise((a,e)=>{f.post("/api/v1/invoices/delete",s).then(n=>{let _=this.invoices.findIndex(u=>u.id===s);this.invoices.splice(_,1),t.showNotification({type:"success",message:o.t("invoices.deleted_message",1)}),a(n)}).catch(n=>{g(n),e(n)})})},deleteMultipleInvoices(s){return new Promise((a,e)=>{f.post("/api/v1/invoices/delete",{ids:this.selectedInvoices}).then(n=>{this.selectedInvoices.forEach(_=>{let u=this.invoices.findIndex(y=>y.id===_.id);this.invoices.splice(u,1)}),this.selectedInvoices=[],t.showNotification({type:"success",message:o.tc("invoices.deleted_message",2)}),a(n)}).catch(n=>{g(n),e(n)})})},updateInvoice(s){return new Promise((a,e)=>{f.put(`/api/v1/invoices/${s.id}`,s).then(n=>{let _=this.invoices.findIndex(u=>u.id===n.data.data.id);this.invoices[_]=n.data.data,t.showNotification({type:"success",message:o.t("invoices.updated_message")}),a(n)}).catch(n=>{g(n),e(n)})})},cloneInvoice(s){return new Promise((a,e)=>{f.post(`/api/v1/invoices/${s.id}/clone`,s).then(n=>{t.showNotification({type:"success",message:o.t("invoices.cloned_successfully")}),a(n)}).catch(n=>{g(n),e(n)})})},markAsSent(s){return new Promise((a,e)=>{f.post(`/api/v1/invoices/${s.id}/status`,s).then(n=>{let _=this.invoices.findIndex(u=>u.id===s.id);this.invoices[_]&&(this.invoices[_].status="SENT"),t.showNotification({type:"success",message:o.t("invoices.mark_as_sent_successfully")}),a(n)}).catch(n=>{g(n),e(n)})})},getNextNumber(s,a=!1){return new Promise((e,n)=>{f.get("/api/v1/next-number?key=invoice",{params:s}).then(_=>{a&&(this.newInvoice.invoice_number=_.data.nextNumber),e(_)}).catch(_=>{g(_),n(_)})})},searchInvoice(s){return new Promise((a,e)=>{f.get(`/api/v1/invoices?${s}`).then(n=>{a(n)}).catch(n=>{g(n),e(n)})})},selectInvoice(s){this.selectedInvoices=s,this.selectedInvoices.length===this.invoices.length?this.selectAllField=!0:this.selectAllField=!1},selectAllInvoices(){if(this.selectedInvoices.length===this.invoices.length)this.selectedInvoices=[],this.selectAllField=!1;else{let s=this.invoices.map(a=>a.id);this.selectedInvoices=s,this.selectAllField=!0}},selectCustomer(s){return new Promise((a,e)=>{f.get(`/api/v1/customers/${s}`).then(n=>{this.newInvoice.customer=n.data.data,this.newInvoice.customer_id=n.data.data.id,a(n)}).catch(n=>{g(n),e(n)})})},fetchInvoiceTemplates(s){return new Promise((a,e)=>{f.get("/api/v1/invoices/templates",{params:s}).then(n=>{this.templates=n.data.invoiceTemplates,a(n)}).catch(n=>{g(n),e(n)})})},selectNote(s){this.newInvoice.selectedNote=null,this.newInvoice.selectedNote=s},setTemplate(s){this.newInvoice.template_name=s},resetSelectedCustomer(){this.newInvoice.customer=null,this.newInvoice.customer_id=null},addItem(){this.newInvoice.items.push(H(M({},Ye),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]}))},updateItem(s){Object.assign(this.newInvoice.items[s.index],M({},s))},removeItem(s){this.newInvoice.items.splice(s,1)},deselectItem(s){this.newInvoice.items[s]=H(M({},Ye),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]})},resetSelectedNote(){this.newInvoice.selectedNote=null},async fetchInvoiceInitialSettings(s){const a=te(),e=ze(),n=Ae(),_=Fe(),u=oe();if(this.isFetchingInitialSettings=!0,this.newInvoice.selectedCurrency=a.selectedCompanyCurrency,u.query.customer){let z=await e.fetchCustomer(u.query.customer);this.newInvoice.customer=z.data.data,this.newInvoice.customer_id=z.data.data.id}let y=[];s?y=[this.fetchInvoice(u.params.id)]:(this.newInvoice.tax_per_item=a.selectedCompanySettings.tax_per_item,this.newInvoice.discount_per_item=a.selectedCompanySettings.discount_per_item,this.newInvoice.invoice_date=ye().format("YYYY-MM-DD"),this.newInvoice.due_date=ye().add(7,"days").format("YYYY-MM-DD")),Promise.all([n.fetchItems({filter:{},orderByField:"",orderBy:""}),this.resetSelectedNote(),this.fetchInvoiceTemplates(),this.getNextNumber(),_.fetchTaxTypes({limit:"all"}),...y]).then(async([z,b,h,x,j,R])=>{s||(x.data&&(this.newInvoice.invoice_number=x.data.nextNumber),h.data&&this.setTemplate(this.templates[0].name)),this.isFetchingInitialSettings=!1}).catch(z=>{g(z),reject(z)})}}})()},Vy=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"mail-driver",state:()=>({mailConfigData:null,mail_driver:"smtp",mail_drivers:[],basicMailConfig:{mail_driver:"",mail_host:"",from_mail:"",from_name:""},mailgunConfig:{mail_driver:"",mail_mailgun_domain:"",mail_mailgun_secret:"",mail_mailgun_endpoint:"",from_mail:"",from_name:""},sesConfig:{mail_driver:"",mail_host:"",mail_port:null,mail_ses_key:"",mail_ses_secret:"",mail_encryption:"tls",from_mail:"",from_name:""},smtpConfig:{mail_driver:"",mail_host:"",mail_port:null,mail_username:"",mail_password:"",mail_encryption:"tls",from_mail:"",from_name:""}}),actions:{fetchMailDrivers(){return new Promise((t,s)=>{f.get("/api/v1/mail/drivers").then(a=>{a.data&&(this.mail_drivers=a.data),t(a)}).catch(a=>{g(a),s(a)})})},fetchMailConfig(){return new Promise((t,s)=>{f.get("/api/v1/mail/config").then(a=>{a.data&&(this.mailConfigData=a.data,this.mail_driver=a.data.mail_driver),t(a)}).catch(a=>{g(a),s(a)})})},updateMailConfig(t){return new Promise((s,a)=>{f.post("/api/v1/mail/config",t).then(e=>{const n=E();e.data.success?n.showNotification({type:"success",message:o.t("wizard.success."+e.data.success)}):n.showNotification({type:"error",message:o.t("wizard.errors."+e.data.error)}),s(e)}).catch(e=>{g(e),a(e)})})},sendTestMail(t){return new Promise((s,a)=>{f.post("/api/v1/mail/test",t).then(e=>{const n=E();e.data.success?n.showNotification({type:"success",message:o.t("general.send_mail_successfully")}):n.showNotification({type:"error",message:o.t("validation.something_went_wrong")}),s(e)}).catch(e=>{g(e),a(e)})})}}})()},me=(i=!1)=>(i?window.pinia.defineStore:W)({id:"modal",state:()=>({active:!1,content:"",title:"",componentName:"",id:"",size:"md",data:null,refreshData:null,variant:""}),getters:{isEdit(){return!!this.id}},actions:{openModal(o){this.componentName=o.componentName,this.active=!0,o.id&&(this.id=o.id),this.title=o.title,o.data&&(this.data=o.data),o.refreshData&&(this.refreshData=o.refreshData),o.variant&&(this.variant=o.variant),o.size&&(this.size=o.size)},resetModalData(){this.content="",this.title="",this.componentName="",this.id="",this.data=null,this.refreshData=null},closeModal(){this.active=!1,setTimeout(()=>{this.resetModalData()},300)}}})(),Oy=(i=!1)=>(i?window.pinia.defineStore:W)({id:"notes",state:()=>({notes:[],currentNote:{id:null,type:"",name:"",notes:""}}),getters:{isEdit:o=>!!o.currentNote.id},actions:{resetCurrentNote(){this.currentNote={type:"",name:"",notes:""}},fetchNotes(o){return new Promise((t,s)=>{f.get("/api/v1/notes",{params:o}).then(a=>{this.notes=a.data.data,t(a)}).catch(a=>{g(a),s(a)})})},fetchNote(o){return new Promise((t,s)=>{f.get(`/api/v1/notes/${o}`).then(a=>{this.currentNote=a.data.data,t(a)}).catch(a=>{g(a),s(a)})})},addNote(o){return new Promise((t,s)=>{f.post("/api/v1/notes",o).then(a=>{this.notes.push(a.data),t(a)}).catch(a=>{g(a),s(a)})})},updateNote(o){return new Promise((t,s)=>{f.put(`/api/v1/notes/${o.id}`,o).then(a=>{if(a.data){let e=this.notes.findIndex(n=>n.id===a.data.data.id);this.notes[e]=o.notes}t(a)}).catch(a=>{g(a),s(a)})})},deleteNote(o){return new Promise((t,s)=>{f.delete(`/api/v1/notes/${o}`).then(a=>{let e=this.notes.findIndex(n=>n.id===o);this.notes.splice(e,1),t(a)}).catch(a=>{g(a),s(a)})})}}})();var kt={maxPayableAmount:Number.MAX_SAFE_INTEGER,selectedCustomer:"",currency:null,currency_id:"",customer_id:"",payment_number:"",payment_date:"",amount:0,invoice_id:"",notes:"",payment_method_id:"",customFields:[],fields:[]};const Ly=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"payment",state:()=>({payments:[],paymentTotalCount:0,selectAllField:!1,selectedPayments:[],selectedNote:null,showExchangeRate:!1,currentPayment:M({},kt),paymentModes:[],currentPaymentMode:{id:"",name:null},isFetchingInitialData:!1}),actions:{fetchPaymentInitialData(t){const s=te(),a=oe();this.isFetchingInitialData=!0;let e=[];t&&(e=[this.fetchPayment(a.params.id)]),Promise.all([this.fetchPaymentModes({limit:"all"}),this.getNextNumber(),...e]).then(async([n,_,u])=>{t?u.data.data.invoice&&(this.currentPayment.maxPayableAmount=parseInt(u.data.data.invoice.due_amount)):!t&&_.data&&(this.currentPayment.payment_date=ye().format("YYYY-MM-DD"),this.currentPayment.payment_number=_.data.nextNumber,this.currentPayment.currency=s.selectedCompanyCurrency),this.isFetchingInitialData=!1}).catch(n=>{g(n)})},fetchPayments(t){return new Promise((s,a)=>{f.get("/api/v1/payments",{params:t}).then(e=>{this.payments=e.data.data,this.paymentTotalCount=e.data.meta.payment_total_count,s(e)}).catch(e=>{g(e),a(e)})})},fetchPayment(t){return new Promise((s,a)=>{f.get(`/api/v1/payments/${t}`).then(e=>{Object.assign(this.currentPayment,e.data.data),s(e)}).catch(e=>{g(e),a(e)})})},addPayment(t){return new Promise((s,a)=>{f.post("/api/v1/payments",t).then(e=>{this.payments.push(e.data),E().showNotification({type:"success",message:o.t("payments.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},updatePayment(t){return new Promise((s,a)=>{f.put(`/api/v1/payments/${t.id}`,t).then(e=>{if(e.data){let n=this.payments.findIndex(u=>u.id===e.data.data.id);this.payments[n]=t.payment,E().showNotification({type:"success",message:o.t("payments.updated_message")})}s(e)}).catch(e=>{g(e),a(e)})})},deletePayment(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/payments/delete",t).then(n=>{let _=this.payments.findIndex(u=>u.id===t);this.payments.splice(_,1),s.showNotification({type:"success",message:o.t("payments.deleted_message",1)}),a(n)}).catch(n=>{g(n),e(n)})})},deleteMultiplePayments(){const t=E();return new Promise((s,a)=>{f.post("/api/v1/payments/delete",{ids:this.selectedPayments}).then(e=>{this.selectedPayments.forEach(n=>{let _=this.payments.findIndex(u=>u.id===n.id);this.payments.splice(_,1)}),t.showNotification({type:"success",message:o.tc("payments.deleted_message",2)}),s(e)}).catch(e=>{g(e),a(e)})})},setSelectAllState(t){this.selectAllField=t},selectPayment(t){this.selectedPayments=t,this.selectedPayments.length===this.payments.length?this.selectAllField=!0:this.selectAllField=!1},selectAllPayments(){if(this.selectedPayments.length===this.payments.length)this.selectedPayments=[],this.selectAllField=!1;else{let t=this.payments.map(s=>s.id);this.selectedPayments=t,this.selectAllField=!0}},selectNote(t){this.selectedNote=null,this.selectedNote=t},resetSelectedNote(t){this.selectedNote=null},searchPayment(t){return new Promise((s,a)=>{f.get("/api/v1/payments",{params:t}).then(e=>{this.payments=e.data,s(e)}).catch(e=>{g(e),a(e)})})},previewPayment(t){return new Promise((s,a)=>{f.get(`/api/v1/payments/${t.id}/send/preview`,{params:t}).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},sendEmail(t){return new Promise((s,a)=>{f.post(`/api/v1/payments/${t.id}/send`,t).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},getNextNumber(t,s=!1){return new Promise((a,e)=>{window.axios.get("/api/v1/next-number?key=payment",{params:t}).then(n=>{s&&(this.currentPayment.payment_number=n.data.nextNumber),a(n)}).catch(n=>{g(n),e(n)})})},resetCurrentPayment(){this.currentPayment=M({},kt)},fetchPaymentModes(t){return new Promise((s,a)=>{f.get("/api/v1/payment-methods",{params:t}).then(e=>{this.paymentModes=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},fetchPaymentMode(t){return new Promise((s,a)=>{f.get(`/api/v1/payment-methods/${t}`).then(e=>{this.currentPaymentMode=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},addPaymentMode(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/payment-methods",t).then(n=>{this.paymentModes.push(n.data.data),s.showNotification({type:"success",message:o.t("settings.payment_modes.payment_mode_added")}),a(n)}).catch(n=>{g(n),e(n)})})},updatePaymentMode(t){const s=E();return new Promise((a,e)=>{f.put(`/api/v1/payment-methods/${t.id}`,t).then(n=>{if(n.data){let _=this.paymentModes.findIndex(u=>u.id===n.data.data.id);this.paymentModes[_]=t.paymentModes,s.showNotification({type:"success",message:o.t("settings.payment_modes.payment_mode_updated")})}a(n)}).catch(n=>{g(n),e(n)})})},deletePaymentMode(t){const s=E();return new Promise((a,e)=>{f.delete(`/api/v1/payment-methods/${t}`).then(n=>{let _=this.paymentModes.findIndex(u=>u.id===t);this.paymentModes.splice(_,1),n.data.success&&s.showNotification({type:"success",message:o.t("settings.payment_modes.deleted_message")}),a(n)}).catch(n=>{g(n),e(n)})})}}})()};var Je={recurring_invoice_id:null,item_id:null,name:"",title:"",description:null,quantity:1,price:0,discount_type:"fixed",discount_val:0,discount:0,total:0,totalTax:0,totalSimpleTax:0,totalCompoundTax:0,tax:0,taxes:[]};function wt(){return{currency:null,customer:null,customer_id:null,invoice_template_id:1,sub_total:0,total:0,tax:0,notes:"",discount_type:"fixed",discount_val:0,discount:0,starts_at:null,send_automatically:!0,status:"ACTIVE",company_id:null,next_invoice_at:null,next_invoice_date:null,frequency:"0 0 * * 0",limit_count:null,limit_by:"NONE",limit_date:null,exchange_rate:null,tax_per_item:null,discount_per_item:null,template_name:null,items:[H(M({},Je),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]})],taxes:[],customFields:[],fields:[],invoices:[],selectedNote:null,selectedFrequency:{label:"Every Week",value:"0 0 * * 0"},selectedInvoice:null}}const xt=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"recurring-invoice",state:()=>({templates:[],recurringInvoices:[],selectedRecurringInvoices:[],totalRecurringInvoices:0,isFetchingInitialSettings:!1,isFetchingViewData:!1,showExchangeRate:!1,selectAllField:!1,newRecurringInvoice:M({},wt()),frequencies:[{label:"Every Minute",value:"* * * * *"},{label:"Every 30 Minute",value:"*/30 * * * *"},{label:"Every Hour",value:"0 * * * *"},{label:"Every 2 Hour",value:"0 */2 * * *"},{label:"Twice A Day",value:"0 13-15 * * *"},{label:"Every Week",value:"0 0 * * 0"},{label:"Every 15 Days",value:"0 5 */15 * *"},{label:"First Day Of Month",value:"0 0 1 * *"},{label:"Every 6 Month",value:"0 0 1 */6 *"},{label:"Every Year",value:"0 0 1 1 *"},{label:"Custom",value:"CUSTOM"}]}),getters:{getSubTotal(){var t;return((t=this.newRecurringInvoice)==null?void 0:t.items.reduce(function(s,a){return s+a.total},0))||0},getTotalSimpleTax(){return ie.sumBy(this.newRecurringInvoice.taxes,function(t){return t.compound_tax?0:t.amount})},getTotalCompoundTax(){return ie.sumBy(this.newRecurringInvoice.taxes,function(t){return t.compound_tax?t.amount:0})},getTotalTax(){return this.newRecurringInvoice.tax_per_item==="NO"||this.newRecurringInvoice.tax_per_item===null?this.getTotalSimpleTax+this.getTotalCompoundTax:ie.sumBy(this.newRecurringInvoice.items,function(t){return t.tax})},getSubtotalWithDiscount(){return this.getSubTotal-this.newRecurringInvoice.discount_val},getTotal(){return this.getSubtotalWithDiscount+this.getTotalTax}},actions:{resetCurrentRecurringInvoice(){this.newRecurringInvoice=M({},wt())},deselectItem(t){this.newRecurringInvoice.items[t]=H(M({},Je),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]})},addRecurringInvoice(t){return new Promise((s,a)=>{axios.post("/api/v1/recurring-invoices",t).then(e=>{this.recurringInvoices=[...this.recurringInvoices,e.data.recurringInvoice],E().showNotification({type:"success",message:o.t("recurring_invoices.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},fetchRecurringInvoice(t){return new Promise((s,a)=>{this.isFetchingViewData=!0,axios.get(`/api/v1/recurring-invoices/${t}`).then(e=>{Object.assign(this.newRecurringInvoice,e.data.data),this.newRecurringInvoice.invoices=e.data.data.invoices||[],this.setSelectedFrequency(),this.isFetchingViewData=!1,s(e)}).catch(e=>{this.isFetchingViewData=!1,g(e),a(e)})})},updateRecurringInvoice(t){return new Promise((s,a)=>{axios.put(`/api/v1/recurring-invoices/${t.id}`,t).then(e=>{s(e),E().showNotification({type:"success",message:o.t("recurring_invoices.updated_message")});let _=this.recurringInvoices.findIndex(u=>u.id===e.data.data.id);this.recurringInvoices[_]=e.data.data}).catch(e=>{g(e),a(e)})})},selectCustomer(t){return new Promise((s,a)=>{axios.get(`/api/v1/customers/${t}`).then(e=>{this.newRecurringInvoice.customer=e.data.data,this.newRecurringInvoice.customer_id=e.data.data.id,s(e)}).catch(e=>{g(e),a(e)})})},searchRecurringInvoice(t){return new Promise((s,a)=>{axios.get(`/api/v1/recurring-invoices?${t}`).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},fetchRecurringInvoices(t){return new Promise((s,a)=>{axios.get("/api/v1/recurring-invoices",{params:t}).then(e=>{this.recurringInvoices=e.data.data,this.totalRecurringInvoices=e.data.meta.recurring_invoice_total_count,s(e)}).catch(e=>{g(e),a(e)})})},deleteRecurringInvoice(t){return new Promise((s,a)=>{axios.post("/api/v1/recurring-invoices/delete",t).then(e=>{let n=this.recurringInvoices.findIndex(_=>_.id===t);this.recurringInvoices.splice(n,1),s(e)}).catch(e=>{g(e),a(e)})})},deleteMultipleRecurringInvoices(t){return new Promise((s,a)=>{let e=this.selectedRecurringInvoices;t&&(e=[t]),axios.post("/api/v1/recurring-invoices/delete",{ids:e}).then(n=>{this.selectedRecurringInvoices.forEach(_=>{let u=this.recurringInvoices.findIndex(y=>y.id===_.id);this.recurringInvoices.splice(u,1)}),this.selectedRecurringInvoices=[],s(n)}).catch(n=>{g(n),a(n)})})},resetSelectedCustomer(){this.newRecurringInvoice.customer=null,this.newRecurringInvoice.customer_id=""},selectRecurringInvoice(t){this.selectedRecurringInvoices=t,this.selectedRecurringInvoices.length===this.recurringInvoices.length?this.selectAllField=!0:this.selectAllField=!1},selectAllRecurringInvoices(){if(this.selectedRecurringInvoices.length===this.recurringInvoices.length)this.selectedRecurringInvoices=[],this.selectAllField=!1;else{let t=this.recurringInvoices.map(s=>s.id);this.selectedRecurringInvoices=t,this.selectAllField=!0}},addItem(){this.newRecurringInvoice.items.push(H(M({},Je),{id:X.raw(),taxes:[H(M({},he),{id:X.raw()})]}))},removeItem(t){this.newRecurringInvoice.items.splice(t,1)},updateItem(t){Object.assign(this.newRecurringInvoice.items[t.index],M({},t))},async fetchRecurringInvoiceInitialSettings(t){const s=te(),a=ze(),e=Ae(),n=Ne(),_=Fe(),u=oe();if(this.isFetchingInitialSettings=!0,this.newRecurringInvoice.currency=s.selectedCompanyCurrency,u.query.customer){let z=await a.fetchCustomer(u.query.customer);this.newRecurringInvoice.customer=z.data.data,this.selectCustomer(z.data.data.id)}let y=[];t?y=[this.fetchRecurringInvoice(u.params.id)]:(this.newRecurringInvoice.tax_per_item=s.selectedCompanySettings.tax_per_item,this.newRecurringInvoice.discount_per_item=s.selectedCompanySettings.discount_per_item,this.newRecurringInvoice.starts_at=ye().format("YYYY-MM-DD"),this.newRecurringInvoice.next_invoice_date=ye().add(7,"days").format("YYYY-MM-DD")),Promise.all([e.fetchItems({filter:{},orderByField:"",orderBy:""}),this.resetSelectedNote(),n.fetchInvoiceTemplates(),_.fetchTaxTypes({limit:"all"}),...y]).then(async([z,b,h,x,j])=>{var R,T;h.data&&(this.templates=n.templates),t||this.setTemplate(this.templates[0].name),t&&(j==null?void 0:j.data)&&(M({},j.data.data),this.setTemplate((T=(R=j==null?void 0:j.data)==null?void 0:R.data)==null?void 0:T.template_name)),this.isFetchingInitialSettings=!1}).catch(z=>{g(z)})},setTemplate(t){this.newRecurringInvoice.template_name=t},setSelectedFrequency(){let t=this.frequencies.find(s=>s.value===this.newRecurringInvoice.frequency);t?this.newRecurringInvoice.selectedFrequency=t:this.newRecurringInvoice.selectedFrequency={label:"Custom",value:"CUSTOM"}},resetSelectedNote(){this.newRecurringInvoice.selectedNote=null},fetchRecurringInvoiceFrequencyDate(t){return new Promise((s,a)=>{axios.get("/api/v1/recurring-invoice-frequency",{params:t}).then(e=>{this.newRecurringInvoice.next_invoice_at=e.data.next_invoice_at,s(e)}).catch(e=>{E().showNotification({type:"error",message:o.t("errors.enter_valid_cron_format")}),a(e)})})}}})()},Uy=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"role",state:()=>({roles:[],allAbilities:[],selectedRoles:[],currentRole:{id:null,name:"",abilities:[]}}),getters:{isEdit:t=>!!t.currentRole.id,abilitiesList:t=>{let s=t.allAbilities.map(a=>M({modelName:a.model?a.model.substring(a.model.lastIndexOf("\\")+1):"Common",disabled:!1},a));return ie.groupBy(s,"modelName")}},actions:{fetchRoles(t){return new Promise((s,a)=>{f.get("/api/v1/roles",{params:t}).then(e=>{this.roles=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},fetchRole(t){return new Promise((s,a)=>{f.get(`/api/v1/roles/${t}`).then(e=>{this.currentRole.name=e.data.data.name,this.currentRole.id=e.data.data.id,e.data.data.abilities.forEach(n=>{for(const _ in this.abilitiesList)this.abilitiesList[_].forEach(u=>{u.ability===n.name&&this.currentRole.abilities.push(u)})}),s(e)}).catch(e=>{g(e),a(e)})})},addRole(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/roles",t).then(n=>{this.roles.push(n.data.role),s.showNotification({type:"success",message:o.t("settings.roles.created_message")}),a(n)}).catch(n=>{g(n),e(n)})})},updateRole(t){const s=E();return new Promise((a,e)=>{f.put(`/api/v1/roles/${t.id}`,t).then(n=>{if(n.data){let _=this.roles.findIndex(u=>u.id===n.data.data.id);this.roles[_]=t.role,s.showNotification({type:"success",message:o.t("settings.roles.updated_message")})}a(n)}).catch(n=>{g(n),e(n)})})},fetchAbilities(t){return new Promise((s,a)=>{this.allAbilities.length?s(this.allAbilities):f.get("/api/v1/abilities",{params:t}).then(e=>{this.allAbilities=e.data.abilities,s(e)}).catch(e=>{g(e),a(e)})})},deleteRole(t){const s=E();return new Promise((a,e)=>{f.delete(`/api/v1/roles/${t}`).then(n=>{let _=this.roles.findIndex(u=>u.id===t);this.roles.splice(_,1),s.showNotification({type:"success",message:o.t("settings.roles.deleted_message")}),a(n)}).catch(n=>{g(n),e(n)})})}}})()},zt=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"users",state:()=>({roles:[],users:[],totalUsers:0,currentUser:null,selectAllField:!1,selectedUsers:[],customerList:[],userList:[],userData:{name:"",email:"",password:null,phone:null,companies:[]}}),actions:{resetUserData(){this.userData={name:"",email:"",password:null,phone:null,role:null,companies:[]}},fetchUsers(t){return new Promise((s,a)=>{f.get("/api/v1/users",{params:t}).then(e=>{this.users=e.data.data,this.totalUsers=e.data.meta.total,s(e)}).catch(e=>{g(e),a(e)})})},fetchUser(t){return new Promise((s,a)=>{f.get(`/api/v1/users/${t}`).then(e=>{var n,_;this.userData=e.data.data,((_=(n=this.userData)==null?void 0:n.companies)==null?void 0:_.length)&&this.userData.companies.forEach((u,y)=>{this.userData.roles.forEach(z=>{z.scope===u.id&&(this.userData.companies[y].role=z.name)})}),s(e)}).catch(e=>{console.log(e),g(e),a(e)})})},fetchRoles(t){return new Promise((s,a)=>{f.get("/api/v1/roles").then(e=>{this.roles=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},addUser(t){return new Promise((s,a)=>{f.post("/api/v1/users",t).then(e=>{this.users.push(e.data),E().showNotification({type:"success",message:o.t("users.created_message")}),s(e)}).catch(e=>{g(e),a(e)})})},updateUser(t){return new Promise((s,a)=>{f.put(`/api/v1/users/${t.id}`,t).then(e=>{if(e){let _=this.users.findIndex(u=>u.id===e.data.data.id);this.users[_]=e.data.data}E().showNotification({type:"success",message:o.t("users.updated_message")}),s(e)}).catch(e=>{g(e),a(e)})})},deleteUser(t){const s=E();return new Promise((a,e)=>{f.post("/api/v1/users/delete",{users:t.ids}).then(n=>{let _=this.users.findIndex(u=>u.id===t);this.users.splice(_,1),s.showNotification({type:"success",message:o.tc("users.deleted_message",1)}),a(n)}).catch(n=>{g(n),e(n)})})},deleteMultipleUsers(){return new Promise((t,s)=>{f.post("/api/v1/users/delete",{users:this.selectedUsers}).then(a=>{this.selectedUsers.forEach(n=>{let _=this.users.findIndex(u=>u.id===n.id);this.users.splice(_,1)}),E().showNotification({type:"success",message:o.tc("users.deleted_message",2)}),t(a)}).catch(a=>{g(a),s(a)})})},searchUsers(t){return new Promise((s,a)=>{window.axios.get("/api/v1/search",{params:t}).then(e=>{this.userList=e.data.users.data,this.customerList=e.data.customers.data,s(e)}).catch(e=>{g(e),a(e)})})},setSelectAllState(t){this.selectAllField=t},selectUser(t){this.selectedUsers=t,this.selectedUsers.length===this.users.length?this.selectAllField=!0:this.selectAllField=!1},selectAllUsers(){if(this.selectedUsers.length===this.users.length)this.selectedUsers=[],this.selectAllField=!1;else{let t=this.users.map(s=>s.id);this.selectedUsers=t,this.selectAllField=!0}}}})()},Ky=(i=!1)=>(i?window.pinia.defineStore:W)({id:"reset",actions:{clearPinia(){const o=Ty(),t=Iy(),s=te(),a=gt(),e=ze(),n=Ry(),_=ht(),u=Fy(),y=Me(),z=Ge(),b=My(),h=ue(),x=By(),j=Ne(),R=Ae(),T=Vy(),D=me(),k=Oy(),K=E(),U=Ly(),F=xt(),Y=Uy(),J=Fe(),ge=ve(),ae=zt();o.$reset(),t.$reset(),s.$reset(),a.$reset(),e.$reset(),n.$reset(),_.$reset(),u.$reset(),y.$reset(),z.$reset(),b.$reset(),h.$reset(),x.$reset(),j.$reset(),R.$reset(),T.$reset(),D.$reset(),k.$reset(),K.$reset(),U.$reset(),F.$reset(),Y.$reset(),J.$reset(),ge.$reset(),ae.$reset()}}})(),St=(i=!1)=>{const r=i?window.pinia.defineStore:W,o=Ky();return r({id:"auth",state:()=>({status:"",loginData:{email:"",password:"",remember:""}}),actions:{login(t){return new Promise((s,a)=>{f.get("/sanctum/csrf-cookie").then(e=>{e&&f.post("/login",t).then(n=>{s(n),setTimeout(()=>{this.loginData.email="",this.loginData.password=""},1e3)}).catch(n=>{g(n),a(n)})})})},logout(){return new Promise((t,s)=>{f.get("/auth/logout").then(a=>{E().showNotification({type:"success",message:"Logged out successfully."}),Ee.push("/login"),o.clearPinia(),t(a)}).catch(a=>{g(a),Ee.push("/"),s(a)})})}}})()},g=i=>{const r=St(),o=E();if(!i.response)o.showNotification({type:"error",message:"Please check your internet connection or wait until servers are back online."});else if(i.response.data&&(i.response.statusText==="Unauthorized"||i.response.data===" Unauthorized.")){const t=i.response.data.message?i.response.data.message:"Unauthorized";q(t),r.logout()}else if(i.response.data.errors){const t=JSON.parse(JSON.stringify(i.response.data.errors));for(const s in t)Xe(t[s][0])}else i.response.data.error?Xe(i.response.data.error):Xe(i.response.data.message)},Xe=i=>{switch(i){case"These credentials do not match our records.":q("errors.login_invalid_credentials");break;case"invalid_key":q("errors.invalid_provider_key");break;case"This feature is available on Starter plan and onwards!":q("errors.starter_plan");break;case"taxes_attached":q("settings.tax_types.already_in_use");break;case"expense_attached":q("settings.expense_category.already_in_use");break;case"payments_attached":q("settings.payment_modes.already_in_use");break;case"role_attached_to_users":q("settings.roles.already_in_use");break;case"items_attached":q("settings.customization.items.already_in_use");break;case"payment_attached_message":q("invoices.payment_attached_message");break;case"The email has already been taken.":q("validation.email_already_taken");break;case"Relation estimateItems exists.":q("items.item_attached_message");break;case"Relation invoiceItems exists.":q("items.item_attached_message");break;case"Relation taxes exists.":q("settings.tax_types.already_in_use");break;case"Relation taxes exists.":q("settings.tax_types.already_in_use");break;case"Relation payments exists.":q("errors.payment_attached");break;case"The estimate number has already been taken.":q("errors.estimate_number_used");break;case"The payment number has already been taken.":q("errors.estimate_number_used");break;case"The invoice number has already been taken.":q("errors.invoice_number_used");break;case"The name has already been taken.":q("errors.name_already_taken");break;case"total_invoice_amount_must_be_more_than_paid_amount":q("invoices.invalid_due_amount_message");break;case"you_cannot_edit_currency":q("customers.edit_currency_not_allowed");break;case"receipt_does_not_exist":q("errors.receipt_does_not_exist");break;case"customer_cannot_be_changed_after_payment_is_added":q("errors.customer_cannot_be_changed_after_payment_is_added");break;case"invalid_credentials":q("errors.invalid_credentials");break;case"not_allowed":q("errors.not_allowed");break;case"Email could not be sent to this email address.":q("errors.email_could_not_be_sent");break;default:q(i,!1);break}},q=(i,r=!0)=>{const{global:o}=window.i18n;E().showNotification({type:"error",message:r?o.t(i):i})},ve=(i=!1)=>{const r=i?window.pinia.defineStore:W,{global:o}=window.i18n;return r({id:"user",state:()=>({currentUser:null,currentAbilities:[],currentUserSettings:{},userForm:{name:"",email:"",password:"",confirm_password:"",language:""}}),getters:{currentAbilitiesCount:t=>t.currentAbilities.length},actions:{updateCurrentUser(t){return new Promise((s,a)=>{f.put("/api/v1/me",t).then(e=>{this.currentUser=e.data.data,Object.assign(this.userForm,e.data.data),E().showNotification({type:"success",message:o.t("settings.account_settings.updated_message")}),s(e)}).catch(e=>{g(e),a(e)})})},fetchCurrentUser(t){return new Promise((s,a)=>{f.get("/api/v1/me",t).then(e=>{this.currentUser=e.data.data,this.userForm=e.data.data,s(e)}).catch(e=>{g(e),a(e)})})},uploadAvatar(t){return new Promise((s,a)=>{f.post("/api/v1/me/upload-avatar",t).then(e=>{this.currentUser.avatar=e.data.data.avatar,s(e)}).catch(e=>{g(e),a(e)})})},fetchUserSettings(t){return new Promise((s,a)=>{f.get("/api/v1/me/settings",{params:{settings:t}}).then(e=>{s(e)}).catch(e=>{g(e),a(e)})})},updateUserSettings(t){return new Promise((s,a)=>{f.put("/api/v1/me/settings",t).then(e=>{t.settings.language&&(this.currentUserSettings.language=t.settings.language,o.locale=t.settings.language),s(e)}).catch(e=>{g(e),a(e)})})},hasAbilities(t){return!!this.currentAbilities.find(s=>s.name==="*"?!0:typeof t=="string"?s.name===t:!!t.find(a=>s.name===a))},hasAllAbilities(t){let s=!0;return this.currentAbilities.filter(a=>{!!t.find(n=>a.name===n)||(s=!1)}),s}}})()};var qy="/build/img/logo-white.png";const Wy={class:"flex justify-between w-full"},Zy=["onSubmit"],Hy={class:"p-4 mb-16 sm:p-6 space-y-4"},Gy={key:1,class:"flex flex-col items-center"},Yy={class:"z-0 flex justify-end p-4 bg-gray-50 border-modal-bg"},Jy={setup(i){const r=te(),o=me(),t=ue(),{t:s}=be();let a=L(!1),e=L(null),n=L(!1),_=L(null),u=L(null);const y=Te({name:null,currency:"",address:{country_id:null}}),z=N(()=>o.active&&o.componentName==="CompanyModal"),b={newCompanyForm:{name:{required:Q.withMessage(s("validation.required"),je),minLength:Q.withMessage(s("validation.name_min_length",{count:3}),Be(3))},address:{country_id:{required:Q.withMessage(s("validation.required"),je)}},currency:{required:Q.withMessage(s("validation.required"),je)}}},h=Ve(b,{newCompanyForm:y});async function x(){n.value=!0,await t.fetchCurrencies(),await t.fetchCountries(),y.currency=r.selectedCompanyCurrency.id,y.address.country_id=r.selectedCompany.address.country_id,n.value=!1}function j(K,U){u.value=K,_.value=U}function R(){u.value=null,_.value=null}async function T(){if(h.value.newCompanyForm.$touch(),h.value.$invalid)return!0;a.value=!0;try{const K=await r.addNewCompany(y);if(K.data.data){if(await r.setSelectedCompany(K.data.data),_&&_.value){let U=new FormData;U.append("company_logo",JSON.stringify({name:u.value,data:_.value})),await r.updateCompanyLogo(U)}await t.setIsAppLoaded(!1),await t.bootstrap(),k()}a.value=!1}catch{a.value=!1}}function D(){y.name="",y.currency="",y.address.country_id="",h.value.$reset()}function k(){o.closeModal(),setTimeout(()=>{D(),h.value.$reset()},300)}return(K,U)=>{const F=S("BaseIcon"),Y=S("BaseContentPlaceholdersBox"),J=S("BaseContentPlaceholders"),ge=S("BaseFileUploader"),ae=S("BaseInputGroup"),le=S("BaseInput"),Se=S("BaseMultiselect"),Pe=S("BaseInputGrid"),I=S("BaseButton"),ne=S("BaseModal");return c(),$(ne,{show:d(z),onClose:k,onOpen:x},{header:v(()=>[l("div",Wy,[A(w(d(o).title)+" ",1),m(F,{name:"XIcon",class:"w-6 h-6 text-gray-500 cursor-pointer",onClick:k})])]),default:v(()=>[l("form",{action:"",onSubmit:se(T,["prevent"])},[l("div",Hy,[m(Pe,{layout:"one-column"},{default:v(()=>[m(ae,{"content-loading":d(n),label:K.$tc("settings.company_info.company_logo")},{default:v(()=>[d(n)?(c(),$(J,{key:0},{default:v(()=>[m(Y,{rounded:!0,class:"w-full h-24"})]),_:1})):(c(),p("div",Gy,[m(ge,{"preview-image":d(e),base64:"",onRemove:R,onChange:j},null,8,["preview-image"])]))]),_:1},8,["content-loading","label"]),m(ae,{label:K.$tc("settings.company_info.company_name"),error:d(h).newCompanyForm.name.$error&&d(h).newCompanyForm.name.$errors[0].$message,"content-loading":d(n),required:""},{default:v(()=>[m(le,{modelValue:d(y).name,"onUpdate:modelValue":U[0]||(U[0]=ce=>d(y).name=ce),invalid:d(h).newCompanyForm.name.$error,"content-loading":d(n),onInput:U[1]||(U[1]=ce=>d(h).newCompanyForm.name.$touch())},null,8,["modelValue","invalid","content-loading"])]),_:1},8,["label","error","content-loading"]),m(ae,{"content-loading":d(n),label:K.$tc("settings.company_info.country"),error:d(h).newCompanyForm.address.country_id.$error&&d(h).newCompanyForm.address.country_id.$errors[0].$message,required:""},{default:v(()=>[m(Se,{modelValue:d(y).address.country_id,"onUpdate:modelValue":U[2]||(U[2]=ce=>d(y).address.country_id=ce),"content-loading":d(n),label:"name",invalid:d(h).newCompanyForm.address.country_id.$error,options:d(t).countries,"value-prop":"id","can-deselect":!0,"can-clear":!1,searchable:"","track-by":"name"},null,8,["modelValue","content-loading","invalid","options"])]),_:1},8,["content-loading","label","error"]),m(ae,{label:K.$t("wizard.currency"),error:d(h).newCompanyForm.currency.$error&&d(h).newCompanyForm.currency.$errors[0].$message,"content-loading":d(n),"help-text":K.$t("wizard.currency_set_alert"),required:""},{default:v(()=>[m(Se,{modelValue:d(y).currency,"onUpdate:modelValue":U[3]||(U[3]=ce=>d(y).currency=ce),"content-loading":d(n),options:d(t).currencies,label:"name","value-prop":"id",searchable:!0,"track-by":"name",placeholder:K.$tc("settings.currencies.select_currency"),invalid:d(h).newCompanyForm.currency.$error,class:"w-full"},null,8,["modelValue","content-loading","options","placeholder","invalid"])]),_:1},8,["label","error","content-loading","help-text"])]),_:1})]),l("div",Yy,[m(I,{class:"mr-3 text-sm",variant:"primary-outline",outline:"",type:"button",onClick:k},{default:v(()=>[A(w(K.$t("general.cancel")),1)]),_:1}),m(I,{loading:d(a),disabled:d(a),variant:"primary",type:"submit"},{left:v(ce=>[d(a)?P("",!0):(c(),$(F,{key:0,name:"SaveIcon",class:C(ce.class)},null,8,["class"]))]),default:v(()=>[A(" "+w(K.$t("general.save")),1)]),_:1},8,["loading","disabled"])])],40,Zy)]),_:1},8,["show"])}}};var O={DASHBOARD:"dashboard",CREATE_CUSTOMER:"create-customer",DELETE_CUSTOMER:"delete-customer",EDIT_CUSTOMER:"edit-customer",VIEW_CUSTOMER:"view-customer",CREATE_ITEM:"create-item",DELETE_ITEM:"delete-item",EDIT_ITEM:"edit-item",VIEW_ITEM:"view-item",CREATE_TAX_TYPE:"create-tax-type",DELETE_TAX_TYPE:"delete-tax-type",EDIT_TAX_TYPE:"edit-tax-type",VIEW_TAX_TYPE:"view-tax-type",CREATE_ESTIMATE:"create-estimate",DELETE_ESTIMATE:"delete-estimate",EDIT_ESTIMATE:"edit-estimate",VIEW_ESTIMATE:"view-estimate",SEND_ESTIMATE:"send-estimate",CREATE_INVOICE:"create-invoice",DELETE_INVOICE:"delete-invoice",EDIT_INVOICE:"edit-invoice",VIEW_INVOICE:"view-invoice",SEND_INVOICE:"send-invoice",CREATE_RECURRING_INVOICE:"create-recurring-invoice",DELETE_RECURRING_INVOICE:"delete-recurring-invoice",EDIT_RECURRING_INVOICE:"edit-recurring-invoice",VIEW_RECURRING_INVOICE:"view-recurring-invoice",CREATE_PAYMENT:"create-payment",DELETE_PAYMENT:"delete-payment",EDIT_PAYMENT:"edit-payment",VIEW_PAYMENT:"view-payment",SEND_PAYMENT:"send-payment",CREATE_EXPENSE:"create-expense",DELETE_EXPENSE:"delete-expense",EDIT_EXPENSE:"edit-expense",VIEW_EXPENSE:"view-expense",CREATE_CUSTOM_FIELDS:"create-custom-field",DELETE_CUSTOM_FIELDS:"delete-custom-field",EDIT_CUSTOM_FIELDS:"edit-custom-field",VIEW_CUSTOM_FIELDS:"view-custom-field",CREATE_ROLE:"create-role",DELETE_ROLE:"delete-role",EDIT_ROLE:"edit-role",VIEW_ROLE:"view-role",VIEW_EXCHANGE_RATE:"view-exchange-rate-provider",CREATE_EXCHANGE_RATE:"create-exchange-rate-provider",EDIT_EXCHANGE_RATE:"edit-exchange-rate-provider",DELETE_EXCHANGE_RATE:"delete-exchange-rate-provider",VIEW_FINANCIAL_REPORT:"view-financial-reports",MANAGE_NOTE:"manage-all-notes",VIEW_NOTE:"view-all-notes"};const Xy={key:0,class:"w-16 text-sm font-medium truncate sm:w-auto"},Qy={key:0,class:"absolute right-0 mt-2 bg-white rounded-md shadow-lg"},eb={class:"overflow-y-auto scrollbar-thin scrollbar-thumb-rounded-full w-[250px] max-h-[350px] scrollbar-thumb-gray-300 scrollbar-track-gray-10 pb-4"},tb={class:"px-3 py-2 text-xs font-semibold text-gray-400 mb-0.5 block uppercase"},ab={key:0,class:"flex flex-col items-center justify-center p-2 px-3 mt-4 text-base text-gray-400"},sb={key:1},nb={key:0},ib=["onClick"],ob={class:"flex items-center"},rb={class:"flex items-center justify-center mr-3 overflow-hidden text-base font-semibold bg-gray-200 rounded-md w-9 h-9 text-primary-500"},db={key:0},lb=["src"],cb={class:"flex flex-col"},_b={class:"text-sm"},ub={class:"font-medium"},mb={setup(i){const r=te(),o=me(),t=oe(),s=Oe(),a=ue(),{t:e}=be(),n=ve(),_=L(!1),u=L(""),y=L(null);fe(t,()=>{_.value=!1,u.value=""}),it(y,()=>{_.value=!1});function z(x){if(x)return x.split(" ")[0].charAt(0).toUpperCase()}function b(){o.openModal({title:e("company_switcher.new_company"),componentName:"CompanyModal",size:"sm"})}async function h(x){await r.setSelectedCompany(x),s.push("/admin/dashboard"),await a.setIsAppLoaded(!1),await a.bootstrap()}return(x,j)=>{const R=S("BaseIcon");return c(),p("div",{ref:(T,D)=>{D.companySwitchBar=T,y.value=T},class:"relative rounded"},[m(Jy),l("div",{class:"flex items-center justify-center px-3 h-8 md:h-9 ml-2 text-sm text-white bg-white rounded cursor-pointer bg-opacity-20",onClick:j[0]||(j[0]=T=>_.value=!_.value)},[d(r).selectedCompany?(c(),p("span",Xy,w(d(r).selectedCompany.name),1)):P("",!0),m(R,{name:"ChevronDownIcon",class:"h-5 ml-1 text-white"})]),m(De,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"translate-y-1 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-1 opacity-0"},{default:v(()=>[_.value?(c(),p("div",Qy,[l("div",eb,[l("label",tb,w(x.$t("company_switcher.label")),1),d(r).companies.length<1?(c(),p("div",ab,[m(R,{name:"ExclamationCircleIcon",class:"h-5 text-gray-400"}),A(" "+w(x.$t("company_switcher.no_results_found")),1)])):(c(),p("div",sb,[d(r).companies.length>0?(c(),p("div",nb,[(c(!0),p(Z,null,G(d(r).companies,(T,D)=>(c(),p("div",{key:D,class:C(["p-2 px-3 rounded-md cursor-pointer hover:bg-gray-100 hover:text-primary-500",{"bg-gray-100 text-primary-500":d(r).selectedCompany.id===T.id}]),onClick:k=>h(T)},[l("div",ob,[l("span",rb,[T.logo?(c(),p("img",{key:1,src:T.logo,alt:"Company logo",class:"w-full h-full object-contain"},null,8,lb)):(c(),p("span",db,w(z(T.name)),1))]),l("div",cb,[l("span",_b,w(T.name),1)])])],10,ib))),128))])):P("",!0)]))]),d(n).currentUser.is_owner?(c(),p("div",{key:0,class:"flex items-center justify-center p-4 pl-3 border-t-2 border-gray-100 cursor-pointer text-primary-400 hover:text-primary-500",onClick:b},[m(R,{name:"PlusIcon",class:"h-5 mr-2"}),l("span",ub,w(x.$t("company_switcher.add_new_company")),1)])):P("",!0)])):P("",!0)]),_:1})],512)}}},pb={},gb={class:"animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},fb=l("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),hb=l("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1),vb=[fb,hb];function yb(i,r){return c(),p("svg",gb,vb)}var Pt=ee(pb,[["render",yb]]);const bb={key:0,class:"scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-gray-300 scrollbar-track-gray-100 overflow-y-auto bg-white rounded-md mt-2 shadow-lg p-3 absolute w-[300px] h-[200px] right-0"},kb={key:0,class:"flex items-center justify-center text-gray-400 text-base flex-col mt-4"},wb={key:1},xb={key:0},zb={class:"text-sm text-gray-400 mb-0.5 block px-2 uppercase"},Sb={class:"flex items-center justify-center w-9 h-9 mr-3 text-base font-semibold bg-gray-200 rounded-full text-primary-500"},Pb={class:"flex flex-col"},jb={class:"text-sm"},Db={key:0,class:"text-xs text-gray-400"},Cb={key:1,class:"text-xs text-gray-400"},Ab={key:1,class:"mt-2"},Nb={class:"text-sm text-gray-400 mb-2 block px-2 mb-0.5 uppercase"},Eb={class:"flex items-center justify-center w-9 h-9 mr-3 text-base font-semibold bg-gray-200 rounded-full text-primary-500"},Tb={class:"flex flex-col"},Ib={class:"text-sm"},$b={class:"text-xs text-gray-400"},Rb={setup(i){const r=zt(),o=L(!1),t=L(""),s=L(null),a=L(!1),e=oe();fe(e,()=>{o.value=!1,t.value=""}),n=nt.exports.debounce(n,500),it(s,()=>{o.value=!1,t.value=""});function n(){let u={search:t.value};t.value&&(a.value=!0,r.searchUsers(u).then(()=>{o.value=!0}),a.value=!1),t.value===""&&(o.value=!1)}function _(u){if(u)return u.split(" ")[0].charAt(0).toUpperCase()}return(u,y)=>{const z=S("BaseIcon"),b=S("BaseInput"),h=S("router-link");return c(),p("div",{ref:(x,j)=>{j.searchBar=x,s.value=x},class:"hidden rounded md:block relative"},[l("div",null,[m(b,{modelValue:t.value,"onUpdate:modelValue":y[0]||(y[0]=x=>t.value=x),placeholder:"Search...","container-class":"!rounded",class:"h-8 md:h-9 !rounded",onInput:n},{left:v(()=>[m(z,{name:"SearchIcon",class:"text-gray-400"})]),right:v(()=>[a.value?(c(),$(Pt,{key:0,class:"h-5 text-primary-500"})):P("",!0)]),_:1},8,["modelValue"])]),m(De,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"translate-y-1 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-1 opacity-0"},{default:v(()=>[o.value?(c(),p("div",bb,[d(r).userList.length<1&&d(r).customerList.length<1?(c(),p("div",kb,[m(z,{name:"ExclamationCircleIcon",class:"text-gray-400"}),A(" "+w(u.$t("global_search.no_results_found")),1)])):(c(),p("div",wb,[d(r).customerList.length>0?(c(),p("div",xb,[l("label",zb,w(u.$t("global_search.customers")),1),(c(!0),p(Z,null,G(d(r).customerList,(x,j)=>(c(),p("div",{key:j,class:"p-2 hover:bg-gray-100 cursor-pointer rounded-md"},[m(h,{to:{path:`/admin/customers/${x.id}/view`},class:"flex items-center"},{default:v(()=>[l("span",Sb,w(_(x.name)),1),l("div",Pb,[l("span",jb,w(x.name),1),x.contact_name?(c(),p("span",Db,w(x.contact_name),1)):(c(),p("span",Cb,w(x.email),1))])]),_:2},1032,["to"])]))),128))])):P("",!0),d(r).userList.length>0?(c(),p("div",Ab,[l("label",Nb,w(u.$t("global_search.users")),1),(c(!0),p(Z,null,G(d(r).userList,(x,j)=>(c(),p("div",{key:j,class:"p-2 hover:bg-gray-100 cursor-pointer rounded-md"},[m(h,{to:{path:`users/${x.id}/view`},class:"flex items-center"},{default:v(()=>[l("span",Eb,w(_(x.name)),1),l("div",Tb,[l("span",Ib,w(x.name),1),l("span",$b,w(x.email),1)])]),_:2},1032,["to"])]))),128))])):P("",!0)]))])):P("",!0)]),_:1})],512)}}},Fb={class:"fixed top-0 left-0 z-20 flex items-center justify-between w-full px-4 py-3 md:h-16 md:px-8 bg-gradient-to-r from-primary-500 to-primary-400"},Mb=l("img",{id:"logo-white",src:qy,alt:"Crater Logo",class:"h-6"},null,-1),Bb=["onClick"],Vb={class:"flex float-right h-8 m-0 list-none md:h-9"},Ob={key:0,class:"relative hidden float-left m-0 md:block"},Lb={class:"flex items-center justify-center w-8 h-8 ml-2 text-sm text-black bg-white rounded md:h-9 md:w-9"},Ub={class:"ml-2"},Kb={class:"relative block float-left ml-2"},qb=["src"],Wb=A(" Logout "),Zb={setup(i){const r=St(),o=ve(),t=ue(),s=Oe(),a=N(()=>o.currentUser&&o.currentUser.avatar!==0?o.currentUser.avatar:e());function e(){return new URL("/build/img/default-avatar.jpg",self.location)}function n(){return o.hasAbilities([O.CREATE_INVOICE,O.CREATE_ESTIMATE,O.CREATE_CUSTOMER])}async function _(){await r.logout(),s.push("/login")}function u(){t.setSidebarVisibility(!0)}return(y,z)=>{const b=S("router-link"),h=S("BaseIcon"),x=S("BaseDropdownItem"),j=S("BaseDropdown");return c(),p("header",Fb,[m(b,{to:"/admin/dashboard",class:"float-none text-lg not-italic font-black tracking-wider text-white brand-main md:float-left font-base hidden md:block"},{default:v(()=>[Mb]),_:1}),l("div",{class:C([{"is-active":d(t).isSidebarOpen},"flex float-left p-1 overflow-visible text-sm ease-linear bg-white border-0 rounded cursor-pointer md:hidden md:ml-0 hover:bg-gray-100"]),onClick:se(u,["prevent"])},[m(h,{name:"MenuIcon",class:"!w-6 !h-6 text-gray-500"})],10,Bb),l("ul",Vb,[n?(c(),p("li",Ob,[m(j,{"width-class":"w-48"},{activator:v(()=>[l("div",Lb,[m(h,{name:"PlusIcon",class:"w-5 h-5 text-gray-600"})])]),default:v(()=>[m(b,{to:"/admin/invoices/create"},{default:v(()=>[d(o).hasAbilities(d(O).CREATE_INVOICE)?(c(),$(x,{key:0},{default:v(()=>[m(h,{name:"DocumentTextIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"}),A(" "+w(y.$t("invoices.new_invoice")),1)]),_:1})):P("",!0)]),_:1}),m(b,{to:"/admin/estimates/create"},{default:v(()=>[d(o).hasAbilities(d(O).CREATE_ESTIMATE)?(c(),$(x,{key:0},{default:v(()=>[m(h,{name:"DocumentIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"}),A(" "+w(y.$t("estimates.new_estimate")),1)]),_:1})):P("",!0)]),_:1}),m(b,{to:"/admin/customers/create"},{default:v(()=>[d(o).hasAbilities(d(O).CREATE_CUSTOMER)?(c(),$(x,{key:0},{default:v(()=>[m(h,{name:"UserIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"}),A(" "+w(y.$t("customers.new_customer")),1)]),_:1})):P("",!0)]),_:1})]),_:1})])):P("",!0),l("li",Ub,[d(o).currentUser.is_owner||d(o).hasAbilities(d(O).VIEW_CUSTOMER)?(c(),$(Rb,{key:0})):P("",!0)]),l("li",null,[m(mb)]),l("li",Kb,[m(j,{"width-class":"w-48"},{activator:v(()=>[l("img",{src:d(a),class:"block w-8 h-8 rounded md:h-9 md:w-9"},null,8,qb)]),default:v(()=>[m(b,{to:"/admin/settings/account-settings"},{default:v(()=>[m(x,null,{default:v(()=>[m(h,{name:"CogIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"}),A(" "+w(y.$t("navigation.settings")),1)]),_:1})]),_:1}),m(x,{onClick:_},{default:v(()=>[m(h,{name:"LogoutIcon",class:"w-5 h-5 mr-3 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"}),Wb]),_:1})]),_:1})])])])}}};var Qe="/build/img/crater-logo.png";const Hb={class:"relative flex flex-col flex-1 w-full max-w-xs bg-white"},Gb={class:"absolute top-0 right-0 pt-2 -mr-12"},Yb=l("span",{class:"sr-only"},"Close sidebar",-1),Jb={class:"flex-1 h-0 pt-5 pb-4 overflow-y-auto"},Xb=l("div",{class:"flex items-center flex-shrink-0 px-4 mb-10"},[l("img",{src:Qe,class:"block h-auto max-w-full w-36 text-primary-400",alt:"Crater Logo"})],-1),Qb=l("div",{class:"flex-shrink-0 w-14"},null,-1),ek={class:"hidden w-56 h-screen h-screen-ios pb-32 overflow-y-auto bg-white border-r border-gray-200 border-solid xl:w-64 md:fixed md:flex md:flex-col md:inset-y-0 pt-16"},tk={setup(i){const r=oe(),o=ue();function t(s){return r.path.indexOf(s)>-1}return(s,a)=>{const e=S("BaseIcon"),n=S("router-link");return c(),p(Z,null,[m(d(Ke),{as:"template",show:d(o).isSidebarOpen},{default:v(()=>[m(d(Le),{as:"div",class:"fixed inset-0 z-40 flex md:hidden",onClose:a[3]||(a[3]=_=>d(o).setSidebarVisibility(!1))},{default:v(()=>[m(d(ke),{as:"template",enter:"transition-opacity ease-linear duration-300","enter-from":"opacity-0","enter-to":"opacity-100",leave:"transition-opacity ease-linear duration-300","leave-from":"opacity-100","leave-to":"opacity-0"},{default:v(()=>[m(d(Ue),{class:"fixed inset-0 bg-gray-600 bg-opacity-75"})]),_:1}),m(d(ke),{as:"template",enter:"transition ease-in-out duration-300 transform","enter-from":"-translate-x-full","enter-to":"translate-x-0",leave:"transition ease-in-out duration-300 transform","leave-from":"translate-x-0","leave-to":"-translate-x-full"},{default:v(()=>[l("div",Hb,[m(d(ke),{as:"template",enter:"ease-in-out duration-300","enter-from":"opacity-0","enter-to":"opacity-100",leave:"ease-in-out duration-300","leave-from":"opacity-100","leave-to":"opacity-0"},{default:v(()=>[l("div",Gb,[l("button",{class:"flex items-center justify-center w-10 h-10 ml-1 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white",onClick:a[0]||(a[0]=_=>d(o).setSidebarVisibility(!1))},[Yb,m(e,{name:"XIcon",class:"w-6 h-6 text-white","aria-hidden":"true"})])])]),_:1}),l("div",Jb,[Xb,(c(!0),p(Z,null,G(d(o).menuGroups,_=>(c(),p("nav",{key:_,class:"mt-5 space-y-1"},[(c(!0),p(Z,null,G(_,u=>(c(),$(n,{key:u.name,to:u.link,class:C([t(u.link)?"text-primary-500 border-primary-500 bg-gray-100 ":"text-black","cursor-pointer px-0 pl-4 py-3 border-transparent flex items-center border-l-4 border-solid text-sm not-italic font-medium"]),onClick:a[2]||(a[2]=y=>d(o).setSidebarVisibility(!1))},{default:v(()=>[m(e,{name:u.icon,class:C([t(u.link)?"text-primary-500 ":"text-gray-400","mr-4 flex-shrink-0 h-5 w-5"]),onClick:a[1]||(a[1]=y=>d(o).setSidebarVisibility(!1))},null,8,["name","class"]),A(" "+w(s.$t(u.title)),1)]),_:2},1032,["to","class"]))),128))]))),128))])])]),_:1}),Qb]),_:1})]),_:1},8,["show"]),l("div",ek,[(c(!0),p(Z,null,G(d(o).menuGroups,_=>(c(),p("div",{key:_,class:"p-0 m-0 mt-6 list-none"},[(c(!0),p(Z,null,G(_,u=>(c(),$(n,{key:u,to:u.link,class:C([t(u.link)?"text-primary-500 border-primary-500 bg-gray-100 ":"text-black","cursor-pointer px-0 pl-6 hover:bg-gray-50 py-3 group flex items-center border-l-4 border-solid border-transparent text-sm not-italic font-medium"])},{default:v(()=>[m(e,{name:u.icon,class:C([t(u.link)?"text-primary-500 group-hover:text-primary-500 ":"text-gray-400 group-hover:text-black","mr-4 flex-shrink-0 h-5 w-5 "])},null,8,["name","class"]),A(" "+w(s.$t(u.title)),1)]),_:2},1032,["to","class"]))),128))]))),128))])],64)}}},ak=["onClick"],sk={class:"overflow-hidden rounded-lg shadow-xs"},nk={class:"p-4"},ik={class:"flex items-start"},ok={class:"flex-shrink-0"},rk={key:0,class:"w-6 h-6 text-green-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},dk=l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),lk=[dk],ck={key:1,class:"w-6 h-6 text-blue-400",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},_k=l("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z","clip-rule":"evenodd"},null,-1),uk=[_k],mk={key:2,class:"w-6 h-6 text-red-400",fill:"currentColor",viewBox:"0 0 24 24"},pk=l("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z","clip-rule":"evenodd"},null,-1),gk=[pk],fk={class:"flex-1 w-0 ml-3 text-left"},hk={class:"flex flex-shrink-0"},vk=l("svg",{class:"w-6 h-6",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),yk=[vk],bk={props:{notification:{type:Object,default:null}},setup(i){const r=i,o=E();let t=L("");const s=N(()=>r.notification.type=="success"),a=N(()=>r.notification.type=="error"),e=N(()=>r.notification.type=="info");function n(){o.hideNotification(r.notification)}function _(){clearTimeout(t)}function u(){t=setTimeout(()=>{o.hideNotification(r.notification)},r.notification.time||5e3)}return we(()=>{u()}),(y,z)=>(c(),p("div",{class:C([d(s)||d(e)?"bg-white":"bg-red-50","max-w-sm mb-3 rounded-lg shadow-lg cursor-pointer pointer-events-auto w-full md:w-96"]),onClick:se(n,["stop"]),onMouseenter:_,onMouseleave:u},[l("div",sk,[l("div",nk,[l("div",ik,[l("div",ok,[d(s)?(c(),p("svg",rk,lk)):P("",!0),d(e)?(c(),p("svg",ck,uk)):P("",!0),d(a)?(c(),p("svg",mk,gk)):P("",!0)]),l("div",fk,[l("p",{class:C(`text-sm leading-5 font-medium ${d(s)||d(e)?"text-gray-900":"text-red-800"}`)},w(i.notification.title?i.notification.title:d(s)?"Success!":"Error"),3),l("p",{class:C(`mt-1 text-sm leading-5 ${d(s)||d(e)?"text-gray-500":"text-red-700"}`)},w(i.notification.message?i.notification.message:d(s)?"Successful":"Somthing went wrong"),3)]),l("div",hk,[l("button",{class:C([d(s)||d(e)?" text-gray-400 focus:text-gray-500":"text-red-400 focus:text-red-500","inline-flex w-5 h-5 transition duration-150 ease-in-out focus:outline-none"]),onClick:n},yk,2)])])])])],42,ak))}},kk={components:{NotificationItem:bk},setup(){const i=E();return{notifications:N(()=>i.notifications)}}},wk={class:"fixed inset-0 z-50 flex flex-col items-end justify-start w-full px-4 py-6 pointer-events-none sm:p-6"};function xk(i,r,o,t,s,a){const e=S("NotificationItem");return c(),p("div",wk,[m(Ut,{"enter-active-class":"transition duration-300 ease-out transform","enter-from-class":"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2","enter-to-class":"translate-y-0 opacity-100 sm:translate-x-0","leave-active-class":"transition duration-100 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:v(()=>[(c(!0),p(Z,null,G(t.notifications,n=>(c(),$(e,{key:n.id,notification:n},null,8,["notification"]))),128))]),_:1})])}var jt=ee(kk,[["render",xk]]);const zk={class:"font-medium text-lg text-left"},Sk={class:"mt-2 text-sm leading-snug text-gray-500",style:{"max-width":"680px"}},Pk=["onSubmit"],jk={class:"text-gray-500 sm:text-sm"},Dk={class:"text-gray-400 text-xs mt-2 font-light"},Ck={slot:"footer",class:"z-0 flex justify-end mt-4 pt-4 border-t border-gray-200 border-solid border-modal-bg"},Ak={emits:["update"],setup(i,{emit:r}){const o=Ge();E();const t=te(),{t:s,tm:a}=be();let e=L(!1);L(!1);const n={exchange_rate:{required:Q.withMessage(s("validation.required"),je),decimal:Q.withMessage(s("validation.valid_exchange_rate"),Kt)}},_=Ve();async function u(){if(_.value.$touch(),_.value.$invalid)return!0;e.value=!0;let y=o.bulkCurrencies.map(b=>({id:b.id,exchange_rate:b.exchange_rate})),z=await o.updateBulkExchangeRate({currencies:y});z.data.success&&r("update",z.data.success),e.value=!1}return(y,z)=>{const b=S("BaseInput"),h=S("BaseInputGroup"),x=S("BaseButton"),j=S("BaseCard");return c(),$(j,null,{default:v(()=>[l("h6",zk,w(y.$t("settings.exchange_rate.title")),1),l("p",Sk,w(y.$t("settings.exchange_rate.description",{currency:d(t).selectedCompanyCurrency.name})),1),l("form",{action:"",onSubmit:se(u,["prevent"])},[(c(!0),p(Z,null,G(d(o).bulkCurrencies,(R,T)=>(c(),$(d(qt),{key:T,state:R,rules:n},{default:v(({v:D})=>[m(h,{class:"my-5",label:`${R.code} to ${d(t).selectedCompanyCurrency.code}`,error:D.exchange_rate.$error&&D.exchange_rate.$errors[0].$message,required:""},{default:v(()=>[m(b,{modelValue:R.exchange_rate,"onUpdate:modelValue":k=>R.exchange_rate=k,addon:`1 ${R.code} =`,invalid:D.exchange_rate.$error,onInput:k=>D.exchange_rate.$touch()},{right:v(()=>[l("span",jk,w(d(t).selectedCompanyCurrency.code),1)]),_:2},1032,["modelValue","onUpdate:modelValue","addon","invalid","onInput"]),l("span",Dk,w(y.$t("settings.exchange_rate.exchange_help_text",{currency:R.code,baseCurrency:d(t).selectedCompanyCurrency.code})),1)]),_:2},1032,["label","error"])]),_:2},1032,["state"]))),128)),l("div",Ck,[m(x,{loading:d(e),variant:"primary",type:"submit"},{default:v(()=>[A(w(y.$t("general.save")),1)]),_:1},8,["loading"])])],40,Pk)]),_:1})}}},Nk={setup(i){const r=me(),o=N(()=>r.active&&r.componentName==="ExchangeRateBulkUpdateModal");function t(){r.closeModal()}return(s,a)=>{const e=S("BaseModal");return c(),$(e,{show:d(o)},{default:v(()=>[m(Ak,{onUpdate:a[0]||(a[0]=n=>t())})]),_:1},8,["show"])}}},Ek={key:0,class:"h-full"},Tk={class:"mt-16 pb-16 h-screen h-screen-ios overflow-y-auto md:pl-56 xl:pl-64 min-h-0"},Ik={setup(i){const r=ue(),o=oe(),t=ve(),s=Oe(),a=me();be();const e=Ge(),n=te(),_=N(()=>r.isAppLoaded);return we(()=>{r.bootstrap().then(u=>{o.meta.ability&&!t.hasAbilities(o.meta.ability)?s.push({name:"account.settings"}):o.meta.isOwner&&!t.currentUser.is_owner&&s.push({name:"account.settings"}),u.data.current_company_settings.bulk_exchange_rate_configured==="NO"&&e.fetchBulkCurrencies().then(y=>{if(y.data.currencies.length)a.openModal({componentName:"ExchangeRateBulkUpdateModal",size:"sm"});else{let z={settings:{bulk_exchange_rate_configured:"YES"}};n.updateCompanySettings({data:z})}})})}),(u,y)=>{const z=S("router-view"),b=S("BaseGlobalLoader");return d(_)?(c(),p("div",Ek,[m(jt),m(Zb),m(tk),m(Nk),l("main",Tk,[m(z)])])):(c(),$(b,{key:1}))}}};const $k=i=>(Wt("data-v-276a8070"),i=i(),Zt(),i),Rk={class:"grid h-screen h-screen-ios grid-cols-12 overflow-y-hidden bg-gray-100"},Fk={class:"flex items-center justify-center w-full max-w-sm col-span-12 p-4 mx-auto text-gray-900 md:p-8 md:col-span-6 lg:col-span-4 flex-2 md:pb-48 md:pt-40"},Mk={class:"w-full"},Bk=$k(()=>l("img",{src:Qe,class:"block w-48 h-auto max-w-full mb-32 text-primary-400",alt:"Crater Logo"},null,-1)),Vk={class:"pt-24 mt-0 text-sm not-italic font-medium leading-relaxed text-left text-gray-400 md:pt-40"},Ok={class:"mb-3"},Lk=Ht('',1),Uk={setup(i){return(r,o)=>{const t=S("router-view");return c(),p("div",Rk,[m(jt),l("div",Fk,[l("div",Mk,[Bk,m(t),l("div",Vk,[l("p",Ok," Copyright @ Crater Invoice, Inc. "+w(new Date().getFullYear()),1)])])]),Lk])}}};var Kk=ee(Uk,[["__scopeId","data-v-276a8070"]]);const qk=()=>V(()=>import("./LayoutInstallation.1e0eeaed.js"),["assets/LayoutInstallation.1e0eeaed.js","assets/vendor.e9042f2c.js"]),Dt=()=>V(()=>import("./Login.fb8df271.js"),["assets/Login.fb8df271.js","assets/vendor.e9042f2c.js"]),Wk=()=>V(()=>import("./ResetPassword.27f6d6a2.js"),["assets/ResetPassword.27f6d6a2.js","assets/vendor.e9042f2c.js"]),Zk=()=>V(()=>import("./ForgotPassword.7224f642.js"),["assets/ForgotPassword.7224f642.js","assets/vendor.e9042f2c.js"]),Hk=()=>V(()=>import("./Dashboard.93a0a8a7.js"),["assets/Dashboard.93a0a8a7.js","assets/vendor.e9042f2c.js","assets/LineChart.b8a2f8c7.js","assets/InvoiceIndexDropdown.8a8f3a1b.js","assets/EstimateIndexDropdown.07f4535c.js"]),Gk=()=>V(()=>import("./Index.9ec514e7.js"),["assets/Index.9ec514e7.js","assets/vendor.e9042f2c.js","assets/CustomerIndexDropdown.37892b71.js","assets/AstronautIcon.52e0dffc.js"]),Ct=()=>V(()=>import("./Create.71646428.js"),["assets/Create.71646428.js","assets/vendor.e9042f2c.js","assets/CreateCustomFields.31e45d63.js"]),Yk=()=>V(()=>import("./View.b467c092.js"),["assets/View.b467c092.js","assets/vendor.e9042f2c.js","assets/LoadingIcon.edb4fe20.js","assets/LineChart.b8a2f8c7.js","assets/CustomerIndexDropdown.37892b71.js"]),Jk=()=>V(()=>import("./SettingsIndex.cba192c6.js"),["assets/SettingsIndex.cba192c6.js","assets/vendor.e9042f2c.js"]),Xk=()=>V(()=>import("./AccountSetting.df3673e7.js"),["assets/AccountSetting.df3673e7.js","assets/vendor.e9042f2c.js"]),Qk=()=>V(()=>import("./CompanyInfoSettings.b6bf55cb.js"),["assets/CompanyInfoSettings.b6bf55cb.js","assets/vendor.e9042f2c.js"]),ew=()=>V(()=>import("./PreferencesSetting.828ac2a0.js"),["assets/PreferencesSetting.828ac2a0.js","assets/vendor.e9042f2c.js"]),tw=()=>V(()=>import("./CustomizationSetting.cb490a99.js"),["assets/CustomizationSetting.cb490a99.js","assets/vendor.e9042f2c.js","assets/DragIcon.0cd95723.js","assets/ItemUnitModal.cb16f673.js"]),aw=()=>V(()=>import("./NotificationsSetting.4dd65413.js"),["assets/NotificationsSetting.4dd65413.js","assets/vendor.e9042f2c.js"]),sw=()=>V(()=>import("./TaxTypesSetting.31d51667.js"),["assets/TaxTypesSetting.31d51667.js","assets/vendor.e9042f2c.js","assets/TaxTypeModal.2309f47d.js"]),nw=()=>V(()=>import("./PaymentsModeSetting.4ecc7bb2.js"),["assets/PaymentsModeSetting.4ecc7bb2.js","assets/vendor.e9042f2c.js","assets/PaymentModeModal.83905526.js"]),iw=()=>V(()=>import("./CustomFieldsSetting.f64b000e.js"),["assets/CustomFieldsSetting.f64b000e.js","assets/vendor.e9042f2c.js"]),ow=()=>V(()=>import("./NotesSetting.5d0ab746.js"),["assets/NotesSetting.5d0ab746.js","assets/vendor.e9042f2c.js","assets/NoteModal.0435aa4f.js","assets/NoteModal.3245b7d3.css"]),rw=()=>V(()=>import("./ExpenseCategorySetting.6da85823.js"),["assets/ExpenseCategorySetting.6da85823.js","assets/vendor.e9042f2c.js","assets/CategoryModal.d7852af2.js"]),dw=()=>V(()=>import("./ExchangeRateProviderSetting.58295b51.js"),["assets/ExchangeRateProviderSetting.58295b51.js","assets/vendor.e9042f2c.js","assets/BaseTable.794f86e1.js"]),lw=()=>V(()=>import("./MailConfigSetting.64d36b41.js"),["assets/MailConfigSetting.64d36b41.js","assets/vendor.e9042f2c.js"]),cw=()=>V(()=>import("./FileDiskSetting.291dbb8a.js"),["assets/FileDiskSetting.291dbb8a.js","assets/vendor.e9042f2c.js"]),_w=()=>V(()=>import("./BackupSetting.7f4c0922.js"),["assets/BackupSetting.7f4c0922.js","assets/vendor.e9042f2c.js"]),uw=()=>V(()=>import("./UpdateAppSetting.0045e27a.js"),["assets/UpdateAppSetting.0045e27a.js","assets/UpdateAppSetting.7d8b987a.css","assets/vendor.e9042f2c.js","assets/LoadingIcon.edb4fe20.js"]),mw=()=>V(()=>import("./RolesSettings.c3b08c2c.js"),["assets/RolesSettings.c3b08c2c.js","assets/vendor.e9042f2c.js"]),pw=()=>V(()=>import("./Index.93cc88be.js"),["assets/Index.93cc88be.js","assets/vendor.e9042f2c.js"]),At=()=>V(()=>import("./Create.bccdc9c0.js"),["assets/Create.bccdc9c0.js","assets/vendor.e9042f2c.js","assets/ItemUnitModal.cb16f673.js"]),gw=()=>V(()=>import("./Index.4b4c096d.js"),["assets/Index.4b4c096d.js","assets/vendor.e9042f2c.js"]),Nt=()=>V(()=>import("./Create.a4bc47df.js"),["assets/Create.a4bc47df.js","assets/vendor.e9042f2c.js","assets/CreateCustomFields.31e45d63.js","assets/CategoryModal.d7852af2.js","assets/ExchangeRateConverter.2eb3213d.js"]),fw=()=>V(()=>import("./Index.591593fe.js"),["assets/Index.591593fe.js","assets/vendor.e9042f2c.js","assets/AstronautIcon.52e0dffc.js"]),Et=()=>V(()=>import("./Create.e26371fe.js"),["assets/Create.e26371fe.js","assets/vendor.e9042f2c.js"]),hw=()=>V(()=>import("./Index.c73f3a98.js"),["assets/Index.c73f3a98.js","assets/vendor.e9042f2c.js","assets/EstimateIndexDropdown.07f4535c.js","assets/SendEstimateModal.8b30678e.js"]),Tt=()=>V(()=>import("./EstimateCreate.0b5fe1e4.js"),["assets/EstimateCreate.0b5fe1e4.js","assets/vendor.e9042f2c.js","assets/ItemModal.6c4a6110.js","assets/DragIcon.0cd95723.js","assets/SelectNotePopup.8c3a3989.js","assets/NoteModal.0435aa4f.js","assets/NoteModal.3245b7d3.css","assets/CreateCustomFields.31e45d63.js","assets/ExchangeRateConverter.2eb3213d.js","assets/TaxTypeModal.2309f47d.js"]),vw=()=>V(()=>import("./View.3ffa9aec.js"),["assets/View.3ffa9aec.js","assets/vendor.e9042f2c.js","assets/EstimateIndexDropdown.07f4535c.js","assets/SendEstimateModal.8b30678e.js","assets/LoadingIcon.edb4fe20.js"]),yw=()=>V(()=>import("./Index.505bc3b9.js"),["assets/Index.505bc3b9.js","assets/vendor.e9042f2c.js","assets/SendPaymentModal.da770177.js"]),et=()=>V(()=>import("./Create.af358409.js"),["assets/Create.af358409.js","assets/vendor.e9042f2c.js","assets/ExchangeRateConverter.2eb3213d.js","assets/SelectNotePopup.8c3a3989.js","assets/NoteModal.0435aa4f.js","assets/NoteModal.3245b7d3.css","assets/CreateCustomFields.31e45d63.js","assets/PaymentModeModal.83905526.js"]),bw=()=>V(()=>import("./View.08ff6615.js"),["assets/View.08ff6615.js","assets/vendor.e9042f2c.js","assets/SendPaymentModal.da770177.js","assets/LoadingIcon.edb4fe20.js"]),kw=()=>V(()=>import("./404.77adcf05.js"),["assets/404.77adcf05.js","assets/vendor.e9042f2c.js"]),ww=()=>V(()=>import("./Index.cfa4ca4e.js"),["assets/Index.cfa4ca4e.js","assets/vendor.e9042f2c.js","assets/MoonwalkerIcon.a8d19439.js","assets/InvoiceIndexDropdown.8a8f3a1b.js","assets/SendInvoiceModal.59d8474e.js"]),It=()=>V(()=>import("./InvoiceCreate.1a72a476.js"),["assets/InvoiceCreate.1a72a476.js","assets/vendor.e9042f2c.js","assets/ItemModal.6c4a6110.js","assets/DragIcon.0cd95723.js","assets/SelectNotePopup.8c3a3989.js","assets/NoteModal.0435aa4f.js","assets/NoteModal.3245b7d3.css","assets/ExchangeRateConverter.2eb3213d.js","assets/CreateCustomFields.31e45d63.js","assets/TaxTypeModal.2309f47d.js"]),xw=()=>V(()=>import("./View.9941cf9f.js"),["assets/View.9941cf9f.js","assets/vendor.e9042f2c.js","assets/InvoiceIndexDropdown.8a8f3a1b.js","assets/SendInvoiceModal.59d8474e.js","assets/LoadingIcon.edb4fe20.js"]),zw=()=>V(()=>import("./Index.6ad728c1.js"),["assets/Index.6ad728c1.js","assets/vendor.e9042f2c.js","assets/SendInvoiceModal.59d8474e.js","assets/RecurringInvoiceIndexDropdown.63452d24.js","assets/MoonwalkerIcon.a8d19439.js"]),$t=()=>V(()=>import("./RecurringInvoiceCreate.2830930f.js"),["assets/RecurringInvoiceCreate.2830930f.js","assets/vendor.e9042f2c.js","assets/ItemModal.6c4a6110.js","assets/DragIcon.0cd95723.js","assets/SelectNotePopup.8c3a3989.js","assets/NoteModal.0435aa4f.js","assets/NoteModal.3245b7d3.css","assets/ExchangeRateConverter.2eb3213d.js","assets/CreateCustomFields.31e45d63.js","assets/TaxTypeModal.2309f47d.js"]),Sw=()=>V(()=>import("./View.765a7253.js"),["assets/View.765a7253.js","assets/vendor.e9042f2c.js","assets/LoadingIcon.edb4fe20.js","assets/InvoiceIndexDropdown.8a8f3a1b.js","assets/SendInvoiceModal.59d8474e.js","assets/RecurringInvoiceIndexDropdown.63452d24.js"]),Pw=()=>V(()=>import("./Index.952bfeaf.js"),["assets/Index.952bfeaf.js","assets/vendor.e9042f2c.js"]),jw=()=>V(()=>import("./Installation.dba5af35.js"),["assets/Installation.dba5af35.js","assets/vendor.e9042f2c.js"]);let Dw=[{path:"/installation",component:qk,meta:{requiresAuth:!1},children:[{path:"/installation",component:jw,name:"installation"}]},{path:"/",component:Kk,meta:{requiresAuth:!1,redirectIfAuthenticated:!0},children:[{path:"/",component:Dt},{path:"login",name:"login",component:Dt},{path:"forgot-password",component:Zk,name:"forgot-password"},{path:"/reset-password/:token",component:Wk,name:"reset-password"}]},{path:"/admin",component:Ik,meta:{requiresAuth:!0},children:[{path:"dashboard",name:"dashboard",meta:{ability:O.DASHBOARD},component:Hk},{path:"customers",meta:{ability:O.VIEW_CUSTOMER},component:Gk},{path:"customers/create",name:"customers.create",meta:{ability:O.CREATE_CUSTOMER},component:Ct},{path:"customers/:id/edit",name:"customers.edit",meta:{ability:O.EDIT_CUSTOMER},component:Ct},{path:"customers/:id/view",name:"customers.view",meta:{ability:O.VIEW_CUSTOMER},component:Yk},{path:"payments",meta:{ability:O.VIEW_PAYMENT},component:yw},{path:"payments/create",name:"payments.create",meta:{ability:O.CREATE_PAYMENT},component:et},{path:"payments/:id/create",name:"invoice.payments.create",meta:{ability:O.CREATE_PAYMENT},component:et},{path:"payments/:id/edit",name:"payments.edit",meta:{ability:O.EDIT_PAYMENT},component:et},{path:"payments/:id/view",name:"payments.view",meta:{ability:O.VIEW_PAYMENT},component:bw},{path:"settings",name:"settings",component:Jk,children:[{path:"account-settings",name:"account.settings",component:Xk},{path:"company-info",name:"company.info",meta:{isOwner:!0},component:Qk},{path:"preferences",name:"preferences",meta:{isOwner:!0},component:ew},{path:"customization",name:"customization",meta:{isOwner:!0},component:tw},{path:"notifications",name:"notifications",meta:{isOwner:!0},component:aw},{path:"roles-settings",name:"roles.settings",meta:{isOwner:!0},component:mw},{path:"exchange-rate-provider",name:"exchange.rate.provider",meta:{ability:O.VIEW_EXCHANGE_RATE},component:dw},{path:"tax-types",name:"tax.types",meta:{ability:O.VIEW_TAX_TYPE},component:sw},{path:"notes",name:"notes",meta:{ability:O.VIEW_ALL_NOTES},component:ow},{path:"payment-mode",name:"payment.mode",component:nw},{path:"custom-fields",name:"custom.fields",meta:{ability:O.VIEW_CUSTOM_FIELDS},component:iw},{path:"expense-category",name:"expense.category",meta:{ability:O.VIEW_EXPENSE},component:rw},{path:"mail-configuration",name:"mailconfig",meta:{isOwner:!0},component:lw},{path:"file-disk",name:"file-disk",meta:{isOwner:!0},component:cw},{path:"backup",name:"backup",meta:{isOwner:!0},component:_w},{path:"update-app",name:"updateapp",meta:{isOwner:!0},component:uw}]},{path:"items",meta:{ability:O.VIEW_ITEM},component:pw},{path:"items/create",name:"items.create",meta:{ability:O.CREATE_ITEM},component:At},{path:"items/:id/edit",name:"items.edit",meta:{ability:O.EDIT_ITEM},component:At},{path:"expenses",meta:{ability:O.VIEW_EXPENSE},component:gw},{path:"expenses/create",name:"expenses.create",meta:{ability:O.CREATE_EXPENSE},component:Nt},{path:"expenses/:id/edit",name:"expenses.edit",meta:{ability:O.EDIT_EXPENSE},component:Nt},{path:"users",name:"users.index",meta:{isOwner:!0},component:fw},{path:"users/create",meta:{isOwner:!0},name:"users.create",component:Et},{path:"users/:id/edit",name:"users.edit",meta:{isOwner:!0},component:Et},{path:"estimates",name:"estimates.index",meta:{ability:O.VIEW_ESTIMATE},component:hw},{path:"estimates/create",name:"estimates.create",meta:{ability:O.CREATE_ESTIMATE},component:Tt},{path:"estimates/:id/view",name:"estimates.view",meta:{ability:O.VIEW_ESTIMATE},component:vw},{path:"estimates/:id/edit",name:"estimates.edit",meta:{ability:O.EDIT_ESTIMATE},component:Tt},{path:"invoices",name:"invoices.index",meta:{ability:O.VIEW_INVOICE},component:ww},{path:"invoices/create",name:"invoices.create",meta:{ability:O.CREATE_INVOICE},component:It},{path:"invoices/:id/view",name:"invoices.view",meta:{ability:O.VIEW_INVOICE},component:xw},{path:"invoices/:id/edit",name:"invoices.edit",meta:{ability:O.EDIT_INVOICE},component:It},{path:"recurring-invoices",name:"recurring-invoices.index",meta:{ability:O.VIEW_RECURRING_INVOICE},component:zw},{path:"recurring-invoices/create",name:"recurring-invoices.create",meta:{ability:O.CREATE_RECURRING_INVOICE},component:$t},{path:"recurring-invoices/:id/view",name:"recurring-invoices.view",meta:{ability:O.VIEW_RECURRING_INVOICE},component:Sw},{path:"recurring-invoices/:id/edit",name:"recurring-invoices.edit",meta:{ability:O.EDIT_RECURRING_INVOICE},component:$t},{path:"reports",meta:{ability:O.VIEW_FINANCIAL_REPORT},component:Pw}]},{path:"/:catchAll(.*)",component:kw}];const Ee=Gt({history:Yt(),linkActiveClass:"active",routes:Dw});Ee.beforeEach((i,r,o)=>{const t=ve(),s=ue();let a=i.meta.ability;const{isAppLoaded:e}=s;a&&e&&i.meta.requiresAuth?t.hasAbilities(a)?o():o({name:"account.settings"}):i.meta.isOwner&&e?t.currentUser.is_owner?o():o({name:"dashboard"}):o()});const Cw={props:{bgColor:{type:String,default:null},color:{type:String,default:null}},setup(i){return(r,o)=>(c(),p("span",{class:"px-2 py-1 text-sm font-normal text-center text-green-800 uppercase bg-success",style:qe({backgroundColor:i.bgColor,color:i.color})},[B(r.$slots,"default")],4))}};var Aw=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Cw});const Nw={name:"BaseBreadcrumb"},Ew={class:"flex flex-wrap py-4 text-gray-900 rounded list-reset"};function Tw(i,r,o,t,s,a){return c(),p("nav",null,[l("ol",Ew,[B(i.$slots,"default")])])}var Iw=ee(Nw,[["render",Tw]]),$w=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Iw});const Rw={class:"pr-2 text-sm"},Fw={key:0,class:"px-1"},Mw={props:{title:{type:String,default:String},to:{type:String,default:"#"},active:{type:Boolean,default:!1,required:!1}},setup(i){return(r,o)=>{const t=S("router-link");return c(),p("li",Rw,[m(t,{class:"m-0 mr-2 text-sm font-medium leading-5 text-gray-900 outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-400",to:i.to},{default:v(()=>[A(w(i.title),1)]),_:1},8,["to"]),i.active?P("",!0):(c(),p("span",Fw,"/"))])}}};var Bw=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Mw});const Vw={props:{contentLoading:{type:Boolean,default:!1},defaultClass:{type:String,default:"inline-flex whitespace-nowrap items-center border font-medium focus:outline-none focus:ring-2 focus:ring-offset-2"},tag:{type:String,default:"button"},disabled:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:String,default:"md",validator:function(i){return["xs","sm","md","lg","xl"].indexOf(i)!==-1}},variant:{type:String,default:"primary",validator:function(i){return["primary","secondary","primary-outline","white","danger","gray"].indexOf(i)!==-1}}},setup(i){const r=i,o=N(()=>({"px-2.5 py-1.5 text-xs leading-4 rounded":r.size==="xs","px-3 py-2 text-sm leading-4 rounded-md":r.size=="sm","px-4 py-2 text-sm leading-5 rounded-md":r.size==="md","px-4 py-2 text-base leading-6 rounded-md":r.size==="lg","px-6 py-3 text-base leading-6 rounded-md":r.size==="xl"})),t=N(()=>{switch(r.size){case"xs":return"32";case"sm":return"38";case"md":return"42";case"lg":return"42";case"xl":return"46";default:return""}}),s=N(()=>({"border-transparent shadow-sm text-white bg-primary-600 hover:bg-primary-700 focus:ring-primary-500":r.variant==="primary","border-transparent text-primary-700 bg-primary-100 hover:bg-primary-200 focus:ring-primary-500":r.variant==="secondary","border-transparent border-solid border-primary-500 font-normal transition ease-in-out duration-150 text-primary-500 hover:bg-primary-200 shadow-inner ":r.variant=="primary-outline","border-gray-200 text-gray-700 bg-white hover:bg-gray-50 focus:ring-primary-500 focus:ring-offset-0":r.variant=="white","border-transparent shadow-sm text-white bg-red-600 hover:bg-red-700 focus:ring-red-500":r.variant==="danger","border-transparent bg-gray-200 border hover:bg-opacity-60 focus:ring-gray-500 focus:ring-offset-0":r.variant==="gray"})),a=N(()=>r.rounded?"!rounded-full":""),e=N(()=>({"-ml-0.5 mr-2 h-4 w-4":r.size=="sm","-ml-1 mr-2 h-5 w-5":r.size==="md","-ml-1 mr-3 h-5 w-5":r.size==="lg"||r.size==="xl"})),n=N(()=>({"text-white":r.variant==="primary","text-primary-700":r.variant==="secondary","text-gray-700":r.variant==="white","text-gray-400":r.variant==="gray"})),_=N(()=>({"ml-2 -mr-0.5 h-4 w-4":r.size=="sm","ml-2 -mr-1 h-5 w-5":r.size==="md","ml-3 -mr-1 h-5 w-5":r.size==="lg"||r.size==="xl"}));return(u,y)=>{const z=S("BaseContentPlaceholdersBox"),b=S("BaseContentPlaceholders"),h=S("BaseCustomTag");return i.contentLoading?(c(),$(b,{key:0,class:"disabled cursor-normal pointer-events-none"},{default:v(()=>[m(z,{rounded:!0,style:qe([{width:"96px"},`height: ${d(t)}px;`])},null,8,["style"])]),_:1})):(c(),$(h,{key:1,tag:i.tag,disabled:i.disabled,class:C([i.defaultClass,d(o),d(s),d(a)])},{default:v(()=>[i.loading?(c(),$(Pt,{key:0,class:C([d(e),d(n)])},null,8,["class"])):B(u.$slots,"left",{key:1,class:C(d(e))}),B(u.$slots,"default"),B(u.$slots,"right",{class:C([d(_),d(n)])})]),_:3},8,["tag","disabled","class"]))}}};var Ow=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Vw});const Lw={class:"bg-white rounded-lg shadow"},Uw={key:0,class:"px-5 py-4 text-black border-b border-gray-100 border-solid"},Kw={key:1,class:"px-5 py-4 border-t border-gray-100 border-solid sm:px-6"},qw={props:{containerClass:{type:String,default:"px-4 py-5 sm:px-8 sm:py-8"}},setup(i){const r=xe(),o=N(()=>!!r.header),t=N(()=>!!r.footer);return(s,a)=>(c(),p("div",Lw,[d(o)?(c(),p("div",Uw,[B(s.$slots,"header")])):P("",!0),l("div",{class:C(i.containerClass)},[B(s.$slots,"default")],2),d(t)?(c(),p("div",Kw,[B(s.$slots,"footer")])):P("",!0)]))}};var Ww=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:qw});const Zw={class:"relative flex items-start"},Hw={class:"flex items-center h-5"},Gw=["id","disabled"],Yw={class:"ml-3 text-sm"},Jw=["for"],Xw={props:{label:{type:String,default:""},modelValue:{type:[Boolean,Array],default:!1},id:{type:[Number,String],default:()=>`check_${Math.random().toString(36).substr(2,9)}`},disabled:{type:Boolean,default:!1},checkboxClass:{type:String,default:"w-4 h-4 border-gray-300 rounded cursor-pointer"},setInitialValue:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(i,{emit:r}){const o=i;o.setInitialValue&&r("update:modelValue",o.modelValue);const t=N({get:()=>o.modelValue,set:a=>{r("update:modelValue",a),r("change",a)}}),s=N(()=>o.disabled?"text-gray-300 cursor-not-allowed":"text-primary-600 focus:ring-primary-500");return(a,e)=>(c(),p("div",Zw,[l("div",Hw,[Ie(l("input",_e({id:i.id,"onUpdate:modelValue":e[0]||(e[0]=n=>re(t)?t.value=n:null)},a.$attrs,{disabled:i.disabled,type:"checkbox",class:[i.checkboxClass,d(s)]}),null,16,Gw),[[Jt,d(t)]])]),l("div",Yw,[i.label?(c(),p("label",{key:0,for:i.id,class:C(`font-medium ${i.disabled?"text-gray-400 cursor-not-allowed":"text-gray-600"} cursor-pointer `)},w(i.label),11,Jw)):P("",!0)])]))}};var Qw=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Xw});const ex={props:{rounded:{type:Boolean,default:!1},centered:{type:Boolean,default:!1},animated:{type:Boolean,default:!0}},setup(i){const r=i,o=N(()=>({"base-content-placeholders":!0,"base-content-placeholders-is-rounded":r.rounded,"base-content-placeholders-is-centered":r.centered,"base-content-placeholders-is-animated":r.animated}));return(t,s)=>(c(),p("div",{class:C(d(o))},[B(t.$slots,"default")],2))}};var tx=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ex});const ax={props:{circle:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1}},setup(i){const r=i,o=N(()=>({"base-content-circle":r.circle,"base-content-placeholders-is-rounded":r.rounded}));return(t,s)=>(c(),p("div",{class:C(["base-content-placeholders-box",d(o)])},null,2))}};var sx=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ax});const nx={class:"base-content-placeholders-heading"},ix={key:0,class:"base-content-placeholders-heading__box"},ox=l("div",{class:"base-content-placeholders-heading__content"},[l("div",{class:"base-content-placeholders-heading__title",style:{background:"#eee"}}),l("div",{class:"base-content-placeholders-heading__subtitle"})],-1),rx={props:{box:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1}},setup(i){return(r,o)=>(c(),p("div",nx,[i.box?(c(),p("div",ix)):P("",!0),ox]))}};var dx=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:rx});const lx={class:"base-content-placeholders-text"},cx={props:{lines:{type:Number,default:4},rounded:{type:Boolean,default:!1}},setup(i){const r=i,o=N(()=>({"base-content-placeholders-is-rounded":r.rounded}));return(t,s)=>(c(),p("div",lx,[(c(!0),p(Z,null,G(i.lines,a=>(c(),p("div",{key:a,class:C([d(o),"w-full h-full base-content-placeholders-text__line"])},null,2))),128))]))}};var _x=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:cx});const ux={key:1,class:"relative"},mx={class:"absolute bottom-0 right-0 z-10"},px={class:"flex p-2"},gx={class:"mb-1 ml-2 text-xs font-semibold text-gray-500 uppercase"},fx=["onClick"],hx={class:"flex pl-1"},vx={props:{contentLoading:{type:Boolean,default:!1},modelValue:{type:String,default:""},fields:{type:Array,default:null}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i,t=gt();let s=L([]),a=L([]),e=L([]),n=L([]),_=L([]);fe(()=>o.fields,b=>{o.fields&&o.fields.length>0&&z()}),fe(()=>t.customFields,b=>{a.value=b?b.filter(h=>h.model_type==="Invoice"):[],_.value=b?b.filter(h=>h.model_type==="Customer"):[],n.value=b?b.filter(h=>h.model_type==="Payment"):[],e.value=b.filter(h=>h.model_type==="Estimate"),z()}),we(()=>{y()});const u=N({get:()=>o.modelValue,set:b=>{r("update:modelValue",b)}});async function y(){await t.fetchCustomFields()}async function z(){s.value=[],o.fields&&o.fields.length>0&&(o.fields.find(b=>b=="shipping")&&s.value.push({label:"Shipping Address",fields:[{label:"Address name",value:"SHIPPING_ADDRESS_NAME"},{label:"Country",value:"SHIPPING_COUNTRY"},{label:"State",value:"SHIPPING_STATE"},{label:"City",value:"SHIPPING_CITY"},{label:"Address Street 1",value:"SHIPPING_ADDRESS_STREET_1"},{label:"Address Street 2",value:"SHIPPING_ADDRESS_STREET_2"},{label:"Phone",value:"SHIPPING_PHONE"},{label:"Zip Code",value:"SHIPPING_ZIP_CODE"}]}),o.fields.find(b=>b=="billing")&&s.value.push({label:"Billing Address",fields:[{label:"Address name",value:"BILLING_ADDRESS_NAME"},{label:"Country",value:"BILLING_COUNTRY"},{label:"State",value:"BILLING_STATE"},{label:"City",value:"BILLING_CITY"},{label:"Address Street 1",value:"BILLING_ADDRESS_STREET_1"},{label:"Address Street 2",value:"BILLING_ADDRESS_STREET_2"},{label:"Phone",value:"BILLING_PHONE"},{label:"Zip Code",value:"BILLING_ZIP_CODE"}]}),o.fields.find(b=>b=="customer")&&s.value.push({label:"Customer",fields:[{label:"Display Name",value:"CONTACT_DISPLAY_NAME"},{label:"Contact Name",value:"PRIMARY_CONTACT_NAME"},{label:"Email",value:"CONTACT_EMAIL"},{label:"Phone",value:"CONTACT_PHONE"},{label:"Website",value:"CONTACT_WEBSITE"},..._.value.map(b=>({label:b.label,value:b.slug}))]}),o.fields.find(b=>b=="invoice")&&s.value.push({label:"Invoice",fields:[{label:"Date",value:"INVOICE_DATE"},{label:"Due Date",value:"INVOICE_DUE_DATE"},{label:"Number",value:"INVOICE_NUMBER"},{label:"Ref Number",value:"INVOICE_REF_NUMBER"},{label:"Invoice Link",value:"INVOICE_LINK"},...a.value.map(b=>({label:b.label,value:b.slug}))]}),o.fields.find(b=>b=="estimate")&&s.value.push({label:"Estimate",fields:[{label:"Date",value:"ESTIMATE_DATE"},{label:"Expiry Date",value:"ESTIMATE_EXPIRY_DATE"},{label:"Number",value:"ESTIMATE_NUMBER"},{label:"Ref Number",value:"ESTIMATE_REF_NUMBER"},{label:"Estimate Link",value:"ESTIMATE_LINK"},...e.value.map(b=>({label:b.label,value:b.slug}))]}),o.fields.find(b=>b=="payment")&&s.value.push({label:"Payment",fields:[{label:"Date",value:"PAYMENT_DATE"},{label:"Number",value:"PAYMENT_NUMBER"},{label:"Mode",value:"PAYMENT_MODE"},{label:"Amount",value:"PAYMENT_AMOUNT"},{label:"Payment Link",value:"PAYMENT_LINK"},...n.value.map(b=>({label:b.label,value:b.slug}))]}),o.fields.find(b=>b=="company")&&s.value.push({label:"Company",fields:[{label:"Company Name",value:"COMPANY_NAME"},{label:"Country",value:"COMPANY_COUNTRY"},{label:"State",value:"COMPANY_STATE"},{label:"City",value:"COMPANY_CITY"},{label:"Address Street 1",value:"COMPANY_ADDRESS_STREET_1"},{label:"Address Street 2",value:"COMPANY_ADDRESS_STREET_2"},{label:"Phone",value:"COMPANY_PHONE"},{label:"Zip Code",value:"COMPANY_ZIP_CODE"}]}))}return z(),(b,h)=>{const x=S("BaseContentPlaceholdersBox"),j=S("BaseContentPlaceholders"),R=S("BaseIcon"),T=S("BaseButton"),D=S("BaseDropdown"),k=S("BaseEditor");return i.contentLoading?(c(),$(j,{key:0},{default:v(()=>[m(x,{rounded:!0,class:"w-full",style:{height:"200px"}})]),_:1})):(c(),p("div",ux,[l("div",mx,[m(D,{"close-on-select":!0,"max-height":"220",position:"top-end","width-class":"w-92",class:"mb-2"},{activator:v(()=>[m(T,{type:"button",variant:"primary-outline",class:"mr-4"},{left:v(K=>[m(R,{name:"PlusSmIcon",class:C(K.class)},null,8,["class"])]),default:v(()=>[A(w(b.$t("settings.customization.insert_fields"))+" ",1)]),_:1})]),default:v(()=>[l("div",px,[(c(!0),p(Z,null,G(d(s),(K,U)=>(c(),p("ul",{key:U,class:"list-none"},[l("li",gx,w(K.label),1),(c(!0),p(Z,null,G(K.fields,(F,Y)=>(c(),p("li",{key:Y,class:"w-48 text-sm font-normal cursor-pointer hover:bg-gray-100 rounded ml-1 py-0.5",onClick:J=>u.value+=`{${F.value}}`},[l("div",hx,[m(R,{name:"ChevronDoubleRightIcon",class:"h-3 mt-1 mr-2 text-gray-400"}),A(" "+w(F.label),1)])],8,fx))),128))]))),128))])]),_:1})]),m(k,{modelValue:d(u),"onUpdate:modelValue":h[0]||(h[0]=K=>re(u)?u.value=K:null)},null,8,["modelValue"])]))}}};var yx=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:vx});const bx={props:{tag:{type:String,default:"button"}},setup(i,{slots:r,attrs:o,emit:t}){return()=>Xt(`${i.tag}`,o,r)}};var kx=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:bx});const wx={key:0,class:"text-sm font-bold leading-5 text-black non-italic space-y-1"},xx={key:0},zx={key:1},Sx={key:2},Px={key:3},jx={key:4},Dx={key:5},Cx={props:{address:{type:Object,required:!0}},setup(i){return(r,o)=>{var t,s,a,e,n,_,u,y,z,b,h,x,j,R;return i.address?(c(),p("div",wx,[((t=i.address)==null?void 0:t.address_street_1)?(c(),p("p",xx,w((s=i.address)==null?void 0:s.address_street_1)+",",1)):P("",!0),((a=i.address)==null?void 0:a.address_street_2)?(c(),p("p",zx,w((e=i.address)==null?void 0:e.address_street_2)+",",1)):P("",!0),((n=i.address)==null?void 0:n.city)?(c(),p("p",Sx,w((_=i.address)==null?void 0:_.city)+",",1)):P("",!0),((u=i.address)==null?void 0:u.state)?(c(),p("p",Px,w((y=i.address)==null?void 0:y.state)+",",1)):P("",!0),((b=(z=i.address)==null?void 0:z.country)==null?void 0:b.name)?(c(),p("p",jx,w((x=(h=i.address)==null?void 0:h.country)==null?void 0:x.name)+",",1)):P("",!0),((j=i.address)==null?void 0:j.zip)?(c(),p("p",Dx,w((R=i.address)==null?void 0:R.zip)+".",1)):P("",!0)])):P("",!0)}}};var Ax=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Cx});const Nx={class:"flex justify-between w-full"},Ex=["onSubmit"],Tx={class:"px-6 pb-3"},Ix={class:"grid md:grid-cols-12"},$x={class:"flex justify-end col-span-12"},Rx={class:"z-0 flex justify-end p-4 border-t border-gray-200 border-solid"},Rt={setup(i){const r=me(),o=Me(),t=ze(),s=te(),a=ue(),e=Ne();let n=L(!1);const{t:_}=be(),u=oe();L(!1);const y=L(!1),z=N(()=>r.active&&r.componentName==="CustomerModal"),b={name:{required:Q.withMessage(_("validation.required"),je),minLength:Q.withMessage(_("validation.name_min_length",{count:3}),Be(3))},currency_id:{required:Q.withMessage(_("validation.required"),je)},email:{email:Q.withMessage(_("validation.email_incorrect"),Qt)},prefix:{minLength:Q.withMessage(_("validation.name_min_length",{count:3}),Be(3))},website:{url:Q.withMessage(_("validation.invalid_url"),ea)},billing:{address_street_1:{maxLength:Q.withMessage(_("validation.address_maxlength",{count:255}),$e(255))},address_street_2:{maxLength:Q.withMessage(_("validation.address_maxlength",{count:255}),$e(255))}},shipping:{address_street_1:{maxLength:Q.withMessage(_("validation.address_maxlength",{count:255}),$e(255))},address_street_2:{maxLength:Q.withMessage(_("validation.address_maxlength",{count:255}),$e(255))}}},h=Ve(b,N(()=>t.currentCustomer));function x(){t.copyAddress()}async function j(){t.isEdit||(t.currentCustomer.currency_id=s.selectedCompanyCurrency.id)}async function R(){if(h.value.$touch(),h.value.$error)return!0;y.value=!0;let D=M({},t.currentCustomer);try{let k=null;t.isEdit?k=await t.updateCustomer(D):k=await t.addCustomer(D),k.data&&(y.value=!1,(u.name==="invoices.create"||u.name==="invoices.edit")&&e.selectCustomer(k.data.data.id),(u.name==="estimates.create"||u.name==="estimates.edit")&&o.selectCustomer(k.data.data.id),T())}catch(k){console.error(k),y.value=!1}}function T(){r.closeModal(),setTimeout(()=>{t.resetCurrentCustomer(),h.value.$reset()},300)}return(D,k)=>{const K=S("BaseIcon"),U=S("BaseInput"),F=S("BaseInputGroup"),Y=S("BaseMultiselect"),J=S("BaseInputGrid"),ge=S("BaseTab"),ae=S("BaseTextarea"),le=S("BaseButton"),Se=S("BaseTabGroup"),Pe=S("BaseModal");return c(),$(Pe,{show:d(z),onClose:T,onOpen:j},{header:v(()=>[l("div",Nx,[A(w(d(r).title)+" ",1),m(K,{name:"XIcon",class:"h-6 w-6 text-gray-500 cursor-pointer",onClick:T})])]),default:v(()=>[l("form",{action:"",onSubmit:se(R,["prevent"])},[l("div",Tx,[m(Se,null,{default:v(()=>[m(ge,{title:D.$t("customers.basic_info"),class:"!mt-2"},{default:v(()=>[m(J,{layout:"one-column"},{default:v(()=>[m(F,{label:D.$t("customers.display_name"),required:"",error:d(h).name.$error&&d(h).name.$errors[0].$message},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.name,"onUpdate:modelValue":k[0]||(k[0]=I=>d(t).currentCustomer.name=I),modelModifiers:{trim:!0},type:"text",name:"name",class:"mt-1 md:mt-0",invalid:d(h).name.$error,onInput:k[1]||(k[1]=I=>d(h).name.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),m(F,{label:D.$tc("settings.currencies.currency"),required:"",error:d(h).currency_id.$error&&d(h).currency_id.$errors[0].$message},{default:v(()=>[m(Y,{modelValue:d(t).currentCustomer.currency_id,"onUpdate:modelValue":k[2]||(k[2]=I=>d(t).currentCustomer.currency_id=I),options:d(a).currencies,"value-prop":"id",searchable:"",placeholder:D.$t("customers.select_currency"),"max-height":200,class:"mt-1 md:mt-0","track-by":"name",invalid:d(h).currency_id.$error,label:"name"},null,8,["modelValue","options","placeholder","invalid"])]),_:1},8,["label","error"]),m(F,{label:D.$t("customers.primary_contact_name")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.contact_name,"onUpdate:modelValue":k[3]||(k[3]=I=>d(t).currentCustomer.contact_name=I),type:"text",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("login.email"),error:d(h).email.$error&&d(h).email.$errors[0].$message},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.email,"onUpdate:modelValue":k[4]||(k[4]=I=>d(t).currentCustomer.email=I),modelModifiers:{trim:!0},type:"text",name:"email",class:"mt-1 md:mt-0",invalid:d(h).email.$error,onInput:k[5]||(k[5]=I=>d(h).email.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"]),m(F,{label:D.$t("customers.prefix"),error:d(h).prefix.$error&&d(h).prefix.$errors[0].$message,"content-loading":d(n)},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.prefix,"onUpdate:modelValue":k[6]||(k[6]=I=>d(t).currentCustomer.prefix=I),"content-loading":d(n),type:"text",name:"name",class:"",invalid:d(h).prefix.$error,onInput:k[7]||(k[7]=I=>d(h).prefix.$touch())},null,8,["modelValue","content-loading","invalid"])]),_:1},8,["label","error","content-loading"]),m(J,null,{default:v(()=>[m(F,{label:D.$t("customers.phone")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.phone,"onUpdate:modelValue":k[8]||(k[8]=I=>d(t).currentCustomer.phone=I),modelModifiers:{trim:!0},type:"text",name:"phone",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.website"),error:d(h).website.$error&&d(h).website.$errors[0].$message},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.website,"onUpdate:modelValue":k[9]||(k[9]=I=>d(t).currentCustomer.website=I),type:"url",class:"mt-1 md:mt-0",invalid:d(h).website.$error,onInput:k[10]||(k[10]=I=>d(h).website.$touch())},null,8,["modelValue","invalid"])]),_:1},8,["label","error"])]),_:1})]),_:1})]),_:1},8,["title"]),m(ge,{title:D.$t("customers.billing_address"),class:"!mt-2"},{default:v(()=>[m(J,{layout:"one-column"},{default:v(()=>[m(F,{label:D.$t("customers.name")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.billing.name,"onUpdate:modelValue":k[11]||(k[11]=I=>d(t).currentCustomer.billing.name=I),type:"text",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.country")},{default:v(()=>[m(Y,{modelValue:d(t).currentCustomer.billing.country_id,"onUpdate:modelValue":k[12]||(k[12]=I=>d(t).currentCustomer.billing.country_id=I),options:d(a).countries,searchable:"","show-labels":!1,placeholder:D.$t("general.select_country"),"allow-empty":!1,"track-by":"name",class:"mt-1 md:mt-0",label:"name","value-prop":"id"},null,8,["modelValue","options","placeholder"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.state")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.billing.state,"onUpdate:modelValue":k[13]||(k[13]=I=>d(t).currentCustomer.billing.state=I),type:"text",name:"billingState",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.city")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.billing.city,"onUpdate:modelValue":k[14]||(k[14]=I=>d(t).currentCustomer.billing.city=I),type:"text",name:"billingCity",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.address"),error:d(h).billing.address_street_1.$error&&d(h).billing.address_street_1.$errors[0].$message},{default:v(()=>[m(ae,{modelValue:d(t).currentCustomer.billing.address_street_1,"onUpdate:modelValue":k[15]||(k[15]=I=>d(t).currentCustomer.billing.address_street_1=I),placeholder:D.$t("general.street_1"),rows:"2",cols:"50",class:"mt-1 md:mt-0",invalid:d(h).billing.address_street_1.$error,onInput:k[16]||(k[16]=I=>d(h).billing.address_street_1.$touch())},null,8,["modelValue","placeholder","invalid"])]),_:1},8,["label","error"])]),_:1}),m(J,{layout:"one-column"},{default:v(()=>[m(F,{error:d(h).billing.address_street_2.$error&&d(h).billing.address_street_2.$errors[0].$message},{default:v(()=>[m(ae,{modelValue:d(t).currentCustomer.billing.address_street_2,"onUpdate:modelValue":k[17]||(k[17]=I=>d(t).currentCustomer.billing.address_street_2=I),placeholder:D.$t("general.street_2"),rows:"2",cols:"50",invalid:d(h).billing.address_street_2.$error,onInput:k[18]||(k[18]=I=>d(h).billing.address_street_2.$touch())},null,8,["modelValue","placeholder","invalid"])]),_:1},8,["error"]),m(F,{label:D.$t("customers.phone")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.billing.phone,"onUpdate:modelValue":k[19]||(k[19]=I=>d(t).currentCustomer.billing.phone=I),modelModifiers:{trim:!0},type:"text",name:"phone",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.zip_code")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.billing.zip,"onUpdate:modelValue":k[20]||(k[20]=I=>d(t).currentCustomer.billing.zip=I),type:"text",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),_:1},8,["title"]),m(ge,{title:D.$t("customers.shipping_address"),class:"!mt-2"},{default:v(()=>[l("div",Ix,[l("div",$x,[m(le,{variant:"primary",type:"button",size:"xs",onClick:k[21]||(k[21]=I=>x())},{default:v(()=>[A(w(D.$t("customers.copy_billing_address")),1)]),_:1})])]),m(J,{layout:"one-column"},{default:v(()=>[m(F,{label:D.$t("customers.name")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.shipping.name,"onUpdate:modelValue":k[22]||(k[22]=I=>d(t).currentCustomer.shipping.name=I),type:"text",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.country")},{default:v(()=>[m(Y,{modelValue:d(t).currentCustomer.shipping.country_id,"onUpdate:modelValue":k[23]||(k[23]=I=>d(t).currentCustomer.shipping.country_id=I),options:d(a).countries,searchable:!0,"show-labels":!1,"allow-empty":!1,placeholder:D.$t("general.select_country"),"track-by":"name",class:"mt-1 md:mt-0",label:"name","value-prop":"id"},null,8,["modelValue","options","placeholder"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.state")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.shipping.state,"onUpdate:modelValue":k[24]||(k[24]=I=>d(t).currentCustomer.shipping.state=I),type:"text",name:"shippingState",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.city")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.shipping.city,"onUpdate:modelValue":k[25]||(k[25]=I=>d(t).currentCustomer.shipping.city=I),type:"text",name:"shippingCity",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.address"),error:d(h).shipping.address_street_1.$error&&d(h).shipping.address_street_1.$errors[0].$message},{default:v(()=>[m(ae,{modelValue:d(t).currentCustomer.shipping.address_street_1,"onUpdate:modelValue":k[26]||(k[26]=I=>d(t).currentCustomer.shipping.address_street_1=I),placeholder:D.$t("general.street_1"),rows:"2",cols:"50",class:"mt-1 md:mt-0",invalid:d(h).shipping.address_street_1.$error,onInput:k[27]||(k[27]=I=>d(h).shipping.address_street_1.$touch())},null,8,["modelValue","placeholder","invalid"])]),_:1},8,["label","error"])]),_:1}),m(J,{layout:"one-column"},{default:v(()=>[m(F,{error:d(h).shipping.address_street_2.$error&&d(h).shipping.address_street_2.$errors[0].$message},{default:v(()=>[m(ae,{modelValue:d(t).currentCustomer.shipping.address_street_2,"onUpdate:modelValue":k[28]||(k[28]=I=>d(t).currentCustomer.shipping.address_street_2=I),placeholder:D.$t("general.street_2"),rows:"2",cols:"50",invalid:d(h).shipping.address_street_1.$error,onInput:k[29]||(k[29]=I=>d(h).shipping.address_street_2.$touch())},null,8,["modelValue","placeholder","invalid"])]),_:1},8,["error"]),m(F,{label:D.$t("customers.phone")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.shipping.phone,"onUpdate:modelValue":k[30]||(k[30]=I=>d(t).currentCustomer.shipping.phone=I),modelModifiers:{trim:!0},type:"text",name:"phone",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"]),m(F,{label:D.$t("customers.zip_code")},{default:v(()=>[m(U,{modelValue:d(t).currentCustomer.shipping.zip,"onUpdate:modelValue":k[31]||(k[31]=I=>d(t).currentCustomer.shipping.zip=I),type:"text",class:"mt-1 md:mt-0"},null,8,["modelValue"])]),_:1},8,["label"])]),_:1})]),_:1},8,["title"])]),_:1})]),l("div",Rx,[m(le,{class:"mr-3 text-sm",type:"button",variant:"primary-outline",onClick:T},{default:v(()=>[A(w(D.$t("general.cancel")),1)]),_:1}),m(le,{loading:y.value,variant:"primary",type:"submit"},{left:v(I=>[y.value?P("",!0):(c(),$(K,{key:0,name:"SaveIcon",class:C(I.class)},null,8,["class"]))]),default:v(()=>[A(" "+w(D.$t("general.save")),1)]),_:1},8,["loading"])])],40,Ex)]),_:1},8,["show"])}}},Fx={props:{modelValue:{type:[String,Number,Object],default:""},fetchAll:{type:Boolean,default:!1},showAction:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i,{t}=be(),s=me(),a=ze(),e=ve(),n=N({get:()=>o.modelValue,set:y=>{r("update:modelValue",y)}});async function _(y){let z={search:y};return o.fetchAll&&(z.limit="all"),(await a.fetchCustomers(z)).data.data}async function u(){a.resetCurrentCustomer(),s.openModal({title:t("customers.add_new_customer"),componentName:"CustomerModal"})}return(y,z)=>{const b=S("BaseIcon"),h=S("BaseSelectAction"),x=S("BaseMultiselect");return c(),p(Z,null,[m(x,_e({modelValue:d(n),"onUpdate:modelValue":z[0]||(z[0]=j=>re(n)?n.value=j:null)},y.$attrs,{"track-by":"name","value-prop":"id",label:"name","filter-results":!1,"resolve-on-load":"",delay:500,searchable:!0,options:_,"label-value":"name",placeholder:y.$t("customers.type_or_click"),"can-deselect":!1,class:"w-full"}),ta({_:2},[i.showAction?{name:"action",fn:v(()=>[d(e).hasAbilities(d(O).CREATE_CUSTOMER)?(c(),$(h,{key:0,onClick:u},{default:v(()=>[m(b,{name:"UserAddIcon",class:"h-4 mr-2 -ml-2 text-center text-primary-400"}),A(" "+w(y.$t("customers.add_new_customer")),1)]),_:1})):P("",!0)])}:void 0]),1040,["modelValue","placeholder"]),m(Rt)],64)}}};var Mx=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Fx});const Bx={key:1,class:"max-h-[173px]"},Vx={class:"flex relative justify-between mb-2"},Ox={class:"flex"},Lx=["onClick"],Ux={class:"grid grid-cols-2 gap-8 mt-2"},Kx={key:0,class:"flex flex-col"},qx={class:"mb-1 text-sm font-medium text-left text-gray-400 uppercase whitespace-nowrap"},Wx={key:0,class:"flex flex-col flex-1 p-0 text-left"},Zx={key:0,class:"relative w-11/12 text-sm truncate"},Hx={class:"relative w-11/12 text-sm truncate"},Gx={key:0},Yx={key:1},Jx={key:2},Xx={key:1,class:"relative w-11/12 text-sm truncate"},Qx={key:1,class:"flex flex-col"},ez={class:"mb-1 text-sm font-medium text-left text-gray-400 uppercase whitespace-nowrap"},tz={key:0,class:"flex flex-col flex-1 p-0 text-left"},az={key:0,class:"relative w-11/12 text-sm truncate"},sz={class:"relative w-11/12 text-sm truncate"},nz={key:0},iz={key:1},oz={key:2},rz={key:1,class:"relative w-11/12 text-sm truncate"},dz={class:"relative flex justify-center px-0 p-0 py-16 bg-white border border-gray-200 border-solid rounded-md min-h-[170px]"},lz={class:"mt-1"},cz={class:"text-lg font-medium text-gray-900"},_z=l("span",{class:"text-red-500"}," * ",-1),uz={key:0,class:"text-red-500 text-sm absolute right-3 bottom-3"},mz={key:0,class:"absolute min-w-full z-10"},pz={class:"relative"},gz={class:"max-h-80 flex flex-col overflow-auto list border-t border-gray-200"},fz=["onClick"],hz={class:"flex items-center content-center justify-center w-10 h-10 mr-4 text-xl font-semibold leading-9 text-white bg-gray-300 rounded-full avatar"},vz={class:"flex flex-col justify-center text-left"},yz={key:0,class:"flex justify-center p-5 text-gray-400"},bz={class:"text-base text-gray-500 cursor-pointer"},kz={class:"m-0 ml-3 text-sm leading-none cursor-pointer font-base text-primary-400"},wz={props:{valid:{type:Object,default:()=>{}},customerId:{type:Number,default:null},type:{type:String,default:null},contentLoading:{type:Boolean,default:!1}},setup(i){const r=i,o=me(),t=Me(),s=ze(),a=ue(),e=Ne(),n=xt(),_=ve(),u=oe(),{t:y}=be(),z=L(null),b=L(!1),h=N(()=>{switch(r.type){case"estimate":return t.newEstimate.customer;case"invoice":return e.newInvoice.customer;case"recurring-invoice":return n.newRecurringInvoice.customer;default:return""}});function x(){r.type==="estimate"?t.resetSelectedCustomer():r.type==="invoice"?e.resetSelectedCustomer():n.resetSelectedCustomer()}r.customerId&&r.type==="estimate"?t.selectCustomer(r.customerId):r.customerId&&r.type==="invoice"?e.selectCustomer(r.customerId):r.customerId&&n.selectCustomer(r.customerId);async function j(){await s.fetchCustomer(h.value.id),o.openModal({title:y("customers.edit_customer"),componentName:"CustomerModal"})}async function R(){await s.fetchCustomers({filter:{},orderByField:"",orderBy:"",customer_id:r.customerId})}const T=ia(()=>{b.value=!0,D()},500);async function D(){let F={display_name:z.value,page:1};await s.fetchCustomers(F),b.value=!1}function k(){o.openModal({title:y("customers.add_customer"),componentName:"CustomerModal",variant:"md"})}function K(F){if(F)return F.split(" ")[0].charAt(0).toUpperCase()}function U(F,Y){let J={userId:F};u.params.id&&(J.model_id=u.params.id),r.type==="estimate"?(t.getNextNumber(J,!0),t.selectCustomer(F)):r.type==="invoice"?(e.getNextNumber(J,!0),e.selectCustomer(F)):n.selectCustomer(F),Y(),z.value=null}return a.fetchCurrencies(),a.fetchCountries(),R(),(F,Y)=>{const J=S("BaseContentPlaceholdersBox"),ge=S("BaseContentPlaceholders"),ae=S("BaseText"),le=S("BaseIcon"),Se=S("BaseInput");return i.contentLoading?(c(),$(ge,{key:0},{default:v(()=>[m(J,{rounded:!0,class:"w-full",style:{"min-height":"170px"}})]),_:1})):(c(),p("div",Bx,[m(Rt),d(h)?(c(),p("div",{key:0,class:"flex flex-col p-4 bg-white border border-gray-200 border-solid min-h-[170px] rounded-md",onClick:Y[0]||(Y[0]=se(()=>{},["stop"]))},[l("div",Vx,[m(ae,{text:d(h).name,length:30,class:"flex-1 text-base font-medium text-left text-gray-900"},null,8,["text"]),l("div",Ox,[l("a",{class:"relative my-0 ml-6 text-sm font-medium cursor-pointer text-primary-500 items-center flex",onClick:se(j,["stop"])},[m(le,{name:"PencilIcon",class:"text-gray-500 h-4 w-4 mr-1"}),A(" "+w(F.$t("general.edit")),1)],8,Lx),l("a",{class:"relative my-0 ml-6 text-sm flex items-center font-medium cursor-pointer text-primary-500",onClick:x},[m(le,{name:"XCircleIcon",class:"text-gray-500 h-4 w-4 mr-1"}),A(" "+w(F.$t("general.deselect")),1)])])]),l("div",Ux,[d(h).billing?(c(),p("div",Kx,[l("label",qx,w(F.$t("general.bill_to")),1),d(h).billing?(c(),p("div",Wx,[d(h).billing.name?(c(),p("label",Zx,w(d(h).billing.name),1)):P("",!0),l("label",Hx,[d(h).billing.city?(c(),p("span",Gx,w(d(h).billing.city),1)):P("",!0),d(h).billing.city&&d(h).billing.state?(c(),p("span",Yx," , ")):P("",!0),d(h).billing.state?(c(),p("span",Jx,w(d(h).billing.state),1)):P("",!0)]),d(h).billing.zip?(c(),p("label",Xx,w(d(h).billing.zip),1)):P("",!0)])):P("",!0)])):P("",!0),d(h).shipping?(c(),p("div",Qx,[l("label",ez,w(F.$t("general.ship_to")),1),d(h).shipping?(c(),p("div",tz,[d(h).shipping.name?(c(),p("label",az,w(d(h).shipping.name),1)):P("",!0),l("label",sz,[d(h).shipping.city?(c(),p("span",nz,w(d(h).shipping.city),1)):P("",!0),d(h).shipping.city&&d(h).shipping.state?(c(),p("span",iz," , ")):P("",!0),d(h).shipping.state?(c(),p("span",oz,w(d(h).shipping.state),1)):P("",!0)]),d(h).shipping.zip?(c(),p("label",rz,w(d(h).shipping.zip),1)):P("",!0)])):P("",!0)])):P("",!0)])])):(c(),$(d(na),{key:1,class:"relative flex flex-col rounded-md"},{default:v(({open:Pe})=>[m(d(aa),{class:C([{"text-opacity-90":Pe,"border border-solid border-red-500 focus:ring-red-500 rounded":i.valid.$error,"focus:ring-2 focus:ring-primary-400":!i.valid.$error},"w-full outline-none rounded-md"])},{default:v(()=>[l("div",dz,[m(le,{name:"UserIcon",class:"flex justify-center w-10 h-10 p-2 mr-5 text-sm text-white bg-gray-200 rounded-full font-base"}),l("div",lz,[l("label",cz,[A(w(F.$t("customers.new_customer"))+" ",1),_z]),i.valid.$error&&i.valid.$errors[0].$message?(c(),p("p",uz,w(F.$t("estimates.errors.required")),1)):P("",!0)])])]),_:2},1032,["class"]),m(De,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"translate-y-1 opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-1 opacity-0"},{default:v(()=>[Pe?(c(),p("div",mz,[m(d(sa),{focus:"",static:"",class:"overflow-hidden rounded-md shadow-lg ring-1 ring-black ring-opacity-5 bg-white"},{default:v(({close:I})=>[l("div",pz,[m(Se,{modelValue:z.value,"onUpdate:modelValue":[Y[1]||(Y[1]=ne=>z.value=ne),Y[2]||(Y[2]=ne=>d(T)(ne))],"container-class":"m-4",placeholder:F.$t("general.search"),type:"text",icon:"search"},null,8,["modelValue","placeholder"]),l("ul",gz,[(c(!0),p(Z,null,G(d(s).customers,(ne,ce)=>(c(),p("li",{key:ce,href:"#",class:"flex px-6 py-2 border-b border-gray-200 border-solid cursor-pointer hover:cursor-pointer hover:bg-gray-100 focus:outline-none focus:bg-gray-100 last:border-b-0",onClick:QD=>U(ne.id,I)},[l("span",hz,w(K(ne.name)),1),l("div",vz,[ne.name?(c(),$(ae,{key:0,text:ne.name,length:30,class:"m-0 text-base font-normal leading-tight cursor-pointer"},null,8,["text"])):P("",!0),ne.contact_name?(c(),$(ae,{key:1,text:ne.contact_name,length:30,class:"m-0 text-sm font-medium text-gray-400 cursor-pointer"},null,8,["text"])):P("",!0)])],8,fz))),128)),d(s).customers.length===0?(c(),p("div",yz,[l("label",bz,w(F.$t("customers.no_customers_found")),1)])):P("",!0)])]),d(_).hasAbilities(d(O).CREATE_CUSTOMER)?(c(),p("button",{key:0,type:"button",class:"h-10 flex items-center justify-center w-full px-2 py-3 bg-gray-200 border-none outline-none focus:bg-gray-300",onClick:k},[m(le,{name:"UserAddIcon",class:"text-primary-400"}),l("label",kz,w(F.$t("customers.add_new_customer")),1)])):P("",!0)]),_:1})])):P("",!0)]),_:2},1024)]),_:1}))]))}}};var xz=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:wz});const zz=l("path",{"fill-rule":"evenodd",d:"M6 2a1 1 0 00-1 1v1H4a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V6a2 2 0 00-2-2h-1V3a1 1 0 10-2 0v1H7V3a1 1 0 00-1-1zm0 5a1 1 0 000 2h8a1 1 0 100-2H6z","clip-rule":"evenodd"},null,-1),Sz=[zz],Pz={props:{modelValue:{type:[String,Date],default:()=>new Date},contentLoading:{type:Boolean,default:!1},placeholder:{type:String,default:null},invalid:{type:Boolean,default:!1},enableTime:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},showCalendarIcon:{type:Boolean,default:!0},containerClass:{type:String,default:""},defaultInputClass:{type:String,default:"font-base pl-8 py-2 outline-none focus:ring-primary-400 focus:outline-none focus:border-primary-400 block w-full sm:text-sm border-gray-200 rounded-md text-black"},time24hr:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i,t=L(null),s=xe(),a=te();let e=Te({altInput:!0,enableTime:o.enableTime,time_24hr:o.time24hr});const n=N({get:()=>o.modelValue,set:x=>{r("update:modelValue",x)}}),_=N(()=>{var x;return(x=a.selectedCompanySettings)==null?void 0:x.carbon_date_format}),u=N(()=>!!s.icon),y=N(()=>`${o.containerClass} `),z=N(()=>o.invalid?"border-red-400 ring-red-400 focus:ring-red-400 focus:border-red-400":""),b=N(()=>o.disabled?"border border-solid rounded-md outline-none input-field box-border-2 base-date-picker-input placeholder-gray-400 bg-gray-200 text-gray-600 border-gray-200":"");function h(x){t.value.fp.open()}return fe(()=>o.enableTime,x=>{o.enableTime&&(e.enableTime=o.enableTime)},{immediate:!0}),fe(()=>_,()=>{o.enableTime?e.altFormat=_.value?`${_.value} H:i `:"d M Y H:i":e.altFormat=_.value?_.value:"d M Y"},{immediate:!0}),(x,j)=>{const R=S("BaseContentPlaceholdersBox"),T=S("BaseContentPlaceholders");return i.contentLoading?(c(),$(T,{key:0},{default:v(()=>[m(R,{rounded:!0,class:C(`w-full ${d(y)}`),style:{height:"38px"}},null,8,["class"])]),_:1})):(c(),p("div",{key:1,class:C([d(y),"relative flex flex-row"])},[i.showCalendarIcon&&!d(u)?(c(),p("svg",{key:0,viewBox:"0 0 20 20",fill:"currentColor",class:"absolute w-4 h-4 mx-2 my-2.5 text-sm not-italic font-black text-gray-400 cursor-pointer",onClick:h},Sz)):P("",!0),i.showCalendarIcon&&d(u)?B(x.$slots,"icon",{key:1}):P("",!0),m(d(ot),_e({ref:(D,k)=>{k.dp=D,t.value=D},modelValue:d(n),"onUpdate:modelValue":j[0]||(j[0]=D=>re(n)?n.value=D:null)},x.$attrs,{disabled:i.disabled,config:d(e),class:[i.defaultInputClass,d(z),d(b)]}),null,16,["modelValue","disabled","config","class"])],2))}}};var jz=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Pz});const Dz={},Cz={class:"grid gap-4 mt-5 md:grid-cols-2 lg:grid-cols-3"};function Az(i,r){return c(),p("div",Cz,[B(i.$slots,"default")])}var Nz=ee(Dz,[["render",Az]]),Ez=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Nz});const Tz={key:1},Iz={class:"text-sm font-bold leading-5 text-black non-italic"},$z={props:{label:{type:String,required:!0},value:{type:[String,Number],default:""},contentLoading:{type:Boolean,default:!1}},setup(i){return(r,o)=>{const t=S("BaseContentPlaceholdersBox"),s=S("BaseContentPlaceholders"),a=S("BaseLabel");return c(),p("div",null,[i.contentLoading?(c(),$(s,{key:0},{default:v(()=>[m(t,{class:"w-20 h-5 mb-1"}),m(t,{class:"w-40 h-5"})]),_:1})):(c(),p("div",Tz,[m(a,{class:"font-normal mb-1"},{default:v(()=>[A(w(i.label),1)]),_:1}),l("p",Iz,[A(w(i.value)+" ",1),B(r.$slots,"default")])]))])}}};var Rz=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:$z});const Fz={class:"flex items-end justify-center min-h-screen min-h-screen-ios px-4 pt-4 pb-20 text-center sm:block sm:p-0"},Mz=l("span",{class:"hidden sm:inline-block sm:align-middle sm:h-screen sm:h-screen-ios","aria-hidden":"true"},"\u200B",-1),Bz={class:"mt-3 text-center sm:mt-5"},Vz={class:"mt-2"},Oz={class:"text-sm text-gray-500"},Lz={setup(i){const r=ht();function o(s){r.resolve(s),r.closeDialog()}const t=N(()=>{switch(r.size){case"sm":return"sm:max-w-sm";case"md":return"sm:max-w-md";case"lg":return"sm:max-w-lg";default:return"sm:max-w-md"}});return(s,a)=>{const e=S("BaseIcon"),n=S("base-button");return c(),$(d(Ke),{as:"template",show:d(r).active},{default:v(()=>[m(d(Le),{as:"div",static:"",class:"fixed inset-0 z-20 overflow-y-auto",open:d(r).active,onClose:d(r).closeDialog},{default:v(()=>[l("div",Fz,[m(d(ke),{as:"template",enter:"ease-out duration-300","enter-from":"opacity-0","enter-to":"opacity-100",leave:"ease-in duration-200","leave-from":"opacity-100","leave-to":"opacity-0"},{default:v(()=>[m(d(Ue),{class:"fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75"})]),_:1}),Mz,m(d(ke),{as:"template",enter:"ease-out duration-300","enter-from":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to":"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200","leave-from":"opacity-100 translate-y-0 sm:scale-100","leave-to":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:v(()=>[l("div",{class:C(["inline-block px-4 pt-5 pb-4 overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:w-full sm:p-6",d(t)])},[l("div",null,[l("div",{class:C(["flex items-center justify-center w-12 h-12 mx-auto bg-green-100 rounded-full",{"bg-green-100":d(r).variant==="primary","bg-red-100":d(r).variant==="danger"}])},[d(r).variant==="primary"?(c(),$(e,{key:0,name:"CheckIcon",class:"w-6 h-6 text-green-600"})):(c(),$(e,{key:1,name:"ExclamationIcon",class:"w-6 h-6 text-red-600","aria-hidden":"true"}))],2),l("div",Bz,[m(d(oa),{as:"h3",class:"text-lg font-medium leading-6 text-gray-900"},{default:v(()=>[A(w(d(r).title),1)]),_:1}),l("div",Vz,[l("p",Oz,w(d(r).message),1)])])]),l("div",{class:C(["mt-5 sm:mt-6",{"sm:grid sm:grid-cols-2 sm:gap-3 sm:grid-flow-row-dense":!d(r).hideNoButton}])},[m(n,{class:C(["justify-center",{"w-full":d(r).hideNoButton}]),variant:d(r).variant,onClick:a[0]||(a[0]=_=>o(!0))},{default:v(()=>[A(w(d(r).yesLabel),1)]),_:1},8,["variant","class"]),d(r).hideNoButton?P("",!0):(c(),$(n,{key:0,class:"justify-center",variant:"white",onClick:a[1]||(a[1]=_=>o(!1))},{default:v(()=>[A(w(d(r).noLabel),1)]),_:1}))],2)],2)]),_:1})])]),_:1},8,["open","onClose"])]),_:1},8,["show"])}}};var Uz=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Lz});const Kz={},qz={class:"w-full text-gray-300"};function Wz(i,r){return c(),p("hr",qz)}var Zz=ee(Kz,[["render",Wz]]),Hz=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Zz});function Gz(i){let r=L(null),o=L(null),t=L(null);return we(()=>{rt(s=>{if(!o.value||!r.value)return;let a=o.value.el||o.value,e=r.value.el||r.value;e instanceof HTMLElement&&a instanceof HTMLElement&&(t.value=ra(e,a,i),s(t.value.destroy))})}),[r,o,t]}const Yz={class:"py-1"},Jz={props:{containerClass:{type:String,required:!1,default:""},widthClass:{type:String,default:"w-56"},positionClass:{type:String,default:"absolute z-10 right-0"},position:{type:String,default:"bottom-end"},wrapperClass:{type:String,default:"inline-block h-full text-left"},contentLoading:{type:Boolean,default:!1}},setup(i){const r=i,o=N(()=>`origin-top-right rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 divide-y divide-gray-100 focus:outline-none ${r.containerClass}`);let[t,s,a]=Gz({placement:"bottom-end",strategy:"fixed",modifiers:[{name:"offset",options:{offset:[0,10]}}]});function e(){a.value.update()}return(n,_)=>{const u=S("BaseContentPlaceholdersBox"),y=S("BaseContentPlaceholders");return c(),p("div",{class:C(["relative",i.wrapperClass])},[i.contentLoading?(c(),$(y,{key:0,class:"disabled cursor-normal pointer-events-none"},{default:v(()=>[m(u,{rounded:!0,class:"w-14",style:{height:"42px"}})]),_:1})):(c(),$(d(ca),{key:1},{default:v(()=>[m(d(da),{ref:(z,b)=>{b.trigger=z,re(t)?t.value=z:t=z},class:"focus:outline-none",onClick:e},{default:v(()=>[B(n.$slots,"activator")]),_:3},512),l("div",{ref:(z,b)=>{b.container=z,re(s)?s.value=z:s=z},class:C(["z-10",i.widthClass])},[m(De,{"enter-active-class":"transition duration-100 ease-out","enter-from-class":"transform scale-95 opacity-0","enter-to-class":"transform scale-100 opacity-100","leave-active-class":"transition duration-75 ease-in","leave-from-class":"transform scale-100 opacity-100","leave-to-class":"transform scale-95 opacity-0"},{default:v(()=>[m(d(la),{class:C(d(o))},{default:v(()=>[l("div",Yz,[B(n.$slots,"default")])]),_:3},8,["class"])]),_:3})],2)]),_:3}))],2)}}};var Xz=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Jz});const Qz={setup(i){return(r,o)=>(c(),$(d(ma),_a(ua(r.$attrs)),{default:v(({active:t})=>[l("a",{href:"#",class:C([t?"bg-gray-100 text-gray-900":"text-gray-700","group flex items-center px-4 py-2 text-sm font-normal"])},[B(r.$slots,"default",{active:t})],2)]),_:3},16))}};var eS=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Qz});const tS={class:"flex flex-col items-center justify-center mt-16"},aS={class:"flex flex-col items-center justify-center"},sS={class:"mt-2"},nS={class:"font-medium"},iS={class:"mt-2"},oS={class:"text-gray-500"},rS={class:"mt-6"},dS={props:{title:{type:String,default:String},description:{type:String,default:String}},setup(i){return(r,o)=>(c(),p("div",tS,[l("div",aS,[B(r.$slots,"default")]),l("div",sS,[l("label",nS,w(i.title),1)]),l("div",iS,[l("label",oS,w(i.description),1)]),l("div",rS,[B(r.$slots,"actions")])]))}};var lS=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:dS});const cS={class:"rounded-md bg-red-50 p-4"},_S={class:"flex"},uS={class:"flex-shrink-0"},mS={class:"ml-3"},pS={class:"text-sm font-medium text-red-800"},gS={class:"mt-2 text-sm text-red-700"},fS={role:"list",class:"list-disc pl-5 space-y-1"},hS={props:{errorTitle:{type:String,default:"There were some errors with your submission"},errors:{type:Array,default:null}},setup(i){return(r,o)=>(c(),p("div",cS,[l("div",_S,[l("div",uS,[m(d(pa),{class:"h-5 w-5 text-red-400","aria-hidden":"true"})]),l("div",mS,[l("h3",pS,w(i.errorTitle),1),l("div",gS,[l("ul",fS,[(c(!0),p(Z,null,G(i.errors,(t,s)=>(c(),p("li",{key:s},w(t),1))),128))])])])])]))}};var vS=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:hS});const yS={props:{status:{type:String,required:!1,default:""}},setup(i){const r=i,o=N(()=>{switch(r.status){case"DRAFT":return"bg-yellow-300 bg-opacity-25 px-2 py-1 text-sm text-yellow-800 uppercase font-normal text-center ";case"SENT":return" bg-yellow-500 bg-opacity-25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center ";case"VIEWED":return"bg-blue-400 bg-opacity-25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center";case"EXPIRED":return"bg-red-300 bg-opacity-25 px-2 py-1 text-sm text-red-800 uppercase font-normal text-center";case"ACCEPTED":return"bg-green-400 bg-opacity-25 px-2 py-1 text-sm text-green-800 uppercase font-normal text-center";case"REJECTED":return"bg-purple-300 bg-opacity-25 px-2 py-1 text-sm text-purple-800 uppercase font-normal text-center";default:return"bg-gray-500 bg-opacity-25 px-2 py-1 text-sm text-gray-900 uppercase font-normal text-center"}});return(t,s)=>(c(),p("span",{class:C(d(o))},[B(t.$slots,"default")],2))}};var bS=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:yS}),kS="/build/img/default-avatar.jpg";const wS=["multiple","name","accept"],xS={key:0,class:""},zS=l("img",{src:kS,class:"rounded",alt:"Default Avatar"},null,-1),SS=["onClick"],PS={key:1,class:"flex flex-col items-center"},jS={class:"text-xs leading-4 text-center text-gray-400"},DS=A(" Drag a file here or "),CS=["onClick"],AS=A(" to choose a file "),NS={key:2,class:"flex w-full h-full border border-gray-200 rounded"},ES=["src"],TS={key:1,class:"flex justify-center items-center text-gray-400 flex-col space-y-2 px-2 py-4 w-full"},IS=l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-8 w-8",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.25",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})],-1),$S={key:0,class:"text-gray-600 font-medium text-sm truncate overflow-hidden w-full"},RS={key:3,class:"flex flex-wrap w-full"},FS=["src"],MS={key:1,class:"flex justify-center items-center text-gray-400 flex-col space-y-2 px-2 py-4 w-full"},BS=l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-8 w-8",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.25",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})],-1),VS={key:0,class:"text-gray-600 font-medium text-sm truncate overflow-hidden w-full"},OS=["onClick"],LS={key:4,class:"flex w-full items-center justify-center"},US=["src"],KS={key:1,class:"flex justify-center items-center text-gray-400 flex-col space-y-2 px-2 py-4 w-full"},qS=l("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-8 w-8",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.25",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})],-1),WS={key:0,class:"text-gray-600 font-medium text-sm truncate overflow-hidden w-full"},ZS=["onClick"],HS={props:{multiple:{type:Boolean,default:!1},avatar:{type:Boolean,default:!1},autoProcess:{type:Boolean,default:!1},uploadUrl:{type:String,default:""},preserveLocalFiles:{type:Boolean,default:!1},accept:{type:String,default:"image/*"},inputFieldName:{type:String,default:"photos"},base64:{type:Boolean,default:!1},modelValue:{type:Array,default:()=>[]}},emits:["change","remove","update:modelValue"],setup(i,{emit:r}){const o=i;let t=L([]);const s=L([]),a=L(null);L(null),L(null);function e(){t.value=[],o.modelValue&&o.modelValue.length?s.value=[...o.modelValue]:s.value=[]}function n(x){return f.post(o.uploadUrl,x).then(j=>j.data).then(j=>j.map(R=>H(M({},R),{url:`/images/${R.id}`})))}function _(x){n(x).then(j=>{t=[].concat(j)}).catch(j=>{})}function u(x){return new Promise((j,R)=>{const T=new FileReader;T.readAsDataURL(x),T.onload=()=>j(T.result),T.onerror=D=>R(D)})}function y(x,j,R){if(!j.length||(o.multiple?r("change",x,j,R):o.base64?u(j[0]).then(D=>{r("change",x,D,R,j[0])}):r("change",x,j[0],R),o.preserveLocalFiles||(s.value=[]),Array.from(Array(j.length).keys()).forEach(D=>{const k=j[D];Ce.isImageFile(k.type)?u(k).then(K=>{s.value.push({fileObject:k,type:k.type,name:k.name,image:K})}):s.value.push({fileObject:k,type:k.type,name:k.name})}),r("update:modelValue",s.value),!o.autoProcess))return;const T=new FormData;Array.from(Array(j.length).keys()).forEach(D=>{T.append(x,j[D],j[D].name)}),_(T)}function z(){a.value&&a.value.click()}function b(x){s.value=[],r("remove",x)}function h(x){s.value.splice(x,1)}return we(()=>{e()}),fe(()=>o.modelValue,x=>{s.value=[...x]}),(x,j)=>{const R=S("BaseIcon");return c(),p("form",{enctype:"multipart/form-data",class:C(["relative flex items-center justify-center p-2 border-2 border-dashed rounded-md cursor-pointer avatar-upload border-gray-200 transition-all duration-300 ease-in-out isolate w-full hover:border-gray-300 group min-h-[100px] bg-gray-50",i.avatar?"w-32 h-32":"w-full"])},[l("input",{id:"file-upload",ref:(T,D)=>{D.inputRef=T,a.value=T},type:"file",tabindex:"-1",multiple:i.multiple,name:i.inputFieldName,accept:i.accept,class:"absolute z-10 w-full h-full opacity-0 cursor-pointer",onChange:j[0]||(j[0]=T=>y(T.target.name,T.target.files,T.target.files.length))},null,40,wS),!s.value.length&&i.avatar?(c(),p("div",xS,[zS,l("a",{href:"#",class:"absolute z-30 bg-white rounded-full -bottom-3 -right-3 group",onClick:se(z,["prevent","stop"])},[m(R,{name:"PlusCircleIcon",class:"h-8 text-xl leading-6 text-primary-500 group-hover:text-primary-600"})],8,SS)])):s.value.length?s.value.length&&i.avatar&&!i.multiple?(c(),p("div",NS,[s.value[0].image?(c(),p("img",{key:0,for:"file-upload",src:s.value[0].image,class:"block object-cover w-full h-full rounded opacity-100",style:{animation:"fadeIn 2s ease"}},null,8,ES)):(c(),p("div",TS,[IS,s.value[0].name?(c(),p("p",$S,w(s.value[0].name),1)):P("",!0)])),l("a",{href:"#",class:"box-border absolute z-30 flex items-center justify-center w-8 h-8 bg-white border border-gray-200 rounded-full shadow-md -bottom-3 -right-3 group hover:border-gray-300",onClick:j[1]||(j[1]=se(T=>b(s.value[0]),["prevent","stop"]))},[m(R,{name:"XIcon",class:"h-4 text-xl leading-6 text-black"})])])):s.value.length&&i.multiple?(c(),p("div",RS,[(c(!0),p(Z,null,G(s.value,(T,D)=>(c(),p("a",{key:T,href:"#",class:"block p-2 m-2 bg-white border border-gray-200 rounded hover:border-gray-500 relative max-w-md",onClick:j[2]||(j[2]=se(()=>{},["prevent"]))},[T.image?(c(),p("img",{key:0,for:"file-upload",src:T.image,class:"block object-cover w-20 h-20 opacity-100",style:{animation:"fadeIn 2s ease"}},null,8,FS)):(c(),p("div",MS,[BS,T.name?(c(),p("p",VS,w(T.name),1)):P("",!0)])),l("a",{href:"#",class:"box-border absolute z-30 flex items-center justify-center w-8 h-8 bg-white border border-gray-200 rounded-full shadow-md -bottom-3 -right-3 group hover:border-gray-300",onClick:se(k=>h(D),["prevent","stop"])},[m(R,{name:"XIcon",class:"h-4 text-xl leading-6 text-black"})],8,OS)]))),128))])):(c(),p("div",LS,[(c(!0),p(Z,null,G(s.value,(T,D)=>(c(),p("a",{key:T,href:"#",class:"block p-2 m-2 bg-white border border-gray-200 rounded hover:border-gray-500 relative max-w-md",onClick:j[3]||(j[3]=se(()=>{},["prevent"]))},[T.image?(c(),p("img",{key:0,for:"file-upload",src:T.image,class:"block object-contain h-20 opacity-100 min-w-[5rem]",style:{animation:"fadeIn 2s ease"}},null,8,US)):(c(),p("div",KS,[qS,T.name?(c(),p("p",WS,w(T.name),1)):P("",!0)])),l("a",{href:"#",class:"box-border absolute z-30 flex items-center justify-center w-8 h-8 bg-white border border-gray-200 rounded-full shadow-md -bottom-3 -right-3 group hover:border-gray-300",onClick:se(k=>h(D),["prevent","stop"])},[m(R,{name:"XIcon",class:"h-4 text-xl leading-6 text-black"})],8,ZS)]))),128))])):(c(),p("div",PS,[m(R,{name:"CloudUploadIcon",class:"h-6 mb-2 text-xl leading-6 text-gray-400"}),l("p",jS,[DS,l("a",{class:"cursor-pointer text-primary-500 hover:text-primary-600 hover:font-medium relative z-20",href:"#",onClick:se(z,["prevent","stop"])}," browse ",8,CS),AS])]))],2)}}};var GS=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:HS});const YS={class:"relative z-10 p-4 md:p-8 bg-gray-200 rounded"},JS={props:{show:{type:Boolean,default:!1},rowOnXl:{type:Boolean,default:!1}},emits:["clear"],setup(i){return(r,o)=>(c(),$(De,{"enter-active-class":"transition duration-500 ease-in-out","enter-from-class":"transform opacity-0","enter-to-class":"transform opacity-100","leave-active-class":"transition ease-in-out","leave-from-class":"transform opacity-100","leave-to-class":"transform opacity-0"},{default:v(()=>[Ie(l("div",YS,[B(r.$slots,"filter-header"),l("label",{class:"absolute text-sm leading-snug text-gray-900 cursor-pointer hover:text-gray-700 top-2.5 right-3.5",onClick:o[0]||(o[0]=t=>r.$emit("clear"))},w(r.$t("general.clear_all")),1),l("div",{class:C(["flex flex-col space-y-3",i.rowOnXl?"xl:flex-row xl:space-x-4 xl:space-y-0 xl:items-center":"lg:flex-row lg:space-x-4 lg:space-y-0 lg:items-center"])},[B(r.$slots,"default")],2)],512),[[dt,i.show]])]),_:3}))}};var XS=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:JS});const QS={style:{"font-family":"sans-serif"}},eP={props:{amount:{type:[Number,String],required:!0},currency:{type:Object,default:()=>null}},setup(i){const r=i,o=ga("utils"),t=te(),s=N(()=>o.formatMoney(r.amount,r.currency||t.selectedCompanyCurrency));return(a,e)=>(c(),p("span",QS,w(d(s)),1))}};var tP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:eP});const aP={props:{showBgOverlay:{default:!1,type:Boolean}}},sP={class:"flex flex-col items-center justify-center h-screen h-screen-ios"},nP=l("div",{class:"loader loader-white"},[l("div",{class:"loader-spined"},[l("div",{class:"loader--icon"},[l("svg",{class:"offset-45deg text-primary-500",width:"27",height:"27",viewBox:"0 0 27 27",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[l("path",{d:"M25.9053 1.75122C25.8037 1.44653 25.5498 1.19263 25.2451 1.09106C23.6201 0.735596 22.3506 0.735596 21.0811 0.735596C15.8506 0.735596 12.7021 3.57935 10.3662 7.2356L5.03418 7.2356C4.22168 7.28638 3.25684 7.84497 2.85059 8.60669L0.362305 13.634C0.311523 13.7864 0.260742 13.9895 0.260742 14.1418C0.260742 14.8528 0.768555 15.3606 1.47949 15.3606H6.70996L5.59277 16.5286C4.9834 17.0872 4.93262 18.1536 5.59277 18.8137L8.18262 21.4036C8.74121 21.9622 9.80762 22.0637 10.4678 21.4036L11.585 20.2864V25.5168C11.6357 26.2278 12.1436 26.7356 12.8545 26.7356C13.0068 26.7356 13.21 26.6848 13.3623 26.634L18.3896 24.1458C19.1514 23.7395 19.71 22.7747 19.71 21.9622V16.6301C23.417 14.2942 26.21 11.1458 26.21 5.91528C26.2607 4.64575 26.2607 3.37622 25.9053 1.75122ZM19.7607 9.26685C18.5928 9.26685 17.7295 8.40356 17.7295 7.2356C17.7295 6.11841 18.5928 5.20435 19.7607 5.20435C20.8779 5.20435 21.792 6.11841 21.792 7.2356C21.792 8.40356 20.8779 9.26685 19.7607 9.26685Z",fill:"currentColor"})])])]),l("div",{class:"pufs text-primary-500"},[l("i",{class:"text-primary-500"}),l("i"),l("i"),A(),l("i"),l("i"),l("i"),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i")]),l("div",{class:"particles text-primary-500"},[l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i"),A(),l("i"),l("i"),l("i")]),l("img",{src:Qe,class:"absolute block h-auto max-w-full transform -translate-x-1/2 -translate-y-1/2 w-28 text-primary-400 top-1/2 left-1/2",alt:"Crater Logo"})],-1),iP=[nP];function oP(i,r,o,t,s,a){return c(),p("div",sP,iP)}var rP=ee(aP,[["render",oP]]),dP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:rP});const lP={props:{type:{type:String,default:"section-title",validator:function(i){return["section-title","heading-title"].indexOf(i)!==-1}}},setup(i){const r=i,o=N(()=>({"text-gray-900 text-lg font-medium":r.type==="heading-title","text-gray-500 uppercase text-base":r.type==="section-title"}));return(t,s)=>(c(),p("h6",{class:C(d(o))},[B(t.$slots,"default")],2))}};var cP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:lP});const _P={props:{name:{type:String}},setup(i){const r=L(!1);return we(()=>{r.value=!0}),(o,t)=>r.value?(c(),$(fa(d(ha)[i.name]),{key:0,class:"h-5 w-5"})):P("",!0)}};var uP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:_P});const mP={class:"rounded-md bg-yellow-50 p-4 relative"},pP={class:"flex flex-col"},gP={class:"flex"},fP={class:"flex-shrink-0"},hP={class:"ml-3"},vP={class:"text-sm font-medium text-yellow-800"},yP={class:"mt-2 text-sm text-yellow-700"},bP={role:"list",class:"list-disc pl-5 space-y-1"},kP={key:0,class:"mt-4 ml-3"},wP={class:"-mx-2 -my-1.5 flex flex-row-reverse"},xP=["onClick"],zP={props:{title:{type:String,default:"There were some errors with your submission"},lists:{type:Array,default:null},actions:{type:Array,default:()=>["Dismiss"]}},emits:["hide"],setup(i,{emit:r}){return(o,t)=>{const s=S("BaseIcon");return c(),p("div",mP,[m(s,{name:"XIcon",class:"h-5 w-5 text-yellow-500 absolute right-4 cursor-pointer",onClick:t[0]||(t[0]=a=>o.$emit("hide"))}),l("div",pP,[l("div",gP,[l("div",fP,[m(s,{name:"ExclamationIcon",class:"h-5 w-5 text-yellow-400","aria-hidden":"true"})]),l("div",hP,[l("h3",vP,w(i.title),1),l("div",yP,[l("ul",bP,[(c(!0),p(Z,null,G(i.lists,(a,e)=>(c(),p("li",{key:e},w(a),1))),128))])])])]),i.actions.length?(c(),p("div",kP,[l("div",wP,[(c(!0),p(Z,null,G(i.actions,(a,e)=>(c(),p("button",{key:e,type:"button",class:"bg-yellow-50 px-2 py-1.5 rounded-md text-sm font-medium text-yellow-800 hover:bg-yellow-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-yellow-50 focus:ring-yellow-600 mr-3",onClick:n=>o.$emit(`${a}`)},w(a),9,xP))),128))])])):P("",!0)])])}}};var SP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:zP});const PP={key:0,class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},jP=l("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),DP=l("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1),CP=[jP,DP],AP={key:1,class:"absolute inset-y-0 left-0 flex items-center pl-3"},NP={key:2,class:"inline-flex items-center px-3 text-gray-500 border border-r-0 border-gray-200 rounded-l-md bg-gray-50 sm:text-sm"},EP={key:3,class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},TP={class:"text-gray-500 sm:text-sm"},IP=["type","value","disabled"],$P={key:4,class:"absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none"},RP=l("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),FP=l("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"},null,-1),MP=[RP,FP],BP={key:5,class:"absolute inset-y-0 right-0 flex items-center pr-3"},VP={props:{contentLoading:{type:Boolean,default:!1},type:{type:[Number,String],default:"text"},modelValue:{type:[String,Number],default:""},loading:{type:Boolean,default:!1},loadingPosition:{type:String,default:"left"},addon:{type:String,default:null},inlineAddon:{type:String,default:""},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},containerClass:{type:String,default:""},contentLoadClass:{type:String,default:""},defaultInputClass:{type:String,default:"font-base block w-full sm:text-sm border-gray-200 rounded-md text-black"},iconLeftClass:{type:String,default:"h-5 w-5 text-gray-400"},iconRightClass:{type:String,default:"h-5 w-5 text-gray-400"},modelModifiers:{default:()=>({})}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i;L(!1);const t=xe(),s=N(()=>!!t.left||o.loading&&o.loadingPosition==="left"),a=N(()=>!!t.right||o.loading&&o.loadingPosition==="right"),e=N(()=>s.value&&a.value?"px-10":s.value?"pl-10":a.value?"pr-10":""),n=N(()=>o.addon?"flex-1 min-w-0 block w-full px-3 py-2 !rounded-none !rounded-r-md":o.inlineAddon?"pl-7":""),_=N(()=>o.invalid?"border-red-500 ring-red-500 focus:ring-red-500 focus:border-red-500":"focus:ring-primary-400 focus:border-primary-400"),u=N(()=>o.disabled?"border-gray-100 bg-gray-100 !text-gray-400 ring-gray-200 focus:ring-gray-200 focus:border-gray-100":""),y=N(()=>{let b=`${o.containerClass} `;return o.addon?`${o.containerClass} flex`:b});function z(b){let h=b.target.value;o.modelModifiers.uppercase&&(h=h.toUpperCase()),r("update:modelValue",h)}return(b,h)=>{const x=S("BaseContentPlaceholdersBox"),j=S("BaseContentPlaceholders");return i.contentLoading?(c(),$(j,{key:0},{default:v(()=>[m(x,{rounded:!0,class:C(`w-full ${i.contentLoadClass}`),style:{height:"38px"}},null,8,["class"])]),_:1})):(c(),p("div",{key:1,class:C([[i.containerClass,d(y)],"relative rounded-md shadow-sm font-base"])},[i.loading&&i.loadingPosition==="left"?(c(),p("div",PP,[(c(),p("svg",{class:C(["animate-spin !text-primary-500",[i.iconLeftClass]]),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},CP,2))])):d(s)?(c(),p("div",AP,[B(b.$slots,"left",{class:C(i.iconLeftClass)})])):P("",!0),i.addon?(c(),p("span",NP,w(i.addon),1)):P("",!0),i.inlineAddon?(c(),p("div",EP,[l("span",TP,w(i.inlineAddon),1)])):P("",!0),l("input",_e(b.$attrs,{type:i.type,value:i.modelValue,disabled:i.disabled,class:[i.defaultInputClass,d(e),d(n),d(_),d(u)],onInput:z}),null,16,IP),i.loading&&i.loadingPosition==="right"?(c(),p("div",$P,[(c(),p("svg",{class:C(["animate-spin !text-primary-500",[i.iconRightClass]]),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},MP,2))])):P("",!0),d(a)?(c(),p("div",BP,[B(b.$slots,"right",{class:C(i.iconRightClass)})])):P("",!0)],2))}}};var OP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:VP});const LP={props:{layout:{type:String,default:"two-column"}},setup(i){const r=i,o=N(()=>r.layout==="two-column"?"grid gap-y-6 gap-x-4 md:grid-cols-2":"grid gap-y-6 gap-x-4 grid-cols-1");return(t,s)=>(c(),p("div",{class:C(d(o))},[B(t.$slots,"default")],2))}};var UP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:LP});const KP={class:"text-sm text-red-500"},qP={key:0,class:"text-gray-400 text-xs mt-1 font-light"},WP={key:1,class:"block mt-0.5 text-sm text-red-500"},ZP={props:{contentLoading:{type:Boolean,default:!1},contentLoadClass:{type:String,default:"w-16 h-5"},label:{type:String,default:""},variant:{type:String,default:"vertical"},error:{type:[String,Boolean],default:null},required:{type:Boolean,default:!1},tooltip:{type:String,default:null,required:!1},helpText:{type:String,default:null,required:!1}},setup(i){const r=i,o=N(()=>r.variant==="horizontal"?"grid md:grid-cols-12 items-center":""),t=N(()=>r.variant==="horizontal"?"relative pr-0 pt-1 mr-3 text-sm md:col-span-4 md:text-right mb-1 md:mb-0":""),s=N(()=>r.variant==="horizontal"?"md:col-span-8 md:col-start-5 md:col-ends-12":"flex flex-col mt-1"),a=xe(),e=N(()=>!!a.labelRight);return(n,_)=>{const u=S("BaseContentPlaceholdersText"),y=S("BaseContentPlaceholders"),z=S("BaseIcon"),b=va("tooltip");return c(),p("div",{class:C([d(o),"relative w-full text-left"])},[i.contentLoading?(c(),$(y,{key:0},{default:v(()=>[m(u,{lines:1,class:C(i.contentLoadClass)},null,8,["class"])]),_:1})):i.label?(c(),p("label",{key:1,class:C([d(t),"flex text-sm not-italic items-center font-medium text-primary-800 whitespace-nowrap justify-between"])},[l("div",null,[A(w(i.label)+" ",1),Ie(l("span",KP," * ",512),[[dt,i.required]])]),d(e)?B(n.$slots,"labelRight",{key:0}):P("",!0),i.tooltip?Ie((c(),$(z,{key:1,name:"InformationCircleIcon",class:"h-4 text-gray-400 cursor-pointer hover:text-gray-600"},null,512)),[[b,{content:i.tooltip}]]):P("",!0)],2)):P("",!0),l("div",{class:C(d(s))},[B(n.$slots,"default"),i.helpText?(c(),p("span",qP,w(i.helpText),1)):P("",!0),i.error?(c(),p("span",WP,w(i.error),1)):P("",!0)],2)],2)}}};var HP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ZP});const GP={props:{status:{type:String,required:!1,default:""}},setup(i){return{badgeColorClasses:N(()=>{switch(i.status){case"DRAFT":return"bg-yellow-300 bg-opacity-25 px-2 py-1 text-sm text-yellow-800 uppercase font-normal text-center";case"SENT":return" bg-yellow-500 bg-opacity-25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center ";case"VIEWED":return"bg-blue-400 bg-opacity-25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center";case"COMPLETED":return"bg-green-500 bg-opacity-25 px-2 py-1 text-sm text-green-900 uppercase font-normal text-center";case"DUE":return"bg-yellow-500 bg-opacity-25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center";case"OVERDUE":return"bg-red-300 bg-opacity-50 px-2 py-1 text-sm text-red-900 uppercase font-normal text-center";case"UNPAID":return"bg-yellow-500 bg-opacity-25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center";case"PARTIALLY_PAID":return"bg-blue-400 bg-opacity-25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center";case"PAID":return"bg-green-500 bg-opacity-25 px-2 py-1 text-sm text-green-900 uppercase font-normal text-center";default:return"bg-gray-500 bg-opacity-25 px-2 py-1 text-sm text-gray-900 uppercase font-normal text-center"}})}}};function YP(i,r,o,t,s,a){return c(),p("span",{class:C(t.badgeColorClasses)},[B(i.$slots,"default")],2)}var JP=ee(GP,[["render",YP]]),XP=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:JP});const QP={class:"flex-1 text-sm"},ej={key:0,class:"relative flex items-center h-10 pl-2 bg-gray-200 border border-gray-200 border-solid rounded"},tj={class:"w-full pt-1 text-xs text-light"},aj={key:0},sj={class:"text-red-600"},nj={props:{contentLoading:{type:Boolean,default:!1},type:{type:String,default:null},item:{type:Object,required:!0},index:{type:Number,default:0},invalid:{type:Boolean,required:!1,default:!1},invalidDescription:{type:Boolean,required:!1,default:!1},taxPerItem:{type:String,default:""},taxes:{type:Array,default:null},store:{type:Object,default:null},storeProp:{type:String,default:""}},emits:["search","select"],setup(i,{emit:r}){const o=i,t=Ae();Me(),Ne();const s=me(),a=ve();oe();const{t:e}=be(),n=L(null);L(!1);let _=Te(M({},o.item));Object.assign(_,o.item),N(()=>0);const u=N({get:()=>o.item.description,set:h=>{o.store[o.storeProp].items[o.index].description=h}});async function y(h){return(await t.fetchItems({search:h})).data.data}function z(){s.openModal({title:e("items.add_item"),componentName:"ItemModal",refreshData:h=>r("select",h),data:{taxPerItem:o.taxPerItem,taxes:o.taxes,itemIndex:o.index,store:o.store,storeProps:o.storeProp}})}function b(h){o.store.deselectItem(h)}return(h,x)=>{const j=S("BaseIcon"),R=S("BaseSelectAction"),T=S("BaseMultiselect"),D=S("BaseTextarea");return c(),p("div",QP,[i.item.item_id?(c(),p("div",ej,[A(w(i.item.name)+" ",1),l("span",{class:"absolute text-gray-400 cursor-pointer top-[8px] right-[10px]",onClick:x[0]||(x[0]=k=>b(i.index))},[m(j,{name:"XCircleIcon"})])])):(c(),$(T,{key:1,modelValue:n.value,"onUpdate:modelValue":[x[1]||(x[1]=k=>n.value=k),x[2]||(x[2]=k=>h.$emit("select",k))],"content-loading":i.contentLoading,"value-prop":"id","track-by":"id",invalid:i.invalid,"preserve-search":"","initial-search":d(_).name,label:"name",filterResults:!1,"resolve-on-load":"",delay:500,searchable:"",options:y,object:"",onSearchChange:x[3]||(x[3]=k=>h.$emit("search",k))},{action:v(()=>[d(a).hasAbilities(d(O).CREATE_ITEM)?(c(),$(R,{key:0,onClick:z},{default:v(()=>[m(j,{name:"PlusCircleIcon",class:"h-4 mr-2 -ml-2 text-center text-primary-400"}),A(" "+w(h.$t("general.add_new_item")),1)]),_:1})):P("",!0)]),_:1},8,["modelValue","content-loading","invalid","initial-search"])),l("div",tj,[m(D,{modelValue:d(u),"onUpdate:modelValue":x[4]||(x[4]=k=>re(u)?u.value=k:null),"content-loading":i.contentLoading,autosize:!0,class:"text-xs",borderless:!0,placeholder:h.$t("estimates.item.type_item_description"),invalid:i.invalidDescription},null,8,["modelValue","content-loading","placeholder","invalid"]),i.invalidDescription?(c(),p("div",aj,[l("span",sj,w(h.$tc("validation.description_maxlength")),1)])):P("",!0)])])}}};var ij=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:nj});const oj={},rj={class:"text-sm not-italic font-medium leading-5 text-primary-800"};function dj(i,r){return c(),p("label",rj,[B(i.$slots,"default")])}var lj=ee(oj,[["render",dj]]),cj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:lj});const _j={class:"flex items-end justify-center min-h-screen min-h-screen-ios px-4 text-center sm:block sm:px-2"},uj=l("span",{class:"hidden sm:inline-block sm:align-middle sm:h-screen sm:h-screen-ios","aria-hidden":"true"},"\u200B",-1),mj={key:0,class:"flex items-center justify-between px-6 py-4 text-lg font-medium text-black border-b border-gray-200 border-solid"},pj={props:{show:{type:Boolean,default:!1}},emits:["close","open"],setup(i,{emit:r}){const o=i,t=xe(),s=me();rt(()=>{o.show&&r("open",o.show)});const a=N(()=>{switch(s.size){case"sm":return"sm:max-w-2xl w-full";case"md":return"sm:max-w-4xl w-full";case"lg":return"sm:max-w-6xl w-full";default:return"sm:max-w-2xl w-full"}}),e=N(()=>!!t.header);return(n,_)=>(c(),$(ya,{to:"body"},[m(d(Ke),{appear:"",as:"template",show:i.show},{default:v(()=>[m(d(Le),{as:"div",static:"",class:"fixed inset-0 z-20 overflow-y-auto",open:i.show,onClose:_[0]||(_[0]=u=>n.$emit("close"))},{default:v(()=>[l("div",_j,[m(d(ke),{as:"template",enter:"ease-out duration-300","enter-from":"opacity-0","enter-to":"opacity-100",leave:"ease-in duration-200","leave-from":"opacity-100","leave-to":"opacity-0"},{default:v(()=>[m(d(Ue),{class:"fixed inset-0 transition-opacity bg-gray-700 bg-opacity-25"})]),_:1}),uj,m(d(ke),{as:"template",enter:"ease-out duration-300","enter-from":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to":"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200","leave-from":"opacity-100 translate-y-0 sm:scale-100","leave-to":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:v(()=>[l("div",{class:C(`inline-block align-middle bg-white rounded-lg @@ -10,4 +10,4 @@ var Mt=Object.defineProperty,Bt=Object.defineProperties;var Vt=Object.getOwnProp my-4 ${d(a)} sm:w-full - border-t-8 border-solid rounded shadow-xl border-primary-500`)},[d(e)?(c(),p("div",mj,[B(n.$slots,"header")])):P("",!0),B(n.$slots,"default"),B(n.$slots,"footer")],2)]),_:3})])]),_:3},8,["open"])]),_:3},8,["show"])]))}};var gj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:pj});const fj={props:{contentLoading:{type:Boolean,default:!1},modelValue:{type:[String,Number],required:!0,default:""},invalid:{type:Boolean,default:!1},inputClass:{type:String,default:"font-base block w-full sm:text-sm border-gray-200 rounded-md text-black"},disabled:{type:Boolean,default:!1},percent:{type:Boolean,default:!1},currency:{type:Object,default:null}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i;let t=ba;const s=te();let a=!1;const e=N({get:()=>o.modelValue,set:u=>{if(!a){a=!0;return}r("update:modelValue",u)}}),n=N(()=>{const u=o.currency?o.currency:s.selectedCompanyCurrency;return{decimal:u.decimal_separator,thousands:u.thousand_separator,prefix:u.symbol+" ",precision:u.precision,masked:!1}}),_=N(()=>o.invalid?"border-red-500 ring-red-500 focus:ring-red-500 focus:border-red-500":"focus:ring-primary-400 focus:border-primary-400");return(u,y)=>{const z=S("BaseContentPlaceholdersBox"),b=S("BaseContentPlaceholders");return i.contentLoading?(c(),$(b,{key:0},{default:v(()=>[m(z,{rounded:!0,class:"w-full",style:{height:"38px"}})]),_:1})):(c(),$(d(t),_e({key:1,modelValue:d(e),"onUpdate:modelValue":y[0]||(y[0]=h=>re(e)?e.value=h:null)},d(n),{class:[i.inputClass,d(_)],disabled:i.disabled}),null,16,["modelValue","class","disabled"]))}}};var hj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:fj});const vj={props:{sucess:{type:Boolean,default:!1}},setup(i){return(r,o)=>(c(),p("span",{class:C([i.sucess?"bg-green-100 text-green-700 ":"bg-red-100 text-red-700","px-2 py-1 text-sm font-normal text-center uppercase"])},[B(r.$slots,"default")],2))}};var yj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:vj});const bj={},kj={class:"flex-1 p-4 md:p-8 flex flex-col"};function wj(i,r){return c(),p("div",kj,[B(i.$slots,"default")])}var xj=ee(bj,[["render",wj]]),zj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:xj});const Sj={class:"flex flex-wrap justify-between"},Pj={class:"text-2xl font-bold text-left text-black"},jj={class:"flex items-center"},Dj={props:{title:{type:String,default:null,required:!0}},setup(i){return(r,o)=>(c(),p("div",Sj,[l("div",null,[l("h3",Pj,w(i.title),1),B(r.$slots,"default")]),l("div",jj,[B(r.$slots,"actions")])]))}};var Cj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Dj});const Aj={props:{status:{type:String,required:!1,default:""},defaultClass:{type:String,default:"px-1 py-0.5 text-xs"}},setup(i){return{badgeColorClasses:N(()=>{switch(i.status){case"PAID":return"bg-primary-300 bg-opacity-25 text-primary-800 uppercase font-normal text-center";case"UNPAID":return" bg-yellow-500 bg-opacity-25 text-yellow-900 uppercase font-normal text-center ";case"PARTIALLY_PAID":return"bg-blue-400 bg-opacity-25 text-blue-900 uppercase font-normal text-center";default:return"bg-gray-500 bg-opacity-25 text-gray-900 uppercase font-normal text-center"}})}}};function Nj(i,r,o,t,s,a){return c(),p("span",{class:C([[t.badgeColorClasses,o.defaultClass],""])},[B(i.$slots,"default")],2)}var Ej=ee(Aj,[["render",Nj]]),Tj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ej});const Ij=A(" Privacy setting "),$j={class:"-space-y-px rounded-md"},Rj={class:"relative flex cursor-pointer focus:outline-none"},Fj=l("span",{class:"rounded-full bg-white w-1.5 h-1.5"},null,-1),Mj=[Fj],Bj={class:"flex flex-col ml-3"},Vj={props:{id:{type:[String,Number],required:!1,default:()=>`radio_${Math.random().toString(36).substr(2,9)}`},label:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},name:{type:[String,Number],default:""},checkedStateClass:{type:String,default:"bg-primary-600"},unCheckedStateClass:{type:String,default:"bg-white "},optionGroupActiveStateClass:{type:String,default:"ring-2 ring-offset-2 ring-primary-500"},checkedStateLabelClass:{type:String,default:"text-primary-900 "},unCheckedStateLabelClass:{type:String,default:"text-gray-900"},optionGroupClass:{type:String,default:"h-4 w-4 mt-0.5 cursor-pointer rounded-full border flex items-center justify-center"},optionGroupLabelClass:{type:String,default:"block text-sm font-light"}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i,t=N({get:()=>o.modelValue,set:s=>r("update:modelValue",s)});return(s,a)=>(c(),$(d(wa),{modelValue:d(t),"onUpdate:modelValue":a[0]||(a[0]=e=>re(t)?t.value=e:null)},{default:v(()=>[m(d(lt),{class:"sr-only"},{default:v(()=>[Ij]),_:1}),l("div",$j,[m(d(ka),_e({id:i.id,as:"template",value:i.value,name:i.name},s.$attrs),{default:v(({checked:e,active:n})=>[l("div",Rj,[l("span",{class:C([e?i.checkedStateClass:i.unCheckedStateClass,n?i.optionGroupActiveStateClass:"",i.optionGroupClass]),"aria-hidden":"true"},Mj,2),l("div",Bj,[m(d(lt),{as:"span",class:C([e?i.checkedStateLabelClass:i.unCheckedStateLabelClass,i.optionGroupLabelClass])},{default:v(()=>[A(w(i.label),1)]),_:2},1032,["class"])])])]),_:1},16,["id","value","name"])])]),_:1},8,["modelValue"]))}};var Oj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Vj});const Lj={props:{status:{type:String,required:!1,default:""}},setup(i){return{badgeColorClasses:N(()=>{switch(i.status){case"COMPLETED":return"bg-green-500 bg-opacity-25 px-2 py-1 text-sm text-green-900 uppercase font-normal text-center";case"ON_HOLD":return"bg-yellow-500 bg-opacity-25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center";case"ACTIVE":return"bg-blue-400 bg-opacity-25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center";default:return"bg-gray-500 bg-opacity-25 px-2 py-1 text-sm text-gray-900 uppercase font-normal text-center"}})}}};function Uj(i,r,o,t,s,a){return c(),p("span",{class:C(t.badgeColorClasses)},[B(i.$slots,"default")],2)}var Kj=ee(Lj,[["render",Uj]]),qj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Kj});const Wj={},Zj={class:"flex flex-col"},Hj={class:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},Gj={class:"py-2 align-middle inline-block min-w-full sm:px-4 lg:px-6"},Yj={class:"overflow-hidden sm:px-2 lg:p-2"};function Jj(i,r){return c(),p("div",Zj,[l("div",Hj,[l("div",Gj,[l("div",Yj,[B(i.$slots,"default")])])])])}var Xj=ee(Wj,[["render",Jj]]),Qj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Xj});const eD={},tD={class:"flex items-center justify-center w-full px-6 py-2 text-sm bg-gray-200 cursor-pointer text-primary-400"};function aD(i,r){return c(),p("div",tD,[B(i.$slots,"default")])}var sD=ee(eD,[["render",aD]]),nD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:sD});const iD={class:"relative"},oD={key:0,class:"block truncate"},rD={key:1,class:"block text-gray-400 truncate"},dD={key:2,class:"block text-gray-400 truncate"},lD={class:"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"},cD=A(" /> "),_D={props:{contentLoading:{type:Boolean,default:!1},modelValue:{type:[String,Number,Boolean,Object,Array],default:""},options:{type:Array,required:!0},label:{type:String,default:""},placeholder:{type:String,default:""},labelKey:{type:[String],default:"label"},valueProp:{type:String,default:null},multiple:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i;let t=L(o.modelValue);function s(e){return typeof e=="object"&&e!==null}function a(e){return s(e)?e[o.labelKey]:e}return fe(()=>o.modelValue,()=>{o.valueProp&&o.options.length?t.value=o.options.find(e=>{if(e[o.valueProp])return e[o.valueProp]===o.modelValue}):t.value=o.modelValue}),fe(t,e=>{o.valueProp?r("update:modelValue",e[o.valueProp]):r("update:modelValue",e)}),(e,n)=>{const _=S("BaseContentPlaceholdersBox"),u=S("BaseContentPlaceholders"),y=S("BaseIcon");return i.contentLoading?(c(),$(u,{key:0},{default:v(()=>[m(_,{rounded:!0,class:"w-full h-10"})]),_:1})):(c(),$(d(ja),_e({key:1,modelValue:d(t),"onUpdate:modelValue":n[0]||(n[0]=z=>re(t)?t.value=z:t=z),as:"div"},M({},e.$attrs)),{default:v(()=>[i.label?(c(),$(d(xa),{key:0,class:"block text-sm not-italic font-medium text-primary-800 mb-0.5"},{default:v(()=>[A(w(i.label),1)]),_:1})):P("",!0),l("div",iD,[m(d(za),{class:"relative w-full py-2 pl-3 pr-10 text-left bg-white border border-gray-200 rounded-md shadow-sm cursor-default focus:outline-none focus:ring-1 focus:ring-primary-500 focus:border-primary-500 sm:text-sm"},{default:v(()=>[a(d(t))?(c(),p("span",oD,w(a(d(t))),1)):i.placeholder?(c(),p("span",rD,w(i.placeholder),1)):(c(),p("span",dD," Please select an option ")),l("span",lD,[m(y,{name:"SelectorIcon",class:"text-gray-400","aria-hidden":"true"})])]),_:1}),m(De,{"leave-active-class":"transition duration-100 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:v(()=>[m(d(Sa),{class:"absolute z-10 w-full py-1 mt-1 overflow-auto text-base bg-white rounded-md shadow-lg max-h-60 ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},{default:v(()=>[(c(!0),p(Z,null,G(i.options,z=>(c(),$(d(Pa),{key:z.id,value:z,as:"template"},{default:v(({active:b,selected:h})=>[l("li",{class:C([b?"text-white bg-primary-600":"text-gray-900","cursor-default select-none relative py-2 pl-3 pr-9"])},[l("span",{class:C([h?"font-semibold":"font-normal","block truncate"])},w(a(z)),3),h?(c(),p("span",{key:0,class:C([b?"text-white":"text-primary-600","absolute inset-y-0 right-0 flex items-center pr-4"])},[m(y,{name:"CheckIcon","aria-hidden":"true"}),cD],2)):P("",!0)],2)]),_:2},1032,["value"]))),128)),B(e.$slots,"default")]),_:3})]),_:3})])]),_:3},16,["modelValue"]))}}};var uD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:_D});const mD={class:"flex flex-wrap justify-between lg:flex-nowrap mb-5"},pD={class:"font-medium text-lg text-left"},gD={class:"mt-2 text-sm leading-snug text-left text-gray-500 max-w-[680px]"},fD={class:"mt-4 lg:mt-0 lg:ml-2"},hD={props:{title:{type:String,required:!0},description:{type:String,required:!0}},setup(i){return(r,o)=>{const t=S("BaseCard");return c(),$(t,null,{default:v(()=>[l("div",mD,[l("div",null,[l("h6",pD,w(i.title),1),l("p",gD,w(i.description),1)]),l("div",fD,[B(r.$slots,"action")])]),B(r.$slots,"default")]),_:3})}}};var vD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:hD});const yD={class:"flex flex-row items-start"},bD={props:{labelLeft:{type:String,default:""},labelRight:{type:String,default:""},modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i,t=N({get:()=>o.modelValue,set:s=>r("update:modelValue",s)});return(s,a)=>(c(),$(d(_t),null,{default:v(()=>[l("div",yD,[i.labelLeft?(c(),$(d(We),{key:0,class:"mr-4 cursor-pointer"},{default:v(()=>[A(w(i.labelLeft),1)]),_:1})):P("",!0),m(d(ct),_e({modelValue:d(t),"onUpdate:modelValue":a[0]||(a[0]=e=>re(t)?t.value=e:null),class:[d(t)?"bg-primary-500":"bg-gray-300","relative inline-flex items-center h-6 transition-colors rounded-full w-11 focus:outline-none focus:ring-primary-500"]},s.$attrs),{default:v(()=>[l("span",{class:C([d(t)?"translate-x-6":"translate-x-1","inline-block w-4 h-4 transition-transform transform bg-white rounded-full"])},null,2)]),_:1},16,["modelValue","class"]),i.labelRight?(c(),$(d(We),{key:1,class:"ml-4 cursor-pointer"},{default:v(()=>[A(w(i.labelRight),1)]),_:1})):P("",!0)])]),_:1}))}};var kD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:bD});const wD={class:"flex flex-col"},xD={props:{title:{type:String,required:!0},description:{type:String,default:""},modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(i,{emit:r}){function o(t){r("update:modelValue",t)}return(t,s)=>(c(),$(d(_t),{as:"li",class:"py-4 flex items-center justify-between"},{default:v(()=>[l("div",wD,[m(d(We),{as:"p",class:"p-0 mb-1 text-sm leading-snug text-black font-medium",passive:""},{default:v(()=>[A(w(i.title),1)]),_:1}),m(d(Da),{class:"text-sm text-gray-500"},{default:v(()=>[A(w(i.description),1)]),_:1})]),m(d(ct),{"model-value":i.modelValue,class:C([i.modelValue?"bg-primary-500":"bg-gray-200","ml-4 relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-sky-500"]),"onUpdate:modelValue":o},{default:v(()=>[l("span",{"aria-hidden":"true",class:C([i.modelValue?"translate-x-5":"translate-x-0","inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200"])},null,2)]),_:1},8,["model-value","class"])]),_:1}))}};var zD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:xD});const SD={props:{title:{type:[String,Number],default:"Tab"},count:{type:[String,Number],default:""},countVariant:{type:[String,Number],default:""},tabPanelContainer:{type:String,default:"py-4 mt-px"}},setup(i){return(r,o)=>(c(),$(d(Ca),{class:C([i.tabPanelContainer,"focus:outline-none"])},{default:v(()=>[B(r.$slots,"default")]),_:3},8,["class"]))}};var PD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:SD});const jD={props:{defaultIndex:{type:Number,default:0},filter:{type:String,default:null}},emits:["change"],setup(i,{emit:r}){const o=xe(),t=N(()=>o.default().map(a=>a.props));function s(a){r("change",t.value[a])}return(a,e)=>{const n=S("BaseBadge");return c(),p("div",null,[m(d(Ta),{"default-index":i.defaultIndex,onChange:s},{default:v(()=>[m(d(Aa),{class:C(["flex border-b border-grey-light","relative overflow-x-auto overflow-y-hidden","lg:pb-0 lg:ml-0"])},{default:v(()=>[(c(!0),p(Z,null,G(d(t),(_,u)=>(c(),$(d(Na),{key:u,as:"template"},{default:v(({selected:y})=>[l("button",{class:C(["px-8 py-2 text-sm leading-5 font-medium flex items-center relative border-b-2 mt-4 focus:outline-none whitespace-nowrap",y?" border-primary-400 text-black font-medium":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300"])},[A(w(_.title)+" ",1),_.count?(c(),$(n,{key:0,class:"!rounded-full overflow-hidden ml-2",variant:_["count-variant"],"default-class":"flex items-center justify-center w-5 h-5 p-1 rounded-full text-medium"},{default:v(()=>[A(w(_.count),1)]),_:2},1032,["variant"])):P("",!0)],2)]),_:2},1024))),128))]),_:1}),B(a.$slots,"before-tabs"),m(d(Ea),null,{default:v(()=>[B(a.$slots,"default")]),_:3})]),_:3},8,["default-index"])])}}};var DD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:jD});const CD={props:{tag:{type:String,default:"div"},text:{type:String,default:""},length:{type:Number,default:0}},setup(i){const r=i,o=N(()=>r.text.length{const a=S("BaseCustomTag");return c(),$(a,{tag:i.tag,title:i.text},{default:v(()=>[A(w(d(o)),1)]),_:1},8,["tag","title"])}}};var AD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:CD});const ND=["value","disabled"],ED={props:{contentLoading:{type:Boolean,default:!1},row:{type:Number,default:null},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},modelValue:{type:[String,Number],default:""},defaultInputClass:{type:String,default:"box-border w-full px-3 py-2 text-sm not-italic font-normal leading-snug text-left text-black placeholder-gray-400 bg-white border border-gray-200 border-solid rounded outline-none"},autosize:{type:Boolean,default:!1},borderless:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i,t=L(null),s=N(()=>o.invalid&&!o.borderless?"border-red-400 ring-red-400 focus:ring-red-400 focus:border-red-400":o.borderless?"border-none outline-none focus:ring-primary-400 focus:border focus:border-primary-400":"focus:ring-primary-400 focus:border-primary-400"),a=N(()=>{switch(o.row){case 2:return"56";case 4:return"94";default:return"56"}});function e(n){r("update:modelValue",n.target.value),o.autosize&&(n.target.style.height="auto",n.target.style.height=`${n.target.scrollHeight}px`)}return we(()=>{t.value&&o.autosize&&(t.value.style.height=t.value.scrollHeight+"px",t.value.style.overflow&&t.value.style.overflow.y&&(t.value.style.overflow.y="hidden"),t.value.style.resize="none")}),(n,_)=>{const u=S("BaseContentPlaceholdersBox"),y=S("BaseContentPlaceholders");return i.contentLoading?(c(),$(y,{key:0},{default:v(()=>[m(u,{rounded:!0,class:"w-full",style:qe(`height: ${d(a)}px`)},null,8,["style"])]),_:1})):(c(),p("textarea",_e({key:1},n.$attrs,{ref:(z,b)=>{b.textarea=z,t.value=z},value:i.modelValue,class:[i.defaultInputClass,d(s)],disabled:i.disabled,onInput:e}),null,16,ND))}}};var TD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ED});const ID=l("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z","clip-rule":"evenodd"},null,-1),$D=[ID],RD={props:{modelValue:{type:[String,Date],default:()=>moment(new Date)},contentLoading:{type:Boolean,default:!1},placeholder:{type:String,default:null},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},containerClass:{type:String,default:""},clockIcon:{type:Boolean,default:!0},defaultInputClass:{type:String,default:"font-base pl-8 py-2 outline-none focus:ring-primary-400 focus:outline-none focus:border-primary-400 block w-full sm:text-sm border-gray-300 rounded-md text-black"}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i,t=L(null),s=xe();let a=Te({enableTime:!0,noCalendar:!0,dateFormat:"H:i",time_24hr:!0});const e=N({get:()=>o.modelValue,set:b=>r("update:modelValue",b)}),n=N(()=>!!s.icon);function _(b){t.value.fp.open()}const u=N(()=>`${o.containerClass} `),y=N(()=>o.invalid?"border-red-400 ring-red-400 focus:ring-red-400 focus:border-red-400":""),z=N(()=>o.disabled?"border border-solid rounded-md outline-none input-field box-border-2 base-date-picker-input placeholder-gray-400 bg-gray-300 text-gray-600 border-gray-300":"");return(b,h)=>{const x=S("BaseContentPlaceholdersBox"),j=S("BaseContentPlaceholders");return i.contentLoading?(c(),$(j,{key:0},{default:v(()=>[m(x,{rounded:!0,class:C(`w-full ${d(u)}`),style:{height:"38px"}},null,8,["class"])]),_:1})):(c(),p("div",{key:1,class:C([d(u),"relative flex flex-row"])},[i.clockIcon&&!d(n)?(c(),p("svg",{key:0,xmlns:"http://www.w3.org/2000/svg",class:"absolute top-px w-4 h-4 mx-2 my-2.5 text-sm not-italic font-black text-gray-400 cursor-pointer",viewBox:"0 0 20 20",fill:"currentColor",onClick:_},$D)):P("",!0),i.clockIcon&&d(n)?B(b.$slots,"icon",{key:1}):P("",!0),m(d(ot),_e({ref:(R,T)=>{T.dpt=R,t.value=R},modelValue:d(e),"onUpdate:modelValue":h[0]||(h[0]=R=>re(e)?e.value=R:null)},b.$attrs,{disabled:i.disabled,config:d(a),class:[i.defaultInputClass,d(y),d(z)]}),null,16,["modelValue","disabled","config","class"])],2))}}};var FD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:RD});const MD={props:{currentStep:{type:Number,default:null},steps:{type:Number,default:null},containerClass:{type:String,default:"flex justify-between w-full my-10 max-w-xl mx-auto"},progress:{type:String,default:"rounded-full float-left w-6 h-6 border-4 cursor-pointer"},currentStepClass:{type:String,default:"bg-white border-primary-500"},nextStepClass:{type:String,default:"border-gray-200 bg-white"},previousStepClass:{type:String,default:"bg-primary-500 border-primary-500 flex justify-center items-center"},iconClass:{type:String,default:"flex items-center justify-center w-full h-full text-sm font-black text-center text-white"}},emits:["click"],setup(i){function r(o){return i.currentStep===o?[i.currentStepClass,i.progress]:i.currentStep>o?[i.previousStepClass,i.progress]:i.currentStep(c(),p("a",{key:n,class:C([t.stepStyle(e),"z-10"]),href:"#",onClick:se(_=>i.$emit("click",n),["prevent"])},[o.currentStep>e?(c(),p("svg",{key:0,class:C(o.iconClass),fill:"currentColor",viewBox:"0 0 20 20",onClick:_=>i.$emit("click",n)},LD,10,VD)):P("",!0)],10,BD))),128))],2)}var Ft=ee(MD,[["render",UD]]),KD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ft});const qD={class:"w-full"},WD={props:{wizardStepsContainerClass:{type:String,default:"relative flex items-center justify-center"},currentStep:{type:Number,default:0},steps:{type:Number,default:0}},emits:["click"],setup(i,{emit:r}){return(o,t)=>(c(),p("div",qD,[B(o.$slots,"nav",{},()=>[m(Ft,{"current-step":i.currentStep,steps:i.steps,onClick:t[0]||(t[0]=s=>o.$emit("click",s))},null,8,["current-step","steps"])]),l("div",{class:C(i.wizardStepsContainerClass)},[B(o.$slots,"default")],2)]))}};var ZD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:WD});const HD={key:0},GD={props:{title:{type:String,default:null},description:{type:String,default:null},stepContainerClass:{type:String,default:"w-full p-8 mb-8 bg-white border border-gray-200 border-solid rounded"},stepTitleClass:{type:String,default:"text-2xl not-italic font-semibold leading-7 text-black"},stepDescriptionClass:{type:String,default:"w-full mt-2.5 mb-8 text-sm not-italic leading-snug text-gray-500 lg:w-7/12 md:w-7/12 sm:w-7/12"}},setup(i){return(r,o)=>(c(),p("div",{class:C(i.stepContainerClass)},[i.title||i.description?(c(),p("div",HD,[i.title?(c(),p("p",{key:0,class:C(i.stepTitleClass)},w(i.title),3)):P("",!0),i.description?(c(),p("p",{key:1,class:C(i.stepDescriptionClass)},w(i.description),3)):P("",!0)])):P("",!0),B(r.$slots,"default")],2))}};var YD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:GD});const JD=i=>{Object.entries({"./components/base/BaseBadge.vue":Aw,"./components/base/BaseBreadcrumb.vue":$w,"./components/base/BaseBreadcrumbItem.vue":Bw,"./components/base/BaseButton.vue":Ow,"./components/base/BaseCard.vue":Ww,"./components/base/BaseCheckbox.vue":Qw,"./components/base/BaseContentPlaceholders.vue":tx,"./components/base/BaseContentPlaceholdersBox.vue":sx,"./components/base/BaseContentPlaceholdersHeading.vue":dx,"./components/base/BaseContentPlaceholdersText.vue":_x,"./components/base/BaseCustomInput.vue":yx,"./components/base/BaseCustomTag.vue":kx,"./components/base/BaseCustomerAddressDisplay.vue":Ax,"./components/base/BaseCustomerSelectInput.vue":Mx,"./components/base/BaseCustomerSelectPopup.vue":xz,"./components/base/BaseDatePicker.vue":jz,"./components/base/BaseDescriptionList.vue":Ez,"./components/base/BaseDescriptionListItem.vue":Rz,"./components/base/BaseDialog.vue":Uz,"./components/base/BaseDivider.vue":Hz,"./components/base/BaseDropdown.vue":Xz,"./components/base/BaseDropdownItem.vue":eS,"./components/base/BaseEmptyPlaceholder.vue":lS,"./components/base/BaseErrorAlert.vue":vS,"./components/base/BaseEstimateStatusBadge.vue":bS,"./components/base/BaseFileUploader.vue":GS,"./components/base/BaseFilterWrapper.vue":XS,"./components/base/BaseFormatMoney.vue":tP,"./components/base/BaseGlobalLoader.vue":dP,"./components/base/BaseHeading.vue":cP,"./components/base/BaseIcon.vue":uP,"./components/base/BaseInfoAlert.vue":SP,"./components/base/BaseInput.vue":OP,"./components/base/BaseInputGrid.vue":UP,"./components/base/BaseInputGroup.vue":HP,"./components/base/BaseInvoiceStatusBadge.vue":XP,"./components/base/BaseItemSelect.vue":ij,"./components/base/BaseLabel.vue":cj,"./components/base/BaseModal.vue":gj,"./components/base/BaseMoney.vue":hj,"./components/base/BaseNewBadge.vue":yj,"./components/base/BasePage.vue":zj,"./components/base/BasePageHeader.vue":Cj,"./components/base/BasePaidStatusBadge.vue":Tj,"./components/base/BaseRadio.vue":Oj,"./components/base/BaseRecurringInvoiceStatusBadge.vue":qj,"./components/base/BaseScrollPane.vue":Qj,"./components/base/BaseSelectAction.vue":nD,"./components/base/BaseSelectInput.vue":uD,"./components/base/BaseSettingCard.vue":vD,"./components/base/BaseSwitch.vue":kD,"./components/base/BaseSwitchSection.vue":zD,"./components/base/BaseTab.vue":PD,"./components/base/BaseTabGroup.vue":DD,"./components/base/BaseText.vue":AD,"./components/base/BaseTextarea.vue":TD,"./components/base/BaseTimePicker.vue":FD,"./components/base/BaseWizard.vue":ZD,"./components/base/BaseWizardNavigation.vue":KD,"./components/base/BaseWizardStep.vue":YD}).forEach(([a,e])=>{const n=a.split("/").pop().replace(/\.\w+$/,"");i.component(n,e.default)});const o=Ze(()=>V(()=>import("./BaseTable.812948c7.js"),["assets/BaseTable.812948c7.js","assets/vendor.e9042f2c.js"])),t=Ze(()=>V(()=>import("./BaseMultiselect.42d38225.js"),["assets/BaseMultiselect.42d38225.js","assets/vendor.e9042f2c.js"])),s=Ze(()=>V(()=>import("./BaseEditor.c48132eb.js"),["assets/BaseEditor.c48132eb.js","assets/BaseEditor.3f67da30.css","assets/vendor.e9042f2c.js"]));i.component("BaseTable",o),i.component("BaseMultiselect",t),i.component("BaseEditor",s)},pe=Ia(La);class XD{constructor(){this.bootingCallbacks=[],this.messages=Ay}booting(r){this.bootingCallbacks.push(r)}executeCallbacks(){this.bootingCallbacks.forEach(r=>{r(pe,Ee)})}addMessages(r=[]){ie.merge(this.messages,r)}start(){this.executeCallbacks(),JD(pe),pe.provide("$utils",Ce);const r=st({locale:"en",fallbackLocale:"en",globalInjection:!0,messages:this.messages});window.i18n=r;const{createPinia:o}=window.pinia;pe.use(Ee),pe.use($a),pe.use(r),pe.use(o()),pe.provide("utils",Ce),pe.directive("tooltip",Ra),pe.mount("body")}}window.pinia=Fa;window.Vue=Ma;window.router=Ba;window.Crater=new XD;export{zt as A,xt as B,By as C,Qe as D,ut as L,jt as N,Pt as S,he as T,ee as _,St as a,Ry as b,te as c,ve as d,O as e,Ne as f,me as g,g as h,ht as i,Me as j,ze as k,gt as l,ue as m,V as n,Ly as o,Ae as p,Fe as q,Oy as r,Iy as s,Ge as t,E as u,Vy as v,Fy as w,Ty as x,Uy as y,My as z}; + border-t-8 border-solid rounded shadow-xl border-primary-500`)},[d(e)?(c(),p("div",mj,[B(n.$slots,"header")])):P("",!0),B(n.$slots,"default"),B(n.$slots,"footer")],2)]),_:3})])]),_:3},8,["open"])]),_:3},8,["show"])]))}};var gj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:pj});const fj={props:{contentLoading:{type:Boolean,default:!1},modelValue:{type:[String,Number],required:!0,default:""},invalid:{type:Boolean,default:!1},inputClass:{type:String,default:"font-base block w-full sm:text-sm border-gray-200 rounded-md text-black"},disabled:{type:Boolean,default:!1},percent:{type:Boolean,default:!1},currency:{type:Object,default:null}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i;let t=ba;const s=te();let a=!1;const e=N({get:()=>o.modelValue,set:u=>{if(!a){a=!0;return}r("update:modelValue",u)}}),n=N(()=>{const u=o.currency?o.currency:s.selectedCompanyCurrency;return{decimal:u.decimal_separator,thousands:u.thousand_separator,prefix:u.symbol+" ",precision:u.precision,masked:!1}}),_=N(()=>o.invalid?"border-red-500 ring-red-500 focus:ring-red-500 focus:border-red-500":"focus:ring-primary-400 focus:border-primary-400");return(u,y)=>{const z=S("BaseContentPlaceholdersBox"),b=S("BaseContentPlaceholders");return i.contentLoading?(c(),$(b,{key:0},{default:v(()=>[m(z,{rounded:!0,class:"w-full",style:{height:"38px"}})]),_:1})):(c(),$(d(t),_e({key:1,modelValue:d(e),"onUpdate:modelValue":y[0]||(y[0]=h=>re(e)?e.value=h:null)},d(n),{class:[i.inputClass,d(_)],disabled:i.disabled}),null,16,["modelValue","class","disabled"]))}}};var hj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:fj});const vj={props:{sucess:{type:Boolean,default:!1}},setup(i){return(r,o)=>(c(),p("span",{class:C([i.sucess?"bg-green-100 text-green-700 ":"bg-red-100 text-red-700","px-2 py-1 text-sm font-normal text-center uppercase"])},[B(r.$slots,"default")],2))}};var yj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:vj});const bj={},kj={class:"flex-1 p-4 md:p-8 flex flex-col"};function wj(i,r){return c(),p("div",kj,[B(i.$slots,"default")])}var xj=ee(bj,[["render",wj]]),zj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:xj});const Sj={class:"flex flex-wrap justify-between"},Pj={class:"text-2xl font-bold text-left text-black"},jj={class:"flex items-center"},Dj={props:{title:{type:String,default:null,required:!0}},setup(i){return(r,o)=>(c(),p("div",Sj,[l("div",null,[l("h3",Pj,w(i.title),1),B(r.$slots,"default")]),l("div",jj,[B(r.$slots,"actions")])]))}};var Cj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Dj});const Aj={props:{status:{type:String,required:!1,default:""},defaultClass:{type:String,default:"px-1 py-0.5 text-xs"}},setup(i){return{badgeColorClasses:N(()=>{switch(i.status){case"PAID":return"bg-primary-300 bg-opacity-25 text-primary-800 uppercase font-normal text-center";case"UNPAID":return" bg-yellow-500 bg-opacity-25 text-yellow-900 uppercase font-normal text-center ";case"PARTIALLY_PAID":return"bg-blue-400 bg-opacity-25 text-blue-900 uppercase font-normal text-center";default:return"bg-gray-500 bg-opacity-25 text-gray-900 uppercase font-normal text-center"}})}}};function Nj(i,r,o,t,s,a){return c(),p("span",{class:C([[t.badgeColorClasses,o.defaultClass],""])},[B(i.$slots,"default")],2)}var Ej=ee(Aj,[["render",Nj]]),Tj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ej});const Ij=A(" Privacy setting "),$j={class:"-space-y-px rounded-md"},Rj={class:"relative flex cursor-pointer focus:outline-none"},Fj=l("span",{class:"rounded-full bg-white w-1.5 h-1.5"},null,-1),Mj=[Fj],Bj={class:"flex flex-col ml-3"},Vj={props:{id:{type:[String,Number],required:!1,default:()=>`radio_${Math.random().toString(36).substr(2,9)}`},label:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},name:{type:[String,Number],default:""},checkedStateClass:{type:String,default:"bg-primary-600"},unCheckedStateClass:{type:String,default:"bg-white "},optionGroupActiveStateClass:{type:String,default:"ring-2 ring-offset-2 ring-primary-500"},checkedStateLabelClass:{type:String,default:"text-primary-900 "},unCheckedStateLabelClass:{type:String,default:"text-gray-900"},optionGroupClass:{type:String,default:"h-4 w-4 mt-0.5 cursor-pointer rounded-full border flex items-center justify-center"},optionGroupLabelClass:{type:String,default:"block text-sm font-light"}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i,t=N({get:()=>o.modelValue,set:s=>r("update:modelValue",s)});return(s,a)=>(c(),$(d(wa),{modelValue:d(t),"onUpdate:modelValue":a[0]||(a[0]=e=>re(t)?t.value=e:null)},{default:v(()=>[m(d(lt),{class:"sr-only"},{default:v(()=>[Ij]),_:1}),l("div",$j,[m(d(ka),_e({id:i.id,as:"template",value:i.value,name:i.name},s.$attrs),{default:v(({checked:e,active:n})=>[l("div",Rj,[l("span",{class:C([e?i.checkedStateClass:i.unCheckedStateClass,n?i.optionGroupActiveStateClass:"",i.optionGroupClass]),"aria-hidden":"true"},Mj,2),l("div",Bj,[m(d(lt),{as:"span",class:C([e?i.checkedStateLabelClass:i.unCheckedStateLabelClass,i.optionGroupLabelClass])},{default:v(()=>[A(w(i.label),1)]),_:2},1032,["class"])])])]),_:1},16,["id","value","name"])])]),_:1},8,["modelValue"]))}};var Oj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Vj});const Lj={props:{status:{type:String,required:!1,default:""}},setup(i){return{badgeColorClasses:N(()=>{switch(i.status){case"COMPLETED":return"bg-green-500 bg-opacity-25 px-2 py-1 text-sm text-green-900 uppercase font-normal text-center";case"ON_HOLD":return"bg-yellow-500 bg-opacity-25 px-2 py-1 text-sm text-yellow-900 uppercase font-normal text-center";case"ACTIVE":return"bg-blue-400 bg-opacity-25 px-2 py-1 text-sm text-blue-900 uppercase font-normal text-center";default:return"bg-gray-500 bg-opacity-25 px-2 py-1 text-sm text-gray-900 uppercase font-normal text-center"}})}}};function Uj(i,r,o,t,s,a){return c(),p("span",{class:C(t.badgeColorClasses)},[B(i.$slots,"default")],2)}var Kj=ee(Lj,[["render",Uj]]),qj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Kj});const Wj={},Zj={class:"flex flex-col"},Hj={class:"-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8"},Gj={class:"py-2 align-middle inline-block min-w-full sm:px-4 lg:px-6"},Yj={class:"overflow-hidden sm:px-2 lg:p-2"};function Jj(i,r){return c(),p("div",Zj,[l("div",Hj,[l("div",Gj,[l("div",Yj,[B(i.$slots,"default")])])])])}var Xj=ee(Wj,[["render",Jj]]),Qj=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Xj});const eD={},tD={class:"flex items-center justify-center w-full px-6 py-2 text-sm bg-gray-200 cursor-pointer text-primary-400"};function aD(i,r){return c(),p("div",tD,[B(i.$slots,"default")])}var sD=ee(eD,[["render",aD]]),nD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:sD});const iD={class:"relative"},oD={key:0,class:"block truncate"},rD={key:1,class:"block text-gray-400 truncate"},dD={key:2,class:"block text-gray-400 truncate"},lD={class:"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"},cD=A(" /> "),_D={props:{contentLoading:{type:Boolean,default:!1},modelValue:{type:[String,Number,Boolean,Object,Array],default:""},options:{type:Array,required:!0},label:{type:String,default:""},placeholder:{type:String,default:""},labelKey:{type:[String],default:"label"},valueProp:{type:String,default:null},multiple:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i;let t=L(o.modelValue);function s(e){return typeof e=="object"&&e!==null}function a(e){return s(e)?e[o.labelKey]:e}return fe(()=>o.modelValue,()=>{o.valueProp&&o.options.length?t.value=o.options.find(e=>{if(e[o.valueProp])return e[o.valueProp]===o.modelValue}):t.value=o.modelValue}),fe(t,e=>{o.valueProp?r("update:modelValue",e[o.valueProp]):r("update:modelValue",e)}),(e,n)=>{const _=S("BaseContentPlaceholdersBox"),u=S("BaseContentPlaceholders"),y=S("BaseIcon");return i.contentLoading?(c(),$(u,{key:0},{default:v(()=>[m(_,{rounded:!0,class:"w-full h-10"})]),_:1})):(c(),$(d(ja),_e({key:1,modelValue:d(t),"onUpdate:modelValue":n[0]||(n[0]=z=>re(t)?t.value=z:t=z),as:"div"},M({},e.$attrs)),{default:v(()=>[i.label?(c(),$(d(xa),{key:0,class:"block text-sm not-italic font-medium text-primary-800 mb-0.5"},{default:v(()=>[A(w(i.label),1)]),_:1})):P("",!0),l("div",iD,[m(d(za),{class:"relative w-full py-2 pl-3 pr-10 text-left bg-white border border-gray-200 rounded-md shadow-sm cursor-default focus:outline-none focus:ring-1 focus:ring-primary-500 focus:border-primary-500 sm:text-sm"},{default:v(()=>[a(d(t))?(c(),p("span",oD,w(a(d(t))),1)):i.placeholder?(c(),p("span",rD,w(i.placeholder),1)):(c(),p("span",dD," Please select an option ")),l("span",lD,[m(y,{name:"SelectorIcon",class:"text-gray-400","aria-hidden":"true"})])]),_:1}),m(De,{"leave-active-class":"transition duration-100 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:v(()=>[m(d(Sa),{class:"absolute z-10 w-full py-1 mt-1 overflow-auto text-base bg-white rounded-md shadow-lg max-h-60 ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},{default:v(()=>[(c(!0),p(Z,null,G(i.options,z=>(c(),$(d(Pa),{key:z.id,value:z,as:"template"},{default:v(({active:b,selected:h})=>[l("li",{class:C([b?"text-white bg-primary-600":"text-gray-900","cursor-default select-none relative py-2 pl-3 pr-9"])},[l("span",{class:C([h?"font-semibold":"font-normal","block truncate"])},w(a(z)),3),h?(c(),p("span",{key:0,class:C([b?"text-white":"text-primary-600","absolute inset-y-0 right-0 flex items-center pr-4"])},[m(y,{name:"CheckIcon","aria-hidden":"true"}),cD],2)):P("",!0)],2)]),_:2},1032,["value"]))),128)),B(e.$slots,"default")]),_:3})]),_:3})])]),_:3},16,["modelValue"]))}}};var uD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:_D});const mD={class:"flex flex-wrap justify-between lg:flex-nowrap mb-5"},pD={class:"font-medium text-lg text-left"},gD={class:"mt-2 text-sm leading-snug text-left text-gray-500 max-w-[680px]"},fD={class:"mt-4 lg:mt-0 lg:ml-2"},hD={props:{title:{type:String,required:!0},description:{type:String,required:!0}},setup(i){return(r,o)=>{const t=S("BaseCard");return c(),$(t,null,{default:v(()=>[l("div",mD,[l("div",null,[l("h6",pD,w(i.title),1),l("p",gD,w(i.description),1)]),l("div",fD,[B(r.$slots,"action")])]),B(r.$slots,"default")]),_:3})}}};var vD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:hD});const yD={class:"flex flex-row items-start"},bD={props:{labelLeft:{type:String,default:""},labelRight:{type:String,default:""},modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i,t=N({get:()=>o.modelValue,set:s=>r("update:modelValue",s)});return(s,a)=>(c(),$(d(_t),null,{default:v(()=>[l("div",yD,[i.labelLeft?(c(),$(d(We),{key:0,class:"mr-4 cursor-pointer"},{default:v(()=>[A(w(i.labelLeft),1)]),_:1})):P("",!0),m(d(ct),_e({modelValue:d(t),"onUpdate:modelValue":a[0]||(a[0]=e=>re(t)?t.value=e:null),class:[d(t)?"bg-primary-500":"bg-gray-300","relative inline-flex items-center h-6 transition-colors rounded-full w-11 focus:outline-none focus:ring-primary-500"]},s.$attrs),{default:v(()=>[l("span",{class:C([d(t)?"translate-x-6":"translate-x-1","inline-block w-4 h-4 transition-transform transform bg-white rounded-full"])},null,2)]),_:1},16,["modelValue","class"]),i.labelRight?(c(),$(d(We),{key:1,class:"ml-4 cursor-pointer"},{default:v(()=>[A(w(i.labelRight),1)]),_:1})):P("",!0)])]),_:1}))}};var kD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:bD});const wD={class:"flex flex-col"},xD={props:{title:{type:String,required:!0},description:{type:String,default:""},modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(i,{emit:r}){function o(t){r("update:modelValue",t)}return(t,s)=>(c(),$(d(_t),{as:"li",class:"py-4 flex items-center justify-between"},{default:v(()=>[l("div",wD,[m(d(We),{as:"p",class:"p-0 mb-1 text-sm leading-snug text-black font-medium",passive:""},{default:v(()=>[A(w(i.title),1)]),_:1}),m(d(Da),{class:"text-sm text-gray-500"},{default:v(()=>[A(w(i.description),1)]),_:1})]),m(d(ct),{"model-value":i.modelValue,class:C([i.modelValue?"bg-primary-500":"bg-gray-200","ml-4 relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-sky-500"]),"onUpdate:modelValue":o},{default:v(()=>[l("span",{"aria-hidden":"true",class:C([i.modelValue?"translate-x-5":"translate-x-0","inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200"])},null,2)]),_:1},8,["model-value","class"])]),_:1}))}};var zD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:xD});const SD={props:{title:{type:[String,Number],default:"Tab"},count:{type:[String,Number],default:""},countVariant:{type:[String,Number],default:""},tabPanelContainer:{type:String,default:"py-4 mt-px"}},setup(i){return(r,o)=>(c(),$(d(Ca),{class:C([i.tabPanelContainer,"focus:outline-none"])},{default:v(()=>[B(r.$slots,"default")]),_:3},8,["class"]))}};var PD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:SD});const jD={props:{defaultIndex:{type:Number,default:0},filter:{type:String,default:null}},emits:["change"],setup(i,{emit:r}){const o=xe(),t=N(()=>o.default().map(a=>a.props));function s(a){r("change",t.value[a])}return(a,e)=>{const n=S("BaseBadge");return c(),p("div",null,[m(d(Ta),{"default-index":i.defaultIndex,onChange:s},{default:v(()=>[m(d(Aa),{class:C(["flex border-b border-grey-light","relative overflow-x-auto overflow-y-hidden","lg:pb-0 lg:ml-0"])},{default:v(()=>[(c(!0),p(Z,null,G(d(t),(_,u)=>(c(),$(d(Na),{key:u,as:"template"},{default:v(({selected:y})=>[l("button",{class:C(["px-8 py-2 text-sm leading-5 font-medium flex items-center relative border-b-2 mt-4 focus:outline-none whitespace-nowrap",y?" border-primary-400 text-black font-medium":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300"])},[A(w(_.title)+" ",1),_.count?(c(),$(n,{key:0,class:"!rounded-full overflow-hidden ml-2",variant:_["count-variant"],"default-class":"flex items-center justify-center w-5 h-5 p-1 rounded-full text-medium"},{default:v(()=>[A(w(_.count),1)]),_:2},1032,["variant"])):P("",!0)],2)]),_:2},1024))),128))]),_:1}),B(a.$slots,"before-tabs"),m(d(Ea),null,{default:v(()=>[B(a.$slots,"default")]),_:3})]),_:3},8,["default-index"])])}}};var DD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:jD});const CD={props:{tag:{type:String,default:"div"},text:{type:String,default:""},length:{type:Number,default:0}},setup(i){const r=i,o=N(()=>r.text.length{const a=S("BaseCustomTag");return c(),$(a,{tag:i.tag,title:i.text},{default:v(()=>[A(w(d(o)),1)]),_:1},8,["tag","title"])}}};var AD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:CD});const ND=["value","disabled"],ED={props:{contentLoading:{type:Boolean,default:!1},row:{type:Number,default:null},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},modelValue:{type:[String,Number],default:""},defaultInputClass:{type:String,default:"box-border w-full px-3 py-2 text-sm not-italic font-normal leading-snug text-left text-black placeholder-gray-400 bg-white border border-gray-200 border-solid rounded outline-none"},autosize:{type:Boolean,default:!1},borderless:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i,t=L(null),s=N(()=>o.invalid&&!o.borderless?"border-red-400 ring-red-400 focus:ring-red-400 focus:border-red-400":o.borderless?"border-none outline-none focus:ring-primary-400 focus:border focus:border-primary-400":"focus:ring-primary-400 focus:border-primary-400"),a=N(()=>{switch(o.row){case 2:return"56";case 4:return"94";default:return"56"}});function e(n){r("update:modelValue",n.target.value),o.autosize&&(n.target.style.height="auto",n.target.style.height=`${n.target.scrollHeight}px`)}return we(()=>{t.value&&o.autosize&&(t.value.style.height=t.value.scrollHeight+"px",t.value.style.overflow&&t.value.style.overflow.y&&(t.value.style.overflow.y="hidden"),t.value.style.resize="none")}),(n,_)=>{const u=S("BaseContentPlaceholdersBox"),y=S("BaseContentPlaceholders");return i.contentLoading?(c(),$(y,{key:0},{default:v(()=>[m(u,{rounded:!0,class:"w-full",style:qe(`height: ${d(a)}px`)},null,8,["style"])]),_:1})):(c(),p("textarea",_e({key:1},n.$attrs,{ref:(z,b)=>{b.textarea=z,t.value=z},value:i.modelValue,class:[i.defaultInputClass,d(s)],disabled:i.disabled,onInput:e}),null,16,ND))}}};var TD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ED});const ID=l("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-12a1 1 0 10-2 0v4a1 1 0 00.293.707l2.828 2.829a1 1 0 101.415-1.415L11 9.586V6z","clip-rule":"evenodd"},null,-1),$D=[ID],RD={props:{modelValue:{type:[String,Date],default:()=>moment(new Date)},contentLoading:{type:Boolean,default:!1},placeholder:{type:String,default:null},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},containerClass:{type:String,default:""},clockIcon:{type:Boolean,default:!0},defaultInputClass:{type:String,default:"font-base pl-8 py-2 outline-none focus:ring-primary-400 focus:outline-none focus:border-primary-400 block w-full sm:text-sm border-gray-300 rounded-md text-black"}},emits:["update:modelValue"],setup(i,{emit:r}){const o=i,t=L(null),s=xe();let a=Te({enableTime:!0,noCalendar:!0,dateFormat:"H:i",time_24hr:!0});const e=N({get:()=>o.modelValue,set:b=>r("update:modelValue",b)}),n=N(()=>!!s.icon);function _(b){t.value.fp.open()}const u=N(()=>`${o.containerClass} `),y=N(()=>o.invalid?"border-red-400 ring-red-400 focus:ring-red-400 focus:border-red-400":""),z=N(()=>o.disabled?"border border-solid rounded-md outline-none input-field box-border-2 base-date-picker-input placeholder-gray-400 bg-gray-300 text-gray-600 border-gray-300":"");return(b,h)=>{const x=S("BaseContentPlaceholdersBox"),j=S("BaseContentPlaceholders");return i.contentLoading?(c(),$(j,{key:0},{default:v(()=>[m(x,{rounded:!0,class:C(`w-full ${d(u)}`),style:{height:"38px"}},null,8,["class"])]),_:1})):(c(),p("div",{key:1,class:C([d(u),"relative flex flex-row"])},[i.clockIcon&&!d(n)?(c(),p("svg",{key:0,xmlns:"http://www.w3.org/2000/svg",class:"absolute top-px w-4 h-4 mx-2 my-2.5 text-sm not-italic font-black text-gray-400 cursor-pointer",viewBox:"0 0 20 20",fill:"currentColor",onClick:_},$D)):P("",!0),i.clockIcon&&d(n)?B(b.$slots,"icon",{key:1}):P("",!0),m(d(ot),_e({ref:(R,T)=>{T.dpt=R,t.value=R},modelValue:d(e),"onUpdate:modelValue":h[0]||(h[0]=R=>re(e)?e.value=R:null)},b.$attrs,{disabled:i.disabled,config:d(a),class:[i.defaultInputClass,d(y),d(z)]}),null,16,["modelValue","disabled","config","class"])],2))}}};var FD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:RD});const MD={props:{currentStep:{type:Number,default:null},steps:{type:Number,default:null},containerClass:{type:String,default:"flex justify-between w-full my-10 max-w-xl mx-auto"},progress:{type:String,default:"rounded-full float-left w-6 h-6 border-4 cursor-pointer"},currentStepClass:{type:String,default:"bg-white border-primary-500"},nextStepClass:{type:String,default:"border-gray-200 bg-white"},previousStepClass:{type:String,default:"bg-primary-500 border-primary-500 flex justify-center items-center"},iconClass:{type:String,default:"flex items-center justify-center w-full h-full text-sm font-black text-center text-white"}},emits:["click"],setup(i){function r(o){return i.currentStep===o?[i.currentStepClass,i.progress]:i.currentStep>o?[i.previousStepClass,i.progress]:i.currentStep(c(),p("a",{key:n,class:C([t.stepStyle(e),"z-10"]),href:"#",onClick:se(_=>i.$emit("click",n),["prevent"])},[o.currentStep>e?(c(),p("svg",{key:0,class:C(o.iconClass),fill:"currentColor",viewBox:"0 0 20 20",onClick:_=>i.$emit("click",n)},LD,10,VD)):P("",!0)],10,BD))),128))],2)}var Ft=ee(MD,[["render",UD]]),KD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ft});const qD={class:"w-full"},WD={props:{wizardStepsContainerClass:{type:String,default:"relative flex items-center justify-center"},currentStep:{type:Number,default:0},steps:{type:Number,default:0}},emits:["click"],setup(i,{emit:r}){return(o,t)=>(c(),p("div",qD,[B(o.$slots,"nav",{},()=>[m(Ft,{"current-step":i.currentStep,steps:i.steps,onClick:t[0]||(t[0]=s=>o.$emit("click",s))},null,8,["current-step","steps"])]),l("div",{class:C(i.wizardStepsContainerClass)},[B(o.$slots,"default")],2)]))}};var ZD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:WD});const HD={key:0},GD={props:{title:{type:String,default:null},description:{type:String,default:null},stepContainerClass:{type:String,default:"w-full p-8 mb-8 bg-white border border-gray-200 border-solid rounded"},stepTitleClass:{type:String,default:"text-2xl not-italic font-semibold leading-7 text-black"},stepDescriptionClass:{type:String,default:"w-full mt-2.5 mb-8 text-sm not-italic leading-snug text-gray-500 lg:w-7/12 md:w-7/12 sm:w-7/12"}},setup(i){return(r,o)=>(c(),p("div",{class:C(i.stepContainerClass)},[i.title||i.description?(c(),p("div",HD,[i.title?(c(),p("p",{key:0,class:C(i.stepTitleClass)},w(i.title),3)):P("",!0),i.description?(c(),p("p",{key:1,class:C(i.stepDescriptionClass)},w(i.description),3)):P("",!0)])):P("",!0),B(r.$slots,"default")],2))}};var YD=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:GD});const JD=i=>{Object.entries({"./components/base/BaseBadge.vue":Aw,"./components/base/BaseBreadcrumb.vue":$w,"./components/base/BaseBreadcrumbItem.vue":Bw,"./components/base/BaseButton.vue":Ow,"./components/base/BaseCard.vue":Ww,"./components/base/BaseCheckbox.vue":Qw,"./components/base/BaseContentPlaceholders.vue":tx,"./components/base/BaseContentPlaceholdersBox.vue":sx,"./components/base/BaseContentPlaceholdersHeading.vue":dx,"./components/base/BaseContentPlaceholdersText.vue":_x,"./components/base/BaseCustomInput.vue":yx,"./components/base/BaseCustomTag.vue":kx,"./components/base/BaseCustomerAddressDisplay.vue":Ax,"./components/base/BaseCustomerSelectInput.vue":Mx,"./components/base/BaseCustomerSelectPopup.vue":xz,"./components/base/BaseDatePicker.vue":jz,"./components/base/BaseDescriptionList.vue":Ez,"./components/base/BaseDescriptionListItem.vue":Rz,"./components/base/BaseDialog.vue":Uz,"./components/base/BaseDivider.vue":Hz,"./components/base/BaseDropdown.vue":Xz,"./components/base/BaseDropdownItem.vue":eS,"./components/base/BaseEmptyPlaceholder.vue":lS,"./components/base/BaseErrorAlert.vue":vS,"./components/base/BaseEstimateStatusBadge.vue":bS,"./components/base/BaseFileUploader.vue":GS,"./components/base/BaseFilterWrapper.vue":XS,"./components/base/BaseFormatMoney.vue":tP,"./components/base/BaseGlobalLoader.vue":dP,"./components/base/BaseHeading.vue":cP,"./components/base/BaseIcon.vue":uP,"./components/base/BaseInfoAlert.vue":SP,"./components/base/BaseInput.vue":OP,"./components/base/BaseInputGrid.vue":UP,"./components/base/BaseInputGroup.vue":HP,"./components/base/BaseInvoiceStatusBadge.vue":XP,"./components/base/BaseItemSelect.vue":ij,"./components/base/BaseLabel.vue":cj,"./components/base/BaseModal.vue":gj,"./components/base/BaseMoney.vue":hj,"./components/base/BaseNewBadge.vue":yj,"./components/base/BasePage.vue":zj,"./components/base/BasePageHeader.vue":Cj,"./components/base/BasePaidStatusBadge.vue":Tj,"./components/base/BaseRadio.vue":Oj,"./components/base/BaseRecurringInvoiceStatusBadge.vue":qj,"./components/base/BaseScrollPane.vue":Qj,"./components/base/BaseSelectAction.vue":nD,"./components/base/BaseSelectInput.vue":uD,"./components/base/BaseSettingCard.vue":vD,"./components/base/BaseSwitch.vue":kD,"./components/base/BaseSwitchSection.vue":zD,"./components/base/BaseTab.vue":PD,"./components/base/BaseTabGroup.vue":DD,"./components/base/BaseText.vue":AD,"./components/base/BaseTextarea.vue":TD,"./components/base/BaseTimePicker.vue":FD,"./components/base/BaseWizard.vue":ZD,"./components/base/BaseWizardNavigation.vue":KD,"./components/base/BaseWizardStep.vue":YD}).forEach(([a,e])=>{const n=a.split("/").pop().replace(/\.\w+$/,"");i.component(n,e.default)});const o=Ze(()=>V(()=>import("./BaseTable.794f86e1.js"),["assets/BaseTable.794f86e1.js","assets/vendor.e9042f2c.js"])),t=Ze(()=>V(()=>import("./BaseMultiselect.80369cb3.js"),["assets/BaseMultiselect.80369cb3.js","assets/vendor.e9042f2c.js"])),s=Ze(()=>V(()=>import("./BaseEditor.8aef389c.js"),["assets/BaseEditor.8aef389c.js","assets/BaseEditor.3f67da30.css","assets/vendor.e9042f2c.js"]));i.component("BaseTable",o),i.component("BaseMultiselect",t),i.component("BaseEditor",s)},pe=Ia(La);class XD{constructor(){this.bootingCallbacks=[],this.messages=Ay}booting(r){this.bootingCallbacks.push(r)}executeCallbacks(){this.bootingCallbacks.forEach(r=>{r(pe,Ee)})}addMessages(r=[]){ie.merge(this.messages,r)}start(){this.executeCallbacks(),JD(pe),pe.provide("$utils",Ce);const r=st({locale:"en",fallbackLocale:"en",globalInjection:!0,messages:this.messages});window.i18n=r;const{createPinia:o}=window.pinia;pe.use(Ee),pe.use($a),pe.use(r),pe.use(o()),pe.provide("utils",Ce),pe.directive("tooltip",Ra),pe.mount("body")}}window.pinia=Fa;window.Vue=Ma;window.router=Ba;window.Crater=new XD;export{zt as A,xt as B,By as C,Qe as D,ut as L,jt as N,Pt as S,he as T,ee as _,St as a,Ry as b,te as c,ve as d,O as e,Ne as f,me as g,g as h,ht as i,Me as j,ze as k,gt as l,ue as m,V as n,Ly as o,Ae as p,Fe as q,Oy as r,Iy as s,Ge as t,E as u,Vy as v,Fy as w,Ty as x,Uy as y,My as z}; diff --git a/public/build/manifest.json b/public/build/manifest.json index 4f0274dce..1e55debb5 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,6 +1,6 @@ { "resources/scripts/main.js": { - "file": "assets/main.c4ed6aa9.js", + "file": "assets/main.f55cd568.js", "src": "resources/scripts/main.js", "isEntry": true, "imports": [ @@ -65,7 +65,7 @@ "file": "assets/vendor.e9042f2c.js" }, "resources/scripts/layouts/LayoutInstallation.vue": { - "file": "assets/LayoutInstallation.89785dab.js", + "file": "assets/LayoutInstallation.1e0eeaed.js", "src": "resources/scripts/layouts/LayoutInstallation.vue", "isDynamicEntry": true, "imports": [ @@ -74,7 +74,7 @@ ] }, "resources/scripts/views/auth/Login.vue": { - "file": "assets/Login.894ac75c.js", + "file": "assets/Login.fb8df271.js", "src": "resources/scripts/views/auth/Login.vue", "isDynamicEntry": true, "imports": [ @@ -83,7 +83,7 @@ ] }, "resources/scripts/views/auth/ResetPassword.vue": { - "file": "assets/ResetPassword.c252645e.js", + "file": "assets/ResetPassword.27f6d6a2.js", "src": "resources/scripts/views/auth/ResetPassword.vue", "isDynamicEntry": true, "imports": [ @@ -92,7 +92,7 @@ ] }, "resources/scripts/views/auth/ForgotPassword.vue": { - "file": "assets/ForgotPassword.4bdb652b.js", + "file": "assets/ForgotPassword.7224f642.js", "src": "resources/scripts/views/auth/ForgotPassword.vue", "isDynamicEntry": true, "imports": [ @@ -101,75 +101,75 @@ ] }, "resources/scripts/views/dashboard/Dashboard.vue": { - "file": "assets/Dashboard.05893f44.js", + "file": "assets/Dashboard.93a0a8a7.js", "src": "resources/scripts/views/dashboard/Dashboard.vue", "isDynamicEntry": true, "imports": [ "resources/scripts/main.js", "_vendor.e9042f2c.js", - "_LineChart.1e4f5d60.js", - "_InvoiceIndexDropdown.d1c989d3.js", - "_EstimateIndexDropdown.16bd4994.js" + "_LineChart.b8a2f8c7.js", + "_InvoiceIndexDropdown.8a8f3a1b.js", + "_EstimateIndexDropdown.07f4535c.js" ] }, - "_LineChart.1e4f5d60.js": { - "file": "assets/LineChart.1e4f5d60.js", + "_LineChart.b8a2f8c7.js": { + "file": "assets/LineChart.b8a2f8c7.js", "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js" ] }, - "_InvoiceIndexDropdown.d1c989d3.js": { - "file": "assets/InvoiceIndexDropdown.d1c989d3.js", + "_InvoiceIndexDropdown.8a8f3a1b.js": { + "file": "assets/InvoiceIndexDropdown.8a8f3a1b.js", "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js" ] }, - "_EstimateIndexDropdown.16bd4994.js": { - "file": "assets/EstimateIndexDropdown.16bd4994.js", + "_EstimateIndexDropdown.07f4535c.js": { + "file": "assets/EstimateIndexDropdown.07f4535c.js", "imports": [ "resources/scripts/main.js", "_vendor.e9042f2c.js" ] }, "resources/scripts/views/customers/Index.vue": { - "file": "assets/Index.c50d63be.js", + "file": "assets/Index.9ec514e7.js", "src": "resources/scripts/views/customers/Index.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_CustomerIndexDropdown.421e91b3.js", - "_AstronautIcon.525a3bea.js" + "_CustomerIndexDropdown.37892b71.js", + "_AstronautIcon.52e0dffc.js" ] }, - "_CustomerIndexDropdown.421e91b3.js": { - "file": "assets/CustomerIndexDropdown.421e91b3.js", + "_CustomerIndexDropdown.37892b71.js": { + "file": "assets/CustomerIndexDropdown.37892b71.js", "imports": [ "resources/scripts/main.js", "_vendor.e9042f2c.js" ] }, - "_AstronautIcon.525a3bea.js": { - "file": "assets/AstronautIcon.525a3bea.js", + "_AstronautIcon.52e0dffc.js": { + "file": "assets/AstronautIcon.52e0dffc.js", "imports": [ "resources/scripts/main.js", "_vendor.e9042f2c.js" ] }, "resources/scripts/views/customers/Create.vue": { - "file": "assets/Create.e22d53ee.js", + "file": "assets/Create.71646428.js", "src": "resources/scripts/views/customers/Create.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_CreateCustomFields.b3e72776.js" + "_CreateCustomFields.31e45d63.js" ] }, - "_CreateCustomFields.b3e72776.js": { - "file": "assets/CreateCustomFields.b3e72776.js", + "_CreateCustomFields.31e45d63.js": { + "file": "assets/CreateCustomFields.31e45d63.js", "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js" @@ -188,26 +188,26 @@ ] }, "resources/scripts/views/customers/View.vue": { - "file": "assets/View.6b03b301.js", + "file": "assets/View.b467c092.js", "src": "resources/scripts/views/customers/View.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_LoadingIcon.562f15c9.js", - "_LineChart.1e4f5d60.js", - "_CustomerIndexDropdown.421e91b3.js" + "_LoadingIcon.edb4fe20.js", + "_LineChart.b8a2f8c7.js", + "_CustomerIndexDropdown.37892b71.js" ] }, - "_LoadingIcon.562f15c9.js": { - "file": "assets/LoadingIcon.562f15c9.js", + "_LoadingIcon.edb4fe20.js": { + "file": "assets/LoadingIcon.edb4fe20.js", "imports": [ "resources/scripts/main.js", "_vendor.e9042f2c.js" ] }, "resources/scripts/views/settings/SettingsIndex.vue": { - "file": "assets/SettingsIndex.f9f8f3ca.js", + "file": "assets/SettingsIndex.cba192c6.js", "src": "resources/scripts/views/settings/SettingsIndex.vue", "isDynamicEntry": true, "imports": [ @@ -216,7 +216,7 @@ ] }, "resources/scripts/views/settings/AccountSetting.vue": { - "file": "assets/AccountSetting.1cfec24d.js", + "file": "assets/AccountSetting.df3673e7.js", "src": "resources/scripts/views/settings/AccountSetting.vue", "isDynamicEntry": true, "imports": [ @@ -225,7 +225,7 @@ ] }, "resources/scripts/views/settings/CompanyInfoSettings.vue": { - "file": "assets/CompanyInfoSettings.b53bbfc6.js", + "file": "assets/CompanyInfoSettings.b6bf55cb.js", "src": "resources/scripts/views/settings/CompanyInfoSettings.vue", "isDynamicEntry": true, "imports": [ @@ -234,7 +234,7 @@ ] }, "resources/scripts/views/settings/PreferencesSetting.vue": { - "file": "assets/PreferencesSetting.44c3d41b.js", + "file": "assets/PreferencesSetting.828ac2a0.js", "src": "resources/scripts/views/settings/PreferencesSetting.vue", "isDynamicEntry": true, "imports": [ @@ -243,32 +243,32 @@ ] }, "resources/scripts/views/settings/customization/CustomizationSetting.vue": { - "file": "assets/CustomizationSetting.65372f56.js", + "file": "assets/CustomizationSetting.cb490a99.js", "src": "resources/scripts/views/settings/customization/CustomizationSetting.vue", "isDynamicEntry": true, "imports": [ "resources/scripts/main.js", "_vendor.e9042f2c.js", - "_DragIcon.9fdb0cc4.js", - "_ItemUnitModal.acaecec7.js" + "_DragIcon.0cd95723.js", + "_ItemUnitModal.cb16f673.js" ] }, - "_ItemUnitModal.acaecec7.js": { - "file": "assets/ItemUnitModal.acaecec7.js", + "_ItemUnitModal.cb16f673.js": { + "file": "assets/ItemUnitModal.cb16f673.js", "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js" ] }, - "_DragIcon.9fdb0cc4.js": { - "file": "assets/DragIcon.9fdb0cc4.js", + "_DragIcon.0cd95723.js": { + "file": "assets/DragIcon.0cd95723.js", "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js" ] }, "resources/scripts/views/settings/NotificationsSetting.vue": { - "file": "assets/NotificationsSetting.6b125468.js", + "file": "assets/NotificationsSetting.4dd65413.js", "src": "resources/scripts/views/settings/NotificationsSetting.vue", "isDynamicEntry": true, "imports": [ @@ -277,41 +277,41 @@ ] }, "resources/scripts/views/settings/TaxTypesSetting.vue": { - "file": "assets/TaxTypesSetting.577ebaa1.js", + "file": "assets/TaxTypesSetting.31d51667.js", "src": "resources/scripts/views/settings/TaxTypesSetting.vue", "isDynamicEntry": true, "imports": [ "resources/scripts/main.js", "_vendor.e9042f2c.js", - "_TaxTypeModal.e84ae727.js" + "_TaxTypeModal.2309f47d.js" ] }, - "_TaxTypeModal.e84ae727.js": { - "file": "assets/TaxTypeModal.e84ae727.js", + "_TaxTypeModal.2309f47d.js": { + "file": "assets/TaxTypeModal.2309f47d.js", "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js" ] }, "resources/scripts/views/settings/PaymentsModeSetting.vue": { - "file": "assets/PaymentsModeSetting.ce20c8a7.js", + "file": "assets/PaymentsModeSetting.4ecc7bb2.js", "src": "resources/scripts/views/settings/PaymentsModeSetting.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_PaymentModeModal.dee8838b.js" + "_PaymentModeModal.83905526.js" ] }, - "_PaymentModeModal.dee8838b.js": { - "file": "assets/PaymentModeModal.dee8838b.js", + "_PaymentModeModal.83905526.js": { + "file": "assets/PaymentModeModal.83905526.js", "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js" ] }, "resources/scripts/views/settings/CustomFieldsSetting.vue": { - "file": "assets/CustomFieldsSetting.1476b628.js", + "file": "assets/CustomFieldsSetting.f64b000e.js", "src": "resources/scripts/views/settings/CustomFieldsSetting.vue", "isDynamicEntry": true, "imports": [ @@ -332,17 +332,17 @@ ] }, "resources/scripts/views/settings/NotesSetting.vue": { - "file": "assets/NotesSetting.742e9ae2.js", + "file": "assets/NotesSetting.5d0ab746.js", "src": "resources/scripts/views/settings/NotesSetting.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_NoteModal.ce9830bd.js" + "_NoteModal.0435aa4f.js" ] }, - "_NoteModal.ce9830bd.js": { - "file": "assets/NoteModal.ce9830bd.js", + "_NoteModal.0435aa4f.js": { + "file": "assets/NoteModal.0435aa4f.js", "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js" @@ -352,24 +352,24 @@ ] }, "resources/scripts/views/settings/ExpenseCategorySetting.vue": { - "file": "assets/ExpenseCategorySetting.86cfee85.js", + "file": "assets/ExpenseCategorySetting.6da85823.js", "src": "resources/scripts/views/settings/ExpenseCategorySetting.vue", "isDynamicEntry": true, "imports": [ "resources/scripts/main.js", "_vendor.e9042f2c.js", - "_CategoryModal.c0ece4af.js" + "_CategoryModal.d7852af2.js" ] }, - "_CategoryModal.c0ece4af.js": { - "file": "assets/CategoryModal.c0ece4af.js", + "_CategoryModal.d7852af2.js": { + "file": "assets/CategoryModal.d7852af2.js", "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js" ] }, "resources/scripts/views/settings/ExchangeRateProviderSetting.vue": { - "file": "assets/ExchangeRateProviderSetting.b9f44241.js", + "file": "assets/ExchangeRateProviderSetting.58295b51.js", "src": "resources/scripts/views/settings/ExchangeRateProviderSetting.vue", "isDynamicEntry": true, "imports": [ @@ -379,7 +379,7 @@ ] }, "resources/scripts/components/base/base-table/BaseTable.vue": { - "file": "assets/BaseTable.812948c7.js", + "file": "assets/BaseTable.794f86e1.js", "src": "resources/scripts/components/base/base-table/BaseTable.vue", "isDynamicEntry": true, "imports": [ @@ -388,7 +388,7 @@ ] }, "resources/scripts/views/settings/MailConfigSetting.vue": { - "file": "assets/MailConfigSetting.47dc8eee.js", + "file": "assets/MailConfigSetting.64d36b41.js", "src": "resources/scripts/views/settings/MailConfigSetting.vue", "isDynamicEntry": true, "imports": [ @@ -397,7 +397,7 @@ ] }, "resources/scripts/views/settings/FileDiskSetting.vue": { - "file": "assets/FileDiskSetting.d7735104.js", + "file": "assets/FileDiskSetting.291dbb8a.js", "src": "resources/scripts/views/settings/FileDiskSetting.vue", "isDynamicEntry": true, "imports": [ @@ -406,7 +406,7 @@ ] }, "resources/scripts/views/settings/BackupSetting.vue": { - "file": "assets/BackupSetting.c93135a3.js", + "file": "assets/BackupSetting.7f4c0922.js", "src": "resources/scripts/views/settings/BackupSetting.vue", "isDynamicEntry": true, "imports": [ @@ -415,20 +415,20 @@ ] }, "resources/scripts/views/settings/UpdateAppSetting.vue": { - "file": "assets/UpdateAppSetting.62204e18.js", + "file": "assets/UpdateAppSetting.0045e27a.js", "src": "resources/scripts/views/settings/UpdateAppSetting.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_LoadingIcon.562f15c9.js" + "_LoadingIcon.edb4fe20.js" ], "css": [ "assets/UpdateAppSetting.7d8b987a.css" ] }, "resources/scripts/views/settings/RolesSettings.vue": { - "file": "assets/RolesSettings.5caa3496.js", + "file": "assets/RolesSettings.c3b08c2c.js", "src": "resources/scripts/views/settings/RolesSettings.vue", "isDynamicEntry": true, "imports": [ @@ -437,7 +437,7 @@ ] }, "resources/scripts/views/items/Index.vue": { - "file": "assets/Index.60606ef2.js", + "file": "assets/Index.93cc88be.js", "src": "resources/scripts/views/items/Index.vue", "isDynamicEntry": true, "imports": [ @@ -446,17 +446,17 @@ ] }, "resources/scripts/views/items/Create.vue": { - "file": "assets/Create.0352a236.js", + "file": "assets/Create.bccdc9c0.js", "src": "resources/scripts/views/items/Create.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_ItemUnitModal.acaecec7.js" + "_ItemUnitModal.cb16f673.js" ] }, "resources/scripts/views/expenses/Index.vue": { - "file": "assets/Index.280eb08b.js", + "file": "assets/Index.4b4c096d.js", "src": "resources/scripts/views/expenses/Index.vue", "isDynamicEntry": true, "imports": [ @@ -465,36 +465,36 @@ ] }, "resources/scripts/views/expenses/Create.vue": { - "file": "assets/Create.dbd8614d.js", + "file": "assets/Create.a4bc47df.js", "src": "resources/scripts/views/expenses/Create.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_CreateCustomFields.b3e72776.js", - "_CategoryModal.c0ece4af.js", - "_ExchangeRateConverter.723e246f.js" + "_CreateCustomFields.31e45d63.js", + "_CategoryModal.d7852af2.js", + "_ExchangeRateConverter.2eb3213d.js" ] }, - "_ExchangeRateConverter.723e246f.js": { - "file": "assets/ExchangeRateConverter.723e246f.js", + "_ExchangeRateConverter.2eb3213d.js": { + "file": "assets/ExchangeRateConverter.2eb3213d.js", "imports": [ "resources/scripts/main.js", "_vendor.e9042f2c.js" ] }, "resources/scripts/views/users/Index.vue": { - "file": "assets/Index.78b2f5ff.js", + "file": "assets/Index.591593fe.js", "src": "resources/scripts/views/users/Index.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_AstronautIcon.525a3bea.js" + "_AstronautIcon.52e0dffc.js" ] }, "resources/scripts/views/users/Create.vue": { - "file": "assets/Create.f5ac9ce5.js", + "file": "assets/Create.e26371fe.js", "src": "resources/scripts/views/users/Create.vue", "isDynamicEntry": true, "imports": [ @@ -503,108 +503,108 @@ ] }, "resources/scripts/views/estimates/Index.vue": { - "file": "assets/Index.66f84b88.js", + "file": "assets/Index.c73f3a98.js", "src": "resources/scripts/views/estimates/Index.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_EstimateIndexDropdown.16bd4994.js", - "_SendEstimateModal.d0eba7d1.js" + "_EstimateIndexDropdown.07f4535c.js", + "_SendEstimateModal.8b30678e.js" ] }, - "_SendEstimateModal.d0eba7d1.js": { - "file": "assets/SendEstimateModal.d0eba7d1.js", + "_SendEstimateModal.8b30678e.js": { + "file": "assets/SendEstimateModal.8b30678e.js", "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js" ] }, "resources/scripts/views/estimates/create/EstimateCreate.vue": { - "file": "assets/EstimateCreate.1327e99b.js", + "file": "assets/EstimateCreate.0b5fe1e4.js", "src": "resources/scripts/views/estimates/create/EstimateCreate.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_ItemModal.550811d2.js", - "_CreateCustomFields.b3e72776.js", - "_ExchangeRateConverter.723e246f.js", - "_TaxTypeModal.e84ae727.js", - "_DragIcon.9fdb0cc4.js", - "_SelectNotePopup.957765bc.js", - "_NoteModal.ce9830bd.js" + "_ItemModal.6c4a6110.js", + "_CreateCustomFields.31e45d63.js", + "_ExchangeRateConverter.2eb3213d.js", + "_TaxTypeModal.2309f47d.js", + "_DragIcon.0cd95723.js", + "_SelectNotePopup.8c3a3989.js", + "_NoteModal.0435aa4f.js" ] }, - "_ItemModal.550811d2.js": { - "file": "assets/ItemModal.550811d2.js", + "_ItemModal.6c4a6110.js": { + "file": "assets/ItemModal.6c4a6110.js", "imports": [ "resources/scripts/main.js", - "_DragIcon.9fdb0cc4.js", + "_DragIcon.0cd95723.js", "_vendor.e9042f2c.js", - "_SelectNotePopup.957765bc.js" + "_SelectNotePopup.8c3a3989.js" ] }, - "_SelectNotePopup.957765bc.js": { - "file": "assets/SelectNotePopup.957765bc.js", + "_SelectNotePopup.8c3a3989.js": { + "file": "assets/SelectNotePopup.8c3a3989.js", "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_NoteModal.ce9830bd.js" + "_NoteModal.0435aa4f.js" ] }, "resources/scripts/views/estimates/View.vue": { - "file": "assets/View.aa6e5085.js", + "file": "assets/View.3ffa9aec.js", "src": "resources/scripts/views/estimates/View.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", - "_EstimateIndexDropdown.16bd4994.js", + "_EstimateIndexDropdown.07f4535c.js", "resources/scripts/main.js", - "_SendEstimateModal.d0eba7d1.js", - "_LoadingIcon.562f15c9.js" + "_SendEstimateModal.8b30678e.js", + "_LoadingIcon.edb4fe20.js" ] }, "resources/scripts/views/payments/Index.vue": { - "file": "assets/Index.db7618e6.js", + "file": "assets/Index.505bc3b9.js", "src": "resources/scripts/views/payments/Index.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_SendPaymentModal.ed5be265.js" + "_SendPaymentModal.da770177.js" ] }, - "_SendPaymentModal.ed5be265.js": { - "file": "assets/SendPaymentModal.ed5be265.js", + "_SendPaymentModal.da770177.js": { + "file": "assets/SendPaymentModal.da770177.js", "imports": [ "resources/scripts/main.js", "_vendor.e9042f2c.js" ] }, "resources/scripts/views/payments/Create.vue": { - "file": "assets/Create.f2f272b3.js", + "file": "assets/Create.af358409.js", "src": "resources/scripts/views/payments/Create.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", - "_ExchangeRateConverter.723e246f.js", + "_ExchangeRateConverter.2eb3213d.js", "resources/scripts/main.js", - "_SelectNotePopup.957765bc.js", - "_CreateCustomFields.b3e72776.js", - "_PaymentModeModal.dee8838b.js", - "_NoteModal.ce9830bd.js" + "_SelectNotePopup.8c3a3989.js", + "_CreateCustomFields.31e45d63.js", + "_PaymentModeModal.83905526.js", + "_NoteModal.0435aa4f.js" ] }, "resources/scripts/views/payments/View.vue": { - "file": "assets/View.4c833594.js", + "file": "assets/View.08ff6615.js", "src": "resources/scripts/views/payments/View.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_SendPaymentModal.ed5be265.js", - "_LoadingIcon.562f15c9.js" + "_SendPaymentModal.da770177.js", + "_LoadingIcon.edb4fe20.js" ] }, "resources/scripts/views/errors/404.vue": { @@ -616,109 +616,109 @@ ] }, "resources/scripts/views/invoices/Index.vue": { - "file": "assets/Index.8a2fa3b8.js", + "file": "assets/Index.cfa4ca4e.js", "src": "resources/scripts/views/invoices/Index.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_MoonwalkerIcon.33f1b046.js", - "_InvoiceIndexDropdown.d1c989d3.js", - "_SendInvoiceModal.f1dd071b.js" + "_MoonwalkerIcon.a8d19439.js", + "_InvoiceIndexDropdown.8a8f3a1b.js", + "_SendInvoiceModal.59d8474e.js" ] }, - "_MoonwalkerIcon.33f1b046.js": { - "file": "assets/MoonwalkerIcon.33f1b046.js", + "_MoonwalkerIcon.a8d19439.js": { + "file": "assets/MoonwalkerIcon.a8d19439.js", "imports": [ "resources/scripts/main.js", "_vendor.e9042f2c.js" ] }, - "_SendInvoiceModal.f1dd071b.js": { - "file": "assets/SendInvoiceModal.f1dd071b.js", + "_SendInvoiceModal.59d8474e.js": { + "file": "assets/SendInvoiceModal.59d8474e.js", "imports": [ "resources/scripts/main.js", "_vendor.e9042f2c.js" ] }, "resources/scripts/views/invoices/create/InvoiceCreate.vue": { - "file": "assets/InvoiceCreate.8e89de3b.js", + "file": "assets/InvoiceCreate.1a72a476.js", "src": "resources/scripts/views/invoices/create/InvoiceCreate.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_ItemModal.550811d2.js", - "_ExchangeRateConverter.723e246f.js", - "_CreateCustomFields.b3e72776.js", - "_TaxTypeModal.e84ae727.js", - "_DragIcon.9fdb0cc4.js", - "_SelectNotePopup.957765bc.js", - "_NoteModal.ce9830bd.js" + "_ItemModal.6c4a6110.js", + "_ExchangeRateConverter.2eb3213d.js", + "_CreateCustomFields.31e45d63.js", + "_TaxTypeModal.2309f47d.js", + "_DragIcon.0cd95723.js", + "_SelectNotePopup.8c3a3989.js", + "_NoteModal.0435aa4f.js" ] }, "resources/scripts/views/invoices/View.vue": { - "file": "assets/View.5eed5e9e.js", + "file": "assets/View.9941cf9f.js", "src": "resources/scripts/views/invoices/View.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", - "_InvoiceIndexDropdown.d1c989d3.js", + "_InvoiceIndexDropdown.8a8f3a1b.js", "resources/scripts/main.js", - "_SendInvoiceModal.f1dd071b.js", - "_LoadingIcon.562f15c9.js" + "_SendInvoiceModal.59d8474e.js", + "_LoadingIcon.edb4fe20.js" ] }, "resources/scripts/views/recurring-invoices/Index.vue": { - "file": "assets/Index.3aaaec9d.js", + "file": "assets/Index.6ad728c1.js", "src": "resources/scripts/views/recurring-invoices/Index.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_SendInvoiceModal.f1dd071b.js", - "_RecurringInvoiceIndexDropdown.9bd7780c.js", - "_MoonwalkerIcon.33f1b046.js" + "_SendInvoiceModal.59d8474e.js", + "_RecurringInvoiceIndexDropdown.63452d24.js", + "_MoonwalkerIcon.a8d19439.js" ] }, - "_RecurringInvoiceIndexDropdown.9bd7780c.js": { - "file": "assets/RecurringInvoiceIndexDropdown.9bd7780c.js", + "_RecurringInvoiceIndexDropdown.63452d24.js": { + "file": "assets/RecurringInvoiceIndexDropdown.63452d24.js", "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js" ] }, "resources/scripts/views/recurring-invoices/create/RecurringInvoiceCreate.vue": { - "file": "assets/RecurringInvoiceCreate.d9762a04.js", + "file": "assets/RecurringInvoiceCreate.2830930f.js", "src": "resources/scripts/views/recurring-invoices/create/RecurringInvoiceCreate.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", - "_ItemModal.550811d2.js", + "_ItemModal.6c4a6110.js", "resources/scripts/main.js", - "_ExchangeRateConverter.723e246f.js", - "_CreateCustomFields.b3e72776.js", - "_TaxTypeModal.e84ae727.js", - "_DragIcon.9fdb0cc4.js", - "_SelectNotePopup.957765bc.js", - "_NoteModal.ce9830bd.js" + "_ExchangeRateConverter.2eb3213d.js", + "_CreateCustomFields.31e45d63.js", + "_TaxTypeModal.2309f47d.js", + "_DragIcon.0cd95723.js", + "_SelectNotePopup.8c3a3989.js", + "_NoteModal.0435aa4f.js" ] }, "resources/scripts/views/recurring-invoices/View.vue": { - "file": "assets/View.5b253c8e.js", + "file": "assets/View.765a7253.js", "src": "resources/scripts/views/recurring-invoices/View.vue", "isDynamicEntry": true, "imports": [ "_vendor.e9042f2c.js", "resources/scripts/main.js", - "_LoadingIcon.562f15c9.js", - "_InvoiceIndexDropdown.d1c989d3.js", - "_SendInvoiceModal.f1dd071b.js", - "_RecurringInvoiceIndexDropdown.9bd7780c.js" + "_LoadingIcon.edb4fe20.js", + "_InvoiceIndexDropdown.8a8f3a1b.js", + "_SendInvoiceModal.59d8474e.js", + "_RecurringInvoiceIndexDropdown.63452d24.js" ] }, "resources/scripts/views/reports/layout/Index.vue": { - "file": "assets/Index.41536eef.js", + "file": "assets/Index.952bfeaf.js", "src": "resources/scripts/views/reports/layout/Index.vue", "isDynamicEntry": true, "imports": [ @@ -727,7 +727,7 @@ ] }, "resources/scripts/views/installation/Installation.vue": { - "file": "assets/Installation.6f80372a.js", + "file": "assets/Installation.dba5af35.js", "src": "resources/scripts/views/installation/Installation.vue", "isDynamicEntry": true, "imports": [ @@ -736,7 +736,7 @@ ] }, "resources/scripts/components/base-select/BaseMultiselect.vue": { - "file": "assets/BaseMultiselect.42d38225.js", + "file": "assets/BaseMultiselect.80369cb3.js", "src": "resources/scripts/components/base-select/BaseMultiselect.vue", "isDynamicEntry": true, "imports": [ @@ -745,7 +745,7 @@ ] }, "resources/scripts/components/base/base-editor/BaseEditor.vue": { - "file": "assets/BaseEditor.c48132eb.js", + "file": "assets/BaseEditor.8aef389c.js", "src": "resources/scripts/components/base/base-editor/BaseEditor.vue", "isDynamicEntry": true, "imports": [