newdesigngestionnaire/Societes/envoyx/Tarifs/Vue/Ajaxcorpsacte.php
2026-03-04 00:45:44 +00:00

69 lines
3.5 KiB
PHP
Executable File

<?php $nbreActe = count($actes);?>
<div id="div_corpsacte" >
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;" >
<thead style="display: block;">
<tr>
<th rowspan="2" style='text-align:center' width="31%"> <?= _("Actes")." (".$nbreActe.")"; ?> </th>
<th colspan="5" style='text-align:center'> <?= _("Plafond") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Delai Carence") ?> </th>
<th rowspan="2" style='text-align:center'> <?= _("Ticket Modérateur") ?> </th>
</tr>
<tr>
<th style='text-align:center' width="10%"> <?= _("Choix") ?> </th>
<th style='text-align:center' width="12%"> <?= _("Valeur") ?> </th>
<th style='text-align:center' width="9%"> <?= _("Transaction") ?> </th>
<th style='text-align:center' width="10%"> <?= _("Périodicité") ?> </th>
<th style='text-align:center' width="12%"> <?= _("Observation") ?> </th>
</tr>
</thead>
<tbody style="overflow:auto; height:210px; display:block;">
<?php foreach ($actes as $v):
$idActe = $this->nettoyer($v['id']);
$libelle = $this->nettoyer($v['libelle']);
if (est_anglophone())
{
$libelle = $this->nettoyer($v['libelleEng']);
}
?>
<tr valign="top">
<td width="31%" style="font-size:8pt;"><?= $libelle; ?></td>
<td align='center' width="11%">
<select class="form-control text-center" onChange="ajax_maj_forfait_status('<?=$idActe?>', this.value, this);">
<?= liste_options($forfaitTaux,$this->nettoyer($v['forfait']),true) ?>
</select>
</td>
<td width="12%">
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" onkeyup="controle_numerique(this);"
onChange="ajax_maj_plafond_status('<?=$idActe?>', this.value, this);" onblur="formatMonetaire(this);"
value="<?= $_SESSION['choixForfait'] == "forfait" ? format_N($this->nettoyer($v['forfaitPlafond'])) : $this->nettoyer($v['tauxPlafond']); ?>">
</td>
<td align='center' width="9%">
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" onkeyup="controle_numerique(this);"
onChange="ajax_maj_nbreTransaction_status('<?=$idActe?>', this.value, this);"
value="<?=$this->nettoyer($v['nbreTransaction'])?>">
</td>
<td align='center' width="11%">
<select class="form-control text-center" onChange="ajax_maj_codeperiodicite_status('<?=$idActe?>', this.value, this);">
<?= liste_options($periodicite,$this->nettoyer($v['codePeriodicite']),true) ?>
</select>
</td>
<td align='center' width="12%">
<select class="form-control text-center" onChange="ajax_maj_codeobservation_status('<?=$idActe?>', this.value, this);">
<?= liste_options($observation,$this->nettoyer($v['codeObservation']),true) ?>
</select>
</td>
<td align='center' width="7%">
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" onkeyup="controle_numerique(this);"
onChange="ajax_maj_delaicarenceacte_status('<?=$idActe?>', this.value, this);"
value="<?=$this->nettoyer($v['delaiCarenceActe'])?>">
</td>
<td align='center' width="8%">
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" onkeyup="controle_numerique(this);"
onChange="ajax_maj_ticketmoderateur_acte_status('<?=$idActe?>', this.value, this);"
value="<?=$this->nettoyer($v['ticketModerateur'])?>">
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>