Merge pull request #3799 from routinet/patch-1
[civicrm-core.git] / xml / templates / message_templates / payment_or_refund_notification_text.tpl
index 938fd8a33327699f07ba358366c8c2e601921f79..35a37f5e5f7ed12b6ee15a67bcf4c3007e43a334 100644 (file)
@@ -30,6 +30,7 @@ Dear {$contactDisplayName}
 {ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney}
 ------------------------------------------------------------------------------------
 {ts}Balance Owed{/ts}: {$amountOwed|crmMoney} {* This will be zero after final payment. *}
+
 {if $paymentsComplete}
 
 {ts}Thank-you. This completes your payment for {/ts}{if $component eq 'event'}{$event.event_title}{/if}.
@@ -47,7 +48,7 @@ Dear {$contactDisplayName}
 {if $checkNumber}
 {ts}Check Number{/ts}: {$checkNumber}
 {/if}
-{if $contributeMode ne 'notify' and !$isAmountzero}
+{if $contributeMode eq 'direct' and !$isAmountzero}
 
 ===============================================================================
 
@@ -112,4 +113,4 @@ Dear {$contactDisplayName}
 
 {ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}
 {/if}
-{/if}
\ No newline at end of file
+{/if}