journal_statement_accounting.jinja 908 Bytes
Newer Older
Krophil's avatar
Krophil committed
1
2
3
4
5
6
7
8
{% extends "core/base.jinja" %}

{% block title %}
{% trans %}General journal:{% endtrans %} {{ object.name }}
{% endblock %}


{% block content %}
Krophil's avatar
Krophil committed
9
10
<div id="accounting">
    <h3>{% trans %}Accounting statement: {% endtrans %} {{ object.name }}</h3>
Krophil's avatar
Krophil committed
11

Krophil's avatar
Krophil committed
12
13
14
15
16
17
18
19
20
21
22
    <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>
Sli's avatar
Sli committed
23
                <td>{{ "%.2f" % v }}</td>
Krophil's avatar
Krophil committed
24
25
26
            </tr>
            {% endfor %}
        </tbody>
Krophil's avatar
Krophil committed
27

Krophil's avatar
Krophil committed
28
    </table>
Krophil's avatar
Krophil committed
29

Sli's avatar
Sli committed
30
31
    <p><strong>{% trans %}Amount: {% endtrans %}</strong>{{ "%.2f" % object.amount }}</p>
    <p><strong>{% trans %}Effective amount: {% endtrans %}</strong>{{ "%.2f" %object.effective_amount }}</p>
Krophil's avatar
Krophil committed
32
</div>
Skia's avatar
Skia committed
33
{% endblock %}