You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
2.2 KiB
69 lines
2.2 KiB
<!doctype html> |
|
<html> |
|
<head> |
|
<title>OTB Billing Dashboard</title> |
|
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|
</head> |
|
<body> |
|
|
|
<div class="otb-page"> |
|
{% if app_settings.business_logo_url %} |
|
<div style="margin-bottom:15px;"> |
|
<img src="{{ app_settings.business_logo_url }}" style="height:60px;" alt="Logo"> |
|
</div> |
|
{% endif %} |
|
|
|
<h1 class="otb-section-title">{{ app_settings.business_name or 'OTB Billing' }} Dashboard</h1> |
|
|
|
{% if request.args.get('pkg_email') == '1' %} |
|
<div class="otb-alert otb-alert-success"> |
|
Accounting package emailed successfully. |
|
</div> |
|
{% endif %} |
|
|
|
{% if request.args.get('pkg_email_failed') == '1' %} |
|
<div class="otb-alert otb-alert-error"> |
|
Accounting package email failed. Check SMTP settings or server log. |
|
</div> |
|
{% endif %} |
|
|
|
<div class="otb-nav"> |
|
<a href="/clients">Clients</a> |
|
<a href="/services">Services</a> |
|
<a href="/invoices">Invoices</a> |
|
<a href="/payments">Payments</a> |
|
<a href="/subscriptions">Subscriptions</a> |
|
<a href="/reports/revenue">Revenue Report</a> |
|
<a href="/reports/aging">Aging Report</a> |
|
<a href="/reports/accounting-package.zip">Monthly Accounting Package</a> |
|
<a href="/settings">Settings / Config</a> |
|
<a href="/dbtest">DB Test</a> |
|
</div> |
|
|
|
<form method="post" action="/reports/accounting-package/email" style="margin:0 0 16px 0;"> |
|
<button type="submit">Email Accounting Package</button> |
|
</form> |
|
|
|
<table class="otb-table otb-summary-table"> |
|
<tr> |
|
<th>Total Clients</th> |
|
<th>Active Services</th> |
|
<th>Outstanding Invoices</th> |
|
<th>Outstanding Balance (CAD)</th> |
|
<th>Revenue Received (CAD)</th> |
|
</tr> |
|
<tr> |
|
<td>{{ total_clients }}</td> |
|
<td>{{ active_services }}</td> |
|
<td>{{ outstanding_invoices }}</td> |
|
<td>{{ outstanding_balance|money('CAD') }}</td> |
|
<td>{{ revenue_received|money('CAD') }}</td> |
|
</tr> |
|
</table> |
|
|
|
<p>Displayed times are shown in Eastern Time (Toronto).</p> |
|
</div> |
|
|
|
{% include "footer.html" %} |
|
</body> |
|
</html>
|
|
|