Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

Commit

Permalink
Update perbaikan menu Ref GTK
Browse files Browse the repository at this point in the history
  • Loading branch information
eraporsmk committed Apr 5, 2023
1 parent d9e3185 commit f57e3e7
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions app/Console/Commands/SinkronDapodik.php
Original file line number Diff line number Diff line change
Expand Up @@ -707,13 +707,6 @@ private function simpan_guru($data, $user, $semester){
$data->email = strtolower($data->email);
$data->nuptk = ($data->nuptk) ? $data->nuptk : mt_rand();
$jenis_ptk_id = 0;
$jabatan_ptk_id = NULL;
if(isset($data->jenis_ptk_id)){
$jenis_ptk_id = $data->jenis_ptk_id;
}
if(isset($data->jabatan_ptk_id)){
$jabatan_ptk_id = $data->jabatan_ptk_id;
}
$create_guru = Guru::withTrashed()->updateOrCreate(
[
'guru_id' => $data->ptk_id
Expand All @@ -729,8 +722,8 @@ private function simpan_guru($data, $user, $semester){
'tempat_lahir' => $data->tempat_lahir,
'tanggal_lahir' => $data->tanggal_lahir,
'status_kepegawaian_id' => $data->status_kepegawaian_id,
'jenis_ptk_id' => $jenis_ptk_id,
'jabatan_ptk_id' => $jabatan_ptk_id,
'jenis_ptk_id' => $data->ptk_terdaftar->jenis_ptk_id,
'jabatan_ptk_id' => ($data->tugas_tambahan) ? $data->tugas_tambahan->jabatan_ptk_id : NULL,
'agama_id' => $data->agama_id,
'alamat' => $data->alamat_jalan,
'rt' => $data->rt,
Expand Down

0 comments on commit f57e3e7

Please sign in to comment.