Correction Bug : Validation

This commit is contained in:
2026-05-11 14:46:59 +00:00
parent 5277b7f355
commit 489eeb439f
3 changed files with 6 additions and 5 deletions

1
Jenkinsfile vendored
View File

@@ -39,6 +39,7 @@ pipeline
python manage.py makemigrations python manage.py makemigrations
python manage.py migrate python manage.py migrate
python manage.py collectstatic
echo $SUDO_PASSWORD | sudo -S chown -R www-data:www-data /var/www/sirh echo $SUDO_PASSWORD | sudo -S chown -R www-data:www-data /var/www/sirh
echo "Deploiement reussi" echo "Deploiement reussi"

View File

@@ -33,11 +33,11 @@ const calendrier = Schedule(document.getElementById('planning-reservation'), {
$("lien_zoom_container").className = "d-none"; $("lien_zoom_container").className = "d-none";
} }
if(data.statut !== "annulee"){ // if(data.statut !== "annulee"){
$("motif_refus_container").className = "d-none"; // $("motif_refus_container").className = "d-none";
}else{ // }else{
$("motif_refus").value=data.motif_refus; // $("motif_refus").value=data.motif_refus;
} // }
}) })
} }
}); });