You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
information-system/webht/third_party/vendorPlanSync/controllers/index.php

29 lines
725 B
PHTML

<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Index extends CI_Controller {
7 years ago
public function __construct(){
parent::__construct();
mb_regex_encoding("UTF-8");
bcscale(4);
$this->load->helper('array');
$this->load->model('Orders_model');
}
public function index()
{
7 years ago
}
public function push($COLI_ID)
{
$orderinfo = $this->Orders_model->get_orderinfo_detail($COLI_ID);
if(empty($orderinfo)) {return;}
return $this->output->set_content_type('application/json')->set_output(json_encode($orderinfo));
}
}
/* End of file index.php */
/* Location: ./third_party/vendorPlanSync/controllers/index.php */