* @return void
*/
public function buildQuickForm() {
- $config = CRM_Core_Config::singleton();
+
$button = substr($this->controller->getButtonName(), -4);
$this->add('hidden', 'scriptFee', NULL);
}
//we might did reset allow waiting in case of dynamic calculation
+ // @TODO - does this bypass_payment still exist?
if (!empty($this->_params[0]['bypass_payment']) &&
is_numeric($spaces) &&
$processedCnt > $spaces
/**
* Build the form object.
- *
- * @return void
*/
public function buildQuickForm() {
// build profiles first so that we can determine address fields etc
8 => '9',
9 => '10',
);
- $element = $this->add('select', 'additional_participants',
+ $this->add('select', 'additional_participants',
ts('How many people are you registering?'),
$additionalOptions,
NULL,
* True if you want to add formRule.
* @param int $discountId
* Discount id for the event.
- *
- * @return void
*/
static public function buildAmount(&$form, $required = TRUE, $discountId = NULL) {
// build amount only when needed, skip incase of event full and waitlisting is enabled