function __construct() { parent::__construct('reports'); $this->load->helper('report'); $this->has_profit_permission = $this->Employee->has_module_action_permission('reports', 'show_profit', $this->Employee->get_logged_in_employee_info()->person_id); $this->has_cost_price_permission = $this->Employee->has_module_action_permission('reports', 'show_cost_price', $this->Employee->get_logged_in_employee_info()->person_id); }
function __construct() { parent::__construct(); $this->load->library('sale_lib'); $this->load->model('Item'); $this->load->model('Cash'); }
public function __construct() { parent::__construct('sales'); $this->load->library('sale_lib'); $this->sale_lib->nameS = $this->sale_lib->get_mode() . '_'; $this->load->helper('report'); }
function __construct() { parent::__construct('sales'); $this->load->library('sale_lib'); $this->load->library('barcode_lib'); $this->Sale->create_sales_items_temp_table(); }
public function __construct() { parent::__construct(); $this->load->model('Respuesta_model'); if (!$this->usuario_model->has_permission($this->session->userdata('perfil'), 4)) { redirect('no_access/' . $module_id); } }
public function __construct() { parent::__construct(); if ($key = $this->Appconfig->get('mc_api_key')) { $this->load->library('MailChimp', array($key), 'MailChimp'); } else { show_error($this->lang->line('common_mailchimp_dashboard_rejected')); } }
public function __construct() { parent::__construct(); $this->load->model('ensayo_model'); $this->load->model('alumno_model'); $this->load->model('prueba_model'); $this->load->model('hojarespuesta_model'); $this->load->model('asignacionprueba_model'); $this->load->helper('date'); if (!$this->usuario_model->has_permission($this->session->userdata('perfil'), 1)) { redirect('no_access/' . $module_id); } }
public function __construct() { parent::__construct(); $this->load->model('Prueba_model'); $this->load->model('alumno_model'); $this->load->model('colegio_model'); $this->load->model('profesor_model'); $this->load->model('registros_model'); $this->load->model('Asignacionprueba_model'); $this->load->model('comunas_model'); $this->load->model('usuario_model'); if (!$this->usuario_model->has_permission($this->session->userdata('perfil'), 2)) { redirect('no_access/' . $module_id); } }
function __construct() { parent::__construct('reports'); $method_name = $this->uri->segment(2); $exploder = explode('_', $method_name); preg_match("/(?:inventory)|([^_.]*)(?:_graph|_row)?\$/", $method_name, $matches); preg_match("/^(.*?)([sy])?\$/", array_pop($matches), $matches); $submodule_id = $matches[1] . (count($matches) > 2 ? $matches[2] : "s"); $employee_id = $this->Employee->get_logged_in_employee_info()->person_id; // check access to report submodule if (sizeof($exploder) > 1 && !$this->Employee->has_grant('reports_' . $submodule_id, $employee_id)) { redirect('no_access/reports/reports_' . $submodule_id); } $this->load->helper('report'); }
public function __construct() { parent::__construct(); $this->load->model('prueba_model'); $this->load->model('profesor_model'); $this->load->model('alumno_model'); $this->load->model('hojarespuesta_model'); $this->load->model('asignacionprueba_model'); $this->load->model('respuesta_model'); $this->load->model('ensayo_model'); $this->load->model('colegio_model'); $this->load->model('nivel_model'); $this->load->model('estadistica_model'); if (!$this->usuario_model->has_permission($this->session->userdata('perfil'), 3)) { redirect('no_access/' . $module_id); } }
public function __construct() { parent::__construct('config'); }
function __construct() { parent::__construct('item_kits'); }
public function __construct() { parent::__construct(); }
function __construct() { parent::__construct('locations'); }
function __construct() { parent::__construct('giftcards'); }
function __construct($module_id = null) { parent::__construct($module_id); }
public function __construct() { parent::__construct('items'); }
function __construct() { parent::__construct('reports'); $this->load->helper('report'); }
public function __construct() { parent::__construct('share_inventories'); $this->load->library('receiving_lib'); }
function __construct() { parent::__construct('config'); $this->load->library('barcode_lib'); }
function __construct() { parent::__construct(); $this->load->model(array('m_home', 'm_member')); }
function __construct() { parent::__construct('sales'); $this->load->library('sale_lib'); }
function __construct() { parent::__construct('receivings'); $this->load->library('receiving_lib'); $this->load->library('barcode_lib'); }
public function __construct() { parent::__construct(); $this->load->model('asignacionprueba_model'); $this->load->model('estadistica_model'); }
public function __construct() { parent::__construct('stock_control'); }
public function __construct() { parent::__construct('orders'); $this->load->library('order_lib'); $this->load->model('Order'); }
function __construct() { parent::__construct('reports'); $this->load->helper('report'); $this->load->library('Report_Service', array(), 'Service'); }
public function __construct() { parent::__construct('invetories_compare'); }
function __construct() { parent::__construct('items'); $this->load->library('item_lib'); }
function __construct() { parent::__construct(); $this->data['pagetitle'] = 'Dashboard'; $this->data['description'] = $this->lang->line('common_welcome_message'); }