From 6924b05c8a45dc05044a67e8c3c271ed32875b58 Mon Sep 17 00:00:00 2001 From: vicent Date: Mon, 17 Oct 2022 10:19:07 +0200 Subject: [PATCH] feat: add radio button --- .../back/methods/invoiceOut/globalInvoicing.js | 2 +- .../front/index/global-invoicing/index.html | 12 ++++++++++++ .../invoiceOut/front/index/global-invoicing/index.js | 3 +++ .../front/index/global-invoicing/locale/es.yml | 4 +++- 4 files changed, 19 insertions(+), 2 deletions(-) diff --git a/modules/invoiceOut/back/methods/invoiceOut/globalInvoicing.js b/modules/invoiceOut/back/methods/invoiceOut/globalInvoicing.js index b9d4b1e329..6aa2ecc076 100644 --- a/modules/invoiceOut/back/methods/invoiceOut/globalInvoicing.js +++ b/modules/invoiceOut/back/methods/invoiceOut/globalInvoicing.js @@ -36,7 +36,7 @@ module.exports = Self => { arg: 'toClientId', type: 'number', description: 'The maximum client id', - required: false + required: true }, { arg: 'companyFk', diff --git a/modules/invoiceOut/front/index/global-invoicing/index.html b/modules/invoiceOut/front/index/global-invoicing/index.html index a6c7661f53..7f96397f55 100644 --- a/modules/invoiceOut/front/index/global-invoicing/index.html +++ b/modules/invoiceOut/front/index/global-invoicing/index.html @@ -37,6 +37,18 @@ + + + + + + { const clientsAndAddresses = res.data.clientsAndAddresses; diff --git a/modules/invoiceOut/front/index/global-invoicing/locale/es.yml b/modules/invoiceOut/front/index/global-invoicing/locale/es.yml index 6245ee2089..8ac2cc13a2 100644 --- a/modules/invoiceOut/front/index/global-invoicing/locale/es.yml +++ b/modules/invoiceOut/front/index/global-invoicing/locale/es.yml @@ -8,4 +8,6 @@ To client: Hasta el cliente Invoice date and the max date should be filled: La fecha de factura y la fecha límite deben rellenarse Choose a valid clients range: Selecciona un rango válido de clientes of: de -Id Client: Id Cliente \ No newline at end of file +Id Client: Id Cliente +All clients: Todos los clientes +Clients range: Rango de clientes \ No newline at end of file