Sith/accounting/templates/accounting/journal_statement_accounting.jinja

34 lines
882 B
Django/Jinja
Raw Normal View History

2016-12-19 02:55:21 +00:00
{% extends "core/base.jinja" %}
{% block title %}
{% trans %}General journal:{% endtrans %} {{ object.name }}
{% endblock %}
{% block content %}
2017-10-09 11:58:18 +00:00
<div id="accounting">
<h3>{% trans %}Accounting statement: {% endtrans %} {{ object.name }}</h3>
2016-12-19 02:55:21 +00:00
2017-10-09 11:58:18 +00:00
<table>
<thead>
<tr>
<td>{% trans %}Operation type{% endtrans %}</td>
<td>{% trans %}Sum{% endtrans %}</td>
</tr>
</thead>
<tbody>
{% for k,v in statement.items() %}
<tr>
<td>{{ k }}</td>
<td>{{ v }}</td>
</tr>
{% endfor %}
</tbody>
2016-12-19 02:55:21 +00:00
2017-10-09 11:58:18 +00:00
</table>
2016-12-19 02:55:21 +00:00
2017-10-09 11:58:18 +00:00
<p><strong>{% trans %}Amount: {% endtrans %}</strong>{{ object.amount }} €</p>
<p><strong>{% trans %}Effective amount: {% endtrans %}</strong>{{ object.effective_amount }} €</p>
</div>
2016-12-21 03:58:52 +00:00
{% endblock %}