diff --git a/api/application/views/smc_creditpd_reports/MWISE.php b/api/application/views/smc_creditpd_reports/MWISE.php index fb375ee7..c86cb344 100644 --- a/api/application/views/smc_creditpd_reports/MWISE.php +++ b/api/application/views/smc_creditpd_reports/MWISE.php @@ -302,6 +302,10 @@ defined('BASEPATH') OR exit('No direct script access allowed'); echo ''.$value1['borrower_type'].' '.$value1['borrower_name'].(isset($value1['mobile_numbers']) && $value1['mobile_numbers'] != '' ? ('
('. $value1['mobile_numbers'] .')'): '').' '.$value1['entity_type'].' '.$value1['designation'].' '.$value1['relationship'].' '.$value1['relationship_to'].' '.(isset($value1['borrower_age']) && !empty($value1['borrower_age']) ? $value1['borrower_age'] : ( (strcasecmp($value1['entity_type'],'Individual')) ? $value1['numbers_of_years_business_running'] : 'NA')).' '.(isset($value1['numbers_of_years_business_running']) && !empty($value1['numbers_of_years_business_running']) && (!strcasecmp($value1['entity_type'],'Individual'))? $value1['numbers_of_years_business_running'] : 'NA').''; } ?> + + Remarks + + @@ -519,6 +523,10 @@ defined('BASEPATH') OR exit('No direct script access allowed'); } ?> + + Remarks + +
@@ -699,31 +707,20 @@ $business_pd_visited_remark = (isset($pd_section_data[8]['business_pd_visited_re - - - + + $value) { - $low_month = ''; - if(isset($value['low_sale_month']) && is_array($value['low_sale_month']) && count($value['low_sale_month'])){foreach($value['low_sale_month'] as $low){ $low_month .= $low.' ,';}} - if($low_month != ''){$low_month = substr_replace($low_month, '', -1);}else{$low_month = '-';} - echo "". - "". - "". - ""; - echo "". - "". - "". - ""; - echo "". - "". - "". - "";} + foreach ($pd_section_data[4]['business_entity'] as $key => $value) { + $low_month = ''; + if(isset($value['low_sale_month']) && is_array($value['low_sale_month']) && count($value['low_sale_month'])){foreach($value['low_sale_month'] as $low){ $low_month .= $low.' ,';}} + if($low_month != ''){$low_month = substr_replace($low_month, '', -1);}else{$low_month = '-';} + echo ""; + echo ""; + echo ""; + } if(isset($value['low_sale_month_reason'])){ - echo "". - "". - "". - "";} + echo ""; + } } ?> - +
Seasonality of the Business
Seasonality of the Business
Name of the Company".$company[$value['company_name']]."
Business Seasonal (Yes / No)".$value['seasonality']."
If Seasonal Please mention the Lean Months".$low_month."
Name of the Company".$company[$value['company_name']]."
Business Seasonal (Yes / No)".$value['seasonality']."
If Seasonal Please mention the Lean Months".$low_month."
Reason".$value['low_sale_month_reason']."
Reason".$value['low_sale_month_reason']."
Name of the Company / Firm whose financials are noted
@@ -1056,9 +1053,9 @@ $business_pd_visited_remark = (isset($pd_section_data[8]['business_pd_visited_re

- -
Working Capital Cycle (As per Person Met during PD)
- + + @@ -1087,12 +1084,12 @@ $business_pd_visited_remark = (isset($pd_section_data[8]['business_pd_visited_re } else // if finance data not available . this condiiton opens at near by finace section heading { - echo ''; + echo ''; } if(isset($pd_section_data[10]['common_remarks']) && !empty($pd_section_data[10]['common_remarks'])) { - echo ''; + echo ''; } @@ -1127,13 +1124,13 @@ $business_pd_visited_remark = (isset($pd_section_data[8]['business_pd_visited_re ';} + echo '';} else { echo ''; } if(isset($pd_section_data[11]['common_remarks']) && !empty($pd_section_data[11]['common_remarks'])){ - echo '';} + echo '';} ?> @@ -1293,6 +1290,7 @@ Business run by the applicant'; // } } + echo ''; } else//if no count {
Working Capital Cycle (As per Person Met during PD)
Debtor Days
Finance Data Not Available
Finance Data Not Available
Remarks on Financials '.$pd_section_data[10]['common_remarks'].'
Remarks on Financials '.$pd_section_data[10]['common_remarks'].'
Supplier Information Not available. Reason - '.$pd_section_data[11]['supplier_not_available_reason'] .'
Supplier Information Not available. Reason - '.$pd_section_data[11]['supplier_not_available_reason'] .'
Supplier Information Not available
Remarks - '.$pd_section_data[11]['common_remarks'] .'
Remarks - '.$pd_section_data[11]['common_remarks'] .'
'.( ucfirst($pd_section_data[13]['estimated_uom']) ) .'
Remarks'.$pd_section_data[9]['common_remarks'].'