Vijayakrishnan пре 4 година
родитељ
комит
5ddf4ec7ee
1 измењених фајлова са 7 додато и 0 уклоњено
  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