[IMP]pms_api_rest: added firstCheckin and createDate fields in folio info datamodel

This commit is contained in:
braisab
2023-04-25 12:07:58 +02:00
committed by Darío Lodeiros
parent 9c9ead1d8d
commit 8be8614044
2 changed files with 4 additions and 0 deletions

View File

@@ -57,7 +57,9 @@ class PmsFolioService(Component):
amountTotal=round(folio.amount_total, 2),
reservationType=folio.reservation_type,
pendingAmount=folio.pending_amount,
firstCheckin=str(folio.first_checkin),
lastCheckout=str(folio.last_checkout),
createDate=folio.create_date.isoformat(),
internalComment=folio.internal_comment
if folio.internal_comment
else None,