29 lines
649 B
JavaScript
29 lines
649 B
JavaScript
import ngModule from '../module';
|
|
import Section from 'salix/components/section';
|
|
|
|
class Controller extends Section {
|
|
constructor($element, $) {
|
|
super($element, $);
|
|
this.filter = {
|
|
include: [
|
|
{
|
|
relation: 'item'
|
|
}, {
|
|
relation: 'isChecked',
|
|
scope: {
|
|
fields: ['isChecked']
|
|
}
|
|
}
|
|
]
|
|
};
|
|
}
|
|
}
|
|
|
|
ngModule.component('vnTicketSaleChecked', {
|
|
template: require('./index.html'),
|
|
controller: Controller,
|
|
bindings: {
|
|
ticket: '<'
|
|
}
|
|
});
|