Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
538 B
1
Indexable
Never
function peminjaman_wh(){
        cek_session_akses('peminjaman_wh', $this->session->id_session);
        $this->session->unset_userdata('idp', 'kd');
        
        // Menggunakan operator OR untuk "Approve" atau "Submit"
        $data['record'] = $this->model_app->view_where_ordering('mst_peminjaman', "status_pinjam = 'Approve' OR status_pinjam = 'Submit'", 'id_peminjaman', 'DESC');
        
        $this->template->load('administrator/template', 'administrator/additional/mod_peminjaman/view_peminjaman_wh', $data);
    }