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 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) {