Skip to content

Commit

Permalink
fix(component): correct the place holder of bhFindPatient by adding i…
Browse files Browse the repository at this point in the history
…nterpolationterpollation
  • Loading branch information
DedrickEnc committed Aug 21, 2017
1 parent d7e1792 commit bf8466e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions client/src/i18n/en/form.json
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@
"SERVICE": "Select a Service",
"SEX": "Select a Sex",
"SOURCE": "Select source",
"SUPPLIER" : "Supplier",
"TRANSACTION_TYPE": "Select a transaction type",
"TRANSFER_TYPE": "Select a Transfer type",
"TYPE": "Select a Type",
Expand Down
4 changes: 2 additions & 2 deletions client/src/modules/templates/bhFindPatient.tmpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
ng-model="$ctrl.idInput"
ng-if="$ctrl.selected == $ctrl.options.findById"
ng-keypress="$ctrl.onKeyPress($event)"
translate-attr="{ 'placeholder': '$ctrl.selected.placeholder' }"
translate-attr="{ 'placeholder': '{{$ctrl.selected.placeholder}}' }"
ng-required="$ctrl.required">

<!-- search by Name -->
Expand All @@ -47,7 +47,7 @@
typeahead-loading="$ctrl.loadingPatients"
typeahead-template-url="/modules/templates/patientList.tmpl.html"
typeahead-on-select="$ctrl.submit($item)"
translate-attr="{ 'placeholder': '$ctrl.selected.placeholder' }"
translate-attr="{ 'placeholder': '{{$ctrl.selected.placeholder}}' }"
ng-required="$ctrl.required">

<!-- submit button for search by ID -->
Expand Down

0 comments on commit bf8466e

Please sign in to comment.