mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-02 08:56:48 +01:00
Fix vari
This commit is contained in:
parent
97bc123997
commit
70cf3401b4
@ -1003,7 +1003,8 @@ function start_inputmask(element) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$(element+'.alphanumeric-mask').inputmask('Regex', {
|
$(element+'.alphanumeric-mask').inputmask('Regex', {
|
||||||
regex: "[A-Za-z0-9]{10}",
|
regex: "[A-Za-z0-9]*",
|
||||||
|
casing: "upper",
|
||||||
});
|
});
|
||||||
|
|
||||||
if (isMobile.any()) {
|
if (isMobile.any()) {
|
||||||
|
@ -47,11 +47,11 @@ if (!$cliente) {
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
{[ "type": "text", "label": "<?php echo tr('Partita IVA'); ?>", "maxlength": 13, "name": "piva", "class": "text-center text-uppercase", "value": "$piva$" ]}
|
{[ "type": "text", "label": "<?php echo tr('Partita IVA'); ?>", "maxlength": 13, "name": "piva", "class": "text-center alphanumeric-mask", "value": "$piva$" ]}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
{[ "type": "text", "label": "<?php echo tr('Codice fiscale'); ?>", "maxlength": 16, "name": "codice_fiscale", "class": "text-center text-uppercase", "value": "$codice_fiscale$" ]}
|
{[ "type": "text", "label": "<?php echo tr('Codice fiscale'); ?>", "maxlength": 16, "name": "codice_fiscale", "class": "text-center alphanumeric-mask", "value": "$codice_fiscale$" ]}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
|
@ -8,7 +8,7 @@ include_once __DIR__.'/../../core.php';
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
{[ "type": "text", "label": "<?php echo tr('Codice'); ?>", "name": "idstatointervento", "class": "alphanumeric-mask", "required": 1, "value": "" ]}
|
{[ "type": "text", "label": "<?php echo tr('Codice'); ?>", "name": "idstatointervento", "maxlength": 10, "class": "alphanumeric-mask", "required": 1, "value": "" ]}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
|
@ -274,3 +274,7 @@ INSERT INTO `zz_settings` (`idimpostazione`, `nome`, `valore`, `tipo`, `editable
|
|||||||
|
|
||||||
-- apilayer API key (per validazione piva)
|
-- apilayer API key (per validazione piva)
|
||||||
INSERT INTO `zz_settings` (`idimpostazione`, `nome`, `valore`, `tipo`, `editable`, `sezione`) VALUES (NULL, 'apilayer API key for VAT number', '', 'string', '1', 'Generali');
|
INSERT INTO `zz_settings` (`idimpostazione`, `nome`, `valore`, `tipo`, `editable`, `sezione`) VALUES (NULL, 'apilayer API key for VAT number', '', 'string', '1', 'Generali');
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Aggiorno query modulo movimenti per ordinarli in funzione della data del movimento
|
||||||
|
UPDATE `zz_modules` SET `options` = 'SELECT |select| FROM `mg_movimenti` JOIN `mg_articoli` ON `mg_articoli`.id = `mg_movimenti`.`idarticolo` WHERE 1=1 HAVING 2=2 ORDER BY `Data` DESC' WHERE `zz_modules`.`name` = 'Movimenti';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user