{% extends "pos/base.html" %} {% load humanize %} {% block title %}{{ report_title }}{% endblock %} {% block stylesheets %} {% endblock %} {% block content %}
{% for m in messages %}
{{ m }}
{% endfor %}
{{ report_title }}
{{ report_subtitle }}
{# Export buttons #} PDF {% if has_openpyxl %} Excel {% endif %} Reports
{# Date range #}
From
To
{# Extra filters (dynamic) #} {% for f in extra_filters %}
{{ f.label }}
{% if f.type == "select" %} {% elif f.type == "text" %} {% elif f.type == "ajax_customer" %} {% endif %}
{% endfor %} {# Buttons #}
{# Record count on right #}
{{ rows|length }} record{% if rows|length != 1 %}s{% endif %}  ·  {{ date_from }}{% if date_from != date_to %} → {{ date_to }}{% endif %}
{% if stats %}
{% for key, val in stats.items %}
{{ val }}
{{ key }}
{% endfor %}
{% endif %}
{{ report_title }}  ·  {{ date_from }} to {{ date_to }} {{ rows|length }} rows
{% if rows %}
{% for col in columns %} {% endfor %} {% for row in rows %} {% for cell in row %} {% endfor %} {% endfor %} {% if totals %} {% for cell in totals %} {% endfor %} {% endif %}
#{{ col }}
{{ forloop.counter }}{{ cell }}
{{ cell }}
{% else %}
No data found
Try adjusting the date range or filters.
{% endif %}
{# /table-card #}
{% endblock %} {% block javascripts %} {% endblock %}