Добавлена Производственная таблица

This commit is contained in:
Anastasia
2015-06-07 15:05:08 +05:00
parent ea5270b295
commit 1882545308
11 changed files with 109 additions and 16 deletions

View File

@@ -0,0 +1,22 @@
{% block page %}
<TABLE BORDER>
{% if order_list %}
<ul>
<TR>
<TH WIDTH="40%">Наименование</TH>
<TH>Срок сдачи</TH>
<TH>Адрес</TH>
</TR>
{% for o in order_list %}
<TR>
<TD>{{o.product.name}}</TD>
<TD>{{o.date_dmy}}</TD>
<TD>{{o.address}}</TD>
</TR>
{% endfor %}
</ul>
{% else %}
<p>Список заказов пуст</p>
{% endif %}
</table>
{% endblock %}