logicpowerhouse před 4 roky
rodič
revize
51949191dd

+ 23 - 7
resources/views/app/practice-management/treatment-services-util.blade.php

@@ -1,17 +1,12 @@
 @extends ('layouts/template')
 
 @section('content')
-    <h1>Treatment Services Utilization</h1>
-    <?php
-    dump($view_treatment_service_utilization);
-    dump($view_treatment_service_utilization_by_patient);
-    ?>
 
     <div class="p-3 mcp-theme-1">
         <h3>Treatment Service Utilization</h3>
         <div class="card">
             <div class="card-body">
-                <table class="table table-bordered table-condensed">
+                <table class="table table-bordered table-striped table-sm">
                     <thead>
                     <tr>
                         <th>HCP last</th>
@@ -36,7 +31,28 @@
         <h3>Treatment Service Utilization By Patient</h3>
         <div class="card">
             <div class="card-body">
-
+                <table class="table table-bordered table-striped table-sm">
+                    <thead>
+                    <tr>
+                        <th>HCP last</th>
+                        <th>HCP first</th>
+                        <th>Pt. last</th>
+                        <th>Pt. first</th>
+                        <th>Total hrs.</th>
+                    </tr>
+                    </thead>
+                    <tbody>
+                    @foreach($view_treatment_service_utilization_by_patient as $x)
+                        <tr>
+                            <td>{{$x->pro_lname}}</td>
+                            <td>{{$x->pro_fname}}</td>
+                            <td>{{$x->pt_lname}}</td>
+                            <td>{{$x->pt_fname}}</td>
+                            <td>{{$x->total_hrs}}</td>
+                        </tr>
+                    @endforeach
+                    </tbody>
+                </table>
             </div>
         </div>
     </div>