2021-02-10 14:03:11 +00:00
|
|
|
import ngModule from '../module';
|
|
|
|
import ModuleMain from 'salix/components/module-main';
|
|
|
|
|
2024-08-14 10:20:02 +00:00
|
|
|
export default class InvoiceIn extends ModuleMain {
|
|
|
|
constructor($element, $) {
|
|
|
|
super($element, $);
|
|
|
|
}
|
|
|
|
|
|
|
|
async $onInit() {
|
|
|
|
this.$state.go('home');
|
|
|
|
window.location.href = await this.vnApp.getUrl(`invoice-in/`);
|
|
|
|
}
|
|
|
|
}
|
2021-02-10 14:03:11 +00:00
|
|
|
|
|
|
|
ngModule.vnComponent('vnInvoiceIn', {
|
|
|
|
controller: InvoiceIn,
|
|
|
|
template: require('./index.html')
|
|
|
|
});
|