From 23e150f244856dc36d7c5d09212cbad85f56602a Mon Sep 17 00:00:00 2001 From: carlossa Date: Tue, 28 Mar 2023 14:39:24 +0200 Subject: [PATCH] refs #5213 description y traduccion --- modules/client/front/locale/es.yml | 3 ++- modules/supplier/back/methods/supplier/consumption.js | 9 ++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) 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',