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.
60 lines
2.0 KiB
60 lines
2.0 KiB
<!doctype html> |
|
<html> |
|
<head> |
|
<title>OTB Billing Dashboard</title> |
|
</head> |
|
<body> |
|
|
|
|
|
{% if app_settings.business_logo_url %} |
|
<div style="margin-bottom:15px;"> |
|
<img src="{{ app_settings.business_logo_url }}" style="height:60px;"> |
|
</div> |
|
{% endif %} |
|
<h1>{{ app_settings.business_name or 'OTB Billing' }} Dashboard</h1> |
|
{% if request.args.get('pkg_email') == '1' %} |
|
<div style="border:1px solid #166534;background:#dcfce7;padding:10px;margin-bottom:15px;max-width:900px;"> |
|
Accounting package emailed successfully. |
|
</div> |
|
{% endif %} |
|
{% if request.args.get('pkg_email_failed') == '1' %} |
|
<div style="border:1px solid #991b1b;background:#fee2e2;padding:10px;margin-bottom:15px;max-width:900px;"> |
|
Accounting package email failed. Check SMTP settings or server log. |
|
</div> |
|
{% endif %} |
|
{% if request.args.get('pkg_email_failed') == '1' %} |
|
<div style="border:1px solid #991b1b;background:#fee2e2;padding:10px;margin-bottom:15px;max-width:900px;"> |
|
Accounting package email failed. Check SMTP settings or server log. |
|
</div> |
|
{% endif %} |
|
|
|
<p><a href="/clients">Clients</a></p> |
|
<p><a href="/services">Services</a></p> |
|
<p><a href="/invoices">Invoices</a></p> |
|
<p><a href="/payments">Payments</a></p> |
|
<p><a href="/reports/revenue">Revenue Report</a></p> |
|
<p><a href="/reports/accounting-package.zip">Monthly Accounting Package</a></p> |
|
<form method="post" action="/reports/accounting-package/email" style="margin:0 0 16px 0;"><button type="submit">Email Accounting Package</button></form> |
|
<p><a href="/settings">Settings / Config</a></p> |
|
<p><a href="/dbtest">DB Test</a></p> |
|
|
|
<table border="1" cellpadding="10"> |
|
<tr> |
|
<th>Total Clients</th> |
|
<th>Active Services</th> |
|
<th>Outstanding Invoices</th> |
|
<th>Revenue Received (CAD)</th> |
|
</tr> |
|
<tr> |
|
<td>{{ total_clients }}</td> |
|
<td>{{ active_services }}</td> |
|
<td>{{ outstanding_invoices }}</td> |
|
<td>{{ revenue_received|money('CAD') }}</td> |
|
</tr> |
|
</table> |
|
|
|
<p>Displayed times are shown in Eastern Time (Toronto).</p> |
|
|
|
{% include "footer.html" %} |
|
</body> |
|
</html>
|
|
|