|
@@ -424,6 +424,44 @@
|
|
|
</div>
|
|
|
@endif
|
|
|
|
|
|
+ {{-- additional modules --}}
|
|
|
+ <?php
|
|
|
+ $availableModules = [
|
|
|
+ [
|
|
|
+ "name" => 'Nutrition Rx',
|
|
|
+ "title" => '<img src=\'/img/nutrition-rx.png\'/> Nutrition Rx',
|
|
|
+ "href" => "/nutrition-center/{$note->client->uid}/{$note->uid}",
|
|
|
+ "initer" => "nutrition-center-{$note->id}"
|
|
|
+ ],
|
|
|
+ [
|
|
|
+ "name" => 'Exercise Rx',
|
|
|
+ "title" => '<img src=\'/img/exercise-rx.png\'/> Exercise Rx',
|
|
|
+ "href" => "/exercise-center/{$note->client->uid}/{$note->uid}",
|
|
|
+ "initer" => "exercise-center-{$note->id}"
|
|
|
+ ],
|
|
|
+ [
|
|
|
+ "name" => 'Behavior Rx',
|
|
|
+ "title" => '<img src=\'/img/behavior-rx.png\'/> Behavior Rx',
|
|
|
+ "href" => "/behavior-center/{$note->client->uid}/{$note->uid}",
|
|
|
+ "initer" => "behavior-center-{$note->id}"
|
|
|
+ ],
|
|
|
+ ];
|
|
|
+ ?>
|
|
|
+ <div moe relative class="px-2 border-left screen-only">
|
|
|
+ <a href="#" start show>+ Module</a>
|
|
|
+ <form url="#" right>
|
|
|
+ <p class="font-weight-bold text-secondary">Additional Modules</p>
|
|
|
+ @foreach($availableModules as $module)
|
|
|
+ <a href="{{$module['href']}}"
|
|
|
+ open-in-stag-popup
|
|
|
+ popup-style="medium-large overflow-visible"
|
|
|
+ title="{!! $module['title'] !!}"
|
|
|
+ mc-initer="{{ $module['initer'] }}"
|
|
|
+ class="d-inline-block mr-2 mb-2 width-100px">{!! $module['name'] !!}</a>
|
|
|
+ @endforeach
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+
|
|
|
|
|
|
@if($note->is_signed_by_hcp)
|
|
|
@php
|