@props(['sale', 'activeTab', 'modalProducts', 'modalPayments'])
{{ $sale->client->name }} {{ $sale->client->last_name }}
@if(auth()->user()->roles->pluck('reference')->first() === 'admin') Documento: {{ $sale->client->document }} @endifCódigo: #{{ $sale->code }}
Fecha: {{ $sale->created_at->format('d-m-Y h:i a') }}
Estado: {{ $sale->status === 'PAID' ? 'PAGADO' : 'PENDIENTE' }}
| Producto | Precio Unitario | Cantidad | Subtotal |
|---|---|---|---|
{{ $detail->product->name }}SKU: {{ $detail->product->code ?? 'N/A' }}Stock: {{ $detail->product->stock }} |
${{ number_format($detail->price, 2) }} | {{ $detail->quantity }} | ${{ number_format($itemSubtotal, 2) }} |
| # | Fecha y Hora | Efectivo Recibido | Cambio Entregado | Neto USD | Tasa |
|---|---|---|---|---|---|
| {{ $index + 1 + (($modalPayments->currentPage() - 1) * $modalPayments->perPage()) }} | {{ $payment->created_at->format('d-m-Y h:i a') }} |
${{ number_format($payment->cash_usd, 2) }}
{{ number_format($payment->cash_bs, 2) }} Bs
|
${{ number_format($payment->change_usd, 2) }}
{{ number_format($payment->change_bs, 2) }} Bs
|
${{ number_format($netTotalUSD, 2) }} | {{ number_format($payment->currency->value, 2) }} |
Esta venta no tiene pagos registrados aún.