@if(isset($__user))

@if ($__user->name) {{ $__user->name }} @endif

@if ($__user->document)

{{ $__user->document }}

@endif @if ($__user->address)

{{ $__user->address }}

@endif @if($__user->phone)

Tlf: {{ $__user->phone }}

@endif
@endif
@if($order->seller) @endif
@if($order->delivery_note == \App\Models\Order::DELIVERY_NOTE_YES) Nota de entrega @else Pedido @endif

{{ \Carbon\Carbon::parse($order->created_at)->format('d/m/Y') }}

{{ $order->number_format }} {{$is_copy ? ' (COPIA)' : ''}}

{{ \Carbon\Carbon::parse($order->created_at)->format('H:i:s') }}

@if (count($order->payments) > 0 || $order->status_payment == \App\Models\Order::TO_PAY) @if ($order->status_payment == \App\Models\Order::TO_PAY) CRÉDITO @else CRÉDITO PAGADO @endif @else CONTADO @endif
{{ $order->seller->name }}

@if($order->client && $order->client->document) @endif @if($order->client && $order->client->address) @endif @if($order->client && $order->client->phone) @endif
Cliente

{{ $order->client ? strtoupper($order->client->code) : '' }}

{{ $order->client ? strtoupper($order->client->name) : '' }}
RIF Cliente: {{ $order->client->document }}
{{ $order->client->address }}
{{ $order->client->phone }}

@php $iva_8 = 0; $iva_16 = 0; $iva_31 = 0; @endphp @foreach($order->details as $item) @php if ($item->product->exento == \App\Models\Product::NO_EXENTO) { $iva_product = (($item->subtotal * $item->product->iva_porcentage) / 100); if ($item->product->iva == \App\Models\Product::IVA_DIECISEIZ) { $iva_16 += $iva_product; } else if ($item->product->iva == \App\Models\Product::IVA_OCHO) { $iva_8 += $iva_product; } else if ($item->product->iva == \App\Models\Product::IVA_TREINTAIUNO) { $iva_31 += $iva_product; } } @endphp @endforeach
CANT

DESCRIPCION

TOTAL {{ $currency_symbol }}

{{ Money::formatQuantity($item->quantity) }}

{{ $item->product ? $item->product->name : '' }} {{ $item->color ? (', '.$item->color->name) : '' }} {{ $item->size ? (', '.$item->size->name) : '' }}

Cód {{ $item->product ? $item->product->code : '' }}

@if($item->discount > 0)

Desc {{ Money::get(Money::convertFrom($item->discount,$conversion),'') }} ({{ Money::get($item->discount_percentage,'') }}%)

@endif

Precio {{ Money::get(Money::convertFrom($item->price,$conversion),'') }}

{{ Money::get(Money::convertFrom($item->total,$conversion),'') }}


@if($order->discount_percentage > 0) @endif @if( !is_null($order->iva )) @if($iva_16 > 0) @endif @if($iva_8 > 0) @endif @if($iva_31 > 0) @endif @endif
Subtotal {{ Money::get(Money::convertFrom($order->subtotal,$conversion),'') }}
{{ $order->discount_percentage > 0 ? '% de descuento' : '' }} ({{ Money::getFormat($order->discount_percentage) }}%) -{{ Money::get(Money::convertFrom($order->discount,$conversion),'') }}
IVA (16%): {{ Money::get(Money::convertFrom($iva_16,$conversion),$currency_symbol) }}
IVA (8%): {{ Money::get(Money::convertFrom($iva_8,$conversion),$currency_symbol) }}
IVA (31%): {{ Money::get(Money::convertFrom($iva_31,$conversion),$currency_symbol) }}
TOTAL {{ $currency_symbol }} {{ Money::get(Money::convertFrom($order->total,$conversion),'') }}

@if($currency == \App\Models\Currency::DOLAR && $__user->country_id == \App\Models\Country::VENEZUELA)

Según el tipo de Cambio del BCV vigente a la Fecha de la Nota es Bs/USD (Indexación)


Tasa BCV: {{ Money::get(Money::convertFrom($order->conversion, 1),'') }} Bs x $

Total Bs: {{ Money::get(Money::convertFrom($order->total,$order->conversion),'') }}


@endif

Recibido por:



NOMBRE: __________________________



CEDULA: __________________________