|
@@ -1510,37 +1510,152 @@
|
|
|
{{$claim->currentVersion ? friendlier_date_time($claim->currentVersion->created_at) : '-'}}
|
|
|
</td>
|
|
|
<td class="border-right">
|
|
|
- @if($claim->status)
|
|
|
+ <div>
|
|
|
<div>
|
|
|
- <div>{{$claim->status}}</div>
|
|
|
- @if($claim->status_memo)
|
|
|
- <div class="text-secondary font-italic text-sm">{{$claim->status_memo}}</div>
|
|
|
- @endif
|
|
|
+ {{$claim->status ? $claim->status : '(not set)'}}
|
|
|
+ <span moe class="d-inline-block text-left ml-1" title="Update Status">
|
|
|
+ <a class="" href="" show start><i class="fa fa-edit"></i></a>
|
|
|
+ <form url="/api/claim/updateStatus">
|
|
|
+ <input type="hidden" name="uid" value="{{$claim->uid}}">
|
|
|
+ <div class="mb-2">
|
|
|
+ <label for="" class="control-label">Status</label>
|
|
|
+ <select name="status" class="form-control form-control-sm" required>
|
|
|
+ <option value="">-- select --</option>
|
|
|
+ <option value="NEW" {{$claim->status === 'NEW' ? 'selected' : ''}}>New</option>
|
|
|
+ <option value="PROCESSING" {{$claim->status === 'PROCESSING' ? 'selected' : ''}}>Processing</option>
|
|
|
+ <option value="SUBMITTED" {{$claim->status === 'SUBMITTED' ? 'selected' : ''}}>Submitted</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <div class="mb-2">
|
|
|
+ <label for="" class="control-label">Status Memo</label>
|
|
|
+ <textarea name="memo" class="form-control"></textarea>
|
|
|
+ </div>
|
|
|
+ <div class="mb-0">
|
|
|
+ <button class="btn btn-primary btn-sm" submit>Submit</button>
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </span>
|
|
|
</div>
|
|
|
- @endif
|
|
|
- <span moe class="d-inline-block text-left" title="Update Status">
|
|
|
- <a class="" href="" show start>Update Status</a>
|
|
|
- <form url="/api/claim/updateStatus">
|
|
|
- <input type="hidden" name="uid" value="{{$claim->uid}}">
|
|
|
- <div class="mb-2">
|
|
|
- <label for="" class="control-label">Status</label>
|
|
|
- <select name="status" class="form-control form-control-sm" required>
|
|
|
- <option value="">-- select --</option>
|
|
|
- <option value="NEW" {{$claim->status === 'NEW' ? 'selected' : ''}}>New</option>
|
|
|
- <option value="PROCESSING" {{$claim->status === 'PROCESSING' ? 'selected' : ''}}>Processing</option>
|
|
|
- <option value="SUBMITTED" {{$claim->status === 'SUBMITTED' ? 'selected' : ''}}>Submitted</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- <div class="mb-2">
|
|
|
- <label for="" class="control-label">Status Memo</label>
|
|
|
- <textarea name="memo" class="form-control"></textarea>
|
|
|
- </div>
|
|
|
- <div class="mb-0">
|
|
|
- <button class="btn btn-primary btn-sm" submit>Submit</button>
|
|
|
- <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </span>
|
|
|
+ @if($claim->status_memo)
|
|
|
+ <div class="text-secondary font-italic text-sm">{{$claim->status_memo}}</div>
|
|
|
+ @endif
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <hr class="my-1">
|
|
|
+ <div class="mt-1">
|
|
|
+ <span class="text-secondary">Payer: </span>
|
|
|
+ <b>{{$claim->primaryPayer ? $claim->primaryPayer->name : '-'}}</b>
|
|
|
+ <span moe class="ml-1">
|
|
|
+ <a class="text-primary" href="" show start><i class="fa fa-edit"></i></a>
|
|
|
+ <form url="/api/claim/putPrimaryPayer">
|
|
|
+ <input type="hidden" name="uid" value="{{$claim->uid}}">
|
|
|
+ <div class="mb-2">
|
|
|
+ <select name="primaryPayerUid" class="form-control form-control-sm">
|
|
|
+ <option value="">-- select --</option>
|
|
|
+ @foreach($note->hcpPro->companyProPayers as $companyProPayer)
|
|
|
+ <option value="{{$companyProPayer->payer->uid}}"
|
|
|
+ {{$claim->primaryPayer && $claim->primaryPayer->uid === $companyProPayer->payer->uid ? 'selected' : ''}}>{{$companyProPayer->payer->name}}</option>
|
|
|
+ @endforeach
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <div class="mb-0">
|
|
|
+ <button class="btn btn-primary btn-sm" submit>Submit</button>
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </span>
|
|
|
+ @if($claim->primaryPayer)
|
|
|
+ <span moe class="ml-1">
|
|
|
+ <a class="text-danger" href="" show start><i class="fa fa-trash-alt"></i></a>
|
|
|
+ <form url="/api/claim/wipePrimaryPayer">
|
|
|
+ <input type="hidden" name="uid" value="{{$claim->uid}}">
|
|
|
+ <p>Wipe payer from this claim?</p>
|
|
|
+ <div class="mb-0">
|
|
|
+ <button class="btn btn-primary btn-sm" submit>Submit</button>
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </span>
|
|
|
+ @endif
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="mt-1">
|
|
|
+ <span class="text-secondary">Company: </span>
|
|
|
+ <b>{{$claim->companyPro && $claim->companyPro->company ? $claim->companyPro->company->name : '-'}}</b>
|
|
|
+ <span moe class="ml-1">
|
|
|
+ <a class="text-primary" href="" show start><i class="fa fa-edit"></i></a>
|
|
|
+ <form url="/api/claim/putCompanyPro">
|
|
|
+ <input type="hidden" name="uid" value="{{$claim->uid}}">
|
|
|
+ <div class="mb-2">
|
|
|
+ <select name="companyProUid" class="form-control form-control-sm">
|
|
|
+ <option value="">-- select --</option>
|
|
|
+ @foreach($note->hcpPro->companyProPayers as $companyProPayer)
|
|
|
+ <option value="{{$companyProPayer->companyPro->uid}}"
|
|
|
+ {{$claim->companyPro && $claim->companyPro->uid === $companyProPayer->companyPro->uid ? 'selected' : ''}}>{{$companyProPayer->company->name}}</option>
|
|
|
+ @endforeach
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <div class="mb-0">
|
|
|
+ <button class="btn btn-primary btn-sm" submit>Submit</button>
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </span>
|
|
|
+ @if($claim->companyPro && $claim->companyPro->company)
|
|
|
+ <span moe class="ml-1">
|
|
|
+ <a class="text-danger" href="" show start><i class="fa fa-trash-alt"></i></a>
|
|
|
+ <form url="/api/claim/wipeCompanyPro">
|
|
|
+ <input type="hidden" name="uid" value="{{$claim->uid}}">
|
|
|
+ <p>Wipe company from this claim?</p>
|
|
|
+ <div class="mb-0">
|
|
|
+ <button class="btn btn-primary btn-sm" submit>Submit</button>
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </span>
|
|
|
+ @endif
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="mt-1">
|
|
|
+ <span class="text-secondary">Location: </span>
|
|
|
+ <b>{{$claim->companyLocation ? $claim->companyLocation->line1 . ', ' . $claim->companyLocation->city : '-'}}</b>
|
|
|
+ <span moe class="ml-1">
|
|
|
+ <a class="text-primary" href="" show start><i class="fa fa-edit"></i></a>
|
|
|
+ <form url="/api/claim/putCompanyLocation">
|
|
|
+ <input type="hidden" name="uid" value="{{$claim->uid}}">
|
|
|
+ <div class="mb-2">
|
|
|
+ <select name="companyLocationUid" class="form-control form-control-sm">
|
|
|
+ <option value="">-- select --</option>
|
|
|
+ @foreach($claim->company->locations as $location)
|
|
|
+ <option value="{{$location->uid}}"
|
|
|
+ {{$claim->companyLocation && $claim->companyLocation->uid === $location->uid ? 'selected' : ''}}>
|
|
|
+ {{$location->line1 . ', ' . $location->city}}
|
|
|
+ </option>
|
|
|
+ @endforeach
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <div class="mb-0">
|
|
|
+ <button class="btn btn-success btn-sm" submit>Submit</button>
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </span>
|
|
|
+ @if($claim->companyLocation)
|
|
|
+ <span moe class="ml-1">
|
|
|
+ <a class="text-danger" href="" show start><i class="fa fa-trash-alt"></i></a>
|
|
|
+ <form url="/api/claim/wipeCompanyLocation">
|
|
|
+ <input type="hidden" name="uid" value="{{$claim->uid}}">
|
|
|
+ <p>Wipe location from this claim?</p>
|
|
|
+ <div class="mb-0">
|
|
|
+ <button class="btn btn-primary btn-sm" submit>Submit</button>
|
|
|
+ <button class="btn btn-default border btn-sm" cancel>Cancel</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </span>
|
|
|
+ @endif
|
|
|
+ </div>
|
|
|
+
|
|
|
</td>
|
|
|
<td>
|
|
|
<div>
|