{% extends "newbase.html" %} {% load static %} {% load crispy_forms_tags %} {% block content %}
SALES ANALYSIS

Sales Analysis

Review your daily sales performance across networks and services.

{% if current_user.is_superuser %}
PENDING SALES {{ pending }} sale.

Sales currently awaiting processing.

{% endif %}

Search sales by date

Select a date to view the sales report for that day.

{% for error in field.errors %}
{{ error }}
{% endfor %}
{% csrf_token %}
{{ form|crispy }}
{% if is_post %}
DAILY SALES REPORT

{{ the_date }}

Sales activity recorded for the selected date.

DATA VOLUME SOLD {{ hol }} GB
TOTAL SALES ₦{{ total_cost|floatformat:2 }} Successful sales
DATA VOLUME {{ hol }} GB Total data sold
SUCCESSFUL SALES {{ successful }} Completed transactions
PENDING {{ pending }} Awaiting processing
UNSUCCESSFUL {{ unsuccessful }} Failed transactions
OTHER SERVICES {{ services|length }} Service records

Network Sales

Data volume and revenue by network.

{% for d in data %} {% endfor %}
NETWORK VOLUME AMOUNT
{{ d.2 }}
{{ d.1 }} GB ₦{{ d.0 }}

Other Services

Revenue generated from other ExactSub services.

{% for d in services %} {% endfor %}
SERVICE AMOUNT
{{ d.1 }}
₦{{ d.0 }}
{% else %}

Select a date to view sales

Choose a date above and generate a report to see your sales performance.

{% endif %}
{% endblock content %}