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

34 lines
1.3 KiB
PHP
Executable File

<?php $this->titre = "INTER-SANTE - Modification Durée de vie des bons"; ?>
<script type="text/javascript">
</script>
<div id="div_liste_prestataire">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
<thead>
<tr>
<th style="text-align:center" > <?= _("Type de bon") ?> </th>
<th width="15%" style="text-align:center" > <?= _("Anc Durée") ?> </th>
<th width="15%" style="text-align:center" > <?= _("Nouv Durée") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($typebons as $typebon):
$idTypebon = $this->nettoyer($typebon['id']);
$codeTypeBon = $this->nettoyer($typebon['codeTypeBon']);
?>
<tr valign="top">
<td align="center"> <?= $this->nettoyer($typebon['libelleTypebon']) ?></td>
<td align="center"><?= $this->nettoyer($typebon['dureeVie']) ?></td>
<td align='center'>
<INPUT style="font-size:10pt; text-align:center;" class="form-control" TYPE="number" value="<?= $this->nettoyer($typebon['dureeVie']) ?>"
onChange="this.value=supprimer_espace_nombre(this.value);if(controle_numerique(this)){maj_duree_vie_bon('<?=$idTypebon?>', this.value);}">
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>