Skip to content
Permalink
Browse files

ESDEV-3956 code cleanup unused const

Const PAYMENT_INFO_OFF is not in use anymore and therefore deleted from tpl/email/plain/order_owner.tpl and tpl/email/html/order_owner.tpl. Commented code to display bank data within order email for shop owner is obsolete, too.
  • Loading branch information
dgfx83 authored and vilmal committed Sep 15, 2016
1 parent 914a0bd commit bd3374a4751a6d67419a380a73bc4faa7b176cf6
Showing with 0 additions and 10 deletions.
  1. +0 −2 tpl/email/html/order_owner.tpl
  2. +0 −8 tpl/email/plain/order_owner.tpl
@@ -447,8 +447,6 @@
<h3 class="underline">[{oxmultilang ident="PAYMENT_INFORMATION"}]</h3>
<p>
<b>[{oxmultilang ident="PAYMENT_METHOD"}] [{$payment->oxpayments__oxdesc->value}] [{if $basket->getPaymentCosts()}]([{$basket->getFPaymentCosts()}] [{$currency->sign}])[{/if}]</b>
<br><br>
[{oxmultilang ident="PAYMENT_INFO_OFF"}]
</p>
<br>
[{/if}]
@@ -175,14 +175,6 @@
[{block name="email_plain_order_ownerpaymentinfo"}]
[{if $payment->oxuserpayments__oxpaymentsid->value != "oxempty"}][{oxmultilang ident="PAYMENT_INFORMATION"}]
[{oxmultilang ident="PAYMENT_METHOD"}][{$payment->oxpayments__oxdesc->getRawValue()}] [{if $basket->getPaymentCosts()}]([{$basket->getFPaymentCosts()}] [{$currency->sign}])[{/if}]
[{oxmultilang ident="PAYMENT_INFO_OFF"}]
[{*
[{foreach from=$payment->aDynValues item=value}]
[{assign var="ident" value='EMAIL_ORDER_OWNER_HTML_'|cat:$value->name}]
[{assign var="ident" value=$ident|oxupper}]
[{oxmultilang ident=$ident}]: [{$value->value}]
[{/foreach}]
*}]
[{/if}]
[{/block}]

0 comments on commit bd3374a

Please sign in to comment.
You can’t perform that action at this time.