diff --git a/api/application/controllers/Data_Dump_Controller.php b/api/application/controllers/Data_Dump_Controller.php index 69af62f6..84bf5f3a 100644 --- a/api/application/controllers/Data_Dump_Controller.php +++ b/api/application/controllers/Data_Dump_Controller.php @@ -439,7 +439,7 @@ class Data_Dump_Controller extends REST_Controller { } } - ## Credit Manager’s Specific Queries + ## Credit Manager’s Specific Queries if($pd_id != ""){ if($addi_requirements != "" || $addi_requirements != null) { @@ -914,6 +914,7 @@ class Data_Dump_Controller extends REST_Controller { } } + $updt_on_tgr['pd_status'] = ARCHIVED ; $updt_tgr_where = array('pd_id' => $pdid,'pd_status' => QC_COMPLETED); $trg_result = $this->PD_Model->updateRecords($updt_on_tgr,PDTRIGGER,$updt_tgr_where); if($trg_result){ log_message('ERROR',"Trigger table updated pdid => ".$pdid." Updated successfully ");}