Skip to content
Snippets Groups Projects
Commit 37bbc33e authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #338 from pradpnayak/CRM-12294

-- fixed for CRM-12294, added condition to display no thank you contribu...
parents a8041e05 9c2d6396
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