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() {
|
function cargarAsientos() {
|
||||||
const artista = "The Driver Era";
|
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)
|
fetch(url)
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
|
@ -73,7 +73,7 @@ function venderAsientos() {
|
||||||
|
|
||||||
function confirmarVenta() {
|
function confirmarVenta() {
|
||||||
const artista = "The Driver Era"; // Cambia esto según el artista
|
const artista = "The Driver Era"; // Cambia esto según el artista
|
||||||
const url = 'vender_asientos.php';
|
const url = 'control/vender_asientos.php';
|
||||||
const data = {
|
const data = {
|
||||||
artista: artista,
|
artista: artista,
|
||||||
dia: diaSeleccionado,
|
dia: diaSeleccionado,
|
||||||
|
|
Loading…
Reference in New Issue