FLYHI Report : ps

This commit is contained in:
VE10-Sanjeev 2022-06-15 14:47:46 +05:30
parent 269c0441e3
commit aa39a90845
2 changed files with 43 additions and 25 deletions

View File

@ -349,15 +349,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;
$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);

View File

@ -188,20 +188,26 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<tr>
<td colspan="3"> Verification Type</td>
<td class = "tdcenteralign" colspan="7"> <?php echo $section1['verification_type'] ? $section1['verification_type'] : 'Not Provided'; ?> </td>
</tr>
</tbody>
</table>
<br>
<?php if(isset($section1['verification_type']) && $section1['verification_type'] == "Residence verification"){ ?>
<table class="scorecard_table">
<tr>
<th class="thlargefont" colspan="10">Residence Details</th>
</tr>
<tr>
<td colspan="3" rowspan="2" ><?php if($section1['verification_type'] == "Residence verification"){echo 'Residence Address Details'; }else{ echo 'Office Address Details'; } ?></td>
<td class = "tdcenteralign" colspan="7"><?php if($section1['verification_type'] == "Residence verification" && isset($section1['residence_address'])){ echo $section1['residence_address']; }else if($section1['verification_type'] == "Office verification" && isset($section1['officer_address'])){ echo $section1['officer_address']; }else{ echo 'Not Provided'; }?></td>
<td colspan="3">Address Details</td>
<td class = "tdcenteralign" colspan="7"><?php if(isset($section1['residence_address'])){ echo $section1['residence_address']; }else{ echo 'Not Provided'; }?></td>
</tr>
<?php if(isset($section1['verification_type']) && $section1['verification_type'] == "Residence verification"){ ?>
<tr>
<td colspan="2">City</td>
<td class = "tdcenteralign" colspan="1" ><?php echo isset($section1['residence_city'])?$section1['residence_city']:'Not Provided'; ?></td>
<td colspan="2">State</td>
<td class = "tdcenteralign" colspan="1"><?php echo isset($section1['residence_state'])?$section1['residence_state']:'Not Provided'; ?></td>
<td colspan="2">PIN</td>
<td class = "tdcenteralign" colspan="2"><?php if(isset($section1['residence_pincode_others'])){ echo $section1['residence_pincode_others']; } else if(isset($section1['residence_pincode'])) { echo $section1['residence_pincode']; }else {echo "-";}?></td>
<td class = "tdcenteralign" colspan="2"><?php if(isset($section1['residence_pincode_others'])){ echo $section1['residence_pincode_others']; } else if(isset($section1['residence_pincode'])) { echo $section1['residence_pincode']; }else {echo 'Not Provided';}?></td>
</tr>
<tr>
<td colspan="3">Residence Ownership</td>
@ -226,7 +232,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<td colspan="2" >State</td>
<td class = "tdcenteralign" colspan="1"><?php echo isset($section1['permanent_state'])?$section1['permanent_state']:'Not Provided'; ?></td>
<td colspan="2" >PIN</td>
<td class = "tdcenteralign" colspan="2"><?php echo isset($section1['permanent_pincode_others'])?$section1['permanent_pincode_others']:isset($section1['permanent_pincode'])?$section1['permanent_pincode']:'Not Provided'; ?></td>
<td class = "tdcenteralign" colspan="2"><?php echo isset($section1['permanent_pincode_others'])?$section1['permanent_pincode_others']:(isset($section1['permanent_pincode'])?$section1['permanent_pincode']:'Not Provided'); ?></td>
</tr>
<?php } ?>
<tr>
@ -237,15 +243,27 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<td colspan="3"> Number of Dependents</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['number_of_dependents'])?$section1['number_of_dependents']:'Not Provided'; ?> </td>
</tr>
<?php }?>
<?php if(isset($section1['verification_type']) && $section1['verification_type'] == "Office verification"){ ?>
<tr>
<tbody>
</tbody>
</table>
<?php }?>
<?php if(isset($section1['verification_type']) && $section1['verification_type'] == "Office verification"){ ?>
<table class="scorecard_table">
<tbody>
<tr>
<th class="thlargefont" colspan="10">Office Details</th>
</tr>
<tr>
<td colspan="3">Address Details</td>
<td class = "tdcenteralign" colspan="7"><?php if(isset($section1['officer_address'])){ echo $section1['officer_address']; }else{ echo 'Not Provided'; }?></td>
</tr>
<tr>
<td colspan="2" >City</td>
<td class = "tdcenteralign" colspan="1" ><?php echo isset($section1['officer_city'])?$section1['officer_city']:'Not Provided'; ?></td>
<td colspan="2" >State</td>
<td class = "tdcenteralign" colspan="1"><?php echo isset($section1['officer_state'])?$section1['officer_state']:'Not Provided'; ?></td>
<td colspan="2" >PIN</td>
<td class = "tdcenteralign" colspan="2"><?php echo isset($section1['officer_pincode_others'])?$section1['officer_pincode_others']:isset($section1['officer_pincode'])?$section1['officer_pincode']:'Not Provided'; ?></td>
<td class = "tdcenteralign" colspan="2"><?php echo isset($section1['officer_pincode_others'])?$section1['officer_pincode_others']:(isset($section1['officer_pincode'])?$section1['officer_pincode']:'Not Provided'); ?></td>
</tr>
<tr>
<td colspan="3">Occupation of the loan applicant</td>
@ -270,7 +288,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<td colspan="2" >State</td>
<td class = "tdcenteralign" colspan="1"><?php echo isset($section1['business_state'])?$section1['business_state']:'Not Provided'; ?></td>
<td colspan="2" >PIN</td>
<td class = "tdcenteralign" colspan="2"><?php echo isset($section1['business_pincode_others'])?$section1['business_pincode_others']:isset($section1['business_pincode'])?$section1['business_pincode']:'Not Provided'; ?></td>
<td class = "tdcenteralign" colspan="2"><?php echo isset($section1['business_pincode_others'])?$section1['business_pincode_others']:(isset($section1['business_pincode'])?$section1['business_pincode']:'Not Provided'); ?></td>
</tr>
<!-- <?php } ?> -->
<tr>
@ -289,9 +307,9 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<td colspan="3"> Net Monthly Salary/ Net Income</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['net_monthly_salary_net_income'])?$section1['net_monthly_salary_net_income']:'Not Provided'; ?> </td>
</tr>
<?php } ?>
</tbody>
</table>
<?php } ?>
<br>
<div id="page_break"></div>
<table class="scorecard_table">
@ -315,14 +333,14 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<td colspan="3">Educational Institute Address</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['educational_institute_address'])?$section1['educational_institute_address']:'Not Provided'; ?> </td>
</tr>
<tr>
<!-- <tr>
<td colspan="2" >City</td>
<td class = "tdcenteralign" colspan="1" ><?php echo isset($section1['educational_institute_address_city'])?$section1['educational_institute_address_city']:'Not Provided'; ?></td>
<td colspan="2" >State</td>
<td class = "tdcenteralign" colspan="1"><?php echo isset($section1['educational_institute_address_state'])?$section1['educational_institute_address_state']:'Not Provided'; ?></td>
<td colspan="2" >PIN</td>
<td class = "tdcenteralign" colspan="2"><?php echo isset($section1['educational_institute_address_pincode'])?$section1['educational_institute_address_pincode']:'Not Provided'; ?></td>
</tr>
</tr> -->
<tr>
<td colspan="3"> Class /Section/ Course Name</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['class_section_course_name'])?$section1['class_section_course_name']:'Not Provided'; ?> </td>
@ -344,8 +362,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<tr>
<td colspan="3" >Loan Tenure (Months)</td>
<td class = "tdcenteralign" colspan="3"> <?php echo isset($section1['loan_tenure'])?$section1['loan_tenure']:'Not Provided'; ?> </td>
<td colspan="2" >Loan Purpose (End-Use)</td>
<td class = "tdcenteralign" colspan="2"> <?php echo isset($section1['loan_purpose'])?$section1['loan_purpose']:'Not Provided'; ?> </td>
<td colspan="2" ></td>
<td class = "tdcenteralign" colspan="2"></td>
</tr>
</tbody>
</table>