Skip to content

Commit

Permalink
Kavitha | fix opening print view when check box and edit is selected (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kavitha-sundararajan authored Jun 10, 2024
1 parent 815fc15 commit ae414a8
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,26 @@
</div>
<div class="button-group-wrapper">
<div class="button-group">
<button ng-show="!allMedicinesInPrescriptionAvailableForIPD" class="ipd-btn" ng-click="updateOrderType(drugOrder, drugOrderGroup.drugOrders)" ng-disabled="disableIPDButton(drugOrder)">
<button type="button" ng-show="!allMedicinesInPrescriptionAvailableForIPD" class="ipd-btn" ng-click="updateOrderType(drugOrder, drugOrderGroup.drugOrders)" ng-disabled="disableIPDButton(drugOrder)">
<i class="fa fa-check" ng-show="drugOrder.careSetting === 'INPATIENT'"></i>
{{ ::'IPD_BUTTON' | translate}}
</button>
<button ng-repeat="orderAttribute in drugOrder.orderAttributes" show-if-privilege="{{dispensePrivilege}}"
<button type="button" ng-repeat="orderAttribute in drugOrder.orderAttributes" show-if-privilege="{{dispensePrivilege}}"
class="dispense-btn" ng-disabled="shouldBeDisabled(drugOrder,orderAttribute)"
ng-click="updateOrderAttribute(drugOrder,orderAttribute)">
<i class="fa fa-check" ng-show="orderAttribute.value"></i>
{{orderAttribute.name.substring(0,1)}}
</button>
<button ng-disabled="!drugOrder.isActive() || !drugOrder.isEditAllowed || disableEditButton(drugOrder)" ng-click="revise(drugOrder, drugOrderGroup.drugOrders)">
<button type="button" ng-disabled="!drugOrder.isActive() || !drugOrder.isEditAllowed || disableEditButton(drugOrder)" ng-click="revise(drugOrder, drugOrderGroup.drugOrders)">
<i class="fa fa-edit"></i>
</button>
<button class="undo-btn" ng-if="drugOrder.isMarkedForDiscontinue" ng-disabled="!drugOrder.isActive() || !drugOrder.isDiscontinuedAllowed" ng-click="undoDiscontinue(drugOrder)">
<button type="button" class="undo-btn" ng-if="drugOrder.isMarkedForDiscontinue" ng-disabled="!drugOrder.isActive() || !drugOrder.isDiscontinuedAllowed" ng-click="undoDiscontinue(drugOrder)">
<i class="fa fa-undo"></i>
</button>
<button class="stop-drug-btn" ng-if="!drugOrder.isMarkedForDiscontinue" ng-disabled="!drugOrder.isActive() || !drugOrder.isDiscontinuedAllowed" ng-click="discontinue(drugOrder)">
<button type="button" class="stop-drug-btn" ng-if="!drugOrder.isMarkedForDiscontinue" ng-disabled="!drugOrder.isActive() || !drugOrder.isDiscontinuedAllowed" ng-click="discontinue(drugOrder)">
{{ ::'MEDICATION_STOP' | translate }}
</button>
<button class="refill-btn" ng-disabled="!drugOrder.effectiveStopDate || drugOrder.isDrugRetired" ng-click="refill(drugOrder)">
<button type="button" class="refill-btn" ng-disabled="!drugOrder.effectiveStopDate || drugOrder.isDrugRetired" ng-click="refill(drugOrder)">
{{ ::'MEDICATION_REFILL' | translate }}
</button>
<input ng-show="printPrescriptionFeature" type="checkbox" id="{{$parent.$index + '/' + drugOrder.uuid}}" name="selectedDrug"
Expand Down

0 comments on commit ae414a8

Please sign in to comment.