From 94df2653291cdf1df12eeaf995772eba98b2cc2e Mon Sep 17 00:00:00 2001 From: Matteo Date: Mon, 5 Sep 2022 11:56:12 +0200 Subject: [PATCH 1/2] Fix per numero ordine in menu a tendina --- modules/ordini/ajax/select.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ordini/ajax/select.php b/modules/ordini/ajax/select.php index 184505ff8..ee6bb6b3c 100644 --- a/modules/ordini/ajax/select.php +++ b/modules/ordini/ajax/select.php @@ -27,7 +27,7 @@ switch ($resource) { case 'ordini-cliente': if (isset($superselect['idanagrafica'])) { $query = 'SELECT or_ordini.id AS id, - CONCAT("Ordine ", numero, " del ", DATE_FORMAT(data, "%d/%m/%Y"), " [", (SELECT `descrizione` FROM `or_statiordine` WHERE `or_statiordine`.`id` = `idstatoordine`) , "]") AS descrizione + CONCAT("Ordine ", numero_esterno, " del ", DATE_FORMAT(data, "%d/%m/%Y"), " [", (SELECT `descrizione` FROM `or_statiordine` WHERE `or_statiordine`.`id` = `idstatoordine`) , "]") AS descrizione FROM or_ordini INNER JOIN or_tipiordine ON or_ordini.idtipoordine = or_tipiordine.id INNER JOIN an_anagrafiche ON or_ordini.idanagrafica = an_anagrafiche.idanagrafica From cb9add0687f849d4a544878437308440f359ab48 Mon Sep 17 00:00:00 2001 From: loviuz Date: Mon, 5 Sep 2022 15:33:40 +0200 Subject: [PATCH 2/2] Rimozione file deprecato --- update/2_4_36.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/update/2_4_36.php b/update/2_4_36.php index c5db43ee6..c7f48c82c 100644 --- a/update/2_4_36.php +++ b/update/2_4_36.php @@ -1,5 +1,16 @@ $value) { + $files[$key] = realpath(base_dir().'/'.$value); +} + +delete($files); + $scadenze = $dbo->fetchArray('SELECT * FROM co_scadenziario'); foreach ($scadenze as $scadenza) {