{% extends "base.html" %} {% from "_macros.html" import report_filters with context %} {% block title %}{{ t('Sales Analysis') }}{% endblock %} {% block content %} {% set cur = currency %}
| {{ t({'product': 'Product', 'customer': 'Customer', 'branch': 'Branch', 'month': 'Month'}[group]) }} | {% if group == 'product' %}{{ t('Quantity') }} | {% endif %}{{ t('Documents') }} | {{ t('Amount') }} | {{ t('Share') }} |
|---|---|---|---|---|
| {{ r.label }} | {% if group == 'product' %}{{ '%g' % r.qty }} | {% endif %}{{ r.docs }} | {{ r.amount|money(cur) }} | |
| {{ t('Nothing yet.') }} | ||||
| {{ t('Total') }} | {% if group == 'product' %}{% endif %} | {{ total|money(cur) }} | ||