diff --git a/include/bottom.php b/include/bottom.php index 3f7b12d1b..240210e24 100644 --- a/include/bottom.php +++ b/include/bottom.php @@ -28,13 +28,15 @@ if (Auth::check()) { '; } - $custom_css = get_var('CSS Personalizzato'); if (!empty($debug)) { - $custom_css .= 'div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-copy-clipboard:before, div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-database:before, div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-duration:before, div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-memory:before, div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-row-count:before, div.phpdebugbar-widgets-sqlqueries span.phpdebugbar-widgets-stmt-id:before { + echo ' + + '; } + $custom_css = get_var('CSS Personalizzato'); if (!empty($custom_css)) { echo ' '; diff --git a/modules/fatture/edit.php b/modules/fatture/edit.php index f352074e2..4ab5f8441 100644 --- a/modules/fatture/edit.php +++ b/modules/fatture/edit.php @@ -51,7 +51,7 @@ if ($dir == 'uscita') {
- {[ "type": "select", "label": "", "name": "idstatodocumento", "required": 1, "values": "query=SELECT * FROM co_statidocumento", "value": "$idstatodocumento$" ]} + {[ "type": "select", "label": "", "name": "idstatodocumento", "required": 1, "values": "query=SELECT * FROM co_statidocumento", "value": "$idstatodocumento$", "extra": " onchange = \"if ($('#idstatodocumento option:selected').text()=='Pagato'){if( confirm('Sicuri di voler impostare manualmente la fattura come pagata senza aggiungerla in prima nota?') ){ return true; }else{ $('#idstatodocumento').selectSet(); }}\" " ]}