Редактирование связанных элементов. Исправлена ошибка в шаблоне
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
<TR bgcolor={{attend.date.weekday_color}}>
|
||||
<TD>{{ attend.date.date_dd_mm_yy}}</TD>
|
||||
<TD>{{ attend.date.weekday_name}}</TD>
|
||||
<TD>{% inplace_edit "attend.attend.calls" %}</TD>
|
||||
<TD>{% inplace_edit "attend.attend.visits" %}</TD>
|
||||
<TD>{% if attend.attend %}{% inplace_edit "attend.attend.calls" %}{% endif %}</TD>
|
||||
<TD>{% if attend.attend %}{% inplace_edit "attend.attend.visits" %}{% endif %}</TD>
|
||||
<TD><a href="{% url 'asuzr-main' attend.date.day attend.date.month attend.date.year %}">{{ attend.orders_count}}</a></TD>
|
||||
<TD>{{ attend.orders_price}}</TD>
|
||||
<TD>{{ attend.designers}}</TD>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<TR>
|
||||
<TD>{{ order.date_dmy }}</TD>
|
||||
<TD>{{ order.deadline_dmy }}</TD>
|
||||
<TD>{% inplace_edit "order.product.name" %}</TD>
|
||||
<TD>{% inplace_edit "order.product" %}</TD>
|
||||
<TD>{%if order.delivery%} Да {% else %} Нет {% endif %} </TD>
|
||||
<TD>{%if order.lifting%} Да {% else %} Нет {% endif %}</TD>
|
||||
<TD>{% inplace_edit "order.address" %}</TD>
|
||||
|
||||
Reference in New Issue
Block a user