mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 01:06:46 +00:00
Various fixes. Sorry, lazy day.
This commit is contained in:
@@ -205,12 +205,12 @@ class ReconcileController extends Controller
|
||||
$inverse = true;
|
||||
}
|
||||
|
||||
// reconciliation into account? then positive amount:
|
||||
if (TransactionType::RECONCILIATION === $journal['transaction_type_type']) {
|
||||
// opening balance into account? then positive amount:
|
||||
if (TransactionType::OPENING_BALANCE === $journal['transaction_type_type']
|
||||
&& $account->id === $journal['destination_account_id']) {
|
||||
$inverse = true;
|
||||
}
|
||||
|
||||
|
||||
if (true === $inverse) {
|
||||
$journal['amount'] = app('steam')->positive($journal['amount']);
|
||||
if (null !== $journal['foreign_amount']) {
|
||||
|
Reference in New Issue
Block a user