24 lines
537 B
PHP
24 lines
537 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\Reimbursements;
|
|
|
|
use App\Http\Requests\ApiFormRequest;
|
|
|
|
class ReimbursementIndexRequest extends ApiFormRequest
|
|
{
|
|
public function authorize(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'school_year' => ['nullable', 'string', 'max:20'],
|
|
'semester' => ['nullable', 'string', 'max:20'],
|
|
'status' => ['nullable', 'string', 'max:50'],
|
|
'user_id' => ['nullable', 'integer', 'min:1'],
|
|
];
|
|
}
|
|
}
|