19 lines
486 B
JavaScript
19 lines
486 B
JavaScript
import ngModule from '../module';
|
|
import Section from 'salix/components/section';
|
|
|
|
export default class Controller extends Section {
|
|
openSummary(supplier, event) {
|
|
if (event.defaultPrevented) return;
|
|
event.preventDefault();
|
|
event.stopPropagation();
|
|
|
|
this.supplierSelected = supplier;
|
|
this.$.dialogSummarySupplier.show();
|
|
}
|
|
}
|
|
|
|
ngModule.vnComponent('vnSupplierIndex', {
|
|
template: require('./index.html'),
|
|
controller: Controller
|
|
});
|