{% extends 'accounting.html' %} {% load i18n widget_tweaks %} {% block content %} {{ block.super }}

{% block report_name %} {% endblock %} ({{ date_from|date:'d.m.Y' }} - {{ date_to|date:'d.m.Y' }})


{{ form.errors }}
{{ form.manager|add_class:'form-control' }}
{{ form.date_from|add_class:'form-control'|attr:'autocomplete:off' }}
{{ form.date_to|add_class:'form-control'|attr:'autocomplete:off' }}
{{ form.is_wholesale_price_included }} {{ form.is_wholesale_price_included.label }}
{{ form.is_profit_included }} {{ form.is_profit_included.label }}
{{ form.is_discount_included }} {{ form.is_discount_included.label }}
{% block report_table %} {% if is_wholesale_price_included %} {% if is_profit_included %} {% endif %} {% if is_profit_included %} {% endif %} {% else %} {% if is_profit_included %} {% endif %} {% endif %} {% block report_items %} {% for item in items %} {% include 'invoices/report/report-item.html' %} {% endfor %} {% if is_wholesale_price_included %} {% endif %} {% if is_profit_included %} {% endif %} {% endblock %} {% endblock %}
{% trans 'Product' %} {% trans 'Bar code' %} {% trans 'Quantity' %} {% trans 'Wholesale' %} {% trans 'Retail' %} {% trans 'Profit' %}
{% trans 'Price' %} {% trans 'Subtotal' %} {% trans 'Price' %} {% trans 'Subtotal' %}
{% trans 'Product' %} {% trans 'Bar code' %} {% trans 'Quantity' %} {% trans 'Price' %} {% trans 'Subtotal' %}{% trans 'Profit' %}
{% trans 'Total' %}: {{ totals.qty }} {{ totals.wholesale_total|stringformat:".1f" }} {{ totals.retail_total|stringformat:".1f" }} {% if is_discount_included %} (-{{ totals.discounted_retail_total }}) {% endif %} {{ totals.profit_total|stringformat:".1f" }}
{% endblock %} {% block js %} {{ block.super }} {% endblock %}