add more controller
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?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'],
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user