Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/facapi44/API_Hacienda/www/Facturador/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/facapi44/API_Hacienda/www/Facturador/assets/js/charts_retail.js
!function(o){function r(t){if(e[t])return e[t].exports;var a=e[t]={i:t,l:!1,exports:{}};return o[t].call(a.exports,a,a.exports,r),a.l=!0,a.exports}var e={};r.m=o,r.c=e,r.d=function(o,e,t){r.o(o,e)||Object.defineProperty(o,e,{configurable:!1,enumerable:!0,get:t})},r.n=function(o){var e=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(e,"a",e),e},r.o=function(o,r){return Object.prototype.hasOwnProperty.call(o,r)},r.p="",r(r.s=16)}({16:function(o,r,e){o.exports=e(17)},17:function(o,r){function e(o,r){return Math.floor(Math.random()*(r-o+1))+o}new Chart($("#retail-revenue-chart")[0].getContext("2d"),{type:"line",data:{labels:["01","02","03","04","05","06","07","08","09","10","11","12","13"],datasets:[{label:"Revenue",data:[14850,10920,11e3,8950,5e3,6100,8e3,4e3,15e3,26800,12100,13e3,24050],borderWidth:2,borderColor:colors.color_primary,backgroundColor:colors.color_bg,pointBackgroundColor:colors.color_primary}]},options:{maintainAspectRatio:!1,legend:{display:!1,labels:{display:!1}},tooltips:{mode:"index",callbacks:{footer:function(o,r){var e=0;return o.forEach(function(o){e+=r.datasets[o.datasetIndex].data[o.index]}),"Sum: "+e}},footerFontStyle:"normal"},scales:{yAxes:[{stacked:!0,gridLines:{color:colors.border_color,zeroLineColor:colors.border_color},ticks:{callback:function(o,r,e){return parseInt(o)>=1e3?"$"+o.toString().replace(/\B(?=(\d{3})+(?!\d))/g,","):"$"+o}}}],xAxes:[{gridLines:{display:!1},border:{display:!0,color:colors.border_color},ticks:{beginAtZero:!0}}]}}}),new Chart($("#retail-sales-chart")[0].getContext("2d"),{type:"line",data:{labels:["01","02","03","04","05","06","07","08","09","10","11","12","13"],datasets:[{label:"Sales",data:[2e3,1e3,2e3,4e3,5e3,6e3,8e3,4e3,5e3,6e3,2e3,3e3,4e3],borderWidth:2,borderColor:colors.color_primary,backgroundColor:colors.color_bg,pointBackgroundColor:colors.color_primary}]},options:{maintainAspectRatio:!1,legend:{display:!1,labels:{display:!1}},tooltips:{mode:"index",callbacks:{footer:function(o,r){var e=0;return o.forEach(function(o){e+=r.datasets[o.datasetIndex].data[o.index]}),"Sum: "+e}},footerFontStyle:"normal"},scales:{yAxes:[{stacked:!0,gridLines:{color:colors.border_color,zeroLineColor:colors.border_color},ticks:{callback:function(o,r,e){return parseInt(o)>=1e3?"$"+o.toString().replace(/\B(?=(\d{3})+(?!\d))/g,","):"$"+o}}}],xAxes:[{gridLines:{display:!1},border:{display:!0,color:colors.border_color},ticks:{beginAtZero:!0}}]}}}),$(".retail-views-mini-chart").each(function(o,r){for(var t=r.getContext("2d"),a=[],l=6;l>=0;l--)a.push(e(150,200));new Chart(t,{type:"line",data:{labels:["01","02","03","04","05","06"],datasets:[{label:"Sales",data:a,borderWidth:2,borderColor:colors.color_primary,backgroundColor:colors.color_bg,pointBackgroundColor:colors.color_primary}]},options:{elements:{point:{radius:0}},maintainAspectRatio:!1,legend:{display:!1,labels:{display:!1}},tooltips:{enabled:!1},scales:{yAxes:[{gridLines:{display:!1,zeroLineColor:colors.border_color,drawBorder:!1},ticks:{display:!1}}],xAxes:[{gridLines:{display:!1,drawBorder:!1},ticks:{display:!1}}]}}})})}});

Hry