public function get_emp_sen_date() { $id = $this->input->post('id'); if ($id == '0') { echo '-'; } else { $id = get_nik($id); echo dateIndo(get_user_sen_date($id)); } }
<input name="no" 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"><?php echo lang('start_working'); ?> </label> </div> <div class="col-md-9"> <input name="seniority_date" id="seniority_date" type="text" class="form-control" placeholder="Lama Bekerja" value="<?php echo dateIndo(get_user_sen_date($sess_nik)); ?> " disabled="disabled"> </div> </div> <div class="row form-row"> <div class="col-md-3"> <label class="form-label text-right"><?php echo lang('dept_div'); ?> </label> </div> <div class="col-md-9"> <input name="organization" id="organization" type="text" class="form-control" placeholder="Organization" value="<?php echo get_user_organization($sess_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 echo get_user_position($user_nik); ?> </span></td> </tr> <tr> <td height="45"><span class="style3">Tanggal Mulai Bekerja</span></td> <td height="45"><div align="center">:</div></td> <td height="45"><span class="style3"><?php echo dateIndo(get_user_sen_date($user_nik)); ?> </span></td> </tr> <tr> <td height="45"><span class="style3">Tanggal Keluar Kerja</span></td> <td height="45"><div align="center">:</div></td> <td height="45"><span class="style3"><?php echo dateIndo($row->date_resign); ?> </span></td> </tr> </table> <br/> <table width="1000" align="center"> <tbody>