18 lines
446 B
JavaScript
18 lines
446 B
JavaScript
|
import ngModule from '../module';
|
||
|
import FilterTicketList from '../filter-ticket-list';
|
||
|
|
||
|
class Controller extends FilterTicketList {
|
||
|
constructor($scope, $timeout, $state) {
|
||
|
super($scope, $timeout, $state);
|
||
|
|
||
|
this.onOrder('quantity', 'ASC');
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Controller.$inject = ['$scope', '$timeout', '$state'];
|
||
|
|
||
|
ngModule.component('vnTicketSaleChecked', {
|
||
|
template: require('./sale-checked.html'),
|
||
|
controller: Controller
|
||
|
});
|