fannie/modules/plugins2.0/CoreWarehouse/cwDash.js
Function cwDash
has 87 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var cwDash = (function ($) {
var mod = {};
mod.salesChart = function(json) {
Function customersChart
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
mod.customersChart = function(json) {
var ctx = document.getElementById('customerCount').getContext('2d');
var line = new Chart(ctx, {
type: 'bar',
data: {