{{-- @include('pdf.header') --}} @if(isset($__user)) @if ($__user->logo) @endif

{{ $__user->name??'' }}

{{ $__user->document??'' }}

{{ $__user->address??'' }}

{{ $__user->email??'' }}

{{ $__user->phone??'' }}

@endif

NOTA DE DESPACHO

Cliente: {{ $order->client ? $order->client->name : '' }} Fecha entrega: {{ \Carbon\Carbon::parse($order->dispatch_date)->format('d/m/Y') }}
R.I.F.: {{ $order->client ? $order->client->document : '' }} @if($order->delivery_note == \App\Models\Order::DELIVERY_NOTE_YES) Nota de entrega: @else Pedido Nº: @endif {{ $order->number_format }}
@if ($order->client && $order->client->address) Dirección: {{ $order->client ? $order->client->address : '' }} @endif
Teléfonos: {{ $order->client ? $order->client->phone : '' }}
@if($user->show_order_total == 1) @endif @foreach($order->details as $item) @if($user->show_order_total == 1) @endif @endforeach
Código Descripción CantidadPrecio Unitario Total
{{ $item->product ? $item->product->code : '' }} {{ $item->product ? $item->product->name : '' }} {{ $item->color ? (', '.$item->color->name) : '' }} {{ $item->size ? (', '.$item->size->name) : '' }} {{ Money::getFormat($item->quantity) }}{{ Money::get($item->price,'') }} {{ $item->deleted_at != null ? ('-'.Money::get($item->total,'')) : Money::get($item->total,'') }}
@if($user->show_order_total == 1)
@endif