9 lines
282 B
Ruby
9 lines
282 B
Ruby
json.booking_id booking.booking_id
|
|
|
|
json.sale_id booking.sale.try(:sale_id)
|
|
json.sale_status booking.sale.try(:sale_status)
|
|
json.receipt_no booking.sale.try(:receipt_no)
|
|
|
|
json.checkin_at booking.try(:checkin_at).try(:utc)
|
|
json.checkout_at booking.try(:checkout_at).try(:utc)
|