production/Vue/Remiseenvigueurassure/index.php
2025-12-01 16:12:12 +00:00

121 lines
5.1 KiB
PHP
Executable File
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
$this->titre = "INTER SANTE - Récap résiliation";
$nbFactAntiDate = $this->nettoyer($avenant['nbFactAntiDate']);
?>
<button id="btn_pop" NAME="btn_pop" type="button" class="sr-only" data-bs-toggle="modal" data-bs-target="#popdetailassure"></button>
<legend> <?= _("RECAPITULATIF DE LA REMISE EN VIGUEUR DES ASSURES DE LA POLICE") . " : " . $this->nettoyer($_SESSION['numeroPolice_C'])?> </legend>
<table class="table table-responsive table-condensed" style='font-size:9pt; text-align:center'>
<thead>
<tr>
<th width="16%" style='text-align:center'> <?= _("Date Effet Police") ?> </th>
<th width="16%" style='text-align:center'> <?= _("Date Echéance Police") ?> </th>
<th width="16%" style='text-align:center'> <?= _("Durée Police") ?> </th>
<th width="16%" style='text-align:center'> <?= _("Date Effet Avenant") ?> </th>
<th width="16%" style='text-align:center'> <?= _("Date Echéance Avenant") ?> </th>
<th width="20%" style='text-align:center'> <?= _("Durée Avenant") ?> </th>
</tr>
</thead>
<tbody>
<tr>
<td> <?= dateLang($this->nettoyer($emission['dateEffet'])) ?> </td>
<td> <?= dateLang($this->nettoyer($emission['dateEcheance'])) ?> </td>
<td> <?= $this->nettoyer($emission['dureePolice']) ?> </td>
<td> <?= dateLang($this->nettoyer($avenant['dateEffet'])) ?> </td>
<td> <?= dateLang($this->nettoyer($avenant['dateEcheance'])) ?> </td>
<td> <?= $this->nettoyer($avenant['dureeAvenant']) ?> </td>
</tr>
</tbody>
</table>
<div id="div_assure_a_retirer">
<table class="table table-responsive table-condensed" style='font-size:9pt; text-align:center'>
<tbody>
<tr>
<td > <button type="button" style='font-size:10pt;' class="form-control btn btn-info" onclick="javascript:pop_afficher_selection_remiseenvigueur_assure();" > <?= _("Sélection des assurés à remettre en vigueur...") ?> </button> </td>
<td > <input style='font-size:10pt;' class = "form-control btn btn-danger" type="button" value="<?= _("Récapituler") ?>" onClick="javascript:actualiser_remiseenvigueur_assure();"> </td>
<td > <input style='font-size:10pt;' class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrer_remiseenvigueur_assure();"> </td>
</tr>
</tbody>
</table>
<legend> <?= _("DETAIL DES ASSURES A REMETTRE EN VIGUEUR") ?> </legend>
<INPUT class="sr-only" id="nbAliment" NAME="nbAliment" TYPE="text" value="<?= $this->nettoyer($avenant['nbAliment']) ?>" >
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
<thead>
<tr>
<th> <?= _("Nom") ?> </th>
<th style='text-align:center'> <?= _("Lien") ?> </th>
<th style='text-align:center'> <?= _("No") ?> </th>
<th style='text-align:center'> <?= _("Entrée") ?> </th>
<th width="5%" style='text-align:center'> <?= _("Choix") ?> </th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="4" style='text-align:center'> <?= _("Nbre assurés à remettre en vigueur") . " : " . $this->nettoyer($avenant['nbAliment']) ?> </td>
<td> </td>
</tr>
</tfoot>
<tbody>
<?php foreach ($beneficiaires_sel as $beneficiaire_sel):?>
<tr valign="top">
<td><?= $this->nettoyer($beneficiaire_sel['nomBeneficiaire']) ?></td>
<td align='center'><?= $this->nettoyer($beneficiaire_sel['codeLienParente']) ?></td>
<td align='center'><?= $this->nettoyer($beneficiaire_sel['numeroBeneficiaire']) ?></td>
<td align='center'><?= dateLang($this->nettoyer($beneficiaire_sel['dateEntree'])) ?></td>
<?php if($beneficiaire_sel['choix']=='1'): ?>
<td align='center'> <input type="checkbox" checked value="<?= $beneficiaire_sel['choix'] ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};beneficiaire_a_remettreenvigueur(this.value, <?= $beneficiaire_sel['idBeneficiaire_temp'] ?>);"></td>
<?php else: ?>
<td align='center'> <input type="checkbox" value="<?= $beneficiaire_sel['choix'] ?>" onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};beneficiaire_a_remettreenvigueur(this.value, <?= $beneficiaire_sel['idBeneficiaire_temp'] ?>);"></td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<div class="modal fade" id="popdetailassure" role="dialog" data-bs-backdrop="static" data-bs-keyboard="false" >
<div class="modal-dialog modal-lg" >
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-bs-dismiss="modal" onclick="javascript:actualiser_remiseenvigueur_assure();"> <?= _("Fermer") ?> </button>
<h4 class="modal-title"> <?= _("Détail remise en vigueur") ?> </h4>
</div>
<div class="modal-body">
<div id="div_selection_assure">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-bs-dismiss="modal" onclick="javascript:actualiser_remiseenvigueur_assure();"> <?= _("Fermer") ?> </button>
</div>
</div>
</div>
</div>