public function get_emp_bu() { $id = $this->input->post('id'); if ($id == '0') { echo '-'; } else { $id = get_nik($id); echo get_user_bu($id); } }
?> </span></td> </tr> <tr> <td height="45"><span class="style3">Nama Karyawan</span></td> <td height="45"><div align="center">:</div></td> <td height="45"><span class="style3"><?php echo get_name($row->user_id); ?> </span></td> </tr> <tr> <td height="45"><span class="style3">Unit Bisnis </span></td> <td height="45"><div align="center">:</div></td> <td height="45"><span class="style3"><?php echo get_user_bu($user_nik); ?> </span></td> </tr> <tr> <td height="45"><span class="style3">Dept/Bagian </span></td> <td height="45"><div align="center">:</div></td> <td height="45"><span class="style3"><?php echo get_user_organization($user_nik); ?> </span></td> </tr> <tr> <td height="45"><span class="style3">Jabatan</span></td> <td height="45"><div align="center">:</div></td> <td height="45"><span class="style3"><?php
<label class="form-label text-right">NIK</label> </div> <div class="col-md-9"> <input name="nik" id="nik" type="text" class="form-control " placeholder="NIK" value="<?php echo $sess_nik; ?> " disabled="disabled"> </div> </div> <div class="row form-row"> <div class="col-md-3"> <label class="form-label text-right">Unit Bisnis</label> </div> <div class="col-md-9"> <input name="bu" id="bu" class="form-control " placeholder="Unit Bisnis" value="<?php echo get_user_bu($sess_nik); ?> " disabled="disabled"> </div> </div> <div class="row form-row"> <div class="col-md-3"> <label class="form-label text-right">Dept/Bagian</label> </div> <div class="col-md-9"> <input name="org2" id="organization" class="form-control " placeholder="Dept/Bagian" value="<?php echo get_user_organization($sess_nik); ?> " disabled="disabled"> </div> </div>