18 lines
452 B
JavaScript
18 lines
452 B
JavaScript
import ngModule from '../module';
|
|
import ModuleMain from 'salix/components/module-main';
|
|
|
|
export default class InvoiceOut extends ModuleMain {
|
|
constructor($element, $) {
|
|
super($element, $);
|
|
}
|
|
async $onInit() {
|
|
this.$state.go('home');
|
|
window.location.href = await this.vnApp.getUrl(`invoice-out/`);
|
|
}
|
|
}
|
|
|
|
ngModule.vnComponent('vnInvoiceOut', {
|
|
controller: InvoiceOut,
|
|
template: require('./index.html')
|
|
});
|