13 lines
831 B
PHP
13 lines
831 B
PHP
<h1 style="margin: 0 0 20px;">¡Recibimos tu pago!</h1>
|
||
<p>La compra <strong>#{{ $purchase->id }}</strong> fue confirmada correctamente.</p>
|
||
<table role="presentation" style="width: 100%; border-collapse: collapse; margin: 20px 0;">
|
||
@foreach ($purchase->items as $item)
|
||
<tr>
|
||
<td style="padding: 8px 0; border-bottom: 1px solid #e2e8f0;">{{ $item->item_nombre }}</td>
|
||
<td style="padding: 8px 0; border-bottom: 1px solid #e2e8f0; text-align: center;">× {{ $item->cantidad }}</td>
|
||
<td style="padding: 8px 0; border-bottom: 1px solid #e2e8f0; text-align: right;">${{ number_format((float) $item->total, 2, ',', '.') }}</td>
|
||
</tr>
|
||
@endforeach
|
||
</table>
|
||
<p style="font-size: 18px;"><strong>Total pagado: ${{ number_format((float) $purchase->total, 2, ',', '.') }}</strong></p>
|