Browse Source

ERx - include med strength in dropdown/label

Vijayakrishnan 4 năm trước cách đây
mục cha
commit
df69fc166f
1 tập tin đã thay đổi với 6 bổ sung6 xóa
  1. 6 6
      resources/views/app/patient/tickets/erx.blade.php

+ 6 - 6
resources/views/app/patient/tickets/erx.blade.php

@@ -81,7 +81,7 @@
             <div class="px-3 pb-3 border-bottom">
 
                 <div class="row mb-2">
-                    <div class="col-9">
+                    <div class="col-12">
                         <label class="text-sm text-secondary mb-1">
                             <div class="pro-initials pro-initials-sm bg-info text-white font-size-13 mr-1 font-weight-bold">1</div>
                             Medication (<i>from Patient Rx List</i>)
@@ -92,11 +92,11 @@
                             <option v-for="(item, index) in patientRx"
                                     :value="item.title"
                                     :disabled="isRxAlreadyUsed(item.title, -1)">
-                                @{{item.title}}
+                                @{{item.title}} @{{item.strength ? item.strength : ''}}
                             </option>
                         </select>
                     </div>
-                    <div class="col-3 pl-0">
+                    <div class="d-none">
                         <label class="text-sm text-secondary mb-1">Strength</label>
                         <input type="hidden" v-model="erxPopupItem.data.strength">
                         <input readonly type="text" data-field="strength" placeholder="Strength"
@@ -157,7 +157,7 @@
             <div class="p-3 border-bottom erx-line-item" v-for="(item, itemIndex) in erxPopupItem.data.items">
 
                 <div class="row mb-2">
-                    <div class="col-9">
+                    <div class="col-12">
                         <label class="text-sm text-secondary mb-1 d-flex align-items-center">
                             <div class="pro-initials pro-initials-sm bg-info text-white font-size-13 mr-1 font-weight-bold" v-html="itemIndex + 2"></div>
                             Medication (<i>from Patient Rx List</i>)
@@ -170,11 +170,11 @@
                             <option v-for="(item, index) in patientRx"
                                     :value="item.title"
                                     :disabled="isRxAlreadyUsed(item.title, itemIndex)">
-                                @{{item.title}}
+                                @{{item.title}} @{{item.strength ? item.strength : ''}}
                             </option>
                         </select>
                     </div>
-                    <div class="col-3 pl-0">
+                    <div class="d-none">
                         <label class="text-sm text-secondary mb-1">Strength</label>
                         <input type="hidden" v-model="item.strength">
                         <input readonly type="text" data-field="strength" placeholder="Strength"