diff --git a/dashboard.php b/dashboard.php index dc0f1f7a..2520b6ef 100644 --- a/dashboard.php +++ b/dashboard.php @@ -487,17 +487,18 @@ var myLineChart = new Chart(ctx, { pointBorderWidth: 2, data: [ 0 AND $invoice_for_month > $largest_invoice_month){ $largest_invoice_month = $invoice_for_month; } - ?> @@ -522,11 +523,13 @@ var myLineChart = new Chart(ctx, { pointBorderWidth: 2, data: [ 0 AND expenses.company_id = $session_company_id"); $row = mysqli_fetch_array($sql_expenses); $expenses_for_month = $row['expense_amount_for_month']; - $largest_expense_month = 0; if($expenses_for_month > 0 AND $expenses_for_month > $largest_expense_month){ $largest_expense_month = $expenses_for_month;