getAdditionalRequirements api newly added : ps
This commit is contained in:
parent
526a0fb494
commit
bebdce554d
@ -243,6 +243,8 @@ $route['loadCreditPDTemplate'] = 'PD_Controller/loadCreditPDTemplate';
|
|||||||
$route['saveRoomInfo'] = 'PD_Controller/saveRoomInfo';
|
$route['saveRoomInfo'] = 'PD_Controller/saveRoomInfo';
|
||||||
$route['updateTwlioVideoStatus'] = 'PD_Controller/updateTwlioVideoStatus';
|
$route['updateTwlioVideoStatus'] = 'PD_Controller/updateTwlioVideoStatus';
|
||||||
$route['checkAfterResponse'] = 'PD_Controller/checkAfterResponse';
|
$route['checkAfterResponse'] = 'PD_Controller/checkAfterResponse';
|
||||||
|
$route['getAdditionalRequirements'] = 'PD_Controller/getAdditionalRequirements';
|
||||||
|
|
||||||
// $route['getPDFormDetailsJSON'] = 'PD_Controller/getPDFormDetailsJSON';
|
// $route['getPDFormDetailsJSON'] = 'PD_Controller/getPDFormDetailsJSON';
|
||||||
|
|
||||||
$route['smartyTestFunction'] = 'PD_Controller/smartyTestFunction';
|
$route['smartyTestFunction'] = 'PD_Controller/smartyTestFunction';
|
||||||
|
|||||||
@ -11365,6 +11365,24 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
|
|||||||
$this->response($data,REST_Controller::HTTP_OK);
|
$this->response($data,REST_Controller::HTTP_OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getAdditionalRequirements_get(){
|
||||||
|
$pdid = $this->get('pdid');
|
||||||
|
$pd_additional_requirements = $this->PD_Model->getPDAdditionalRequirements($pdid);
|
||||||
|
if(!empty($pd_additional_requirements))
|
||||||
|
{
|
||||||
|
$data['dataStatus'] = true;
|
||||||
|
$data['status'] = REST_Controller::HTTP_OK;
|
||||||
|
$data['records'] = $pd_additional_requirements;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$data['dataStatus'] = false;
|
||||||
|
$data['status'] = REST_Controller::HTTP_NOT_FOUND;
|
||||||
|
$data['msg'] = 'Something Went Wrong! Try Later';
|
||||||
|
}
|
||||||
|
$this->response($data,REST_Controller::HTTP_OK);
|
||||||
|
}
|
||||||
|
|
||||||
function saveSMCTempAddress($pd_id,$addresses)
|
function saveSMCTempAddress($pd_id,$addresses)
|
||||||
{
|
{
|
||||||
$records = array('file_id' => $pd_id,'addressline' => $addresses[0]['addressline1'],'city' => $addresses[0]['fk_city'],'state' => $addresses[0]['fk_state'],'pincode' => $addresses[0]['pincode']);
|
$records = array('file_id' => $pd_id,'addressline' => $addresses[0]['addressline1'],'city' => $addresses[0]['fk_city'],'state' => $addresses[0]['fk_state'],'pincode' => $addresses[0]['pincode']);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user