Skip to content

Commit

Permalink
[PDF] [-] {else if} instead of {elseif} (B2B invoice template)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldecoker committed Oct 22, 2013
1 parent 70d2e6e commit ce41705
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdf/invoice-b2b.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}
--
Expand Down Expand Up @@ -289,4 +289,4 @@
</table>
{/if}

</div>
</div>

0 comments on commit ce41705

Please sign in to comment.