feat: update student import and graduation workflows

This commit is contained in:
2026-04-30 00:04:52 +07:00
parent 189b076ab0
commit ac22f8b7c8
51 changed files with 4547 additions and 1287 deletions
@@ -125,6 +125,7 @@ class PublicStudentSelfServiceController extends Controller
'date_of_birth' => ['nullable', 'date'],
'religion' => ['nullable', 'string', 'max:50'],
'nationality' => ['nullable', 'string', 'max:50'],
'nik' => ['nullable', 'string', 'max:30', Rule::unique('students', 'nik')->ignore($student->id)],
'family_card_number' => ['nullable', 'string', 'max:30'],
'child_order' => ['nullable', 'integer', 'min:1', 'max:50'],
'number_of_siblings' => ['nullable', 'integer', 'min:0', 'max:50'],
@@ -171,6 +172,7 @@ class PublicStudentSelfServiceController extends Controller
'date_of_birth' => $data['date_of_birth'] ?? null,
'religion' => $data['religion'] ?? null,
'nationality' => $data['nationality'] ?? 'Indonesia',
'nik' => $data['nik'] ?? null,
'family_card_number' => $data['family_card_number'] ?? null,
'child_order' => $data['child_order'] ?? null,
'number_of_siblings' => $data['number_of_siblings'] ?? null,