This commit is contained in:
KANE LAZENI 2026-03-10 16:36:04 +00:00
parent 9cb9f7d885
commit 96e35f7672
2 changed files with 12 additions and 7 deletions

View File

@ -10058,20 +10058,17 @@ function ajouterexamen_lab(idExamen, ententePrealable, codeActe, codeGarantie)
return; return;
} }
$.ajax({ $.ajax({
url: $("#racineWeb").val()+"Ajaxdetaillaboratoire/ajouterexamen/", url: $("#racineWeb").val()+"Ajaxdetaillaboratoire/ajouterexamen/",
type: 'POST', type: 'POST',
data: donnees, data: donnees,
success: function(data) { success: function(data) {
$("#livraison").html(data); $("#livraison").html(data);
//afficheDivPlafond();
getstatutacte(codeActe); getstatutacte(codeActe);
}, },
error: function(data) { error: function(data) {
}, },
complete: function() { complete: function() {
//alerter_depassement_limite();
} }
}); });
} }

View File

@ -379,7 +379,7 @@
<tr valign="top"> <tr valign="top">
<?php if($facture=="0") : ?> <?php if($facture=="0") : ?>
<?php if($valeurActe=="0") : ?> <?php if($valeurActe=="0" && $prixActeModifiable=="0") : ?>
<td width="5%" align='center'> </td> <td width="5%" align='center'> </td>
<?php else: ?> <?php else: ?>
<?php if($ententePrealable=='2'): ?> <?php if($ententePrealable=='2'): ?>
@ -519,6 +519,8 @@
$motifEng = $this->nettoyer($detaillivre['motifEng']); $motifEng = $this->nettoyer($detaillivre['motifEng']);
$tarif = $this->nettoyer($detaillivre['tarif']); $tarif = $this->nettoyer($detaillivre['tarif']);
$valeurActe = $this->nettoyer($detaillivre['valeurActe']);
$nbLivre++; $nbLivre++;
?> ?>
@ -551,10 +553,16 @@
<?php endif; ?> <?php endif; ?>
<?php endif; ?> <?php endif; ?>
<td align='center'> <td align='center'>
<button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'> <?php if($prixActeModifiable=="0") : ?>
<?= format_N($this->nettoyer($detaillivre['valeurActe'])) ?> <button type="button" class="span_link" title="<?= _("Voir le tarif appliqué") ?>" onClick='javascript:tarif_applique("<?= $tarif ?>");'>
</button> <?= 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('<?=$idLivre?>', this.value);}">
<?php endif; ?>
</td> </td>
<td align='center' > <?= format_N($this->nettoyer($detaillivre['quantite'])) ?> </td> <td align='center' > <?= format_N($this->nettoyer($detaillivre['quantite'])) ?> </td>
<td align='center' > <?= format_N($this->nettoyer($detaillivre['fraisReel'])) ?> </td> <td align='center' > <?= format_N($this->nettoyer($detaillivre['fraisReel'])) ?> </td>
<td align='center'> <?= $taux ?> </td> <td align='center'> <?= $taux ?> </td>