Keep latest booking to product bundle state

This commit is contained in:
uri 2024-10-04 10:32:15 +02:00
parent 3480d4d787
commit 4de5c08a26
2 changed files with 3 additions and 1 deletions

View file

@ -26,3 +26,4 @@ inner join
btpb.created_date_utc <= upb.effective_end_date_utc
or upb.effective_end_date_utc is null
)
where btpb.has_no_end_date = true

View file

@ -2758,7 +2758,8 @@ models:
This model contains the information of which booking is linked to a
specific product bundle. It's a subset of all bookings since it only
applies to bookings that come from hosts that have been migrated into
the New Dash.
the New Dash. Only the latest product bundle associated to the booking
is shown.
Note: at this moment, it's not straight-forward to know which product service
is applied in the booking. We only know that a booking is linked to a product