Se cambia entradas libres a verde y reservas por defecto a naranja
This commit is contained in:
parent
2c173ce298
commit
a4e8c70ebb
@ -111,7 +111,7 @@ function sendTicket(header, values) {
|
|||||||
eventName: values.eventName,
|
eventName: values.eventName,
|
||||||
dateEvent: values.dateEvent,
|
dateEvent: values.dateEvent,
|
||||||
dateInscription: values.dateInscription,
|
dateInscription: values.dateInscription,
|
||||||
color: values.color ? values.color : "gray",
|
color: values.color ? values.color : "green",
|
||||||
nameInscription: header.name,
|
nameInscription: header.name,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -147,7 +147,7 @@ function sendTicketOnline(header, values) {
|
|||||||
eventName: values.eventName,
|
eventName: values.eventName,
|
||||||
dateEvent: values.dateEvent,
|
dateEvent: values.dateEvent,
|
||||||
dateInscription: values.dateInscription,
|
dateInscription: values.dateInscription,
|
||||||
color: values.color ? values.color : "gray",
|
color: values.color ? values.color : "green",
|
||||||
nameInscription: header.name,
|
nameInscription: header.name,
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -172,7 +172,7 @@ function sendListaEspera(header, values) {
|
|||||||
eventName: values.eventName,
|
eventName: values.eventName,
|
||||||
dateEvent: values.dateEvent,
|
dateEvent: values.dateEvent,
|
||||||
dateInscription: values.dateInscription,
|
dateInscription: values.dateInscription,
|
||||||
color: values.color ? values.color : "gray",
|
color: values.color ? values.color : "green",
|
||||||
nameInscription: header.name,
|
nameInscription: header.name,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -236,7 +236,7 @@ function sendCancelacion(header, values) {
|
|||||||
eventName: values.eventName,
|
eventName: values.eventName,
|
||||||
dateEvent: values.dateEvent,
|
dateEvent: values.dateEvent,
|
||||||
dateInscription: values.dateInscription,
|
dateInscription: values.dateInscription,
|
||||||
color: values.color ? values.color : "gray",
|
color: values.color ? values.color : "green",
|
||||||
nameInscription: header.name,
|
nameInscription: header.name,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@ -326,7 +326,7 @@ const extraControllers = {
|
|||||||
const reservationData = {
|
const reservationData = {
|
||||||
reservation_code: eventReservationService._generateReservatioCode(dataInscription.event, dataUser.entityName),
|
reservation_code: eventReservationService._generateReservatioCode(dataInscription.event, dataUser.entityName),
|
||||||
state: "draft", //sin confirmar, publish es cuando se descuenta del aforo del evento
|
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',
|
description: (dataInscription.type === 'online group') ? 'Incripción online en grupo' : 'Reserva',
|
||||||
init_available_date: dataInscription.event.init_available_date,
|
init_available_date: dataInscription.event.init_available_date,
|
||||||
end_available_date: dataInscription.event.end_available_date,
|
end_available_date: dataInscription.event.end_available_date,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user