Преглед на файлове

Merge branch 'master' of rav.triplestart.com:jmudaka/stagfe2

= преди 3 години
родител
ревизия
778e93bd90

+ 0 - 1
app/Http/Controllers/Controller.php

@@ -90,6 +90,5 @@ class Controller extends BaseController
             'success' => false,
             'message' => $message
         ];
-        return null;
     }
 }

+ 13 - 1
app/Http/Controllers/PatientController.php

@@ -369,7 +369,19 @@ class PatientController extends Controller
     }
 
     public function calendar(Request $request, Client $patient, Appointment $currentAppointment) {
-        return view('app.patient.appointment-calendar', compact('patient', 'currentAppointment'));
+        $pros = [];
+
+        if($this->pro && $this->pro->pro_type != 'ADMIN') {
+            $accessiblePros = ProProAccess::where('owner_pro_id', $this->pro->id);
+            $accessibleProIds = [];
+            foreach($accessiblePros as $accessiblePro){
+                $accessibleProIds[] = $accessiblePro->id;
+            }
+            $accessibleProIds[] = $this->pro->id;
+            $pros = Pro::whereIn('id', $accessibleProIds)->get();
+        }
+
+        return view('app.patient.appointment-calendar', compact('pros', 'patient', 'currentAppointment'));
     }
 
     public function programs(Request $request, Client $patient, $filter = '') {

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

@@ -1771,4 +1771,48 @@ ORDER BY claim.created_at DESC
         return view('app.practice-management.generic-bills');
     }
 
+    public function billsUnderProcessing(Request $request)
+    {
+
+        $bills = Bill::where('is_cancelled', false)
+            ->where(function ($query) {   // mcp of any client program and program OB pending
+                $query
+                    ->where(function ($_query) {
+                        $_query->where('hcp_pro_id', $this->pro->id)
+                            ->where('hcp_expected_payment_amount', '>', 0)
+                            ->where('has_hcp_been_paid', false)
+                            ->where('is_signed_by_hcp', true);
+                    })
+                    ->orWhere(function ($_query) {
+                        $_query->where('cm_pro_id', $this->pro->id)
+                            ->where('cm_expected_payment_amount', '>', 0)
+                            ->where('has_cm_been_paid', false)
+                            ->where('is_signed_by_cm', true);
+                    })
+                    ->orWhere(function ($_query) {
+                        $_query->where('rme_pro_id', $this->pro->id)
+                            ->where('rme_expected_payment_amount', '>', 0)
+                            ->where('has_rme_been_paid', false)
+                            ->where('is_signed_by_rme', true);
+                    })
+                    ->orWhere(function ($_query) {
+                        $_query->where('rmm_pro_id', $this->pro->id)
+                            ->where('rmm_expected_payment_amount', '>', 0)
+                            ->where('has_rmm_been_paid', false)
+                            ->where('is_signed_by_rmm', true);
+                    })
+                    ->orWhere(function ($_query) {
+                        $_query->where('generic_pro_id', $this->pro->id)
+                            ->where('generic_pro_expected_payment_amount', '>', 0)
+                            ->where('has_generic_pro_been_paid', false)
+                            ->where('is_signed_by_generic_pro', true);
+                    });
+            })
+            ->orderBy('created_at', 'DESC')
+            ->paginate();
+
+        return view('app.practice-management.bills-under-processing', compact('bills'));
+
+    }
+
 }

+ 4 - 0
app/Models/AppointmentConfirmationDecision.php

@@ -10,4 +10,8 @@ class AppointmentConfirmationDecision extends Model
 {
     protected $table = 'appointment_confirmation_decision';
 
+    public function session() {
+        return $this->hasOne(AppSession::class, 'id', 'created_by_session_id');
+    }
+
 }

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
public/js/yemi.js


+ 1 - 1
resources/views/app/dashboard.blade.php

@@ -154,7 +154,7 @@
                                 </tr> -->
                                 <tr>
                                     <th class="px-2">${{friendly_money($reimbursement['nextPaymentAmount'])}}</th>
-                                    <th class="pl-2">Processing</th>
+                                    <th class="pl-2"><a href="/practice-management/bills-under-processing">Processing</a></th>
                                 </tr>
                                 {{--
                                 <tr>

+ 6 - 4
resources/views/app/generic-bills/add-bill-form/_default-fields.blade.php

@@ -1,7 +1,9 @@
-<div class="mb-2 min-width-300px">
-    <label for="" class="text-secondary text-sm">Company Pro</label>
-    <div class="p-2 border bg-light rounded">{{$genericCompanyPro->pro->displayName()}} / {{$genericCompanyPro->company->name}}</div>
-</div>
+@if($pro && $pro->pro_type === 'ADMIN')
+    <div class="mb-2 min-width-300px">
+        <label for="" class="text-secondary text-sm">Company Pro</label>
+        <div class="p-2 border bg-light rounded">{{$genericCompanyPro->pro->displayName()}} / {{$genericCompanyPro->company->name}}</div>
+    </div>
+@endif
 <input type="hidden" name="genericCompanyProUid" value="{{$genericCompanyPro->uid}}">
 @if(@$note)
     <input type="hidden" name="optionalNoteUid" value="{{$note->uid}}">

+ 33 - 17
resources/views/app/guest/appointment-confirmation.blade.php

@@ -25,28 +25,44 @@
                         </p>
                     </div>
 
-                    <div class="form-group">
-                        <p>Please confirm your appointment</p>
-                    </div>
+                    @if($appointment->status === 'CREATED')
 
-                    <div class="form-group">
-                        <div class="check d-flex align-items-center mb-2">
-                            <input type="radio" required name="decision" value="ACCEPT" id="appointment_confirmation_accept" class="check-input my-0 mr-2">
-                            <label for="appointment_confirmation_accept" class="check-label my-0">Accept - <b>I confirm my availability at the above mentioned date/time</b></label>
+                        <div class="form-group">
+                            <p>Please confirm your appointment</p>
                         </div>
-                        <div class="check d-flex align-items-center">
-                            <input type="radio" required name="decision" value="REJECT" id="appointment_confirmation_reject" class="check-input my-0 mr-2">
-                            <label for="appointment_confirmation_reject" class="check-label my-0">Reject - <b>I do not want an appointment at the above mentioned date/time</b></label>
+
+                        <div class="form-group">
+                            <div class="check d-flex align-items-center mb-2">
+                                <input type="radio" required name="decision" value="ACCEPT" id="appointment_confirmation_accept" class="check-input my-0 mr-2">
+                                <label for="appointment_confirmation_accept" class="check-label my-0">Accept - <b>I confirm my availability at the above mentioned date/time</b></label>
+                            </div>
+                            <div class="check d-flex align-items-center">
+                                <input type="radio" required name="decision" value="REJECT" id="appointment_confirmation_reject" class="check-input my-0 mr-2">
+                                <label for="appointment_confirmation_reject" class="check-label my-0">Reject - <b>I do not want an appointment at the above mentioned date/time</b></label>
+                            </div>
                         </div>
-                    </div>
 
-                    <div class="form-group">
-                        <textarea name="memo" class="form-control form-control-sm" placeholder="Any additional information / reason in case you are rejecting the appointment"></textarea>
-                    </div>
+                        <div class="form-group">
+                            <textarea name="memo" class="form-control form-control-sm" placeholder="Any additional information / reason in case you are rejecting the appointment"></textarea>
+                        </div>
 
-                    <div class="form-group">
-                        <button class="btn btn-primary">Submit</button>
-                    </div>
+                        <div class="form-group">
+                            <button class="btn btn-primary">Submit</button>
+                        </div>
+
+                    @else
+
+                        @foreach($appointment->confirmationDecisions as $decision)
+                            <div class="mb-2"><b>{{$decision->accepted_or_rejected}}</b> on <b>{{friendlier_date_time($decision->created_at)}}</b>
+                                @if($decision->session && $decision->session->pro)
+                                    by <b>{{$decision->session->pro->displayName()}}</b>
+                                @elseif($decision->session && $decision->session->client)
+                                    by <b>{{$decision->session->client->displayName()}}</b>
+                                @endif
+                            </div>
+                        @endforeach
+
+                    @endif
 
                 </form>
                 @endif

+ 12 - 2
resources/views/app/patient/appointment-calendar.blade.php

@@ -136,7 +136,7 @@
                         Pro
                     </div>
                     <div class="col-9 font-weight-bold">
-                        <select id="addApptPro" name="proUid" provider-search required
+                        <select id="addApptPro" name="proUid" {{$pro->pro_type !== 'ADMIN' ? '' : 'provider-search'}}
                                 v-model="newAppointment.proUid"
                                 :data-pro-uid="newAppointment.proUid"
                                 no-auto-pro-suggest-init
@@ -252,7 +252,7 @@
                         Pro
                     </div>
                     <div class="col-9 font-weight-bold">
-                        <select id="editApptPro" name="proUid" provider-search required
+                        <select id="editApptPro" name="proUid" provider-search
                                 v-model="editAppointment.proUid"
                                 :data-pro-uid="editAppointment.proUid"
                                 no-auto-pro-suggest-init
@@ -655,6 +655,11 @@
                                  }
                             });
                             this.calendar.render();
+
+                            // ugly fix/hack to force scrollTime option to work
+                            setTimeout(() => {
+                                $('.fc-timeGridWeek-button').click();
+                            }, 750);
                         },
                         afterRenderingEvents: function() {
                             let self = this;
@@ -729,6 +734,11 @@
                             let endTime = this.timeStr(this.selectedSlot.end);
                             this.newAppointment.clientUid = this.client.uid;
                             this.newAppointment.proUid = '';
+                            @if($pro->is_hcp && $pro->is_enrolled_as_mcp)
+                                this.newAppointment.proUid = '{{$pro->uid}}';
+                            @elseif($patient->mcp)
+                                this.newAppointment.proUid = '{{$patient->mcp->uid}}';
+                            @endif
                             this.newAppointment.referringProUid = '';
                             this.newAppointment.date = this.dateStr(this.selectedSlot.start);
                             this.newAppointment.startTime = startTime === '00:00' ? '' : startTime;

+ 11 - 2
resources/views/app/patient/incoming-reports.blade.php

@@ -1,6 +1,6 @@
 @extends ('layouts.patient')
 @section('inner-content')
-    <div>
+    <div id="incoming-reports">
         <div class="d-flex align-items-center pb-2">
             <h4 class="font-weight-bold m-0">Incoming Reports</h4>
             <span class="mx-2 text-secondary">|</span>
@@ -23,7 +23,7 @@
                     </div>
                     <div class="mb-2">
                         <label for="" class="text-sm text-secondary mb-1">Report Date</label>
-                        <input type="date" class="form-control form-control-sm" name="reportDate"
+                        <input type="text" class="form-control form-control-sm stag-dp" name="reportDate"
                                value="" placeholder="Report Date">
                     </div>
                     <div class="mb-2">
@@ -496,5 +496,14 @@
             });
             return false;
         }
+        (function() {
+            function init() {
+                $('#incoming-reports').find('input.stag-dp')
+                    .prop('readonly', true)
+                    .addClass('bg-white')
+                    .datepicker();
+            }
+            addMCInitializer('incoming-reports', init, '#incoming-reports')
+        }).call(window);
     </script>
 @endsection

+ 67 - 59
resources/views/app/patient/note/_create-bill.blade.php

@@ -4,74 +4,82 @@
     <div moe wide class="">
         <a class="" href="" show start>Create Bill</a>
         <form url="/api/bill/createForNote">
-            <input type="hidden" name="noteUid" value="{{$note->uid}}">
-            <div class="mb-2">
-                <label for="" class="text-secondary text-sm">Effective Date</label>
-                <input type="date" name="effectiveDate" class="form-control form-control-sm" value="{{$note->effective_dateest ? $note->effective_dateest : date('Y-m-d')}}" required>
-            </div>
-            <div class="mb-2">
-                @if($noteRates && count($noteRates))
-                    @if(count($noteRates) === 1)
-                        <input type="hidden" name="code" value="{{$noteRates[0]->code}}">
-                        <p class="mb-2">Service: <b>{{ $noteRates[0]->code }} (${{ $noteRates[0]->amount }}/hr)</b></p>
-                    @else
-                        <select autofocus class="form-control" name="code" onchange="switchNumberOfUnitsByType(this)">
-                            <option value="">-- Select Code --</option>
-                            @foreach($noteRates as $noteRate)
-                                <option data-amount="{{ $noteRate->amount }}" value="{{ $noteRate->code }}">
-                                    {{ $noteRate->code }} (${{ $noteRate->amount }}{{ $noteRate->code === 'Treatment Services' ? '/hr' : '' }})
-                                </option>
-                            @endforeach
-                        </select>
+            <?php $maxMinutes = 30; ?>
+            @if($noteRates && count($noteRates))
+                <input type="hidden" name="noteUid" value="{{$note->uid}}">
+                <div class="mb-2">
+                    <label for="" class="text-secondary text-sm">Effective Date</label>
+                    <input type="date" name="effectiveDate" class="form-control form-control-sm" value="{{$note->effective_dateest ? $note->effective_dateest : date('Y-m-d')}}" required>
+                </div>
+                <div class="mb-2">
+                    @if($noteRates && count($noteRates))
+                        @if(count($noteRates) === 1)
+                            <input type="hidden" name="code" value="{{$noteRates[0]->code}}">
+                            <p class="mb-2">Service: <b>{{ $noteRates[0]->code }} (${{ $noteRates[0]->amount }}/hr)</b></p>
+                        @else
+                            <select autofocus class="form-control" name="code" onchange="switchNumberOfUnitsByType(this)">
+                                <option value="">-- Select Code --</option>
+                                @foreach($noteRates as $noteRate)
+                                    <option data-amount="{{ $noteRate->amount }}" value="{{ $noteRate->code }}">
+                                        {{ $noteRate->code }} (${{ $noteRate->amount }}{{ $noteRate->code === 'Treatment Services' ? '/hr' : '' }})
+                                    </option>
+                                @endforeach
+                            </select>
+                        @endif
                     @endif
-                @endif
-            </div>
+                </div>
 
-            <?php
-                $maxMinutes = 120;
-                if($note->new_or_fu_or_na === 'NEW') {
-                    $maxMinutes = 90;
-                }
-                else if($note->new_or_fu_or_na === 'FU') {
-                    if($note->method === 'VIDEO') {
-                        $maxMinutes = 75;
+                <?php
+                    $maxMinutes = 120;
+                    if($note->new_or_fu_or_na === 'NEW') {
+                        $maxMinutes = 90;
                     }
-                    else if($note->method === 'AUDIO') {
-                        $maxMinutes = 60;
+                    else if($note->new_or_fu_or_na === 'FU') {
+                        if($note->method === 'VIDEO') {
+                            $maxMinutes = 75;
+                        }
+                        else if($note->method === 'AUDIO') {
+                            $maxMinutes = 60;
+                        }
                     }
-                }
-            ?>
+                ?>
 
-            @if($noteRates && count($noteRates) && count($noteRates) === 1)
-                @if(strpos(strtolower($noteRates[0]->code), "treatment services") !== FALSE)
-                    <div class="mb-2">
-                        <select name="numberOfUnits" class="form-control form-control-sm"
-                                onchange="calculateBillAmount(this)">
-                            <option value=""> -- select -- </option>
-                            <?php for ($i = 5; $i <= $maxMinutes; $i+=5) { ?>
-                            <option value="{{ $i/60 }}" {{ $i === 30 ? 'selected' : '' }}>{{ $i }} minutes</option>
-                            <?php } ?>
-                        </select>
-                    </div>
-                    <div class="mb-2" calculated-amount></div>
-                @else
-                    <input type="hidden" name="numberOfUnits" value="1">
+                @if($noteRates && count($noteRates) && count($noteRates) === 1)
+                    @if(strpos(strtolower($noteRates[0]->code), "treatment services") !== FALSE)
+                        <div class="mb-2">
+                            <select name="numberOfUnits" class="form-control form-control-sm"
+                                    onchange="calculateBillAmount(this)">
+                                <option value=""> -- select -- </option>
+                                <?php for ($i = 5; $i <= $maxMinutes; $i+=5) { ?>
+                                <option value="{{ $i/60 }}" {{ $i === 30 ? 'selected' : '' }}>{{ $i }} minutes</option>
+                                <?php } ?>
+                            </select>
+                        </div>
+                        <div class="mb-2" calculated-amount></div>
+                    @else
+                        <input type="hidden" name="numberOfUnits" value="1">
+                    @endif
                 @endif
-            @endif
-            <div class="bill-conditional">
+                <div class="bill-conditional">
 
-            </div>
+                </div>
 
-            @if(@$note && $note->hcpPro->id === $pro->id)
-            <div class="my-3">
-                <input type="checkbox" name="signAndMarkBillingDone" checked>&nbsp;Sign and Mark Billing Done
-            </div>
-            @endif
+                @if(@$note && $note->hcpPro->id === $pro->id)
+                <div class="my-3">
+                    <input type="checkbox" name="signAndMarkBillingDone" checked>&nbsp;Sign and Mark Billing Done
+                </div>
+                @endif
 
-            <div class="">
-                <button class="btn btn-primary btn-sm" submit>Submit</button>
-                <button class="btn btn-default border btn-sm" cancel>Cancel</button>
-            </div>
+                <div class="">
+                    <button class="btn btn-primary btn-sm" submit>Submit</button>
+                    <button class="btn btn-default border btn-sm" cancel>Cancel</button>
+                </div>
+            @else
+                <div class="border rounded bg-aliceblue p-2 width-200px">
+                    <i class="fa fa-exclamation-triangle text-warning-mellow mr-1"></i>
+                    Payment rates not yet set for Treatment Services. Please contact admin.
+                </div>
+            @endif
         </form>
         <div class="d-none" hourly-template>
             <div class="mb-2">

+ 96 - 0
resources/views/app/practice-management/bills-under-processing.blade.php

@@ -0,0 +1,96 @@
+@extends ('layouts/template')
+
+@section('content')
+
+    <div class="p-3 mcp-theme-1" id="processing-bill-matrix">
+
+        <div class="card">
+
+            <div class="card-header px-3 py-2">
+                <div class="font-weight-bold text-nowrap mb-2">
+                    <i class="fas fa-user-injured"></i>
+                    Bills Under Processing
+                </div>
+            </div>
+            <div class="card-body p-0">
+                <table class="table table-sm table-condensed table-hover p-0 m-0">
+                    <thead class="bg-light">
+                    <tr>
+                        <th class="border-bottom-0 border-top-0 pl-3">Context</th>
+                        <th class="border-bottom-0 border-top-0">Effective Date</th>
+                        <th class="border-bottom-0 border-top-0">Role</th>
+                        <th class="border-bottom-0 border-top-0">Client</th>
+                        <th class="border-bottom-0 border-top-0">Code</th>
+                        <th class="border-bottom-0 border-top-0">Units</th>
+                        <th class="border-bottom-0 border-top-0">Verified?</th>
+                        <th class="border-bottom-0 border-top-0">Expected Amount</th>
+                    </tr>
+                    </thead>
+                    <tbody>
+                    @foreach ($bills as $row)
+                        <?php
+                        $role = '';
+                        $amount = 0;
+                        if($row->hcp_pro_id === $pro->id) {
+                            $role = 'HCP';
+                            $amount = $row->hcp_expected_payment_amount;
+                        }
+                        elseif($row->cm_pro_id === $pro->id) {
+                            $role = 'CM';
+                            $amount = $row->cm_expected_payment_amount;
+                        }
+                        elseif($row->rme_pro_id === $pro->id) {
+                            $role = 'RME';
+                            $amount = $row->rme_expected_payment_amount;
+                        }
+                        elseif($row->rmm_pro_id === $pro->id) {
+                            $role = 'RMM';
+                            $amount = $row->rmm_expected_payment_amount;
+                        }
+                        elseif($row->generic_pro_id === $pro->id) {
+                            $role = 'GENERIC';
+                            $amount = $row->generic_pro_expected_payment_amount;
+                        }
+                        ?>
+                        <tr>
+                            <td class="pl-3">
+                                @if($row->note)
+                                    <a href="/patients/view/{{ $row->client->uid }}/notes/view/{{ $row->note->uid }}">
+                                        Note Link
+                                    </a>
+                                @elseif($row->client)
+                                    <a href="/patients/view/{{ $row->client->uid }}">
+                                        Chart
+                                    </a>
+                                @else
+                                    Generic
+                                @endif
+                            </td>
+                            <td>{{friendly_date($row->effective_date)}}</td>
+                            <td>{{$role}}</td>
+                            <td>
+                                @if($row->client)
+                                    {{$row->client->name_last}}, {{$row->client->name_first}}
+                                @endif
+                            </td>
+                            <td>{{$row->code}}
+                                @if($row->generic_target_entity_type && $row->generic_target_entity_uid)
+                                    <div class="mt-1 text-sm text-secondary font-weight-bold">{{$row->generic_target_entity_type}}</div>
+                                @endif
+                            </td>
+                            <td>{{str_contains($row->code, 'Treatment Services') || str_contains($row->code, 'Administrative Services') ? ceil((float) $row->number_of_units * 60) . ' mins' : $row->number_of_units}}</td>
+                            <td>{!! $row->is_verified ? 'Yes<br>' . friendly_date($row->marked_verified_at, true) : 'No' !!} </td>
+                            <td>
+                                {{number_format($amount, 2)}}
+                            </td>
+                        </tr>
+                    @endforeach
+                    </tbody>
+                </table>
+            </div>
+        </div>
+        <div class="mt-3">
+            {{$bills->withQueryString()->links()}}
+        </div>
+    </div>
+@endsection

+ 17 - 7
resources/views/app/practice-management/pro-availability.blade.php

@@ -251,7 +251,8 @@
                             </div>
                             <div class="mb-2">
                                 <label for="" class="control-label">Start Date </label>
-                                <input class="form-control" type="date" name="startDate">
+                                <input class="form-control stag-dp" type="text" name="startDate" value="{{date('m/d/Y')}}"
+                                       onchange="$(this).closest('form').find('[name=endDate]').val(this.value)">
                             </div>
                             <div class="mb-2">
                                 <label for="" class="control-label">Start Time </label>
@@ -259,7 +260,7 @@
                             </div>
                             <div class="mb-2">
                                 <label for="" class="control-label">End Date </label>
-                                <input class="form-control" type="date" name="endDate">
+                                <input class="form-control stag-dp" type="text" name="endDate" value="{{date('m/d/Y')}}">
                             </div>
                             <div class="mb-2">
                                 <label for="" class="control-label">End Time </label>
@@ -301,7 +302,7 @@
                                                 </div>
                                                 <div class="mb-2">
                                                     <label for="" class="control-label">Start Date </label>
-                                                    <input class="form-control" type="date" name="startDate" value="{{unfriendly_date($sa->start_time)}}">
+                                                    <input class="form-control stag-dp" type="text" name="startDate" value="{{unfriendly_date($sa->start_time)}}">
                                                 </div>
                                                 <div class="mb-2">
                                                     <label for="" class="control-label">Start Time </label>
@@ -309,7 +310,7 @@
                                                 </div>
                                                 <div class="mb-2">
                                                     <label for="" class="control-label">End Date </label>
-                                                    <input class="form-control" type="date" name="endDate" value="{{unfriendly_date($sa->end_time)}}">
+                                                    <input class="form-control stag-dp" type="text" name="endDate" value="{{unfriendly_date($sa->end_time)}}">
                                                 </div>
                                                 <div class="mb-2">
                                                     <label for="" class="control-label">End Time </label>
@@ -372,7 +373,8 @@
                             </div>
                             <div class="mb-2">
                                 <label for="" class="control-label">Start Date </label>
-                                <input class="form-control" type="date" name="startDate">
+                                <input class="form-control stag-dp" type="text" name="startDate" value="{{date('m/d/Y')}}"
+                                       onchange="$(this).closest('form').find('[name=endDate]').val(this.value)">
                             </div>
                             <div class="mb-2">
                                 <label for="" class="control-label">Start Time </label>
@@ -380,7 +382,7 @@
                             </div>
                             <div class="mb-2">
                                 <label for="" class="control-label">End Date </label>
-                                <input class="form-control" type="date" name="endDate">
+                                <input class="form-control stag-dp" type="text" name="endDate" value="{{date('m/d/Y')}}">
                             </div>
                             <div class="mb-2">
                                 <label for="" class="control-label">End Time </label>
@@ -531,8 +533,16 @@
                 }
             });
             calendar.render();
+
+            $('#pro-availability-container').find('input.stag-dp')
+                .prop('readonly', true)
+                .addClass('bg-white')
+                .datepicker({
+                    minDate: 0,
+                    maxDate: '{{date('m') . '/01/' . (date('Y') + 1)}}'
+                });
         }
-        addMCInitializer('pro-availability-calendar', initAvailabilityCalendar, '#pro-availability-container');
+        addMCInitializer('pro-availability', initAvailabilityCalendar, '#pro-availability-container');
     })();
 </script>
 @endsection

+ 1 - 0
routes/web.php

@@ -76,6 +76,7 @@ Route::middleware('pro.auth')->group(function () {
         Route::get('dashboard', 'PracticeManagementController@dashboard')->name('dashboard');
         Route::get('previous-bills', 'PracticeManagementController@previousBills')->name('previousBills');
         Route::get('financial-transactions', 'PracticeManagementController@financialTransactions')->name('financialTransactions');
+        Route::get('bills-under-processing', 'PracticeManagementController@billsUnderProcessing')->name('bills-under-processing');
         Route::get('pending-bills-to-sign', 'PracticeManagementController@pendingBillsToSign')->name('pendingBillsToSign');
         Route::get('hr', 'PracticeManagementController@hr')->name('hr');
         Route::get('direct-deposit-settings', 'PracticeManagementController@directDepositSettings')->name('directDepositSettings');

+ 2 - 1
yemi.js

@@ -585,7 +585,8 @@ jQuery(document).ready(function () {
         if($(e.target).closest('[moe]').length ||
             $(e.target).closest('#create-shortcut-form').length ||
             $(e.target).is('#create-shortcut-form') ||
-            $(e.target).is('.stag-shortcuts .sc')){
+            $(e.target).is('.stag-shortcuts .sc') ||
+            $(e.target).closest('.ui-datepicker').length) {
             return;
         }
         $('[moe] [url]:not([show])').hide();

Някои файлове не бяха показани, защото твърде много файлове са промени