فهرست منبع

Ticket > generic bills logic fix

Vijayakrishnan 3 سال پیش
والد
کامیت
8015bf7f3a

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

@@ -246,7 +246,7 @@
             @include('app.patient.tickets.faxes', ['category' => 'erx'])
 
             <!-- bills -->
-            <div class="px-3 py-3 border-top">
+            <div class="px-3 py-3 border-top" v-if="erxPopupMode !== 'add'">
                 <a class="mb-0 font-weight-normal font-size-16 d-flex align-items-center"
                    native target="_blank"
                    open-in-stag-popup

+ 1 - 1
resources/views/app/patient/tickets/imaging.blade.php

@@ -133,7 +133,7 @@
             @include('app.patient.tickets.attachments', ['category' => 'imaging'])
 
             <!-- bills -->
-            <div class="px-3 py-3 border-top">
+            <div class="px-3 py-3 border-top" v-if="imagingPopupMode !== 'add'">
                 <a class="mb-0 font-weight-normal font-size-16 d-flex align-items-center"
                    native target="_blank"
                    open-in-stag-popup

+ 1 - 1
resources/views/app/patient/tickets/lab.blade.php

@@ -137,7 +137,7 @@
             @include('app.patient.tickets.attachments', ['category' => 'lab'])
 
             <!-- bills -->
-            <div class="px-3 py-3 border-top">
+            <div class="px-3 py-3 border-top" v-if="labPopupMode !== 'add'">
                 <a class="mb-0 font-weight-normal font-size-16 d-flex align-items-center"
                    native target="_blank"
                    open-in-stag-popup

+ 12 - 0
resources/views/app/patient/tickets/other.blade.php

@@ -98,6 +98,18 @@
             <!-- attachments -->
             @include('app.patient.tickets.attachments', ['category' => 'other'])
 
+            <!-- bills -->
+            <div class="px-3 py-3 border-top" v-if="otherPopupMode !== 'add'">
+                <a class="mb-0 font-weight-normal font-size-16 d-flex align-items-center"
+                   native target="_blank"
+                   open-in-stag-popup
+                   popup-style="tall"
+                   title="Generic Bills"
+                   :href="'/generic-bill-view/Ticket/' + otherPopupMode.uid">
+                    Generic Bills
+                </a>
+            </div>
+
             <!-- comments -->
             @include('app.patient.tickets.comments', ['category' => 'other'])
         </form>