{% extends "base.html" %} {% block title %}Customers Report - AsapLoads POS{% endblock %} {% block header_title %}Customers Report{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
Customer Analytics

Total Customers

{{ total_customers }}

Total Revenue from Customers

{{ company_settings.currency_symbol }}{{ total_revenue|floatformat:2 }}

Average Customer Value

{{ company_settings.currency_symbol }}{{ average_customer_value|floatformat:2 }}

{% for customer in customer_metrics %} {% empty %} {% endfor %}
Customer Contact Purchases Total Spent Average Purchase Last Purchase Actions
{% if customer.total_spent > 5000 %} {% elif customer.last_purchase_date|date:'Y-m-d' > '2025-02-01'|date:'Y-m-d' %} {% else %} {% endif %} {{ customer.name }}
{% if customer.email %}
{{ customer.email }}
{% endif %} {% if customer.phone %}
{{ customer.phone }}
{% endif %}
{{ customer.total_purchases }} {{ company_settings.currency_symbol }}{{ customer.total_spent|floatformat:2 }} {{ company_settings.currency_symbol }}{{ customer.average_purchase|floatformat:2 }} {{ customer.last_purchase_date|date:"M d, Y" }}
No customer data available
Customer Segments
VIP Customers

Customers who have spent over {{ company_settings.currency_symbol }}5,000

{{ customer_metrics|slice:":5"|length }}

{% for customer in customer_metrics|slice:":5" %}
{{ customer.name }} {{ company_settings.currency_symbol }}{{ customer.total_spent|floatformat:0 }}
{% endfor %}
Most Frequent Buyers

Customers with the most purchases

{{ customer_metrics|slice:":5"|length }}

{% for customer in customer_metrics|slice:":5" %}
{{ customer.name }} {{ customer.total_purchases }} purchases
{% endfor %}
Highest Average Orders

Customers with highest average purchase value

{{ customer_metrics|slice:":5"|length }}

{% for customer in customer_metrics|slice:":5" %}
{{ customer.name }} {{ company_settings.currency_symbol }}{{ customer.average_purchase|floatformat:0 }}
{% endfor %}
{% endblock %} {% block extra_js %} {% endblock %}