+ Ticket #{receipt.receiptNumber}
+ {new Date(receipt.createdAt).toLocaleString('es-ES', { dateStyle: 'short', timeStyle: 'short' })}
+
{/* Logo */}
+ Caducidad
+ {new Date(product.expirationDate).toLocaleDateString('es-ES', { year: 'numeric', month: 'long', day: 'numeric' })}
+
+ )}
+ {product.unitWeightKg && (
+
+ Peso
+ {product.unitWeightKg >= 1 ? `${product.unitWeightKg} kg` : `${Math.round(product.unitWeightKg * 1000)} g`}
+
+ )}