diff --git a/app/appointments/edit/template.hbs b/app/appointments/edit/template.hbs index 4954f3aa81..99cd20baa4 100644 --- a/app/appointments/edit/template.hbs +++ b/app/appointments/edit/template.hbs @@ -19,7 +19,7 @@ {{view Ember.Select viewName="select" content=minuteList optionLabelPath="content" optionValuePath="content" value=startMinute class="form-control"}} -
+
{{view Ember.Select viewName="select" content=hourList optionLabelPath="content.name" optionValuePath="content.value" value=endHour id="endTime" class="form-control"}} diff --git a/app/dialog/template.hbs b/app/dialog/template.hbs index 21dd8383ab..b7ed0ef714 100644 --- a/app/dialog/template.hbs +++ b/app/dialog/template.hbs @@ -1,9 +1,9 @@ {{#if showProgress}}
-
+
{{progressBarValue}}% Complete
{{/if}} -{{message}} \ No newline at end of file +{{message}} diff --git a/app/inventory/barcode/template.hbs b/app/inventory/barcode/template.hbs index bf3f03f018..ae960cdca8 100644 --- a/app/inventory/barcode/template.hbs +++ b/app/inventory/barcode/template.hbs @@ -1,6 +1,6 @@
- +
diff --git a/app/inventory/reports/template.hbs b/app/inventory/reports/template.hbs index bd33477ee5..c26ef89391 100644 --- a/app/inventory/reports/template.hbs +++ b/app/inventory/reports/template.hbs @@ -2,13 +2,13 @@
{{#em-form model=this submit_button=false }}
- {{em-select class="col-xs-6" label="Report Type" + {{em-select class="col-xs-6" label="Report Type" property="reportType" content=reportTypes optionValuePath="content.value" optionLabelPath="content.name" selected=reportType }} {{#unless hideLocationFilter}} - {{em-select class="col-xs-6" label="Location" + {{em-select class="col-xs-6" label="Location" property="filterLocation" content=warehouseList.value optionValuePath="content" optionLabelPath="content" prompt=" " @@ -22,7 +22,7 @@ {{date-picker property="startDate" label="Start Date" class="col-sm-4"}} {{date-picker property="endDate" label="End Date" class="col-sm-4"}} {{/if}} -
+
{{#if useFieldPicker}}

Fields to Include

@@ -33,19 +33,19 @@ {{em-checkbox label=reportColumns.id.label property="reportColumns.id.include" class="col-xs-2"}} {{em-checkbox label=reportColumns.name.label property="reportColumns.name.include" class="col-xs-2"}} {{em-checkbox label=reportColumns.description.label property="reportColumns.description.include" class="col-xs-2"}} - {{em-checkbox label=reportColumns.type.label property="reportColumns.type.include" class="col-xs-2"}} + {{em-checkbox label=reportColumns.type.label property="reportColumns.type.include" class="col-xs-2"}}
-
+
{{em-checkbox label=reportColumns.quantity.label property="reportColumns.quantity.include" class="col-xs-2"}} {{em-checkbox label=reportColumns.unit.label property="reportColumns.unit.include" class="col-xs-2"}} - {{#if includeCostFields}} + {{#if includeCostFields}} {{em-checkbox label=reportColumns.total.label property="reportColumns.total.include" class="col-xs-2"}} {{em-checkbox label=reportColumns.unitcost.label property="reportColumns.unitcost.include" class="col-xs-2"}} {{/if}} {{#if includeDaysLeft}} {{em-checkbox label=reportColumns.consumedPerDay.label property="reportColumns.consumedPerDay.include" class="col-xs-2"}} - {{em-checkbox label=reportColumns.daysLeft.label property="reportColumns.daysLeft.include" class="col-xs-2"}} + {{em-checkbox label=reportColumns.daysLeft.label property="reportColumns.daysLeft.include" class="col-xs-2"}} {{/if}} {{em-checkbox label=reportColumns.price.label property="reportColumns.price.include" class="col-xs-2"}}
@@ -56,21 +56,21 @@ {{em-checkbox label=reportColumns.locations.label property="reportColumns.locations.include" class="col-xs-2"}} {{em-checkbox label=reportColumns.aisle.label property="reportColumns.aisle.include" class="col-xs-2"}} {{em-checkbox label=reportColumns.xref.label property="reportColumns.xref.include" class="col-xs-2"}} - +
-
+
{{em-checkbox label=reportColumns.vendor.label property="reportColumns.vendor.include" class="col-xs-2"}} {{#if includeExpenseAccount}} {{em-checkbox label=reportColumns.expenseAccount.label property="reportColumns.expenseAccount.include" class="col-xs-2"}} {{/if}} - + {{#if includeTransactionType}} {{em-checkbox label=reportColumns.transactionType.label property="reportColumns.transactionType.include" class="col-xs-2"}} {{/if}}
{{/if}} - + {{/em-form}}
+
-{{/if}} \ No newline at end of file +{{/if}} diff --git a/app/invoices/edit/template.hbs b/app/invoices/edit/template.hbs index b75f272e58..73f5e57ef0 100644 --- a/app/invoices/edit/template.hbs +++ b/app/invoices/edit/template.hbs @@ -7,22 +7,22 @@

{{id}}

-
+ {{/unless}} {{date-picker property="billDate" label="Bill Date" class="col-xs-2"}} {{#if isNew}} {{patient-typeahead property="patientTypeAhead" label="Patient" content=patientList selection=selectedPatient class="col-xs-4 required"}} - {{em-select class="col-xs-4 required" label="Visit" + {{em-select class="col-xs-4 required" label="Visit" property="visit" content=patientVisits - optionValuePath="content" optionLabelPath="content.visitDescription" + optionValuePath="content" optionLabelPath="content.visitDescription" selected=visit prompt='Please select a visit' - }} + }} {{else}}

{{visit.visitDescription}}

-
+ {{/if}}
@@ -59,8 +59,8 @@ Excess Action - - {{#each lineItemsByCategory as |categoryGroup|}} + + {{#each lineItemsByCategory as |categoryGroup|}} {{categoryGroup.category}} @@ -71,11 +71,11 @@
- {{input class="form-control" value=item.name }}
-
+
{{number-format item.total}} @@ -97,7 +97,7 @@ {{number-format item.amountOwed}} - {{#if canAddCharge}} + {{#if canAddCharge}} @@ -127,7 +127,7 @@ {{input class="form-control" value=detail.name }} - +
{{input class="form-control" value=detail.quantity }} @@ -151,7 +151,7 @@ {{number-format detail.amountOwed}} - {{#if canAddCharge}} + {{#if canAddCharge}} @@ -169,7 +169,7 @@ {{number-format categoryGroup.discount}} {{number-format categoryGroup.nationalInsurance}} {{number-format categoryGroup.privateInsurance}} - {{number-format categoryGroup.amountOwed }} + {{number-format categoryGroup.amountOwed }} {{/each}} @@ -181,7 +181,7 @@ {{number-format model.discount}} {{number-format model.nationalInsurance}} {{number-format model.privateInsurance}} - {{number-format model.patientResponsibility}} + {{number-format model.patientResponsibility}} @@ -189,7 +189,7 @@ Payments/Deposits - -{{number-format paidTotal}} + -{{number-format paidTotal}} @@ -197,7 +197,7 @@ Grand Total - {{number-format remainingBalance}} + {{number-format remainingBalance}} @@ -207,7 +207,7 @@

- Remarks + Remarks

@@ -252,4 +252,4 @@ {{/each}}
-
\ No newline at end of file +
diff --git a/app/medication/edit/template.hbs b/app/medication/edit/template.hbs index e4ad81cf43..204eb2143a 100644 --- a/app/medication/edit/template.hbs +++ b/app/medication/edit/template.hbs @@ -7,12 +7,12 @@ {{patient-typeahead property="patientTypeAhead" label="Patient" content=patientList selection=selectedPatient class="col-xs-6 required"}} {{/if}} {{#if isNew}} - {{em-select class="col-xs-4 required" label="Visit" + {{em-select class="col-xs-4 required" label="Visit" property="visit" content=patientVisits optionValuePath="content" optionLabelPath="content.visitDescription" prompt="--Add New Outpatient Visit--" selected=visit - }} + }} {{else}}
@@ -23,7 +23,7 @@ {{#if isFulfilledOrRequested}}
-

{{inventoryItem.name}}

+

{{inventoryItem.name}}

{{else}} {{inventory-typeahead property="inventoryItemTypeAhead" label="Medication" content=medicationList selection=selectedInventoryItem class="required"}} @@ -43,13 +43,13 @@ {{date-picker property="prescriptionDate" label="Prescription Date" class="col-sm-4"}}
- {{em-input property="quantity" label=quantityLabel class=quantityClass }} + {{em-input property="quantity" label=quantityLabel class=quantityClass }} {{em-input property="refills" label="Refills" class="col-xs-3"}}
{{#unless hideFulfillRequest}} {{#if isNew}} {{#if canFulfill}} -
+
{{em-checkbox label="Fulfill Request Now" property="shouldFulfillRequest"}} @@ -64,4 +64,4 @@ }} {{/if}} {{/if}} -{{/em-form}} \ No newline at end of file +{{/em-form}} diff --git a/app/medication/route.js b/app/medication/route.js index 08a113d30f..e863d1a666 100644 --- a/app/medication/route.js +++ b/app/medication/route.js @@ -1,11 +1,11 @@ import AbstractModuleRoute from 'hospitalrun/routes/abstract-module-route'; import Ember from 'ember'; export default AbstractModuleRoute.extend({ - addCapability: 'add_medication', + addCapability: 'add_medication', moduleName: 'medication', newButtonText: '+ new request', sectionTitle: 'Medication', - + additionalButtons: function() { var additionalButtons = []; if (this.currentUserCan('fulfill_medication')) { @@ -15,7 +15,7 @@ export default AbstractModuleRoute.extend({ buttonText: 'dispense medication', class: 'btn btn-primary' }); - } + } if (this.currentUserCan(this.get('addCapability'))) { additionalButtons.push({ buttonIcon: 'octicon octicon-mail-reply', @@ -29,7 +29,7 @@ export default AbstractModuleRoute.extend({ } }.property(), - additionalModels: [{ + additionalModels: [{ name: 'aisleLocationList', findArgs: ['lookup','aisle_location_list'] }, { @@ -39,7 +39,7 @@ export default AbstractModuleRoute.extend({ name: 'warehouseList', findArgs: ['lookup','warehouse_list'] }], - + subActions: [{ text: 'Requests', linkTo: 'medication.index' @@ -47,14 +47,14 @@ export default AbstractModuleRoute.extend({ text: 'Completed', linkTo: 'medication.completed' }], - + actions: { dispenseMedication: function() { if (this.currentUserCan('fulfill_medication')) { this.transitionTo('medication.edit', 'dispense'); } }, - + returnMedication: function(){ if (this.currentUserCan(this.get('addCapability'))) { this.transitionTo('medication.return', 'new'); @@ -62,4 +62,3 @@ export default AbstractModuleRoute.extend({ } } }); - diff --git a/app/patients/photo/template.hbs b/app/patients/photo/template.hbs index fbd91a56d8..15f4b846af 100644 --- a/app/patients/photo/template.hbs +++ b/app/patients/photo/template.hbs @@ -3,10 +3,10 @@ {{take-photo photoFile=photoFile }} {{else}}
- caption + {{caption}}
{{/if}} -
+
{{em-input property="caption" label="Caption"}}
-{{/em-form}} \ No newline at end of file +{{/em-form}} diff --git a/app/patients/reports/template.hbs b/app/patients/reports/template.hbs index 8242f9b483..e467f60b97 100644 --- a/app/patients/reports/template.hbs +++ b/app/patients/reports/template.hbs @@ -2,69 +2,69 @@
{{#em-form model=this submit_button=false }}
- {{em-select class="col-xs-6" label="Report Type" + {{em-select class="col-xs-6" label="Report Type" property="reportType" content=reportTypes optionValuePath="content.value" optionLabelPath="content.name" selected=reportType }}
{{#if isStatusReport}} - {{em-select property="status" label="Patient Status" - content=statusList.value - optionValuePath="content" - optionLabelPath="content" + {{em-select property="status" label="Patient Status" + content=statusList.value + optionValuePath="content" + optionLabelPath="content" prompt=" " }} {{else}}
{{date-picker property="startDate" label="Start Date" class="col-sm-4"}} {{date-picker property="endDate" label="End Date" class="col-sm-4"}} -
+
{{/if}} {{#if isVisitReport}}
- {{em-select class="col-sm-6" label="Visit Type" + {{em-select class="col-sm-6" label="Visit Type" property="visitType" content=visitTypes optionValuePath="content" optionLabelPath="content" prompt=" " }} - {{em-select class="col-sm-6" label="Examiner" + {{em-select class="col-sm-6" label="Examiner" property="examiner" content=physicianList.value optionValuePath="content" optionLabelPath="content" prompt=" " - }} + }}
- {{em-select class="col-sm-6" label="Location" + {{em-select class="col-sm-6" label="Location" property="location" content=locationList.value optionValuePath="content" optionLabelPath="content" prompt=" " }} - {{em-select class="col-sm-6" label="Clinic" + {{em-select class="col-sm-6" label="Clinic" property="clinic" content=clinicList.value optionValuePath="content" optionLabelPath="content" prompt=" " }}
-
- {{select-or-typeahead property="diagnosis" - label="Diagnosis" list=diagnosisList - }} +
+ {{select-or-typeahead property="diagnosis" + label="Diagnosis" list=diagnosisList + }}
-
+

Fields to Include

{{em-checkbox label=reportColumns.id.label property="reportColumns.id.include" class="col-xs-2"}} - {{em-checkbox label=reportColumns.name.label property="reportColumns.name.include" class="col-xs-2"}} + {{em-checkbox label=reportColumns.name.label property="reportColumns.name.include" class="col-xs-2"}} {{em-checkbox label=reportColumns.age.label property="reportColumns.age.include" class="col-xs-2"}} {{em-checkbox label=reportColumns.contacts.label property="reportColumns.contacts.include" class="col-xs-2"}} {{em-checkbox label=reportColumns.dateOfBirth.label property="reportColumns.dateOfBirth.include" class="col-xs-2"}}
-
+
{{em-checkbox label=reportColumns.examiner.label property="reportColumns.examiner.include" class="col-xs-2"}} {{em-checkbox label=reportColumns.gender.label property="reportColumns.gender.include" class="col-xs-2"}} {{em-checkbox label=reportColumns.primaryDiagnosis.label property="reportColumns.primaryDiagnosis.include" class="col-xs-2"}} @@ -88,7 +88,7 @@
{{#if showReportResults}}
-
+

{{reportTitle}}{{partial 'paging'}}

@@ -100,12 +100,12 @@ {{/each}} - {{partial "report-rows"}} + {{partial "report-rows"}}
+
-{{/if}} \ No newline at end of file +{{/if}} diff --git a/app/templates/components/charges-by-type-tab.hbs b/app/templates/components/charges-by-type-tab.hbs index 6f7a51131d..d967681af8 100644 --- a/app/templates/components/charges-by-type-tab.hbs +++ b/app/templates/components/charges-by-type-tab.hbs @@ -1 +1 @@ -{{pricingType}} charges \ No newline at end of file +{{pricingType}} charges diff --git a/app/templates/components/checkbox-or-typeahead.hbs b/app/templates/components/checkbox-or-typeahead.hbs index f712314196..7f189020be 100644 --- a/app/templates/components/checkbox-or-typeahead.hbs +++ b/app/templates/components/checkbox-or-typeahead.hbs @@ -1,16 +1,16 @@ {{#if userCanAdd}} {{partial 'components/render-typeahead'}} {{else}} -
+
{{#each checkboxRow in checkboxRows}}
-
+
{{#each checkbox in checkboxRow}}
{{/each}} @@ -21,4 +21,4 @@ {{errors}}
{{/if}} -{{/if}} \ No newline at end of file +{{/if}} diff --git a/app/templates/components/modal-dialog.hbs b/app/templates/components/modal-dialog.hbs index 77213e48f4..050cf30b41 100644 --- a/app/templates/components/modal-dialog.hbs +++ b/app/templates/components/modal-dialog.hbs @@ -10,7 +10,7 @@
- \ No newline at end of file + diff --git a/app/templates/components/nav-menu.hbs b/app/templates/components/nav-menu.hbs index cd03acf603..24007e32c0 100644 --- a/app/templates/components/nav-menu.hbs +++ b/app/templates/components/nav-menu.hbs @@ -1,7 +1,7 @@ {{#if show}}
{{#link-to nav.route class="primary-section-link nav-link"}} - {{nav.title}} + {{nav.title}} {{/link-to}}
{{#if isShowing }} @@ -11,11 +11,11 @@
{{#if subroute}} {{#link-to route subroute class="category-sub-item nav-link"}} - {{title}} + {{title}} {{/link-to}} {{else}} {{#link-to route class="category-sub-item nav-link"}} - {{title}} + {{title}} {{/link-to}} {{/if}}
@@ -23,4 +23,4 @@ {{/each}} {{/if}} -{{/if}} \ No newline at end of file +{{/if}} diff --git a/app/templates/components/quantity-conv.hbs b/app/templates/components/quantity-conv.hbs index 9e03bb07cf..4ed34e5eea 100644 --- a/app/templates/components/quantity-conv.hbs +++ b/app/templates/components/quantity-conv.hbs @@ -1,7 +1,7 @@ {{#unless firstQuantity}}
-
+
@@ -9,7 +9,7 @@ {{/unless}}
-
+
{{#if firstQuantity}} {{/if}} @@ -17,13 +17,13 @@ {{quantityHelp}}
- - + +
-
+
{{#if firstQuantity}} - {{/if}} + {{/if}} {{view Ember.Select viewName="select" class="form-control" content=unitList optionLabelPath="content" optionValuePath="content" value=unit @@ -32,4 +32,4 @@ {{unitHelp}}
-
\ No newline at end of file +
diff --git a/app/templates/components/sortable-column.hbs b/app/templates/components/sortable-column.hbs index a11fb59d27..0c57ec6e42 100644 --- a/app/templates/components/sortable-column.hbs +++ b/app/templates/components/sortable-column.hbs @@ -1,5 +1,5 @@ {{#if sorted}} - + {{/if}} -{{yield}} \ No newline at end of file +{{yield}} diff --git a/app/templates/components/static-text.hbs b/app/templates/components/static-text.hbs index 3e5b6be726..9ed1c203b3 100644 --- a/app/templates/components/static-text.hbs +++ b/app/templates/components/static-text.hbs @@ -1,10 +1,10 @@ -
+

- {{#if value}} + {{#if value}} {{value}} {{else}} {{yield}} {{/if}} -

-
\ No newline at end of file +

+
diff --git a/app/templates/paging.hbs b/app/templates/paging.hbs index bcec692515..62a1f5699a 100644 --- a/app/templates/paging.hbs +++ b/app/templates/paging.hbs @@ -1,21 +1,21 @@ {{#if showPagination}}
{{#if showFirstPageButton}} - {{/if}} - - {{#if showLastPageButton}} - {{/if}} - +
-{{/if}} \ No newline at end of file +{{/if}} diff --git a/app/templates/panel.hbs b/app/templates/panel.hbs index c240f34649..8b5a2e3e04 100644 --- a/app/templates/panel.hbs +++ b/app/templates/panel.hbs @@ -7,7 +7,7 @@ {{#if disabledAction}} {{else}} - + {{/if}} {{/if}} {{#unless hideCancelButton}} @@ -17,13 +17,13 @@ {{/if}} {{/unless}} - {{#each additionalButtons}} - {{/each}}
-
\ No newline at end of file +
diff --git a/app/templates/section.hbs b/app/templates/section.hbs index b9ac930f33..22666a4834 100644 --- a/app/templates/section.hbs +++ b/app/templates/section.hbs @@ -14,8 +14,8 @@ {{/if}} {{#if additionalButtons}} {{#each additionalButtons}} - {{/each}} {{/if}} @@ -37,4 +37,4 @@
{{outlet}}
- \ No newline at end of file + diff --git a/app/templates/sidebar_nav/header.hbs b/app/templates/sidebar_nav/header.hbs index d312c9efd9..536c2c5eda 100644 --- a/app/templates/sidebar_nav/header.hbs +++ b/app/templates/sidebar_nav/header.hbs @@ -2,7 +2,7 @@ - + @@ -16,4 +16,4 @@ {{/if}} - \ No newline at end of file +