diff --git a/Js/fonctions.js b/Js/fonctions.js index d00cb33..1f6b6e7 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -6291,7 +6291,15 @@ async function valider_opticien() { return; } - if (codeReponseEntentePrealable != "1") { + if (codeReponseEntentePrealable == "9") { + alert_ebene( + "Vous ne pouvez pas facturer. Accord refuisé!", + "You cannot bill. Agreement refused!" + ); + return; + } + + if (codeReponseEntentePrealable != "1") { alert_ebene( "Vous ne pouvez pas facturer! Veuillez attendre l'accord de l'assureur.", "You cannot charge! Please wait for the agreement of the insurer." diff --git a/Vue/gabarit.php b/Vue/gabarit.php index cf439fe..f05a079 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -885,7 +885,7 @@ - +