Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix broken variable.
James Coleb3a52db478c1
diff --git a/resources/views/components/elements/transaction-amount.blade.php b/resources/views/components/elements/transaction-amount.blade.phpindex 35aa503504..5e57341f5f 100644--- a/resources/views/components/elements/transaction-amount.blade.php+++ b/resources/views/components/elements/transaction-amount.blade.php@@ -39,7 +39,7 @@{{-- opening balance --}}@elseif('Opening balance' === $type){{-- Is a positive opening balance, present as positive. --}}- @if('Initial balance account' === $transaction['source_account_type'])+ @if('Initial balance account' === $sourceAccount['type']){!! format_amount_by_symbol($amount['amount']*-1, $amount['currency_symbol'], $amount['currency_decimal_places']) !!}{{-- opening balance may have foreign amount (also pos) --}}@if(null !== $foreign['amount'])