{% if not oBasket.getDiscounts() %}
{% block email_html_order_owner_nodiscounttotalnet %}
|
{{ translate({ ident: "TOTAL_NET", suffix: "COLON" }) }}
|
|
|
{{ oBasket.getProductsNetPrice() }} {{ oCurrency.sign }}
|
|
{% endblock %}
{% block email_html_order_owner_nodiscountproductvats %}
{% for key, VATitem in oBasket.getProductVats(false) %}
|
{{ translate({ ident: "VAT_PLUS_PERCENT_AMOUNT", suffix: "COLON", args: key }) }}
|
|
|
{{ format_price(VATitem, { currency: oCurrency }) }}
|
|
{% endfor %}
{% endblock %}
{# {% block email_html_order_owner_nodiscounttotalgross %} #}
{# #}
{# #}
{# | #}
{# {{ translate({ ident: "TOTAL_GROSS" }) }} #}
{# |
| #}
{# | #}
{# {{ oBasket.getFProductsPrice() }} {{ oCurrency.sign }} #}
{# |
| #}
{# #}
{# {% endblock %} #}
{% endif %}
{% if oBasket.getDiscounts() %}
{% if order.isNettoMode() %}
{% block email_html_order_owner_discounttotalnet %}
|
{{ translate({ ident: "TOTAL_NET", suffix: "COLON" }) }}
|
|
|
{{ oBasket.getProductsNetPrice() }} {{ oCurrency.sign }}
|
|
{% endblock %}
{% else %}
{% block email_html_order_owner_discounttotalgross %}
|
{{ translate({ ident: "TOTAL_GROSS", suffix: "COLON" }) }}
|
|
|
{{ oBasket.getFProductsPrice() }} {{ oCurrency.sign }}
|
|
{% endblock %}
{% endif %}
{% block email_html_order_owner_discounts %}
{% for oDiscount in oBasket.getDiscounts() %}
|
{% if oDiscount.dDiscount < 0 %}{{ translate({ ident: "SURCHARGE" }) }}{% else %}{{ translate({ ident: "DISCOUNT" }) }}{% endif %} {{ oDiscount.sDiscount }} :
|
|
|
{% if oDiscount.dDiscount < 0 %}{{ oDiscount.fDiscount|replace({" - ": ""}) }}{% else %}-{{ oDiscount.fDiscount }}{% endif %} {{ oCurrency.sign }}
|
|
{% endfor %}
{% endblock %}
{% if not order.isNettoMode() %}
{% block email_html_order_owner_totalnet %}
|
{{ translate({ ident: "TOTAL_NET", suffix: "COLON" }) }}
|
|
|
{{ oBasket.getProductsNetPrice() }} {{ oCurrency.sign }}
|
|
{% endblock %}
{% endif %}
{% block email_html_order_owner_productvats %}
{% for key, VATitem in oBasket.getProductVats() %}
|
{{ translate({ ident: "VAT_PLUS_PERCENT_AMOUNT", suffix: "COLON", args: key }) }}
|
|
|
{{ format_price(VATitem, { currency: oCurrency }) }}
|
|
{% endfor %}
{% endblock %}
{% if order.isNettoMode() %}
{% block email_html_order_owner_totalbrut %}
|
{{ translate({ ident: "TOTAL_GROSS", suffix: "COLON" }) }}
|
|
|
{{ oBasket.getFProductsPrice() }} {{ oCurrency.sign }}
|
|
{% endblock %}
{% endif %}
{% endif %}
{% block email_html_order_owner_delcosts %}
{% set oDeliveryCost = oBasket.getDeliveryCost() %}
{% if oDeliveryCost and oDeliveryCost.getPrice() > 0 %}
{% if oViewConf.isFunctionalityEnabled("blShowVATForDelivery") %}
|
{{ translate({ ident: "SHIPPING_NET", suffix: "COLON" }) }}
|
|
|
{{ format_price(oDeliveryCost.getNettoPrice(), { currency: oCurrency }) }}
|
|
{% if oDeliveryCost.getVatValue() %}
|
{% if oBasket.isProportionalCalculationOn() %}
{{ translate({ ident: "BASKET_TOTAL_PLUS_PROPORTIONAL_VAT", suffix: "COLON" }) }}
{% else %}
{{ translate({ ident: "VAT_PLUS_PERCENT_AMOUNT", suffix: "COLON", args: oDeliveryCost.getVat() }) }}
{% endif %}
|
|
|
{{ format_price(oDeliveryCost.getVatValue(), { currency: oCurrency }) }}
|
|
{% endif %}
{% else %}
|
{{ translate({ ident: "SHIPPING_COST", suffix: "COLON" }) }}
|
|
|
{{ format_price(oDeliveryCost.getBruttoPrice(), { currency: oCurrency }) }}
|
|
{% endif %}
{% endif %}
{% endblock %}
{% block email_html_order_owner_voucherdiscount %}
{% if oViewConf.getShowVouchers() and oBasket.getVoucherDiscValue() %}
|
{{ translate({ ident: "COUPON" }) }}
|
|
|
{% if oBasket.getFVoucherDiscountValue() > 0 %}-{% endif %}{{ oBasket.getFVoucherDiscountValue()|replace({" - ": ""}) }} {{ oCurrency.sign }}
|
|
{% endif %}
{% endblock %}
{% block email_html_order_owner_paymentcosts %}
{% if oBasket.getPayCostNet() %}
|
{% if oBasket.getPaymentCosts() >= 0 %}{{ translate({ ident: "SURCHARGE" }) }}{% else %}{{ translate({ ident: "DEDUCTION" }) }}{% endif %} {{ translate({ ident: "PAYMENT_METHOD" }) }}
|
|
|
{{ oBasket.getPayCostNet() }} {{ oCurrency.sign }}
|
|
{% if oBasket.getPayCostVat() %}
|
{% if oBasket.isProportionalCalculationOn() %}
{{ translate({ ident: "BASKET_TOTAL_PLUS_PROPORTIONAL_VAT", suffix: "COLON" }) }}
{% else %}
{{ translate({ ident: "PLUS_VAT" }) }} {{ oBasket.getPayCostVatPercent() }}{{ translate({ ident: "SHIPPING_VAT2" }) }}
{% endif %}
|
|
|
{{ oBasket.getPayCostVat() }} {{ oCurrency.sign }}
|
|
{% endif %}
{% elseif oBasket.getFPaymentCosts() %}
|
{{ translate({ ident: "SURCHARGE", suffix: "COLON" }) }}
|
|
|
{{ oBasket.getFPaymentCosts() }} {{ oCurrency.sign }}
|
|
{% endif %}
{% endblock %}
{% block email_html_order_owner_grandtotal %}
|
{{ translate({ ident: "GRAND_TOTAL", suffix: "COLON" }) }}
|
|
|
{{ oBasket.getFPrice() }} {{ oCurrency.sign }}
|
|
{% endblock %}
|
|
|
|