Parcourir la source

Show bill-verification status to pros

Vijayakrishnan il y a 3 ans
Parent
commit
66978706d0

+ 10 - 1
resources/views/app/generic-bills/inline.blade.php

@@ -40,8 +40,8 @@ $genericBills = genericBills($pro, @$patient, @$entityType, @$entityUid);
                     <th class="border-bottom-0 screen-only">Total</th>
                     <th class="border-bottom-0">Sign</th>
                     <th class="border-bottom-0">Cancellation</th>
-                    @if($pro->pro_type === 'ADMIN')
                     <th class="border-bottom-0">Verification</th>
+                    @if($pro->pro_type === 'ADMIN')
                     <th class="border-bottom-0 screen-only">Payment</th>
                     @endif
                 </tr>
@@ -206,6 +206,15 @@ $genericBills = genericBills($pro, @$patient, @$entityType, @$entityUid);
                             @endif
 
                         </td>
+                        <td> <!-- verification -->
+                            @if(!$bill->is_cancelled)
+                                @if(!$bill->is_verified)
+                                    <div class="text-warning-mellow font-weight-bold">Not Verified</div>
+                                @else
+                                    <div class="text-info font-weight-bold"><i class="fa fa-check"></i> Verified</div>
+                                @endif
+                            @endif
+                        </td>
                         @if($pro->pro_type === 'ADMIN')
                         <td> <!-- verification -->
                             @if(!$bill->is_cancelled)

+ 10 - 0
resources/views/app/patient/note/dashboard.blade.php

@@ -1512,6 +1512,7 @@
                                 {{--<th class="border-bottom-0 w-25 pl-2">Reason</th>--}}
                                 <th class="border-bottom-0 pl-3">Billable</th>
                                 <th class="border-bottom-0 pl-2">Amount</th>
+                                <th class="border-bottom-0 pl-2">Verification</th>
                                 <th class="border-bottom-0"></th>
                             </tr>
                             </thead>
@@ -1565,6 +1566,15 @@
                                             @endif
                                         @endif
                                     </td>
+                                    <td class="pl-2">
+                                        @if(!$bill->is_cancelled)
+                                            @if(!$bill->is_verified)
+                                                <div class="text-warning-mellow font-weight-bold">Not Verified</div>
+                                            @else
+                                                <div class="text-info font-weight-bold"><i class="fa fa-check"></i> Verified</div>
+                                            @endif
+                                        @endif
+                                    </td>
                                     <td>
                                         <div class="d-flex align-items-center">
                                             @if(!$bill->is_cancelled)