This commit is contained in:
KANE LAZENI 2026-03-10 16:46:19 +00:00
parent 3566f17d67
commit bdca68589e

View File

@ -2,6 +2,7 @@
$numeroBonExamen = $prescription['numeroBonExamen'];
$facture = $prescription['facture'];
$actVisible = $_SESSION['p_actVisible'];
$prixActeModifiable = $_SESSION['p_prixActeModifiable'];
?>
<div id="livraison">
@ -77,7 +78,7 @@
<tr valign="top">
<?php if($facture=="0") : ?>
<?php if($valeurActe=="0") : ?>
<?php if($valeurActe=="0" && $prixActeModifiable=="0") : ?>
<td width="5%" align='center'> </td>
<?php else: ?>
<?php if($ententePrealable=='2'): ?>
@ -216,6 +217,8 @@
$motifEng = $this->nettoyer($detaillivre['motifEng']);
$tarif = $this->nettoyer($detaillivre['tarif']);
$valeurActe = $this->nettoyer($detaillivre['valeurActe']);
$nbLivre++;
?>
@ -247,13 +250,18 @@
<?= $codeActe ?>
<?php endif; ?>
<?php endif; ?>
<td align='center'>
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
<?= format_N($this->nettoyer($detaillivre['valeurActe'])) ?>
</button>
<?php if($prixActeModifiable=="0") : ?>
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
<?= format_N($valeurActe) ?>
</button>
<?php else: ?>
<INPUT class="form-control" style='text-align:center' TYPE="number" value="<?= $valeurActe ?>"
onChange="this.value=supprimer_espace_nombre(this.value);if(controle_numerique(this)){modifier_prix_examen_lab('<?=$idLivre?>', this.value);}">
<?php endif; ?>
</td>
<td align='center' > <?= format_N($this->nettoyer($detaillivre['quantite'])) ?> </td>
<td align='center' > <?= format_N($this->nettoyer($detaillivre['fraisReel'])) ?> </td>
<td align='center'> <?= $taux ?> </td>