Explorar o código

Supply orders - remove CM restriction

Vijayakrishnan %!s(int64=3) %!d(string=hai) anos
pai
achega
157c1d84f5
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      resources/views/app/patient/supply-orders.blade.php

+ 3 - 3
resources/views/app/patient/supply-orders.blade.php

@@ -9,9 +9,9 @@
                     <a start show href="#">Add</a>
                     <form url="/api/supplyOrder/create" redir="/patients/view/{{ $patient->uid }}/supply-orders/[data]">
 
-                        @if(!$patient->has_cm_setup_been_performed)
+                        {{--@if(!$patient->has_cm_setup_been_performed)
                             <p class="font-weight-bold alert alert-warning border-warning mb-0">You need to enroll this patient into CM before adding supply orders.</p>
-                        @else
+                        @else--}}
                             <input type="hidden" name="clientUid" value="{{ $patient->uid }}">
                             <input type="hidden" name="noteUid" value="{{ request()->input('note-uid') }}">
                             <label class="text-secondary font-weight-bold">Add Supply Order</label>
@@ -56,7 +56,7 @@
                             <div class="d-flex align-items-center">
                                 <button class="btn btn-sm btn-primary mr-2" type="button" submit>Save</button>
                             </div>
-                        @endif
+                        {{--@endif--}}
 
                     </form>
                 </div>