{% extends "showcase/cabinet/base_cabinet.html" %} {% block title %}Reports — Analytics{% endblock %} {% block sidebar_title %} Analytics {% endblock %} {% block sidebar_nav %}
  • Dashboard
  • Reports
  • {% endblock %} {% block cabinet_content %}
    {% include "showcase/cabinet/includes/_page_header.html" with title="Reports" subtitle=period_label %} {% include "showcase/cabinet/includes/_report_filters.html" %} {# ── KPI strip — reuse dashboard kpi widget ── #}
    {% include "showcase/cabinet/widgets/kpi.html" with title="Revenue" value=table_summary.total_revenue trend="" trend_label="for "|add:period_label icon="bi-cash-stack" %}
    {% include "showcase/cabinet/widgets/kpi.html" with title="Bookings" value=table_summary.total_bookings trend="" trend_label="working days: "|add:table_summary.working_days icon="bi-calendar-check" %}
    {% include "showcase/cabinet/widgets/kpi.html" with title="Average check" value=table_summary.avg_check trend="" trend_label="per booking" icon="bi-receipt" %}
    {% include "showcase/cabinet/widgets/kpi.html" with title="Best day" value=table_summary.best_day trend=table_summary.best_day_val trend_label="" icon="bi-trophy" %}
    {# ── Data table — universal widget ── #} {% include "showcase/cabinet/widgets/table.html" with columns=columns rows=rows summary=summary_row striped="is_weekend" bar_key="revenue_fmt" bar_max=bar_max %} {% include "showcase/cabinet/includes/_export_modal.html" %}
    {% endblock %}