{{ __('Ordenes de retiro') }}

ORDENES DE RETIRO DE HOY

{{$statics['order_today']}}

{{--

Compared to last week

--}}
{{-- --}} {{-- --}} {{-- +427--}} {{-- --}}
5,9,5,6,4,12,18,14,10,15,12,5,8,5,12,5,12,10,16,12
Ordenes de retiro con 7 días o más

{{$statics['order_7_days']}}

{{--

Compared to last week

--}}
{{-- --}} {{-- --}} {{-- -23.09%--}} {{-- --}}
3,2,4,6,12,14,8,7,14,16,12,7,8,4,3,2,2,5,6,7
Ordenes de retiro Facturados

{{$statics['order_invoiced']}}

{{--

Compared to last week

--}}
{{-- --}} {{-- --}} {{-- 52.09%--}} {{-- --}}
5,10,5,20,22,12,15,18,20,15,8,12,22,5,10,12,22,15,16,10
Ordenes de retiro en Área Técnica

{{$statics['order_workshop']}}

{{--

Compared to last week

--}}
{{-- --}} {{-- --}} {{-- -152.3--}} {{-- --}}
5,9,5,6,4,12,18,14,10,15,12,5,8,5,12,5,12,10,16,12

Estado de Ordenes {{date('Y')}}

{{-- --}} {{-- --}}
{{--

Order Status and Tracking. Track your order from ship date to arrival. To begin, enter your order number.

--}}

@csrf
@foreach ($ordersAll as $order) @foreach($order->orderDetails as $detail) @endforeach @endforeach
Orden Fecha de Recibido Estado Prioridad Asesor Cliente Cantidad de servicios Categoría Tipo Producto Marca Número ó Serie Precio QR Facturar o entregar
{{ $order->id }} {{ $order->created_at_format }} {{ \App\Models\Order::$states[$order->state] }} @if($order->priority === 0)

Normal

@else

Alta

@endif
{{ $order->owner->name}} {{$order->customer->name}} $ {{number_format($order->totalPrice(), 2)}} @php $hasLoanedItems = $order->orderDetails->some(fn($detail) => $detail->quantity_prestado > 0); @endphp @if($order->state == 'DONE') @if($hasLoanedItems) @else Marcar Facturado @endif @endif @if($order->state == 'INVOICED') Marcar Entregado @endif
Cantidad: {{$detail->quantity}} Prestados: {{$detail->quantity_prestado}} {{$detail->product?->category?->name}} {{$detail->product?->name}} {{$detail->product?->brand?->name}} {{$detail->serial_number}} $ {{$detail->total()}} @if(in_array($detail->state, ['DONE', 'INVOICED', 'DELIVERED'])) @endif @if($detail->print_card) @endif
{!! $ordersAll->appends(['search' => $search, 'customer' => $customer])->links('pagination::bootstrap-5') !!}