Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwire committed May 3, 2022
1 parent c2b82b5 commit 66a200b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CRM/Contribute/Form/Contribution/Confirm.php
Original file line number Diff line number Diff line change
Expand Up @@ -1131,6 +1131,8 @@ protected function processFormContribution(
// lets store it in the form variable so postProcess hook can get to this and use it
$form->_contributionID = $contribution->id;
}
// @fixme: This is assigned to the smarty template for the receipt. It's value should be calculated and not taken from $params.
$form->assign('totalTaxAmount', $params['tax_amount'] ?? NULL);

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

0 comments on commit 66a200b

Please sign in to comment.