@if(isset($order->bill_number_format) && $order->bill_number_format != null) @endif @if ($order->information) @endif
Factura N°: {{ $order->bill_number_format }}
N° de control: {{ $order->control_number ?? ($order->order_bill->control_number ?? '') }}
Cliente: {{ $order->client ? $order->client->name : '' }} Fecha emisión: {{ $order->created_format }}
R.I.F.: {{ $order->client ? $order->client->document : '' }}
@if ($order->client && $order->client->address) Dirección: {{ $order->client ? $order->client->address : '' }} @endif @if ($order->payment_date) Fecha vencim: {{ \Carbon\Carbon::parse($order->payment_date)->format('d/m/Y') }} @endif
Teléfonos: {{ $order->client ? $order->client->phone : '' }}
@if (count($order->paydays) > 0) Fechas de pago programadas: @foreach($order->paydays as $key => $item) {{ \Carbon\Carbon::parse($item->date)->format('d-m-Y') }} @if ($key != (count($order->paydays) - 1)) / @endif @endforeach @endif Condic. Pago: @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
@if (count($order->payments) > 0 || $order->status_payment == \App\Models\Order::TO_PAY) Días de crédito: {{ $order->credit_days }} @endif
@if ($order->client && $order->client->comments) Descripción: {{ $order->client ? $order->client->comments : '' }} @endif Información adicional: {{ $order->information }}
{{-- --}} @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
Código DescripciónColor TallaCantidad Precio Unitario Desc % Neto
{{ $item->product ? $item->product->code : '' }} {{ $item->product ? $item->product->name : '' }} {{ $item->color ? (', '.$item->color->name) : '' }} {{ $item->size ? (', '.$item->size->name) : '' }}{{ $item->color ? $item->color->name : '-' }} {{ $item->size ? $item->size->name : '-' }}{{ Money::getFormat($item->quantity) }} {{ Money::get(Money::convertFrom($item->price,$conversion),'') }} {{ Money::getFormat($item->discount_percentage) }}% {{ $item->deleted_at != null ? ('-'.Money::get(Money::convertFrom($item->total,$conversion),'')) : Money::get(Money::convertFrom($item->total,$conversion),'') }}
@if( !is_null($order->iva )) @if($iva_16 > 0) @endif @if($iva_8 > 0) @endif @if($iva_31 > 0) @endif @endif @if( !is_null($order->igtf )) @if ($currency == Currency::DOLAR) @else @endif @endif @if ($currency == Currency::DOLAR) @else @if($order->total_bs != null) @else @endif @endif
@if($order->status_payment == \App\Models\Order::TO_PAY)

ESTA FACTURA PUEDE ESTAR SUJETA AL IGTF DEL 3% y si al momento de pago se realiza en divisa deberá emitirle una nota de débito cobrando el igtf del 3%.

@endif