|
@@ -2,10 +2,13 @@
|
|
<?php
|
|
<?php
|
|
/** @var \App\Models\Client $patient */
|
|
/** @var \App\Models\Client $patient */
|
|
?>
|
|
?>
|
|
-<?php $routeName = request()->route()->getName(); ?>
|
|
|
|
|
|
+<?php
|
|
|
|
+$routeName = request()->route()->getName();
|
|
|
|
+$isVisitNote = ($routeName === 'patients.view.notes.view.dashboard' && @$note && !!$note->visitTemplate);
|
|
|
|
+?>
|
|
@section('content')
|
|
@section('content')
|
|
<div class="container-fluid h-100">
|
|
<div class="container-fluid h-100">
|
|
- <div class="main-row h-100 {{ !request()->input('popupmode') ? '' : 'px-0' }} {{$routeName === 'patients.view.notes.view.dashboard' ? 'autohide-leftnav' : ''}}">
|
|
|
|
|
|
+ <div class="main-row h-100 {{ !request()->input('popupmode') ? '' : 'px-0' }} {{$isVisitNote ? 'autohide-leftnav' : ''}}">
|
|
@if(!request()->input('popupmode'))
|
|
@if(!request()->input('popupmode'))
|
|
<nav id="sidebarMenu" class="d-block bg-light sidebar collapse px-0">
|
|
<nav id="sidebarMenu" class="d-block bg-light sidebar collapse px-0">
|
|
<div class="sidebar-sticky pt-3">
|
|
<div class="sidebar-sticky pt-3">
|
|
@@ -263,7 +266,7 @@
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</nav>
|
|
@endif
|
|
@endif
|
|
- <main role="main" class="w-100 {{$routeName === 'patients.view.notes.view.dashboard' ? 'p-0' : ''}}">
|
|
|
|
|
|
+ <main role="main" class="w-100 {{$isVisitNote ? 'p-0' : ''}}">
|
|
@if($pro->is_enrolled_as_mcp && !$patient->mcp)
|
|
@if($pro->is_enrolled_as_mcp && !$patient->mcp)
|
|
<div class="alert alert-info bg-white mt-3 mcp-theme-1 p-3 hide-inside-ticket-popup">
|
|
<div class="alert alert-info bg-white mt-3 mcp-theme-1 p-3 hide-inside-ticket-popup">
|
|
<div class="font-size-16">
|
|
<div class="font-size-16">
|
|
@@ -305,7 +308,7 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
- <div class="card {{$routeName === 'patients.view.notes.view.dashboard' ? 'card m-0 border-0 rounded-0' : 'mt-3'}}" id="patient-header">
|
|
|
|
|
|
+ <div class="card {{$isVisitNote ? 'card m-0 border-0 rounded-0' : 'mt-3'}}" id="patient-header">
|
|
<div class="card-header py-1 hide-inside-ticket-popup">
|
|
<div class="card-header py-1 hide-inside-ticket-popup">
|
|
<?php
|
|
<?php
|
|
$thumbnail = $patient->profile_picture_base64;
|
|
$thumbnail = $patient->profile_picture_base64;
|