From 8839e0065377d98cd3f5282bb44b5cf2d6e31c76 Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Sat, 29 Jun 2019 11:01:26 +0200 Subject: [PATCH] Fix del codice Rimozione della traduzione dell'URL openstamanager.com (se necessaria, introdurre una Impostazione). Correzione nome campo idsedi in sedi per l'utente autenticato. --- ajax_select.php | 2 +- include/bottom.php | 2 +- include/top.php | 2 +- modules/anagrafiche/actions.php | 11 +++----- modules/anagrafiche/ajax/select.php | 6 ++-- modules/articoli/actions.php | 10 ++----- modules/articoli/edit.php | 5 ++-- .../articoli/plugins/articoli.giacenze.php | 14 +++++----- modules/contratti/actions.php | 4 +-- modules/ddt/edit.php | 6 ++-- modules/ddt/init.php | 5 ++-- modules/ddt/src/DDT.php | 6 ++-- modules/fatture/add_intervento.php | 3 +- modules/fatture/bulk.php | 28 ++++++++----------- modules/fatture/edit.php | 12 ++++---- modules/fatture/src/Fattura.php | 9 +++--- modules/interventi/src/Intervento.php | 4 +-- modules/tecnici_tariffe/edit.php | 8 +----- modules/tipi_scadenze/actions.php | 13 ++++----- modules/tipi_scadenze/ajax/select.php | 2 +- modules/tipi_scadenze/edit.php | 15 ++++------ modules/utenti/actions.php | 8 +++--- modules/utenti/edit.php | 6 ++-- modules/utenti/user.php | 19 ++++++------- plugins/referenti/actions.php | 8 ++---- plugins/sedi/actions.php | 23 +++++++-------- src/Auth.php | 9 +++--- src/Util/Query.php | 2 +- .../pdfgen.magazzino_inventario.php | 2 +- templates/scadenzario/pdfgen.scadenzario.php | 4 --- 30 files changed, 103 insertions(+), 145 deletions(-) diff --git a/ajax_select.php b/ajax_select.php index 766fca4e4..473f522a4 100644 --- a/ajax_select.php +++ b/ajax_select.php @@ -14,7 +14,7 @@ if (!isset($resource)) { $elements = (!is_array($elements)) ? explode(',', $elements) : $elements; $results = AJAX::select($op, $elements, $search, $page, $length); - + echo json_encode($results); } diff --git a/include/bottom.php b/include/bottom.php index 6dbf41683..6eb039ec6 100644 --- a/include/bottom.php +++ b/include/bottom.php @@ -9,7 +9,7 @@ if (Auth::check()) {