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:
2026-09-04 21:05:20 -03:00
parent c5217aa7c8
commit 57c5deb3bd
8 changed files with 271 additions and 133 deletions
@@ -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);