feat: update student import and graduation workflows
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user