$getTaxDetails = TRUE;
}
}
- if (Civi::settings()->get('invoicing')) {
- // @todo - this is an inappropriate place to be doing form level assignments.
- $taxTerm = Civi::settings()->get('tax_term');
- $smarty = CRM_Core_Smarty::singleton();
- $smarty->assign('taxTerm', $taxTerm);
- $smarty->assign('getTaxDetails', $getTaxDetails);
- }
return $lineItems;
}
{if $isDisplayLineItems && $lineItem}
{if !$amount}{assign var="amount" value=0}{/if}
{assign var="totalAmount" value=$amount}
- {include file="CRM/Price/Page/LineItem.tpl" context="Contribution" displayLineItemFinancialType=false pricesetFieldsCount=false currencySymbol='' hookDiscount=''}
+ {include file="CRM/Price/Page/LineItem.tpl" context="Contribution" getTaxDetails=$totalTaxAmount displayLineItemFinancialType=false pricesetFieldsCount=false currencySymbol='' hookDiscount=''}
{elseif $is_separate_payment}
{if $amount AND $minimum_fee}
{$membership_name} {ts}Membership{/ts}:
{if !empty($is_quick_config)}
is_quick_config:::{$is_quick_config}
{/if}
- {if !empty($getTaxDetails)}
- getTaxDetails:::{$getTaxDetails}
+ {if !empty($totalTaxAmount)}
totalTaxAmount:::{$totalTaxAmount}
{/if}
{if !empty($is_monetary)}