HOME


sh-3ll 1.0
DIR:/home/medisavehealth/public_html/application/models/pages/
Upload File :
Current File : /home/medisavehealth/public_html/application/models/pages/UnitModel.php
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class UnitModel extends CI_Model{

	public function getUnitJsonData() {
		$this->db->select("*");
		$this->db->where('status','Active');
		$this->db->order_by('uom_id ','DESC');
		$query = $this->db->get('uom');
		echo json_encode($query->result_array());
	}
}