a
This commit is contained in:
parent
752605e85e
commit
9ae13f81a8
|
|
@ -4637,54 +4637,25 @@ function verifierPrixSubstitut(controle){
|
|||
|
||||
if(appliquerMargePrixSubstitutMedicament == "1"){
|
||||
prixTarif = prixTarif + margePrixSubstitutMedicament;
|
||||
}else{
|
||||
}
|
||||
/*else{
|
||||
$("#btn_actu").prop("disabled",true);
|
||||
$("#btn_enreg").prop("disabled",false);
|
||||
$("#div_patienter").empty();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
donnees_sav = 'idMedicament='+idMedicament+'&nomPrescrit='+nomPrescrit+'&prixTarif='+prixTarif;
|
||||
donnees_sav += '&idSubstitut='+idSubstitut+'&libelleSubstitut='+libelleSubstitut;
|
||||
donnees_sav += '&prixPublicSubstitut='+prixPublicSubstitut+'&prixSubstitut='+prixSubstitut;
|
||||
donnees_sav += '&posologie='+posologie+'&nvellePosologie='+nvellePosologie;
|
||||
donnees_sav += '&typeMail=maildemandesubstitution';
|
||||
|
||||
|
||||
|
||||
//donnees_sav = 'idMedicament='+idMedicament+'&prixTarif='+prixTarif;
|
||||
//donnees_sav += '&idSubstitut='+idSubstitut+'&prixSubstitut='+prixSubstitut;
|
||||
//donnees_sav += '&typeMail=maildemandesubstitution';
|
||||
|
||||
*/
|
||||
|
||||
if(prixSubstitut > 0){
|
||||
if(prixSubstitut > prixTarif){
|
||||
//typeSms = "demandesubstitution";
|
||||
//v_msg="Le prix du m\u00e9dicament de substitution est sup\u00e9rieur au prix du m\u00e9dicament prescrit augment\u00e9 de la marge maximum de "+formatCurrency(margePrixSubstitutMedicament)+" "+devise+" d\u00e9finie, veuillez attendre l'accord de l'assureur avant de continuer.";
|
||||
//v_msgEng="The price of the replacement drug is higher than the price of the prescribed drug plus the maximum margin of "+formatCurrency(margePrixSubstitutMedicament)+" "+devise+" defined, please wait for the insurer's agreement before continuing.";
|
||||
|
||||
v_msg="Vous devez imp\u00e9rativement prendre un m\u00e9dicament de prix inf\u00e9rieur ou \u00e9gal \u00e0 celui prescrit!";
|
||||
v_msgEng="You must imperatively take a medicine of lower price or equal to that prescribed!";
|
||||
|
||||
alert_ebene(v_msg, v_msgEng);
|
||||
|
||||
|
||||
|
||||
$("#searchInput").val("");
|
||||
$("#prixSubstitut").val(0);
|
||||
//preparesms(typeSms);
|
||||
|
||||
//mettremailattente(donnees_sav);
|
||||
|
||||
|
||||
//$("#btn_actu").prop("disabled",false);
|
||||
|
||||
//etatreponsesubstitution();
|
||||
|
||||
//$("#btn_actu").focus();
|
||||
//$("#btn_actu").click();
|
||||
|
||||
//sleep(1/10);
|
||||
//$("#btn_actu").click();
|
||||
return false;
|
||||
}else{
|
||||
$("#btn_actu").prop("disabled",true);
|
||||
|
|
|
|||
|
|
@ -6,6 +6,16 @@
|
|||
|
||||
$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']) ?>" >
|
||||
|
|
@ -78,13 +88,6 @@
|
|||
</td>
|
||||
</tr>
|
||||
|
||||
<!--
|
||||
<tr >
|
||||
<td colspan="3">
|
||||
<input type="button" class = "form-control btn btn-primary" style='font-size:10pt;' value="<?= _("Rechercher un médicament de substitution") ?>" onclick="javascript:afficher_liste_recherche_medicament();" />
|
||||
</td>
|
||||
-->
|
||||
|
||||
</tr>
|
||||
|
||||
<?php if($idDemandeSubstitution > "0"): ?>
|
||||
|
|
|
|||
|
|
@ -892,7 +892,7 @@
|
|||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/toastr@2.1.4/build/toastr.min.css" crossorigin="anonymous">
|
||||
<script src="https://cdn.jsdelivr.net/npm/toastr@2.1.4/build/toastr.min.js" crossorigin="anonymous"></script>
|
||||
|
||||
<script src="Js/fonctions.js?ver=2026.06.23.09"></script>
|
||||
<script src="Js/fonctions.js?ver=2026.06.23.10"></script>
|
||||
<script src="Bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js"></script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user