const app = require('../app') const { editIcon } = require('../assets') app.component('appServicesPage', { template: html`

Services

Week Starting {{::weekday.min}} {{::weekday.short}} {{::weekday.name}} Actions
{{::week.workweek}}
{{::workday.cartons || 0}} c ctn cartons N/A
Edit
`, controllerAs: 'ctrl', controller: function(api, $routeParams, weekdays) { this.locationKey = $routeParams.location this.weekdays = weekdays api.location($routeParams.location).then(location => { this.location = location }) this.promise = api.get(`/api/services/${$routeParams.location}`).then(services => { this.services = services }) } })