PD ERROR RESLOVED
This commit is contained in:
parent
33ac169317
commit
7155ce7818
@ -87,7 +87,7 @@ defined('EXIT__AUTO_MAX') OR define('EXIT__AUTO_MAX', 125); // highest auto
|
|||||||
// define login route name for token verification
|
// define login route name for token verification
|
||||||
//defined('ROUTE_LOGIN') OR define('ROUTE_LOGIN', '(listLessPDDetails/:any)'); // no errors
|
//defined('ROUTE_LOGIN') OR define('ROUTE_LOGIN', '(listLessPDDetails/:any)'); // no errors
|
||||||
//defined('ROUTE_LOGIN') OR define('ROUTE_LOGIN', '(listAllTemplates/:any)'); // no errors
|
//defined('ROUTE_LOGIN') OR define('ROUTE_LOGIN', '(listAllTemplates/:any)'); // no errors
|
||||||
defined('ROUTE_LOGIN') OR define('ROUTE_LOGIN', 'getPDFormDetails'); // no errors
|
defined('ROUTE_LOGIN') OR define('ROUTE_LOGIN', 'getFullPDDetails'); // no errors
|
||||||
|
|
||||||
/*********************AWS resources Constants*************************************************/
|
/*********************AWS resources Constants*************************************************/
|
||||||
defined('PROFILE_PICTURE_BUCKET_NAME') OR define('PROFILE_PICTURE_BUCKET_NAME','sineedgedevprofilepic');
|
defined('PROFILE_PICTURE_BUCKET_NAME') OR define('PROFILE_PICTURE_BUCKET_NAME','sineedgedevprofilepic');
|
||||||
|
|||||||
@ -422,13 +422,16 @@ class PD_Controller extends REST_Controller {
|
|||||||
|
|
||||||
|
|
||||||
/****************ADDTIONAL REQUIREMENTS SECTION*******************************************/
|
/****************ADDTIONAL REQUIREMENTS SECTION*******************************************/
|
||||||
if(($pd_id != null || $pd_id != '')
|
if($pd_id != null || $pd_id != '')
|
||||||
|
{
|
||||||
|
if(count($pd_addtional_requirements))
|
||||||
{
|
{
|
||||||
foreach($pd_addtional_requirements as $pd_addtional_requirement_key => $pd_addtional_requirement)
|
foreach($pd_addtional_requirements as $pd_addtional_requirement_key => $pd_addtional_requirement)
|
||||||
{
|
{
|
||||||
$this->PD_Model->saveRecords($pd_addtional_requirement,PDADDTIONALREQUIREMENTS);
|
$this->PD_Model->saveRecords($pd_addtional_requirement,PDADDTIONALREQUIREMENTS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/****************END OF ADDTIONAL REQUIREMENTS SECTION*******************************************/
|
/****************END OF ADDTIONAL REQUIREMENTS SECTION*******************************************/
|
||||||
|
|
||||||
@ -1243,7 +1246,7 @@ class PD_Controller extends REST_Controller {
|
|||||||
$result_data['pd_question_answer'] = $this->PD_Model->getPDQuestionAnswers($pdid);
|
$result_data['pd_question_answer'] = $this->PD_Model->getPDQuestionAnswers($pdid);
|
||||||
|
|
||||||
//Get Addtional Requirements details
|
//Get Addtional Requirements details
|
||||||
$result_data['pd_question_answer'] = $this->PD_Model->getPDAddtionalRequirements($pdid);
|
$result_data['pd_addtional_requirements'] = $this->PD_Model->getPDAddtionalRequirements($pdid);
|
||||||
|
|
||||||
//Get All PD Logs
|
//Get All PD Logs
|
||||||
$result_data['pd_logs'] = $this->PD_Model->getPDLogs($pdid);
|
$result_data['pd_logs'] = $this->PD_Model->getPDLogs($pdid);
|
||||||
|
|||||||
@ -537,9 +537,11 @@ class PD_Model extends SPARQ_Model {
|
|||||||
return $result_array;
|
return $result_array;
|
||||||
}
|
}
|
||||||
|
|
||||||
public funciton getPDAddtionalRequirements($pdid)
|
public function getPDAddtionalRequirements($pdid)
|
||||||
{
|
{
|
||||||
|
$this->db->SELECT('add_req_id, add_requirement, isactive, fk_pd_id');
|
||||||
|
$this->db->FROM(PDADDTIONALREQUIREMENTS);
|
||||||
|
return $this->db->GET()->result_array();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getTemplateForPD($pdid,$client)
|
public function getTemplateForPD($pdid,$client)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user