{% extends "base.html" %} {% import 'components/macros.html' as ui %} {% block title %}Finance{% endblock %} {% block head_extra %} {% endblock %} {% block content %}

Gvelo Enterprise Platform

Finance Dashboard

{{ ui.button('Add / View Expenses', '/expenses') }} {{ ui.button('Profit & Loss', '/analytics/profit-loss') }} {{ ui.button('Back to Admin', '/admin') }}
Total Sales
{{ currency_symbol }}{{ "%.2f"|format(sales or 0) }}
Cost of Goods Sold
{{ currency_symbol }}{{ "%.2f"|format(cost or 0) }}
Gross Profit
{{ currency_symbol }}{{ "%.2f"|format(gross_profit or 0) }}
Total Expenses
{{ currency_symbol }}{{ "%.2f"|format(expenses or 0) }}
Net Operating Profit
{{ currency_symbol }}{{ "%.2f"|format(profit or 0) }}
Owner Personal Balance
{{ currency_symbol }}{{ "%.2f"|format(fund_balances.personal_balance or 0) }}
Business Balance
{{ currency_symbol }}{{ "%.2f"|format(fund_balances.business_balance or 0) }}
Loan Balance
{{ currency_symbol }}{{ "%.2f"|format(fund_balances.loans_balance or 0) }}

Profit by Fund Source

{% for row in profit_by_fund %} {% else %} {% endfor %}
FundRevenueCostProfit
{{ row.fund_source|title }} {{ currency_symbol }}{{ "%.2f"|format(row.revenue or 0) }} {{ currency_symbol }}{{ "%.2f"|format(row.cost or 0) }} {{ currency_symbol }}{{ "%.2f"|format(row.net_profit or 0) }}
No profit by fund yet. Add products with buying price and sell them to populate this table.

Expenses by Fund Source

{% for row in expenses_by_fund %} {% else %} {% endfor %}
FundExpense Total
{{ row.fund_source|title }} {{ currency_symbol }}{{ "%.2f"|format(row.total or 0) }}
No expenses recorded yet.

Recent Expenses

{% for expense in recent_expenses %} {% else %} {% endfor %}
DateReasonFundAmount
{{ expense.date_created }} {{ expense.reason }} {{ expense.fund_source|title }} {{ currency_symbol }}{{ "%.2f"|format(expense.amount or 0) }}
No recent expenses.

Fund Cashflow

Personal | Business | Loans

{% endblock %}