application/modules/hr/models/Emp_model.php
/*fungsi untk mendapatkan nik terakhir di table doc_rn*/
fungsi untk mendapatkan nik terakhir di table doc_rn
fungsi untk mendapatkan nik terakhir di table doc_rn
public function last_rn()
    {
        $this->db->select('rn');
        $this->db->where('parameter','nik');
        $query = $this->db->get('doc_rn');
        return $query->result();
    }
public function last_rn ( ) { $ this -> db -> select ( 'rn' ) ; $ this -> db -> where ( 'parameter' , 'nik' ) ; $ query = $ this -> db -> get ( 'doc_rn' ) ; return $ query -> result ( ) ; }
fungsi untk mendapatkan nik terakhir di table doc_rn
fungsi untk mendapatkan nik terakhir di table doc_rn