From 4ae47737f1a040483c91acc4501f8a0c94fee4ba Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Sun, 26 Jul 2026 13:56:58 +0000 Subject: [PATCH] a --- Js/fonctions.js | 12 +++++++++++- Vue/gabarit.php | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 6ecf478..49fdf39 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -5357,7 +5357,17 @@ async function facturer_feuillemaladie() { return; } - // Vérification si le prix est nul + const otpStatus = $("#otpStatus").val(); + // Gestion OTP facturation + alert("otpStatus => "+otpStatus); + if (otpStatus!=1 && otpStatus!=-1) { + const v_msg = "Déjà facturé!"; + const v_msgEng = "Already charged!"; + alert_ebene(v_msg, v_msgEng); + return; + } + + // Vérification si le prix est nul if (prixActe === "0") { const v_msg = "Rien à facturer!"; const v_msgEng = "Nothing to charge!"; diff --git a/Vue/gabarit.php b/Vue/gabarit.php index afd334b..9fb6c47 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -885,7 +885,7 @@ - +