⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.45
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
/
View File Name :
48.24dc52.js
/*! For license information please see 48.24dc52.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[48],{457:function(t,e,a){"use strict";a.r(e);var r=a(5),s=a(3),n=a.n(s),i=a(78),o=(a(818),a(1523)),c=a(1525),l=a(1524),u=a(567),d=a(1527),v=a(1521),h=a(1526),f=a(1522);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(){p=function(){return t};var t={},e=Object.prototype,a=e.hasOwnProperty,r=Object.defineProperty||function(t,e,a){t[e]=a.value},s="function"==typeof Symbol?Symbol:{},n=s.iterator||"@@iterator",i=s.asyncIterator||"@@asyncIterator",o=s.toStringTag||"@@toStringTag";function c(t,e,a){return Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,a){return t[e]=a}}function l(t,e,a,s){var n=e&&e.prototype instanceof v?e:v,i=Object.create(n.prototype),o=new k(s||[]);return r(i,"_invoke",{value:x(t,a,o)}),i}function u(t,e,a){try{return{type:"normal",arg:t.call(e,a)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var d={};function v(){}function h(){}function f(){}var _={};c(_,n,(function(){return this}));var y=Object.getPrototypeOf,g=y&&y(y(L([])));g&&g!==e&&a.call(g,n)&&(_=g);var b=f.prototype=v.prototype=Object.create(_);function C(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var s;r(this,"_invoke",{value:function(r,n){function i(){return new e((function(s,i){!function r(s,n,i,o){var c=u(t[s],t,n);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==m(d)&&a.call(d,"__await")?e.resolve(d.__await).then((function(t){r("next",t,i,o)}),(function(t){r("throw",t,i,o)})):e.resolve(d).then((function(t){l.value=t,i(l)}),(function(t){return r("throw",t,i,o)}))}o(c.arg)}(r,n,s,i)}))}return s=s?s.then(i,i):i()}})}function x(t,e,a){var r="suspendedStart";return function(s,n){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===s)throw n;return P()}for(a.method=s,a.arg=n;;){var i=a.delegate;if(i){var o=$(i,a);if(o){if(o===d)continue;return o}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===r)throw r="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);r="executing";var c=u(t,e,a);if("normal"===c.type){if(r=a.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:a.done}}"throw"===c.type&&(r="completed",a.method="throw",a.arg=c.arg)}}}function $(t,e){var a=e.method,r=t.iterator[a];if(void 0===r)return e.delegate=null,"throw"===a&&t.iterator.return&&(e.method="return",e.arg=void 0,$(t,e),"throw"===e.method)||"return"!==a&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+a+"' method")),d;var s=u(r,t.iterator,e.arg);if("throw"===s.type)return e.method="throw",e.arg=s.arg,e.delegate=null,d;var n=s.arg;return n?n.done?(e[t.resultName]=n.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):n:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function L(t){if(t){var e=t[n];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,s=function e(){for(;++r<t.length;)if(a.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return s.next=s}}return{next:P}}function P(){return{value:void 0,done:!0}}return h.prototype=f,r(b,"constructor",{value:f,configurable:!0}),r(f,"constructor",{value:h,configurable:!0}),h.displayName=c(f,o,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,c(t,o,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},C(w.prototype),c(w.prototype,i,(function(){return this})),t.AsyncIterator=w,t.async=function(e,a,r,s,n){void 0===n&&(n=Promise);var i=new w(l(e,a,r,s),n);return t.isGeneratorFunction(a)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},C(b),c(b,o,"Generator"),c(b,n,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),a=[];for(var r in e)a.push(r);return a.reverse(),function t(){for(;a.length;){var r=a.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,k.prototype={constructor:k,reset:function(t){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(O),!t)for(var e in this)"t"===e.charAt(0)&&a.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(a,r){return i.type="throw",i.arg=t,e.next=a,r&&(e.method="next",e.arg=void 0),!!r}for(var s=this.tryEntries.length-1;s>=0;--s){var n=this.tryEntries[s],i=n.completion;if("root"===n.tryLoc)return r("end");if(n.tryLoc<=this.prev){var o=a.call(n,"catchLoc"),c=a.call(n,"finallyLoc");if(o&&c){if(this.prev<n.catchLoc)return r(n.catchLoc,!0);if(this.prev<n.finallyLoc)return r(n.finallyLoc)}else if(o){if(this.prev<n.catchLoc)return r(n.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return r(n.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var s=this.tryEntries[r];if(s.tryLoc<=this.prev&&a.call(s,"finallyLoc")&&this.prev<s.finallyLoc){var n=s;break}}n&&("break"===t||"continue"===t)&&n.tryLoc<=e&&e<=n.finallyLoc&&(n=null);var i=n?n.completion:{};return i.type=t,i.arg=e,n?(this.method="next",this.next=n.finallyLoc,d):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var a=this.tryEntries[e];if(a.finallyLoc===t)return this.complete(a.completion,a.afterLoc),O(a),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var a=this.tryEntries[e];if(a.tryLoc===t){var r=a.completion;if("throw"===r.type){var s=r.arg;O(a)}return s}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,a){return this.delegate={iterator:L(t),resultName:e,nextLoc:a},"next"===this.method&&(this.arg=void 0),d}},t}function _(t,e,a,r,s,n,i){try{var o=t[n](i),c=o.value}catch(t){return void a(t)}o.done?e(c):Promise.resolve(c).then(r,s)}function y(t){return function(){var e=this,a=arguments;return new Promise((function(r,s){var n=t.apply(e,a);function i(t){_(n,r,s,i,o,"next",t)}function o(t){_(n,r,s,i,o,"throw",t)}i(void 0)}))}}Object(i.a)([d.a,o.a,l.a,c.a,v.a,h.a,f.a]);var g,b,C,w={middleware:"auth",metaInfo:function(){return{title:this.$t("dashboard.page_title")}},components:{VChart:u.b},provide:(g={},b=u.a,C="vintage",(b=function(t){var e=function(t,e){if("object"!==m(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var r=a.call(t,e||"default");if("object"!==m(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===m(e)?e:String(e)}(b))in g?Object.defineProperty(g,b,{value:C,enumerable:!0,configurable:!0,writable:!0}):g[b]=C,g),data:function(){return{breadcrumbsCurrent:"dashboard.breadcrumbs_current",breadcrumbs:[{name:"dashboard.breadcrumbs_active",url:""}],form:new r.a({summeryType:"Today"}),year:(new Date).getFullYear(),className:"col-lg-4",allData:"",topClients:"",dashboardSummery:"",loading:!1,pieChartOptions:{responsive:!0,tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:{orient:"vertical",left:"left",data:[]},series:[{name:"Top Selling Products",type:"pie",radius:"55%",center:["50%","60%"],data:[],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},lineChartOptions:{responsive:!0,tooltip:{trigger:"axis"},legend:{data:["Payment Sent","Payment Received"]},xAxis:{type:"category",boundaryGap:!1,data:[]},yAxis:{type:"value"},series:[{name:"Payment Sent",type:"line",smooth:!0,data:[]},{name:"Payment Received",type:"line",smooth:!0,data:[]}],color:["#dc3545","#28a745"]},barChartOptions:{responsive:!0,tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{data:["Purchases","Sales"]},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",data:[]},yAxis:{type:"value",boundaryGap:[0,.01]},series:[{name:"Purchases",type:"bar",data:[]},{name:"Sales",type:"bar",data:[]}],color:["#007bff","#28a745"]},isDemoMode:window.config.isDemoMode}},created:function(){this.loading=!0,this.$can("account-summery")&&this.getSummery(),this.$can("top-selling-products")&&this.getTopSellingProducts(),this.$can("payment-sent-vs-payment-received")&&this.getMonthlySentAndReceived(),this.$can("sales-vs-purchases")&&this.getMonthlySalesAndPurchases(),this.loading=!1},methods:{getSummery:function(t){var e=this;return y(p().mark((function a(){var r,s,i;return p().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r="Today",t&&(r=t.target.value),a.next=4,n.a.get(window.location.origin+"/api/dashboard-summery/"+r);case 4:s=a.sent,i=s.data,e.dashboardSummery=i;case 7:case"end":return a.stop()}}),a)})))()},getTopSellingProducts:function(){var t=this;return y(p().mark((function e(){var a,r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.a.get(window.location.origin+"/api/dashboard/top-selling-products");case 2:a=e.sent,r=a.data,t.pieChartOptions.legend.data=r.names,t.pieChartOptions.series[0].data=r.products;case 6:case"end":return e.stop()}}),e)})))()},getMonthlySentAndReceived:function(){var t=this;return y(p().mark((function e(){var a,r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.a.get(window.location.origin+"/api/dashboard/monthly-payment-sent-received");case 2:a=e.sent,r=a.data,t.lineChartOptions.xAxis.data=r.months,t.lineChartOptions.series[0].data=r.sent,t.lineChartOptions.series[1].data=r.received;case 7:case"end":return e.stop()}}),e)})))()},getMonthlySalesAndPurchases:function(){var t=this;return y(p().mark((function e(){var a,r;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.a.get(window.location.origin+"/api/dashboard/monthly-sales-purchases");case 2:a=e.sent,r=a.data,t.barChartOptions.xAxis.data=r.months,t.barChartOptions.series[0].data=r.purchase,t.barChartOptions.series[1].data=r.sales;case 7:case"end":return e.stop()}}),e)})))()}}},x=(a(691),a(1)),$=Object(x.a)(w,(function(){var t=this,e=t._self._c;return e("div",[e("breadcrumbs",{attrs:{items:t.breadcrumbs,current:t.breadcrumbsCurrent}}),t._v(" "),e("div",{staticClass:"container-fluid"},[t.isDemoMode?e("div",{staticClass:"alert alert-danger"},[t._m(0),e("br"),t._v(" "),t._m(1),e("br"),t._v(" "),t._m(2)]):t._e(),t._v(" "),t.$can("account-summery")&&t.dashboardSummery?e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-12"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-header"},[e("h3",{staticClass:"card-title mt-2"},[e("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M11 3.055A9.001 9.001 0 1020.945 13H11V3.055z"}}),t._v(" "),e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M20.488 9H15V3.512A9.025 9.025 0 0120.488 9z"}})]),t._v("\n "+t._s(t.form.summeryType)+" "+t._s(t.$t("dashboard.summary"))+"\n ")]),t._v(" "),e("div",{staticClass:"card-tools"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.form.summeryType,expression:"form.summeryType"}],staticClass:"form-control",attrs:{id:"summeryType",name:"summeryType"},on:{change:[function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.form,"summeryType",e.target.multiple?a:a[0])},function(e){return t.getSummery(e)}]}},[e("option",{attrs:{value:"Today",selected:""}},[t._v("\n "+t._s(t.$t("dashboard.summary_option_1"))+"\n ")]),t._v(" "),e("option",{attrs:{value:"Last 7 Days"}},[t._v("\n "+t._s(t.$t("dashboard.summary_option_2"))+"\n ")]),t._v(" "),e("option",{attrs:{value:"This Month"}},[t._v("\n "+t._s(t.$t("dashboard.summary_option_3"))+"\n ")]),t._v(" "),e("option",{attrs:{value:"This Year"}},[t._v("\n "+t._s(t.$t("dashboard.summary_option_4"))+"\n ")])])])]),t._v(" "),e("div",{staticClass:"card-body"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-lg-3 col-6"},[e("div",{staticClass:"small-box bg-primary"},[e("div",{staticClass:"inner"},[e("h3",[t._v("\n "+t._s(t._f("withCurrency")(t.dashboardSummery.purchaseAmount))+"\n ")]),t._v(" "),e("p",[t._v(t._s(t.$t("dashboard.summery_items.purchase")))])]),t._v(" "),t._m(3),t._v(" "),e("router-link",{staticClass:"small-box-footer",attrs:{to:{name:"purchases.index"}}},[t._v("\n "+t._s(t.$t("common.more_info"))+"\n "),e("i",{staticClass:"fas fa-arrow-circle-right"})])],1)]),t._v(" "),e("div",{staticClass:"col-lg-3 col-6"},[e("div",{staticClass:"small-box bg-info"},[e("div",{staticClass:"inner"},[e("h3",[t._v("\n "+t._s(t._f("withCurrency")(t.dashboardSummery.purchaseReturnAmount))+"\n ")]),t._v(" "),e("p",[t._v(t._s(t.$t("dashboard.summery_items.purchase_return")))])]),t._v(" "),t._m(4),t._v(" "),e("router-link",{staticClass:"small-box-footer",attrs:{to:{name:"purchaseReturns.index"}}},[t._v("\n "+t._s(t.$t("common.more_info"))+"\n "),e("i",{staticClass:"fas fa-arrow-circle-right"})])],1)]),t._v(" "),e("div",{staticClass:"col-lg-3 col-6"},[e("div",{staticClass:"small-box bg-success"},[e("div",{staticClass:"inner"},[e("h3",[t._v(t._s(t._f("withCurrency")(t.dashboardSummery.salesAmount)))]),t._v(" "),e("p",[t._v(t._s(t.$t("dashboard.summery_items.sales")))])]),t._v(" "),t._m(5),t._v(" "),e("router-link",{staticClass:"small-box-footer",attrs:{to:{name:"invoices.index"}}},[t._v("\n "+t._s(t.$t("common.more_info"))+"\n "),e("i",{staticClass:"fas fa-arrow-circle-right"})])],1)]),t._v(" "),e("div",{staticClass:"col-lg-3 col-6"},[e("div",{staticClass:"small-box bg-gray"},[e("div",{staticClass:"inner"},[e("h3",[t._v("\n "+t._s(t._f("withCurrency")(t.dashboardSummery.salesReturnAmount))+"\n ")]),t._v(" "),e("p",[t._v(t._s(t.$t("dashboard.summery_items.sales_return")))])]),t._v(" "),t._m(6),t._v(" "),e("router-link",{staticClass:"small-box-footer",attrs:{to:{name:"invoiceReturns.index"}}},[t._v("\n "+t._s(t.$t("common.more_info"))+"\n "),e("i",{staticClass:"fas fa-arrow-circle-right"})])],1)]),t._v(" "),e("div",{staticClass:"col-lg-3 col-6"},[e("div",{staticClass:"small-box bg-olive"},[e("div",{staticClass:"inner"},[e("h3",[t._v("\n "+t._s(t._f("withCurrency")(t.dashboardSummery.paymentReceived))+"\n ")]),t._v(" "),e("p",[t._v("\n "+t._s(t.$t("dashboard.summery_items.payment_recevied"))+"\n ")])]),t._v(" "),t._m(7),t._v(" "),e("router-link",{staticClass:"small-box-footer",attrs:{to:{name:"invoicePayments.index"}}},[t._v("\n "+t._s(t.$t("common.more_info"))+"\n "),e("i",{staticClass:"fas fa-arrow-circle-right"})])],1)]),t._v(" "),e("div",{staticClass:"col-lg-3 col-6"},[e("div",{staticClass:"small-box bg-indigo"},[e("div",{staticClass:"inner"},[e("h3",[t._v(t._s(t._f("withCurrency")(t.dashboardSummery.paymentSent)))]),t._v(" "),e("p",[t._v(t._s(t.$t("dashboard.summery_items.payment_sent")))])]),t._v(" "),t._m(8),t._v(" "),e("router-link",{staticClass:"small-box-footer",attrs:{to:{name:"purchasePayments.index"}}},[t._v("\n "+t._s(t.$t("common.more_info"))+"\n "),e("i",{staticClass:"fas fa-arrow-circle-right"})])],1)]),t._v(" "),e("div",{staticClass:"col-lg-3 col-6"},[e("div",{staticClass:"small-box bg-danger"},[e("div",{staticClass:"inner"},[e("h3",[t._v("\n "+t._s(t._f("withCurrency")(t.dashboardSummery.expenseAmount))+"\n ")]),t._v(" "),e("p",[t._v(t._s(t.$t("dashboard.summery_items.expense")))])]),t._v(" "),t._m(9),t._v(" "),e("router-link",{staticClass:"small-box-footer",attrs:{to:{name:"expenses.index"}}},[t._v("\n "+t._s(t.$t("common.more_info"))+"\n "),e("i",{staticClass:"fas fa-arrow-circle-right"})])],1)]),t._v(" "),e("div",{staticClass:"col-lg-3 col-6"},[e("div",{staticClass:"small-box bg-navy"},[e("div",{staticClass:"inner"},[e("h3",[t._v("\n "+t._s(t._f("withCurrency")(t.dashboardSummery.balanceTransfer))+"\n ")]),t._v(" "),e("p",[t._v("\n "+t._s(t.$t("dashboard.summery_items.balance_transfers"))+"\n ")])]),t._v(" "),t._m(10),t._v(" "),e("router-link",{staticClass:"small-box-footer",attrs:{to:{name:"transferBalances.index"}}},[t._v("\n "+t._s(t.$t("common.more_info"))+"\n "),e("i",{staticClass:"fas fa-arrow-circle-right"})])],1)])])])])])]):t._e(),t._v(" "),t.$can("top-selling-products")||t.$can("recent-activities")?e("div",{staticClass:"row"},[t.$can("top-selling-products")&&t.pieChartOptions.legend.data&&t.pieChartOptions.legend.data.length>0?e("div",{staticClass:"col-md-12 col-lg-4"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-header"},[e("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("dashboard.pie_chart_title"))+" ("+t._s(t.year)+")\n ")])]),t._v(" "),e("div",{staticClass:"card-body"},[[e("v-chart",{staticClass:"chart",attrs:{option:t.pieChartOptions}})]],2)])]):t._e(),t._v(" "),t.$can("recent-activities")?e("div",{staticClass:"col-md-12",class:t.$can("top-selling-products")&&t.pieChartOptions.legend.data&&t.pieChartOptions.legend.data.length>0?"col-lg-8":"col-lg-12"},[e("RecentActivities")],1):t._e()]):t._e(),t._v(" "),t.$can("payment-sent-vs-payment-received")||t.$can("top-clients")?e("div",{staticClass:"row"},[t.$can("payment-sent-vs-payment-received")&&t.lineChartOptions.series[0].data&&t.lineChartOptions.series[0].data.length>0?e("div",{staticClass:"col-md-12 col-lg-8"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-header"},[e("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("dashboard.line_chart_title"))+" ("+t._s(t.year)+")\n "),e("a",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("dashboard.line_chart_tooltip"),expression:"$t('dashboard.line_chart_tooltip')"}],staticClass:"badge badge-info ml-2",attrs:{href:"#"}},[e("i",{staticClass:"fas fa-info"})])])]),t._v(" "),e("div",{staticClass:"card-body"},[[e("v-chart",{staticClass:"chart",attrs:{option:t.lineChartOptions}})]],2)])]):t._e(),t._v(" "),t.$can("top-clients")?e("div",{staticClass:"col-md-12",class:t.$can("payment-sent-vs-payment-received")?"col-lg-4":"col-lg-12"},[e("TopClients")],1):t._e()]):t._e(),t._v(" "),t.$can("stock-alert")||t.$can("sales-vs-purchases")?e("div",{staticClass:"row"},[t.$can("sales-vs-purchases")&&t.barChartOptions.series[0].data&&t.barChartOptions.series[0].data.length>0?e("div",{staticClass:"col-md-12 col-lg-6"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-header"},[e("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("dashboard.bar_chart_title"))+" ("+t._s(t.year)+")\n "),e("a",{directives:[{name:"tooltip",rawName:"v-tooltip",value:t.$t("dashboard.bar_chart_tooltip"),expression:"$t('dashboard.bar_chart_tooltip')"}],staticClass:"badge badge-info ml-2",attrs:{href:"#"}},[e("i",{staticClass:"fas fa-info"})])])]),t._v(" "),e("div",{staticClass:"card-body"},[[e("v-chart",{staticClass:"chart",attrs:{option:t.barChartOptions}})]],2)])]):t._e(),t._v(" "),t.$can("stock-alert")?e("div",{staticClass:"col-md-12 col-lg-6"},[e("StockAlert")],1):t._e()]):t._e()])],1)}),[function(){var t=this._self._c;return t("strong",{staticClass:"text-capitalize"},[t("i",{staticClass:"icon fas fa-ban"}),this._v(" Delete buttons are hidden in demo\n version.")])},function(){var t=this._self._c;return t("strong",{staticClass:"text-capitalize"},[t("i",{staticClass:"icon fas fa-ban"}),this._v(" Demo database will be cleared every\n two hours.")])},function(){var t=this._self._c;return t("strong",{staticClass:"text-capitalize"},[t("i",{staticClass:"icon fas fa-ban"}),this._v(" Email & SMS notifications are\n disabled in demo version.")])},function(){var t=this._self._c;return t("div",{staticClass:"icon"},[t("i",{staticClass:"fas fa-truck-loading"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon"},[t("i",{staticClass:"fas fa-forward"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon"},[t("i",{staticClass:"fas fa-shopping-bag"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon"},[t("i",{staticClass:"fas fa-backward"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon"},[t("i",{staticClass:"fas fa-sign-in-alt"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon"},[t("i",{staticClass:"fas fa-sign-out-alt"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon"},[t("i",{staticClass:"fas fa-calculator"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon"},[t("i",{staticClass:"fas fa-exchange-alt"})])}],!1,null,"eb3433fe",null);e.default=$.exports},573:function(t,e,a){var r=a(692);"string"==typeof r&&(r=[[t.i,r,""]]);var s={hmr:!0,transform:void 0,insertInto:void 0};a(32)(r,s);r.locals&&(t.exports=r.locals)},691:function(t,e,a){"use strict";a(573)},692:function(t,e,a){(t.exports=a(31)(!1)).push([t.i,".chart[data-v-eb3433fe]{height:400px}",""])}}]);