Tarea #405 Traducciones
This commit is contained in:
parent
b4ecb82ce3
commit
ed63db0af2
|
@ -16,7 +16,7 @@
|
||||||
value="{{$ctrl.order.client.name}}">
|
value="{{$ctrl.order.client.name}}">
|
||||||
</vn-label-value>
|
</vn-label-value>
|
||||||
<vn-label-value label="State"
|
<vn-label-value label="State"
|
||||||
value="{{$ctrl.order.isConfirmed ? 'Confirmed' : 'Not Confirmed'}}">
|
value="{{$ctrl.order.isConfirmed ? $ctrl.translate.instant('Confirmed') : $ctrl.translate.instant('Not confirmed')}}">
|
||||||
</vn-label-value>
|
</vn-label-value>
|
||||||
<vn-label-value label="Sales person"
|
<vn-label-value label="Sales person"
|
||||||
value="{{$ctrl.order.client.salesPerson.firstName}} {{$ctrl.order.client.salesPerson.name}}">
|
value="{{$ctrl.order.client.salesPerson.firstName}} {{$ctrl.order.client.salesPerson.name}}">
|
||||||
|
|
|
@ -2,12 +2,12 @@ import ngModule from '../module';
|
||||||
import './style.scss';
|
import './style.scss';
|
||||||
|
|
||||||
class Controller {
|
class Controller {
|
||||||
constructor($http) {
|
constructor($translate) {
|
||||||
this.$http = $http;
|
this.translate = $translate;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Controller.$inject = ['$http'];
|
Controller.$inject = ['$translate'];
|
||||||
|
|
||||||
ngModule.component('vnOrderDescriptor', {
|
ngModule.component('vnOrderDescriptor', {
|
||||||
template: require('./index.html'),
|
template: require('./index.html'),
|
||||||
|
|
Loading…
Reference in New Issue