logicpowerhouse преди 4 години
родител
ревизия
9d63f4bb9b

+ 7 - 0
app/Http/Controllers/PracticeManagementController.php

@@ -3,6 +3,7 @@
 namespace App\Http\Controllers;
 
 use App\Models\AppSession;
+use App\Models\BDTMeasurement;
 use App\Models\Bill;
 use App\Models\Claim;
 use App\Models\Client;
@@ -483,4 +484,10 @@ class PracticeManagementController extends Controller
         $tickets = Ticket::orderBy('created_at', 'desc')->paginate();
         return view('app.practice-management.tickets', compact('tickets'));
     }
+
+    public function cellularMeasurements(Request $request){
+        $bdtMeasurements = BDTMeasurement::ordrBy('ts', 'desc')->paginate();
+        return view('app.practice-management.cellular-measurements', compact('bdtMeasurements'));
+    }
+
 }

+ 54 - 0
resources/views/app/practice-management/cellular-measurements.blade.php

@@ -0,0 +1,54 @@
+@extends ('layouts.template')
+
+@section('content')
+
+    <div class="p-3 mcp-theme-1">
+
+        <div class="card">
+            <div class="card-body p-0">
+                <table class="table table-sm table-condensed p-0 m-0">
+                    <thead class="bg-light">
+                    <tr>
+                        <th class="border-0">Patient</th>
+                        <th class="border-0">Note Eff. Date</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>
+                    @foreach ($bdtMeasurements as $bdtm)
+                        <tr class="">
+                            <td>{{$bdtm->id}}</td>
+                            <td></td>
+                            <td></td>
+                            <td></td>
+                        </tr>
+                    @endforeach
+                    </tbody>
+                </table>
+                <div>
+                    {{$bdtMeasurements->links()}}
+                </div>
+            </div>
+        </div>
+    </div>
+
+@endsection

+ 4 - 0
routes/web.php

@@ -86,8 +86,12 @@ Route::middleware('pro.auth')->group(function () {
 
         Route::get('cellular-device-manager/{proUid?}', 'PracticeManagementController@cellularDeviceManager')->name('cellularDeviceManager');
 
+
+
         Route::middleware('pro.auth.admin')->group(function(){
 
+            Route::get('cellular-measurements', 'PracticeManagementController@cellularMeasurements')->name('cellularMeasurements');
+
             Route::get('hcp-bill-matrix/{proUid?}', 'PracticeManagementController@hcpBillMatrix')->name('hcpBillMatrix');
 
             Route::get('tickets', 'PracticeManagementController@tickets')->name('tickets');