From 62c4dcef1aa1c9f007754d983572721744bef6bd Mon Sep 17 00:00:00 2001 From: Adeola Badmus Date: Sun, 26 Feb 2017 22:18:04 +0100 Subject: [PATCH] Fix Operative Plans display --- app/locales/en/translations.js | 8 ++++++- app/reports/edit/template.hbs | 42 +++++++++++++++++++++++++++------- 2 files changed, 41 insertions(+), 9 deletions(-) diff --git a/app/locales/en/translations.js b/app/locales/en/translations.js index b0dbdf3875..444619422d 100644 --- a/app/locales/en/translations.js +++ b/app/locales/en/translations.js @@ -1117,8 +1117,14 @@ export default { procedures: 'Procedures', labs: 'Labs', images: 'Images', + medications: 'Medications', nextAppointmentDate: 'Date Of Next Appointment', - operativePlan: 'Planned Procedures' + operativePlan: { + title: 'Operative Plans', + description: 'Operation Description', + procedures: 'Planned Procedures', + instructions: 'Instructions upon Admission' + } }, opd: { titles: { diff --git a/app/reports/edit/template.hbs b/app/reports/edit/template.hbs index 7bdf08c846..d74136452c 100644 --- a/app/reports/edit/template.hbs +++ b/app/reports/edit/template.hbs @@ -29,7 +29,7 @@ {{#if model.visit.startDate}}
-

{{t 'reports.form.visitDate' }}

+ {{date-format model.visit.startDate format="DD/MM/YYYY hh:mm a"}}
{{/if}} @@ -89,7 +89,7 @@ @@ -117,23 +117,49 @@ {{/if}} + {{#if model.visit.medication.length}} +
+ + +
+ {{/if}} {{#if nextAppointment}}
-

{{t 'reports.form.nextAppointmentDate' }}

+ {{date-format nextAppointment format="DD/MM/YYYY hh:mm a"}}
{{/if}} {{#if model.visit.patient.operativePlans.length}}
- +
{{/if}}