{{ __('Detalles de Orden #OT-') }}{{ $order->id }}

Registrada el {{ \Carbon\Carbon::parse($order->entry_date)->format('d/m/Y H:i') }}

@csrf @method('PATCH')
@if(Auth::user()->role !== 'mechanic') @if(!$order->invoice)
@csrf
@else Ver Factura @endif @if($order->status === 'completed' || $order->status === 'ready') @endif @endif
@if (session('status'))
{{ session('status') }}
@endif

Servicios y Repuestos Cargados

@if(Auth::user()->role !== 'mechanic') @endif @forelse($order->workItems as $item) @if(Auth::user()->role !== 'mechanic') @endif @empty @endforelse @if(Auth::user()->role !== 'mechanic') @endif
Concepto Cant. Unitario TotalAcciones

{{ $item->description }}

{{ $item->type == 'part' ? 'Repuesto' : 'Mano de Obra' }}
{{ $item->quantity }} @money($item->unit_price) @money($item->total)
@csrf @method('DELETE')
No hay items cargados en esta orden.
Total de la Orden @money($order->total_amount)
@if(Auth::user()->role !== 'mechanic')

Añadir Concepto a la Orden

@csrf
@endif

Información del Servicio

{{ $order->vehicle->year }}

{{ $order->vehicle->make }} {{ $order->vehicle->model }}

{{ $order->vehicle->license_plate }}

{{ $order->customer->name }}

{{ $order->customer->phone }}

Diagnóstico Inicial / Reporte

"{{ $order->description }}"