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.
 
 
 
 

80 lines
2.4 KiB

{# табличная часть документа #}
<table id="tbl_items" class="factura-doc-list doc-list">
<tr>
<th>Наименование</th>
<th>Ед. изм.</th>
<th>Кол-во</th>
<th>Цена</th>
<th>Сумма</th>
<th>Страна</th>
<th>№ таможенной декларации</th>
<th></th>
</tr>
{% for iform in formset.forms %}
<tr class="row_tbl_items row {% cycle 'even' 'odd' %}" {% if iform.DELETE.value %}style='display:none;'{% endif %}>
{{ iform.id }}
{{ iform.parent }}
<td class="name">
{{ iform.name.errors }}
{{ iform.name }}
</td>
<td class="units">
{{ iform.units.errors }}
{{ iform.units }}
</td>
<td class="units_kod" style="display:none; visibility:collapse;">
{{ iform.units_kod.as_hidden }}
</td>
<td class="qty">
{{ iform.qty.errors }}
{{ iform.qty }}
</td>
<td class="price">
{{ iform.price.errors }}
{{ iform.price }}
</td>
<td class="total_price">
{{ iform.total_price.errors }}
{{ iform.total_price }}
</td>
<td class="country_name">
{{ iform.country_name.errors }}
{{ iform.country_name }}
</td>
<td class="country_code" style="display:none; visibility:collapse;">
{{ iform.country_code.as_hidden }}
</td>
<td class="ntd">
{{ iform.ntd.errors }}
{{ iform.ntd }}
</td>
<td class="DELETE center">
{% if iform.instance.pk %}<span style='display:none;'>{{ iform.DELETE }}</span>{% endif %}
</td>
</tr>
{% endfor %}
<tr>
<td colspan="3">
</td>
<td class="itogo-td itogo-td1"><span>Итого</span></td>
<td class="itogo-td itogo-td2"><span id="itogo"></span></td>
<td></td>
</tr>
{% comment %}
<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>
{% endcomment %}
</table>
{{ formset.management_form }}
<div class="clear"></div>