const app = require('../app') const { editIcon } = require('../assets') app.component('appServicesPage', { template: html`
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.terminalKey = $routeParams.terminal this.weekdays = weekdays api.terminal($routeParams.terminal).then(terminal => { this.terminal = terminal }) this.promise = api.get(`/api/services/${$routeParams.terminal}`).then(services => { this.services = services }) } })