diff --git a/xml/templates/message_templates/membership_online_receipt_html.tpl b/xml/templates/message_templates/membership_online_receipt_html.tpl index f6c8caa23ee..cf99a796802 100644 --- a/xml/templates/message_templates/membership_online_receipt_html.tpl +++ b/xml/templates/message_templates/membership_online_receipt_html.tpl @@ -392,33 +392,31 @@ {/foreach} {/if} - {if ! ($contributeMode eq 'notify' OR $contributeMode eq 'directIPN') and $is_monetary} - {if $is_pay_later} - - - {ts}Registered Email{/ts} - - + {if $billingName} + + {ts}Billing Name and Address{/ts} + + + - {$email} + {$billingName}
+ {$address|nl2br}
+ {$email} - - {elseif $amount GT 0 OR $membership_amount GT 0} - + + {elseif $email}} + - {ts}Billing Name and Address{/ts} + {ts}Registered Email{/ts} - - + + - {$billingName}
- {$address|nl2br}
- {$email} + {$email} - - {/if} - {/if} + + {/if} {if $credit_card_type}