This commit is contained in:
KANE LAZENI 2026-07-26 14:12:56 +00:00
parent 4ae47737f1
commit f3c1641b83
2 changed files with 23 additions and 4 deletions

View File

@ -5360,10 +5360,29 @@ async function facturer_feuillemaladie() {
const otpStatus = $("#otpStatus").val(); const otpStatus = $("#otpStatus").val();
// Gestion OTP facturation // Gestion OTP facturation
alert("otpStatus => "+otpStatus); alert("otpStatus => "+otpStatus);
let o_msg = "";
let o_msgEng = "";
switch (otpStatus) {
case 0:
o_msg = "Veuillez envoyer un code de vérification à l'assuré!";
o_msgEng = "Please send a verification code to the insured.!";
break;
case 2:
o_msg = "Veuillez saisir le code de vérification reçu par l'assuré sur son téléphone portable ou son adresse e-mail!";
o_msgEng = "Please enter the verification code received by the insured person on their mobile phone or at their email address!";
break;
case 9:
o_msg = "Code incorrect, veuillez réessayer!";
o_msgEng = "Incorrect code, please try again!";
break;
default:
o_msg = "Veuillez envoyer un code de vérification à l'assuré!";
o_msgEng = "Please send a verification code to the insured!";
}
if (otpStatus!=1 && otpStatus!=-1) { if (otpStatus!=1 && otpStatus!=-1) {
const v_msg = "Déjà facturé!"; alert_ebene(o_msg, o_msgEng);
const v_msgEng = "Already charged!";
alert_ebene(v_msg, v_msgEng);
return; return;
} }

View File

@ -885,7 +885,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/toastr@2.1.4/build/toastr.min.css" crossorigin="anonymous"> <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="https://cdn.jsdelivr.net/npm/toastr@2.1.4/build/toastr.min.js" crossorigin="anonymous"></script>
<script src="Js/fonctions.js?ver=2026.07.26.01"></script> <script src="Js/fonctions.js?ver=2026.07.26.02"></script>
<script src="Bootstrap/js/bootstrap.min.js"></script> <script src="Bootstrap/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js"></script> <script src="https://cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js"></script>