From b53b9b91f4589f0bbd8bacc6e1033022aa0a646a Mon Sep 17 00:00:00 2001 From: Pau Navarro Date: Thu, 12 Jan 2023 11:42:01 +0100 Subject: [PATCH] fix sms faltas no se envia refs #5081 --- CHANGELOG.md | 5 +++++ modules/client/front/descriptor/index.js | 2 +- modules/ticket/front/descriptor-menu/index.js | 2 +- modules/ticket/front/sale/index.html | 4 ++-- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f241b91fe..24971e2d21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Fixed +- [Tickets] Al enviar un sms de falta no se enviaba el mensaje + ## [2302.01] - 2023-01-12 ### Added diff --git a/modules/client/front/descriptor/index.js b/modules/client/front/descriptor/index.js index 4d8d70edf6..913a4d0a68 100644 --- a/modules/client/front/descriptor/index.js +++ b/modules/client/front/descriptor/index.js @@ -42,7 +42,7 @@ class Controller extends Descriptor { onSmsSend(sms) { return this.$http.post(`Clients/${this.id}/sendSms`, sms) - .then(() => this.vnApp.showSuccess(this.$t('SMS sent'))); + .then(() => this.vnApp.showSuccess(this.$t('SMS sent!'))); } } diff --git a/modules/ticket/front/descriptor-menu/index.js b/modules/ticket/front/descriptor-menu/index.js index 168002d077..c9280a0e4c 100644 --- a/modules/ticket/front/descriptor-menu/index.js +++ b/modules/ticket/front/descriptor-menu/index.js @@ -310,7 +310,7 @@ class Controller extends Section { onSmsSend(sms) { return this.$http.post(`Tickets/${this.id}/sendSms`, sms) - .then(() => this.vnApp.showSuccess(this.$t('SMS sent'))); + .then(() => this.vnApp.showSuccess(this.$t('SMS sent!'))); } } diff --git a/modules/ticket/front/sale/index.html b/modules/ticket/front/sale/index.html index c624b1a955..bb52089b36 100644 --- a/modules/ticket/front/sale/index.html +++ b/modules/ticket/front/sale/index.html @@ -441,10 +441,10 @@ - - +