diff --git a/templates/asuzr/attendance.html b/templates/asuzr/attendance.html
index 8528cde..842ea68 100644
--- a/templates/asuzr/attendance.html
+++ b/templates/asuzr/attendance.html
@@ -15,8 +15,8 @@
| {{ attend.date.date_dd_mm_yy}} |
{{ attend.date.weekday_name}} |
- {% inplace_edit "attend.attend.calls" %} |
- {% inplace_edit "attend.attend.visits" %} |
+ {% if attend.attend %}{% inplace_edit "attend.attend.calls" %}{% endif %} |
+ {% if attend.attend %}{% inplace_edit "attend.attend.visits" %}{% endif %} |
{{ attend.orders_count}} |
{{ attend.orders_price}} |
{{ attend.designers}} |
diff --git a/templates/asuzr/orders.html b/templates/asuzr/orders.html
index fd9e134..4d7fc42 100644
--- a/templates/asuzr/orders.html
+++ b/templates/asuzr/orders.html
@@ -28,7 +28,7 @@
| {{ order.date_dmy }} |
{{ order.deadline_dmy }} |
- {% inplace_edit "order.product.name" %} |
+ {% inplace_edit "order.product" %} |
{%if order.delivery%} Да {% else %} Нет {% endif %} |
{%if order.lifting%} Да {% else %} Нет {% endif %} |
{% inplace_edit "order.address" %} |