Load from
Optional — loads customer, vehicle & lines
@error('repair_order_id')
{{ $message }}
@enderror
@include('garage.work-orders.partials.job-card-linked-order-info', [
'linkedRepairOrder' => $linkedRepairOrder ?? null,
'inFormRow' => true,
])
Customer
@error('customer_ledger_id')
{{ $message }}
@enderror
Vehicle
@error('vehicle_id')
{{ $message }}
@enderror
@include('garage.partials.meter-reading-fields', [
'meterValue' => old('meter_reading', $wo->meter_reading ?? null),
'nextMeterValue' => old('next_meter_reading', $wo->next_meter_reading ?? null),
'nextDateValue' => old('next_service_date', $wo->next_service_date ?? null),
'meterId' => 'jcMeterReading',
'nextMeterId' => 'jcNextMeterReading',
'nextDateId' => 'jcNextServiceDate',
'hintId' => 'jcMeterHint',
'rowId' => 'jcMeterReadingRow',
'colClass' => 'col-6 col-lg-2',
'showRequiredMarks' => false,
])
@if($isEdit)
Estimate
@endif
Priority
Status
Disc. type
@if(!empty($warehouseCtx['warehouses']) && count($warehouseCtx['warehouses']))
@include('garage.partials.warehouse-location-fields', [
'fieldPrefix' => $warehouseFieldPrefix ?? 'jcWh',
'warehouses' => $warehouseCtx['warehouses'],
'sectionsByWarehouse' => $warehouseCtx['sectionsByWarehouse'],
'defaultWarehouseId' => ($warehouseCtx['applyDefaults'] ?? false) ? ($warehouseCtx['defaultWarehouseId'] ?? null) : ($warehouseCtx['defaultWarehouseId'] ?? null),
'defaultSectionId' => ($warehouseCtx['applyDefaults'] ?? false) ? ($warehouseCtx['defaultSectionId'] ?? null) : ($warehouseCtx['defaultSectionId'] ?? null),
'applyDefaults' => $warehouseCtx['applyDefaults'] ?? false,
'useBootstrap' => false,
'gridClass' => 'row g-2 mb-1 grg-wh-location gs-ro-fields-row',
'colClass' => 'col-12 col-md-6',
'labelClass' => 'gpo-lbl',
'selectClass' => 'gpo-sel js-chosen js-chosen-compact',
])
@endif