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>
|
2019-10-06 15:44:30 +00:00
|
|
|
<td>{{ "%.2f" % v }}</td>
|
2017-10-09 11:58:18 +00:00
|
|
|
</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
|
|
|
|
2019-10-06 15:44:30 +00:00
|
|
|
<p><strong>{% trans %}Amount: {% endtrans %}</strong>{{ "%.2f" % object.amount }} €</p>
|
|
|
|
<p><strong>{% trans %}Effective amount: {% endtrans %}</strong>{{ "%.2f" %object.effective_amount }} €</p>
|
2017-10-09 11:58:18 +00:00
|
|
|
</div>
|
2016-12-21 03:58:52 +00:00
|
|
|
{% endblock %}
|