# de Orden de retiro | Fecha de Recibido | Estado | Asesor | Cliente | Cantidad de servicios | Categoría | Tipo extintor | Marca | Número ó Serie | Precio | QR | Facturar o entregar | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $order->id }} | {{ $order->created_at_format }} | {{ \App\Models\Order::$states[$order->state] }} | {{ $order->owner->name}} |
{{$order->customer->name}}
|
{{ count($order->orderDetails ?? [])}} | $ {{number_format($order->totalPrice(), 2)}} | {{--@if($order->state == 'DONE')--}} Marcar Facturado {{--@endif--}} @if($order->state == 'INVOICED') Marcar Entregado @endif | ||||||
{{$detail->product?->category?->name}} | {{$detail->product?->name}} | {{$detail->product?->brand?->name}} | {{$detail->serial_number}} | $ {{$detail->total()}} |
@if(in_array($detail->state, ['DONE', 'INVOICED', 'DELIVERED']))
|
![]() |
@if($detail->print_card)
![]() |