X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=xml%2Ftemplates%2Fmessage_templates%2Fpayment_or_refund_notification_text.tpl;h=febadc352aff9ffdedc031925da33a01e6f438ae;hb=201cf15de1e193081461797c0244ae92161a8bb8;hp=649e088e11560ffaea18356748d3263035af9daa;hpb=9c5284f15ed8fd68bfc3b96345588385276d8d10;p=civicrm-core.git diff --git a/xml/templates/message_templates/payment_or_refund_notification_text.tpl b/xml/templates/message_templates/payment_or_refund_notification_text.tpl index 649e088e11..febadc352a 100644 --- a/xml/templates/message_templates/payment_or_refund_notification_text.tpl +++ b/xml/templates/message_templates/payment_or_refund_notification_text.tpl @@ -46,13 +46,13 @@ {ts}Contribution Details{/ts} =============================================================================== -{if isset($totalAmount)} +{if $totalAmount} {ts}Total Fee{/ts}: {$totalAmount|crmMoney} {/if} -{if isset($totalPaid)} +{if $totalPaid} {ts}Total Paid{/ts}: {$totalPaid|crmMoney} {/if} -{if isset($amountOwed)} +{if $amountOwed} {ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *} {/if} @@ -90,7 +90,7 @@ =============================================================================== {$event.event_title} -{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:"%Y%m%d" == $event.event_start_date|date_format:"%Y%m%d"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if} {$event.event_tz} +{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|date_format:"%Y%m%d" == $event.event_start_date|date_format:"%Y%m%d"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if} {if !empty($event.participant_role)} {ts}Participant Role{/ts}: {$event.participant_role}