Migliorie minori

This commit is contained in:
Luca 2020-06-18 09:39:33 +02:00
parent a55009a49c
commit 61ddcb364e
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ WHERE co_movimenti.idconto='.prepare($id_conto).' AND
co_movimenti.data >= '.prepare($_SESSION['period_start']).' AND
co_movimenti.data <= '.prepare($_SESSION['period_end']).'
GROUP BY co_movimenti.idmastrino
ORDER BY co_movimenti.data ASC';
ORDER BY co_movimenti.descrizione, co_movimenti.data ASC';
$movimenti = $dbo->fetchArray($query);
if (!empty($movimenti)) {

View File

@ -137,12 +137,12 @@ foreach ($righe as $riga) {
echo"
<td class=\"text-center\" >
<td class=\"text-center\" style=\"vertical-align: middle\" >
".($r['order'] + 1)."</td>";
if ($has_images) {
echo '<td class=\"text-center\" >';
echo '<td class=\"text-center\" style=\"vertical-align: middle\" >';
if (!empty($riga->articolo->immagine)) {
echo '<img src="files/articoli/'.$riga->articolo->immagine.'" width="78">';
}