From: Pradeep Nayak Date: Fri, 7 Apr 2017 19:47:45 +0000 (+0530) Subject: CRM-20400, fixed payment receipt X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7324e71739492c2fda524ff68694199971badce6;p=civicrm-core.git CRM-20400, fixed payment receipt ---------------------------------------- * CRM-20400: Update the Payment Receipt to use for Contribution pyament https://issues.civicrm.org/jira/browse/CRM-20400 --- diff --git a/xml/templates/message_templates/payment_or_refund_notification_html.tpl b/xml/templates/message_templates/payment_or_refund_notification_html.tpl index 6d6efeb52d..cbaae64401 100644 --- a/xml/templates/message_templates/payment_or_refund_notification_html.tpl +++ b/xml/templates/message_templates/payment_or_refund_notification_html.tpl @@ -24,9 +24,7 @@ - {if $paymentConfig.confirm_email_text} -

{$paymentConfig.confirm_email_text|htmlize}

- {elseif $isRefund} + {if $isRefund}

{ts}A refund has been issued based on changes in your registration selections.{/ts}

{else}

{ts}A payment has been received.{/ts}

@@ -43,7 +41,7 @@ - {ts}Total Fees{/ts} + {ts}Total Amount{/ts} {$totalAmount|crmMoney} @@ -71,26 +69,26 @@ - {ts}{if $component eq 'event'}Total Fees{/if}{/ts} + {ts}Total Amount{/ts} - {$totalAmount|crmMoney} + {$totalAmount|crmMoney} - {ts}This Payment Amount{/ts} + {ts}This Payment Amount{/ts} - {$paymentAmount|crmMoney} + {$paymentAmount|crmMoney} - {ts}Balance Owed{/ts} + {ts}Balance Owed{/ts} - {$amountOwed|crmMoney} + {$amountOwed|crmMoney} {* This will be zero after final payment. *} @@ -98,7 +96,7 @@ {if $paymentsComplete} - {ts}Thank-you. This completes your payment for {if $component eq 'event'}{$event.event_title}{/if}.{/ts} + {ts}Thank-you. This completes your payment for {if $component eq 'event'}{$event.event_title}{/if}.{/ts} {/if} @@ -106,10 +104,10 @@ {if $receive_date} - {ts}Transaction Date{/ts} + {ts}Transaction Date{/ts} - {$receive_date|crmDate} + {$receive_date|crmDate} {/if} @@ -189,7 +187,7 @@ - {if $event.participant_role neq 'Attendee' and $defaultRole} + {if $event.participant_role} {ts}Participant Role{/ts} 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 a09ad9e162..d8ae664013 100644 --- a/xml/templates/message_templates/payment_or_refund_notification_text.tpl +++ b/xml/templates/message_templates/payment_or_refund_notification_text.tpl @@ -1,7 +1,5 @@ Dear {$contactDisplayName} -{if $paymentConfig.confirm_email_text} -{$paymentConfig.confirm_email_text} -{elseif $isRefund} +{if $isRefund} {ts}A refund has been issued based on changes in your registration selections.{/ts} {else} {ts}A payment has been received.{/ts} @@ -80,7 +78,7 @@ Dear {$contactDisplayName} {$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} -{if $event.participant_role neq 'Attendee' and $defaultRole} +{if $event.participant_role} {ts}Participant Role{/ts}: {$event.participant_role} {/if}