Добавлена Производственная таблица. Переход на таблицу по ссылке из Таблицы выхода заказов
This commit is contained in:
@@ -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 %}
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user