Compare commits

...

1 Commits

Author SHA1 Message Date
Pau b53b9b91f4 fix sms faltas no se envia refs #5081
gitea/salix/pipeline/head There was a failure building this commit Details
2023-01-12 11:42:01 +01:00
4 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -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!')));
}
}

View File

@ -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!')));
}
}

View File

@ -441,10 +441,10 @@
</vn-popover>
<!-- SMS Dialog -->
<vn-ticket-sms
<vn-sms-dialog
vn-id="sms"
sms="$ctrl.newSMS">
</vn-ticket-sms>
</vn-sms-dialog>
<vn-confirm
vn-id="delete-lines"