Таблица детализации заказов. Расчет выполнения плана
This commit is contained in:
@@ -1,2 +1,8 @@
|
||||
{% include 'asuzr/attendance.html' %}
|
||||
{% include 'asuzr/orders.html' %}
|
||||
<table WIDTH="100%">
|
||||
<TR VALIGN=top>
|
||||
<TD WIDTH="40%">{% include 'asuzr/attendance.html' %}</TD>
|
||||
<TD WIDTH="5%"></TD>
|
||||
<TD WIDTH="55%">{% include 'asuzr/orders.html' %}</TD>
|
||||
</TR>
|
||||
</table>
|
||||
{% include 'asuzr/plan_balance.html' %}
|
||||
@@ -17,13 +17,13 @@
|
||||
<TH>Заказы</TH>
|
||||
<TH>Стоимость</TH>
|
||||
</TR>
|
||||
{% for attend in attend_list %}
|
||||
{% for attend in attend_list %}
|
||||
<TR bgcolor={{attend.day_color}}>
|
||||
<TD>{{ attend.date_dd_mm_yy}}</TD>
|
||||
<TD>{{ attend.week_day}}</TD>
|
||||
<TD>{{ attend.calls }}</TD>
|
||||
<TD>{{ attend.visits }}</TD>
|
||||
<TD>{{ attend.order_count}}</TD>
|
||||
<TD><a href="{% url 'asuzr-main' attend.date.day attend.date.month attend.date.year %}">{{ attend.order_count}}</a></TD>
|
||||
<TD>{{ attend.orders_price}}</TD>
|
||||
</TR>
|
||||
{% endfor %}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<style></style>
|
||||
</head>
|
||||
<body>
|
||||
<H1>Заказы</H1>
|
||||
<H1>Заказы на {{ d_date }} </H1>
|
||||
<TABLE BORDER WIDTH="100%">
|
||||
{% if order_list %}
|
||||
<ul>
|
||||
|
||||
21
templates/asuzr/plan_balance.html
Normal file
21
templates/asuzr/plan_balance.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<meta content="">
|
||||
<style></style>
|
||||
</head>
|
||||
<body>
|
||||
<H4>Справочно:</H4>
|
||||
<TABLE BORDER WIDTH="20%">
|
||||
<ul>
|
||||
<TR>
|
||||
<TD>ПЛАН</TD>
|
||||
<TD>{{ plan.plan }}</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>Осталось до выполнения</TD>
|
||||
<TD>{{ balance }}</TD>
|
||||
</TR>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user