From 8d29b1b4f2b3f5e062b9600f696c8dc5d48134dc Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Wed, 22 Jun 2022 09:34:12 -0400 Subject: [PATCH] use the actual currency if there is one not the default --- templates/CRM/Price/Form/PriceSet.tpl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/CRM/Price/Form/PriceSet.tpl b/templates/CRM/Price/Form/PriceSet.tpl index 400be17860..117243e3ee 100644 --- a/templates/CRM/Price/Form/PriceSet.tpl +++ b/templates/CRM/Price/Form/PriceSet.tpl @@ -70,16 +70,16 @@ {if ($option.tax_amount || $option.tax_amount == "0") && $displayOpt && $invoicing} {assign var="amount" value=`$option.amount+$option.tax_amount`} {if $displayOpt == 'Do_not_show'} - {$amount|crmMoney} + {$amount|crmMoney:$currency} {elseif $displayOpt == 'Inclusive'} - {$amount|crmMoney} - {ts 1=$taxTerm 2=$option.tax_amount|crmMoney}(includes %1 of %2){/ts} + {$amount|crmMoney:$currency} + {ts 1=$taxTerm 2=$option.tax_amount|crmMoney:$currency}(includes %1 of %2){/ts} {else} - {$option.amount|crmMoney} - + {$option.tax_amount|crmMoney} {$taxTerm} + {$option.amount|crmMoney:$currency} + + {$option.tax_amount|crmMoney:$currency} {$taxTerm} {/if} {else} - {$option.amount|crmMoney} {$fieldHandle} {$form.$fieldHandle.frozen} + {$option.amount|crmMoney:$currency} {$fieldHandle} {$form.$fieldHandle.frozen} {/if} {if $form.$element_name.frozen EQ 1} ({ts}Sold out{/ts}){/if} {/foreach} -- 2.25.1