{% comment %} {% endcomment %} {% block sidebar %} {% endblock %}
{%block title%}

Dashboard

{%endblock%}
{%block section%}
QR Code Generation Status
Total Generated
{{dashboard_data.total_customers}}
Today-{{dashboard_data.customers_today}} Week-{{dashboard_data.customers_this_week}} Month-{{dashboard_data.customers_this_month}} Year-{{dashboard_data.customers_this_year}}
Registered
{{dashboard_data.registered}}
{% if dashboard_data.percentage_increase_this_month >= 0 %} {{dashboard_data.percentage_increase_this_month}}% increase {% else %} {{dashboard_data.percentage_increase_this_month}}% decrease {% endif %}
Unregistered
{{dashboard_data.unregistered}}
Recently Updated | Five
{% for customer in recently_updated_customers %} {% endfor %}
QR Name Phone Batch Category Status
{{customer.qr_code}} {{customer.first_name}} {{customer.last_name}} {{customer.phone}} {{customer.batch.batch_name}} {{customer.batch.category.name}} {% if customer.is_active %} Active {% else %} Inactive {% endif %}
Reports /Today
Recent Activity | Last Five
{% for activity in recent_activities %}
{{activity.created|date:"d-m-Y"}}
{{activity.created|time:"H:i"}}
{{activity.count}} QR code(s) were generated by {{activity.created_by.name}}
{{activity.batch_name}}
{% endfor %}
Budget Report | This Month
{%endblock%}