From 322e7483f5f3b4920a4865647891520ed5a3054c Mon Sep 17 00:00:00 2001 From: Pek5892 Date: Wed, 10 Jan 2024 15:08:09 +0100 Subject: [PATCH] Fix stampa ordini con immagine --- templates/ordini/body.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/templates/ordini/body.php b/templates/ordini/body.php index ae26a3171..2f66bd640 100755 --- a/templates/ordini/body.php +++ b/templates/ordini/body.php @@ -174,7 +174,19 @@ foreach ($righe as $riga) { '.$r['descrizione']; } else { echo $num.' - + '; + if ($has_image) { + if ($riga->isArticolo() && !empty($riga->articolo->image)) { + echo ' + + + '; + } else { + echo ' + '; + } + } + echo ' '.nl2br($r['descrizione']); }