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

{% trans 'Service report' %} ({{ date_from|date:'d.m.Y' }} - {{ date_to|date:'d.m.Y' }})


{{ form.errors }}
{{ form.date_from|add_class:'form-control'|attr:'autocomplete:off' }}
{{ form.date_to|add_class:'form-control'|attr:'autocomplete:off' }}
{% for service in services %} {% endfor %}
{% trans 'Date' %} {% trans 'Service' %} {% trans 'Customer' %} {% trans 'Quantity' %} {% trans 'Price' %} {% trans 'Sum' %}
{{ forloop.counter }} {{ service.created }} {{ service.item.name }} {{ service.customer }} {{ service.qty }} {{ service.price }} {{ service.subtotal }}
{% trans 'Total' %}: {{ totals.qty }} {{ totals.grand_total }}
{% endblock %} {% block js %} {{ block.super }} {% endblock %}