Forgot about the date for account lists, #595 [skip ci]

This commit is contained in:
James Cole 2017-02-25 13:22:06 +01:00
parent 2e637031ac
commit 79b0c20adb
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -258,7 +258,8 @@ class AccountController extends Controller
if (strlen($moment) > 0 && $moment !== 'all') {
$start = new Carbon($moment);
$end = Navigation::endOfPeriod($start, $range);
$subTitle = $account->name . ' (' . strval(trans('firefly.from_to_breadcrumb', ['start' => 'x', 'end' => 'x'])) . ')';
$subTitle = $account->name . ' (' . strval(trans('firefly.from_to_breadcrumb',
['start' => $start->formatLocalized($this->monthAndDayFormat), 'end' => $end->formatLocalized($this->monthAndDayFormat)])) . ')';
$chartUri = route('chart.account.period', [$account->id, $start->format('Y-m-d')]);
$periods = $this->periodEntries($account);
}