mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Better error handling
This commit is contained in:
@@ -746,6 +746,10 @@ export default {
|
|||||||
case 'budget_id':
|
case 'budget_id':
|
||||||
case 'bill_id':
|
case 'bill_id':
|
||||||
case 'description':
|
case 'description':
|
||||||
|
case 'type':
|
||||||
|
this.transactions[transactionIndex].errors.source_account = [this.$t('firefly.select_source_account')];
|
||||||
|
this.transactions[transactionIndex].errors.destination_account = [this.$t('firefly.select_dest_account')];
|
||||||
|
break;
|
||||||
case 'tags':
|
case 'tags':
|
||||||
this.transactions[transactionIndex].errors[fieldName] = errors.errors[key];
|
this.transactions[transactionIndex].errors[fieldName] = errors.errors[key];
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -1541,6 +1541,8 @@ return [
|
|||||||
'submission_options' => 'Submission options',
|
'submission_options' => 'Submission options',
|
||||||
'apply_rules_checkbox' => 'Apply rules',
|
'apply_rules_checkbox' => 'Apply rules',
|
||||||
'fire_webhooks_checkbox' => 'Fire webhooks',
|
'fire_webhooks_checkbox' => 'Fire webhooks',
|
||||||
|
'select_source_account' => 'Please select or type a valid source account name',
|
||||||
|
'select_dest_account' => 'Please select or type a valid destination account name',
|
||||||
|
|
||||||
// convert stuff:
|
// convert stuff:
|
||||||
'convert_is_already_type_Withdrawal' => 'This transaction is already a withdrawal',
|
'convert_is_already_type_Withdrawal' => 'This transaction is already a withdrawal',
|
||||||
|
|||||||
Reference in New Issue
Block a user