Family Dtls Changes For CFPL reports : ps​​

This commit is contained in:
Sanjeev 2021-07-07 13:40:29 +05:30
parent 65a53d1440
commit 637be201ed
7 changed files with 17 additions and 14 deletions

View File

@ -4178,12 +4178,12 @@ if($total_no_of_business > 0) {
<?php } ?> <?php } ?>
</tbody> </tbody>
</table> </table>
<?php } } <?php } //name check if closed
if($fmValue['no_family_members_clix'] != "" || $fmValue['no_dependents_clix'] != "" ){ if($fmValue['no_family_members_clix'] != "" || $fmValue['no_dependents_clix'] != "" ){
$text = 'There are '.$fmValue['no_family_members_clix'].' family member(s) '; $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.'; $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>'; echo '<p>' . $text . '</p>';
} }}
?> ?>
<?php } <?php }
else{?> else{?>

View File

@ -4242,11 +4242,11 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<?php } ?> <?php } ?>
</tbody> </tbody>
</table> </table>
<?php }} if($fmValue['no_family_members_clix'] != "" || $fmValue['no_dependents_clix'] != "" ){ <?php } if($fmValue['no_family_members_clix'] != "" || $fmValue['no_dependents_clix'] != "" ){
$text = 'There are '.$fmValue['no_family_members_clix'].' family member(s) '; $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.'; $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>'; echo '<p>' . $text . '</p>';
} ?> } }?>
<?php } <?php }
else{?> else{?>
<p>Other Family Members is not available.</p> <p>Other Family Members is not available.</p>

View File

@ -4172,11 +4172,12 @@ if($total_no_of_business > 0) {
<?php } ?> <?php } ?>
</tbody> </tbody>
</table> </table>
<?php } }if($fmValue['no_family_members_clix'] != "" || $fmValue['no_dependents_clix'] != "" ){ <?php } //name check if closed
if($fmValue['no_family_members_clix'] != "" || $fmValue['no_dependents_clix'] != "" ){
$text = 'There are '.$fmValue['no_family_members_clix'].' family member(s) '; $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.'; $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>'; echo '<p>' . $text . '</p>';
} ?> } }?>
<?php } <?php }
else{?> else{?>
<p>Other Family Members is not available.</p> <p>Other Family Members is not available.</p>

View File

@ -4172,11 +4172,12 @@ if($total_no_of_business > 0) {
<?php } ?> <?php } ?>
</tbody> </tbody>
</table> </table>
<?php } } if($fmValue['no_family_members_clix'] != "" || $fmValue['no_dependents_clix'] != "" ){ <?php } //name check if closed
if($fmValue['no_family_members_clix'] != "" || $fmValue['no_dependents_clix'] != "" ){
$text = 'There are '.$fmValue['no_family_members_clix'].' family member(s) '; $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.'; $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>'; echo '<p>' . $text . '</p>';
}?> } } ?>
<?php } <?php }
else{?> else{?>
<p>Other Family Members is not available.</p> <p>Other Family Members is not available.</p>

View File

@ -1708,11 +1708,12 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<?php } ?> <?php } ?>
</tbody> </tbody>
</table> </table>
<?php } } if($fmValue['no_family_members_clix'] != "" || $fmValue['no_dependents_clix'] != "" ){ <?php } //name check if closed
if($fmValue['no_family_members_clix'] != "" || $fmValue['no_dependents_clix'] != "" ){
$text = 'There are '.$fmValue['no_family_members_clix'].' family member(s) '; $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.'; $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>'; echo '<p>' . $text . '</p>';
}?> }}?>
<?php } <?php }
else{?> else{?>
<p>Other Family Members is not available.</p> <p>Other Family Members is not available.</p>

View File

@ -1636,12 +1636,12 @@ font-weight: bolder;;
<?php } ?> <?php } ?>
</tbody> </tbody>
</table> </table>
<?php } } <?php } //name check if closed
if($fmValue['no_family_members_clix'] != "" || $fmValue['no_dependents_clix'] != "" ){ if($fmValue['no_family_members_clix'] != "" || $fmValue['no_dependents_clix'] != "" ){
$text = 'There are '.$fmValue['no_family_members_clix'].' family member(s) '; $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.'; $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>'; echo '<p>' . $text . '</p>';
}?> } } ?>
<?php } <?php }
else{?> else{?>
<p>Other Family Members is not available.</p> <p>Other Family Members is not available.</p>

View File

@ -1547,12 +1547,12 @@ defined('BASEPATH') OR exit('No direct script access allowed');
<?php } ?> <?php } ?>
</tbody> </tbody>
</table> </table>
<?php } } <?php } //name check if closed
if($fmValue['no_family_members_clix'] != "" || $fmValue['no_dependents_clix'] != "" ){ if($fmValue['no_family_members_clix'] != "" || $fmValue['no_dependents_clix'] != "" ){
$text = 'There are '.$fmValue['no_family_members_clix'].' family member(s) '; $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.'; $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>'; echo '<p>' . $text . '</p>';
}?> } }?>
<?php } <?php }
else{?> else{?>
<p>Other Family Members is not available.</p> <p>Other Family Members is not available.</p>