18 lines
393 B
PHP
18 lines
393 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\Finance;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class CarryforwardAdjustmentRequest extends FormRequest
|
|
{
|
|
public function authorize(): bool { return true; }
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'amount' => ['required','numeric','min:0'],
|
|
'reason' => ['nullable','string','max:255'],
|
|
];
|
|
}
|
|
}
|