Attachments for accounts are visible #2828

This commit is contained in:
James Cole
2020-03-19 18:20:23 +01:00
parent cdf055065f
commit 2a46756838
6 changed files with 69 additions and 49 deletions

View File

@@ -103,6 +103,7 @@ class ShowController extends Controller
[$start, $end] = [$end, $start]; // @codeCoverageIgnore
}
$location = $this->repository->getLocation($account);
$attachments = $this->repository->getAttachments($account);
$objectType = config(sprintf('firefly.shortNamesByFullName.%s', $account->accountType->type));
$today = new Carbon;
$subTitleIcon = config(sprintf('firefly.subIconsByIdentifier.%s', $account->accountType->type));
@@ -139,6 +140,7 @@ class ShowController extends Controller
'periods',
'subTitleIcon',
'groups',
'attachments',
'subTitle',
'start',
'end',