From 36dc4c5a707ac053e665455e0f0da080c63a631e Mon Sep 17 00:00:00 2001 From: Luca Date: Fri, 30 Nov 2018 17:12:25 +0100 Subject: [PATCH] Controllo campo codice iva --- modules/iva/add.php | 2 +- modules/iva/edit.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/iva/add.php b/modules/iva/add.php index a68e3766f..0f9662ff7 100644 --- a/modules/iva/add.php +++ b/modules/iva/add.php @@ -12,7 +12,7 @@ include_once __DIR__.'/../../core.php';
- {[ "type": "text", "label": "", "name": "codice", "class":"alphanumeric-mask", "maxlength": 10 ]} + {[ "type": "number", "label": "", "name": "codice", "decimals":0, "min-value":"0", "max-value":"999", "maxlength": 3 ]}
diff --git a/modules/iva/edit.php b/modules/iva/edit.php index f29ea0bce..bfa5fe03d 100644 --- a/modules/iva/edit.php +++ b/modules/iva/edit.php @@ -57,7 +57,7 @@ $esigibilita = [
- {[ "type": "text", "label": "", "name": "codice", "value": "$codice$", "class":"alphanumeric-mask", "maxlength": 10, "extra": "" ]} + {[ "type": "number", "label": "", "name": "codice", "value": "$codice$", "decimals":0, "min-value":"0", "max-value":"999", "maxlength": 3, "extra": "" ]}