import ngModule from '../module'; import Section from 'salix/components/section'; class Controller extends Section { constructor($element, $) { super($element, $); } async $onInit() { this.$state.go('client.card.summary', {id: this.$params.id}); window.location.href = await this.vnApp.getUrl(`Customer/${this.$params.id}/sms`); } } ngModule.vnComponent('vnClientSms', { template: require('./index.html'), controller: Controller, bindings: { client: '<' } });