Skip to content

Commit

Permalink
Rename report types
Browse files Browse the repository at this point in the history
  • Loading branch information
adeolabadmus committed Feb 16, 2017
1 parent ccb0b05 commit 1f85452
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/reports/edit/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ export default AbstractEditController.extend(PatientSubmodule, PatientDiagnosis,
if (this.get('model.isNew')) {

if (this.get('model.visit.outPatient')) {
this.get('model').set('reportType', 'OutPatient');
this.get('model').set('reportType', 'OPD Report');
let appointmentDate = this.get('nextAppointment').get('content');
this.get('model').set('nextAppointment', appointmentDate);
this.get('model').set('diagnosis', this.get('diagnosis'));
} else {
// update discharge report properties
this.get('model').set('reportType', 'Discharge');
this.get('model').set('reportType', 'Discharge Report');
}
}
resolve();
Expand Down

0 comments on commit 1f85452

Please sign in to comment.