Bug #348 arreglar traducciones de ticket.line

This commit is contained in:
gerard 2018-06-25 16:55:19 +02:00
parent f0cb20736b
commit ddb04a5d87
3 changed files with 11 additions and 4 deletions

View File

@ -1,10 +1,9 @@
import ngModule from '../../module';
import Component from '../../lib/component';
import './style.scss';
//import './model-proxy/model-proxy';
export default class DropDown extends Component {
constructor($element, $scope, $transclude, $timeout, $http, $translate) {
constructor($element, $scope, $transclude, $timeout, $translate) {
super($element, $scope);
this.$transclude = $transclude;
this.$timeout = $timeout;

View File

@ -50,7 +50,8 @@ export default class IconMenu extends Input {
'showFilter',
'multiple',
'limit',
'$transclude'
'$transclude',
'translateFields'
]);
this.$.dropDown.selectFields = this.getFields();
@ -79,7 +80,8 @@ ngModule.component('vnIconMenu', {
selection: '<?',
multiple: '<?',
onChange: '&?',
icon: '@?'
icon: '@?',
translateFields: '<?'
},
transclude: {
tplItem: '?tplItem'

View File

@ -0,0 +1,6 @@
New price: Nuevo precio
Add turn: Añadir a turno
Delete ticket: Borrar ticket
Mark as reserved: Marcar como reservado
Unmark as reserved: Desmarcar como reservado
Update discount: Actualizar descuento