bank_account_details.jinja 1.01 KB
Newer Older
Skia's avatar
Skia committed
1 2 3
{% extends "core/base.jinja" %}

{% block content %}
Skia's avatar
Skia committed
4 5 6 7
    <p>
    <a href="{{ url('accounting:bank_list') }}">{% trans %}Accounting{% endtrans %}</a> >
    {{ object.name }}
    </p>
Skia's avatar
Skia committed
8 9 10 11 12 13
    <h2>{% trans %}Bank account: {% endtrans %}{{ object.name }}</h2>
    <h4>{% trans %}Infos{% endtrans %}</h4>
    <ul>
        <li><strong>{% trans %}IBAN: {% endtrans %}</strong>{{ object.iban }}</li>
        <li><strong>{% trans %}Number: {% endtrans %}</strong>{{ object.number }}</li>
    </ul>
Skia's avatar
Skia committed
14
    <p><a href="{{ url('accounting:club_new') }}?parent={{ object.id }}">{% trans %}New club account{% endtrans %}</a></p>
Skia's avatar
Skia committed
15 16 17
    <ul>
    {% for c in object.club_accounts.all() %}
        <li><a href="{{ url('accounting:club_details', c_account_id=c.id) }}">{{ c }}</a> -
Skia's avatar
Skia committed
18 19
            <a href="{{ url('accounting:club_edit', c_account_id=c.id) }}">{% trans %}Edit{% endtrans %}</a> -
            <a href="{{ url('accounting:club_delete', c_account_id=c.id) }}">{% trans %}Delete{% endtrans %}</a></li>
Skia's avatar
Skia committed
20 21 22 23 24 25 26
    {% endfor %}
    </ul>

{% endblock %}