make soft credits optional

This commit is contained in:
Marc Michalsky forumZFD 2021-03-04 17:55:19 +01:00
parent 6cac4882b5
commit db15d5deb1
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9
4 changed files with 26 additions and 3 deletions

View file

@ -35,6 +35,13 @@ class CRM_TwingleCampaign_Form_Settings extends CRM_Core_Form {
['class' => 'crm-select2 huge']
);
$this->addElement(
'checkbox',
'twinglecampaign_soft_credits',
E::ts('Create soft credits for event initiators'),
FALSE
);
$this->addButtons([
[
'type' => 'submit',