|
|
@ -719,11 +719,11 @@ function fulcrm_shoppingcart_buy_eventbookingtype_form( $form, &$form_state, $pe
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ( !$choices && ( variable_get( 'fulcrm_shoppingcart_event_itinerary', 'full' ) === 'elide' ) ) {
|
|
|
|
if ( !$choices && ( variable_get( 'fulcrm_shoppingcart_event_itinerary', 'full' ) === 'elide' ) ) {
|
|
|
|
$form[ 'eventslots' ][ '#type' ] = 'container';
|
|
|
|
|
|
|
|
foreach ( $form[ 'eventslots' ] as $eventpart_id => $eventpart_form ) {
|
|
|
|
foreach ( $form[ 'eventslots' ] as $eventpart_id => $eventpart_form ) {
|
|
|
|
$form[ 'eventslots' ][ $eventpart_id ][ '#value' ] = $form[ 'eventslots' ][ $eventpart_id ][ '#default_value' ];
|
|
|
|
$form[ 'eventslots' ][ $eventpart_id ][ '#value' ] = $form[ 'eventslots' ][ $eventpart_id ][ '#default_value' ];
|
|
|
|
$form[ 'eventslots' ][ $eventpart_id ][ '#type' ] = 'hidden';
|
|
|
|
$form[ 'eventslots' ][ $eventpart_id ][ '#type' ] = 'hidden';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
$form[ 'eventslots' ][ '#type' ] = 'container';
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$form[ 'eventslots' ][ '#title' ] = 'Itinerary';
|
|
|
|
$form[ 'eventslots' ][ '#title' ] = 'Itinerary';
|
|
|
|
$form[ 'eventslots' ][ '#type' ] = 'fieldset';
|
|
|
|
$form[ 'eventslots' ][ '#type' ] = 'fieldset';
|
|
|
|