-
-
Save parzibyte/4d34fd5cec61daa5b6747ae24ae585a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Empezar a usar el plugin | |
const conector = new ConectorPluginV3(); | |
conector | |
.EscribirTexto("Ticket de venta\n") | |
.EscribirTexto("Fecha: " + detallesTicket.fecha) | |
.Feed(1); | |
for (const producto of detallesTicket.productos) { | |
conector.EscribirTexto(producto.nombre + " precio: " + producto.precio); | |
conector.Feed(1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment