You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.3 KiB
38 lines
1.3 KiB
{# табличная часть акта сверки #}
|
|
|
|
<table id="tbl_items" class="list aktsverki">
|
|
<tr>
|
|
<th style="width: 436px">Наименование операции, документы</th>
|
|
<th style="width: 100px">Дебет</th>
|
|
<th style="width: 100px">Кредит</th>
|
|
<th style="width: 44px; text-align: center">Удалить</th>
|
|
</tr>
|
|
|
|
{% for iform in formset %}
|
|
<tr class="row {% cycle 'even' 'odd' %}">
|
|
{% for field in iform %}
|
|
{% if field.name == "id" or field.name == "parent" %}
|
|
{{ field }}
|
|
{% else %}
|
|
<td class="{{ field.name }}{% if field.name == "DELETE" %} center{% endif %}">
|
|
{{ field.errors }}
|
|
{{ field }}
|
|
</td>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</tr>
|
|
{% endfor %}
|
|
|
|
<tr>
|
|
<td>
|
|
<input type="submit" name="_add_line" id="id_add_line" class="button-as-link" value="+ Добавить строку" />
|
|
</td>
|
|
<td><b id="itogo_debit"></b></td>
|
|
<td><b id="itogo_credit"></b></td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
{{ formset.management_form }}
|
|
|
|
<div class="clear"></div>
|
|
|