Recibo simple
= htmlspecialchars((string)$sale['cashier_role']) ?>
= htmlspecialchars((string)$sale['receipt_number']) ?>
Venta registrada el = htmlspecialchars(pos_format_datetime((string)$sale['created_at'])) ?>.
| Producto | Categoría | Cantidad | Precio | Importe |
|---|---|---|---|---|
|
= htmlspecialchars((string)($item['name'] ?? 'Producto')) ?>
= htmlspecialchars((string)($item['unit_label'] ?? 'unidad')) ?>
|
= htmlspecialchars((string)($item['category'] ?? '—')) ?> | = htmlspecialchars((string)($item['quantity'] ?? 0)) ?> | = htmlspecialchars(pos_format_money((float)($item['price'] ?? 0))) ?> | = htmlspecialchars(pos_format_money((float)($item['line_total'] ?? 0))) ?> |
Subtotal
= htmlspecialchars(pos_format_money((float)$sale['subtotal'])) ?>
Total a pagar
= htmlspecialchars(pos_format_money((float)$sale['total'])) ?>