EcoAccount index

* renames eco_withdraws to withdraws
* adds EcoAccountTableFilter
* changes percentage withdraw to surface withdraw --> renames amount to surface
* updates EcoAccountTable
  * adds column for rendering rest of available account using a progress bar
* adds progressbar.html to konova/custom_widgets
* adds/updates translations
This commit is contained in:
mipel
2021-08-09 14:16:54 +02:00
parent c016ab2e76
commit 3dc2af4b7c
9 changed files with 279 additions and 112 deletions

View File

@@ -4,7 +4,7 @@
<div class="row">
<div class="col-sm-6">
<h5>
<span class="badge badge-light">{{intervention.eco_withdraws.count}}</span>
<span class="badge badge-light">{{intervention.withdraws.count}}</span>
{% trans 'Eco Account Withdraws' %}
</h5>
</div>
@@ -38,7 +38,7 @@
</tr>
</thead>
<tbody>
{% for withdraw in intervention.eco_withdraws.all %}
{% for withdraw in intervention.withdraws.all %}
<tr>
<td class="align-middle">
<a href="{% url 'compensation:acc-open' withdraw.account.id %}">