initial work on early access codes
This commit is contained in:
@@ -116,7 +116,16 @@ function booking_form($node, &$form_state, $inserting = FALSE)
|
||||
$payment_type_options[$row->pid] = $row->booking_price_descrip . ' ($' . $price . ')';
|
||||
}
|
||||
|
||||
//form starts here
|
||||
// ------- form starts here ---------
|
||||
|
||||
//add new feature for early registration access
|
||||
if ($inserting == TRUE && variable_get('booking_enable_earlyaccess_codes', 1) == 1) {
|
||||
$form['early-access'] = array(
|
||||
'#type' => 'fieldset',
|
||||
'#title' => 'Early Registration Code'
|
||||
);
|
||||
}
|
||||
|
||||
$form['your-details'] = array(
|
||||
'#type' => 'fieldset',
|
||||
'#title' => 'Personal details'
|
||||
|
Reference in New Issue
Block a user