diff --git a/assets/src/css/style.css b/assets/src/css/style.css index bb264bb1d..e03c97510 100644 --- a/assets/src/css/style.css +++ b/assets/src/css/style.css @@ -584,6 +584,19 @@ input.small-width { text-decoration: none; } +/*fix per tabs editor */ .nav-tabs-custom > .nav-tabs > li{ - border-top: 3px solid #ddd; + border-top: 3px solid #ddd; +} +.nav-tabs-custom > .nav-tabs.pull-right > li:first-of-type.active > a{ + border-right-color: #f4f4f4; + border-right-width : 1px; + border-left-width : 0px; +} +.nav-tabs-custom > .nav-tabs > li.header{ + padding:0px; +} +.nav-tabs-custom > .nav-tabs > li{ + margin-bottom:-1px; + margin-right: 0px; } \ No newline at end of file diff --git a/modules/anagrafiche/actions.php b/modules/anagrafiche/actions.php index 967716cfb..9c08d8e76 100644 --- a/modules/anagrafiche/actions.php +++ b/modules/anagrafiche/actions.php @@ -48,6 +48,8 @@ switch (post('op')) { 'idlistino_vendite' => $post['idlistino_vendite'], 'idiva_acquisti' => $post['idiva_acquisti'], 'idiva_vendite' => $post['idiva_vendite'], + 'idbanca_acquisti' => $post['idbanca_acquisti'], + 'idbanca_vendite' => $post['idbanca_vendite'], 'settore' => $post['settore'], 'marche' => $post['marche'], 'dipendenti' => $post['dipendenti'], diff --git a/modules/anagrafiche/edit.php b/modules/anagrafiche/edit.php index f9f2b770f..6dc22d763 100644 --- a/modules/anagrafiche/edit.php +++ b/modules/anagrafiche/edit.php @@ -150,65 +150,82 @@ if (!$cliente) { if ($cliente || $fornitore) { ?> - -
-
-

+ + + + +
+
+

- -
-
- {[ "type": "select", "label": "", "name": "idpagamento_acquisti", "values": "query=SELECT id, descrizione FROM co_pagamenti GROUP BY descrizione ORDER BY descrizione ASC", "value": "$idpagamento_acquisti$" ]} -
- -
- {[ "type": "select", "label": "", "name": "idlistino_acquisti", "values": "query=SELECT id, nome AS descrizione FROM mg_listini ORDER BY nome ASC", "value": "$idlistino_acquisti$" ]} -
- -
- {[ "type": "select", "label": "", "name": "idiva_acquisti", "values": "query=SELECT id, descrizione FROM co_iva ORDER BY descrizione ASC", "value": "$idiva_acquisti$" ]} -
-
- -
-
- {[ "type": "select", "label": "", "name": "idpagamento_vendite", "values": "query=SELECT id, descrizione FROM co_pagamenti GROUP BY descrizione ORDER BY descrizione ASC", "value": "$idpagamento_vendite$" ]} -
- -
- {[ "type": "select", "label": "", "name": "idlistino_vendite", "values": "query=SELECT id, nome AS descrizione FROM mg_listini ORDER BY nome ASC", "value": "$idlistino_vendite$" ]} -
- -
- {[ "type": "select", "label": "", "name": "idiva_vendite", "values": "query=SELECT id, descrizione FROM co_iva ORDER BY descrizione ASC", "value": "$idiva_vendite$" ]} -
-
- -
-
- {[ "type": "select", "label": "", "name": "idsede_fatturazione", "values": "query=SELECT id, IF(citta = '', nomesede, CONCAT_WS(', ', nomesede, citta)) AS descrizione FROM an_sedi WHERE idanagrafica='' UNION SELECT '0' AS id, 'Sede legale' AS descrizione ORDER BY descrizione", "value": "$idsede_fatturazione$" ]} +
+
+ {[ "type": "select", "label": "", "name": "idpagamento_acquisti", "values": "query=SELECT id, descrizione FROM co_pagamenti GROUP BY descrizione ORDER BY descrizione ASC", "value": "$idpagamento_acquisti$", "extra": "" ]}
-
- {[ "type": "select", "label": "", "name": "idtipointervento_default", "values": "query=SELECT idtipointervento AS id, descrizione FROM in_tipiintervento ORDER BY descrizione ASC", "value": "$idtipointervento_default$" ]} +
+ {[ "type": "select", "label": "", "name": "idlistino_acquisti", "values": "query=SELECT id, nome AS descrizione FROM mg_listini ORDER BY nome ASC", "value": "$idlistino_acquisti$", "extra": "" ]}
-
- {[ "type": "select", "label": "Agente principale", "name": "idagente", "values": "query=SELECT an_anagrafiche.idanagrafica AS id, IF(deleted=1, CONCAT(ragione_sociale, ' (Eliminato)'), ragione_sociale ) AS descrizione FROM an_anagrafiche INNER JOIN (an_tipianagrafiche_anagrafiche INNER JOIN an_tipianagrafiche ON an_tipianagrafiche_anagrafiche.idtipoanagrafica=an_tipianagrafiche.idtipoanagrafica) ON an_anagrafiche.idanagrafica=an_tipianagrafiche_anagrafiche.idanagrafica WHERE (descrizione='Agente' AND deleted=0)ORDER BY ragione_sociale", "value": "$idagente$" ]} +
+ {[ "type": "select", "label": "", "name": "idiva_acquisti", "values": "query=SELECT id, descrizione FROM co_iva ORDER BY descrizione ASC", "value": "$idiva_acquisti$", "extra": "" ]} +
+ +
+ {[ "type": "select", "label": "", "name": "idbanca_acquisti", "values": "query=SELECT id, nome AS descrizione FROM co_banche ORDER BY nome ASC", "value": "$idbanca_acquisti$", "extra": "" ]} +
+ +
+ +
+
+ + + + +
+
+

+
+ +
+ +
+
+ {[ "type": "select", "label": "", "name": "idpagamento_vendite", "values": "query=SELECT id, descrizione FROM co_pagamenti GROUP BY descrizione ORDER BY descrizione ASC", "value": "$idpagamento_vendite$", "extra": "" ]} +
+ +
+ {[ "type": "select", "label": "", "name": "idlistino_vendite", "values": "query=SELECT id, nome AS descrizione FROM mg_listini ORDER BY nome ASC", "value": "$idlistino_vendite$", "extra": "" ]} +
+ +
+ {[ "type": "select", "label": "", "name": "idiva_vendite", "values": "query=SELECT id, descrizione FROM co_iva ORDER BY descrizione ASC", "value": "$idiva_vendite$", "extra": "" ]} +
+ +
+ {[ "type": "select", "label": "", "name": "idbanca_vendite", "values": "query=SELECT id, nome AS descrizione FROM co_banche ORDER BY nome ASC", "value": "$idbanca_vendite$", "extra": "" ]} +
+ +
+ {[ "type": "select", "label": "", "name": "idsede_fatturazione", "values": "query=SELECT id, IF(citta = '', nomesede, CONCAT_WS(', ', nomesede, citta)) AS descrizione FROM an_sedi WHERE idanagrafica='' UNION SELECT '0' AS id, 'Sede legale' AS descrizione ORDER BY descrizione", "value": "$idsede_fatturazione$" , "extra": "" ]} +
+ +
+ {[ "type": "select", "label": "", "name": "idtipointervento_default", "values": "query=SELECT idtipointervento AS id, descrizione FROM in_tipiintervento ORDER BY descrizione ASC", "value": "$idtipointervento_default$", "extra": "" ]} +
+ +
+ {[ "type": "select", "label": "Agente principale", "name": "idagente", "values": "query=SELECT an_anagrafiche.idanagrafica AS id, IF(deleted=1, CONCAT(ragione_sociale, ' (Eliminato)'), ragione_sociale ) AS descrizione FROM an_anagrafiche INNER JOIN (an_tipianagrafiche_anagrafiche INNER JOIN an_tipianagrafiche ON an_tipianagrafiche_anagrafiche.idtipoanagrafica=an_tipianagrafiche.idtipoanagrafica) ON an_anagrafiche.idanagrafica=an_tipianagrafiche_anagrafiche.idanagrafica WHERE (descrizione='Agente' AND deleted=0)ORDER BY ragione_sociale", "value": "$idagente$", "extra": "" ]}
+
+ @@ -253,6 +270,11 @@ if ($fornitore) { {[ "type": "text", "label": "", "name": "capitale_sociale", "value": "$capitale_sociale$" ]}
+ +
{[ "type": "text", "label": "", "name": "appoggiobancario", "value": "$appoggiobancario$" ]} @@ -270,6 +292,11 @@ if ($fornitore) { {[ "type": "text", "label": "", "name": "bic", "value": "$bic$" ]}
+ + +
{[ "type": "text", "label": "", "name": "diciturafissafattura", "value": "$diciturafissafattura$" ]} @@ -301,7 +328,7 @@ if ($fornitore) { '.tr('Questa anagrafica appartiene alla tipologia "Azienda"').'.

'; +

'.tr('Questa anagrafica appartiene alla tipologia "Azienda"').'.

'; } ?>
diff --git a/modules/banche/edit.php b/modules/banche/edit.php index 17676fef9..47c6cc53b 100644 --- a/modules/banche/edit.php +++ b/modules/banche/edit.php @@ -30,10 +30,10 @@ include_once __DIR__.'/../../core.php';
- {[ "type": "text", "label": "", "name": "iban", "value": "$iban$" ]} + {[ "type": "text", "label": "", "name": "iban", "class": "alphanumeric-mask", "maxlength": 32, "value": "$iban$" ]}
- {[ "type": "text", "label": "", "name": "bic", "value": "$bic$" ]} + {[ "type": "text", "label": "", "name": "bic", "class": "alphanumeric-mask", "maxlength": 11, "value": "$bic$" ]}
@@ -42,8 +42,6 @@ include_once __DIR__.'/../../core.php'; {[ "type": "textarea", "label": "", "name": "note", "required": 0, "class": "", "value": "$note$", "extra": "" ]}
- -