@php use App\Libraries\Money; @endphp
|
{{ $admin->name }} {{ $admin->document }} {{ $admin->address }} {{ $admin->email }} {{ $admin->phone }} |
| Cliente: {{ $data->order->client->name }} |
@if($data->order->bill_number)
N° Factura: {{ $data->order->bill_number_format }} @endif N° de control/factura: {{ $data->order->order_bill->control_number ?? $data->order->control_number ?? '-' }} |
| R.I.F.: {{ $data->order->client->document }} |
Nota de Débito: {{ $data->number_format }} N° de control/nota de débito: {{ $data->orderBill->control_number ?? $data->order_bill->control_number ?? $data->control_number ?? '-' }} |
| @if($data->order->client->address) Dirección: {{ $data->order->client->address }} @endif | Fecha emisión: {{ \Carbon\Carbon::parse($data->created_at)->format('d/m/Y H:i') }} |
| Teléfonos: {{ $data->order->client->phone }} | Motivo: {{ $data->motive }} |
| Código | Descripción | Cantidad | Precio Unitario | Desc % | Neto |
|---|---|---|---|---|---|
| {{ ($item->product_id > 0 && isset($item->product)) ? $item->product->code : '-' }} | @if($item->product_id > 0 && isset($item->product)) {{ $item->product->name }} ({{ $item->product->iva_txt }}) @else Recargo por IGTF (3%) - Pedido N° {{ $data->order ? $data->order->id : $data->order_id }} @endif | {{ $item->quantity }} | @if (isset($currency) && $currency == Money::DOLAR) {{ Money::get( Money::convertFrom($item->price, $data->conversion), $currency_symbol ) }} @else {{ Money::get( $item->price * $data->conversion, $currency_symbol ) }} @endif | {{ $item->discount_percentage ?? 0 }}% | @if (isset($currency) && $currency == Money::DOLAR) {{ Money::get( Money::convertFrom($item->total, $data->conversion), $currency_symbol ) }} @else {{ Money::get( $item->total * $data->conversion, $currency_symbol ) }} @endif |
|