Commit 31042706 authored by Krophil's avatar Krophil
Browse files

Few changes in accounting design

parent 43f51813
Pipeline #1347 passed with stage
in 5 minutes and 48 seconds
...@@ -5,21 +5,23 @@ ...@@ -5,21 +5,23 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<p> <div id="accounting">
<a href="{{ url('accounting:bank_list') }}">{% trans %}Accounting{% endtrans %}</a> > <p>
{% trans %}Accounting types{% endtrans %} <a href="{{ url('accounting:bank_list') }}">{% trans %}Accounting{% endtrans %}</a> >
</p> {% trans %}Accounting types{% endtrans %}
<hr> </p>
<p><a href="{{ url('accounting:type_new') }}">{% trans %}New accounting type{% endtrans %}</a></p> <hr>
{% if accountingtype_list %} <p><a href="{{ url('accounting:type_new') }}">{% trans %}New accounting type{% endtrans %}</a></p>
<h3>{% trans %}Accounting type list{% endtrans %}</h3> {% if accountingtype_list %}
<ul> <h3>{% trans %}Accounting type list{% endtrans %}</h3>
{% for a in accountingtype_list %} <ul>
<li><a href="{{ url('accounting:type_edit', type_id=a.id) }}">{{ a }}</a></li> {% for a in accountingtype_list %}
{% endfor %} <li><a href="{{ url('accounting:type_edit', type_id=a.id) }}">{{ a }}</a></li>
</ul> {% endfor %}
{% else %} </ul>
{% trans %}There is no types in this website.{% endtrans %} {% else %}
{% endif %} {% trans %}There is no types in this website.{% endtrans %}
{% endif %}
</div>
{% endblock %} {% endblock %}
...@@ -5,32 +5,33 @@ ...@@ -5,32 +5,33 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<p> <div id="accounting">
<a href="{{ url('accounting:bank_list') }}">{% trans %}Accounting{% endtrans %}</a> > <p>
{{ object.name }} <a href="{{ url('accounting:bank_list') }}">{% trans %}Accounting{% endtrans %}</a> >
</p> {{ object.name }}
<hr> </p>
<h2>{% trans %}Bank account: {% endtrans %}{{ object.name }}</h2> <hr>
{% if user.is_in_group(settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) and not object.club_accounts.exists() %} <h2>{% trans %}Bank account: {% endtrans %}{{ object.name }}</h2>
<a href="{{ url('accounting:bank_delete', b_account_id=object.id) }}">{% trans %}Delete{% endtrans %}</a> {% if user.is_in_group(settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) and not object.club_accounts.exists() %}
{% endif %} <a href="{{ url('accounting:bank_delete', b_account_id=object.id) }}">{% trans %}Delete{% endtrans %}</a>
<h4>{% trans %}Infos{% endtrans %}</h4> {% endif %}
<ul> <h4>{% trans %}Infos{% endtrans %}</h4>
<li><strong>{% trans %}IBAN: {% endtrans %}</strong>{{ object.iban }}</li> <ul>
<li><strong>{% trans %}Number: {% endtrans %}</strong>{{ object.number }}</li> <li><strong>{% trans %}IBAN: {% endtrans %}</strong>{{ object.iban }}</li>
</ul> <li><strong>{% trans %}Number: {% endtrans %}</strong>{{ object.number }}</li>
<p><a href="{{ url('accounting:club_new') }}?parent={{ object.id }}">{% trans %}New club account{% endtrans %}</a></p> </ul>
<ul> <p><a href="{{ url('accounting:club_new') }}?parent={{ object.id }}">{% trans %}New club account{% endtrans %}</a></p>
{% for c in object.club_accounts.all() %} <ul>
<li><a href="{{ url('accounting:club_details', c_account_id=c.id) }}">{{ c }}</a> {% for c in object.club_accounts.all() %}
- <a href="{{ url('accounting:club_edit', c_account_id=c.id) }}">{% trans %}Edit{% endtrans %}</a> <li><a href="{{ url('accounting:club_details', c_account_id=c.id) }}">{{ c }}</a>
{% if c.journals.count() == 0 %} - <a href="{{ url('accounting:club_edit', c_account_id=c.id) }}">{% trans %}Edit{% endtrans %}</a>
- <a href="{{ url('accounting:club_delete', c_account_id=c.id) }}">{% trans %}Delete{% endtrans %}</a> {% if c.journals.count() == 0 %}
{% endif %} - <a href="{{ url('accounting:club_delete', c_account_id=c.id) }}">{% trans %}Delete{% endtrans %}</a>
</li> {% endif %}
{% endfor %} </li>
</ul> {% endfor %}
</ul>
</div>
{% endblock %} {% endblock %}
......
...@@ -5,26 +5,28 @@ ...@@ -5,26 +5,28 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<h4> <div id="accounting">
{% trans %}Accounting{% endtrans %} <h4>
</h4> {% trans %}Accounting{% endtrans %}
{% if user.is_in_group(settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) %} </h4>
<p><a href="{{ url('accounting:simple_type_list') }}">{% trans %}Manage simplified types{% endtrans %}</a></p> {% if user.is_in_group(settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) %}
<p><a href="{{ url('accounting:type_list') }}">{% trans %}Manage accounting types{% endtrans %}</a></p> <p><a href="{{ url('accounting:simple_type_list') }}">{% trans %}Manage simplified types{% endtrans %}</a></p>
<p><a href="{{ url('accounting:bank_new') }}">{% trans %}New bank account{% endtrans %}</a></p> <p><a href="{{ url('accounting:type_list') }}">{% trans %}Manage accounting types{% endtrans %}</a></p>
{% endif %} <p><a href="{{ url('accounting:bank_new') }}">{% trans %}New bank account{% endtrans %}</a></p>
{% if bankaccount_list %} {% endif %}
<h3>{% trans %}Bank account list{% endtrans %}</h3> {% if bankaccount_list %}
<ul> <h3>{% trans %}Bank account list{% endtrans %}</h3>
{% for a in object_list %} <ul>
<li><a href="{{ url('accounting:bank_details', b_account_id=a.id) }}">{{ a }}</a> {% for a in object_list %}
- <a href="{{ url('accounting:bank_edit', b_account_id=a.id) }}">{% trans %}Edit{% endtrans %}</a> <li><a href="{{ url('accounting:bank_details', b_account_id=a.id) }}">{{ a }}</a>
</li> - <a href="{{ url('accounting:bank_edit', b_account_id=a.id) }}">{% trans %}Edit{% endtrans %}</a>
{% endfor %} </li>
</ul> {% endfor %}
{% else %} </ul>
{% trans %}There is no accounts in this website.{% endtrans %} {% else %}
{% endif %} {% trans %}There is no accounts in this website.{% endtrans %}
{% endif %}
</div>
{% endblock %} {% endblock %}
......
...@@ -5,62 +5,64 @@ ...@@ -5,62 +5,64 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<p> <div id="accounting">
<a href="{{ url('accounting:bank_list') }}">{% trans %}Accounting{% endtrans %}</a> > <p>
<a href="{{ url('accounting:bank_details', b_account_id=object.bank_account.id) }}">{{object.bank_account }}</a> > <a href="{{ url('accounting:bank_list') }}">{% trans %}Accounting{% endtrans %}</a> >
{{ object }} <a href="{{ url('accounting:bank_details', b_account_id=object.bank_account.id) }}">{{object.bank_account }}</a> >
</p> {{ object }}
<hr> </p>
<h2>{% trans %}Club account:{% endtrans %} {{ object.name }}</h2> <hr>
{% if user.is_root and not object.journals.exists() %} <h2>{% trans %}Club account:{% endtrans %} {{ object.name }}</h2>
<a href="{{ url('accounting:club_delete', c_account_id=object.id) }}">{% trans %}Delete{% endtrans %}</a> {% if user.is_root and not object.journals.exists() %}
{% endif %} <a href="{{ url('accounting:club_delete', c_account_id=object.id) }}">{% trans %}Delete{% endtrans %}</a>
{% if user.is_in_group(settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) %} {% endif %}
<p><a href="{{ url('accounting:label_new') }}?parent={{ object.id }}">{% trans %}New label{% endtrans %}</a></p> {% if user.is_in_group(settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) %}
{% endif %} <p><a href="{{ url('accounting:label_new') }}?parent={{ object.id }}">{% trans %}New label{% endtrans %}</a></p>
<p><a href="{{ url('accounting:label_list', clubaccount_id=object.id) }}">{% trans %}Label list{% endtrans %}</a></p> {% endif %}
{% if not object.has_open_journal() %} <p><a href="{{ url('accounting:label_list', clubaccount_id=object.id) }}">{% trans %}Label list{% endtrans %}</a></p>
<p><a href="{{ url('accounting:journal_new') }}?parent={{ object.id }}">{% trans %}New journal{% endtrans %}</a></p> {% if not object.has_open_journal() %}
{% else %} <p><a href="{{ url('accounting:journal_new') }}?parent={{ object.id }}">{% trans %}New journal{% endtrans %}</a></p>
<p>{% trans %}You can not create new journal while you still have one opened{% endtrans %}</p> {% else %}
{% endif %} <p>{% trans %}You can not create new journal while you still have one opened{% endtrans %}</p>
<table> {% endif %}
<thead> <table>
<tr> <thead>
<td>{% trans %}Name{% endtrans %}</td> <tr>
<td>{% trans %}Start{% endtrans %}</td> <td>{% trans %}Name{% endtrans %}</td>
<td>{% trans %}End{% endtrans %}</td> <td>{% trans %}Start{% endtrans %}</td>
<td>{% trans %}Amount{% endtrans %}</td> <td>{% trans %}End{% endtrans %}</td>
<td>{% trans %}Effective amount{% endtrans %}</td> <td>{% trans %}Amount{% endtrans %}</td>
<td>{% trans %}Closed{% endtrans %}</td> <td>{% trans %}Effective amount{% endtrans %}</td>
<td>{% trans %}Actions{% endtrans %}</td> <td>{% trans %}Closed{% endtrans %}</td>
</tr> <td>{% trans %}Actions{% endtrans %}</td>
</thead> </tr>
<tbody> </thead>
{% for j in object.journals.all() %} <tbody>
<tr> {% for j in object.journals.all() %}
<td>{{ j.name }}</td> <tr>
<td>{{ j.start_date }}</td> <td>{{ j.name }}</td>
{% if j.end_date %} <td>{{ j.start_date }}</td>
<td>{{ j.end_date }}</td> {% if j.end_date %}
{% else %} <td>{{ j.end_date }}</td>
<td> - </td> {% else %}
{% endif %} <td> - </td>
<td>{{ j.amount }}</td>
<td>{{ j.effective_amount }}</td>
{% if j.closed %}
<td>{% trans %}Yes{% endtrans %}</td>
{% else %}
<td>{% trans %}No{% endtrans %}</td>
{% endif %}
<td> <a href="{{ url('accounting:journal_details', j_id=j.id) }}">{% trans %}View{% endtrans %}</a>
<a href="{{ url('accounting:journal_edit', j_id=j.id) }}">{% trans %}Edit{% endtrans %}</a>
{% if user.is_in_group(settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) and j.operations.count() == 0 %}
<a href="{{ url('accounting:journal_delete', j_id=j.id) }}">{% trans %}Delete{% endtrans %}</a>
{% endif %} {% endif %}
</td> <td>{{ j.amount }}</td>
</tr> <td>{{ j.effective_amount }}</td>
{% endfor %} {% if j.closed %}
</tbody> <td>{% trans %}Yes{% endtrans %}</td>
</table> {% else %}
<td>{% trans %}No{% endtrans %}</td>
{% endif %}
<td> <a href="{{ url('accounting:journal_details', j_id=j.id) }}">{% trans %}View{% endtrans %}</a>
<a href="{{ url('accounting:journal_edit', j_id=j.id) }}">{% trans %}Edit{% endtrans %}</a>
{% if user.is_in_group(settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) and j.operations.count() == 0 %}
<a href="{{ url('accounting:journal_delete', j_id=j.id) }}">{% trans %}Delete{% endtrans %}</a>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %} {% endblock %}
...@@ -5,24 +5,25 @@ ...@@ -5,24 +5,25 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
{% if user.is_in_group(settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) or user.is_root %} <div id="accounting">
<p><a href="{{ url('accounting:co_new') }}">{% trans %}Create new company{% endtrans %}</a></p> {% if user.is_in_group(settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) or user.is_root %}
{% endif %} <p><a href="{{ url('accounting:co_new') }}">{% trans %}Create new company{% endtrans %}</a></p>
{% endif %}
</br>
<table>
<thead>
<tr>
<td>{% trans %}Companies{% endtrans %}</td>
</tr>
</thead>
<tbody>
{% for o in object_list %}
<tr>
<td><a href="{{ url('accounting:co_edit', co_id=o.id) }}">{{ o.get_display_name() }}</a></td>
</tr>
{% endfor %}
</tbody>
</table>
</br>
<table>
<thead>
<tr>
<td>{% trans %}Companies{% endtrans %}</td>
</tr>
</thead>
<tbody>
{% for o in object_list %}
<tr>
<td><a href="{{ url('accounting:co_edit', co_id=o.id) }}">{{ o.get_display_name() }}</a></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %} {% endblock %}
...@@ -5,88 +5,96 @@ ...@@ -5,88 +5,96 @@
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<p> <div id="accounting">
<a href="{{ url('accounting:bank_list') }}">{% trans %}Accounting{% endtrans %}</a> > <p>
<a href="{{ url('accounting:bank_details', b_account_id=object.club_account.bank_account.id) }}">{{object.club_account.bank_account }}</a> > <a href="{{ url('accounting:bank_list') }}">{% trans %}Accounting{% endtrans %}</a> >
<a href="{{ url('accounting:club_details', c_account_id=object.club_account.id) }}">{{ object.club_account }}</a> > <a href="{{ url('accounting:bank_details', b_account_id=object.club_account.bank_account.id) }}">{{object.club_account.bank_account }}</a> >
{{ object.name }} <a href="{{ url('accounting:club_details', c_account_id=object.club_account.id) }}">{{ object.club_account }}</a> >
</p> {{ object.name }}
<hr> </p>
<h2>{% trans %}General journal:{% endtrans %} {{ object.name }}</h2> <hr>
<p><a href="{{ url('accounting:label_new') }}?parent={{ object.club_account.id }}">{% trans %}New label{% endtrans %}</a></p> <h2>{% trans %}General journal:{% endtrans %} {{ object.name }}</h2>
<p><a href="{{ url('accounting:label_list', clubaccount_id=object.club_account.id) }}">{% trans %}Label list{% endtrans %}</a></p> <p><a href="{{ url('accounting:label_new') }}?parent={{ object.club_account.id }}">{% trans %}New label{% endtrans %}</a></p>
<p><a href="{{ url('accounting:co_list') }}">{% trans %}Company list{% endtrans %}</a></p> <p><a href="{{ url('accounting:label_list', clubaccount_id=object.club_account.id) }}">{% trans %}Label list{% endtrans %}</a></p>
<p><strong>{% trans %}Amount: {% endtrans %}</strong>{{ object.amount }} € - <p><a href="{{ url('accounting:co_list') }}">{% trans %}Company list{% endtrans %}</a></p>
<strong>{% trans %}Effective amount: {% endtrans %}</strong>{{ object.effective_amount }}</p> <p><strong>{% trans %}Amount: {% endtrans %}</strong>{{ object.amount }} € -
{% if object.closed %} <strong>{% trans %}Effective amount: {% endtrans %}</strong>{{ object.effective_amount }}</p>
<p>{% trans %}Journal is closed, you can not create operation{% endtrans %}</p> {% if object.closed %}
{% else %} <p>{% trans %}Journal is closed, you can not create operation{% endtrans %}</p>
<p><a href="{{ url('accounting:op_new', j_id=object.id) }}">{% trans %}New operation{% endtrans %}</a></p> {% else %}
</br> <p><a href="{{ url('accounting:op_new', j_id=object.id) }}">{% trans %}New operation{% endtrans %}</a></p>
{% endif %} </br>
<table> {% endif %}
<thead> <div class="journal-table">
<tr> <table>
<td>{% trans %}Nb{% endtrans %}</td> <thead>
<td>{% trans %}Date{% endtrans %}</td> <tr>
<td>{% trans %}Label{% endtrans %}</td> <td>{% trans %}Nb{% endtrans %}</td>
<td>{% trans %}Amount{% endtrans %}</td> <td>{% trans %}Date{% endtrans %}</td>
<td>{% trans %}Payment mode{% endtrans %}</td> <td>{% trans %}Label{% endtrans %}</td>
<td>{% trans %}Target{% endtrans %}</td> <td>{% trans %}Amount{% endtrans %}</td>
<td>{% trans %}Code{% endtrans %}</td> <td>{% trans %}Payment mode{% endtrans %}</td>
<td>{% trans %}Nature{% endtrans %}</td> <td>{% trans %}Target{% endtrans %}</td>
<td>{% trans %}Done{% endtrans %}</td> <td>{% trans %}Code{% endtrans %}</td>
<td>{% trans %}Comment{% endtrans %}</td> <td>{% trans %}Nature{% endtrans %}</td>
<td>{% trans %}File{% endtrans %}</td> <td>{% trans %}Done{% endtrans %}</td>
<td>{% trans %}Actions{% endtrans %}</td> <td>{% trans %}Comment{% endtrans %}</td>
<td>{% trans %}PDF{% endtrans %}</td> <td>{% trans %}File{% endtrans %}</td>
</tr> <td>{% trans %}Actions{% endtrans %}</td>
</thead> <td>{% trans %}PDF{% endtrans %}</td>
<tbody> </tr>
{% for o in object.operations.all() %} </thead>
<tr> <tbody>
<td>{{ o.number }}</td> {% for o in object.operations.all() %}
<td>{{ o.date }}</td> <tr>
<td>{{ o.label or "" }}</td> <td>{{ o.number }}</td>
<td>{{ o.amount }}</td> <td>{{ o.date }}</td>
<td>{{ o.get_mode_display() }}</td> <td>{{ o.label or "" }}</td>
{% if o.target_type == "OTHER" %} {% if o.accounting_type.movement_type == "DEBIT" %}
<td>{{ o.target_label }}</td> <td class="neg-amount">&nbsp;{{ o.amount }}&nbsp;</td>
{% else %} {% else %}
<td><a href="{{ o.target.get_absolute_url() }}">{{ o.target.get_display_name() }}</a></td> <td class="pos-amount">&nbsp;{{ o.amount }}&nbsp;</td>
{% endif %} {% endif %}
<td>{{ o.accounting_type.code }}</td> <td>{{ o.get_mode_display() }}</td>
<td>{{ o.accounting_type.label }}</td> {% if o.target_type == "OTHER" %}
{% if o.done %} <td>{{ o.target_label }}</td>
<td>{% trans %}Yes{% endtrans %}</td> {% else %}
{% else %} <td><a href="{{ o.target.get_absolute_url() }}">{{ o.target.get_display_name() }}</a></td>
<td>{% trans %}No{% endtrans %}</td> {% endif %}
{% endif %} <td>{{ o.accounting_type.code }}</td>
<td>{{ o.remark }} <td>{{ o.accounting_type.label }}</td>
{% if not o.linked_operation and o.target_type == "ACCOUNT" and not o.target.has_open_journal() %} {% if o.done %}
<td>{% trans %}Yes{% endtrans %}</td>
{% else %}
<td>{% trans %}No{% endtrans %}</td>
{% endif %}
<td>{{ o.remark }}
{% if not o.linked_operation and o.target_type == "ACCOUNT" and not o.target.has_open_journal() %}
<p><strong>
{% trans %}Warning: this operation has no linked operation because the targeted club account has no opened journal.{% endtrans %}
</strong></p>
<p><strong> <p><strong>
{% trans %}Warning: this operation has no linked operation because the targeted club account has no opened journal.{% endtrans %} {% trans url=o.target.get_absolute_url() %}Open a journal in <a href="{{ url }}">this club account</a>, then save this operation again to make the linked operation.{% endtrans %}
</strong></p> </strong></p>
<p><strong>
{% trans url=o.target.get_absolute_url() %}Open a journal in <a href="{{ url }}">this club account</a>, then save this operation again to make the linked operation.{% endtrans %}
</strong></p>
{% endif %}
</td>
{% if o.invoice %}
<td><a href="{{ url('core:download', file_id=o.invoice.id) }}">{{ o.invoice.name }}</a></td>
{% else %}
<td>-</td>
{% endif %}
<td>
{% if o.journal.club_account.bank_account.name != "AE TI" and o.journal.club_account.bank_account.name != "TI" or user.is_in_group(settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) %}
{% if not o.journal.closed %}
<a href="{{ url('accounting:op_edit', op_id=o.id) }}">{% trans %}Edit{% endtrans %}</a>
{% endif %} {% endif %}
</td>
{% if o.invoice %}
<td><a href="{{ url('core:download', file_id=o.invoice.id) }}">{{ o.invoice.name }}</a></td>
{% else %}
<td>-</td>
{% endif %} {% endif %}
</td> <td>
<td><a href="{{ url('accounting:op_pdf', op_id=o.id) }}">{% trans %}Generate{% endtrans %}</a></td> {% if o.journal.club_account.bank_account.name != "AE TI" and o.journal.club_account.bank_account.name != "TI" or user.is_in_group(settings.SITH_GROUP_ACCOUNTING_ADMIN_ID) %}
</tr> {% if not o.journal.closed %}
{% endfor %} <a href="{{ url('accounting:op_edit', op_id=o.id) }}">{% trans %}Edit{% endtrans %}</a>
</tbody> {% endif %}
</table> {% endif %}
</td>
<td><a href="{{ url('accounting:op_pdf', op_id=o.id) }}">{% trans %}Generate{% endtrans %}</a></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
{% endblock %} {% endblock %}
...@@ -6,27 +6,28 @@ ...@@ -6,27 +6,28 @@
{% block content %} {% block content %}
<h3>{% trans %}Accounting statement: {% endtrans %} {{ object.name }}</h3> <div id="accounting">
<h3>{% trans %}Accounting statement: {% endtrans %} {{ object.name }}</h3>
<table> <table>
<thead> <thead>
<tr> <tr>
<td>{% trans %}Operation type{% endtrans %}</td> <td>{% trans %}Operation type{% endtrans %}</td>
<td>{% trans %}Sum{% endtrans %}</td> <td>{% trans %}Sum{% endtrans %}</td>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% for k,v in statement.items() %} {% for k,v in statement.items() %}
<tr> <tr>
<td>{{ k }}</td> <td>{{ k }}</td>
<td>{{ v }}</td> <td>{{ v }}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>
<p><strong>{% trans %}Amount: {% endtrans %}</strong>{{ object.amount }}</p>
<p><strong>{% trans %}Effective amount: {% endtrans %}</strong>{{ object.effective_amount }}</p>
<p><strong>{% trans %}Amount: {% endtrans %}</strong>{{ object.amount }}</p>
<p><strong>{% trans %}Effective amount: {% endtrans %}</strong>{{ object.effective_amount }}</p>
</div>
{% endblock %} {% endblock %}
...@@ -5,52 +5,53 @@ ...@@ -5,52 +5,53 @@
{% endblock %} {% endblock %}
{% macro display_tables(dict) %} {% macro display_tables(dict) %}
<h6>{% trans %}Credit{% endtrans %}</h6> <div id="accounting">
<table> <h6>{% trans %}Credit{% endtrans %}</h6>
<thead> <table>
<tr> <thead>
<td>{% trans %}Nature of operation{% endtrans %}</td> <tr>
<td>{% trans %}Sum{% endtrans %}</td> <td>{% trans %}Nature of operation{% endtrans %}</td>
</tr> <td>{% trans %}Sum{% endtrans %}</td>
</thead>