{% extends 'base.html' %} {% block title %}Profit Reports{% endblock %} {% block content %}
| Branch | Invoices | Net Sales | COGS | Gross Profit | Expenses | Salaries | Net Profit |
|---|---|---|---|---|---|---|---|
| {{ r.branch.name }} | {{ r.invoices }} | {{ r.revenue|floatformat:2 }} | {{ r.cogs|floatformat:2 }} | {{ r.gross|floatformat:2 }} | {{ r.expenses|floatformat:2 }} | {{ r.salaries|floatformat:2 }} | {{ r.net|floatformat:2 }} |
| Brand | Qty | Revenue | Cost | Profit |
|---|---|---|---|---|
| {{ row.key }} | {{ row.quantity|floatformat:"0" }} | {{ row.revenue|floatformat:2 }} | {{ row.cost|floatformat:2 }} | {{ row.profit|floatformat:2 }} |
| No sales in this period. | ||||
| Category | Qty | Revenue | Cost | Profit |
|---|---|---|---|---|
| {{ row.key }} | {{ row.quantity|floatformat:"0" }} | {{ row.revenue|floatformat:2 }} | {{ row.cost|floatformat:2 }} | {{ row.profit|floatformat:2 }} |
| No sales in this period. | ||||
| Product | Brand | Qty | Avg Buy Price | Avg Sell Price | Revenue | COGS | Profit |
|---|---|---|---|---|---|---|---|
| {{ row.product_name }} | {{ row.brand_name }} | {{ row.quantity|floatformat:"0" }} | {{ row.avg_buy_price|floatformat:2 }} | {{ row.avg_sell_price|floatformat:2 }} | {{ row.revenue|floatformat:2 }} | {{ row.cost|floatformat:2 }} | {{ row.profit|floatformat:2 }} |
| No sales in this period. | |||||||
| Invoice | Customer | Date | Net Amount |
|---|---|---|---|
| {{ s.invoice_number }} | {{ s.customer.name|default:"Walk-in" }} | {{ s.date }} | {{ s.net_amount|floatformat:2 }} |
| No sales in this period. | |||