Fix Responsive View Issue and Some Bugs
This commit is contained in:
@@ -16,6 +16,12 @@ class AbsensiModel extends CI_Model
|
||||
return $absensi = $this->db->get($this->_table)->row();
|
||||
}
|
||||
|
||||
public function getCountAbsensiByAbsenIdAndUmkmId($id_umkm,$id_absen){
|
||||
$this->db->where('id_absen', $id_absen);
|
||||
$this->db->where('id_umkm', $id_umkm);
|
||||
return $absensi = count($this->db->get($this->_table)->result());
|
||||
}
|
||||
|
||||
public function update($id_absensi){
|
||||
$post = $this->input->post();
|
||||
$this->aset = $post["aset"];
|
||||
|
||||
Reference in New Issue
Block a user