This commit is contained in:
Bernhard Stampfer
2016-04-10 19:51:02 +02:00
13 changed files with 183 additions and 24 deletions

View File

@@ -5,11 +5,13 @@
<p>{{ success }}</p>
{% endif %}
<h1>Abrechnung</h1>
<p>An alle User Rechnungen <a href="/billing/send_all_bills"> versenden</a>.</p>
<form name="billing" method="post" action="/billing">
<table>
<tr>
<th>Name</th>
<th>Geschwärzt</th>
<th>Auto-Schwärzen</th>
<th>Schulden</th>
<th>Bezahlt</th>
<th></th>
@@ -18,6 +20,7 @@
<tr>
<td>{{user.longname}}</td>
<td>{% if user.isblack %} &#9745; {% else %} &#9744; {% endif %}</td>
<td>{% if user.autoblack %} &#9745; {% else %} &#9744; {% endif %}</td>
<td>{{debt[user.id-1]}} € </td>
<td> <input type="number" name="{{user.name}}_payed" step="any" required value="0" /></td>
<td>Einzelne Rechnung <a href="/billing/send_personal_bill/{{user.name}}">versenden</a></td>
@@ -26,5 +29,4 @@
</table>
<input type="submit" value="Änderungen übernehmen">
</form>
<p>An alle User Rechnungen <a href="/billing/send_all_bills"> versenden</a>.</p>
{% endblock %}