Files
admin-php-module/web/routes_min.js
miroman-afk 61d8b4e1d2 v2.5
Update RestoreShift frontend
2022-01-13 15:43:04 +03:00

48 lines
1.3 KiB
JavaScript

{
code: 'app.dashboard',
url: '/dashboard',
templateUrl: '../views/dashboard/dashboard.html',
data : { title: 'Рабочий стол' },
controller: 'DashboardCtrl',
resolve: ['scripts/controllers/dashboard.js', 'chart']
},
{
code: 'app.v1.reimport',
url: '/v1/reimport',
templateUrl: '../views/reimport.html',
data: { title : 'Повторная выгрузка' },
controller: 'ReImportCtrl',
resolve: ['scripts/controllers/reimport.js']
},
{
code: 'app.orders',
url: '/v1/orders',
templateUrl: '../views/orders/orders.html',
data: { title : 'Eorders' },
controller: 'OrdersCtrl',
resolve: ['scripts/controllers/orders.js']
},
{
code: 'app.clients',
url: '/clients',
templateUrl: '../views/clients/index.html',
data: {title: 'Гости'},
controller: 'ClientsCtrl',
resolve: ['scripts/controllers/clients.js']
},
{
code: 'app.shifts',
url: '/shifts',
templateUrl: '../views/shifts/index.html',
data: {title: 'Смены'},
controller: 'ShiftsCtrl',
resolve: ['scripts/controllers/shifts.js']
},
{
code: 'app.reports',
url: '/reports',
templateUrl: '../views/reports/index.html',
data: {title: 'Отчеты'},
controller: 'ReportsCtrl',
resolve: ['scripts/controllers/reports.js', 'moment', 'datetimepicker', 'select2']
}