30 lines
1.1 KiB
PHP
Executable File
30 lines
1.1 KiB
PHP
Executable File
<div id="div_detail">
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive">
|
|
<thead>
|
|
<tr>
|
|
<th rowspan="2" > <?= _("Verre") ?> </th>
|
|
<th colspan="2" style='text-align:center'> <?= _("Valeur") ?> </th>
|
|
</tr>
|
|
<tr>
|
|
<th width="10%" style='text-align:center'> <?= _("Ancienne") ?> </th>
|
|
<th width="10%" style='text-align:center'> <?= _("Nouvelle") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<?php foreach ($detailtarifs as $detailtarif):
|
|
$idDetail = $this->nettoyer($detailtarif['id']);
|
|
?>
|
|
<tr valign="top">
|
|
<td><?= $this->nettoyer($detailtarif['libelleOptique']) ?></td>
|
|
|
|
<td style='text-align:center'> <?= format_N($this->nettoyer($detailtarif['prix'])) ?> </td>
|
|
|
|
<td><INPUT class="form-control" style='text-align:center' TYPE="number" value="<?= $this->nettoyer($detailtarif['prix']) ?>"
|
|
onChange="this.value=supprimer_espace_nombre(this.value);if(controle_numerique(this)){maj_tarifoptique('<?=$idDetail?>', this.value);}"></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|