Skip to content

Commit e2d8f3d

Browse files
committed
feat: prevista opzione per nascondere i codici articolo in stampa contratti
1 parent c46d762 commit e2d8f3d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

templates/contratti/body.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,11 @@
187187
}
188188

189189
if ($riga->isArticolo()) {
190-
echo nl2br('<br><small>'.$riga->codice.'</small>');
191-
$autofill->count($riga->codice, true);
190+
191+
if (!$options['hide-item-number']) {
192+
echo nl2br('<br><small>'.$riga->codice.'</small>');
193+
$autofill->count($riga->codice, true);
194+
}
192195
}
193196

194197
if ($riga->isArticolo()) {

0 commit comments

Comments
 (0)