This commit is contained in:
KANE LAZENI 2026-03-13 11:03:42 +00:00
parent 606e9b2ef2
commit 51a5d52f9f
3 changed files with 13 additions and 7 deletions

View File

@ -28797,8 +28797,6 @@ function no_presciption()
const numOrd = $("#numOrd").val();
const noPrescription = $("#noPrescription").val();
alert("numOrd = "+numOrd+" ; noPrescription = "+noPrescription);
// Si aucune ordonnance ni indication "pas de prescription"
if (numOrd == "0" && noPrescription == "0") {
const v_msg = "Confirmez-vous qu'il n'y a pas de prescription de m\u00e9dicaments?";
@ -28812,10 +28810,15 @@ function no_presciption()
$.ajax({
url: $("#racineWeb").val() + "Ajaxenregistrerprescription/noprescription/",
type: 'post',
error: function(errorData) {},
success: function(data) {},
error: function(errorData) {
alert(errorData);
},
success: function(data) {
alert(data);
},
complete: function() {
feuillemaladie(); // Rechargement de la feuille de maladie
// feuillemaladie(); // Rechargement de la feuille de maladie
}
});
}

View File

@ -95,7 +95,10 @@ class Prescription extends Modele {
public function noprescription()
{
$numeroFeuilleMaladie = $_SESSION['p_numeroFeuilleMaladie_C'];
echo "numeroFeuilleMaladie = $numeroFeuilleMaladie";
exit;
$sql = 'call sp_p_no_prescription(?)';
$this->executerRequete($sql, array($numeroFeuilleMaladie));

View File

@ -909,7 +909,7 @@
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.css" integrity="sha512-3pIirOrwegjM6erE5gPSwkUzO+3cTjpnV9lexlNZqvupR64iZBnOOTiiLPb9M36zpMScbmUNIcHUqKD47M719g==" crossorigin="anonymous" referrerpolicy="no-referrer" />-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js" integrity="sha512-VEd+nq25CkR676O+pLBnDW09R7VQX9Mdiij052gVCp5yVH3jGtH70Ho/UUv4mJDsEdTvqRCFZg0NKGiojGnUCw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="Js/fonctions.js?ver=2026.03.13.00"></script>
<script src="Js/fonctions.js?ver=2026.03.13.01"></script>
<script src="Bootstrap/js/bootstrap.min.js"></script>
<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>