⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
qda-digital.online
/
public
/
dist
/
js
/
Edit File: 125.150788.js
/*! For license information please see 125.150788.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[125],{4:function(e,t,r){"use strict";var s=r(7),a=r.n(s),o=Object.defineProperty,i=Object.prototype.hasOwnProperty,n=Object.getOwnPropertySymbols,l=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))i.call(t,r)&&c(e,r,t[r]);if(n)for(var r of n(t))l.call(t,r)&&c(e,r,t[r]);return e};const u=e=>void 0===e,p=e=>Array.isArray(e),m=e=>e&&"number"==typeof e.size&&"string"==typeof e.type&&"function"==typeof e.slice,d=(e,t,r,s)=>((t=t||{}).indices=!u(t.indices)&&t.indices,t.nullsAsUndefineds=!u(t.nullsAsUndefineds)&&t.nullsAsUndefineds,t.booleansAsIntegers=!u(t.booleansAsIntegers)&&t.booleansAsIntegers,t.allowEmptyArrays=!u(t.allowEmptyArrays)&&t.allowEmptyArrays,r=r||new FormData,u(e)||(null===e?t.nullsAsUndefineds||r.append(s,""):(e=>"boolean"==typeof e)(e)?t.booleansAsIntegers?r.append(s,e?1:0):r.append(s,e):p(e)?e.length?e.forEach((e,a)=>{const o=s+"["+(t.indices?a:"")+"]";d(e,t,r,o)}):t.allowEmptyArrays&&r.append(s+"[]",""):(e=>e instanceof Date)(e)?r.append(s,e.toISOString()):!(e=>e===Object(e))(e)||(e=>m(e)&&"string"==typeof e.name&&("object"==typeof e.lastModifiedDate||"number"==typeof e.lastModified))(e)||m(e)?r.append(s,e):Object.keys(e).forEach(a=>{const o=e[a];if(p(o))for(;a.length>2&&a.lastIndexOf("[]")===a.length-2;)a=a.substring(0,a.length-2);d(o,t,r,s?s+"["+a+"]":a)})),r);var g={serialize:d};function v(e){if(null===e||"object"!=typeof e)return e;const t=Array.isArray(e)?[]:{};return Object.keys(e).forEach(r=>{t[r]=v(e[r])}),t}function h(e){return Array.isArray(e)?e:[e]}class _{constructor(){this.errors={},this.errors={}}set(e,t){"object"==typeof e?this.errors=e:this.set(f(f({},this.errors),{[e]:h(t)}))}all(){return this.errors}has(e){return Object.prototype.hasOwnProperty.call(this.errors,e)}hasAny(...e){return e.some(e=>this.has(e))}any(){return Object.keys(this.errors).length>0}get(e){if(this.has(e))return this.getAll(e)[0]}getAll(e){return h(this.errors[e]||[])}only(...e){const t=[];return e.forEach(e=>{const r=this.get(e);r&&t.push(r)}),t}flatten(){return Object.values(this.errors).reduce((e,t)=>e.concat(t),[])}clear(e){const t={};e&&Object.keys(this.errors).forEach(r=>{r!==e&&(t[r]=this.errors[r])}),this.set(t)}}class x{constructor(e={}){this.originalData={},this.busy=!1,this.successful=!1,this.recentlySuccessful=!1,this.recentlySuccessfulTimeoutId=void 0,this.errors=new _,this.progress=void 0,this.update(e)}static make(e){return new this(e)}update(e){this.originalData=Object.assign({},this.originalData,v(e)),Object.assign(this,e)}fill(e={}){this.keys().forEach(t=>{this[t]=e[t]})}data(){return this.keys().reduce((e,t)=>f(f({},e),{[t]:this[t]}),{})}keys(){return Object.keys(this).filter(e=>!x.ignore.includes(e))}startProcessing(){this.errors.clear(),this.busy=!0,this.successful=!1,this.progress=void 0,this.recentlySuccessful=!1,clearTimeout(this.recentlySuccessfulTimeoutId)}finishProcessing(){this.busy=!1,this.successful=!0,this.progress=void 0,this.recentlySuccessful=!0,this.recentlySuccessfulTimeoutId=setTimeout(()=>{this.recentlySuccessful=!1},x.recentlySuccessfulTimeout)}clear(){this.errors.clear(),this.successful=!1,this.recentlySuccessful=!1,this.progress=void 0,clearTimeout(this.recentlySuccessfulTimeoutId)}reset(){Object.keys(this).filter(e=>!x.ignore.includes(e)).forEach(e=>{this[e]=v(this.originalData[e])})}get(e,t={}){return this.submit("get",e,t)}post(e,t={}){return this.submit("post",e,t)}patch(e,t={}){return this.submit("patch",e,t)}put(e,t={}){return this.submit("put",e,t)}delete(e,t={}){return this.submit("delete",e,t)}submit(e,t,r={}){return this.startProcessing(),r=f({data:{},params:{},url:this.route(t),method:e,onUploadProgress:this.handleUploadProgress.bind(this)},r),"get"===e.toLowerCase()?r.params=f(f({},this.data()),r.params):(r.data=f(f({},this.data()),r.data),function e(t){return t instanceof File||t instanceof Blob||t instanceof FileList||"object"==typeof t&&null!==t&&void 0!==Object.values(t).find(t=>e(t))}(r.data)&&!r.transformRequest&&(r.transformRequest=[e=>g.serialize(e)])),new Promise((e,t)=>{(x.axios||a.a).request(r).then(t=>{this.finishProcessing(),e(t)}).catch(e=>{this.handleErrors(e),t(e)})})}handleErrors(e){this.busy=!1,this.progress=void 0,e.response&&this.errors.set(this.extractErrors(e.response))}extractErrors(e){return e.data&&"object"==typeof e.data?e.data.errors?f({},e.data.errors):e.data.message?{error:e.data.message}:f({},e.data):{error:x.errorMessage}}handleUploadProgress(e){this.progress={total:e.total,loaded:e.loaded,percentage:Math.round(100*e.loaded/e.total)}}route(e,t={}){let r=e;return Object.prototype.hasOwnProperty.call(x.routes,e)&&(r=decodeURI(x.routes[e])),"object"!=typeof t&&(t={id:t}),Object.keys(t).forEach(e=>{r=r.replace(`{${e}}`,t[e])}),r}onKeydown(e){const t=e.target;t.name&&this.errors.clear(t.name)}}x.routes={},x.errorMessage="Something went wrong. Please try again.",x.recentlySuccessfulTimeout=2e3,x.ignore=["busy","successful","errors","progress","originalData","recentlySuccessful","recentlySuccessfulTimeoutId"],t.a=x},466:function(e,t,r){"use strict";r.r(t);var s=r(4),a=r(3),o=r(9),i=r(7),n=r.n(i);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){c=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,s=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",n=a.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function u(e,t,r,a){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),n=new S(a||[]);return s(i,"_invoke",{value:C(e,r,n)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var m={};function d(){}function g(){}function v(){}var h={};f(h,o,(function(){return this}));var _=Object.getPrototypeOf,x=_&&_(_(j([])));x&&x!==t&&r.call(x,o)&&(h=x);var y=v.prototype=d.prototype=Object.create(h);function b(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){var a;s(this,"_invoke",{value:function(s,o){function i(){return new t((function(a,i){!function s(a,o,i,n){var c=p(e[a],e,o);if("throw"!==c.type){var f=c.arg,u=f.value;return u&&"object"==l(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){s("next",e,i,n)}),(function(e){s("throw",e,i,n)})):t.resolve(u).then((function(e){f.value=e,i(f)}),(function(e){return s("throw",e,i,n)}))}n(c.arg)}(s,o,a,i)}))}return a=a?a.then(i,i):i()}})}function C(e,t,r){var s="suspendedStart";return function(a,o){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===a)throw o;return R()}for(r.method=a,r.arg=o;;){var i=r.delegate;if(i){var n=w(i,r);if(n){if(n===m)continue;return n}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===s)throw s="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);s="executing";var l=p(e,t,r);if("normal"===l.type){if(s=r.done?"completed":"suspendedYield",l.arg===m)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(s="completed",r.method="throw",r.arg=l.arg)}}}function w(e,t){var r=t.method,s=e.iterator[r];if(void 0===s)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var a=p(s,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,m;var o=a.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,m):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function $(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach($,this),this.reset(!0)}function j(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var s=-1,a=function t(){for(;++s<e.length;)if(r.call(e,s))return t.value=e[s],t.done=!1,t;return t.value=void 0,t.done=!0,t};return a.next=a}}return{next:R}}function R(){return{value:void 0,done:!0}}return g.prototype=v,s(y,"constructor",{value:v,configurable:!0}),s(v,"constructor",{value:g,configurable:!0}),g.displayName=f(v,n,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,f(e,n,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},b(P.prototype),f(P.prototype,i,(function(){return this})),e.AsyncIterator=P,e.async=function(t,r,s,a,o){void 0===o&&(o=Promise);var i=new P(u(t,r,s,a),o);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},b(y),f(y,n,"Generator"),f(y,o,(function(){return this})),f(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var s in t)r.push(s);return r.reverse(),function e(){for(;r.length;){var s=r.pop();if(s in t)return e.value=s,e.done=!1,e}return e.done=!0,e}},e.values=j,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function s(r,s){return i.type="throw",i.arg=e,t.next=r,s&&(t.method="next",t.arg=void 0),!!s}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return s("end");if(o.tryLoc<=this.prev){var n=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(n&&l){if(this.prev<o.catchLoc)return s(o.catchLoc,!0);if(this.prev<o.finallyLoc)return s(o.finallyLoc)}else if(n){if(this.prev<o.catchLoc)return s(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return s(o.finallyLoc)}}}},abrupt:function(e,t){for(var s=this.tryEntries.length-1;s>=0;--s){var a=this.tryEntries[s];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var s=r.completion;if("throw"===s.type){var a=s.arg;L(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:j(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),m}},e}function f(e,t,r,s,a,o,i){try{var n=e[o](i),l=n.value}catch(e){return void r(e)}n.done?t(l):Promise.resolve(l).then(s,a)}function u(e){return function(){var t=this,r=arguments;return new Promise((function(s,a){var o=e.apply(t,r);function i(e){f(o,s,a,i,n,"next",e)}function n(e){f(o,s,a,i,n,"throw",e)}i(void 0)}))}}var p={middleware:["auth","check-permissions"],metaInfo:function(){return{title:this.$t("setup.general_settings.index.page_title")}},data:function(){return{allClients:[],allAccounts:[],allVatRates:[],breadcrumbsCurrent:"setup.general_settings.index.breadcrumbs_current",breadcrumbs:[{name:"setup.general_settings.index.breadcrumbs_first",url:"home"},{name:"setup.general_settings.index.breadcrumbs_second",url:"setup.index"},{name:"setup.general_settings.index.breadcrumbs_active",url:""}],form:new s.a({companyName:"",companyTagline:"",emailAddress:"",phoneNumber:"",address:"",clientPrefix:"",supplierPrefix:"",employeePrefix:"",proCatPrefix:"",proSubCatPrefix:"",productPrefix:"",expCatPrefix:"",expSubCatPrefix:"",purchasePrefix:"",purchaseReturnPrefix:"",quotationPrefix:"",invoicePrefix:"",invoiceReturnPrefix:"",adjustmentPrefix:"",currency:"",language:"en",copyrightText:"",logo:"",blackLogo:"",smallLogo:"",favicon:"",defaultClient:"",defaultAccount:"",defaultVatRate:""}),logo:"",blackLogo:"",smallLogo:"",favicon:""}},computed:Object(a.b)({appInfo:"operations/appInfo",items:"operations/items"}),created:function(){this.getVatRates(),this.getCurrencies(),this.getClients(),this.getAccounts(),this.assignValues()},methods:{getCurrencies:function(){var e=this;return u(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("operations/allData",{path:"/api/all-currencies"});case 2:case"end":return t.stop()}}),t)})))()},getClients:function(){var e=this;return u(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.a.get("/api/all-clients").then((function(t){if(e.allClients=t.data.data,e.allClients&&e.allClients.length>0){var r=e.appInfo.defaultClientSlug;e.form.defaultClient=e.allClients.find((function(e){return e.slug===r}))}}));case 2:case"end":return t.stop()}}),t)})))()},getAccounts:function(){var e=this;return u(c().mark((function t(){return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.a.get("/api/all-accounts").then((function(t){if(e.allAccounts=t.data.data,e.allAccounts&&e.allAccounts.length>0){var r=e.appInfo.defaultAccountSlug;e.form.defaultAccount=e.allAccounts.find((function(e){return e.slug===r}))}}));case 2:case"end":return t.stop()}}),t)})))()},getVatRates:function(){var e=this;n.a.get("/api/all-vat-rates").then((function(t){if(e.allVatRates=t.data.data,e.allVatRates&&e.allVatRates.length>0){var r=e.appInfo.defaultVatRateSlug;e.form.defaultVatRate=e.allVatRates.find((function(e){return e.slug===r}))}}))},assignValues:function(){this.appInfo&&(this.form.companyName=this.appInfo.companyName,this.form.companyTagline=this.appInfo.companyTagline,this.form.emailAddress=this.appInfo.email,this.form.phoneNumber=this.appInfo.phone,this.form.address=this.appInfo.address,this.form.clientPrefix=this.appInfo.clientPrefix,this.form.supplierPrefix=this.appInfo.supplierPrefix,this.form.employeePrefix=this.appInfo.employeePrefix,this.form.proCatPrefix=this.appInfo.proCatPrefix,this.form.proSubCatPrefix=this.appInfo.proSubCatPrefix,this.form.productPrefix=this.appInfo.productPrefix,this.form.expCatPrefix=this.appInfo.expCatPrefix,this.form.expSubCatPrefix=this.appInfo.expSubCatPrefix,this.form.purchasePrefix=this.appInfo.purchasePrefix,this.form.purchaseReturnPrefix=this.appInfo.purchaseReturnPrefix,this.form.quotationPrefix=this.appInfo.quotationPrefix,this.form.invoicePrefix=this.appInfo.invoicePrefix,this.form.invoiceReturnPrefix=this.appInfo.invoiceReturnPrefix,this.form.adjustmentPrefix=this.appInfo.adjustmentPrefix,this.form.currency=this.appInfo.currency,this.form.language=this.appInfo.language,this.logo=this.appInfo.logo,this.blackLogo=this.appInfo.blackLogo,this.smallLogo=this.appInfo.smallLogo,this.favicon=this.appInfo.favicon,this.form.copyrightText=this.appInfo.copyright)},onLogoChange:function(e){var t=this,r=e.target.files[0],s=new FileReader;r.size<2111775&&("image/jpeg"===r.type||"image/png"===r.type||"image/gif"===r.type||"image/svg"===r.type)?(s.onloadend=function(e){t.form.logo=s.result},s.readAsDataURL(r),this.logo=URL.createObjectURL(r)):Swal.fire(this.$t("common.error"),this.$t("common.image_error"),"error")},onBlackLogoChange:function(e){var t=this,r=e.target.files[0],s=new FileReader;r.size<2111775&&("image/jpeg"===r.type||"image/png"===r.type||"image/gif"===r.type||"image/svg"===r.type)?(s.onloadend=function(e){t.form.blackLogo=s.result},s.readAsDataURL(r),this.blackLogo=URL.createObjectURL(r)):Swal.fire(this.$t("common.error"),this.$t("common.image_error"),"error")},onSmallLogoChange:function(e){var t=this,r=e.target.files[0],s=new FileReader;r.size<2111775&&("image/jpeg"===r.type||"image/png"===r.type||"image/gif"===r.type||"image/svg"===r.type)?(s.onloadend=function(e){t.form.smallLogo=s.result},s.readAsDataURL(r),this.smallLogo=URL.createObjectURL(r)):Swal.fire(this.$t("common.error"),this.$t("common.image_error"),"error")},onFaviconChange:function(e){var t=this,r=e.target.files[0],s=new FileReader;r.size<2111775&&("image/jpeg"===r.type||"image/png"===r.type||"image/gif"===r.type)?(s.onloadend=function(e){t.form.favicon=s.result},s.readAsDataURL(r),this.favicon=URL.createObjectURL(r)):Swal.fire(this.$t("common.error"),this.$t("common.image_error"),"error")},updateSettings:function(){var e=this;return u(c().mark((function t(){var r;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.form.language,e.$i18n.locale!==r&&(Object(o.b)(r),e.$store.dispatch("lang/setLocale",{locale:r})),t.next=4,e.form.post(window.location.origin+"/api/update-settings").then((function(t){console.log(t.data),toast.fire({type:"success",title:e.$t("setup.general_settings.index.success_message")}),window.location.reload()})).catch((function(){toast.fire({type:"error",title:e.$t("common.error_msg")})}));case 4:case"end":return t.stop()}}),t)})))()}}},m=r(1),d=Object(m.a)(p,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("breadcrumbs",{attrs:{items:e.breadcrumbs,current:e.breadcrumbsCurrent}}),e._v(" "),r("div",{staticClass:"row"},[r("div",{staticClass:"col-lg-12"},[r("div",{staticClass:"card"},[r("div",{staticClass:"card-header"},[r("h3",{staticClass:"card-title"},[e._v("\n "+e._s(e.$t("setup.general_settings.index.page_title"))+"\n ")]),e._v(" "),r("router-link",{staticClass:"btn btn-dark float-right",attrs:{to:{name:"setup.index"}}},[r("i",{staticClass:"fas fa-long-arrow-alt-left"}),e._v(" "+e._s(e.$t("common.back"))+"\n ")])],1),e._v(" "),r("form",{attrs:{role:"form"},on:{submit:function(t){return t.preventDefault(),e.updateSettings.apply(null,arguments)},keydown:function(t){return e.form.onKeydown(t)}}},[r("div",{staticClass:"card-body"},[r("strong",[e._v(e._s(e.$t("setup.general_settings.index.company_info.info_title")))]),e._v(" "),r("hr"),e._v(" "),r("div",{staticClass:"row"},[r("div",{staticClass:"form-group col-md-6"},[r("label",{attrs:{for:"companyName"}},[e._v(e._s(e.$t("common.company_name"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.companyName,expression:"form.companyName"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("companyName")},attrs:{id:"companyName",type:"text",name:"companyName",placeholder:e.$t("common.company_name_placeholder")},domProps:{value:e.form.companyName},on:{input:function(t){t.target.composing||e.$set(e.form,"companyName",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"companyName"}})],1),e._v(" "),r("div",{staticClass:"form-group col-md-6"},[r("label",{attrs:{for:"companyTagline"}},[e._v(e._s(e.$t("setup.general_settings.index.company_info.company_tagline"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.companyTagline,expression:"form.companyTagline"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("companyTagline")},attrs:{id:"companyTagline",type:"text",name:"companyTagline",placeholder:e.$t("setup.general_settings.index.company_info.company_tagline_placeholder")},domProps:{value:e.form.companyTagline},on:{input:function(t){t.target.composing||e.$set(e.form,"companyTagline",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"companyTagline"}})],1)]),e._v(" "),r("div",{staticClass:"row"},[r("div",{staticClass:"form-group col-md-6"},[r("label",{attrs:{for:"emailAddress"}},[e._v(e._s(e.$t("setup.general_settings.index.company_info.email_address"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.emailAddress,expression:"form.emailAddress"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("emailAddress")},attrs:{id:"emailAddress",type:"email",name:"emailAddress",placeholder:e.$t("setup.general_settings.index.company_info.email_address_placeholder")},domProps:{value:e.form.emailAddress},on:{input:function(t){t.target.composing||e.$set(e.form,"emailAddress",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"emailAddress"}})],1),e._v(" "),r("div",{staticClass:"form-group col-md-6"},[r("label",{attrs:{for:"phoneNumber"}},[e._v(e._s(e.$t("setup.general_settings.index.company_info.phone_number"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.phoneNumber,expression:"form.phoneNumber"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("phoneNumber")},attrs:{id:"phoneNumber",type:"text",name:"phoneNumber",placeholder:e.$t("setup.general_settings.index.company_info.phone_number_placeholder")},domProps:{value:e.form.phoneNumber},on:{input:function(t){t.target.composing||e.$set(e.form,"phoneNumber",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"name"}})],1)]),e._v(" "),r("div",{staticClass:"form-group"},[r("label",{attrs:{for:"address"}},[e._v(e._s(e.$t("common.address")))]),e._v(" "),r("textarea",{directives:[{name:"model",rawName:"v-model",value:e.form.address,expression:"form.address"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("address")},attrs:{id:"address",placeholder:e.$t("common.address_placeholder")},domProps:{value:e.form.address},on:{input:function(t){t.target.composing||e.$set(e.form,"address",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"address"}})],1),e._v(" "),r("br"),e._v(" "),r("strong",[e._v(e._s(e.$t("setup.general_settings.index.code_prefixes.prefix_title")))]),e._v(" "),r("hr"),e._v(" "),r("div",{staticClass:"row"},[r("div",{staticClass:"form-group col-md-4"},[r("label",{attrs:{for:"clientPrefix"}},[e._v(e._s(e.$t("setup.general_settings.index.code_prefixes.client_prefix"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.clientPrefix,expression:"form.clientPrefix"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("clientPrefix")},attrs:{id:"clientPrefix",type:"text",name:"clientPrefix",placeholder:e.$t("setup.general_settings.index.code_prefixes.client_prefix_placeholder")},domProps:{value:e.form.clientPrefix},on:{input:function(t){t.target.composing||e.$set(e.form,"clientPrefix",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"clientPrefix"}})],1),e._v(" "),r("div",{staticClass:"form-group col-md-4"},[r("label",{attrs:{for:"supplierPrefix"}},[e._v(e._s(e.$t("setup.general_settings.index.code_prefixes.supplier_prefix"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.supplierPrefix,expression:"form.supplierPrefix"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("supplierPrefix")},attrs:{id:"supplierPrefix",type:"text",name:"supplierPrefix",placeholder:e.$t("setup.general_settings.index.code_prefixes.supplier_prefix_placeholder")},domProps:{value:e.form.supplierPrefix},on:{input:function(t){t.target.composing||e.$set(e.form,"supplierPrefix",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"supplierPrefix"}})],1),e._v(" "),r("div",{staticClass:"form-group col-md-4"},[r("label",{attrs:{for:"employeePrefix"}},[e._v(e._s(e.$t("setup.general_settings.index.code_prefixes.employee_prefix"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.employeePrefix,expression:"form.employeePrefix"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("employeePrefix")},attrs:{id:"employeePrefix",type:"text",name:"employeePrefix",placeholder:e.$t("setup.general_settings.index.code_prefixes.employee_prefix_placeholder")},domProps:{value:e.form.employeePrefix},on:{input:function(t){t.target.composing||e.$set(e.form,"employeePrefix",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"employeePrefix"}})],1)]),e._v(" "),r("div",{staticClass:"row"},[r("div",{staticClass:"form-group col-md-4"},[r("label",{attrs:{for:"proCatPrefix"}},[e._v(e._s(e.$t("setup.general_settings.index.code_prefixes.product_category_prefix"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.proCatPrefix,expression:"form.proCatPrefix"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("proCatPrefix")},attrs:{id:"proCatPrefix",type:"text",name:"proCatPrefix",placeholder:e.$t("setup.general_settings.index.code_prefixes.product_category_prefix_placeholder")},domProps:{value:e.form.proCatPrefix},on:{input:function(t){t.target.composing||e.$set(e.form,"proCatPrefix",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"proCatPrefix"}})],1),e._v(" "),r("div",{staticClass:"form-group col-md-4"},[r("label",{attrs:{for:"proSubCatPrefix"}},[e._v(e._s(e.$t("setup.general_settings.index.code_prefixes.product_sub_category_prefix"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.proSubCatPrefix,expression:"form.proSubCatPrefix"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("proSubCatPrefix")},attrs:{id:"proSubCatPrefix",type:"text",name:"proSubCatPrefix",placeholder:e.$t("setup.general_settings.index.code_prefixes.product_sub_category_prefix_placeholder")},domProps:{value:e.form.proSubCatPrefix},on:{input:function(t){t.target.composing||e.$set(e.form,"proSubCatPrefix",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"proSubCatPrefix"}})],1),e._v(" "),r("div",{staticClass:"form-group col-md-4"},[r("label",{attrs:{for:"productPrefix"}},[e._v(e._s(e.$t("setup.general_settings.index.code_prefixes.product_prefix"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.productPrefix,expression:"form.productPrefix"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("productPrefix")},attrs:{id:"productPrefix",type:"text",name:"productPrefix",placeholder:e.$t("setup.general_settings.index.code_prefixes.product_prefix_placeholder")},domProps:{value:e.form.productPrefix},on:{input:function(t){t.target.composing||e.$set(e.form,"productPrefix",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"productPrefix"}})],1)]),e._v(" "),r("div",{staticClass:"row"},[r("div",{staticClass:"form-group col-lg-6 col-xl-3"},[r("label",{attrs:{for:"expCatPrefix"}},[e._v(e._s(e.$t("setup.general_settings.index.code_prefixes.expense_category_prefix"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.expCatPrefix,expression:"form.expCatPrefix"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("expCatPrefix")},attrs:{id:"expCatPrefix",type:"text",name:"expCatPrefix",placeholder:e.$t("setup.general_settings.index.code_prefixes.expense_category_prefix_placeholder")},domProps:{value:e.form.expCatPrefix},on:{input:function(t){t.target.composing||e.$set(e.form,"expCatPrefix",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"expCatPrefix"}})],1),e._v(" "),r("div",{staticClass:"form-group col-lg-6 col-xl-3"},[r("label",{attrs:{for:"expSubCatPrefix"}},[e._v(e._s(e.$t("setup.general_settings.index.code_prefixes.expense_sub_category_prefix"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.expSubCatPrefix,expression:"form.expSubCatPrefix"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("expSubCatPrefix")},attrs:{id:"expSubCatPrefix",type:"text",name:"expSubCatPrefix",placeholder:e.$t("setup.general_settings.index.code_prefixes.expense_sub_category_prefix_placeholder")},domProps:{value:e.form.expSubCatPrefix},on:{input:function(t){t.target.composing||e.$set(e.form,"expSubCatPrefix",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"expSubCatPrefix"}})],1),e._v(" "),r("div",{staticClass:"form-group col-lg-6 col-xl-3"},[r("label",{attrs:{for:"purchasePrefix"}},[e._v(e._s(e.$t("setup.general_settings.index.code_prefixes.purchase_prefix"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.purchasePrefix,expression:"form.purchasePrefix"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("purchasePrefix")},attrs:{id:"purchasePrefix",type:"text",name:"purchasePrefix",placeholder:e.$t("setup.general_settings.index.code_prefixes.purchase_prefix_placeholder")},domProps:{value:e.form.purchasePrefix},on:{input:function(t){t.target.composing||e.$set(e.form,"purchasePrefix",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"purchasePrefix"}})],1),e._v(" "),r("div",{staticClass:"form-group col-lg-6 col-xl-3"},[r("label",{attrs:{for:"purchaseReturnPrefix"}},[e._v(e._s(e.$t("setup.general_settings.index.code_prefixes.purchase_return_prefix"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.purchaseReturnPrefix,expression:"form.purchaseReturnPrefix"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("purchaseReturnPrefix")},attrs:{id:"purchaseReturnPrefix",type:"text",name:"purchaseReturnPrefix",placeholder:e.$t("setup.general_settings.index.code_prefixes.purchase_return_prefix_placeholder")},domProps:{value:e.form.purchaseReturnPrefix},on:{input:function(t){t.target.composing||e.$set(e.form,"purchaseReturnPrefix",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"purchaseReturnPrefix"}})],1)]),e._v(" "),r("div",{staticClass:"row"},[r("div",{staticClass:"form-group col-lg-6 col-xl-3"},[r("label",{attrs:{for:"quotationPrefix"}},[e._v(e._s(e.$t("setup.general_settings.index.code_prefixes.quotation_prefix"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.quotationPrefix,expression:"form.quotationPrefix"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("quotationPrefix")},attrs:{id:"quotationPrefix",type:"text",name:"quotationPrefix",placeholder:e.$t("setup.general_settings.index.code_prefixes.quotation_prefix_placeholder")},domProps:{value:e.form.quotationPrefix},on:{input:function(t){t.target.composing||e.$set(e.form,"quotationPrefix",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"quotationPrefix"}})],1),e._v(" "),r("div",{staticClass:"form-group col-lg-6 col-xl-3"},[r("label",{attrs:{for:"invoicePrefix"}},[e._v(e._s(e.$t("setup.general_settings.index.code_prefixes.invoice_prefix"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.invoicePrefix,expression:"form.invoicePrefix"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("invoicePrefix")},attrs:{id:"invoicePrefix",type:"text",name:"invoicePrefix",placeholder:e.$t("setup.general_settings.index.code_prefixes.invoice_prefix_placeholder")},domProps:{value:e.form.invoicePrefix},on:{input:function(t){t.target.composing||e.$set(e.form,"invoicePrefix",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"invoicePrefix"}})],1),e._v(" "),r("div",{staticClass:"form-group col-lg-6 col-xl-3"},[r("label",{attrs:{for:"invoiceReturnPrefix"}},[e._v(e._s(e.$t("setup.general_settings.index.code_prefixes.invoice_return_prefix"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.invoiceReturnPrefix,expression:"form.invoiceReturnPrefix"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("invoiceReturnPrefix")},attrs:{id:"invoiceReturnPrefix",type:"text",name:"invoiceReturnPrefix",placeholder:e.$t("setup.general_settings.index.code_prefixes.invoice_return_prefix_placeholder")},domProps:{value:e.form.invoiceReturnPrefix},on:{input:function(t){t.target.composing||e.$set(e.form,"invoiceReturnPrefix",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"invoiceReturnPrefix"}})],1),e._v(" "),r("div",{staticClass:"form-group col-lg-6 col-xl-3"},[r("label",{attrs:{for:"adjustmentPrefix"}},[e._v(e._s(e.$t("setup.general_settings.index.code_prefixes.invoice_adjustment_prefix"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.adjustmentPrefix,expression:"form.adjustmentPrefix"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("adjustmentPrefix")},attrs:{id:"adjustmentPrefix",type:"text",name:"adjustmentPrefix",placeholder:e.$t("setup.general_settings.index.code_prefixes.invoice_adjustment_prefix_placeholder")},domProps:{value:e.form.adjustmentPrefix},on:{input:function(t){t.target.composing||e.$set(e.form,"adjustmentPrefix",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"adjustmentPrefix"}})],1)]),e._v(" "),r("br"),e._v(" "),r("strong",[e._v(e._s(e.$t("setup.general_settings.index.default_elements.default_elements_title")))]),e._v(" "),r("hr"),e._v(" "),r("div",{staticClass:"row"},[e.items?r("div",{staticClass:"form-group col-md-6"},[r("label",{attrs:{for:"currency"}},[e._v(e._s(e.$t("setup.general_settings.index.default_elements.default_currency"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("v-select",{class:{"is-invalid":e.form.errors.has("currency")},attrs:{options:e.items,label:"label",name:"currency",placeholder:e.$t("setup.general_settings.index.default_elements.select_a_currency")},model:{value:e.form.currency,callback:function(t){e.$set(e.form,"currency",t)},expression:"form.currency"}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"currency"}})],1):e._e(),e._v(" "),r("div",{staticClass:"form-group col-md-6"},[r("label",{attrs:{for:"language"}},[e._v(e._s(e.$t("setup.general_settings.index.default_elements.default_language"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.form.language,expression:"form.language"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("language")},attrs:{name:""},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.form,"language",t.target.multiple?r:r[0])}}},[r("option",{attrs:{value:"en"}},[e._v("\n "+e._s(e.$t("setup.general_settings.index.default_elements.english_en"))+"\n ")]),e._v(" "),r("option",{attrs:{value:"hi"}},[e._v("\n "+e._s(e.$t("setup.general_settings.index.default_elements.hindi_hi"))+"\n ")])]),e._v(" "),r("has-error",{attrs:{form:e.form,field:"language"}})],1)]),e._v(" "),r("div",{staticClass:"row"},[this.allClients?r("div",{staticClass:"form-group col-md-4"},[r("label",{attrs:{for:"client"}},[e._v(e._s(e.$t("setup.general_settings.index.default_elements.default_client"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("v-select",{class:{"is-invalid":e.form.errors.has("defaultClient")},attrs:{options:this.allClients,label:"name",name:"client",placeholder:e.$t("setup.general_settings.index.default_elements.select_a_client")},model:{value:e.form.defaultClient,callback:function(t){e.$set(e.form,"defaultClient",t)},expression:"form.defaultClient"}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"defaultClient"}})],1):e._e(),e._v(" "),this.allAccounts?r("div",{staticClass:"form-group col-md-4"},[r("label",{attrs:{for:"client"}},[e._v(e._s(e.$t("setup.general_settings.index.default_elements.default_account"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("v-select",{class:{"is-invalid":e.form.errors.has("defaultAccount")},attrs:{options:this.allAccounts,label:"bankName",name:"account",placeholder:e.$t("setup.general_settings.index.default_elements.select_a_account")},model:{value:e.form.defaultAccount,callback:function(t){e.$set(e.form,"defaultAccount",t)},expression:"form.defaultAccount"}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"defaultAccount"}})],1):e._e(),e._v(" "),this.allVatRates?r("div",{staticClass:"form-group col-md-4"},[r("label",{attrs:{for:"vatRate"}},[e._v(e._s(e.$t("setup.general_settings.index.default_elements.default_vat_rate"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("v-select",{class:{"is-invalid":e.form.errors.has("defaultVatRate")},attrs:{options:this.allVatRates,label:"name",name:"vatRate",placeholder:e.$t("setup.general_settings.index.default_elements.select_a_vat_rate")},model:{value:e.form.defaultVatRate,callback:function(t){e.$set(e.form,"defaultVatRate",t)},expression:"form.defaultVatRate"}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"defaultVatRate"}})],1):e._e()]),e._v(" "),r("div",{staticClass:"row"},[r("div",{staticClass:"form-group col-md-6"},[r("label",{attrs:{for:"logo"}},[e._v(e._s(e.$t("setup.general_settings.index.logo.white_logo")))]),e._v(" "),r("div",{staticClass:"custom-file"},[r("input",{staticClass:"custom-file-input",class:{"is-invalid":e.form.errors.has("logo")},attrs:{id:"logo",type:"file",name:"logo"},on:{change:e.onLogoChange}}),e._v(" "),r("label",{staticClass:"custom-file-label",attrs:{for:"logo"}},[e._v(e._s(e.$t("common.choose_file")))])]),e._v(" "),r("has-error",{attrs:{form:e.form,field:"logo"}}),e._v(" "),r("div",{staticClass:"bg-light mt-4 w-25"},[e.logo?r("img",{staticClass:"img-fluid",attrs:{src:e.logo,alt:"Logo"}}):e._e()])],1),e._v(" "),r("div",{staticClass:"form-group col-md-6"},[r("label",{attrs:{for:"blackLogo"}},[e._v(e._s(e.$t("setup.general_settings.index.logo.black_logo")))]),e._v(" "),r("div",{staticClass:"custom-file"},[r("input",{staticClass:"custom-file-input",class:{"is-invalid":e.form.errors.has("blackLogo")},attrs:{id:"blackLogo",type:"file",name:"blackLogo"},on:{change:e.onBlackLogoChange}}),e._v(" "),r("label",{staticClass:"custom-file-label",attrs:{for:"blackLogo"}},[e._v(e._s(e.$t("common.choose_file")))])]),e._v(" "),r("has-error",{attrs:{form:e.form,field:"blackLogo"}}),e._v(" "),r("div",{staticClass:"bg-light mt-4 w-25"},[e.blackLogo?r("img",{staticClass:"img-fluid",attrs:{src:e.blackLogo,alt:"Black Logo"}}):e._e()])],1)]),e._v(" "),r("div",{staticClass:"row"},[r("div",{staticClass:"form-group col-md-6"},[r("label",{attrs:{for:"smallLogo"}},[e._v(e._s(e.$t("setup.general_settings.index.logo.small_logo")))]),e._v(" "),r("div",{staticClass:"custom-file"},[r("input",{staticClass:"custom-file-input",class:{"is-invalid":e.form.errors.has("smallLogo")},attrs:{id:"smallLogo",type:"file",name:"smallLogo"},on:{change:e.onSmallLogoChange}}),e._v(" "),r("label",{staticClass:"custom-file-label",attrs:{for:"smallLogo"}},[e._v(e._s(e.$t("common.choose_file")))])]),e._v(" "),r("has-error",{attrs:{form:e.form,field:"smallLogo"}}),e._v(" "),r("div",{staticClass:"bg-light mt-4 w-25"},[e.smallLogo?r("img",{staticClass:"img-fluid",attrs:{src:e.smallLogo,alt:"Small Logo"}}):e._e()])],1),e._v(" "),r("div",{staticClass:"form-group col-md-6"},[r("label",{attrs:{for:"favicon"}},[e._v(e._s(e.$t("setup.general_settings.index.logo.favicon")))]),e._v(" "),r("div",{staticClass:"custom-file"},[r("input",{staticClass:"custom-file-input",class:{"is-invalid":e.form.errors.has("favicon")},attrs:{id:"favicon",type:"file",name:"favicon"},on:{change:e.onFaviconChange}}),e._v(" "),r("label",{staticClass:"custom-file-label",attrs:{for:"favicon"}},[e._v(e._s(e.$t("common.choose_file")))])]),e._v(" "),r("has-error",{attrs:{form:e.form,field:"favicon"}}),e._v(" "),r("div",{staticClass:"bg-light mt-4 w-25"},[e.favicon?r("img",{staticClass:"img-fluid",attrs:{src:e.favicon,alt:"Favicon"}}):e._e()])],1)]),e._v(" "),r("div",{staticClass:"row"},[r("div",{staticClass:"form-group col-md-12"},[r("label",{attrs:{for:"copyrightText"}},[e._v(e._s(e.$t("setup.general_settings.index.default_elements.copyright_text"))+"\n "),r("span",{staticClass:"required"},[e._v("*")])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.form.copyrightText,expression:"form.copyrightText"}],staticClass:"form-control",class:{"is-invalid":e.form.errors.has("copyrightText")},attrs:{id:"copyrightText",type:"text",name:"copyrightText",placeholder:"$t('setup.general_settings.index.default_elements.copyright_text_placeholder')"},domProps:{value:e.form.copyrightText},on:{input:function(t){t.target.composing||e.$set(e.form,"copyrightText",t.target.value)}}}),e._v(" "),r("has-error",{attrs:{form:e.form,field:"copyrightText"}})],1)])]),e._v(" "),r("div",{staticClass:"card-footer"},[r("v-button",{staticClass:"btn btn-primary",attrs:{loading:e.form.busy}},[r("i",{staticClass:"fas fa-edit"}),e._v(" "+e._s(e.$t("common.save_changes"))+"\n ")]),e._v(" "),r("button",{staticClass:"btn btn-secondary float-right",attrs:{type:"reset"},on:{click:function(t){return e.form.reset()}}},[r("i",{staticClass:"fas fa-power-off"}),e._v(" "+e._s(e.$t("common.reset"))+"\n ")])],1)])])])])],1)}),[],!1,null,null,null);t.default=d.exports}}]);
Simpan