Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 01bb12d
Author: Roman <[email protected]>
Date:   Tue Oct 31 15:10:44 2023 +0100

    Add booking state and bookings folder uid to JSON serializerd booking
  • Loading branch information
folix-01 committed Oct 31, 2023
1 parent 2cd0032 commit 7aba157
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,12 @@ def __call__(self, *args, **kwargs):
"staff_notes": self.prenotazione.staff_notes,
"booking_date": json_compatible(booking_date),
"booking_expiration_date": json_compatible(booking_expiration_date),
"booking_status": status["review_state"],
"booking_status_label": translate(
status["review_state"], context=self.request
),
"booking_type": self.prenotazione.booking_type,
"booking_folder_uid": booking_folder.UID(),
"vacation": self.prenotazione.isVacation(),
"booking_code": self.prenotazione.getBookingCode(),
"cosa_serve": useful_docs,
Expand Down

0 comments on commit 7aba157

Please sign in to comment.