Bläddra i källkod

updated from server

root 3 år sedan
förälder
incheckning
ab63c2b3b6

+ 2 - 2
resources/views/app/generic-bills/add-bill-form/_default-script.blade.php

@@ -15,7 +15,7 @@
 
                 // max num units to limit at $15
                 if ($(_trigger).attr('data-entity-type') === 'Note') {
-                    let maxNABillableAmount = 15,
+                    let maxNABillableAmount = 30,
                         amountPer5Minutes = selectedGenericRate / 12,
                         maxNumberOf5Minutes = Math.ceil(maxNABillableAmount / amountPer5Minutes),
                         maxHours = (maxNumberOf5Minutes * 5) / 60,
@@ -76,4 +76,4 @@
         }
         addMCInitializer('init-generic-add-bill', init);
     }).call(window);
-</script>
+</script>

+ 1 - 1
resources/views/app/patient/settings.blade.php

@@ -997,7 +997,7 @@
 
                 <hr class="m-negator-3 my-3">
                 <span>MCP: <b>{{ $patient->mcp ? $patient->mcp->displayName() : '-' }}</b></span>
-                @if($pro->pro_type == 'ADMIN')
+                @if($pro->pro_type == 'ADMIN' || $pro->id == $patient->default_na_pro_id)
                     <div moe class="ml-2">
                         <a start show><i class="fa fa-edit"></i></a>
                         <form url="/api/client/putMcp" class="mcp-theme-1">

+ 1 - 1
resources/views/layouts/patient.blade.php

@@ -246,7 +246,7 @@ $isOldClient = (date_diff(date_create(config('app.point_impl_date')), date_creat
 						<li class="nav-item">
 							<a class="nav-link" href="/patients/view/{{ $patient->uid }}/intake">Intake</a>
 						</li>
-						@if($performer->pro->pro_type == 'ADMIN')
+						@if($performer->pro->pro_type == 'ADMIN' || $performer->pro->id == $patient->default_na_pro_id)
 						<li class="nav-item">
 							<a class="nav-link {{ strpos($routeName, 'patients.view.mcp-requests') === 0 ? 'active' : '' }}"
 							   href="{{ route('patients.view.mcp-requests', $patient) }}">MCP Requests</a>

+ 3 - 3
routes/web.php

@@ -345,7 +345,7 @@ Route::middleware('pro.auth')->group(function () {
 
     });
 
-    Route::middleware('pro.auth.admin')->group(function () {
+    // Route::middleware('pro.auth.admin')->group(function () {
         Route::get('patients/view/mcp-requests/{patient?}', 'PatientController@mcpRequests')->name('patients.view.mcp-requests');
         Route::get('patients/view/eligible-refreshes/{patient}', 'PatientController@eligibleRefreshes')->name('patients.view.eligible-refreshes');
         Route::get('patients/view/insurance-coverage/{patient}', 'PatientController@insuranceCoverage')->name('patients.view.insurance-coverage');
@@ -353,7 +353,7 @@ Route::middleware('pro.auth')->group(function () {
         Route::get('patients/view/primary-coverage/{patient}', 'PatientController@primaryCoverage')->name('patients.view.primary-coverage');
         Route::get('patients/view/primary-coverage-form/{patient}', 'PatientController@primaryCoverageForm')->name('patients.view.primary-coverage-form');
         Route::get('patients/view/primary-coverage-manual-determination-modal/{patient}', 'PatientController@primaryCoverageManualDeterminationModal')->name('patients.view.primary-coverage-manual-determination-modal');
-    });
+    // });
 
     Route::name('patients.view.')->prefix('patients/view/{patient}')->group(function () {
 
@@ -596,4 +596,4 @@ Route::get("/get-default-section-data/{patientID}/{sectionTemplateID}", 'NoteCon
 
 Route::get("/get-segment-html/{segmentUid}/{sessionKey}", 'NoteController@getHtmlForSegment')->name('get_segment_html');
 
-Route::any("/nop", 'HomeController@nop')->name('nop');
+Route::any("/nop", 'HomeController@nop')->name('nop');