Fix Responsive View Issue and Some Bugs

This commit is contained in:
2021-09-16 22:54:20 +07:00
parent 2a453c851c
commit 8da0a69176
24 changed files with 200 additions and 201 deletions

View File

@@ -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"];