reconstruction of the project

This commit is contained in:
root
2026-03-08 16:33:24 -04:00
parent 23b7db1107
commit c8de5f7edc
9157 changed files with 77877 additions and 1073823 deletions
@@ -0,0 +1,27 @@
<?php
namespace App\Http\Requests\Attendance;
use Illuminate\Foundation\Http\FormRequest;
class AdminAddAttendanceEntryRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'class_section_id' => ['required', 'integer'],
'student_id' => ['required', 'integer'],
'school_id' => ['nullable', 'string'],
'status' => ['required', 'in:present,absent,late'],
'date' => ['nullable', 'date'],
'reason' => ['nullable', 'string'],
'class_id' => ['nullable', 'integer'],
'is_reported' => ['nullable', 'in:yes,no'],
];
}
}