|
@@ -492,51 +492,26 @@
|
|
</div>
|
|
</div>
|
|
</div></div> <!-- z -->
|
|
</div></div> <!-- z -->
|
|
</div>
|
|
</div>
|
|
- {{--<div>
|
|
|
|
- <pre>
|
|
|
|
- <?php
|
|
|
|
- dump($patient->activeMcpRequest ? $patient->activeMcpRequest->toArray() : 'null');
|
|
|
|
- ?>
|
|
|
|
- </pre>
|
|
|
|
- <pre>
|
|
|
|
- patient->active_mcp_request_id:
|
|
|
|
- <?php
|
|
|
|
- dump($patient->active_mcp_request_id);
|
|
|
|
- ?>
|
|
|
|
- </pre>
|
|
|
|
- <pre>
|
|
|
|
- pro->last_mcp_request_id:
|
|
|
|
- <?php
|
|
|
|
- dump($pro->last_mcp_request_id);
|
|
|
|
- ?>
|
|
|
|
- </pre>
|
|
|
|
- </div>--}}
|
|
|
|
<div class="text-container border-bottom d-flex align-items-center mcp-theme-1 px-3">
|
|
<div class="text-container border-bottom d-flex align-items-center mcp-theme-1 px-3">
|
|
|
|
|
|
<div class="mr-auto 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>
|
|
- <a href="" start show class="btn btn-sm btn-danger text-white font-weight-bold small">Stop working on this client</a>
|
|
|
|
- <form url="/api/proClientWork/KillRunningWorkForSelf" class="mcp-theme-1">
|
|
|
|
|
|
+ <form url="/api/proClientWork/KillRunningWorkForSelf" class="mcp-theme-1" show>
|
|
<input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
<input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
- <p>Stop working on this patient?</p>
|
|
|
|
<div>
|
|
<div>
|
|
- <button submit class="btn btn-sm btn-primary mr-2">Yes</button>
|
|
|
|
- <button cancel class="btn btn-sm btn-default border">Cancel</button>
|
|
|
|
|
|
+ <button submit class="btn btn-sm btn-danger text-white font-weight-bold small">Stop working on this client</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
@else
|
|
@else
|
|
{{-- start work on client --}}
|
|
{{-- start work on client --}}
|
|
<div moe>
|
|
<div moe>
|
|
- <a href="" start show class="btn btn-sm btn-primary text-white font-weight-bold small">Start working on this client</a>
|
|
|
|
- <form url="/api/proClientWork/create" class="mcp-theme-1">
|
|
|
|
|
|
+ <form url="/api/proClientWork/create" class="mcp-theme-1" show>
|
|
<input type="hidden" name="clientUid" value="{{$patient->uid}}">
|
|
<input type="hidden" name="clientUid" value="{{$patient->uid}}">
|
|
- <p>Start working on this patient?</p>
|
|
|
|
<div>
|
|
<div>
|
|
- <button submit class="btn btn-sm btn-primary mr-2">Yes</button>
|
|
|
|
- <button cancel class="btn btn-sm btn-default border">Cancel</button>
|
|
|
|
|
|
+ <button submit class="btn btn-sm btn-primary text-white font-weight-bold small">Start working on this client</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
</div>
|
|
</div>
|