add tests batch 20
This commit is contained in:
@@ -6,23 +6,19 @@ use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class FollowUpNoteRequest extends FormRequest
|
||||
{
|
||||
public function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
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'],
|
||||
'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'],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user