Files
alrahma_sunday_school_api/app/Http/Requests/Finance/FollowUpNoteRequest.php
T
2026-06-09 01:03:53 -04:00

25 lines
822 B
PHP

<?php
namespace App\Http\Requests\Finance;
use Illuminate\Foundation\Http\FormRequest;
class FollowUpNoteRequest extends FormRequest
{
public function authorize(): bool { return true; }
public function rules(): array
{
return [
'invoice_id' => ['nullable','integer'],
'school_year' => ['nullable','string','max:20'],
'status' => ['nullable','string','max:60'],
'contact_method' => ['nullable','string','max:60'],
'promise_to_pay_date' => ['nullable','date'],
'promise_to_pay_amount' => ['nullable','numeric','min:0'],
'next_follow_up_date' => ['nullable','date'],
'escalation_level' => ['nullable','integer','min:0','max:10'],
'note' => ['nullable','string','max:10000'],
];
}
}