2019-11-10 10:08:44 +00:00
|
|
|
import ngModule from '../module';
|
|
|
|
import ModuleMain from 'salix/components/module-main';
|
|
|
|
|
2024-07-30 09:37:41 +00:00
|
|
|
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/`);
|
|
|
|
}
|
|
|
|
}
|
2019-11-10 10:08:44 +00:00
|
|
|
|
|
|
|
ngModule.vnComponent('vnInvoiceOut', {
|
|
|
|
controller: InvoiceOut,
|
|
|
|
template: require('./index.html')
|
|
|
|
});
|