From 1789fedd94e863df5250cff9d9912b0dd0291da2 Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Tue, 1 Oct 2019 15:12:02 +0200 Subject: [PATCH 1/2] fiscal name ignore case --- 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 2522e1413..58aac9ccd 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-Z0-9\s]*$/); + const regexp = new RegExp(/^[ñça-zA-Z0-9\s]*$/i); return regexp.test(value); } From 199529b3b97926ebfe69a031f17cce1cdb3f1e41 Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Tue, 1 Oct 2019 15:12:02 +0200 Subject: [PATCH 2/2] fiscal name ignore case --- 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 2522e1413..58aac9ccd 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-Z0-9\s]*$/); + const regexp = new RegExp(/^[ñça-zA-Z0-9\s]*$/i); return regexp.test(value); }