NINS_CODE/bahmniapps/ot/views/moveAppointment.html

24 lines
1.4 KiB
HTML
Raw Normal View History

2024-12-12 22:37:39 +06:00
<div class="ngdialog-close clearfix"></div>
<div class="move-appointment">
<h4> {{ 'MOVING_KEY' + ' ' + surgicalAppointment.patient.display + ' ' + 'FROM_KEY' + ' ' + sourceSurgicalBlock.provider.person.display + ' - ' + sourceSurgicalBlock.location.name}}</h4>
<p>
<label>{{'DATE' | translate}}: </label>
<input type="date" ng-model="dateForMovingSurgery" ng-change="changeInSurgeryDate()"/>
</p>
<p ng-show="availableSurgicalBlocksForGivenDate.length">
<label>{{'DESTINATION_BLOCK' | translate}}: </label>
<select ng-options="surgicalBlockDetails.displayName for surgicalBlockDetails in availableSurgicalBlocksForGivenDate" required ng-model="destinationBlock">
<option value=""> {{'SELECT_BLOCK' | translate}} </option>
</select>
</p>
<p class="caution" ng-show="dateForMovingSurgery && availableSurgicalBlocksForGivenDate.length === 0">
<i class="fa fa-exclamation-circle small"></i>
<span>{{'NO_FREE_SLOT_AVAILABLE_FOR_THE_GIVEN_SURGEON_AND_DATE_MESSAGE' | translate}}</span>
</p>
<div class="center">
<button ng-click="moveSurgicalAppointment()" ng-disabled="!dateForMovingSurgery || !destinationBlock">
{{'OT_SURGICAL_APPOINTMENT_MOVE' | translate}}
</button>
<button ng-mousedown="cancel()">{{'OT_SURGICAL_APPOINTMENT_CANCEL' | translate}}</button>
</div>
</div>