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, + ) + ); ?>