prestation/Vue/Ajaxfactureconsprestataire/verres.php
2025-12-01 18:54:33 +00:00

36 lines
1.2 KiB
PHP

<div id="div_facture_detail">
<?php
$actVisible = $_SESSION['p_actVisible'];
?>
<input style='text-align:center; font-size:11pt; background-color:blue;color:white;' class="form-control" type="text" value="<?= _("Les Verres Livrés") ?>" disabled >
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:9pt;">
<thead>
<tr>
<th width="15%" style="text-align:center"> Date </th>
<th style="text-align:center"> <?= _("Verres") ?> </th>
<th width="10%" style="text-align:center"> <?= _("Valeur") ?> </th>
</tr>
</thead>
<tbody>
<?php foreach ($verres as $verre):
$libelleVerre = $this->nettoyer($verre['libelleVerre']);
$codeOptique = $this->nettoyer($verre['codeOptique']);
if($actVisible!="1")
{
$libelleVerre = $codeOptique;
}
?>
<tr valign="top">
<td align='center'> <?= dateheureLang($this->nettoyer($verre['dateSysteme'])) ?> </td>
<td align='center'> <?= $libelleVerre ?> </td>
<td align='center'> <?= format_N($this->nettoyer($verre['valeurActe'])) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>