@php $editing = isset($invoice) @endphp
@php $selected = old('patient_id', ($editing ? $invoice->patient_id : '')) @endphp @foreach($patients as $value => $label) @endforeach