Explorar el Código

Claim as MCp condition fix

Vijayakrishnan hace 4 años
padre
commit
efc03ccbec
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      resources/views/layouts/patient.blade.php

+ 1 - 1
resources/views/layouts/patient.blade.php

@@ -566,7 +566,7 @@
                                 @endif
                             </div>
                         @endif
-                        @if($patient->mcp_pro_id !== $pro->id)
+                        @if($patient->mcp_pro_id !== $pro->id && $patient->active_mcp_request_id)
                             {{-- claim client --}}
                             <div moe relative class="ml-2">
                                 <a href="" start show class="btn btn-sm btn-success text-white font-weight-bold small">Claim as MCP</a>