Deposit works as well.

This commit is contained in:
James Cole
2017-04-14 14:48:44 +02:00
parent c33dd1ecee
commit bd917f6484
4 changed files with 18 additions and 1 deletions

View File

@@ -187,7 +187,7 @@ class TransactionController extends Controller
if ($journal->hasMeta('original_currency_id')) {
/** @var CurrencyRepositoryInterface $repository */
$repository = app(CurrencyRepositoryInterface::class);
$originalCurrency = $repository->find(intval($journal->hasMeta('original_currency_id')));
$originalCurrency = $repository->find(intval($journal->getMeta('original_currency_id')));
}
return view('transactions.show', compact('journal', 'events', 'subTitle', 'what', 'transactions', 'originalCurrency'));