Se cambia entradas libres a verde y reservas por defecto a naranja

This commit is contained in:
David Arranz 2022-09-15 10:44:55 +02:00
parent 2c173ce298
commit a4e8c70ebb
2 changed files with 5 additions and 5 deletions

View File

@ -111,7 +111,7 @@ function sendTicket(header, values) {
eventName: values.eventName,
dateEvent: values.dateEvent,
dateInscription: values.dateInscription,
color: values.color ? values.color : "gray",
color: values.color ? values.color : "green",
nameInscription: header.name,
},
@ -147,7 +147,7 @@ function sendTicketOnline(header, values) {
eventName: values.eventName,
dateEvent: values.dateEvent,
dateInscription: values.dateInscription,
color: values.color ? values.color : "gray",
color: values.color ? values.color : "green",
nameInscription: header.name,
},
@ -172,7 +172,7 @@ function sendListaEspera(header, values) {
eventName: values.eventName,
dateEvent: values.dateEvent,
dateInscription: values.dateInscription,
color: values.color ? values.color : "gray",
color: values.color ? values.color : "green",
nameInscription: header.name,
},
};
@ -236,7 +236,7 @@ function sendCancelacion(header, values) {
eventName: values.eventName,
dateEvent: values.dateEvent,
dateInscription: values.dateInscription,
color: values.color ? values.color : "gray",
color: values.color ? values.color : "green",
nameInscription: header.name,
},
};

View File

@ -326,7 +326,7 @@ const extraControllers = {
const reservationData = {
reservation_code: eventReservationService._generateReservatioCode(dataInscription.event, dataUser.entityName),
state: "draft", //sin confirmar, publish es cuando se descuenta del aforo del evento
color: "gray",
color: "orange",
description: (dataInscription.type === 'online group') ? 'Incripción online en grupo' : 'Reserva',
init_available_date: dataInscription.event.init_available_date,
end_available_date: dataInscription.event.end_available_date,