mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-26 08:51:12 -06:00
Fix #2832
This commit is contained in:
parent
414c4a742d
commit
07623335f7
@ -89,7 +89,7 @@ class RuleFormRequest extends Request
|
||||
'triggers.*.type' => 'required|in:' . implode(',', $validTriggers),
|
||||
'triggers.*.value' => sprintf('required_if:triggers.*.type,%s|min:1|ruleTriggerValue', $contextTriggers),
|
||||
'actions.*.type' => 'required|in:' . implode(',', $validActions),
|
||||
'actions.*.value' => sprintf('required_if:actions.*.type,%s|min:1|ruleActionValue', $contextActions),
|
||||
'actions.*.value' => sprintf('required_if:actions.*.type,%s|min:0|max:255|ruleActionValue', $contextActions),
|
||||
'strict' => 'in:0,1',
|
||||
];
|
||||
|
||||
|
@ -480,8 +480,8 @@ return [
|
||||
'append_notes',
|
||||
'prepend_notes',
|
||||
'link_to_bill',
|
||||
'convert_withdrawal',
|
||||
'convert_deposit',
|
||||
//'convert_withdrawal',
|
||||
//'convert_deposit',
|
||||
'convert_transfer',
|
||||
],
|
||||
'context-rule-triggers' => [
|
||||
|
Loading…
Reference in New Issue
Block a user