Demo-flyhi Report changes : ps

This commit is contained in:
VE10-Sanjeev 2023-06-07 18:08:43 +05:30
parent ba0b168244
commit 7371a34e5a

View File

@ -170,14 +170,6 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<td colspan="3"> Application ID</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['loan_application_id']) ? $section1['loan_application_id'] : 'Not Provided'?> </td>
</tr>
<tr>
<td colspan="3"> Lender Sales Person</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['lender_sales_person_master']) ? $section1['lender_sales_person_master'] : 'Not Provided'?> </td>
</tr>
<tr>
<td colspan="3"> Lender Credit Person</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['lender_credit_person_master']) ? $section1['lender_credit_person_master'] : 'Not Provided'?> </td>
</tr>
<tr>
<td colspan="3"> Product Name</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['product_name_master']) ? $section1['product_name_master'] : (isset($master[0]['name'])? $master[0]['name'] : 'Not Provided')?> </td>
@ -201,145 +193,6 @@ defined('BASEPATH') OR exit('No direct script access allowed');
</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>
<?php if(isset($section1['residence_details'])){
$rd_data = $section1['residence_details'];
for($i = 0; $i < count($rd_data); $i++){?>
<tr>
<td colspan="3"><?php echo ($i+1)." . "; ?>Address Details</td>
<td class = "tdcenteralign" colspan="7"><?php if(isset($rd_data[$i]['residence_address'])){ echo $rd_data[$i]['residence_address']; }else{ echo 'Not Provided'; }?></td>
</tr>
<tr>
<td colspan="2">City</td>
<td class = "tdcenteralign" colspan="1" ><?php echo isset($rd_data[$i]['residence_city'])?$rd_data[$i]['residence_city']: 'Not Provided'; ?></td>
<td colspan="2">State</td>
<td class = "tdcenteralign" colspan="1"><?php echo isset($rd_data[$i]['residence_state'])?$rd_data[$i]['residence_state']: 'Not Provided'; ?></td>
<td colspan="2">PIN</td>
<td class = "tdcenteralign" colspan="2"><?php echo isset($rd_data[$i]['residence_pincode']) ?$rd_data[$i]['residence_pincode']: 'Not Provided';?></td>
</tr>
<?php } }?>
<tr>
<td colspan="3">Residence Ownership</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['residence_ownership']) ? $residence_ownership_arr[$section1['residence_ownership']] :'Not Provided'; ?> </td>
</tr>
<tr>
<td colspan="3">Years at Current Residence</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['years_at_current_residence']) ? $section1['years_at_current_residence'] : 'Not Provided' ; ?> </td>
</tr>
<tr>
<td colspan="3">Permanent Address Same as Current Residence Address</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['Same_as_current_residence_address'])?$section1['Same_as_current_residence_address']:'Not Provided'; ?> </td>
</tr>
<?php if(isset($section1['Same_as_current_residence_address']) && $section1['Same_as_current_residence_address'] == 'No'){?>
<tr>
<td colspan="3">Permanent Address</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['permanent_address'])?$section1['permanent_address']:'Not Provided'; ?> </td>
</tr>
<tr>
<td colspan="2" >City</td>
<!-- <td class = "tdcenteralign" colspan="1" ><?php echo isset($section1['permanent_city_master'])?$section1['permanent_city_master']:'Not Provided'; ?></td>
<td colspan="2" >State</td>
<td class = "tdcenteralign" colspan="1"><?php echo isset($section1['permanent_state_master'])?$section1['permanent_state_master']:'Not Provided'; ?></td>
<td colspan="2" >PIN</td>
<td class = "tdcenteralign" colspan="2"><?php echo isset($section1['permanent_pincode_master'])?$section1['permanent_pincode_master']:'Not Provided'; ?></td> -->
<td class = "tdcenteralign" colspan="1" ><?php echo isset($section1['permanent_city'])?$section1['permanent_city']:'Not Provided'; ?></td>
<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'])?$section1['permanent_pincode']:'Not Provided'; ?></td>
</tr>
<?php } ?>
<tr>
<td colspan="3"> Number of Earning Family Member</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['number_of_earning_family_member'])?$section1['number_of_earning_family_member']:'Not Provided'; ?> </td>
</tr>
<tr>
<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>
<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'])?$section1['officer_pincode']:'Not Provided'; ?></td>
<!-- <td class = "tdcenteralign" colspan="1" ><?php echo isset($section1['officer_city_master'])?$section1['officer_city_master']:'Not Provided'; ?></td>
<td colspan="2" >State</td>
<td class = "tdcenteralign" colspan="1"><?php echo isset($section1['officer_state_master'])?$section1['officer_state_master']:'Not Provided'; ?></td>
<td colspan="2" >PIN</td>
<td class = "tdcenteralign" colspan="2"><?php echo isset($section1['officer_pincode_master'])?$section1['officer_pincode_master']:'Not Provided'; ?></td> -->
</tr>
<tr>
<td colspan="3">Occupation of the Loan Applicant</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['occupation_of_the_loan_applicant'])?$occupation_arr[$section1['occupation_of_the_loan_applicant']]:'Not Provided'; ?> </td>
</tr>
<tr>
<td colspan="3">Employer/Business Name</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['employer_business_name'])?$section1['employer_business_name']:'Not Provided'; ?> </td>
</tr>
<!-- <tr>
<td colspan="3">Same as Current Business Address</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['Same_as_current_business_address'])?$section1['Same_as_current_business_address']:'Not Provided'; ?> </td>
</tr>
<?php if(isset($section1['Same_as_current_business_address']) && $section1['Same_as_current_business_address'] == 'No'){?>
<tr>
<td colspan="3">Employer/Business Address</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['business_address'])?$section1['business_address']:'Not Provided'; ?> </td>
</tr>
<!-- <?php // if($section1['employer_business_address'] == 0){ ?> -->
<!-- <tr>
<td colspan="3">Address</td>
<td class = "tdcenteralign" colspan="7"> <?php echo $section1['employer_business_address'];?></td>
</tr> -->
<tr>
<td colspan="2" >City</td>
<td class = "tdcenteralign" colspan="1" ><?php echo isset($section1['business_city'])?$section1['business_city']:'Not Provided'; ?></td>
<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'])?$section1['business_pincode']:'Not Provided'; ?></td>
</tr>
<?php } ?> -->
<tr>
<td colspan="3"> Constitution of Employer /Business </td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['constitution_of_employer_business_applicant']) ? $constitution_arr[$section1['constitution_of_employer_business_applicant']] : 'Not Provided'?> </td>
</tr>
<tr>
<td colspan="3"> Years at Current employment/Business</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['years_at_current_employment_business'])?$section1['years_at_current_employment_business']:'Not Provided'; ?> </td>
</tr>
<tr>
<td colspan="3"> Total Work Experience (in Years) </td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['total_work_experience'])?$section1['total_work_experience']:'Not Provided'; ?> </td>
</tr>
<tr>
<td colspan="3"> Net Monthly Salary/ Net Income (Rs)</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['net_monthly_salary_net_income'])?$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($section1['net_monthly_salary_net_income']):'Not Provided'; ?> </td>
</tr>
</tbody>
</table>
<?php } ?>
<br>
<div id="page_break"></div>
<table class="scorecard_table">
<tbody>
@ -347,54 +200,46 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<th class="thlargefont" colspan="10">Additional Questions</th>
</tr>
<tr>
<td colspan="3"> Name of Student</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['name_of_student'])?$section1['name_of_student']:'Not Provided'; ?> </td>
<td colspan="3"> 1. Have you previously defaulted on any loans or declared bankruptcy?</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['have_you_previously_defaulted_on_any_loans_or_declared_bankruptcy']) && !empty($section1['have_you_previously_defaulted_on_any_loans_or_declared_bankruptcy']) ? $section1['have_you_previously_defaulted_on_any_loans_or_declared_bankruptcy']:'Not Provided'; ?> </td>
</tr>
<tr>
<td colspan="3"> Relationship with Applicant</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['relationship_with_applicant_master'])?$section1['relationship_with_applicant_master']:'Not Provided'; ?> </td>
<td colspan="3"> 2. Can you provide proof of a stable source of income to repay the loan?</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['can_you_provide_proof_of_a_stable_source_of_income_to_repay_the_loan']) && !empty($section1['can_you_provide_proof_of_a_stable_source_of_income_to_repay_the_loan']) ?$section1['can_you_provide_proof_of_a_stable_source_of_income_to_repay_the_loan']:'Not Provided'; ?> </td>
</tr>
<tr>
<td colspan="3"> Educational Institute Name</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['educational_institute_name'])?$section1['educational_institute_name']:'Not Provided'; ?> </td>
<td colspan="3"> 3. Are you currently employed or have a steady source of income?</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['are_you_currently_employed_or_have_a_steady_source_of_income']) && !empty($section1['are_you_currently_employed_or_have_a_steady_source_of_income'])?$section1['are_you_currently_employed_or_have_a_steady_source_of_income']:'Not Provided'; ?> </td>
</tr>
<tr>
<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>
<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>
<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>
<td colspan="3"> 4. Will the loan be used for personal or business purposes?</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['are_you_currently_employed_or_have_a_steady_source_of_income']) && !empty($section1['are_you_currently_employed_or_have_a_steady_source_of_income'])?$section1['are_you_currently_employed_or_have_a_steady_source_of_income']:'Not Provided'; ?> </td>
</tr>
<tr>
<td colspan="3"> Educational Institute Fee (Rs)</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['educational_institute_fee'])?$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($section1['educational_institute_fee']):'Not Provided'; ?> </td>
<td colspan="3"> 5. Are you willing to provide collateral or a cosigner for the loan?</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['are_you_willing_to_provide_collateral_or_a_cosigner_for_the_loan']) && !empty($section1['are_you_willing_to_provide_collateral_or_a_cosigner_for_the_loan'])?$section1['are_you_willing_to_provide_collateral_or_a_cosigner_for_the_loan']:'Not Provided'; ?> </td>
</tr>
<tr>
<td colspan="3"> Duration of the Course (months)</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['duration_of_the_course'])?$section1['duration_of_the_course']:'Not Provided'; ?> </td>
<td colspan="3"> 6. Have you ever been convicted of any financial crimes or fraud?"</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['have_you_ever_been_convicted_of_any_financial_crimes_or_fraud']) && !empty($section1['have_you_ever_been_convicted_of_any_financial_crimes_or_fraud']) ?$section1['have_you_ever_been_convicted_of_any_financial_crimes_or_fraud']:'Not Provided'; ?> </td>
</tr>
<tr>
<td colspan="3" >Loan Amount Applied for (Rs)</td>
<td class = "tdcenteralign" colspan="3"> <?php echo isset($section1['loan_amount_applied'])?$rupee_symbol.' '.MYUTIL::customIndianNumberFormat($section1['loan_amount_applied']):'Not Provided'; ?> </td>
<td colspan="2" >Loan Tenure (Months)</td>
<td class = "tdcenteralign" colspan="2"> <?php echo isset($section1['loan_tenor'])?$section1['loan_tenor']:'Not Provided'; ?> </td>
<tr>
<td colspan="3"> 7. Are you able to provide valid identification and proof of residence?</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['are_you_able_to_provide_valid_identification_and_proof_of_residence']) && !empty($section1['are_you_able_to_provide_valid_identification_and_proof_of_residence']) ?$section1['are_you_able_to_provide_valid_identification_and_proof_of_residence']:'Not Provided'; ?> </td>
</tr>
<!-- <tr>
<td colspan="3">Total Fund Requirement (Rs)</td>
<td class = "tdcenteralign" colspan="3"> <?php echo isset($section1['total_fund_requirement'])?$rupee_symbol.' '. MYUTIL::customIndianNumberFormat($section1['total_fund_requirement']):'Not Provided'; ?> </td>
<td colspan="2" ></td>
<td class = "tdcenteralign" colspan="2"></td>
</tr> -->
</tbody>
<tr>
<td colspan="3"> 8. Do you have any outstanding legal judgments or liens against you?</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['do_you_have_any_outstanding_legal_judgments_or_liens_against_you?']) && !empty($section1['do_you_have_any_outstanding_legal_judgments_or_liens_against_you?']) ?$section1['do_you_have_any_outstanding_legal_judgments_or_liens_against_you?']:'Not Provided'; ?> </td>
</tr>
<tr>
<td colspan="3"> 9. Are you familiar with the terms and conditions of the loan, including interest rates and repayment terms?"</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['are_you_familiar_with_the_terms_and_conditions_of_the_loan_including_interest_rates_and_repayment_terms']) && !empty($section1['are_you_familiar_with_the_terms_and_conditions_of_the_loan_including_interest_rates_and_repayment_terms']) ? $section1['are_you_familiar_with_the_terms_and_conditions_of_the_loan_including_interest_rates_and_repayment_terms'] :'Not Provided'; ?> </td>
</tr>
<tr>
<td colspan="3"> 10. Are you applying for any other loans concurrently that may affect your ability to repay this loan?"</td>
<td class = "tdcenteralign" colspan="7"> <?php echo isset($section1['are_you_applying_for_any_other_loans_concurrently_that_may_affect_your_ability_to_repay_this_loan']) && !empty($section1['are_you_applying_for_any_other_loans_concurrently_that_may_affect_your_ability_to_repay_this_loan']) ?$section1['are_you_applying_for_any_other_loans_concurrently_that_may_affect_your_ability_to_repay_this_loan']:'Not Provided'; ?> </td>
</tr>
</tbody>
</table>
<div id="page_break"></div>
<br><table class="scorecard_table"><tr><th class="thlargefont" colspan="10">Satellite Image of PD Location</th></tr></table><br>