You are here

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

Callback to add children discount option.

1 string reference to 'rooms_booking_children_discount_add_option'
rooms_booking_children_discount in modules/rooms_booking/rooms_booking.module
Form callback for rooms_booking_children_discount form.

File

modules/rooms_booking/rooms_booking.module, line 253
Manage Bookings - Bookings are tied to a customer profile and possible a Unit ID and Order ID.

Code

function rooms_booking_children_discount_add_option($form, &$form_state) {
  $form_state['num_options']++;
  $form_state['rebuild'] = TRUE;
}