mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-26 02:40:43 -06:00
16 lines
370 B
PHP
16 lines
370 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
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',
|
|
],
|
|
],
|
|
];
|