Таблица детализации заказов. Расчет выполнения плана

This commit is contained in:
Anastasia
2015-05-07 16:42:03 +05:00
parent f0a9db1c86
commit e62be89b3d
11 changed files with 84 additions and 14 deletions

View File

@@ -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' %}

View File

@@ -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 %}

View File

@@ -5,7 +5,7 @@
<style></style>
</head>
<body>
<H1>Заказы</H1>
<H1>Заказы на {{ d_date }} </H1>
<TABLE BORDER WIDTH="100%">
{% if order_list %}
<ul>

View 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>