mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Better endpoint to move transactions.
This commit is contained in:
14
config/bulk.php
Normal file
14
config/bulk.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
use FireflyIII\Enums\ClauseType;
|
||||
|
||||
return [
|
||||
ClauseType::TRANSACTION => [
|
||||
ClauseType::WHERE => [
|
||||
'source_account_id' => 'required|numeric|belongsToUser:accounts,id',
|
||||
],
|
||||
ClauseType::UPDATE => [
|
||||
'destination_account_id' => 'required|numeric|belongsToUser:accounts,id',
|
||||
],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user