Family Dtls Changes For CFPL -SAL reports : ps​​

This commit is contained in:
Sanjeev 2021-07-06 18:58:15 +05:30
parent 5abe78b78e
commit 65a53d1440
3 changed files with 20 additions and 6 deletions

View File

@ -1681,7 +1681,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
?>
<?php if($fmValue['family_members_details'][0]['name'] != "" ){ ?>
<p>The table below provides details of other family members of <?php echo $fmValue['selected_person']." :";?></p>
<table class="scorecard_table">
<thead>
@ -1708,7 +1708,11 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<?php } ?>
</tbody>
</table>
<?php }?>
<?php } } if($fmValue['no_family_members_clix'] != "" || $fmValue['no_dependents_clix'] != "" ){
$text = 'There are '.$fmValue['no_family_members_clix'].' family member(s) ';
$text .= isset($fmValue['no_dependents_clix']) && $fmValue['no_dependents_clix'] != 0 ? ' of which ' . ($fmValue['no_dependents_clix'] == 1 ? 'One is' : $fmValue['no_dependents_clix']. ' are'). ' dependent on applicant.' : ' and none of them dependent on applicant.';
echo '<p>' . $text . '</p>';
}?>
<?php }
else{?>
<p>Other Family Members is not available.</p>

View File

@ -1609,7 +1609,7 @@ font-weight: bolder;;
?>
<?php if($fmValue['family_members_details'][0]['name'] != "" ){ ?>
<p>The table below provides details of other family members of <?php echo $fmValue['selected_person']." :";?></p>
<table class="scorecard_table">
<thead>
@ -1636,7 +1636,12 @@ font-weight: bolder;;
<?php } ?>
</tbody>
</table>
<?php }?>
<?php } }
if($fmValue['no_family_members_clix'] != "" || $fmValue['no_dependents_clix'] != "" ){
$text = 'There are '.$fmValue['no_family_members_clix'].' family member(s) ';
$text .= isset($fmValue['no_dependents_clix']) && $fmValue['no_dependents_clix'] != 0 ? ' of which ' . ($fmValue['no_dependents_clix'] == 1 ? 'One is' : $fmValue['no_dependents_clix']. ' are'). ' dependent on applicant.' : ' and none of them dependent on applicant.';
echo '<p>' . $text . '</p>';
}?>
<?php }
else{?>
<p>Other Family Members is not available.</p>

View File

@ -1520,7 +1520,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
?>
<?php if($fmValue['family_members_details'][0]['name'] != "" ){ ?>
<p>The table below provides details of other family members of <?php echo $fmValue['selected_person']." :";?></p>
<table class="scorecard_table">
<thead>
@ -1547,7 +1547,12 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<?php } ?>
</tbody>
</table>
<?php }?>
<?php } }
if($fmValue['no_family_members_clix'] != "" || $fmValue['no_dependents_clix'] != "" ){
$text = 'There are '.$fmValue['no_family_members_clix'].' family member(s) ';
$text .= isset($fmValue['no_dependents_clix']) && $fmValue['no_dependents_clix'] != 0 ? ' of which ' . ($fmValue['no_dependents_clix'] == 1 ? 'One is' : $fmValue['no_dependents_clix']. ' are'). ' dependent on applicant.' : ' and none of them dependent on applicant.';
echo '<p>' . $text . '</p>';
}?>
<?php }
else{?>
<p>Other Family Members is not available.</p>