Flyhi_Controller.php edited online with Bitbucket

This commit is contained in:
gandhimathi 2022-06-15 04:41:50 +00:00
parent cbf401e483
commit 7450c29b79

View File

@ -303,15 +303,15 @@ class Flyhi_Controller extends REST_Controller {
}
}
$FLYHI_PD['applicant_name'] = int($applicant_name);
$FLYHI_PD['applicant_id'] = int($applicant_id);
$FLYHI_PD['city_id']=int($city);
$FLYHI_PD['loan_amount'] = int($loan_amount);
$FLYHI_PD['lender_sales_person'] = int($lender_sales_person) ;
$FLYHI_PD['lender_credit_person'] = int($lender_credit_person) ;
$FLYHI_PD['pd_branch_id'] = int($pd_branch_id);
$FLYHI_PD['lender_id'] = int($lender_id);
$FLYHI_PD['product_id'] = int($product_id);
$FLYHI_PD['applicant_name'] = $applicant_name;
$FLYHI_PD['applicant_id'] = $applicant_id;
$FLYHI_PD['city_id']=$city;
$FLYHI_PD['loan_amount'] = $loan_amount;
$FLYHI_PD['lender_sales_person'] = $lender_sales_person ;
$FLYHI_PD['lender_credit_person'] = $lender_credit_person ;
$FLYHI_PD['pd_branch_id'] = $pd_branch_id;
$FLYHI_PD['lender_id'] = $lender_id;
$FLYHI_PD['product_id'] = $product_id ? $product_id : (ENVIRONMENT == 'production' ? 27 : 26);
$flyhi_pd_id = $this->Flyhi_Model->updateRecords($FLYHI_PD,SALES_PD_DATA,array('sales_pd_id' => $flyhi_pd_id));
$status = $records['is_complete'];
$fields = array('sales_pd_id' => $flyhi_pd_id, 'section_id' => 1, 'status' =>$status ,'section_data' => $section_data,'createdby' => $fk_createdby);