Exemplo n.º 1
0
 public function commodity_search()
 {
     $data['title'] = "Commodity List";
     $data['content_view'] = "new_order_v2";
     $data['banner_text'] = "Commodity List";
     $data['link'] = "order_management";
     $data['drug_categories'] = Drug_Category::getAll();
     $data['quick_link'] = "commodity_list";
     $this->load->view("template", $data);
 }
Exemplo n.º 2
0
 public function drug_issue()
 {
     $data['title'] = "New Drug Issue";
     $data['content_view'] = "new_issue_v";
     $data['banner_text'] = "New Drug Issue";
     $data['link'] = "order_management";
     $data['drug_categories'] = Drug_Category::getAll();
     $data['quick_link'] = "drug_issue";
     $this->load->view("template", $data);
 }
Exemplo n.º 3
0
 public function historical_stock_take()
 {
     $facility_code = $this->session->userdata('news');
     $data['title'] = "Provide Historical Stock Data";
     $data['content_view'] = "facility/historical_stock_v";
     $data['banner_text'] = "Provide Historical Stock Data";
     $data['quick_link'] = "load_stock";
     $data['link'] = "home";
     $data['drugs'] = Drug::getAll();
     $data['drug_name'] = Drug::get_drug_name();
     $data['drug_categories'] = Drug_Category::getAll();
     $data['historical_data'] = Historical_Stock::load_historical_stock($facility_code);
     $data['quick_link'] = "update_stock_level";
     $this->load->view("template", $data);
 }