From a091674f08dc520d29688ea657211f4aba24d012 Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Tue, 24 Sep 2019 07:47:06 +0200 Subject: [PATCH] allowed numbers on fiscal name --- modules/client/back/models/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/client/back/models/client.js b/modules/client/back/models/client.js index 740066efa..2522e1413 100644 --- a/modules/client/back/models/client.js +++ b/modules/client/back/models/client.js @@ -168,7 +168,7 @@ module.exports = Self => { } function isAlpha(value) { - const regexp = new RegExp(/^[ñça-zA-Z\s]*$/); + const regexp = new RegExp(/^[ñça-zA-Z0-9\s]*$/); return regexp.test(value); }