Skip to content

Commit

Permalink
Update reservation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ezkat committed May 15, 2024
1 parent c02ac94 commit c6d3bdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/models/reservation.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ def handle_notification(self, state, user, old_state):
order and order.state == order.CANCELLED,
order and order.state == order.EXPIRED and self.need_manual_confirmation()])
if not order or cancelled_or_expired:
self.send_reservation_cancelled_mail(action_by_official=action_by_official)
if not action_by_official:
self.notify_staff_about_reservation(NotificationType.RESERVATION_CANCELLED_OFFICIAL)
elif state == Reservation.READY_FOR_PAYMENT:
Expand Down

0 comments on commit c6d3bdb

Please sign in to comment.