@php
$estimate = $estimate ?? null;
$isEdit = !empty($estimate);
$slots = $slots ?? [];
@endphp
Slot (optional)
@error('slot_id')
{{ $message }}
@enderror
Status
Customer
Vehicle
@include('garage.partials.vehicle-select-field', ['vehicleFieldName' => 'vehicle_id'])
@include('garage.partials.meter-reading-fields', [
'meterValue' => old('meter_reading', $estimate->meter_reading ?? null),
'nextMeterValue' => old('next_meter_reading', $estimate->next_meter_reading ?? null),
'nextDateValue' => old('next_service_date', $estimate->next_service_date ?? null),
'meterId' => 'estMeterReading',
'nextMeterId' => 'estNextMeterReading',
'nextDateId' => 'estNextServiceDate',
'hintId' => 'estMeterHint',
'rowId' => 'estMeterReadingRow',
'colClass' => 'col-12 col-sm-6 col-lg-3',
'hidden' => false,
])