@lang('repair::lang.appointment_details') — {{ $appointment->appointment_no }}

@php $meta = $statuses[$appointment->status] ?? ['label' => ucfirst($appointment->status), 'color' => '#777']; @endphp
@lang('repair::lang.appointment_no') {{ $appointment->appointment_no }} @lang('sale.status') {{ $meta['label'] }}
@lang('repair::lang.serial_no') {{ $appointment->vehicle_no }} @lang('repair::lang.vehicle_make_model') {{ $appointment->vehicle_make_model ?: '-' }}
@lang('contact.customer') {{ $appointment->customer_name }} @lang('lang_v1.mobile_number') {{ $appointment->customer_mobile }}
@lang('business.email') {{ $appointment->customer_email ?: '-' }} @lang('business.business_location') {{ optional($appointment->location)->name ?: '-' }}
@lang('repair::lang.preferred_date') {{ $appointment->appointment_date ? $appointment->appointment_date->format('Y-m-d') : '-' }} @lang('repair::lang.preferred_time_slot') {{ $appointment->time_slot ?: '-' }}
@lang('repair::lang.service_type') {{ $appointment->service_type ?: '-' }}
@lang('repair::lang.problem_or_service_notes') {!! nl2br(e($appointment->problem_description ?: '-')) !!}
@lang('repair::lang.admin_notes') {!! nl2br(e($appointment->admin_notes ?: '-')) !!}
@if(auth()->user()->can('superadmin') || auth()->user()->can('repair.create') || auth()->user()->can('sell.create')) @endif @if(empty($appointment->job_sheet_id) && (auth()->user()->can('superadmin') || auth()->user()->can('job_sheet.create'))) @lang('repair::lang.create_job_sheet_from_appointment') @endif