mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-29 12:14:34 -06:00
This prevented FF from displaying cash account properly.
This commit is contained in:
parent
b3b8981b4b
commit
978e3e615c
@ -204,7 +204,7 @@ class Transaction extends Twig_Extension
|
||||
|
||||
$name = $transaction->opposing_account_name;
|
||||
$id = intval($transaction->opposing_account_id);
|
||||
$type = intval($transaction->opposing_account_type);
|
||||
$type = $transaction->opposing_account_type;
|
||||
}
|
||||
|
||||
// Find the opposing account and use that one:
|
||||
@ -278,7 +278,7 @@ class Transaction extends Twig_Extension
|
||||
|
||||
$name = $transaction->opposing_account_name;
|
||||
$id = intval($transaction->opposing_account_id);
|
||||
$type = intval($transaction->opposing_account_type);
|
||||
$type = $transaction->opposing_account_type;
|
||||
}
|
||||
// Find the opposing account and use that one:
|
||||
if (bccomp($transaction->transaction_amount, '0') === 1 && is_null($transaction->opposing_account_id)) {
|
||||
|
Loading…
Reference in New Issue
Block a user