You are here

function rooms_booking_edit_form_availability_submit in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Submit callback for Assign unit button.

When the user presses the assign unit button we rebuild the form and show the available units

1 string reference to 'rooms_booking_edit_form_availability_submit'
rooms_booking_edit_form in modules/rooms_booking/rooms_booking.admin.inc
Form callback: create or edit a booking.

File

modules/rooms_booking/rooms_booking.admin.inc, line 978
Rooms editing UI.

Code

function rooms_booking_edit_form_availability_submit($form, &$form_state) {
  $form_state['show_availability_options'] = TRUE;
  $form_state['rebuild'] = TRUE;
}