mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 01:06:46 +00:00
Merge pull request #6481 from janw/main
Make bulk rules clauses match bulk TransactionController params
This commit is contained in:
@@ -27,10 +27,10 @@ use FireflyIII\Enums\ClauseType;
|
||||
return [
|
||||
ClauseType::TRANSACTION => [
|
||||
ClauseType::WHERE => [
|
||||
'source_account_id' => 'required|numeric|belongsToUser:accounts,id',
|
||||
'account_id' => 'required|numeric|belongsToUser:accounts,id',
|
||||
],
|
||||
ClauseType::UPDATE => [
|
||||
'destination_account_id' => 'required|numeric|belongsToUser:accounts,id',
|
||||
'account_id' => 'required|numeric|belongsToUser:accounts,id',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
Reference in New Issue
Block a user