Добавлена таблица Производственный план
This commit is contained in:
@@ -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'}
|
||||
Reference in New Issue
Block a user