salix/modules/supplier/front/billing-data/index.js

25 lines
486 B
JavaScript
Raw Normal View History

2020-12-14 15:09:17 +00:00
import ngModule from '../module';
import Section from 'salix/components/section';
export default class Controller extends Section {
get supplier() {
return this._supplier;
}
set supplier(value) {
this._supplier = value;
}
onSubmit() {
return this.$.watcher.submit();
}
}
ngModule.vnComponent('vnSupplierBillingData', {
template: require('./index.html'),
controller: Controller,
bindings: {
supplier: '<'
}
});