Forráskód Böngészése

Claim as MCp condition fix

Vijayakrishnan 4 éve
szülő
commit
efc03ccbec
1 módosított fájl, 1 hozzáadás és 1 törlés
  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>