diff --git a/CRM/Contribute/Form/Contribution/Confirm.php b/CRM/Contribute/Form/Contribution/Confirm.php index 0f60c1613648..0eacc65ec08e 100644 --- a/CRM/Contribute/Form/Contribution/Confirm.php +++ b/CRM/Contribute/Form/Contribution/Confirm.php @@ -487,7 +487,6 @@ public function buildQuickForm() { } $this->assign('receiptFromEmail', $this->_values['receipt_from_email'] ?? NULL); $this->assign('amount_block_is_active', $this->isFormSupportsNonMembershipContributions()); - $this->assign('taxTerm', \Civi::settings()->get('tax_term')); $this->assign('totalTaxAmount', $this->order->getTotalTaxAmount()); $isDisplayLineItems = $this->_priceSetId && !CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceSet', $this->_priceSetId, 'is_quick_config'); $this->assign('isDisplayLineItems', $isDisplayLineItems); diff --git a/CRM/Core/Form.php b/CRM/Core/Form.php index f8a0be343ec4..ddf64661952a 100644 --- a/CRM/Core/Form.php +++ b/CRM/Core/Form.php @@ -807,6 +807,7 @@ public function buildForm() { // it's already been initialized. self::$_template->ensureVariablesAreAssigned($this->expectedSmartyVariables); self::$_template->addExpectedTabHeaderKeys(); + $this->assign('taxTerm', \Civi::settings()->get('tax_term')); $this->_formBuilt = TRUE; }