{% extends 'layouts/base.html' %} {% block content %}

Employee and Company Performance

Employee approved-sales performance and overall company sales for the selected period.

Report Builder Saved Reports
Overall {% if overall %}All dates, including future sales{% endif %}

Approved Sales by Employee

Rs. {{ '%.2f'|format(total_amount) }}
{% if performance_rows %}
{% else %}

No approved sales were recorded for this period.

{% endif %}

Rankings

{% for row in performance_rows %} {% else %} {% endfor %}
RankSales OwnerManagerApproved SalesSales
#{{ row.rank }} {{ row.owner_name }} {{ row.manager_name }} Rs. {{ '%.2f'|format(row.approved_amount) }} {{ row.sale_count }}
No approved sales found.

Company Performance

🧾

{{ company_summary.total_orders }}

Total Sales Orders
₹

₹{{ '%.2f'|format(company_summary.total_revenue) }}

Total Revenue

Sales Revenue by Date

{% if sales_revenue_chart %}
{% else %}

No sales revenue found for this period.

{% endif %}

Sales & Incentive This Month

Approved sales and incentives for all active users in the current calendar month.

{% for user in monthly_incentive_rows %} {% else %} {% endfor %} {% if monthly_incentive_rows %} {% endif %}
UserSales OrdersApproved SalesIncentive %Incentive AmountMonthly SalaryTotal Salary
{{ user.name }} {{ user.sale_count }} Rs. {{ '%.2f'|format(user.approved_sales) }} {{ user.percentage }}% Rs. {{ '%.2f'|format(user.incentive) }} Rs. {{ '%.2f'|format(user.monthly_salary) }} Rs. {{ '%.2f'|format(user.total_salary) }}
No active users found.
All Users Total{{ monthly_incentive_totals.sale_count }}Rs. {{ '%.2f'|format(monthly_incentive_totals.approved_sales) }}-Rs. {{ '%.2f'|format(monthly_incentive_totals.incentive) }}Rs. {{ '%.2f'|format(monthly_incentive_totals.monthly_salary) }}Rs. {{ '%.2f'|format(monthly_incentive_totals.total_salary) }}
{% if performance_rows or sales_revenue_chart %} {% endif %} {% endblock %}