getDiscountCouponCode()): ?>
:
 getDiscountCouponCode()->getCode(), 'stDiscountBackend/couponCodeEdit?id='.$order->getDiscountCouponCode()->getId()) ?> (getDiscountCouponCode()->getDiscount() ?>%)
getAttribute('edit_mode', false, 'soteshop/stOrder')): ?> hasDiscount()): $discount = $order->getTotalProductDiscountAmount(true, true) ?>
:
 
:
-getOrderCurrency()) ?> getDiscount()): ?> (getDiscount()->getName() ?>)
---'; $currency = $order->getOrderCurrency(); if ($discounts && isset($discounts['O'])) { foreach ($discounts['O'] as $discount) { $type = $discount->getPriceType(); $from_amount = $currency->exchange($discount->getCondition('from_amount')); if ($type == '%') { $discount_value = $discount->getValue(); } else { $discount_value = $currency->exchange($discount->getValue()); } $label = $discount->getName().' ('.__('Rabat %discount% od kwoty: %amount%', array('%discount%' => $type == '%' ? $discount_value.'%' : st_order_price_format($discount_value, $currency),'%amount%' => st_order_price_format($from_amount, $currency))).')'; if ($discount->getId() == $order->getDiscountId()) { $options .= ''; } else { $options .= ''; } } } ?>
:
 
:
:
 
:
 getPaidAmount(), $order->getOrderCurrency()); ?>
:
 getUnpaidAmount(), $order->getOrderCurrency()); ?>