浏览代码

bdtm matrix

logicpowerhouse 4 年之前
父节点
当前提交
04768900cf

+ 1 - 2
app/Models/BDTMeasurement.php

@@ -12,8 +12,7 @@ class BDTMeasurement extends Model
 
     public function clientBDTMeasurements()
     {
-        return $this->hasMany(ClientBDTMeasurement::class, 'bdt_measurement_id', 'id')
-            ->orderBy('created_at', 'desc');
+        return $this->hasMany(ClientBDTMeasurement::class);
     }
 
 }

+ 1 - 20
resources/views/app/practice-management/cellular-measurements.blade.php

@@ -13,25 +13,6 @@
                         <th class="border-0">Patient</th>
                         <th>IMEI</th>
                         <th>Time</th>
-
-                        <th class="border-0">HCP</th>
-
-                        <th class="border-0">Note Signed?</th>
-
-                        <th>Service</th>
-                        <th># of units</th>
-                        <th>Bill Signed?</th>
-                        <th>Cancelled?</th>
-                        <th>HCP ex. amount</th>
-
-                        @if($performer->pro->pro_type == 'ADMIN' && false)
-                            <th class="border-0">Assessments</th>
-                        @endif
-
-                        @if($performer->pro->pro_type == 'ADMIN' && false)
-                            <th class="border-0">Claims</th>
-                        @endif
-                        <th class="px-3 border-0">Created</th>
                     </tr>
                     </thead>
                     <tbody>
@@ -40,7 +21,7 @@
                             <td>{{$b->id}}</td>
                             <td>
                                 <?php
-                                foreach($b->clientBDTMeasurements() as $c){
+                                foreach($b->clientBDTMeasurements as $c){
                                     echo $c->id . ' - ';
                                 }
                                 ?>