From 66a200baf6acadccfd52a01a909b6888c77743b1 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Tue, 3 May 2022 15:01:15 +0100 Subject: [PATCH] fix --- CRM/Contribute/Form/Contribution/Confirm.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Contribute/Form/Contribution/Confirm.php b/CRM/Contribute/Form/Contribution/Confirm.php index 4da18ae96544..8c44807f269b 100644 --- a/CRM/Contribute/Form/Contribution/Confirm.php +++ b/CRM/Contribute/Form/Contribution/Confirm.php @@ -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);