Show attachments for bills #2828

This commit is contained in:
James Cole
2020-03-19 18:23:34 +01:00
parent 2a46756838
commit 9b53576fc2
4 changed files with 7 additions and 30 deletions

View File

@@ -169,6 +169,7 @@ class ShowController extends Controller
$location = $this->repository->getLocation($account);
$isLiability = $this->repository->isLiability($account);
$attachments = $this->repository->getAttachments($account);
$objectType = config(sprintf('firefly.shortNamesByFullName.%s', $account->accountType->type));
$end = new Carbon;
$today = new Carbon;
@@ -196,6 +197,7 @@ class ShowController extends Controller
'location',
'objectType',
'isLiability',
'attachments',
'currency',
'today',
'chartUri',