Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Last active October 19, 2022 19:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/5273df0b8c922453a5ef7e315a9e0fb5 to your computer and use it in GitHub Desktop.
Save parzibyte/5273df0b8c922453a5ef7e315a9e0fb5 to your computer and use it in GitHub Desktop.
if (resultados) {
this.$emit("apartado-realizado");
this.prepararNuevaVenta();
this.$router.push({
name: "TicketDeApartado",
params: {
idApartado: resultados.Numero
}
});
} else {
/*Here be dragons*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment