|
@@ -498,9 +498,9 @@
|
|
?>
|
|
?>
|
|
</pre>
|
|
</pre>
|
|
</div>--}}
|
|
</div>--}}
|
|
- <div class="text-container border-bottom d-flex align-items-center mcp-theme-1">
|
|
|
|
|
|
+ <div class="text-container border-bottom d-flex align-items-center mcp-theme-1 px-3">
|
|
|
|
|
|
- <div class="mr-auto px-3 py-2">
|
|
|
|
|
|
+ <div class="mr-auto py-2">
|
|
@if($pro->isWorkingOnClient($patient))
|
|
@if($pro->isWorkingOnClient($patient))
|
|
{{-- stop work on client --}}
|
|
{{-- stop work on client --}}
|
|
<div moe>
|
|
<div moe>
|
|
@@ -530,10 +530,15 @@
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
+ @if($patient->active_mcp_request_id)
|
|
|
|
+ <b>This patient has an active MCP request</b>
|
|
|
|
+ @else
|
|
|
|
+ <b>This patient does not have an active MCP request</b>
|
|
|
|
+ @endif
|
|
|
|
+
|
|
@if($pro->isWorkingOnClient($patient))
|
|
@if($pro->isWorkingOnClient($patient))
|
|
- <div class="d-flex align-items-center py-2 px-3">
|
|
|
|
|
|
+ <div class="d-flex align-items-center py-2">
|
|
@if($patient->active_mcp_request_id)
|
|
@if($patient->active_mcp_request_id)
|
|
- <b>This patient has an active MCP request</b>
|
|
|
|
{{-- kill mcp request for client --}}
|
|
{{-- kill mcp request for client --}}
|
|
<div moe relative class="ml-3">
|
|
<div moe relative class="ml-3">
|
|
<a href="" start show class="btn btn-sm btn-danger text-white font-weight-bold small">Kill MCP Request</a>
|
|
<a href="" start show class="btn btn-sm btn-danger text-white font-weight-bold small">Kill MCP Request</a>
|
|
@@ -546,23 +551,8 @@
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
- @if($patient->mcp_pro_id !== $pro->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>
|
|
|
|
- <form url="/api/mcpRequest/claim" class="mcp-theme-1" right>
|
|
|
|
- <input type="hidden" name="clientUid" value="{{$patient->uid}}">
|
|
|
|
- <p>Claim this patient?</p>
|
|
|
|
- <div>
|
|
|
|
- <button submit class="btn btn-sm btn-primary mr-2">Yes</button>
|
|
|
|
- <button cancel class="btn btn-sm btn-default border">Cancel</button>
|
|
|
|
- </div>
|
|
|
|
- </form>
|
|
|
|
- </div>
|
|
|
|
- @endif
|
|
|
|
@else
|
|
@else
|
|
{{-- create mcp request for client --}}
|
|
{{-- create mcp request for client --}}
|
|
- <b>This patient does not have an active MCP request</b>
|
|
|
|
<div moe relative class="ml-3">
|
|
<div moe relative class="ml-3">
|
|
<a href="" start show class="btn btn-sm btn-primary text-white font-weight-bold small">Create MCP Request</a>
|
|
<a href="" start show class="btn btn-sm btn-primary text-white font-weight-bold small">Create MCP Request</a>
|
|
<form url="/api/mcpRequest/createAsPro" class="mcp-theme-1" right>
|
|
<form url="/api/mcpRequest/createAsPro" class="mcp-theme-1" right>
|
|
@@ -576,6 +566,20 @@
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
@endif
|
|
@endif
|
|
|
|
+ @if($patient->mcp_pro_id !== $pro->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>
|
|
|
|
+ <form url="/api/mcpRequest/claim" class="mcp-theme-1" right>
|
|
|
|
+ <input type="hidden" name="clientUid" value="{{$patient->uid}}">
|
|
|
|
+ <p>Claim this patient?</p>
|
|
|
|
+ <div>
|
|
|
|
+ <button submit class="btn btn-sm btn-primary mr-2">Yes</button>
|
|
|
|
+ <button cancel class="btn btn-sm btn-default border">Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
</div>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="card-body">
|
|
{{--<h1 class="h3">@yield('section-title')</h1>--}}
|
|
{{--<h1 class="h3">@yield('section-title')</h1>--}}
|