Replaced getPrice() with direct property accessor.

This commit is contained in:
RayEhrhardt 2015-08-03 09:52:25 +00:00
parent 1948d8e47e
commit 95ef9a0ff2

View File

@ -60,8 +60,7 @@
<!-- start repeated item specific information --> <!-- start repeated item specific information -->
[{foreach from=$order->getOrderArticles() item=oOrderArticle}] [{foreach from=$order->getOrderArticles() item=oOrderArticle}]
[{if $oD3GASettings->getValue('blD3GAUseNetto')}] [{if $oD3GASettings->getValue('blD3GAUseNetto')}]
[{assign var="oPrice" value=$oOrderArticle->getPrice()}] [{assign var="sPrice" value=$oOrderArticle->oxorderarticles__oxnprice->value}]
[{assign var="sPrice" value=$oPrice->getNettoPrice()}]
[{else}] [{else}]
[{assign var="sPrice" value=$oOrderArticle->oxorderarticles__oxprice->value}] [{assign var="sPrice" value=$oOrderArticle->oxorderarticles__oxprice->value}]
[{/if}] [{/if}]