Simplified comments
This commit is contained in:
@@ -846,27 +846,27 @@ def _process_single_reservation(reservation: Reservation, customer: Customer, me
|
||||
if reservation.offer is not None:
|
||||
offer_comment = CommentData(
|
||||
name=CommentName2.ADDITIONAL_INFO,
|
||||
text="Angebot/Offerta",
|
||||
list_items=[
|
||||
CommentListItemData(
|
||||
value=reservation.offer,
|
||||
language=customer.language,
|
||||
list_item="1",
|
||||
)
|
||||
],
|
||||
text="Angebot/Offerta: " + reservation.offer,
|
||||
# list_items=[
|
||||
# CommentListItemData(
|
||||
# value=reservation.offer,
|
||||
# language=customer.language,
|
||||
# list_item="1",
|
||||
# )
|
||||
# ],
|
||||
)
|
||||
comment = None
|
||||
if reservation.user_comment:
|
||||
comment = CommentData(
|
||||
name=CommentName2.CUSTOMER_COMMENT,
|
||||
text=reservation.user_comment,
|
||||
list_items=[
|
||||
CommentListItemData(
|
||||
value="Landing page comment",
|
||||
language=customer.language,
|
||||
list_item="1",
|
||||
)
|
||||
],
|
||||
# list_items=[
|
||||
# CommentListItemData(
|
||||
# value="Landing page comment",
|
||||
# language=customer.language,
|
||||
# list_item="1",
|
||||
# )
|
||||
# ],
|
||||
)
|
||||
comments = [offer_comment, comment]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user