diff --git a/app/reservations/page.js b/app/reservations/page.js index e90a27a..8ca985f 100644 --- a/app/reservations/page.js +++ b/app/reservations/page.js @@ -41,7 +41,9 @@ async function enrich(reservation) { if (!reservation.propertyId) return reservation; try { const prop = await getRentProperty(reservation.propertyId); - reservation._prop = prop?.propertyInformation ?? prop ?? null; + const info = prop?.propertyInformation ?? prop ?? {}; + if (prop?.allowedPaymentPeriod) info.allowedPaymentPeriod = prop.allowedPaymentPeriod; + reservation._prop = info; } catch { /* skip */ } return reservation; }