club_account_details.jinja 557 Bytes
Newer Older
Skia's avatar
Skia committed
1
2
3
4
5
6
7
8
9
10
11
{% extends "core/base.jinja" %}

{% block content %}
<h2>View account: {{ object.name }}</h2>
    <ul>
    {% for k,v in object.__dict__.items() %}
        <li>{{ k }} - {{ v }}</li>
    {% endfor %}
    </ul>
    <p><a href="{{ url('accounting:journal_new') }}">New journal</a></p>
    <ul>
Skia's avatar
Skia committed
12
13
14
15
16
17
    {% for j in object.journals.all() %}
    <li>
        <a href="{{ url('accounting:journal_details', j_id=j.id) }}">{{ j }}</a> -
        <a href="{{ url('accounting:journal_edit', j_id=j.id) }}">Edit</a>

    </li>
Skia's avatar
Skia committed
18
19
20
21
22
23
24
    {% endfor %}
    </ul>

{% endblock %}