prestation/Vue/Changerlimite/index.php
2025-12-05 10:42:46 +00:00

47 lines
2.0 KiB
PHP
Executable File

<?php $this->titre = "INTER-SANTE - Limites additionnelles famille";
?>
<legend> <?= _("CHANGEMENT DES LIMITES DE LA FAMILLE") ?> </legend>
<form id="frmcreercollege" id="frmcreercollege" method="post" action="Changerlimite/enregistrer">
<INPUT class="sr-only" TYPE="text" id="idPolice" name="idPolice" value="<?= $_SESSION['idPolice_C'] ?>">
<INPUT class="sr-only" TYPE="text" id="numeroPolice" name="numeroPolice" value="<?= $_SESSION['numeroPolice_C'] ?>">
<input class="sr-only" id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="submit" value="<?= _("Enregistrer") ?>" />
<div id="div_garanties">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
<thead>
<tr>
<th style='text-align:center'> <?= _("Garantie") ?> </th>
<th width="20%" style='text-align:center'> <?= _("Anc Plafond") ?> </th>
<th width="20%" style='text-align:center'> <?= _("Nouv Plafond") ?> </th>
<th width="20%" style='text-align:center'> <?= _("Plaf Add") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($garantiesadd as $garantieadd):
$idGarantie=$this->nettoyer($garantieadd['id']);
?>
<tr valign="top">
<td align='center'> <?= $this->nettoyer($garantieadd['garantie']) ?> </td>
<td align='center'> <?= format_N($this->nettoyer($garantieadd['plafondOld'])) ?></td>
<td style='color:red' align='center'><?= format_N($this->nettoyer($garantieadd['plafondNew'])) ?></td>
<td align='center'><INPUT class="form-control" style='text-align:center;font-size:10pt;' TYPE="text" value="<?=$this->nettoyer($garantieadd['plafond'])?>"
onChange="maj_limite_add_adherent('<?=$idGarantie?>', this.value, this);">
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>
<?php if (isset($msgErreur)): ?>
<div class="alert alert-danger" style="height:38px; padding:5px;" >
<H4><?= $msgErreur ?></H4>
</div>
<?php endif; ?>
</form>