Closed (works as designed)
Project:
Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals
Version:
7.x-1.0-alpha4
Component:
Rooms Booking
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Feb 2012 at 21:05 UTC
Updated:
13 May 2015 at 20:52 UTC
Jump to comment: Most recent
Comments
Comment #1
ronald_istos commentedBookings are fieldable entities so you can go to:
admin/rooms/bookings/booking-types
and create a booking type with an entity reference field.
Comment #2
hermanP commentedhi ronald
thanx for your answer!
this is exactly what i did:
1.)
->extended the bookable_unit_type (apartment) with a user reference (role owner)
field_owner_ref (User Reference)
-> then added manual each apartment an user
2.)
->extend the entity (standart)bookings
admin/rooms/bookings/booking-types/manage/standard_booking/fields
with field_owner_ref (User Reference)
3.) in the booking view
admin/structure/views/view/bookings/edit/page_1%3Fdestination%3Dadmin/rooms/bookings
i added
field_owner_ref (User Reference)
Lable = User
with Formatter 'Default'
now there is a new Colum 'User'
but the Data is empty..
is it a bug or is it my misconfiguration?
Comment #3
mobiware commentedHi all,
I need to use a content type as booking entity... It is possible with Rooms without coding?
I have a content type named Accomodations (configured with availability, Photo galleries, etc...) and i want people make reservations of them.
Can you help me?
Best regards,
Carlos de Castro
Comment #4
acrollet commentedherpes: you will need to add a relationship to the user entity via the owner reference field in views.
mobiware: it's not possible to use nodes as bookings directly, you will need to create rooms units.