mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Remove some debug.
This commit is contained in:
parent
b726e7d106
commit
be41049e72
2
public/v1/js/create_transaction.js
vendored
2
public/v1/js/create_transaction.js
vendored
File diff suppressed because one or more lines are too long
2
public/v1/js/edit_transaction.js
vendored
2
public/v1/js/edit_transaction.js
vendored
File diff suppressed because one or more lines are too long
@ -116,7 +116,7 @@
|
||||
this.triggerTransactionType();
|
||||
},
|
||||
accountName() {
|
||||
console.log('AccountSelect watch accountName!');
|
||||
// console.log('AccountSelect watch accountName!');
|
||||
this.name = this.accountName;
|
||||
},
|
||||
accountTypeFilters() {
|
||||
|
@ -265,7 +265,7 @@
|
||||
};
|
||||
let value = arr[searchType] ?? searchType;
|
||||
|
||||
console.log('FULL account type: ' + value);
|
||||
// console.log('FULL account type: ' + value);
|
||||
return value;
|
||||
},
|
||||
convertData: function () {
|
||||
@ -288,7 +288,7 @@
|
||||
// the presence of a source or destination account
|
||||
firstSource = this.transactions[0].source_account.type;
|
||||
firstDestination = this.transactions[0].destination_account.type;
|
||||
console.log('Type of first source is ' + firstSource);
|
||||
// console.log('Type of first source is ' + firstSource);
|
||||
|
||||
if ('invalid' === transactionType && ['asset', 'Asset account', 'Loan', 'Debt', 'Mortgage'].includes(firstSource)) {
|
||||
transactionType = 'withdrawal';
|
||||
@ -831,8 +831,8 @@
|
||||
// force types on destination selector.
|
||||
this.transactions[index].destination_account.allowed_types = window.allowedOpposingTypes.source[model.type];
|
||||
}
|
||||
console.log('Transactions:');
|
||||
console.log(this.transactions);
|
||||
//console.log('Transactions:');
|
||||
//console.log(this.transactions);
|
||||
},
|
||||
selectedDestinationAccount: function (index, model) {
|
||||
// console.log('Now in selectedDestinationAccount()');
|
||||
|
@ -117,7 +117,7 @@
|
||||
);
|
||||
},
|
||||
changeData: function () {
|
||||
//console.log('ForeignAmountSelect changeData');
|
||||
// console.log('ForeignAmountSelect changeData');
|
||||
this.enabledCurrencies = [];
|
||||
let destType = this.destination.type ? this.destination.type.toLowerCase() : 'invalid';
|
||||
let srcType = this.source.type ? this.source.type.toLowerCase() : 'invalid';
|
||||
@ -184,6 +184,14 @@
|
||||
enabled: true
|
||||
}
|
||||
];
|
||||
|
||||
this.enabledCurrencies = [
|
||||
{
|
||||
name: this.no_currency,
|
||||
id: 0,
|
||||
enabled: true
|
||||
}
|
||||
];
|
||||
for (const key in res.data) {
|
||||
if (res.data.hasOwnProperty(key) && /^0$|^[1-9]\d*$/.test(key) && key <= 4294967294) {
|
||||
if (res.data[key].enabled) {
|
||||
@ -192,6 +200,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
// console.log(this.enabledCurrencies);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user