|
@@ -22,6 +22,10 @@
|
|
|
@endforeach
|
|
|
</select>
|
|
|
</div>
|
|
|
+ <div class="mb-2">
|
|
|
+ <label for="" class="control-label">Date Referred</label>
|
|
|
+ <input type="date" name="dateReferred" class="form-control">
|
|
|
+ </div>
|
|
|
<div>
|
|
|
<button submit class="btn btn-sm btn-primary mr-2">Submit</button>
|
|
|
<button cancel class="btn btn-sm btn-default border">Cancel</button>
|
|
@@ -36,6 +40,7 @@
|
|
|
<th class="text-secondary border-0">Created At</th>
|
|
|
<th class="text-secondary border-0">Name</th>
|
|
|
<th class="text-secondary border-0">Is Active?</th>
|
|
|
+ <th class="text-secondary border-0">Date Referred</th>
|
|
|
<th class="text-secondary border-0">Status</th>
|
|
|
<th class="text-secondary border-0">Documents</th>
|
|
|
</tr>
|
|
@@ -46,8 +51,28 @@
|
|
|
<td>{{ friendlier_date_time($linkedCompany->created_at) }}</td>
|
|
|
<td>{{$linkedCompany->company->name}}</td>
|
|
|
<td>{{ $linkedCompany->is_active? 'Yes': 'No' }}</td>
|
|
|
+ <td>
|
|
|
+ {{ friendlier_date($linkedCompany->date_referred) }}
|
|
|
+ <span moe class="ml-1" relative>
|
|
|
+ <a class="" href="" show start><i class="fa fa-edit"></i></a>
|
|
|
+ <form url="/api/companyClient/updateDateReferred" right>
|
|
|
+ <input type="hidden" name="uid" value="{{$linkedCompany->uid}}">
|
|
|
+ <div class="m-2">
|
|
|
+ <label for="" class="control-label">Date Referred</label>
|
|
|
+ <input type="date" name="dateReferred" value="{{$linkedCompany->date_referred}}" class="form-control">
|
|
|
+ </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>
|
|
|
+ </td>
|
|
|
<td>
|
|
|
{{ isset($companyClientStatusMap[$linkedCompany->status])? $companyClientStatusMap[$linkedCompany->status] : '' }}
|
|
|
+ @if($linkedCompany->status_memo)
|
|
|
+ - {{$linkedCompany->status_memo}}
|
|
|
+ @endif
|
|
|
<span moe class="ml-1" relative>
|
|
|
<a class="" href="" show start><i class="fa fa-edit"></i></a>
|
|
|
<form url="/api/companyClient/update-status" right>
|
|
@@ -69,6 +94,9 @@
|
|
|
<option {{$linkedCompany->status == 'IN_LAB_STUDY' ? 'selected': ''}} value="IN_LAB_STUDY">In Lab Study<option/>
|
|
|
<option {{$linkedCompany->status == 'UNRESPONSIVE' ? 'selected': ''}} value="UNRESPONSIVE">Unresponsive<option/>
|
|
|
</select>
|
|
|
+ <div class="m-2">
|
|
|
+ <textarea name="memo">{{$linkedCompany->status_memo}}</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>
|