{% block checkout_basketcontents_summary %}

{{ translate({ ident: "SUMMARY" }) }}

{% block checkout_basketcontents_summary_table_inner %} {% if not oxcmp_basket.getDiscounts() %} {% block checkout_basketcontents_nodiscounttotalnet %}
{{ translate({ ident: "TOTAL_NET" }) }} {{ format_price(oxcmp_basket.getNettoSum(), { currency: currency }) }}
{% endblock %} {% block checkout_basketcontents_nodiscountproductvats %} {% for key, VATitem in oxcmp_basket.getProductVats(false) %}
{{ translate({ ident: "VAT_PLUS_PERCENT_AMOUNT", args: key }) }} {{ format_price(VATitem, { currency: currency }) }}
{% endfor %} {% endblock %} {% block checkout_basketcontents_nodiscounttotalgross %}
{{ translate({ ident: "TOTAL_GROSS" }) }} {{ format_price(oxcmp_basket.getBruttoSum(), { currency: currency }) }}
{% endblock %} {% else %} {% if oxcmp_basket.isPriceViewModeNetto() %} {% block checkout_basketcontents_discounttotalnet %}
{{ translate({ ident: "TOTAL_NET" }) }} {{ format_price(oxcmp_basket.getNettoSum(), { currency: currency }) }}
{% endblock %} {% else %} {% block checkout_basketcontents_discounttotalgross %}
{{ translate({ ident: "TOTAL_GROSS" }) }} {{ format_price(oxcmp_basket.getBruttoSum(), { currency: currency }) }}
{% endblock %} {% endif %} {% block checkout_basketcontents_discounts %} {% for oDiscount in oxcmp_basket.getDiscounts() %}
{% if oDiscount.dDiscount < 0 %}{{ translate({ ident: "SURCHARGE" }) }}{% else %}{{ translate({ ident: "DISCOUNT" }) }}{% endif %}   {{ oDiscount.sDiscount }} {{ format_price(oDiscount.dDiscount*-1, { currency: currency }) }}
{% endfor %} {% endblock %} {% if not oxcmp_basket.isPriceViewModeNetto() %} {% block checkout_basketcontents_totalnet %}
{{ translate({ ident: "TOTAL_NET" }) }} {{ format_price(oxcmp_basket.getNettoSum(), { currency: currency }) }}
{% endblock %} {% endif %} {% block checkout_basketcontents_productvats %} {% for key, VATitem in oxcmp_basket.getProductVats(false) %}
{{ translate({ ident: "VAT_PLUS_PERCENT_AMOUNT", args: key }) }} {{ format_price(VATitem, { currency: currency }) }}
{% endfor %} {% endblock %} {% if oxcmp_basket.isPriceViewModeNetto() %} {% block checkout_basketcontents_totalgross %}
{{ translate({ ident: "TOTAL_GROSS" }) }} {{ format_price(oxcmp_basket.getBruttoSum(), { currency: currency }) }}
{% endblock %} {% endif %} {% endif %} {% endblock %} {% block checkout_basketcontents_voucherdiscount %} {% if oViewConf.getShowVouchers() and oxcmp_basket.getVoucherDiscValue() %} {% for key, sVoucher in oxcmp_basket.getVouchers() %}
{{ translate({ ident: "COUPON" }) }} ({{ sVoucher.sVoucherNr }}) {% if editable %} {% endif %} {{ format_price(sVoucher.dVoucherdiscount*-1, { currency: currency }) }}
{% endfor %} {% endif %} {% endblock %} {% block checkout_basketcontents_delcosts %} {% set deliveryCost = oxcmp_basket.getDeliveryCost() %} {% if deliveryCost and (oxcmp_basket.getBasketUser() or oViewConf.isFunctionalityEnabled('blCalculateDelCostIfNotLoggedIn') ) %} {% if oViewConf.isFunctionalityEnabled('blShowVATForDelivery') %}
{{ translate({ ident: "SHIPPING_NET" }) }} {{ format_price(deliveryCost.getNettoPrice(), { currency: currency }) }}
{% if deliveryCost.getVatValue() %}
{% if oxcmp_basket.isProportionalCalculationOn() %} {{ translate({ ident: "BASKET_TOTAL_PLUS_PROPORTIONAL_VAT" }) }} {% else %} {{ translate({ ident: "VAT_PLUS_PERCENT_AMOUNT", args: deliveryCost.getVat() }) }} {% endif %} {{ format_price(deliveryCost.getVatValue(), { currency: currency }) }}
{% endif %} {% else %}
{{ translate({ ident: "SHIPPING_COST" }) }} {{ format_price(deliveryCost.getBruttoPrice(), { currency: currency }) }}
{% endif %} {% endif %} {% endblock %} {% block checkout_basketcontents_paymentcosts %} {% set paymentCost = oxcmp_basket.getPaymentCost() %} {% if paymentCost and paymentCost.getPrice() %} {% if oViewConf.isFunctionalityEnabled('blShowVATForPayCharge') %}
{% if paymentCost.getPrice() >= 0 %}{{ translate({ ident: "SURCHARGE" }) }}{% else %}{{ translate({ ident: "DEDUCTION" }) }}{% endif %} {{ translate({ ident: "PAYMENT_METHOD" }) }} {{ format_price(paymentCost.getNettoPrice(), { currency: currency }) }}
{% if paymentCost.getVatValue() %}
{% if oxcmp_basket.isProportionalCalculationOn() %} {{ translate({ ident: "BASKET_TOTAL_PLUS_PROPORTIONAL_VAT" }) }} {% else %} {{ translate({ ident: "SURCHARGE_PLUS_PERCENT_AMOUNT", args: paymentCost.getVat() }) }} {% endif %} {{ format_price(paymentCost.getVatValue(), { currency: currency }) }}
{% endif %} {% else %}
{% if paymentCost.getPrice() >= 0 %}{{ translate({ ident: "SURCHARGE" }) }}{% else %}{{ translate({ ident: "DEDUCTION" }) }}{% endif %} {{ translate({ ident: "PAYMENT_METHOD" }) }} {{ format_price(paymentCost.getBruttoPrice(), { currency: currency }) }}
{% endif %} {% endif %} {% endblock %} {% block checkout_basketcontents_wrappingcosts %} {% if oViewConf.getShowGiftWrapping() %} {% set wrappingCost = oxcmp_basket.getWrappingCost() %} {% if wrappingCost and wrappingCost.getPrice() > 0 %} {% if oViewConf.isFunctionalityEnabled('blShowVATForWrapping') %}
{{ translate({ ident: "BASKET_TOTAL_WRAPPING_COSTS_NET" }) }} {{ format_price(wrappingCost.getNettoPrice(), { currency: currency }) }}
{% if oxcmp_basket.getWrappCostVat() %}
{{ translate({ ident: "PLUS_VAT" }) }} {{ format_price(wrappingCost.getVatValue(), { currency: currency }) }}
{% endif %} {% else %}
{{ translate({ ident: "GIFT_WRAPPING" }) }} {{ format_price(wrappingCost.getBruttoPrice(), { currency: currency }) }}
{% endif %} {% endif %} {% set giftCardCost = oxcmp_basket.getGiftCardCost() %} {% if giftCardCost and giftCardCost.getPrice() > 0 %} {% if oViewConf.isFunctionalityEnabled('blShowVATForWrapping') %}
{{ translate({ ident: "BASKET_TOTAL_GIFTCARD_COSTS_NET" }) }} {{ format_price(giftCardCost.getNettoPrice(), { currency: currency }) }}
{% if oxcmp_basket.isProportionalCalculationOn() %} {{ translate({ ident: "BASKET_TOTAL_PLUS_PROPORTIONAL_VAT" }) }} {% else %} {{ translate({ ident: "VAT_PLUS_PERCENT_AMOUNT", args: giftCardCost.getVat() }) }} {% endif %} {{ format_price(giftCardCost.getVatValue(), { currency: currency }) }}
{% else %}
{{ translate({ ident: "GREETING_CARD" }) }} {{ format_price(giftCardCost.getBruttoPrice(), { currency: currency }) }}
{% endif %} {% endif %} {% endif %} {% endblock %} {% block checkout_basketcontents_grandtotal %}
{{ translate({ ident: "GRAND_TOTAL" }) }} {{ format_price(oxcmp_basket.getPrice(), { currency: currency }) }}
{% endblock %} {% if oxcmp_basket.hasSkipedDiscount() %}
** {{ translate({ ident: "MESSAGE_COUPON_NOT_APPLIED_FOR_ARTICLES" }) }}
{% endif %}
{% endblock %} {% if oViewConf.getShowVouchers() and oViewConf.getActiveClassName() == 'basket' %} {% block checkout_basket_vouchers %}
{{ oViewConf.getHiddenSid()|raw }}
{% for key, oEr in Errors.basket %} {% if oEr.getErrorClassType() == 'oxVoucherException' %}
{{ translate({ ident: "COUPON_NOT_ACCEPTED", args: oEr.getValue('voucherNr') }) }} {{ translate({ ident: "REASON" }) }} {{ oEr.getOxMessage() }}
{% endif %} {% endfor %} {% endblock %} {% endif %} {% block basket_btn_next_bottom %} {% if not oView.isLowOrderPrice() and btn %}
{{ oViewConf.getHiddenSid()|raw }}
{% endif %} {% endblock %}