Добавлена таблица Производственный план

This commit is contained in:
Anastasia
2015-06-16 18:22:13 +05:00
parent 4abe7bbd92
commit 5d944c0c89
4 changed files with 33 additions and 2 deletions

View File

@@ -134,3 +134,13 @@ class VisitTable(tables.Table):
class Meta:
attrs = {'class': 'paleblue'}
class ProdPlanTable(tables.Table):
date = tables.Column(verbose_name = 'Дата')
week_day = tables.Column(verbose_name = 'День недели', accessor = 'date.weekday_name')
executor = EditableColumn('executor', 'prodplan',verbose_name = 'Исполнитель')
order = EditableColumn('order', 'prodplan', verbose_name = 'Заказ')
action = EditableColumn('action', 'prodplan', verbose_name = 'Действие')
class Meta:
attrs = {'class': 'paleblue'}