Actualizar Interfaz/scripts/BoletosArtista1.js
This commit is contained in:
parent
41f239e38b
commit
d0add454d3
Interfaz/scripts
|
@ -7,7 +7,7 @@ let asientosSeleccionados = new Set();
|
|||
|
||||
function cargarAsientos() {
|
||||
const artista = "The Driver Era";
|
||||
const url = `consultar_asientos.php?artista=${encodeURIComponent(artista)}&dia=${diaSeleccionado}`;
|
||||
const url = `control/consultar_asientos.php?artista=${encodeURIComponent(artista)}&dia=${diaSeleccionado}`;
|
||||
|
||||
fetch(url)
|
||||
.then(response => response.json())
|
||||
|
@ -73,7 +73,7 @@ function venderAsientos() {
|
|||
|
||||
function confirmarVenta() {
|
||||
const artista = "The Driver Era"; // Cambia esto según el artista
|
||||
const url = 'vender_asientos.php';
|
||||
const url = 'control/vender_asientos.php';
|
||||
const data = {
|
||||
artista: artista,
|
||||
dia: diaSeleccionado,
|
||||
|
|
Loading…
Reference in New Issue