diff --git a/api/application/controllers/Sales_PD_Controller.php b/api/application/controllers/Sales_PD_Controller.php
index 0305dd07..670567d6 100644
--- a/api/application/controllers/Sales_PD_Controller.php
+++ b/api/application/controllers/Sales_PD_Controller.php
@@ -67,11 +67,20 @@ class Sales_PD_Controller extends REST_Controller {
{
$applicant_id = $g_value['answer_value'];
}
- if($g_value['question_key'] == 'person_met_during_visit')
- {
- $applicant_name = $g_value['answer_value'];
+
+ if($g_value['question_key'] == 'person_met_during_visit')
+ {
+ $applicant_name = $g_value['answer_value'];
- }
+ }
+ if($records['product_id'] == 4)
+ {
+ if($g_value['question_key'] == 'company_name')
+ {
+ $applicant_name = $g_value['answer_value'];
+ }
+ }
+
}
}
if($value['section_id'] == 8)
diff --git a/api/application/views/report_templates/JSONTOREPORT_DI_AI.php b/api/application/views/report_templates/JSONTOREPORT_DI_AI.php
index dd4ba540..c15ab5dc 100644
--- a/api/application/views/report_templates/JSONTOREPORT_DI_AI.php
+++ b/api/application/views/report_templates/JSONTOREPORT_DI_AI.php
@@ -4124,7 +4124,7 @@ if($total_no_of_business > 0) {
-
+
@@ -4138,7 +4138,7 @@ if($total_no_of_business > 0) {
else{?>
- Status of the check: could not verify.
+
Status of the check: could not verify.
↓';
$dash = ' ';
$product_name = $product_id == 8 ? 'LFMP' : 'BL';
+ $rupee_symbol = "₹";
?>
@@ -85,6 +86,8 @@ defined('BASEPATH') OR exit('No direct script access allowed');
/* #########End of Score Card Table Styles######### */
.tdcenteralign{ text-align: center; }
+.thlargefont{ font-size: 20px; }
+
@@ -106,7 +109,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
- | Personal Discussion Sheet - (For Sales Team) |
+ Personal Discussion Sheet - (For Sales Team) |
| Application ID |
@@ -138,13 +141,13 @@ defined('BASEPATH') OR exit('No direct script access allowed');
- | Fund Requirement |
+ Fund Requirement |
| Loan Amount Applied for (Rs) |
- |
+ |
Total Fund Requirement (Rs) |
- |
+ |
| Loan Tenure (Months) |
@@ -158,13 +161,13 @@ defined('BASEPATH') OR exit('No direct script access allowed');
- | Details of Key Stakeholders in the Business |
+ Details of Key Stakeholders in the Business |
| Name |
Share Holding |
- Vintage in Current Business |
- Total Work Exp |
+ Vintage in Current Business (Yrs) |
+ Total Work Exp(Yrs) |
Previous Experience Details |
Started Business |
@@ -174,12 +177,12 @@ defined('BASEPATH') OR exit('No direct script access allowed');
foreach ($section3 as $section3_key => $section3_value)
{
- echo '| '.$section3_value['name'] .' | '.
- ''.$section3_value['share_holding'].' | '.
- ''.$section3_value['vintage_in_current_biz'].' | '.
- ''.$section3_value['total_work_exp'].' | '.
- ''.$section3_value['previous_experience_details'].' | '.
- ''.$section3_value['started_biz'].' | '.
+ echo '
| '.$section3_value['name'] .' | '.
+ ''.$section3_value['share_holding'].'% | '.
+ ''.$section3_value['vintage_in_current_biz'].' | '.
+ ''.$section3_value['total_work_exp'].' | '.
+ ''.$section3_value['previous_experience_details'].' | '.
+ ''.$section3_value['started_biz'].' | '.
'
';
}
@@ -188,7 +191,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
?>
- | Brief of the Business / Service |
+ Brief of the Business / Service |
|
@@ -200,14 +203,14 @@ defined('BASEPATH') OR exit('No direct script access allowed');
- | Financial Information |
+ Financial Information |
| Name of the Company / Firm whose financials are noted |
|
-
-
+
+
| Particulars of Financials as per books of Accounts (Can be captured prior to PD) |
'.($fy_value['sales_revenue'] ).'';
+ echo ''. $rupee_symbol.' '.MYUTIL::customIndianNumberFormat(($fy_value['sales_revenue'])).' | ';
}
}
?>
@@ -247,7 +250,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
{
if(is_numeric($fy_key))
{
- echo ''.($fy_value['net_profit'] ).' | ';
+ echo ''.$rupee_symbol.' '. MYUTIL::customIndianNumberFormat($fy_value['net_profit']).' | ';
}
}
?>
@@ -261,7 +264,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
{
if(is_numeric($fy_key))
{
- echo ''.round((($fy_value['net_profit'] / $fy_value['sales_revenue'] ) * 100 ),2).' | ';
+ echo ''.round((($fy_value['net_profit'] / $fy_value['sales_revenue'] ) * 100 ),2).'% | ';
}
}
?>
@@ -351,15 +354,15 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| Income to be Considered (Rs Per Annum) |
- |
+ |
Income Considered (Rs Per Mth) |
- |
+ |
| Income assessment Program Recommended |
|
Fixed Obligations (Rs per month) |
- |
+ |
@@ -372,7 +375,7 @@ if(isset($section6))
- | Property Information |
+ Property Information |
| Property Address (With Landmark & PIN) |
@@ -394,7 +397,7 @@ if(isset($section6))
Built-Up Area (Sq. Ft.) |
|
Approx Mkt. Val (Rs) |
- |
+ |
| Property Ownership Status (Enter the names of the Property Owner(s) and their relationships) |
@@ -408,7 +411,7 @@ if(isset($section6))
- | Final Remarks of PD officer |
+ Final Remarks of PD officer |
| Business activity seen during visit (Yes / No) |
@@ -484,28 +487,28 @@ if(isset($section6))
$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');
//if(count($photos))
- $tot_rows = ceil(count($section9) / 3);
- if(count($section9))
- {
- echo '
';
+ // $tot_rows = ceil(count($section9) / 3);
+ // if(count($section9))
+ // {
+ // echo '
';
- for($row = 0;$row < $tot_rows; $row++)
- {
- echo '';
- $from = $row == 0 ? $row : ($row+2);
- $to = ($from + 2);
- for($i = $from ; $i <= $to; $i++)
- {
+ // for($row = 0;$row < $tot_rows; $row++)
+ // {
+ // echo '
';
+ // $from = $row == 0 ? $row : ($row+2);
+ // $to = ($from + 2);
+ // for($i = $from ; $i <= $to; $i++)
+ // {
- echo '  '.$photo_names [ $section9[$i]['img_name'] ].' | ';
+ // echo '  '.$photo_names [ $section9[$i]['img_name'] ].' | ';
- //unset($p_key);
- }
- echo '
';
- }
- echo '
';
- }
+ // //unset($p_key);
+ // }
+ // echo '';
+ // }
+ // echo '
';
+ // }
?>