Добавлена Производственная таблица. Переход на таблицу по ссылке из Таблицы выхода заказов

This commit is contained in:
Anastasia
2015-07-10 10:11:12 +05:00
parent f55377c5bf
commit 057aea69e5
4 changed files with 41 additions and 11 deletions

View File

@@ -3,6 +3,8 @@
{% load render_table from django_tables2 %}
{% block page %}
<h3>{{ table.verbose_name }}</h3>
<h3>{{ table.verbose_name2 }}</h3>
{% block table %}
{% render_table table %}
{% endblock %}

View File

@@ -10,6 +10,13 @@
{% endfor %}
</tr>
{% endif %}
{% if table.balance %}
<tr>
{% for balance in table.balance %}
<td> {{ balance }} </td>
{% endfor %}
</tr>
{% endif %}
</tfoot>
{% endblock table.tfoot %}