CLIX SUBPRODUCT MANDATROY REMOVED MWISE AGE OF ASSETS REPORT

This commit is contained in:
Velz2020 2019-11-21 13:07:47 +05:30
parent 379145e1f4
commit 22531a5f1e
2 changed files with 22 additions and 7 deletions

View File

@ -900,7 +900,11 @@ class PD_Model extends SPARQ_Model {
if($result_array[0]['fk_product_id'] == "" || $result_array[0]['fk_product_id'] == null || $result_array[0]['fk_product_id'] == 0){ $mandatory_fields[] = 'fk_product_id'; }
if($result_array[0]['fk_subproduct_id'] == "" || $result_array[0]['fk_subproduct_id'] == null || $result_array[0]['fk_subproduct_id'] == 0){ $mandatory_fields[] = 'fk_subproduct_id'; }
if(($result_array[0]['lender_short_name'] != 'CLIX') && ($result_array[0]['lender_short_name'] != 'MWISE' && $result_array[0]['subproduct_abbr'] != "BL"))
{
if($result_array[0]['fk_subproduct_id'] == "" || $result_array[0]['fk_subproduct_id'] == null || $result_array[0]['fk_subproduct_id'] == 0){ $mandatory_fields[] = 'fk_subproduct_id'; }
}
if($result_array[0]['fk_pd_type'] == "" || $result_array[0]['fk_pd_type'] == null || $result_array[0]['fk_pd_type'] == 0){ $mandatory_fields[] = 'fk_pd_type'; }

View File

@ -1985,8 +1985,11 @@ defined('BASEPATH') OR exit('No direct script access allowed');
echo $value['fourth_row'];
echo $value['fifth_row'];
echo $value['sixth_row'];
// echo $value['seventh_row'];
// echo $value['eighth_row'];
if($pd_master_details[0]['lender_short_name'] == 'MWISE')
{
echo $value['seventh_row'];
echo $value['eighth_row'];
}
echo '</tbody>';
echo '</table>';
echo '<br>';
@ -3700,8 +3703,13 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<th>Asset Description</th>
<th>Asset Owned By</th>
<th>Approx Market Value(Rs)</th>
<!-- <th>Age of the Assest(Yrs)</th> -->
<!-- <th>Loan Again Assest</th> -->
<?php
if($pd_master_details[0]['lender_short_name'] == 'MWISE')
{
?>
<th>Age of the Assest(Yrs)</th>
<th>Loan Again Assest</th>
<?php}?>
</tr>
</thead>
<tbody>
@ -3713,8 +3721,11 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<td class="customtd"><?php echo $paRow['about_assets']; ?></td>
<td class="customtd"><?php echo $paRow['name_of_the_owner']; ?></td>
<td class="customtd"><?php echo isset($paRow['is_sum_assured']) ? 'Sum Assured -<br> '. $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($paRow['approximate_market_value']) : $rupee_symbol.' '.MYUTIL::customIndianNumberFormat($paRow['approximate_market_value']); ?></td>
<!-- <td class="customtd"><?php echo $paRow['purchase_year'] ? $paRow['purchase_year'] : 'NA'; ?></td> -->
<!-- <td class="customtd"><?php echo ($paRow['emi']) ? 'Yes' : 'No'; ?></td> -->
<?php if($pd_master_details[0]['lender_short_name'] == 'MWISE')
{?>
<td class="customtd"><?php echo $paRow['purchase_year'] ? $paRow['purchase_year'] : 'NA'; ?></td>
<td class="customtd"><?php echo ($paRow['emi']) ? 'Yes' : 'No'; ?></td>
<?php }?>
</tr>
<?php } ?>
</tbody>