fixes : ps
This commit is contained in:
parent
00f3b3563b
commit
2c5a6a0812
@ -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 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){
|
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 ))
|
else if(isset($records['pd_status']) && ($records['pd_status'] == ALLOCATED_TO_FIA ))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user