diff --git a/myproject/customers/templates/customers/customer_detail.html b/myproject/customers/templates/customers/customer_detail.html index 9ce2626..ee89402 100644 --- a/myproject/customers/templates/customers/customer_detail.html +++ b/myproject/customers/templates/customers/customer_detail.html @@ -138,17 +138,15 @@ {{ last_year_orders_sum|floatformat:2 }} руб. + {% if total_debt > 0 %} Общий долг: - {% if total_debt > 0 %} - {{ total_debt|floatformat:2 }} руб. - (Заказов: {{ active_orders_count }}) - {% else %} - 0.00 руб. - {% endif %} + {{ total_debt|floatformat:2 }} руб. + (Заказов: {{ active_orders_count }}) + {% endif %} @@ -305,7 +303,7 @@ {% endif %} - + diff --git a/myproject/inventory/templates/inventory/home.html b/myproject/inventory/templates/inventory/home.html index 0f8e9e5..e3bdffd 100644 --- a/myproject/inventory/templates/inventory/home.html +++ b/myproject/inventory/templates/inventory/home.html @@ -3,232 +3,160 @@ {% block title %}Склад{% endblock %} {% block content %} -
- -
-
-

Управление складом

-

Выберите операцию или справочник

-
+
+ +
+
Управление складом
+ Выберите операцию или справочник
+
- -
-
- Главные операции -
-
- - - -
-
- Операции -
-
- - - -
-
- Справочники -
-
- -
- -
-
- -
Остатки
- Текущие остатки товаров -
-
-
+ + - -
- -
-
- -
Партии
- Партии товаров -
-
-
+ + - - {% endblock %}