Sith/accounting/templates/accounting/journal_details.jinja

23 lines
471 B
Plaintext
Raw Normal View History

2016-05-03 06:50:54 +00:00
{% 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 %}