2018-05-23 12:26:51 +00:00
|
|
|
import ngModule from '../../module';
|
2017-01-31 13:13:06 +00:00
|
|
|
|
2017-06-03 11:01:47 +00:00
|
|
|
export default class Controller {
|
2018-07-16 06:00:04 +00:00
|
|
|
constructor($stateParams) {
|
|
|
|
this.$stateParams = $stateParams;
|
2019-01-31 13:14:39 +00:00
|
|
|
this.filter = {
|
|
|
|
order: 'created DESC',
|
|
|
|
};
|
2017-06-03 11:01:47 +00:00
|
|
|
}
|
|
|
|
}
|
2018-07-16 06:00:04 +00:00
|
|
|
|
|
|
|
Controller.$inject = ['$stateParams'];
|
2017-01-31 13:13:06 +00:00
|
|
|
|
2018-05-23 12:26:51 +00:00
|
|
|
ngModule.component('vnClientNote', {
|
|
|
|
template: require('./index.html'),
|
2017-06-03 11:01:47 +00:00
|
|
|
controller: Controller,
|
|
|
|
bindings: {
|
|
|
|
client: '<'
|
2017-01-31 13:13:06 +00:00
|
|
|
}
|
2017-06-03 11:01:47 +00:00
|
|
|
});
|