a
This commit is contained in:
parent
8682e35f10
commit
14af0e3fc3
@ -166,17 +166,17 @@ console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>><Inscripcion borrada');
|
||||
let NewConfirmed = 0;
|
||||
let marketingListId = null;
|
||||
|
||||
if (inscription.reservationId === null){
|
||||
if (inscription.reservationId != null){
|
||||
console.log('Tengo reservation>>>>>>>>>>>>>>>>>>', inscription.reservationId);
|
||||
NewConfirmed = await eventInscriptionService._getCountInscriptionsWithReservation(EventOrReservationChangeId)
|
||||
marketingListId = (await eventReservationService._getReservaById(EventOrReservationChangeId)).marketing_list;
|
||||
}
|
||||
else if (inscription.overflowEventId) {
|
||||
else if (inscription.overflowEventId != null) {
|
||||
console.log('Tengo overflow>>>>>>>>>>>>>>>>>>', inscription.overflowEventId);
|
||||
NewConfirmed = await eventInscriptionService._getCountInscriptionsWithOverflowEventId(EventOrReservationChangeId);
|
||||
marketingListId = (await eventService._getEvent(EventOrReservationChangeId)).marketing_list;
|
||||
}
|
||||
else if (inscription.eventId) {
|
||||
else if (inscription.eventId != null) {
|
||||
NewConfirmed = await eventInscriptionService._getCountInscriptionsWithoutReservationAndOverflow(EventOrReservationChangeId);
|
||||
marketingListId = (await eventService._getEvent(EventOrReservationChangeId)).marketing_list;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user