浏览代码

erx UI - text update + hide PDF if not signed

Vijayakrishnan 3 年之前
父节点
当前提交
c225af4dc2
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      resources/views/app/patient/prescriptions-popup/list-popup.blade.php

+ 2 - 2
resources/views/app/patient/prescriptions-popup/list-popup.blade.php

@@ -351,7 +351,7 @@
                     <div v-else>-</div>
                 </div>
             </div>
-            <div class="pb-2 d-flex align-items-center">
+            <div class="pb-2 d-flex align-items-center" v-if="currentPrescription.has_hcp_pro_signed">
                 <span class="min-width-140px text-secondary text-sm">PDF</span>
                 <div class="d-inline-flex align-items-baseline">
                     <a class="pdf-viewer-trigger" native target="_blank"
@@ -366,7 +366,7 @@
             <div v-if="!currentPrescription.has_hcp_pro_signed">
                 <hr class="my-2">
                 <div v-if="currentPrescription.pro_declared_status === 'CANCELLED'" class="text-secondary font-weight-bold">CANCELLED</div>
-                <a v-else href="#" class="text-danger d-block" v-on:click.prevent="cancelItem()">Cancel</a>
+                <a v-else href="#" class="text-danger d-block" v-on:click.prevent="cancelItem()">Remove eRx</a>
             </div>
         </div>
     </div>