mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-18 19:23:10 +01:00
Fix stampa ordini con immagine
This commit is contained in:
parent
3edf623da0
commit
322e7483f5
@ -174,7 +174,19 @@ foreach ($righe as $riga) {
|
||||
<td>'.$r['descrizione'];
|
||||
} else {
|
||||
echo $num.'
|
||||
</td>
|
||||
</td>';
|
||||
if ($has_image) {
|
||||
if ($riga->isArticolo() && !empty($riga->articolo->image)) {
|
||||
echo '
|
||||
<td align="center">
|
||||
<img src="'.$riga->articolo->image.'" style="max-height: 80px; max-width:120px">
|
||||
</td>';
|
||||
} else {
|
||||
echo '
|
||||
<td></td>';
|
||||
}
|
||||
}
|
||||
echo '
|
||||
<td>'.nl2br($r['descrizione']);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user