Cleanup transaction journal edit. #215

This commit is contained in:
James Cole
2016-03-20 17:12:34 +01:00
parent cc26ce4143
commit 201790ff8d
9 changed files with 116 additions and 59 deletions

View File

@@ -198,7 +198,7 @@ class BudgetController extends Controller
}
$noBudgetExpenses = $repository->getWithoutBudgetSum($accounts, $start, $end);
$allEntries->push([trans('firefly.noBudget'), '0', '0', $noBudgetExpenses, '0', '0']);
$allEntries->push([trans('firefly.no_budget'), '0', '0', $noBudgetExpenses, '0', '0']);
$data = $this->generator->frontpage($allEntries);
$cache->store($data);
@@ -258,7 +258,7 @@ class BudgetController extends Controller
// basic information:
$year = $currentStart->year;
$entry['name'] = $budget->name ?? (string)trans('firefly.noBudget');
$entry['name'] = $budget->name ?? (string)trans('firefly.no_budget');
$spent = 0;
// this might be a good moment to collect no budget stuff.
if (is_null($budget->id)) {