mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-25 21:16:47 +00:00
Fix detection of transaction type.
This commit is contained in:
@@ -183,7 +183,7 @@ let transactions = function () {
|
||||
if ('Expense account' === sourceType && ['Asset account', 'Debt', 'Loan', 'Mortgage'].includes(destType)) {
|
||||
this.groupProperties.transactionType = 'deposit';
|
||||
console.warn('FORCE transaction type to be "' + this.groupProperties.transactionType + '".');
|
||||
this.entries[0].source_account.id = null;
|
||||
this.entries[0].source_account.id = '';
|
||||
return;
|
||||
}
|
||||
if (['Debt', 'Loan', 'Mortgage'].includes(sourceType) && 'Asset account' === destType) {
|
||||
|
||||
Reference in New Issue
Block a user