private function render_list($url, $action) { $input_users = get_input_users(); $netnames = $this->sale_model->fetch_all_netnames($input_users); $ship_codes = $this->shipping_code_model->fetch_all_shipping_codes('shipping'); $data = array('netnames' => $netnames, 'action' => $action, 'ship_codes' => $ship_codes); $this->template->write_view('content', $url, $data); $this->template->render(); }
private function render_list($url, $action) { $input_users = get_input_users(); $makeup_skus = $this->product_makeup_sku_model->fetch_all_makeup_skus($input_users); $data = array('makeup_skus' => $makeup_skus, 'action' => $action); $this->template->write_view('content', $url, $data); $this->template->render(); }