Ver Fonte

Open up CCM actions to ADMINs

Vijayakrishnan há 3 anos atrás
pai
commit
1b250e7e21
1 ficheiros alterados com 4 adições e 4 exclusões
  1. 4 4
      resources/views/app/patient/note/dashboard.blade.php

+ 4 - 4
resources/views/app/patient/note/dashboard.blade.php

@@ -590,7 +590,7 @@
                                     <i class="fa fa-times"></i>
                                     <b>Not Enrolled</b>
                                 </span>
-                                @if($patient->mcp_pro_id === $pro->id)
+                                @if($patient->mcp_pro_id === $pro->id || $pro->pro_type === 'ADMIN')
                                     <a native target="_blank"
                                        class="screen-only ml-3"
                                        open-in-stag-popup
@@ -613,7 +613,7 @@
                                     <i class="fa fa-check"></i>
                                     <b>Performed</b>
                                 </span>
-                                @if($patient->mcp_pro_id === $pro->id)
+                                @if($patient->mcp_pro_id === $pro->id || $pro->pro_type === 'ADMIN')
                                     <div moe class="ml-3">
                                         <a href="" show start>Undo</a>
                                         <form url="/api/note/undoMarkCmSetupPerformed" target='[data-non-segment-section="CM Setup"]'>
@@ -631,9 +631,9 @@
                                     <i class="fa fa-times"></i>
                                     <b>Not Performed</b>
                                 </span>
-                                @if($patient->mcp_pro_id === $pro->id)
+                                @if($patient->mcp_pro_id === $pro->id || $pro->pro_type === 'ADMIN')
                                     <div moe class="ml-3">
-                                        <a href="" show start>Mark Performed</a>
+                                        <a href="#" show start>Mark Performed</a>
                                         <form url="/api/note/markCmSetupPerformed" target='[data-non-segment-section="CM Setup"]'>
                                             <input type="hidden" name="uid" value="{{$note->uid}}">
                                             <p>Mark CCM Setup as performed?</p>