71 lines
3.8 KiB
PHP
Executable File
71 lines
3.8 KiB
PHP
Executable File
<?php $nbreFamilleacte = count($familleacte);?>
|
|
<div id="div_corpsfamilleacte">
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;" >
|
|
<thead>
|
|
<tr>
|
|
<th rowspan="2" style='text-align:center'> <?= _("Famille acte")." (".$nbreFamilleacte.")"; ?> </th>
|
|
<th colspan="5" width="20%" style='text-align:center'> <?= _("Plafond") ?> </th>
|
|
<th rowspan="2" width="10%" style='text-align:center'> <?= _("Delai Carence") ?> </th>
|
|
<th rowspan="2" width="10%" style='text-align:center'> <?= _("Ticket Modérateur") ?> </th>
|
|
</tr>
|
|
<tr>
|
|
<th style='text-align:center'> <?= _("Choix") ?> </th>
|
|
<th style='text-align:center'> <?= _("Valeur") ?> </th>
|
|
<th style='text-align:center'> <?= _("Transaction") ?> </th>
|
|
<th style='text-align:center'> <?= _("Périodicité") ?> </th>
|
|
<th style='text-align:center'> <?= _("Observation") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($familleacte as $v):
|
|
$idFamilleacte = $this->nettoyer($v['id']);
|
|
$codeFamilleActe = $this->nettoyer($v['codeFamilleActe']);
|
|
$libelle = $this->nettoyer($v['libelle']);
|
|
if (est_anglophone())
|
|
{
|
|
$libelle = $this->nettoyer($v['libelleEng']);
|
|
}
|
|
|
|
?>
|
|
<tr valign="top">
|
|
<td width="50%" style="font-size:8pt;"><?= $libelle; ?></td>
|
|
<td align='center' width="15%">
|
|
<select class="form-control text-center" style="font-size:8pt;"
|
|
onChange="ajax_maj_forfait_familleacte_produit_lienparente('<?=$idFamilleacte?>', this.value, this)">
|
|
<?= liste_options($forfaitTaux,$this->nettoyer($v['forfait']),true) ?>
|
|
</select>
|
|
</td>
|
|
<td width="20%">
|
|
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" onkeyup="controle_numerique(this);" onblur="formatMonetaire(this);"
|
|
value="<?= $_SESSION['choixForfait'] == "forfait" ? format_N($this->nettoyer($v['forfaitPlafond'])) : $this->nettoyer($v['tauxPlafond']); ?>"
|
|
onChange="ajax_maj_plafond_familleacte_produit_lienparente('<?=$idFamilleacte?>', this.value, this)">
|
|
</td>
|
|
<td align='center' >
|
|
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" onkeyup="controle_numerique(this);"
|
|
value="<?=$this->nettoyer($v['nbreTransaction'])?>" onChange="ajax_maj_nbretransaction_familleacte_produit_lienparente('<?=$idFamilleacte?>', this.value, this)">
|
|
</td>
|
|
<td align='center' width="15%">
|
|
<select class="form-control text-center" style="font-size:8pt;" onChange="ajax_maj_periodicite_familleacte_produit_lienparente('<?=$idFamilleacte?>', this.value, this)">
|
|
<?= liste_options($periodicite,$this->nettoyer($v['codePeriodicite']),true) ?>
|
|
</select>
|
|
</td>
|
|
<td align='center' width="20%">
|
|
<select class="form-control text-center" style="font-size:8pt;" onChange="ajax_maj_observation_familleacte_produit_lienparente('<?=$idFamilleacte?>', this.value, this)">
|
|
<?= liste_options($observation,$this->nettoyer($v['codeObservation']),true) ?>
|
|
</select>
|
|
</td>
|
|
<td align='center'>
|
|
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" onkeyup="controle_numerique(this);"
|
|
value="<?=$this->nettoyer($v['delaiCarenceFamilleActe'])?>"
|
|
onChange="ajax_maj_delaicarence_familleacte_produit_lienparente('<?=$idFamilleacte?>', this.value, this);">
|
|
</td>
|
|
<td align='center' >
|
|
<INPUT style='font-size:8pt;' class="form-control text-center" TYPE="text" onkeyup="controle_numerique(this);"
|
|
value="<?=$this->nettoyer($v['ticketModerateur'])?>"
|
|
onChange="ajax_maj_ticketmoderateur_familleacte_produit_lienparente('<?=$idFamilleacte?>', this.value, this);">
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|