61 lines
2.4 KiB
PHP
61 lines
2.4 KiB
PHP
<div id="div_compsante_tarif">
|
|
<div class="row">
|
|
<div id="div_acte_1" class="col-5" >
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact" style="font-size:8pt;">
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:center'> <?= _("Lettres clés disponibles (".count($lettrecle).")") ?> </th>
|
|
<th width="7%" style='text-align:center'> => </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php foreach ($lettrecle as $v):
|
|
$lettreCle = $v['lettreCle'];
|
|
?>
|
|
|
|
<tr valign="top">
|
|
<td align='center'><?= $this->nettoyer($v['lettreCle']) ?></td>
|
|
<td align='center'> <input type="button" value="=>" onClick="javascript:ajouter_une_lettre_cle_tarif('<?=$lettreCle?>');" ></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="div_acte_2" class="col-7" >
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact" style="font-size:8pt;">
|
|
<thead>
|
|
<tr>
|
|
<th width="7%" style='text-align:center'> <= </th>
|
|
<th style='text-align:center'> <?= _("Lettres clés tarif (".count($lettrecletarif).")") ?> </th>
|
|
<th width="20%" style='text-align:center'> <?= _("Coût Jour Ouvrable") ?> </th>
|
|
<th width="20%" style='text-align:center'> <?= _("Coût Nuit et Férié") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php foreach ($lettrecletarif as $v):
|
|
$idTarif = $v['id'];
|
|
?>
|
|
<tr valign="top">
|
|
<td align='center'> <input type="button" value="<=" onClick="javascript:retirer_une_lettre_cle_tarif('<?=$idTarif?>');" ></td>
|
|
|
|
<td align='center'><?= $this->nettoyer($v['lettreCle']) ?></td>
|
|
|
|
<td width="20%">
|
|
<INPUT class="form-control" style='text-align:center' TYPE="number" value="<?= $this->nettoyer($v['cout']) ?>"
|
|
onChange="this.value=supprimer_espace_nombre(this.value);if(controle_numerique(this)){maj_cout_lettrecle_tarif('<?=$idTarif?>', this.value);}">
|
|
</td>
|
|
<td width="20%">
|
|
<INPUT class="form-control" style='text-align:center' TYPE="number" value="<?= $this->nettoyer($v['coutNuit']) ?>"
|
|
onChange="this.value=supprimer_espace_nombre(this.value);if(controle_numerique(this)){maj_coutnuit_lettrecle_tarif('<?=$idTarif?>', this.value);}">
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|