Detalle de Venta #{{ $saleId }}
Por favor espere
{{-- --}} @foreach ($details as $detail) {{-- --}} @endforeach
ItemProducto Precio Cant Importe
{{ $detail->productId }} {{ $detail->product }} - (${{ number_format($detail->productPrice, 0, ',', '.') }})
@foreach ($detail->options as $option) * {{ $option->name }} - (${{ number_format($option->price, 0, ',', '.') }})
@endforeach
${{ number_format($detail->price, 0, ',', '.') }} {{ number_format($detail->quantity, 0, ',', '.') }} ${{ number_format($detail->quantity * $detail->price, 0, ',', '.') }}
Totales:
{{ $countDetails }}
${{ number_format($sumDetails, 0, ',', '.') }}