{% include "_pwa_head.html" %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% endfor %} {% endif %} {% endwith %}
Clear
Filtered Sales Profit
{{ '%.2f'|format(total_sales or 0) }}
Filtered Service Charges
{{ '%.2f'|format(total_service or 0) }}
Filtered Total Profit
{{ '%.2f'|format(total_profit or 0) }}
Entry Count
{{ (rows|length) if rows else 0 }}
Locked Monthly Revenue Trend
Only months inside locked periods are charted. Scope: {{ filter_branch or 'All Branches' }}. Target: {{ locked_target_scope_label or (filter_branch or 'All Branches') }}.
Months {{ locked_month_count or 0 }} Sales {{ '%.2f'|format(locked_total_sales or 0) }} Service {{ '%.2f'|format(locked_total_service or 0) }} Target {{ '%.2f'|format(locked_target_value or 0) }} Profit {{ '%.2f'|format(locked_total_profit or 0) }}
{% if locked_chart_has_data %}
{% else %}
No locked monthly revenue data
Select a different date range, or lock the uploaded month to make it appear here.
{% endif %}
Filtered Revenue Entries | Count: {{ (rows|length) if rows else 0 }} Rows
{% if rows %} {% for r in rows %} {% endfor %} {% else %} {% endif %}
Date Branch Sales Profit Service Charges Total Profit Zone Updated By Last Modified
{{ 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 '-' }}
No records available