|
@@ -6,8 +6,8 @@
|
|
<a start show class="">Add</a>
|
|
<a start show class="">Add</a>
|
|
<form url="/api/handoutClient/create">
|
|
<form url="/api/handoutClient/create">
|
|
<input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
<input type="hidden" name="clientUid" value="{{ $patient->uid }}">
|
|
- @if(request()->input('noteUid'))
|
|
|
|
- <input type="hidden" name="noteUid" value="{{ request()->input('noteUid') }}">
|
|
|
|
|
|
+ @if(@$note)
|
|
|
|
+ <input type="hidden" name="noteUid" value="{{ $note->uid }}">
|
|
@endif
|
|
@endif
|
|
<div class="mb-2">
|
|
<div class="mb-2">
|
|
<select name="handoutUid" class="form-control form-control-sm">
|
|
<select name="handoutUid" class="form-control form-control-sm">
|
|
@@ -37,7 +37,7 @@
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody>
|
|
<tbody>
|
|
- @foreach($patient->handouts() as $handout)
|
|
|
|
|
|
+ @foreach($patient->handouts($note) as $handout)
|
|
<?php $downloadLink = env('APP_URL') . "/guest/handout/{$handout->handout_client_uid}"; ?>
|
|
<?php $downloadLink = env('APP_URL') . "/guest/handout/{$handout->handout_client_uid}"; ?>
|
|
<tr>
|
|
<tr>
|
|
<td>{{$handout->internal_name}}</td>
|
|
<td>{{$handout->internal_name}}</td>
|
|
@@ -47,7 +47,7 @@
|
|
<i class="fa fa-eye mr-2"></i>View
|
|
<i class="fa fa-eye mr-2"></i>View
|
|
</a>
|
|
</a>
|
|
</td>
|
|
</td>
|
|
- <td><b>{{ $downloadLink }}</b></td>
|
|
|
|
|
|
+ <td><b class="click-to-copy">{{ $downloadLink }}</b></td>
|
|
<td>
|
|
<td>
|
|
<div moe="" relative="">
|
|
<div moe="" relative="">
|
|
<a start="" show="" href="#">SMS Link</a>
|
|
<a start="" show="" href="#">SMS Link</a>
|