{% extends "base.html" %} {% from "_macros.html" import report_filters with context %} {% block title %}{{ t('Sales Analysis') }}{% endblock %} {% block content %} {% set cur = currency %}

{{ t('Sales Analysis') }}

{{ t('Posted customer invoices less credit notes, plus closed POS sessions, excluding VAT') }}
{% set extra %}{% endset %} {{ report_filters(f, True, extra) }}
{{ f.date_from }} → {{ f.date_to }}{{ t('Amounts in') }} {{ cur }}
{% if group == 'product' %}{% endif %} {% for r in rows %} {% if group == 'product' %}{% endif %} {% else %}{% endfor %} {% if group == 'product' %}{% endif %}
{{ t({'product': 'Product', 'customer': 'Customer', 'branch': 'Branch', 'month': 'Month'}[group]) }}{{ t('Quantity') }}{{ t('Documents') }}{{ t('Amount') }}{{ t('Share') }}
{{ r.label }}{{ '%g' % r.qty }}{{ r.docs }} {{ r.amount|money(cur) }}
{{ t('Nothing yet.') }}
{{ t('Total') }}{{ total|money(cur) }}
{% endblock %}