|
@@ -300,7 +300,7 @@
|
|
|
</div>
|
|
|
<div class="card-body p-0">
|
|
|
|
|
|
- <table v-if="events.length > 0" class="table table-sm table-bordered appointments">
|
|
|
+ <table v-if="events.length > 0" class="mb-0 table table-sm table-bordered appointments">
|
|
|
<tr v-for="event in events" class="">
|
|
|
<td>
|
|
|
<a :href="'/patients/view/' + event.clientUid" class="font-weight-bold">@{{
|
|
@@ -381,61 +381,8 @@
|
|
|
Measurements
|
|
|
</strong>
|
|
|
</div>
|
|
|
- <div class="card-body p-0">
|
|
|
- <table class="table table-sm mb-0 dashboard-stats-table">
|
|
|
- <tbody>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients') }}">Patients</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_new_patients_awaiting_visit_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.new_patients_awaiting_visit') }}">New Patients
|
|
|
- Awaiting
|
|
|
- Visit</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_notes_pending_signature_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.notes_pending_signature') }}">Notes Pending
|
|
|
- Signature</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_notes_pending_billing_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.notes_pending_billing') }}">Notes Pending
|
|
|
- Billing</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_incoming_reports_pending_signature_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.reports_pending_signature') }}">Reports Pending
|
|
|
- Signature</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
-
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_without_appointment_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients_without_appointments') }}">Patients w/o
|
|
|
- Appointments</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_overdue_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients_overdue_for_visit') }}">Patients Overdue for
|
|
|
- Visit</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
+ <div class="card-body">
|
|
|
+ @include('app.mcp.dashboard.measurements')
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="card mb-4">
|
|
@@ -444,61 +391,8 @@
|
|
|
ERx & Orders
|
|
|
</strong>
|
|
|
</div>
|
|
|
- <div class="card-body p-0">
|
|
|
- <table class="table table-sm mb-0 dashboard-stats-table">
|
|
|
- <tbody>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients') }}">Patients</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_new_patients_awaiting_visit_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.new_patients_awaiting_visit') }}">New Patients
|
|
|
- Awaiting
|
|
|
- Visit</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_notes_pending_signature_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.notes_pending_signature') }}">Notes Pending
|
|
|
- Signature</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_notes_pending_billing_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.notes_pending_billing') }}">Notes Pending
|
|
|
- Billing</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_incoming_reports_pending_signature_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.reports_pending_signature') }}">Reports Pending
|
|
|
- Signature</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
-
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_without_appointment_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients_without_appointments') }}">Patients w/o
|
|
|
- Appointments</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_overdue_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients_overdue_for_visit') }}">Patients Overdue for
|
|
|
- Visit</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
+ <div class="card-body">
|
|
|
+ @include('app.mcp.dashboard.erx_orders')
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="card mb-4">
|
|
@@ -507,61 +401,8 @@
|
|
|
Supply Orders
|
|
|
</strong>
|
|
|
</div>
|
|
|
- <div class="card-body p-0">
|
|
|
- <table class="table table-sm mb-0 dashboard-stats-table">
|
|
|
- <tbody>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients') }}">Patients</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_new_patients_awaiting_visit_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.new_patients_awaiting_visit') }}">New Patients
|
|
|
- Awaiting
|
|
|
- Visit</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_notes_pending_signature_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.notes_pending_signature') }}">Notes Pending
|
|
|
- Signature</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_notes_pending_billing_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.notes_pending_billing') }}">Notes Pending
|
|
|
- Billing</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_incoming_reports_pending_signature_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.reports_pending_signature') }}">Reports Pending
|
|
|
- Signature</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
-
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_without_appointment_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients_without_appointments') }}">Patients w/o
|
|
|
- Appointments</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_overdue_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients_overdue_for_visit') }}">Patients Overdue for
|
|
|
- Visit</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
+ <div class="card-body">
|
|
|
+ @include('app.mcp.dashboard.supply_orders')
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -572,61 +413,8 @@
|
|
|
Notifications
|
|
|
</strong>
|
|
|
</div>
|
|
|
- <div class="card-body p-0">
|
|
|
- <table class="table table-sm mb-0 dashboard-stats-table">
|
|
|
- <tbody>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients') }}">Patients</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_new_patients_awaiting_visit_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.new_patients_awaiting_visit') }}">New Patients
|
|
|
- Awaiting
|
|
|
- Visit</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_notes_pending_signature_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.notes_pending_signature') }}">Notes Pending
|
|
|
- Signature</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_notes_pending_billing_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.notes_pending_billing') }}">Notes Pending
|
|
|
- Billing</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_incoming_reports_pending_signature_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.reports_pending_signature') }}">Reports Pending
|
|
|
- Signature</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
-
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_without_appointment_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients_without_appointments') }}">Patients w/o
|
|
|
- Appointments</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_overdue_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients_overdue_for_visit') }}">Patients Overdue for
|
|
|
- Visit</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
+ <div class="card-body">
|
|
|
+ @include('app.mcp.dashboard.notifications')
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="card mb-4">
|
|
@@ -635,61 +423,8 @@
|
|
|
Messages
|
|
|
</strong>
|
|
|
</div>
|
|
|
- <div class="card-body p-0">
|
|
|
- <table class="table table-sm mb-0 dashboard-stats-table">
|
|
|
- <tbody>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients') }}">Patients</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_new_patients_awaiting_visit_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.new_patients_awaiting_visit') }}">New Patients
|
|
|
- Awaiting
|
|
|
- Visit</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_notes_pending_signature_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.notes_pending_signature') }}">Notes Pending
|
|
|
- Signature</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_notes_pending_billing_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.notes_pending_billing') }}">Notes Pending
|
|
|
- Billing</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_incoming_reports_pending_signature_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.reports_pending_signature') }}">Reports Pending
|
|
|
- Signature</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
-
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_without_appointment_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients_without_appointments') }}">Patients w/o
|
|
|
- Appointments</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_overdue_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients_overdue_for_visit') }}">Patients Overdue for
|
|
|
- Visit</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
+ <div class="card-body">
|
|
|
+ @include('app.mcp.dashboard.messages')
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="card mb-4">
|
|
@@ -698,221 +433,12 @@
|
|
|
Phone Calls & Memos
|
|
|
</strong>
|
|
|
</div>
|
|
|
- <div class="card-body p-0">
|
|
|
- <table class="table table-sm mb-0 dashboard-stats-table">
|
|
|
- <tbody>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients') }}">Patients</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_new_patients_awaiting_visit_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.new_patients_awaiting_visit') }}">New Patients
|
|
|
- Awaiting
|
|
|
- Visit</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_notes_pending_signature_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.notes_pending_signature') }}">Notes Pending
|
|
|
- Signature</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_notes_pending_billing_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.notes_pending_billing') }}">Notes Pending
|
|
|
- Billing</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_incoming_reports_pending_signature_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.reports_pending_signature') }}">Reports Pending
|
|
|
- Signature</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
-
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_without_appointment_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients_without_appointments') }}">Patients w/o
|
|
|
- Appointments</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <th class="px-2 text-center">{{$pro->get_patients_overdue_count_as_mcp()}}</th>
|
|
|
- <th class="pl-2">
|
|
|
- <a href="{{ route('mcp.patients_overdue_for_visit') }}">Patients Overdue for
|
|
|
- Visit</a>
|
|
|
- </th>
|
|
|
- </tr>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
+ <div class="card-body">
|
|
|
+ @include('app.mcp.dashboard.calls_memos')
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
- <div style="">
|
|
|
- <ul class="nav nav-tabs">
|
|
|
- <li class="nav-item">
|
|
|
- <a native data-tab="appointments" class="nav-link"
|
|
|
- :class="tab == 'appointments' ? 'active' : ''" href="#"
|
|
|
- v-on:click.prevent="tab='appointments'; initLoadAppointments();">
|
|
|
- Appointments
|
|
|
- </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'">
|
|
|
- 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 & Orders ({{$numERx}})
|
|
|
- </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">
|
|
|
- <div v-show="tab==='appointments'" class="appointments-tab">
|
|
|
- <div v-show="selectedDate">
|
|
|
- <div class="d-flex align-items-end mb-3">
|
|
|
- <b class="large"><span class="text-secondary"></span>@{{ selectedDate }}</b>
|
|
|
- <div class="ml-auto d-inline-flex align-items-center">
|
|
|
- <label class="text-secondary mr-2 my-0 text-nowrap">Filter by
|
|
|
- status:</label>
|
|
|
- <select v-model="filterStatus"
|
|
|
- class="form-control form-control-sm">
|
|
|
- <option value="">All</option>
|
|
|
- <option value="CREATED">Created</option>
|
|
|
- <option value="CONFIRMED">Confirmed</option>
|
|
|
- <option value="CANCELLED">Cancelled</option>
|
|
|
- <option value="COMPLETED">Completed</option>
|
|
|
- <option value="ABANDONED">Abandoned</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <table class="table table-sm table-bordered appointments">
|
|
|
- <tr v-for="event in events" class="">
|
|
|
- <td>
|
|
|
- <a :href="'/patients/view/' + event.clientUid" class="font-weight-bold">@{{
|
|
|
- event.clientName }}</a>
|
|
|
- <span class="small d-inline-block text-secondary font-weight-normal"> (@{{ event.clientAge }} y.o. @{{event.clientSex}})</span>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- @{{ event.friendlyStartTime }} - @{{ event.friendlyEndTime }} <span
|
|
|
- class="text-secondary">@{{ event.timezone }}</span>
|
|
|
- <span v-if="event.title"
|
|
|
- class="d-inline-block ml- 2 text-secondary font-weight-bold">
|
|
|
- /
|
|
|
- @{{ event.title }}
|
|
|
- </span>
|
|
|
- <a :href="'/patients/view/' + event.clientUid + '/calendar/' + event.uid">
|
|
|
- <i class="fa fa-edit"></i>
|
|
|
- Edit
|
|
|
- </a>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <div class="d-flex align-items-baseline">
|
|
|
- <div v-if="event.status === 'CREATED'"
|
|
|
- class="text-warning-mellow font-weight-bold">
|
|
|
- <i class="fa fa-exclamation-triangle"></i>
|
|
|
- Confirmation pending
|
|
|
- </div>
|
|
|
- <div v-else-if="event.status === 'CONFIRMED'"
|
|
|
- class="text-success font-weight-bold">
|
|
|
- <i class="fa fa-check"></i>
|
|
|
- Confirmed by the patient
|
|
|
- </div>
|
|
|
- <div v-else-if="event.status === 'REJECTED'"
|
|
|
- class="text-danger font-weight-bold">
|
|
|
- <i class="fa fa-stop"></i>
|
|
|
- Rejected by the patient
|
|
|
- </div>
|
|
|
- <div v-else class="text-secondary">
|
|
|
- Status: <b>@{{ event.status }}</b>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <div>
|
|
|
-
|
|
|
- <div class="mt-1"
|
|
|
- :class="event.coverage !== 'YES' ? (event.coverage === 'NO' ? 'text-danger' : 'text-warning-mellow') : 'text-success'">
|
|
|
- Coverage Status: <b>@{{ event.coverage }}</b>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <div class="ml-auto">
|
|
|
- <select v-model="event.newStatus"
|
|
|
- class="form-control form-control-sm bg-light"
|
|
|
- v-on:change="updateStatus(event)">
|
|
|
- <option value="CREATED">CREATED</option>
|
|
|
- <option value="CONFIRMED">CONFIRMED</option>
|
|
|
- <option value="CANCELLED">CANCELLED</option>
|
|
|
- <option value="COMPLETED">COMPLETED</option>
|
|
|
- <option value="ABANDONED">ABANDONED</option>
|
|
|
- </select>
|
|
|
- <div v-if="selectedDate === '{{ date('Y-m-d') }}'"
|
|
|
- class="pt-1 text-right"
|
|
|
- :class="event.started ? 'text-danger': 'text-secondary'">
|
|
|
- @{{ event.inHowManyHours }}
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
-
|
|
|
- <div v-if="numEventsForDate === 0"
|
|
|
- class="bg-light p-3 text-secondary border bounded">
|
|
|
- <span v-if="filterStatus === ''">You have no appointments on <b>@{{ selectedDate }}</b></span>
|
|
|
- <span v-if="filterStatus !== ''">You have no appointments on <b>@{{ selectedDate }}</b> with status <b>@{{ filterStatus }}</b></span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div v-show="!selectedDate" class="bg-light p-3 text-secondary border bounded">
|
|
|
- Please select a date from the calendar on the left
|
|
|
- </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>
|
|
|
- </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|