This commit is contained in:
KANE LAZENI 2026-06-23 20:52:04 +00:00
parent 1f80d05888
commit ef763a6f8c

View File

@ -318,7 +318,7 @@
<table class="table table-striped table-hover table-bordered table-condensed table-responsive" style='font-size:9pt;'>
<thead>
<tr>
<th style="text-align:center"> <?= _("Subtitut") ?> </th>
<th colspan='2' style="text-align:center"> <?= _("Subtitut") ?> </th>
<th style="text-align:center"> <?= _("Nom") ?> </th>
<th style="text-align:center"> <?= _("Forme") ?> </th>
<th style="text-align:center"> <?= _("Prix Unitaire") ?> </th>
@ -379,9 +379,14 @@
?>
<tr valign="top">
<?php if($livre == "0") : ?>
<td width="5%" align='center'> <input type="button" value=" ... " onClick="javascript:substituer_medicament('<?= $idMedicament ?>','<?= $posologie ?>', '<?= $idDemandeSubstitution ?>','<?= $quantite ?>','<?= $codeMedicamentSubstitut ?>','<?= $idDetail ?>');"></td>
<?php if($codeMedicamentSubstitut>""): ?>
<td width="5%" align='center'> <input type="button" value=" ... " onClick="javascript:substituer_medicament('<?= $idMedicament ?>','<?= $posologie ?>', '<?= $idDemandeSubstitution ?>','<?= $quantite ?>','<?= $codeMedicamentSubstitut ?>','<?= $idDetail ?>');"></td>
<td width="5%" align='center'> <input type="button" value=" .-. " onClick="javascript:annuler_substit_medicament('<?= $idDetail ?>');"></td>
<?php else: ?>
<td width="10%" align='center'> <input type="button" value=" ... " onClick="javascript:substituer_medicament('<?= $idMedicament ?>','<?= $posologie ?>', '<?= $idDemandeSubstitution ?>','<?= $quantite ?>','<?= $codeMedicamentSubstitut ?>','<?= $idDetail ?>');"></td>
<?php endif; ?>
<?php else: ?>
<td width="5%" align='center'>S</td>
<td width="10%" align='center'>S</td>
<?php endif; ?>
<?php if($substituable=="1") : ?>
<td align='center' style="background-color: yellow;"> <?= $libelleMedicament . " => " . $nomSubstitut ?> </td>