invoices_call.jinja 946 Bytes
Newer Older
Skia's avatar
Skia committed
1 2 3 4 5 6 7
{% extends "core/base.jinja" %}

{% block title %}
{% trans %}Invoices call{% endtrans %}
{% endblock %}

{% block content %}
Skia's avatar
Skia committed
8 9
<h3>{% trans date=start_date|date("F Y") %}Invoices call for {{ date }}{% endtrans %}</h3>
<p>{% trans %}Choose another month: {% endtrans %}</p>
Skia's avatar
Skia committed
10 11 12 13 14 15 16 17
<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>
Sli's avatar
Sli committed
18 19 20
<br>
<p>{% trans %}CB Payments{% endtrans %} : {{sum_cb}}</p>
<br>
Skia's avatar
Skia committed
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
<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 %}