$statusOptions = CRM_Event_PseudoConstant::participantStatus(NULL, NULL, 'label');
$this->add('select', 'status_id', ts('Participant Status'),
array(
- '' => ts('- select -')) + $statusOptions,
+ '' => ts('- select -')
+ ) + $statusOptions,
TRUE
);
$buttons[] = array(
'type' => 'upload',
'name' => ts('Save and Record Payment'),
- 'subName' => 'new'
+ 'subName' => 'new',
);
}
$buttons[] = array(
if ($buttonName == $this->getButtonName('upload', 'new')) {
$session = CRM_Core_Session::singleton();
$session->pushUserContext(CRM_Utils_System::url('civicrm/payment/add',
- "reset=1&action=add&component=event&id={$this->_participantId}&cid={$this->_contactId}"
- ));
+ "reset=1&action=add&component=event&id={$this->_participantId}&cid={$this->_contactId}"
+ ));
}
}