2020-05-12 01:34:12 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block title %}Account Balance{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2020-05-13 05:28:53 +00:00
|
|
|
<div class="row third-margin">
|
2020-05-12 05:45:37 +00:00
|
|
|
<h1>Account Balance: ${{ account_balance }}</h1>
|
2020-05-12 01:34:12 +00:00
|
|
|
</div>
|
|
|
|
<div class="half-margin">
|
|
|
|
|
2020-05-15 23:18:19 +00:00
|
|
|
{% if has_vms and has_payments and warning_text != "" %}
|
|
|
|
<div class="row">
|
|
|
|
<pre class="wrap">{{ warning_text }}</pre>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2020-05-12 05:45:37 +00:00
|
|
|
<div class="row">
|
|
|
|
{% if has_payments %}
|
|
|
|
<div>
|
2020-05-13 05:28:53 +00:00
|
|
|
<div class="row third-margin">
|
2020-05-12 05:45:37 +00:00
|
|
|
<h1>Payments</h1>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>amount</th>
|
|
|
|
<th>date</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for payment in payments %}
|
|
|
|
<tr>
|
2020-05-14 23:03:00 +00:00
|
|
|
<td class="{{ payment['class_name'] }}">${{ payment["dollars"] }}</td>
|
|
|
|
<td class="{{ payment['class_name'] }}">{{ payment["created"] }}</td>
|
2020-05-12 05:45:37 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<h1>PAYMENT OPTIONS</h1>
|
|
|
|
<ul>
|
|
|
|
<li>
|
2020-05-14 23:03:00 +00:00
|
|
|
<a href="/payment/stripe">Add funds with Credit/Debit (stripe)</a>
|
2020-05-12 05:45:37 +00:00
|
|
|
<ul><li>notice: stripe will load nonfree javascript </li></ul>
|
|
|
|
</li>
|
2021-07-21 17:12:41 +00:00
|
|
|
{% if btcpay_enabled %}
|
2020-05-14 23:03:00 +00:00
|
|
|
<li><a href="/payment/btcpay">Add funds with Bitcoin/Litecoin/Monero (btcpay)</a></li>
|
2021-07-20 22:20:38 +00:00
|
|
|
{% endif %}
|
2020-05-12 05:45:37 +00:00
|
|
|
|
2020-05-15 23:18:19 +00:00
|
|
|
<li>Cash: email <a href="mailto:treasurer@cyberia.club">treasurer@cyberia.club</a></li>
|
2020-05-12 05:45:37 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{% if has_vms %}
|
2020-05-13 05:28:53 +00:00
|
|
|
<div class="row third-margin">
|
2020-05-12 05:45:37 +00:00
|
|
|
<h1>Capsuls Billed</h1>
|
|
|
|
</div>
|
2020-05-13 05:28:53 +00:00
|
|
|
<div class="row">
|
|
|
|
<table class="small">
|
|
|
|
<thead>
|
2020-05-12 05:45:37 +00:00
|
|
|
<tr>
|
2020-05-13 05:28:53 +00:00
|
|
|
<th>id</th>
|
|
|
|
<th>created</th>
|
|
|
|
<th>deleted</th>
|
|
|
|
<th>$/month</th>
|
|
|
|
<th>months</th>
|
|
|
|
<th>$ billed</th>
|
2020-05-12 05:45:37 +00:00
|
|
|
</tr>
|
2020-05-13 05:28:53 +00:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for vm in vms_billed %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ vm["id"] }}</td>
|
|
|
|
<td>{{ vm["created"] }}</td>
|
|
|
|
<td>{{ vm["deleted"] }}</td>
|
|
|
|
<td>${{ vm["dollars_per_month"] }}</td>
|
|
|
|
<td>{{ vm["months"] }}</td>
|
|
|
|
<td>${{ vm["dollars"] }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
2020-05-12 05:45:37 +00:00
|
|
|
{% endif %}
|
2020-05-12 01:34:12 +00:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block pagesource %}/templates/create-capsul.html{% endblock %}
|