Jelajahi Sumber

cleaned up dashboard

= 3 tahun lalu
induk
melakukan
f09e9e333e
1 mengubah file dengan 9 tambahan dan 186 penghapusan
  1. 9 186
      resources/views/app/dashboard-admin.blade.php

+ 9 - 186
resources/views/app/dashboard-admin.blade.php

@@ -26,57 +26,19 @@
                                 <tbody>
                                 <tr>
                                     <th class="px-2 text-center">{{$pro->get_patients_count_as_mcp()}}</th>
-                                    <th class="pl-2">Patients</th>
-                                </tr>
-                                <tr>
-                                    <th class="px-2 text-center">{{$pro->get_new_patients_awaiting_visit_count_as_mcp()}}</th>
-                                    <th class="pl-2">New Patients Awaiting Visit</th>
+                                    <th class="pl-2">Pros</th>
                                 </tr>
+                                
                                 <tr>
                                     <th class="px-2 text-center">{{$pro->get_notes_pending_signature_count_as_mcp()}}</th>
                                     <th class="pl-2">Notes Pending Signature</th>
                                 </tr>
-                                <tr>
-                                    <th class="px-2 text-center">{{$pro->get_notes_pending_summary_suggestion_count_as_admin()}}</th>
-                                    <th class="pl-2">
-                                        <a href="{{ route('admin.notes_pending_summary_suggestion') }}"
-                                           native target="_blank"
-                                           open-in-stag-popup
-                                           popup-style="tall"
-                                           title="Notes With Pending Summary Suggestion">
-                                            Notes With Pending Summary Suggestion
-                                        </a>
-                                    </th>
-                                </tr>
-                                <tr>
-                                    <th class="px-2 text-center">{{$pro->get_notes_rejected_summary_suggestion_count_as_admin()}}</th>
-                                    <th class="pl-2">
-                                        <a href="{{ route('admin.notes_rejected_summary_suggestion') }}"
-                                           native target="_blank"
-                                           open-in-stag-popup
-                                           popup-style="tall"
-                                           title="Notes With Rejected Summary Suggestion">
-                                            Notes With Rejected Summary Suggestion
-                                        </a>
-                                    </th>
-                                </tr>
+                                
                                 <tr>
                                     <th class="px-2 text-center">{{$pro->get_notes_pending_billing_count_as_mcp()}}</th>
                                     <th class="pl-2">Notes Pending Billing</th>
                                 </tr>
-                                <tr>
-                                    <th class="px-2 text-center">{{$pro->get_incoming_reports_pending_signature_count_as_mcp()}}</th>
-                                    <th class="pl-2">Reports Pending Signature</th>
-                                </tr>
-
-                                <tr>
-                                    <th class="px-2 text-center">{{$pro->get_patients_without_appointment_count_as_mcp()}}</th>
-                                    <th class="pl-2">Patients w/o Appointments</th>
-                                </tr>
-                                <tr>
-                                    <th class="px-2 text-center">{{$pro->get_patients_not_seen_in_45_days_count_as_mcp()}}</th>
-                                    <th class="pl-2">Patients Not Seen in 45 Days</th>
-                                </tr>
+                               
                                 <tr>
                                     <th class="px-2 text-center">{{$pro->get_cancelled_appointments_pending_acknowledgement_count_as_mcp()}}</th>
                                     <th class="pl-2">Cancelled Appts. Pending Review</th>
@@ -85,44 +47,12 @@
                                     <th class="px-2 text-center">{{$pro->get_cancelled_bills_awaiting_review_count_as_mcp()}}</th>
                                     <th class="pl-2">Cancelled Bills Pending Review</th>
                                 </tr>
-                                <tr>
-                                    <th class="px-2 text-center">{{$pro->get_cancelled_supply_orders_awaiting_review_count_as_mcp()}}</th>
-                                    <th class="pl-2">Cancelled Supply Orders</th>
-                                </tr>
-
-                                <tr>
-                                    <th class="px-2 text-center">{{$pro->get_erx_and_orders_awaiting_signature_count_as_mcp()}}</th>
-                                    <th class="pl-2">ERx & Orders Pending Signature</th>
-                                </tr>
-                                <tr>
-                                    <th class="px-2 text-center">{{$pro->get_supply_orders_awaiting_signature_count_as_mcp()}}</th>
-                                    <th class="pl-2">Supply Orders Pending Signature</th>
-                                </tr>
-                                </tbody>
-                            </table>
-                        </div>
-                    </div>
-                    <div class="card mb-4">
-                        <div class="card-header pl-2">
-                            <strong>
-                                Remote Monitoring: {{friendly_month(date('Y-m-d'))}}
-                            </strong>
-                        </div>
-                        <div class="card-body p-0">
-                            <table class="table mb-0 dashboard-stats-table">
-                                <tbody>
-                                <tr>
-                                    <th class="px-2 text-center">{{$pro->get_measurements_awaiting_review_count_as_mcp() ?? '-'}}</th>
-                                    <th class="pl-2">Measurements Pending Review</th>
-                                </tr>
-                                <tr>
-                                    <th class="px-2 text-center">{{$pro->get_patients_without_remote_measurement_in_48_hours_count_as_mcp() ?? '-'}}</th>
-                                    <th class="pl-2">Patients w/o Measurement in 48 hrs.</th>
-                                </tr>
+                               
                                 </tbody>
                             </table>
                         </div>
                     </div>
+           
                     <div class="card mb-4">
                         <div class="card-header pl-2">
                             <strong>
@@ -150,31 +80,7 @@
                                     <th class="font-weight-normal pl-2"><a
                                             href="/practice-management/bills-under-processing">Processing</a></th>
                                 </tr>
-                                <tr class="thin">
-                                    <th class="font-weight-normal px-2 pl-5">${{friendly_money($reimbursement['nextPaymentAmount'])}}</th>
-                                    <th class="font-weight-normal pl-2"><a
-                                            href="/practice-management/bills-under-processing">Treatment Services</a></th>
-                                </tr>
-                                <tr class="thin">
-                                    <th class="font-weight-normal px-2 pl-5">${{friendly_money($reimbursement['nextPaymentAmount'])}}</th>
-                                    <th class="font-weight-normal pl-2"><a
-                                            href="/practice-management/bills-under-processing">Remote Monitoring</a></th>
-                                </tr>
-                                <tr class="thin">
-                                    <th class="font-weight-normal px-2 pl-5">${{friendly_money($reimbursement['nextPaymentAmount'])}}</th>
-                                    <th class="font-weight-normal pl-2"><a
-                                            href="/practice-management/bills-under-processing">Other Services</a></th>
-                                </tr>
-                                {{--
-                                <tr>
-                                    <th class="px-2">{{$reimbursement['lastPayment']}}</th>
-                                    <th class="pl-2"><a href="/practice-management/financial-transactions">Last payment</a></th>
-                                </tr>
-                                <tr>
-                                    <th class="px-2">{{friendly_date_time($reimbursement['lastPaymentDate'], false)}}</th>
-                                    <th class="pl-2"><a href="/practice-management/financial-transactions">Last payment date</a></th>
-                                </tr>
-                                --}}
+                               
                                 </tbody>
                             </table>
                         </div>
@@ -219,59 +125,7 @@
                                 Appointments
                             </a>
                         </li>
-                        <li class="nav-item">
-                            <a native data-tab="rpm" class="nav-link"
-                               :class="tab == 'rpm' ? 'active' : ''" href="#"
-                               v-on:click.prevent="tab='rpm';">
-                                RPM
-                            </a>
-                        </li>
-                        <li class="nav-item">
-                            <a native data-tab="measurements" class="nav-link"
-                               :class="tab == 'measurements' ? 'active' : ''" href="#"
-                               v-on:click.prevent="tab='measurements'; loadMeasurements();">
-                                Measurements
-                            </a>
-                        </li>
-                        <li class="nav-item">
-                            <a native data-tab="incoming_reports"
-                               class="nav-link {{count($incomingReports) ? 'text-danger font-weight-bold' : ''}}"
-                               :class="tab == 'incoming_reports' ? 'active' : ''" href="#"
-                               v-on:click.prevent="tab='incoming_reports'">
-                                Incoming Reports ({{count($incomingReports)}})
-                            </a>
-                        </li>
-                        <li class="nav-item">
-                            <a native data-tab="erx" class="nav-link {{$numERx ? 'text-danger font-weight-bold' : ''}}"
-                               :class="tab == 'erx' ? 'active' : ''" href="#"
-                               v-on:click.prevent="tab='erx'">
-                                ERx ({{$numERx}})
-                            </a>
-                        </li>
-                        <li class="nav-item">
-                            <a native data-tab="labs"
-                               class="nav-link {{$numLabs ? 'text-danger font-weight-bold' : ''}}"
-                               :class="tab == 'labs' ? 'active' : ''" href="#"
-                               v-on:click.prevent="tab='labs'">
-                                Labs ({{$numLabs}})
-                            </a>
-                        </li>
-                        <li class="nav-item">
-                            <a native data-tab="imaging"
-                               class="nav-link {{$numImaging ? 'text-danger font-weight-bold' : ''}}"
-                               :class="tab == 'imaging' ? 'active' : ''" href="#"
-                               v-on:click.prevent="tab='imaging'">
-                                Imaging ({{$numImaging}})
-                            </a>
-                        </li>
-                        <li class="nav-item">
-                            <a native data-tab="supply_orders"
-                               class="nav-link {{$numSupplyOrders ? 'text-danger font-weight-bold' : ''}}"
-                               :class="tab == 'supply_orders' ? 'active' : ''" href="#"
-                               v-on:click.prevent="tab='supply_orders'">
-                                Supply Orders ({{$numSupplyOrders}})
-                            </a>
-                        </li>
+                        
                     </ul>
 
                     <div class="border-left border-right border-bottom p-3">
@@ -364,38 +218,7 @@
                                 Please select a date from the calendar on the left
                             </div>
                         </div>
-                        <div v-show="tab==='rpm'">
-                            <div id="rpm-tab">
-                                <div class="card mb-4">
-                                    <div class="card-header pl-2">
-                                        <strong>
-                                            Remote Monitoring: {{friendly_month(date('Y-m-d'))}}
-                                        </strong>
-                                    </div>
-                                    <div class="card-body p-1">
-                                        @include('app.practice-management.remote-monitoring-admin-tree')
-                                    </div>
-                                </div>
-                            </div>
-                        </div>
-                        <div v-show="tab==='measurements'">
-                            <div id="measurements-tab">Loading...</div>
-                        </div>
-                        <div v-show="tab==='incoming_reports'">
-                            @include('app.dashboard.incoming_reports')
-                        </div>
-                        <div v-show="tab==='erx'">
-                            @include('app.dashboard.erx')
-                        </div>
-                        <div v-show="tab==='labs'">
-                            @include('app.dashboard.labs')
-                        </div>
-                        <div v-show="tab==='imaging'">
-                            @include('app.dashboard.imaging')
-                        </div>
-                        <div v-show="tab==='supply_orders'">
-                            @include('app.dashboard.supply_orders')
-                        </div>
+                        
                     </div>
 
                     <div class="row mt-3">