[#5] Add a setting for differentiating membership types depending on donation rhythm

This commit is contained in:
Jens Schuppe 2020-01-22 12:51:15 +01:00
parent cd7c7e7d12
commit bc9baea6f2
5 changed files with 38 additions and 17 deletions

View file

@ -325,6 +325,14 @@ class CRM_Twingle_Form_Profile extends CRM_Core_Form {
FALSE, // is not required
array('class' => 'crm-select2 huge')
);
$this->add(
'select', // field type
'membership_type_id_recur', // field name
E::ts('Create membership of type (recurring)'), // field label
array('' => E::ts('- none -')) + static::getMembershipTypes(), // list of options
FALSE, // is not required
array('class' => 'crm-select2 huge')
);
$this->add(
'text', // field type