Эх сурвалжийг харах

Allow bill-creation only if patient visit is done

Vijayakrishnan Krishnan 4 жил өмнө
parent
commit
ce1ee8d524

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

@@ -178,6 +178,7 @@
                     </div>--}}
                 </div>
                 <div class="pl-2 border-left">
+                    @if($patient->has_mcp_done_onboarding_visit === 'YES')
                     <div class="d-flex justify-content-end">
                         <div moe relatve class="">
                             <a class="" href="" show start>Create Bill</a>
@@ -212,6 +213,7 @@
                             </form>
                         </div>
                     </div>
+                    @endif
                     <div class="d-flex justify-content-end">
                         @if(!$note->is_cancelled)
                         <div moe relatve
@@ -331,6 +333,7 @@
                 @else
                     <div class="my-3 px-3 d-flex">
                         <p class="font-weight-bold mb-0 text-secondary">No bills in this note</p>
+                        @if($patient->has_mcp_done_onboarding_visit === 'YES')
                         <span class="mx-2 text-secondary">|</span>
                         <span moe class="">
                             <a class="" href="" show start>Create Bill</a>
@@ -364,6 +367,7 @@
                                 </div>
                             </form>
                         </span>
+                        @endif
                     </div>
                 @endif
             </div>