{% include "_pwa_head.html" %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% endfor %} {% endif %} {% endwith %} {% if can_manage_revenue %}
Single Branch Entry {% if edit_row and edit_row.branch_name %} Clear Edit {% endif %}
{% else %}
Read-only mode: only your branch data is visible.
{% endif %} {% for b in branch_options %} {% endfor %}
Revenue Entries | Count: {{ (rows|length) if rows else 0 }} Rows
{% if can_manage_revenue %}{% endif %} {% if rows %} {% for r in rows %} {% if can_manage_revenue %} {% endif %} {% endfor %} {% else %} {% endif %}
Date Branch Sales Profit Service Charges Total Profit Zone Updated By Last ModifiedAction
{{ r.entry_date }} {{ r.branch_name }} {{ '%.2f'|format(r.sales_profit or 0) }} {{ '%.2f'|format(r.service_charges or 0) }} {{ '%.2f'|format(r.total_profit or 0) }} {{ r.zone or '-' }} {{ r.created_by or '-' }} {{ r.updated_on or '-' }} Edit
No records available