2018-05-23 12:26:51 +00:00
|
|
|
import ngModule from '../../module';
|
2017-02-07 11:58:25 +00:00
|
|
|
|
2017-06-03 11:01:47 +00:00
|
|
|
export default class Controller {
|
|
|
|
constructor($state) {
|
2017-02-07 11:58:25 +00:00
|
|
|
this.address = {
|
2017-05-18 11:27:45 +00:00
|
|
|
clientFk: parseInt($state.params.id),
|
2018-01-29 11:37:54 +00:00
|
|
|
isActive: true
|
2017-02-07 11:58:25 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
2017-06-03 11:01:47 +00:00
|
|
|
Controller.$inject = ['$state'];
|
2017-02-07 11:58:25 +00:00
|
|
|
|
2018-05-23 12:26:51 +00:00
|
|
|
ngModule.component('vnClientAddressCreate', {
|
|
|
|
template: require('./index.html'),
|
2017-02-07 11:58:25 +00:00
|
|
|
controller: Controller
|
2017-06-03 11:01:47 +00:00
|
|
|
});
|