Add QR code images for transaction assistant, login, and plans
- Added `qrcode-tx-assistant.png` for transaction assistant functionality. - Added `qrcode-tx-login.png` for user login process. - Added `qrcode-tx-plans.png` for displaying available plans.
This commit is contained in:
@@ -534,7 +534,7 @@ class AppointmentManager implements IAppointmentsManager {
|
||||
|
||||
await this.updateHeatMap(availabilityConfig);
|
||||
|
||||
await this.tryApplyDiscounts(newAppointment);
|
||||
await this.tryApplyDiscounts(newAppointment, String(companyCheck.ownerId));
|
||||
|
||||
if (notification && checkClient.userId) {
|
||||
//Envio la notificacion al cliente.
|
||||
@@ -592,7 +592,7 @@ class AppointmentManager implements IAppointmentsManager {
|
||||
}
|
||||
}
|
||||
|
||||
private async tryApplyDiscounts(appointment: IAppointment) {
|
||||
private async tryApplyDiscounts(appointment: IAppointment, sessionUser: string) {
|
||||
//Intenta aplicar un descuento al turno si esta especificado en DiscountsEmail
|
||||
// y la fecha coincide con el rango especificado.
|
||||
|
||||
@@ -632,7 +632,7 @@ class AppointmentManager implements IAppointmentsManager {
|
||||
appointmentId: String(appointment.id),
|
||||
discountId: String(existDiscount.discountId),
|
||||
companyId: String(appointment.companyId),
|
||||
sessionUser: String(appointment.userId),
|
||||
sessionUser: sessionUser,
|
||||
});
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
|
||||
Reference in New Issue
Block a user