Correction sur l'affichage des detail de la reservation
Some checks failed
Organisation/sirh/pipeline/head There was a failure building this commit
Organisation/sirh/pipeline/pr-main There was a failure building this commit

This commit is contained in:
2026-06-18 11:31:54 +00:00
parent a28b177eba
commit 67c14cfc7e
2 changed files with 4 additions and 2 deletions

View File

@@ -153,7 +153,8 @@ def detail_reservation(request:HttpRequest, reservation_id:int):
'employe': f"{employe.first_name} {employe.last_name}",
'salle': reservation.salle,
'statut': dict(Reservation.STATUT).get(reservation.statut),
'date_evenement': reservation.date_debut.strftime('%Y-%m-%d'),
'date_debut': reservation.date_debut.strftime('%Y-%m-%d'),
'date_fin': reservation.date_fin.strftime('%Y-%m-%d'),
'heure_debut': reservation.heure_debut.strftime('%H:%M'),
'heure_fin': reservation.heure_fin.strftime('%H:%M'),
'motif_reservation': reservation.motif_reservation,