Actualizar Interfaz/scripts/BoletosArtista1.js

This commit is contained in:
maria.ruiz 2025-03-13 06:21:48 +00:00
parent 41f239e38b
commit d0add454d3
1 changed files with 2 additions and 2 deletions
Interfaz/scripts

View File

@ -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,