diff --git a/modules/anagrafiche/edit.php b/modules/anagrafiche/edit.php index 6f0e05164..37ebe1da2 100644 --- a/modules/anagrafiche/edit.php +++ b/modules/anagrafiche/edit.php @@ -265,11 +265,12 @@ if (!empty($google)) { $piano_dei_conti_fornitore = tr('_NAME_', [ '_NAME_' => $conto['numero'].'.'.$conto['numero_conto'].' '.$conto['descrizione'], ]); + echo Modules::link('Piano dei conti', null, null, null, 'class="pull-right"'); } else { $piano_dei_conti_fornitore = tr('Nessuno'); } - echo Modules::link('Piano dei conti', null, null, null, 'class="pull-right"'); ?> + ?> {[ "type": "select", "label": "", "name": "piano_dei_conti_fornitore", "values": "list=\"\": \"\"", "readonly": 1, "value": "", "extra": "" ]} @@ -295,7 +296,7 @@ if (!empty($google)) {
- {[ "type": "select", "label": "", "name": "idbanca_vendite", "values": "query=SELECT id, nome AS descrizione FROM co_banche ORDER BY nome ASC", "value": "$idbanca_vendite$", "extra": "", "icon-after": "add||||" ]} + {[ "type": "select", "label": "", "name": "idbanca_vendite", "values": "query=SELECT id, nome AS descrizione FROM co_banche ORDER BY nome ASC", "value": "$idbanca_vendite$", "extra": "", "icon-after": "add||||", "help": "" ]}
@@ -321,11 +322,11 @@ if (!empty($google)) {
- {[ "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": "", "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_at IS NOT NULL, 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_at IS NULL)ORDER BY ragione_sociale", "value": "$idagente$", "extra": "" ]} + {[ "type": "select", "label": "", "name": "idagente", "values": "query=SELECT an_anagrafiche.idanagrafica AS id, IF(deleted_at IS NOT NULL, 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_at IS NULL)ORDER BY ragione_sociale", "value": "$idagente$", "extra": "" ]}
@@ -343,11 +344,14 @@ if (!empty($google)) { $piano_dei_conti_cliente = tr('_NAME_', [ '_NAME_' => $conto['numero'].'.'.$conto['numero_conto'].' '.$conto['descrizione'], ]); + echo Modules::link('Piano dei conti', null, null, null, 'class="pull-right"'); } else { $piano_dei_conti_cliente = tr('Nessuno'); } - echo Modules::link('Piano dei conti', null, null, null, 'class="pull-right"'); ?> {[ "type": "select", "label": "", "name": "piano_dei_conti_cliente", "values": "list=\"\": \"\"", "readonly": 1, "value": "", "extra": "" ]} + ?> + + {[ "type": "select", "label": "", "name": "piano_dei_conti_cliente", "values": "list=\"\": \"\"", "readonly": 1, "value": "", "extra": "" ]}
@@ -410,7 +414,7 @@ if (!empty($google)) {
diff --git a/modules/emails/edit.php b/modules/emails/edit.php index 821990eb7..6c6852e89 100644 --- a/modules/emails/edit.php +++ b/modules/emails/edit.php @@ -127,4 +127,4 @@ echo ' - + \ No newline at end of file diff --git a/modules/smtp/edit.php b/modules/smtp/edit.php index a9e4d5085..76a1c5afa 100644 --- a/modules/smtp/edit.php +++ b/modules/smtp/edit.php @@ -64,7 +64,7 @@ include_once __DIR__.'/../../core.php';
- {[ "type": "password", "label": "", "name": "password", "value": "$password$" ]} + {[ "type": "password", "label": "", "class": "", "name": "password", "value": "$password$", "icon-after": "\" class=\"fa fa-eye clickable\" >" ]}
@@ -113,3 +113,25 @@ if (!empty($elementi)) { '.tr('Elimina').' '; } +?> + + \ No newline at end of file diff --git a/modules/viste/edit.php b/modules/viste/edit.php index df4d18b9f..e89d8923b 100644 --- a/modules/viste/edit.php +++ b/modules/viste/edit.php @@ -76,7 +76,7 @@ echo ' '; -if (!empty($options) && $options != 'custom') { +if (!empty($options) && $options != 'custom' && $options != 'menu') { echo '