26 lines
912 B
PHP
26 lines
912 B
PHP
<div>
|
|
Currently assigned: {{ $study->assignedPhysician?->display_name ?? 'None' }}
|
|
@isset($study->assignedPhysician)
|
|
<form action="{{ route('staff.assign.remove', $study->hash) }}" class="inline" method="post">
|
|
@csrf
|
|
@method('DELETE')
|
|
<button class="btn btn-danger btn-xs" type="submit">Remove</button>
|
|
</form>
|
|
@endisset
|
|
</div>
|
|
|
|
<table class="table table-sm">
|
|
@foreach ($rads as $doc)
|
|
<tr>
|
|
<td>{{ $doc->display_name }}</td>
|
|
<td>
|
|
<form action="{{ route('staff.assign.save', $study->hash) }}" class="inline" method="post">
|
|
@csrf
|
|
<input type="hidden" name="rad_id" value="{{ $doc->id }}">
|
|
<button class="btn btn-primary btn-xs" type="submit">Assign</button>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</table>
|