Skip to content

Commit

Permalink
Remove isset(taxAmount) from membership online receipt
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Mar 29, 2022
1 parent 0383d16 commit 9af4986
Show file tree
Hide file tree
Showing 4 changed files with 4,079 additions and 4,093 deletions.
2 changes: 1 addition & 1 deletion CRM/Contribute/Form/Contribution/Confirm.php
Original file line number Diff line number Diff line change
Expand Up @@ -1119,12 +1119,12 @@ protected function processFormContribution(
}
$smarty = CRM_Core_Smarty::singleton();
$smarty->assign('dataArray', $dataArray);
$smarty->assign('totalTaxAmount', $params['tax_amount'] ?? NULL);
}

// lets store it in the form variable so postProcess hook can get to this and use it
$form->_contributionID = $contribution->id;
}
$form->assign('totalTaxAmount', $params['tax_amount'] ?? NULL);

// process soft credit / pcp params first
CRM_Contribute_BAO_ContributionSoft::formatSoftCreditParams($params, $form);
Expand Down
Loading

0 comments on commit 9af4986

Please sign in to comment.