2017-12-13 07:04:53 +00:00
|
|
|
import ngModule from '../module';
|
2018-07-16 06:00:04 +00:00
|
|
|
|
|
|
|
class Controller {
|
|
|
|
constructor($stateParams) {
|
|
|
|
this.$stateParams = $stateParams;
|
|
|
|
this.filter = {
|
|
|
|
include: [
|
|
|
|
{
|
|
|
|
relation: "mandateType",
|
|
|
|
scope: {
|
|
|
|
fields: ["id", "name"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
relation: "company",
|
|
|
|
scope: {
|
|
|
|
fields: ["id", "code"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Controller.$inject = ['$stateParams'];
|
2017-12-13 07:04:53 +00:00
|
|
|
|
|
|
|
ngModule.component('vnClientMandate', {
|
2018-05-23 12:26:51 +00:00
|
|
|
template: require('./index.html'),
|
2018-07-16 06:00:04 +00:00
|
|
|
controller: Controller
|
2017-12-13 07:04:53 +00:00
|
|
|
});
|