prestation/Vue/Ajaxtableauprestation/index.php
2025-12-01 18:54:33 +00:00

42 lines
1.6 KiB
PHP

<div id="div_tableau_prestation">
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
<thead>
<tr>
<th width="55%" rowspan="2" style='text-align:center'> <?= _("Type de Prestataire") ?> </th>
<th width="45%" colspan="3" style='text-align:center'> <?= _("Tickets Modérateurs (%)") ?> </th>
</tr>
<tr>
<th width="15%" style='text-align:center'> <?= _("Base") ?> </th>
<th width="15%" style='text-align:center'> <?= _("Racheté") ?> </th>
<th width="15%" style='text-align:center'> <?= _("En vigueur") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($tableau_prestations as $prestation):
$idPrestation=$this->nettoyer($prestation['id']);
$libelleReseausoin=$this->nettoyer($prestation['reseausoin']);
if (est_anglophone())
{
$libelleReseausoin = $this->nettoyer($prestation['reseausoinEng']);
}
?>
<tr valign="top">
<td align='center'><?= $libelleReseausoin ?></td>
<td align='center'><?= $this->nettoyer($prestation['tmBase']) ?></td>
<td align='center'><?= $this->nettoyer($prestation['tauxRachatTm']) ?></td>
<?php if($prestation['rachatTm']=='1'): ?>
<td>
<INPUT style='text-align:center' class="form-control" TYPE="text" value="<?= $this->nettoyer($prestation['tm']) ?>"
onChange="ajax_maj_tm('<?=$idPrestation?>', this.value, this);">
</td>
<?php else: ?>
<td align='center'><?= $this->nettoyer($prestation['tm']) ?></td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>