Cancel and reject status for vendor :ps
This commit is contained in:
parent
852ca6a46c
commit
93ef5ca7fe
@ -1062,6 +1062,15 @@ class PD_Controller extends REST_Controller
|
||||
}
|
||||
}
|
||||
|
||||
# status cancelled means pd_agency_id set to null if smc vendor officer and manager role only
|
||||
if (isset($pd_details['pd_status']) && ($pd_details['pd_status'] == "CANCELLED") && ($role == 28 || $role == 29)) {
|
||||
$pd_details['pd_agency_id'] = null;
|
||||
}
|
||||
|
||||
# status rejected/bounced means fk_pd_allocated_to set to null if smc vendor officer and manager role only
|
||||
if (isset($pd_details['pd_status']) && ($pd_details['pd_status'] == "BOUNCED") && ($role == 28 || $role == 29)) {
|
||||
$pd_details['fk_pd_allocated_to'] = null;
|
||||
}
|
||||
|
||||
|
||||
$where_condition_array = array('pd_id' => $pd_details['pd_id'], 'random_string' => $pd_details['random_string']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user