|
|
|
|
@ -97,11 +97,11 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
|
<hr>
|
|
|
|
|
Powered by PDGenie
|
|
|
|
|
<img style="width:50px;height:50px;opacity: 0.5;" src='https://pdgenie.com/logo/sineedge_red.png'/>
|
|
|
|
|
</footer>
|
|
|
|
|
<header>
|
|
|
|
|
|
|
|
|
|
<div><img style="width:50px;height:50px;opacity: 0.5;" src='https://pdgenie.com/logo/sineedge_red.png'/></div>
|
|
|
|
|
<div><img style="width:100px;height:50px;opacity: 0.5;" src='https://www.smcfinance.com/images/logo-small.jpg'/></div>
|
|
|
|
|
<hr>
|
|
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
@ -109,31 +109,31 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<th class="thlargefont" colspan="10" >Personal Discussion Sheet - <?php echo $product_name; ?> (For Sales Team)</th>
|
|
|
|
|
<th class="thlargefont" colspan="10" >Personal Discussion by Sales Team - <?php echo $product_name; ?> </th>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="3"> Application ID</td>
|
|
|
|
|
<td colspan="7"> <?php echo $section1['application_id']?> </td>
|
|
|
|
|
<td class = "tdcenteralign" colspan="7"> <?php echo $section1['application_id']?> </td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="3"> Name of the Company/Firm</td>
|
|
|
|
|
<td colspan="7"> <?php echo $section1['company_name']?></td>
|
|
|
|
|
<td class = "tdcenteralign" colspan="7"> <?php echo $section1['company_name']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="3">Name of Person Met during visit</td>
|
|
|
|
|
<td colspan="7"><?php echo $section1['person_met_during_visit']?></td>
|
|
|
|
|
<td class = "tdcenteralign" colspan="7"><?php echo $section1['person_met_during_visit']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="3" rowspan="2" >Address Visited</td>
|
|
|
|
|
<td colspan="7"><?php echo $section1['address_visited']?></td>
|
|
|
|
|
<td class = "tdcenteralign" colspan="7"><?php echo $section1['address_visited']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>City</td>
|
|
|
|
|
<td><?php echo $section1['state']?></td>
|
|
|
|
|
<td class = "tdcenteralign"><?php echo $section1['state']?></td>
|
|
|
|
|
<td>State</td>
|
|
|
|
|
<td><?php echo $section1['city']?></td>
|
|
|
|
|
<td class = "tdcenteralign"><?php echo $section1['city']?></td>
|
|
|
|
|
<td>PIN</td>
|
|
|
|
|
<td colspan="2"><?php echo $section1['pincode']?></td>
|
|
|
|
|
<td class = "tdcenteralign" colspan="2"><?php echo $section1['pincode']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
@ -145,15 +145,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="3" >Loan Amount Applied for (Rs)</td>
|
|
|
|
|
<td colspan="3" ><?php echo $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($section2['loan_amount_applied'])?></td>
|
|
|
|
|
<td class = "tdcenteralign" colspan="3" ><?php echo $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($section2['loan_amount_applied'])?></td>
|
|
|
|
|
<td colspan="2">Total Fund Requirement (Rs)</td>
|
|
|
|
|
<td colspan="2"> <?php echo $rupee_symbol.' '. MYUTIL::customIndianNumberFormat($section2['total_fund_requirement'])?></td>
|
|
|
|
|
<td class = "tdcenteralign" colspan="2"> <?php echo $rupee_symbol.' '. MYUTIL::customIndianNumberFormat($section2['total_fund_requirement'])?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="3" >Loan Tenure (Months)</td>
|
|
|
|
|
<td colspan="3" ><?php echo $section2['loan_tenure']?></td>
|
|
|
|
|
<td class = "tdcenteralign" colspan="3" ><?php echo $section2['loan_tenure']?></td>
|
|
|
|
|
<td colspan="2" >Loan Purpose (End-Use)</td>
|
|
|
|
|
<td colspan="2" ><?php echo $section2['loan_purpose']?></td>
|
|
|
|
|
<td class = "tdcenteralign" colspan="2" ><?php echo $section2['loan_purpose']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
@ -181,7 +181,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
|
'<td class="tdcenteralign" colspan="1">'.$section3_value['share_holding'].'%</td>'.
|
|
|
|
|
'<td class="tdcenteralign" colspan="1">'.$section3_value['vintage_in_current_biz'].'</td>'.
|
|
|
|
|
'<td class="tdcenteralign" colspan="1">'.$section3_value['total_work_exp'].'</td>'.
|
|
|
|
|
'<td class="tdcenteralign" colspan="3">'.$section3_value['previous_experience_details'].'</td>'.
|
|
|
|
|
'<td class="tdcenteralign" colspan="3">'.($section3_value['previous_experience_details'] ? $section3_value['previous_experience_details'] : 'NA' ).'</td>'.
|
|
|
|
|
'<td class="tdcenteralign" colspan="2" style="text-align: center">'.$section3_value['started_biz'].'</td>'.
|
|
|
|
|
'</tr>';
|
|
|
|
|
}
|
|
|
|
|
@ -194,25 +194,24 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
|
<th class="thlargefont" colspan="10" >Brief of the Business / Service</th>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="10" ><?php echo $section4['brief_business_service']?></td>
|
|
|
|
|
<td colspan="10" style="text-align: justify;"><?php echo $section4['brief_business_service']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<!-- <tr></tr><tr></tr><tr></tr> -->
|
|
|
|
|
</tbody></table>
|
|
|
|
|
|
|
|
|
|
<!-- <div id="page_break"></div> -->
|
|
|
|
|
<br>
|
|
|
|
|
<div id="page_break"></div>
|
|
|
|
|
<table class="scorecard_table">
|
|
|
|
|
<tr>
|
|
|
|
|
<th class="thlargefont" colspan="10" >Financial Information</th>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="6" >Name of the Company / Firm whose financials are noted </td>
|
|
|
|
|
<td colspan="4" ><?php echo $section1['company_name']?></td>
|
|
|
|
|
<td class = "tdcenteralign" colspan="4" ><?php echo $section1['company_name']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody></table>
|
|
|
|
|
<table class="scorecard_table"><tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<th colspan="7">Particulars of Financials as per books of Accounts (Can be captured prior to PD)</th>
|
|
|
|
|
<th colspan="7">Particulars of Financials as per books of Accounts</th>
|
|
|
|
|
<?php
|
|
|
|
|
//print_r($section5[0]);die();
|
|
|
|
|
$totol = 0;
|
|
|
|
|
@ -290,7 +289,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
|
$sales_over_py = round( ((($fy_value['sales_revenue'] - $pre_year_sales) / $pre_year_sales ) * 100),2);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo '<td colspan="1"class="tdcenteralign" >'. ((($sales_over_py == 0 ) ? $dash :( $sales_over_py > 0 ? $uparrow : $downarrow))).'' . abs($sales_over_py). ' </td>';
|
|
|
|
|
echo '<td colspan="1"class="tdcenteralign" >'. ((($sales_over_py == 0 ) ? $dash :( $sales_over_py > 0 ? $uparrow : $downarrow))).'' . abs($sales_over_py). ' %</td>';
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
$pre_year_sales = $fy_value['sales_revenue'];
|
|
|
|
|
@ -314,7 +313,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
$net_profit_over_py = round( ((($fy_value['net_profit'] - $pre_year_net_profit) / $pre_year_net_profit ) * 100),2);
|
|
|
|
|
echo '<td colspan="1" class="tdcenteralign">'. ((($net_profit_over_py == 0 ) ? $dash :( $net_profit_over_py > 0 ? $uparrow : $downarrow))).' ' . abs($net_profit_over_py). ' </td>';
|
|
|
|
|
echo '<td colspan="1" class="tdcenteralign">'. ((($net_profit_over_py == 0 ) ? $dash :( $net_profit_over_py > 0 ? $uparrow : $downarrow))).' ' . abs($net_profit_over_py). '% </td>';
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
$pre_year_net_profit = $fy_value['net_profit'];
|
|
|
|
|
@ -340,7 +339,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
|
$year_net_pro_loss_per_over_py = round( ((( (($fy_value['net_profit'] / $fy_value['sales_revenue'] ) * 100 ) - $pre_year_net_pro_loss_per) / $pre_year_net_pro_loss_per ) * 100),2);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo '<td colspan="1" class="tdcenteralign">'. ((($year_net_pro_loss_per_over_py == 0 ) ? $dash :( $year_net_pro_loss_per_over_py > 0 ? $uparrow : $downarrow))).' ' . abs($year_net_pro_loss_per_over_py). ' </td>';
|
|
|
|
|
echo '<td colspan="1" class="tdcenteralign">'. ((($year_net_pro_loss_per_over_py == 0 ) ? $dash :( $year_net_pro_loss_per_over_py > 0 ? $uparrow : $downarrow))).' ' . abs($year_net_pro_loss_per_over_py). '% </td>';
|
|
|
|
|
// echo '<td colspan="1" >'. (($year_net_pro_loss_per_over_py > 0 )? '<span style="color:green;">↑</span>' : '<span style="color:red;">↓</span>').' ( ' . $year_net_pro_loss_per_over_py. ' )</td>'; //(($fy_value['net_profit'] / $fy_value['sales_revenue'] ) * 100 )
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
@ -354,15 +353,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
|
<table class="scorecard_table">
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="3">Income to be Considered (Rs Per Annum) </td>
|
|
|
|
|
<td colspan="2"><?php echo $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($section5['income_considered'] )?></td>
|
|
|
|
|
<td class="tdcenteralign" colspan="2"><?php echo $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($section5['income_considered'] )?></td>
|
|
|
|
|
<td colspan="3" >Income Considered (Rs Per Mth) </td>
|
|
|
|
|
<td colspan="2"><?php echo MYUTIL::customIndianNumberFormat( round(($section5['income_considered'] / 12 ),2) );?></td>
|
|
|
|
|
<td class="tdcenteralign" colspan="2"><?php echo MYUTIL::customIndianNumberFormat( round(($section5['income_considered'] / 12 ),2) );?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="3">Income assessment Program Recommended </td>
|
|
|
|
|
<td colspan="2"><?php echo $section5['income_assessment_program_recommended']?></td>
|
|
|
|
|
<td class="tdcenteralign" colspan="2"><?php echo $section5['income_assessment_program_recommended']?></td>
|
|
|
|
|
<td colspan="3" >Fixed Obligations (Rs per month) </td>
|
|
|
|
|
<td colspan="2"><?php echo $rupee_symbol.' '.MYUTIL::customIndianNumberFormat( $section5['fixed_obligations'] )?></td>
|
|
|
|
|
<td class="tdcenteralign" colspan="2"><?php echo $rupee_symbol.' '.MYUTIL::customIndianNumberFormat( $section5['fixed_obligations'] )?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody></table>
|
|
|
|
|
|
|
|
|
|
@ -379,29 +378,29 @@ if(isset($section6))
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="1" >Property Address (With Landmark & PIN)</td>
|
|
|
|
|
<td colspan="9" ><?php echo $section6['property_address']?></td>
|
|
|
|
|
<td class="tdcenteralign" colspan="9" ><?php echo $section6['property_address']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="1" >Property Type</td>
|
|
|
|
|
<td colspan="4" ><?php echo $section6['property_type']?></td>
|
|
|
|
|
<td class="tdcenteralign" colspan="4" ><?php echo $section6['property_type']?></td>
|
|
|
|
|
<td colspan="1" >Occupancy Status</td>
|
|
|
|
|
<td colspan="4" ><?php echo $section6['occupancy_status']?></td>
|
|
|
|
|
<td class="tdcenteralign" colspan="4" ><?php echo $section6['occupancy_status']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="1" >Permitted Property Usage</td>
|
|
|
|
|
<td colspan="4" ><?php echo $section6['permitted_property_usage']?></td>
|
|
|
|
|
<td class="tdcenteralign" colspan="4" ><?php echo $section6['permitted_property_usage']?></td>
|
|
|
|
|
<td colspan="1" >Actual Property Usage</td>
|
|
|
|
|
<td colspan="4" ><?php echo $section6['actual_property_usage']?></td>
|
|
|
|
|
<td class="tdcenteralign" colspan="4" ><?php echo $section6['actual_property_usage']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="1" >Built-Up Area (Sq. Ft.)</td>
|
|
|
|
|
<td colspan="4" ><?php echo $section6['built_up_area']?></td>
|
|
|
|
|
<td class="tdcenteralign" colspan="4" ><?php echo $section6['built_up_area']?></td>
|
|
|
|
|
<td colspan="1" >Approx Mkt. Val (Rs)</td>
|
|
|
|
|
<td colspan="4" ><?php echo $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($section6['approx_mkt_val'])?></td>
|
|
|
|
|
<td class="tdcenteralign" colspan="4" ><?php echo $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($section6['approx_mkt_val'])?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="1" >Property Ownership Status (Enter the names of the Property Owner(s) and their relationships)</td>
|
|
|
|
|
<td colspan="9"><?php echo $section6['Property_Ownership_Status']?></td>
|
|
|
|
|
<td class="tdcenteralign" colspan="9"><?php echo $section6['Property_Ownership_Status']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
@ -411,49 +410,28 @@ if(isset($section6))
|
|
|
|
|
<table class="scorecard_table">
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<th class="thlargefont" colspan="10" >Final Remarks of PD officer</th>
|
|
|
|
|
<th class="thlargefont" colspan="10" >Final Remarks of Sales officer</th>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="4" >Business activity seen during visit (Yes / No)</td>
|
|
|
|
|
<td ><?php echo $section7['business_activity_seen']?></td>
|
|
|
|
|
<td class="tdcenteralign" ><?php echo $section7['business_activity_seen']?></td>
|
|
|
|
|
<td colspan="4" >Location of workplace suits the business (Yes/No)</td>
|
|
|
|
|
<td ><?php echo $section7['location_workplace_suits_business']?></td>
|
|
|
|
|
<td class="tdcenteralign" ><?php echo $section7['location_workplace_suits_business']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="4" >Overall Assessment (Positive / Negative)</td>
|
|
|
|
|
<td ><?php echo $section7['overall_assessment']?></td>
|
|
|
|
|
<td class="tdcenteralign" <?php if($section7['overall_assessment'] == 'Positive') { echo 'style="color:green;"';}else{ echo 'style="color:red;"';} ?> ><?php echo $section7['overall_assessment']?></td>
|
|
|
|
|
<td colspan="4" >Recommended ROI for the case</td>
|
|
|
|
|
<td ><?php echo $section7['recommended_roi']?></td>
|
|
|
|
|
<td class="tdcenteralign" ><?php echo $section7['recommended_roi']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="2" >Any Other remarks </td>
|
|
|
|
|
<td class="tdcenteralign" colspan="8" ><?php echo $section7['any_other_remarks']?></td>
|
|
|
|
|
<td colspan="2" >Any Other remarks </td>
|
|
|
|
|
<td style="text-align: justify;" colspan="8" ><?php echo $section7['any_other_remarks']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<br><br>
|
|
|
|
|
<table class="scorecard_table">
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="3" >Name of Sales Team Member </td>
|
|
|
|
|
<td colspan="7" ><?php echo $section8['name_of_sales_team_member']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="3" >Designation of Sales Team Member </td>
|
|
|
|
|
<td colspan="7" ><?php echo $section8['designation']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="3" >Date of PD Visit </td>
|
|
|
|
|
<td colspan="7" ><?php echo $section8['date']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="3">Signature of PD Officer </td>
|
|
|
|
|
<td colspan="7" ></td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
@ -479,17 +457,19 @@ if(isset($section6))
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
//print_r($photos);die();
|
|
|
|
|
//print_r($photos);die();satellite_image
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<br><table class="scorecard_table"><tr><th class="thlargefont" colspan="10">Satellite Image of PD Location</th></tr></table><br>
|
|
|
|
|
<img style="border:3px solid #0191ed;" src = "<?php echo 'data:image/gif;base64,'.$satellite_image[0]['img']; ?>" alt = "PD Visted Location Satellite Image " height="300px" width="630px">
|
|
|
|
|
<?php
|
|
|
|
|
$iter = 0;
|
|
|
|
|
$photo_names = array('selfie_with_person_met' => 'Selfie with person met','approach_to_pd_location' => 'Approach to pd location','name_board_seen' => 'Name board seen', 'stock_image' => 'Stock image','workplace_interior_image' => 'Workplace interior image');
|
|
|
|
|
$photo_names = array('selfie_with_person_met' => 'Selfie with person met','approach_to_pd_location' => 'Approach to pd location','name_board_seen' => 'Name board seen', 'stock_image' => 'Stock image','workplace_interior_image' => 'Workplace interior image','satellite1' => 'satellite');
|
|
|
|
|
// if(count($photos))
|
|
|
|
|
$tot_rows = ceil(count($section9) / 3);
|
|
|
|
|
if(count($section9))
|
|
|
|
|
{
|
|
|
|
|
echo '<div id="page_break"></div>';
|
|
|
|
|
echo '<table class="scorecard_table"><tr><th class="thlargefont" colspan="10">Photograph`s</th></tr></table><br><table ><tbody>';
|
|
|
|
|
|
|
|
|
|
for($row = 0;$row < $tot_rows; $row++)
|
|
|
|
|
@ -512,6 +492,29 @@ if(isset($section6))
|
|
|
|
|
echo '</tbody></table>';
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
<br>
|
|
|
|
|
<table class="scorecard_table">
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="3" >Name of Sales Team Member </td>
|
|
|
|
|
<td class="tdcenteralign" colspan="7" ><?php echo $section8['name_of_sales_team_member']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="3" >Designation of Sales Team Member </td>
|
|
|
|
|
<td class="tdcenteralign" colspan="7" ><?php echo $section8['designation']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="3" >Date of PD Visit </td>
|
|
|
|
|
<td class="tdcenteralign" colspan="7" ><?php echo $section8['date']?></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<!-- <tr>
|
|
|
|
|
<td colspan="3">Signature of PD Officer </td>
|
|
|
|
|
<td colspan="7" ></td>
|
|
|
|
|
</tr> -->
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|