2018-05-23 12:26:51 +00:00
|
|
|
import ngModule from '../../../module';
|
2018-03-14 10:36:57 +00:00
|
|
|
|
|
|
|
class Controller {
|
2018-05-31 05:59:42 +00:00
|
|
|
constructor($filter) {
|
2018-03-14 10:36:57 +00:00
|
|
|
this.insurance = {
|
|
|
|
created: $filter('date')(new Date(), 'yyyy-MM-dd HH:mm')
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-31 05:59:42 +00:00
|
|
|
Controller.$inject = ['$filter'];
|
2018-03-14 10:36:57 +00:00
|
|
|
|
2018-05-23 12:26:51 +00:00
|
|
|
ngModule.component('vnClientCreditInsuranceInsuranceCreate', {
|
|
|
|
template: require('./index.html'),
|
2018-03-14 10:36:57 +00:00
|
|
|
controller: Controller,
|
|
|
|
bindings: {
|
|
|
|
client: '<'
|
|
|
|
}
|
|
|
|
});
|