|
@@ -695,6 +695,51 @@
|
|
|
|
|
|
|
|
|
|
@if($pro->pro_type == 'ADMIN')
|
|
@if($pro->pro_type == 'ADMIN')
|
|
|
|
+
|
|
|
|
+ @if($patient->mcp)
|
|
|
|
+ <hr class="m-negator-3 mt-3">
|
|
|
|
+ <div>
|
|
|
|
+ <span>Default MCP Company Pro:
|
|
|
|
+ <b>{{$patient->default_mcp_company_pro_id? $patient->defaultMcpCompanyPro->company->name . ' / ' . $patient->defaultMcpCompanyPro->pro->displayName():'No'}}</b>
|
|
|
|
+ </span>
|
|
|
|
+ @if($patient->default_mcp_company_pro_id)
|
|
|
|
+ <div moe bottom relative class="ml-1">
|
|
|
|
+ <a start show><i class="fa fa-times text-danger"></i></a>
|
|
|
|
+ <form url="/api/client/wipeDefaultMcpCompanyPro"
|
|
|
|
+ class="mcp-theme-1 min-width-200px" right>
|
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
+ <p>Remove default MCP company pro?</p>
|
|
|
|
+ <div>
|
|
|
|
+ <button submit class="btn btn-sm btn-primary mr-1">Submit</button>
|
|
|
|
+ <button cancel class="btn btn-sm btn-default border">Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
|
|
+ @else
|
|
|
|
+ <div moe bottom relative class="ml-2">
|
|
|
|
+ <a start show>Edit</a>
|
|
|
|
+ <form url="/api/client/putDefaultMcpCompanyPro"
|
|
|
|
+ class="mcp-theme-1 min-width-200px">
|
|
|
|
+ <input type="hidden" name="uid" value="{{$patient->uid}}">
|
|
|
|
+ <div class="mb-2">
|
|
|
|
+ <label class="text-sm text-secondary mb-1">Payer</label>
|
|
|
|
+ <select name="defaultMcpCompanyProUid" class="form-control form-control-sm">
|
|
|
|
+ <option value="">-- select --</option>
|
|
|
|
+ @foreach($patient->mcp->companyPros as $companyPro)
|
|
|
|
+ <option value="{{$companyPro->uid}}">{{$companyPro->company->name}}</option>
|
|
|
|
+ @endforeach
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
|
|
+ <button submit class="btn btn-sm btn-primary mr-1">Submit</button>
|
|
|
|
+ <button cancel class="btn btn-sm btn-default border">Cancel</button>
|
|
|
|
+ </div>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
|
|
+ </div>
|
|
|
|
+ @endif
|
|
|
|
+
|
|
<hr class="m-negator-3 mt-3">
|
|
<hr class="m-negator-3 mt-3">
|
|
<div>
|
|
<div>
|
|
<div class="d-flex mb-2 align-items-center">
|
|
<div class="d-flex mb-2 align-items-center">
|