|
@@ -410,6 +410,36 @@ use App\Models\Handout;
|
|
|
@endif
|
|
|
</div>
|
|
|
</div>
|
|
|
+ @elseif(!$note->is_signed_by_hcp && ($note->hcp_pro_id === $pro->id || $note->ally_pro_id === $pro->id))
|
|
|
+ <div class="d-block position-relative on-click-menu mr-2">
|
|
|
+ <span class="text-sm text-primary c-pointer border px-2 p-1 rounded bg-white">
|
|
|
+ <i class="fa fa-ellipsis-h"></i>
|
|
|
+ </span>
|
|
|
+ <div menu left class="bg-white border">
|
|
|
+ <a native target="_blank" href="#" class="pl-2 pr-3 pt-1 d-block text-nowrap text-sm"
|
|
|
+ onclick="$(this).closest('.on-click-menu').find('[menu]').hide(); $('#note-edit-title>a:first').trigger('click'); return false;">
|
|
|
+ Edit Title
|
|
|
+ </a>
|
|
|
+ <a native target="_blank" href="#" class="pl-2 pr-3 pt-1 d-block text-nowrap text-sm"
|
|
|
+ onclick="$(this).closest('.on-click-menu').find('[menu]').hide(); $('#note-edit-date>a:first').trigger('click'); return false;">
|
|
|
+ Edit Date
|
|
|
+ </a>
|
|
|
+ <a native target="_blank" href="#" class="pl-2 pr-3 pt-1 d-block text-nowrap text-sm"
|
|
|
+ onclick="$(this).closest('.on-click-menu').find('[menu]').hide(); $('#note-edit-type>a:first').trigger('click'); return false;">
|
|
|
+ Edit Type
|
|
|
+ </a>
|
|
|
+ <a native target="_blank" href="#" class="pl-2 pr-3 pt-1 d-block text-nowrap text-sm"
|
|
|
+ onclick="$(this).closest('.on-click-menu').find('[menu]').hide(); $('#note-edit-method>a:first').trigger('click'); return false;">
|
|
|
+ Edit Method
|
|
|
+ </a>
|
|
|
+ @if($note->hcp_pro_id === $pro->id && $note->visitTemplate && $note->visitTemplate->internal_name == 'omega_soap_visit')
|
|
|
+ <a native target="_blank" href="#" class="pl-2 pr-3 py-1 d-block text-nowrap text-sm"
|
|
|
+ onclick="$(this).closest('.on-click-menu').find('[menu]').hide(); $('#note-clone>a:first').trigger('click'); return false;">
|
|
|
+ Clone
|
|
|
+ </a>
|
|
|
+ @endif
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
@endif
|
|
|
|
|
|
<div class="px-2 border-left screen-only">
|