[PDF] [-] {else if} instead of {elseif} (B2B invoice template)

This commit is contained in:
ldecoker
2013-10-22 18:57:12 +02:00
parent 70d2e6e10b
commit ce4170574c
+2 -2
View File
@@ -151,7 +151,7 @@
<td style="text-align: right; width: 10%">
{if (isset($order_detail.reduction_amount) && $order_detail.reduction_amount > 0)}
-{displayPrice currency=$order->id_currency price=$order_detail.reduction_amount}
{else if (isset($order_detail.reduction_percent) && $order_detail.reduction_percent > 0)}
{elseif (isset($order_detail.reduction_percent) && $order_detail.reduction_percent > 0)}
-{$order_detail.reduction_percent}%
{else}
--
@@ -289,4 +289,4 @@
</table>
{/if}
</div>
</div>