fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
@@ -6,15 +6,19 @@ use Illuminate\Foundation\Http\FormRequest;
class InstallmentPlanRequest extends FormRequest
{
public function authorize(): bool { return true; }
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'plan_name' => ['nullable','string','max:120'],
'total_amount' => ['nullable','numeric','min:0'],
'number_of_installments' => ['required','integer','min:1','max:24'],
'first_due_date' => ['required','date'],
'interval_months' => ['nullable','integer','min:1','max:12'],
'plan_name' => ['nullable', 'string', 'max:120'],
'total_amount' => ['nullable', 'numeric', 'min:0'],
'number_of_installments' => ['required', 'integer', 'min:1', 'max:24'],
'first_due_date' => ['required', 'date'],
'interval_months' => ['nullable', 'integer', 'min:1', 'max:12'],
];
}
}