Update ExpenseSummary.php
This commit is contained in:
parent
d1fd63e308
commit
9f81918e4c
@ -51,9 +51,10 @@ class ExpenseSummary extends Controller
|
||||
// Dates
|
||||
for ($j = 1; $j <= 12; $j++) {
|
||||
$ym_string = is_array($year) ? $financial_start->addMonth()->format('Y-m') : $year . '-' . $j;
|
||||
|
||||
$dates[$j] = Date::parse($ym_string)->format('F');
|
||||
|
||||
$expenses_graph[Date::parse($year . '-' . $j)->format('F-Y')] = 0;
|
||||
$expenses_graph[Date::parse($ym_string)->format('F-Y')] = 0;
|
||||
|
||||
// Totals
|
||||
$totals[$dates[$j]] = array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user