public function action_index() { parent::action_index(); $this->template->styles = $styles = array('media/css/jquery.dataTables.css' => 'screen'); $this->template->scripts = $scripts = array('media/js/jquery.dataTables.min.js'); $brand_view = new View('private/brand'); $brand = new Model_Brand(); $brand = $brand->where('status', '=', $this->GENERAL_STATUS['ACTIVE'])->find_all(); $brand_view->brand_list = $brand; $this->template->content = $brand_view; }
public function action_index() { parent::action_index(); $this->template->styles = $styles = array('media/css/jquery.dataTables.css' => 'screen'); $this->template->scripts = $scripts = array('media/js/jquery.dataTables.min.js', 'media/js/zinventory.arrayMap.js'); $user_view = new View('private/user'); $user_list = new Model_User(); $user_list = $user_list->where('status', '=', $this->GENERAL_STATUS['ACTIVE'])->find_all(); $user_view->user_list = $user_list; $this->template->content = $user_view; }
public function action_index() { parent::action_index(); $this->template->styles = $styles = array('media/css/jquery.dataTables.css' => 'screen'); $this->template->scripts = $scripts = array('media/js/jquery.dataTables.min.js'); $menu_view = new View('private/menu'); $menu = new Model_Menu(); $menu = $menu->where('status', '=', 1)->where('idSuperMenu', '=', null)->find_all(); $menu_view->menu_list = $menu; $this->template->content = $menu_view; }
public function action_index() { parent::action_index(); $this->template->styles = $styles = array('media/css/jquery.dataTables.css' => 'screen'); $this->template->scripts = $scripts = array('media/js/jquery.dataTables.min.js', 'media/js/zinventory.arrayMap.js'); $warehouse_view = new View('private/warehouse'); $warehouse = new Model_Warehouse(); $warehouse = $warehouse->where('status', '=', 1)->find_all(); $warehouse_view->warehouse_list = $warehouse; $this->template->content = $warehouse_view; }
public function action_index() { parent::action_index(); $this->template->styles = $styles = array('media/css/jquery.dataTables.css' => 'screen'); $this->template->scripts = $scripts = array('media/js/jquery.dataTables.min.js', 'media/js/zinventory.arrayMap.js'); $office_location_view = new View('private/office_location'); $office_location = new Model_Officelocation(); $office_location = $office_location->where('status', '=', 1)->find_all(); $office_location_view->office_location_list = $office_location; $this->template->content = $office_location_view; }
public function action_index() { parent::action_index(); $this->template->styles = $styles = array('media/css/jquery.dataTables.css' => 'screen'); $this->template->scripts = $scripts = array('media/js/jquery.dataTables.min.js'); $custom_privilege_view = new View('private/privilege'); $custom_privilege = ORM::factory("Customprivilege")->where('status', '=', $this->GENERAL_STATUS['ACTIVE'])->find_all(); $custom_privilege_view->groups = $custom_privilege; $custom_privilege_view->privilegeRows = $this->createMenuArray(NULL, false, $custom_privilege); $this->template->content = $custom_privilege_view; }
function __construct(Request $request) { parent::__construct($request); }