2022-01-25 13:27:30 +00:00
|
|
|
import ngModule from '../module';
|
|
|
|
import Section from 'salix/components/section';
|
|
|
|
|
|
|
|
export default class Controller extends Section {
|
|
|
|
constructor($element, $) {
|
|
|
|
super($element, $);
|
2023-06-27 08:27:39 +00:00
|
|
|
}
|
2025-01-28 12:27:35 +00:00
|
|
|
async $onInit() {
|
|
|
|
this.$state.go('customer.defaulter', {id: this.$params.id});
|
|
|
|
window.location.href = await this.vnApp.getUrl(`customer/defaulter`);
|
2023-03-16 12:55:21 +00:00
|
|
|
}
|
2022-01-25 13:27:30 +00:00
|
|
|
}
|
|
|
|
|
2022-02-25 09:34:17 +00:00
|
|
|
ngModule.vnComponent('vnClientDefaulter', {
|
2022-01-25 13:27:30 +00:00
|
|
|
template: require('./index.html'),
|
|
|
|
controller: Controller
|
|
|
|
});
|