Skip to content

Commit

Permalink
[IMP]pms_civitfun: service GET reservation search by folio name
Browse files Browse the repository at this point in the history
  • Loading branch information
DarioLodeiros committed Oct 23, 2023
1 parent 8865769 commit b671e58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pms_civitfun/services/pms_reservation_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,11 @@ def get_reservations(self, pms_search_param):
booking_code = pms_search_param.bookingCode.replace("-", "/")
domain.extend(
[
"|",
"|",
("external_reference", "=", booking_code),
("name", "=", booking_code),
("folio_id.name", "=", booking_code),
]
)
if pms_search_param.entranceDate:
Expand Down

0 comments on commit b671e58

Please sign in to comment.