diff --git a/app/appointments/missed/controller.js b/app/appointments/missed/controller.js deleted file mode 100644 index 22d6d2128f..0000000000 --- a/app/appointments/missed/controller.js +++ /dev/null @@ -1,4 +0,0 @@ -import AppointmentIndexController from 'hospitalrun/appointments/index/controller'; -export default AppointmentIndexController.extend({ - startKey: [] -}); \ No newline at end of file diff --git a/app/appointments/missed/route.js b/app/appointments/missed/route.js deleted file mode 100644 index 2c57ce8c4b..0000000000 --- a/app/appointments/missed/route.js +++ /dev/null @@ -1,17 +0,0 @@ -import AppointmentIndexRoute from 'hospitalrun/appointments/index/route'; -import { translationMacro as t } from 'ember-i18n'; - -export default AppointmentIndexRoute.extend({ - editReturn: 'appointments.missed', - modelName: 'appointment', - pageTitle: t('appointments.missed'), - - _modelQueryParams() { - let queryParams = this._super(...arguments); - queryParams.filterBy = [{ - name: 'status', - value: 'Missed' - }]; - return queryParams; - } -}); \ No newline at end of file diff --git a/app/appointments/missed/template.hbs b/app/appointments/missed/template.hbs deleted file mode 100644 index e8aa599df1..0000000000 --- a/app/appointments/missed/template.hbs +++ /dev/null @@ -1 +0,0 @@ -{{partial 'appointments/index'}} diff --git a/app/locales/en/translations.js b/app/locales/en/translations.js index d8d04014eb..d4b5c5e77b 100644 --- a/app/locales/en/translations.js +++ b/app/locales/en/translations.js @@ -1076,7 +1076,6 @@ export default { items: 'Items', loadDB: 'Load DB', lookupLists: 'Lookup Lists', - missedAppointments: 'Missed Appointments', newIncident: 'New Incident', newInvoice: 'New Invoice', newPatient: 'New Patient', diff --git a/app/locales/pt-br/translations.js b/app/locales/pt-br/translations.js index 358a3d8b79..9577a1f6b4 100755 --- a/app/locales/pt-br/translations.js +++ b/app/locales/pt-br/translations.js @@ -76,7 +76,6 @@ export default { users: 'Usuários', newUser: 'Novo Usuário', admittedPatients: 'Pacientes Admitidos', - missedAppointments: 'Compromissos Esquecidos', missed: 'Perdidos', userRoles: 'Perfis de Usuário', workflow: 'Workflow', diff --git a/app/locales/ur/translations.js b/app/locales/ur/translations.js index d861930e13..aa376f149d 100644 --- a/app/locales/ur/translations.js +++ b/app/locales/ur/translations.js @@ -72,7 +72,6 @@ export default { users: 'صارفین', newUser: 'نیا صارف', admittedPatients: 'جمع شدہ مریض', - missedAppointments: 'ضائع شدہ', userRoles: 'صارف کے کردار', workflow: 'ورک فلو', outpatient: 'آؤٹ پیشنٹ', diff --git a/app/mixins/navigation.js b/app/mixins/navigation.js index dd311c3a33..e5043e1ea4 100644 --- a/app/mixins/navigation.js +++ b/app/mixins/navigation.js @@ -95,12 +95,6 @@ export default Ember.Mixin.create({ route: 'appointments.today', capability: 'appointments' }, - { - title: 'Missed Appointments', - iconClass: 'octicon-chevron-right', - route: 'appointments.missed', - capability: 'appointments' - }, { title: 'Appointment Search', iconClass: 'octicon-search', diff --git a/app/router.js b/app/router.js index dd1bc621f4..79ab45b017 100755 --- a/app/router.js +++ b/app/router.js @@ -35,7 +35,6 @@ Router.map(function() { this.route('edit', { path: '/edit/:appointment_id' }); this.route('search'); this.route('today'); - this.route('missed'); this.route('calendar'); this.route('theater'); }); diff --git a/tests/unit/appointments/missed/route-test.js b/tests/unit/appointments/missed/route-test.js deleted file mode 100644 index c1f28bc024..0000000000 --- a/tests/unit/appointments/missed/route-test.js +++ /dev/null @@ -1,11 +0,0 @@ -import { moduleFor, test } from 'ember-qunit'; - -moduleFor('route:appointments/missed', 'Unit | Route | appointments/missed', { - // Specify the other units that are required for this test. - // needs: ['controller:foo'] -}); - -test('it exists', function(assert) { - let route = this.subject(); - assert.ok(route); -});