@includeIf('repair::device_model.partials.vehicle_model_image_cards', [
'device_models_list' => $device_models_list ?? collect(),
'selected_model_id' => $appointment->device_model_id,
'mode' => 'appointment',
])
{!! Form::label('apt_vehicle_no', __('repair::lang.serial_no') . ':*') !!}
{!! Form::text('vehicle_no', $appointment->vehicle_no, ['id' => 'apt_vehicle_no', 'class' => 'form-control', 'required', 'style' => 'text-transform:uppercase;']) !!}
{!! Form::label('apt_customer_name', __('contact.name') . ':*') !!}
{!! Form::text('customer_name', $appointment->customer_name, ['id' => 'apt_customer_name', 'class' => 'form-control', 'required']) !!}
{!! Form::label('apt_customer_mobile', __('lang_v1.mobile_number') . ':*') !!}
{!! Form::text('customer_mobile', $appointment->customer_mobile, ['id' => 'apt_customer_mobile', 'class' => 'form-control', 'required']) !!}
{!! Form::label('apt_customer_email', __('business.email') . ':') !!}
{!! Form::email('customer_email', $appointment->customer_email, ['id' => 'apt_customer_email', 'class' => 'form-control']) !!}
{!! Form::label('apt_vehicle_make_model', __('repair::lang.vehicle_make_model') . ':') !!}
{!! Form::text('vehicle_make_model', $appointment->vehicle_make_model, ['id' => 'apt_vehicle_make_model', 'class' => 'form-control', 'placeholder' => 'e.g. Toyota Aqua']) !!}
{!! Form::label('apt_location_id', __('business.business_location') . ':') !!}
{!! Form::select('location_id', $business_locations, $appointment->location_id, ['id' => 'apt_location_id', 'class' => 'form-control']) !!}
{!! Form::label('apt_appointment_date', __('repair::lang.preferred_date') . ':*') !!}
{!! Form::date('appointment_date', $aptDate, [
'id' => 'apt_appointment_date',
'class' => 'form-control',
'required',
'data-availability-url' => route('repair.public.check_availability'),
'data-business-id' => $business_id,
'data-current-date' => $aptDate,
'data-current-slot' => $appointment->time_slot ?? ''
]) !!}
{!! Form::label('apt_time_slot', __('repair::lang.preferred_time_slot') . ':') !!}
{!! Form::label('service_type', __('repair::lang.service_type') . ':') !!}
{!! Form::label('status', __('sale.status') . ':*') !!}
{!! Form::label('admin_notes', __('repair::lang.admin_notes') . ':') !!}
{!! Form::text('admin_notes', $appointment->admin_notes, ['class' => 'form-control']) !!}
{!! Form::label('problem_description', __('repair::lang.problem_or_service_notes') . ':') !!}
{!! Form::textarea('problem_description', $appointment->problem_description, ['class' => 'form-control', 'rows' => 2]) !!}