mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
39 lines
960 B
Django/Jinja
39 lines
960 B
Django/Jinja
{% extends "core/base.jinja" %}
|
|
|
|
{% block title %}
|
|
{% trans %}Invoices call{% endtrans %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h3>{% trans date=start_date|date("F Y") %}Invoices call for {{ date }}{% endtrans %}</h3>
|
|
<p>{% trans %}Choose another month: {% endtrans %}</p>
|
|
<form method="get" action="">
|
|
<select name="month">
|
|
{% for m in months %}
|
|
<option value="{{ m|date("Y-m") }}">{{ m|date("Y-m") }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
<input type="submit" value="{% trans %}Go{% endtrans %}" />
|
|
</form>
|
|
<br>
|
|
<p>{% trans %}CB Payments{% endtrans %} : {{ sum_cb }} €</p>
|
|
<br>
|
|
<table>
|
|
<thead>
|
|
<td>{% trans %}Club{% endtrans %}</td>
|
|
<td>{% trans %}Sum{% endtrans %}</td>
|
|
</thead>
|
|
<tbody>
|
|
{% for i in sums %}
|
|
<tr>
|
|
<td>{{ i['club__name'] }}</td>
|
|
<td>{{ i['selling_sum'] }} €</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|
|
|
|
|
|
|