This commit is contained in:
KANE LAZENI 2026-06-23 19:59:30 +00:00
parent 163cc7d778
commit bcfd5b89c3
2 changed files with 0 additions and 18 deletions

View File

@ -176,10 +176,6 @@ class ControleurAjaxdetailpharmacien extends Controleur {
$codeMedicamentPrescrit = $this->dmd->getCodeMedicament($idMedicament);
$codeMedicamentSubstitution = $this->dmd->getCodeMedicament($idSubstitut);
//var_dump($codeMedicamentPrescrit, $prixTarif, $codeMedicamentSubstitution, $prixSubstitut,
//$nvellePosologie, $qteMedicamentSubstitut);
//die();
$this->prescription->enregistrersubstitutionmedicament($codeMedicamentPrescrit, $prixTarif, $codeMedicamentSubstitution, $prixSubstitut,
$nvellePosologie, $qteMedicamentSubstitut);

View File

@ -2,21 +2,9 @@
$idDemandeSubstitution = $subsEnCours['id'];
//var_dump($idDemandeSubstitution);
$codeReponseEntentePrealable = $subsEnCours['codeReponseEntentePrealable'];
?>
<!--
prixTarif
<input type="text" type="number" value="<?= $this->nettoyer($medicament['prixTarif']) ?>" >
appliquerMargePrixSubstitutMedicament
<input type="text" type="number" value="<?= $this->nettoyer(marges['appliquerMargePrixSubstitutMedicament']) ?>" >
margePrixSubstitutMedicament
<input type="text" type="number" value="<?= $this->nettoyer(marges['margePrixSubstitutMedicament']) ?>" >
-->
<div id="div_substitution">
<form id="frmmedicament" name="frmmedicament" method="post" >
<input class="sr-only" type="text" id="prixTarif" name="prixTarif" type="number" value="<?= $this->nettoyer($medicament['prixTarif']) ?>" >
@ -103,7 +91,6 @@ margePrixSubstitutMedicament
</td>
<?php elseif($codeReponseEntentePrealable=='1'): ?>
<td colspan="5">
<!-- <input class="form-control" style="font-size:12pt;background-color: #00ff00;text-align:center;" id="codeReponseEntentePrealable" name="codeReponseEntentePrealable" value="<?= $libelleReponse ?>" readonly > </td> -->
<input class="form-control" style="font-size:12pt;background-color: #00ff00;text-align:center;" id="codeReponseEntentePrealable" name="codeReponseEntentePrealable" value="<?= $libelleReponse ?>" readonly > </td>
</td>
<?php endif; ?>
@ -115,7 +102,6 @@ margePrixSubstitutMedicament
<?php endif; ?>
<tr>
<!--<td colspan="2" > <input id="btn_actu" name="btn_actu" class = "form-control btn btn-warning" type="button" value="<?= _("Actualiser") ?>" onClick="etatreponsesubstitution();" style='font-size:10pt;' disabled> </td>-->
<td colspan="5"><input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Substituer") ?>" onClick="enregistrersubstituion_medicament();" style='font-size:10pt;' disabled> </td>
</tr>
</tbody>