Inscripciones online
This commit is contained in:
parent
dcc7610ca2
commit
09f15573b2
@ -418,11 +418,11 @@ const extraControllers = {
|
||||
dataInscription.reservation.sold_out == 0 &&
|
||||
dataInscription.reservation.assistants >= dataInscription.inscriptionsWithReservationCount
|
||||
) {
|
||||
|
||||
console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>ESTA ES LA RESERVA>>>>>>>>>>>>>>>')
|
||||
dataInscription.validated = false;
|
||||
//Es la inscripción automática del tutor o alguien que tiene el código y eso no puede ser
|
||||
if (dataInscription.reservation.state === 'publish')
|
||||
dataInscription.validated = true;
|
||||
if (dataInscription.type === "online" || dataInscription.type === "online group" || dataInscription.reservation.state === 'publish')
|
||||
dataInscription.validated = true;
|
||||
|
||||
|
||||
console.log(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>", dataInscription.type);
|
||||
//Actualizamos aforo de la lista de espera de la reserva y creamos inscripcion en la lista de espera de la reserva
|
||||
|
||||
Loading…
Reference in New Issue
Block a user