journal_details.jinja 471 Bytes
Newer Older
Skia's avatar
Skia committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% extends "core/base.jinja" %}

{% block content %}
<h2>View journal: {{ object.name }}</h2>
    <ul>
    {% for k,v in object.__dict__.items() %}
        <li>{{ k }} - {{ v }}</li>
    {% endfor %}
    </ul>
    <p><a href="{{ url('accounting:op_new') }}">New operation</a></p>
    <ul>
    {% for o in object.operations.all() %}
    <li>
        <a href="{{ url('accounting:op_edit', op_id=o.id) }}">{{ o }}</a>
    </li>
    {% endfor %}
    </ul>

{% endblock %}