mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-02 02:18:20 +00:00
Small code format thing.
This commit is contained in:
@@ -37,14 +37,14 @@ class SelectTransactionsRequest extends Request
|
|||||||
{
|
{
|
||||||
$sessionFirst = clone session('first');
|
$sessionFirst = clone session('first');
|
||||||
|
|
||||||
$first = $sessionFirst->subDay()->format('Y-m-d');
|
$first = $sessionFirst->subDay()->format('Y-m-d');
|
||||||
$today = Carbon::create()->addDay()->format('Y-m-d');
|
$today = Carbon::create()->addDay()->format('Y-m-d');
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'start_date' => 'required|date|after:' . $first,
|
'start_date' => 'required|date|after:' . $first,
|
||||||
'end_date' => 'required|date|before:' . $today,
|
'end_date' => 'required|date|before:' . $today,
|
||||||
'accounts' => 'required',
|
'accounts' => 'required',
|
||||||
'accounts.*' => 'required|exists:accounts,id|belongsToUser:accounts',
|
'accounts.*' => 'required|exists:accounts,id|belongsToUser:accounts',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user