|
@@ -625,8 +625,24 @@
|
|
|
<div class="d-inline-flex align-items-center flex-grow-1">
|
|
|
@if($patient->has_cm_setup_been_performed)
|
|
|
<span class="text-nowrap text-success">
|
|
|
- <i class="fa fa-check"></i>
|
|
|
- <b>Performed</b>
|
|
|
+ @if(0 && $patient->cm_setup_note_id === $note->id)
|
|
|
+ <i class="fa fa-check"></i>
|
|
|
+ <b>Performed on this note</b>
|
|
|
+ @elseif(0 && $patient->cmSetupNote)
|
|
|
+ <i class="fa fa-check"></i>
|
|
|
+ <b>Performed on</b>
|
|
|
+ <span class="d-inline position-relative on-click-menu">
|
|
|
+ <span class="text-primary c-pointer">{{friendly_date($patient->cmSetupNote->effective_dateest)}}</span>
|
|
|
+ <div menu right class="bg-white border">
|
|
|
+ <a native target="_blank"
|
|
|
+ href="<?= route('patients.view.notes.view.dashboard', ['patient' => $patient, 'note' => $patient->cmSetupNote]) ?>"
|
|
|
+ class="px-2 py-1 d-block text-nowrap text-sm">Go to note</a>
|
|
|
+ </div>
|
|
|
+ </span>
|
|
|
+ @else
|
|
|
+ <i class="fa fa-exclamation-triangle text-warning-mellow"></i>
|
|
|
+ <b class="text-warning-mellow">Performed, but CM setup note missing!</b>
|
|
|
+ @endif
|
|
|
</span>
|
|
|
@if($patient->mcp_pro_id === $pro->id || $pro->pro_type === 'ADMIN')
|
|
|
<div moe class="ml-3">
|