{% extends 'D2CustomerBusinessBundle::layout.html.twig' %} {% block head_script_extra %} {% endblock head_script_extra %} {% block head_style_extra %} {#
#} {% endblock head_style_extra %} {% block content %}
{% if sales_items.View == 'search' %}{% endif %}
Sms Products
Back to Product Categories
{% else %}
Product Categories
{% if sales_items.View == 'normal' %}
{% for cat in sales_items %} {% if cat != 'normal' %} {% if not loop.first and loop.index is divisibleby(2) %}
{% endif %}
{{ cat.CategoryDescription }}
{% endif %} {% endfor %}
{% endif %} {% if sales_items.View == 'search' %}
{% for item in sales_items %} {% if item != 'search' %} {% if not loop.first and loop.index is divisibleby(2) %}
{% endif %}
{{ item.Description }}
Buy
Code:
{{ item.Code }}
Price:
{{ d2_config('currency_symbol') }} {{ item.PriceExVat|number_format(2, '.', '') }}
{% endif %} {% endfor %}
{% endif %}
Sales Invoice Details
{% if sales_items|length > 0 %} {% for item in cart %} {% if item.SalesItem.AdjustQty == true %} {% else %} {% endif %} {% endfor %} {% endif %}
Sales Code
Description
Unit Price (Excl)
Quantity
Tax
Total (Incl)
{{ item.SalesItem.Code }}
{{ item.SalesItem.Description }}
{{ d2_config('currency_symbol') }}
{{ item.SalesItem.PriceExVat|number_format(2, '.', '') }}
{{ d2_config('currency_symbol') }}
{{ (item.SalesItem.Tax * item.Quantity)|number_format(2, '.', '') }}
{{ d2_config('currency_symbol') }}
{{ (item.SalesItem.PriceIncVat * item.Quantity)|number_format(2, '.', '') }}
Tax
{{ d2_config('currency_symbol') }}
{{ (tax)|number_format(2, '.', '') }}
Total
{{ d2_config('currency_symbol') }}
{{ (total)|number_format(2, '.', '') }}
Pay via EFT
(Order provisioned on payment confirmation)
Pay with Credit Card
(Order provisioned immediately on successful transaction)
Clear Cart
{# end of row #} {% endblock content %}