#5081-hotfix-sms-faltas #1250
|
@ -443,7 +443,8 @@
|
||||||
<!-- SMS Dialog -->
|
<!-- SMS Dialog -->
|
||||||
<vn-sms-dialog
|
<vn-sms-dialog
|
||||||
vn-id="sms"
|
vn-id="sms"
|
||||||
sms="$ctrl.newSMS">
|
sms="$ctrl.newSMS"
|
||||||
|
on-send="$ctrl.onSmsSend($sms)">
|
||||||
</vn-sms-dialog>
|
</vn-sms-dialog>
|
||||||
|
|
||||||
<vn-confirm
|
<vn-confirm
|
||||||
|
|
|
@ -389,6 +389,11 @@ class Controller extends Section {
|
||||||
this.$.sms.open();
|
this.$.sms.open();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onSmsSend(sms) {
|
||||||
|
return this.$http.post(`Tickets/${this.ticket.id}/sendSms`, sms)
|
||||||
|
.then(() => this.vnApp.showSuccess(this.$t('SMS sent')));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Inserts a new instance
|
* Inserts a new instance
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue