From 086d7069c012885e4fe52e4581f61f242a8d308e Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Mon, 27 Jul 2026 17:29:06 +0000 Subject: [PATCH] a --- Vue/Opticien/index.php | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Vue/Opticien/index.php b/Vue/Opticien/index.php index ebdbfc6..c1f0900 100755 --- a/Vue/Opticien/index.php +++ b/Vue/Opticien/index.php @@ -417,7 +417,21 @@ $agePrescription = $this->nettoyer($prescription['agePrescription']); $bonCaduc = $this->nettoyer($prescription['bonCaduc']); - + $otpStatus = $this->nettoyer($prescription['otpStatus']); + + if($modeSaisieFacture=="1") + { + $bonCaduc = "0"; + $otpStatus = -1; // Pas OTP en mode Décompte + } + + var_dump( + array( + "idPrestationactes" => $idPrestationactes, + "codeReponseEntentePrealable" => $codeReponseEntentePrealable, + "otpStatus" => $otpStatus, + ) + ); ?>