GET STATE AND CITY MASTER CHANGED2

This commit is contained in:
velz 2019-01-21 11:49:12 +05:30
parent 3fee98c8fc
commit 745bb21405

View File

@ -205,7 +205,7 @@ class PD_Controller extends REST_Controller {
public function getListOfStatesAndCities_post() public function getListOfStatesAndCities_post()
{ {
$records = $this->post('records'); $records = $this->post('records');
$stateid = $records['']; $stateid = $records['state_id'];
// $fields = array('state_id','name as state_name','code'); // $fields = array('state_id','name as state_name','code');
// $where_condition_array = array('isactive' => 1); // $where_condition_array = array('isactive' => 1);
// $result_data = $this->PD_Model->selectCustomRecords($fields,$where_condition_array,STATE); // $result_data = $this->PD_Model->selectCustomRecords($fields,$where_condition_array,STATE);