diff --git a/modules/client/front/locale/es.yml b/modules/client/front/locale/es.yml index de4b91e0b..45ae33914 100644 --- a/modules/client/front/locale/es.yml +++ b/modules/client/front/locale/es.yml @@ -63,4 +63,5 @@ Consumption: Consumo Compensation Account: Cuenta para compensar Amount to return: Cantidad a devolver Delivered amount: Cantidad entregada -Unpaid: Impagado \ No newline at end of file +Unpaid: Impagado +There is no zona: No hay zona \ No newline at end of file diff --git a/modules/supplier/back/methods/supplier/consumption.js b/modules/supplier/back/methods/supplier/consumption.js index 710db1bb1..9a03630f2 100644 --- a/modules/supplier/back/methods/supplier/consumption.js +++ b/modules/supplier/back/methods/supplier/consumption.js @@ -19,7 +19,14 @@ module.exports = Self => { }, { arg: 'itemId', type: 'Number', - description: 'Item id' + description: 'Item id', + // descriptor + get: function() { + return this._itemId; + }, + set: function(value) { + this._itemId = value; + } }, { arg: 'categoryId', type: 'Number',