[FIX] pms_api_rest: filter last received reservations 'normal' - dashboard service

This commit is contained in:
miguelpadin
2024-01-08 10:25:41 +01:00
committed by Darío Lodeiros
parent 6283c1e920
commit 310f350efa

View File

@@ -685,6 +685,7 @@ class PmsDashboardServices(Component):
[
("first_checkin", ">=", datetime.now().date()),
("pms_property_id", "=", pms_folio_search_param.pmsPropertyId),
("reservation_type", "=", "normal"),
],
limit=pms_folio_search_param.limit,
offset=pms_folio_search_param.offset,
@@ -738,5 +739,6 @@ class PmsDashboardServices(Component):
[
("first_checkin", ">=", datetime.now().date()),
("pms_property_id", "=", pms_folio_search_param.pmsPropertyId),
("reservation_type", "=", "normal"),
],
)