fixes : ps

This commit is contained in:
sanjeev 2021-11-29 16:43:36 +05:30
parent 00f3b3563b
commit 2c5a6a0812

View File

@ -1641,7 +1641,7 @@ public function assignPDTempalate($data)
// IF Condition - using PDID get the lender and mapped with SMC_lender_id macthed means Vendor status dynamically assigned
if($smc_lender_id == $lender_id[0]['fk_lender_id'] && isset($records['pd_agency_id']) && $records['pd_agency_id'] != null){
$records['vendor_status'] = $records['pd_status']; //Here vendor_status is dynamic (ALLOCATED,SCHEDULED,COMPLETED like that)
$records['vendor_status'] = isset($records['pd_status']) ? $records['pd_status'] : ALLOCATED ; //Here vendor_status is dynamic (ALLOCATED,SCHEDULED,COMPLETED like that)
}
else if(isset($records['pd_status']) && ($records['pd_status'] == ALLOCATED_TO_FIA ))
{