Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
punkestu committed Oct 27, 2024
1 parent b008cba commit f3fe103
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Http/Controllers/PersonelController.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ public function importAllWithCsv(Request $request)
$dataPersonel['jabatan'] = "";
$dataPersonel['masa_kerja'] = $dataPersonel['masa_kerja_jabatan_th'];
$dataPersonel['level_jabatan'] = $dataPersonel['nama_level_jabatan'];
$dataPersonel['cabang_id'] = $cabangs[$dataPersonel['lokasi_kedudukan']];
$dataPersonel['lokasi'] = $cabangs[$dataPersonel['lokasi']];
$dataPersonel['lokasi_induk'] = $cabangs[$dataPersonel['lokasi_induk']];
$dataPersonel['cabang_id'] = $cabangs["KANTOR " . $dataPersonel['lokasi_kedudukan']];
$dataPersonel['lokasi'] = $cabangs["KANTOR " . $dataPersonel['lokasi']];
$dataPersonel['lokasi_induk'] = $cabangs["KANTOR " . $dataPersonel['lokasi_induk']];
$dataPersonel['posisi'] = $dataPersonel['jabatan'];
$dataPersonel['pensiun'] = $dataPersonel['sts_karyawan'] === 'Pensiun';
$dataPersonel['kontak'] = $dataPersonel['kontak'] ?? "-";
Expand Down

0 comments on commit f3fe103

Please sign in to comment.