mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Better error handling
This commit is contained in:
parent
cd713dc40f
commit
7103098fe7
@ -746,6 +746,10 @@ export default {
|
||||
case 'budget_id':
|
||||
case 'bill_id':
|
||||
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':
|
||||
this.transactions[transactionIndex].errors[fieldName] = errors.errors[key];
|
||||
break;
|
||||
|
@ -1541,6 +1541,8 @@ return [
|
||||
'submission_options' => 'Submission options',
|
||||
'apply_rules_checkbox' => 'Apply rules',
|
||||
'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_is_already_type_Withdrawal' => 'This transaction is already a withdrawal',
|
||||
|
Loading…
Reference in New Issue
Block a user