@endif
RUC: {{ $setting->ruc }}
{{ $setting->address }}
Celular: {{ $setting->phone }}
N°: {{ str_pad($sale->id, 6, '0', STR_PAD_LEFT) }}
Cliente: {{ $sale->customer->first_name }} {{ $sale->customer->last_name }} {{ $sale->customer->middle_name }}
Documento: {{ $sale->customer->identity_card ?? '-' }}
Fecha: {{ date('d/m/Y H:i', strtotime($sale->created_at)) }}
Usuario: {{ $sale->user->name }}
Sucursal: {{ $sale->branch->name }}
| Producto | Variante | Cantidad | Precio | Importe |
|---|---|---|---|---|
| {{ $item->product ? $item->product->name : $item->custom_name }} | @if($item->product_variant) {{ $item->product_variant->size->name ?? '' }} / {{ $item->product_variant->color->name ?? '' }} @else - @endif | {{ $item->quantity }} | {{ number_format($item->price, 2) }} | {{ number_format($item->quantity * $item->price, 2) }} |
| Total: | S/ {{ number_format($sale->total, 2) }} |