Routes and views for transactions without a budget / category [skip ci]

This commit is contained in:
James Cole
2015-01-02 18:48:06 +01:00
parent da0c0742bf
commit ae16a2b14f
10 changed files with 144 additions and 7 deletions

View File

@@ -155,7 +155,7 @@ class GoogleChartController extends BaseController
}
}
$noBudgetSet = $bdt->transactionsWithoutBudgetInDateRange($this->_start, $this->_end);
$noBudgetSet = $bdt->expenseNoBudget($this->_start, $this->_end);
$sum = $noBudgetSet->sum('amount') * -1;
$this->_chart->addRow('No budget', 0, $sum);
$this->_chart->generate();