-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Conversation
OPD Reports Custom Forms
Patient procedures
Fixes from retrospective feedback
fix: fix new user title bug after a new user has been added
Added deploy branches to .travis.yml
fix: fix test for new user title bug
Fix/report acceptance tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adeolabadmus thanks for the PR. I realized that the localization is using the wrong hierarchy. It should be reports.labels...., not reports.form....
app/reports/edit/template.hbs
Outdated
@@ -45,6 +45,27 @@ | |||
|
|||
{{#if isOutPatient}} | |||
|
|||
{{#if visit.visitType }} | |||
<div class="ps-info-group test-visit-type"> | |||
<p><b class="test-visit-type-label">{{t 'reports.form.visitType' }}:</b> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be reports.label not reports.form.
@@ -1255,6 +1255,9 @@ export default { | |||
date: 'Date', | |||
author: 'Author' | |||
}, | |||
visitType: 'Visit Type', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I must have missed this on the original PR. These localization values are not organized properly. They appear to be labels, so they should have a labels prefix, not "form". Not sure what "form" refers to but the localizations in this section need to refactored.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks for the PR @adeolabadmus!
Fixes #997
Changes proposed in this pull request:
cc @HospitalRun/core-maintainers