{% extends 'base.html' %} {% block title %}Commission Report{% endblock %} {% block content %}

💰 Admin commission report

The admin earns {{ rate }}% of every ticket sold.

{{ totals.tickets|default:0 }}
Tickets
{{ totals.seats|default:0 }}
Seats
Rs. {{ totals.sales|default:0 }}
Total sales
Rs. {{ totals.commission|default:0 }}
Admin commission
Rs. {{ totals.operator|default:0 }}
Operator earnings

By operator

{% for row in per_operator %} {% empty %} {% endfor %}
Operator Tickets Sales Admin commission
{{ row.schedule__bus__operator__company_name|default:"—" }} {{ row.tickets }} Rs. {{ row.sales }} Rs. {{ row.commission }}
No sales yet.

Recent tickets

{% for b in bookings %} {% empty %} {% endfor %}
Code Passenger Operator Seats Total Commission ({{ rate }}%) Operator gets Date
{{ b.booking_code }} {{ b.user.full_name }} {{ b.schedule.bus.operator.company_name }} {{ b.seats_count }} Rs. {{ b.total_amount }} Rs. {{ b.commission_amount }} Rs. {{ b.operator_earning }} {{ b.booked_at|date:"Y-m-d H:i" }}
No tickets sold yet.
{% endblock %}