Forráskód Böngészése

Flowsheets UI (wip)

Vijayakrishnan 4 éve
szülő
commit
5ddf4ec7ee
1 módosított fájl, 7 hozzáadás és 0 törlés
  1. 7 0
      resources/views/app/patient/flowsheets.blade.php

+ 7 - 0
resources/views/app/patient/flowsheets.blade.php

@@ -20,6 +20,11 @@
 
     </div>
 
+    @if(!$patient->clientPrograms || !count($patient->clientPrograms))
+        <div class="mb-3 alert alert-info"><b>{{$patient->displayName()}}</b> is not enrolled into any client programs!</div>
+    @else
+
+
     <?php
     $dates = [];
     // todo: get from filter/query
@@ -153,4 +158,6 @@
             }, 50);
         });
     </script>
+
+    @endif
 @endsection