Skip to content
Snippets Groups Projects
Commit 9c2d6396 authored by Pradeep Nayak's avatar Pradeep Nayak
Browse files

-- fixed for CRM-12294, added condition to display no thank you contribution...

-- fixed for CRM-12294, added condition to display no thank you contribution only if membership block is enabled
parent a8041e05
Branches
Tags
No related merge requests found
......@@ -377,7 +377,8 @@ class CRM_Price_BAO_Field extends CRM_Price_DAO_Field {
$choice[$opId]->freeze();
}
}
if (property_exists($qf, '_membershipBlock') && $field->name == 'contribution_amount') {
if (property_exists($qf, '_membershipBlock') && $qf->_membershipBlock
&& $field->name == 'contribution_amount') {
$choice[] = $qf->createElement('radio', NULL, '', ts('No thank you'), '-1',
array(
'onclick' => 'clearAmountOther();',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment