<form class="row g-3 auto-width" action="{{ route('appointment-doctor-shifts.update', $shift->id) }}" method="post" enctype='multipart/form-data'>
    @csrf
    @method('patch')
    <div class="col-md-6">
        <label for="patient_quantity" class="form-label">Patient Quantity <span
                class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control" id="patient_quantity" name="patient_quantity"
            aria-describedby="inputGroupPrepend" value="{{$shift->patient_quantity??''}}" required>
        <span class="text-danger error_patient_quantity" style="display:none;">This field is required.</span>
    </div>
    <div class="col-md-6">
        <label for="patient_quantity" class="form-label">Start Serial <span
                class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control" id="serial_start" name="serial_start"
            aria-describedby="inputGroupPrepend" value="{{$shift->serial_start??''}}" required>
        <span class="text-danger error_serial_start" style="display:none;">This field is required.</span>
    </div>
    <div class="col-md-6">
        <label for="time_from" class="form-label">Time from </label>
        <input type="time" class="form-control datepicker" id="time_from" name="time_from" value="{{$shift->time_from??''}}">
        <span class="text-danger error_time_from" style="display: none;">This field is required.</span>
    </div>
    <div class="col-md-6">
        <label for="time_to" class="form-label">Time to </label>
        <input type="time" class="form-control datepicker" id="time_to" name="time_to" value="{{$shift->time_to??''}}">
        <span class="text-danger error_time_to" style="display: none;">This field is required.</span>
    </div>
</form>
