Update besar apk finance
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
class Employees extends CI_Controller {
|
||||
class Employees extends MY_Controller {
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
// Data karyawan memuat rekening, BPJS, pajak, dan gaji sehingga
|
||||
// sementara dibatasi ke Admin sampai role HR khusus dikonfigurasi.
|
||||
$this->requireAdmin();
|
||||
|
||||
$this->load->database();
|
||||
$this->load->helper(['url', 'file']);
|
||||
|
||||
@@ -473,4 +477,4 @@ class Employees extends CI_Controller {
|
||||
->set_content_type('application/json')
|
||||
->set_output(json_encode($data));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user