Files
alrahma_sunday_school_api/app/Http/Requests/Reports/SlipPrintRequest.php
T
2026-03-10 00:48:32 -04:00

29 lines
898 B
PHP

<?php
namespace App\Http\Requests\Reports;
use App\Http\Requests\ApiFormRequest;
class SlipPrintRequest extends ApiFormRequest
{
public function rules(): array
{
return [
'school_year' => ['nullable', 'string'],
'student_name' => ['required', 'string'],
'date' => ['nullable', 'string'],
'time_in' => ['nullable', 'string'],
'grade' => ['nullable', 'string'],
'reason' => ['nullable', 'string'],
'admin_name' => ['nullable', 'string'],
'paper' => ['nullable', 'string'],
'font_pt' => ['nullable', 'numeric'],
'line_h' => ['nullable', 'numeric'],
'rows' => ['nullable', 'integer'],
'height_mm' => ['nullable', 'numeric'],
'h' => ['nullable', 'numeric'],
'fudge_mm' => ['nullable', 'numeric'],
];
}
}