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.
51 lines
1.5 KiB
51 lines
1.5 KiB
{# табличная часть документа #}
|
|
|
|
<table id="tbl_items" class="list">
|
|
<tr>
|
|
<th style="width: 338px">Наименование</th>
|
|
<th style="width: 72px">Кол-во</th>
|
|
<th style="width: 54px">Ед. изм.</th>
|
|
<th style="width: 76px">Цена</th>
|
|
<th style="width: 88px">Сумма</th>
|
|
<th style="width: 44px; text-align: center">Удалить</th>
|
|
</tr>
|
|
|
|
{% for iform in formset %}
|
|
<tr class="row_tbl_items row {% cycle 'even' 'odd' %}">
|
|
{% for field in iform %}
|
|
{% if field.name == "id" or field.name == "parent" %}
|
|
{{ field }}
|
|
{% else %}
|
|
{% if field.name != "DELETE" %}
|
|
<td class="{{ field.name }}">
|
|
{{ field.errors }}
|
|
{{ field }}
|
|
</td>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
<td class="DELETE center">
|
|
{{ iform.DELETE }}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
|
|
<tr>
|
|
<td colspan="3">
|
|
</td>
|
|
<td align="right"><b>Итого</b></td>
|
|
<td><b id="itogo"></b></td>
|
|
<td></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="3"></td>
|
|
<td align="right"><b id="itogo_nds_text">Без НДС</b></td>
|
|
<td><b id="itogo_nds"></b></td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
|
|
{{ formset.management_form }}
|
|
|
|
<div class="clear"></div>
|
|
|