diff --git a/App/Report/access/1.json b/App/Report/access/1.json index 9d565c4..5c07c25 100644 --- a/App/Report/access/1.json +++ b/App/Report/access/1.json @@ -1,7 +1,7 @@ { - "title" : "Отчет о продажах", + "title" : "Отчет о поставках заготовок", "write" : ["Менеджер"], "read" : ["Управляющий"], - "view" : "view_report", + "view" : "workpiece_report", "procedure" : "report_workpiece" } \ No newline at end of file diff --git a/App/Report/access/2.json b/App/Report/access/2.json new file mode 100644 index 0000000..d7a7537 --- /dev/null +++ b/App/Report/access/2.json @@ -0,0 +1,7 @@ +{ + "title" : "Отчет о поставках поставщиками", + "write" : ["Бухгалтер"], + "read" : ["Управляющий"], + "view" : "sellers_report", + "procedure" : "report_sellers" +} \ No newline at end of file diff --git a/App/Report/reports.json b/App/Report/reports.json index 0843d80..ccab6f2 100644 --- a/App/Report/reports.json +++ b/App/Report/reports.json @@ -1,3 +1,4 @@ [ - {"id": 1, "name": "Покупки за месяц"} + {"id": 1, "name": "Заготовки"}, + {"id": 2, "name": "Поставщики"} ] \ No newline at end of file