changs in mwise.php : ps

This commit is contained in:
Sanjeev 2021-03-29 13:44:28 +05:30
parent 9ae1a1cb83
commit 487b68d082

View File

@ -178,7 +178,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<td class = "tdcenteralign" colspan="2"><?php if(isset($section1['pincode_others'])){ echo $section1['pincode_others']; } else { echo $section1['pincode']; }?></td>
</tr>
<?php if( ($master[0]['sales_pd_type'] == 2) && (($product_name === 'WCTL') || ($product_name === 'LFMP') ) ){ ?>
<?php if( $master[0]['sales_pd_type'] == 2){ ?>
<tr>
<td colspan="3">Applicant qualification</td>
@ -227,7 +227,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
</tbody>
</table>
<!-- initially br statement due to extra question. changed to page break condition -->
<?php if( ($master[0]['sales_pd_type'] == 2) && (($product_name === 'WCTL') || ($product_name === 'LFMP') ) ){
<?php if( $master[0]['sales_pd_type'] == 2){
?> <div id="page_break"></div> <?php } else { ?> <br> <?php } ?>
<table class="scorecard_table" style="table-layout: fixed">
<tbody>
@ -437,13 +437,13 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<tr>
<td colspan="3">Income to be Considered (Rs Per Annum) </td>
<td class="tdcenteralign" colspan="2"><?php echo $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($section5['income_considered'] )?></td>
<td colspan="3" ><?php if( ($master[0]['sales_pd_type'] == 2) && (($product_name === 'WCTL') || ($product_name === 'LFMP') ) ){ echo "Margin %"; } else { echo "Income Considered (Rs Per Mth)"; } ?></td>
<td colspan="3" ><?php if( $master[0]['sales_pd_type'] == 2){ echo "Margin %"; } else { echo "Income Considered (Rs Per Mth)"; } ?></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 class="tdcenteralign" colspan="2"><?php echo $section5['income_assessment_program_recommended']?></td>
<td colspan="3" ><?php if( ($master[0]['sales_pd_type'] == 2) && (($product_name === 'WCTL') || ($product_name === 'LFMP') ) ){ echo "Fixed Obligations (Rs Per annum)"; } else { echo "Fixed Obligations (Rs per month)"; } ?></td>
<td colspan="3" ><?php if( $master[0]['sales_pd_type'] == 2){ echo "Fixed Obligations (Rs Per annum)"; } else { echo "Fixed Obligations (Rs per month)"; } ?></td>
<td class="tdcenteralign" colspan="2"><?php echo $rupee_symbol.' '.MYUTIL::customIndianNumberFormat( $section5['fixed_obligations'] )?></td>
</tr>
</tbody></table>
@ -522,7 +522,7 @@ if(isset($section6))
<td colspan="2" >Any Other remarks </td>
<td style="text-align: justify;" colspan="8" ><?php echo $section7['any_other_remarks']?></td>
</tr>
<?php if( ($master[0]['sales_pd_type'] == 1) && (($product_name === 'WCTL') || ($product_name === 'LFMP') ) ){?>
<?php if($master[0]['sales_pd_type'] == 2){?>
<tr>
<td colspan="4">Behaviour on call (Rude/Neutral/Good/Pleasant)</td>
<td colspan="6" class="tdcenteralign" ><?php echo $section7['behaviour_call']?></td>