コード例 #1
0
ファイル: reports.php プロジェクト: ekchanthorn/demo_loan
 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);
 }
コード例 #2
0
ファイル: cashier.php プロジェクト: jericmillena/pos_cafe
 function __construct()
 {
     parent::__construct();
     $this->load->library('sale_lib');
     $this->load->model('Item');
     $this->load->model('Cash');
 }
コード例 #3
0
ファイル: sales.php プロジェクト: gocanto/gocanto-pos
 public function __construct()
 {
     parent::__construct('sales');
     $this->load->library('sale_lib');
     $this->sale_lib->nameS = $this->sale_lib->get_mode() . '_';
     $this->load->helper('report');
 }
コード例 #4
0
ファイル: sales.php プロジェクト: salikur/opensourcepos
 function __construct()
 {
     parent::__construct('sales');
     $this->load->library('sale_lib');
     $this->load->library('barcode_lib');
     $this->Sale->create_sales_items_temp_table();
 }
コード例 #5
0
ファイル: Respuesta.php プロジェクト: aeduc/mideteed
 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);
     }
 }
コード例 #6
0
 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'));
     }
 }
コード例 #7
0
ファイル: Alumno.php プロジェクト: aeduc/mideteed
 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);
     }
 }
コード例 #8
0
ファイル: Administrator.php プロジェクト: aeduc/mideteed
 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);
     }
 }
コード例 #9
0
ファイル: reports.php プロジェクト: zerubbabel/pos
 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');
 }
コード例 #10
0
ファイル: Profesor.php プロジェクト: aeduc/mideteed
 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);
     }
 }
コード例 #11
0
ファイル: config.php プロジェクト: gocanto/gocanto-pos
 public function __construct()
 {
     parent::__construct('config');
 }
コード例 #12
0
ファイル: item_kits.php プロジェクト: jericmillena/pos_cafe
 function __construct()
 {
     parent::__construct('item_kits');
 }
コード例 #13
0
ファイル: home.php プロジェクト: gocanto/gocanto-pos
 public function __construct()
 {
     parent::__construct();
 }
コード例 #14
0
ファイル: locations.php プロジェクト: ekchanthorn/demo_loan
 function __construct()
 {
     parent::__construct('locations');
 }
コード例 #15
0
 function __construct()
 {
     parent::__construct('giftcards');
 }
コード例 #16
0
 function __construct($module_id = null)
 {
     parent::__construct($module_id);
 }
コード例 #17
0
ファイル: items.php プロジェクト: gocanto/gocanto-pos
 public function __construct()
 {
     parent::__construct('items');
 }
コード例 #18
0
 function __construct()
 {
     parent::__construct('reports');
     $this->load->helper('report');
 }
コード例 #19
0
 public function __construct()
 {
     parent::__construct('share_inventories');
     $this->load->library('receiving_lib');
 }
コード例 #20
0
ファイル: config.php プロジェクト: zerubbabel/pos
 function __construct()
 {
     parent::__construct('config');
     $this->load->library('barcode_lib');
 }
コード例 #21
0
ファイル: Member.php プロジェクト: inuryuutarou/forex
 function __construct()
 {
     parent::__construct();
     $this->load->model(array('m_home', 'm_member'));
 }
コード例 #22
0
ファイル: sales.php プロジェクト: ekchanthorn/demo_loan
 function __construct()
 {
     parent::__construct('sales');
     $this->load->library('sale_lib');
 }
コード例 #23
0
 function __construct()
 {
     parent::__construct('receivings');
     $this->load->library('receiving_lib');
     $this->load->library('barcode_lib');
 }
コード例 #24
0
ファイル: Testing.php プロジェクト: aeduc/mideteed
 public function __construct()
 {
     parent::__construct();
     $this->load->model('asignacionprueba_model');
     $this->load->model('estadistica_model');
 }
コード例 #25
0
ファイル: stock_control.php プロジェクト: gocanto/gocanto-pos
 public function __construct()
 {
     parent::__construct('stock_control');
 }
コード例 #26
0
ファイル: orders.php プロジェクト: gocanto/gocanto-pos
 public function __construct()
 {
     parent::__construct('orders');
     $this->load->library('order_lib');
     $this->load->model('Order');
 }
コード例 #27
0
ファイル: reports.php プロジェクト: relwell/PHP-Point-Of-Sale
 function __construct()
 {
     parent::__construct('reports');
     $this->load->helper('report');
     $this->load->library('Report_Service', array(), 'Service');
 }
コード例 #28
0
 public function __construct()
 {
     parent::__construct('invetories_compare');
 }
コード例 #29
0
ファイル: items.php プロジェクト: Exactpk/opensourcepos
 function __construct()
 {
     parent::__construct('items');
     $this->load->library('item_lib');
 }
コード例 #30
0
 function __construct()
 {
     parent::__construct();
     $this->data['pagetitle'] = 'Dashboard';
     $this->data['description'] = $this->lang->line('common_welcome_message');
 }