Files
pos_heidiver/resources/views/emails/cotizacion.blade.php
T
2026-01-06 15:35:59 -05:00

27 lines
786 B
PHP

<h2>Cotización</h2>
<table border="1" cellpadding="5" cellspacing="0" width="100%">
<thead>
<tr>
<th>Producto</th>
<th>Variante</th>
<th>Cantidad</th>
<th>Precio unitario</th>
<th>Subtotal</th>
</tr>
</thead>
<tbody>
@foreach ($carrito as $item)
<tr>
<td>{{ $item['nombre'] }}</td>
<td>{{ $item['variante'] ?? '-' }}</td>
<td>{{ $item['cantidad'] }}</td>
<td>${{ number_format($item['precio_venta'], 2) }}</td>
<td>${{ number_format($item['precio_venta'] * $item['cantidad'], 2) }}</td>
</tr>
@endforeach
</tbody>
</table>
<h3>Total: ${{ number_format($total, 2) }}</h3>