diff --git a/templates/ddt/body.php b/templates/ddt/body.php index 1e176078a..e40637814 100644 --- a/templates/ddt/body.php +++ b/templates/ddt/body.php @@ -52,7 +52,7 @@ foreach ($righe as $riga) { // Seriali $seriali = $riga->serials; if (!empty($seriali)) { - $text = tr('SN').': '.implode($seriali, ', '); + $text = tr('SN').': '.implode(', ', $seriali); echo '
'.$text.''; diff --git a/templates/ddt/init.php b/templates/ddt/init.php index 3eedacd6e..243b22376 100644 --- a/templates/ddt/init.php +++ b/templates/ddt/init.php @@ -48,6 +48,8 @@ if (!empty($documento['idsede_destinazione'])) { if (!empty($rsd[0]['provincia'])) { $destinazione .= ' ('.$rsd[0]['provincia'].')'; } + + $settings['header-height'] += 8; } // Sostituzioni specifiche diff --git a/templates/ddt/settings.php b/templates/ddt/settings.php index 2ffe0e8fd..823eee4e4 100644 --- a/templates/ddt/settings.php +++ b/templates/ddt/settings.php @@ -1,6 +1,6 @@ 80, + 'header-height' => 67, 'footer-height' => 80, ]; diff --git a/templates/fatture/body.php b/templates/fatture/body.php index 4e2d1a141..0e679fc55 100644 --- a/templates/fatture/body.php +++ b/templates/fatture/body.php @@ -52,7 +52,7 @@ foreach ($righe as $riga) { // Seriali $seriali = $riga->serials; if (!empty($seriali)) { - $text = tr('SN').': '.implode($seriali, ', '); + $text = tr('SN').': '.implode(', ', $seriali); echo '
'.$text.''; diff --git a/templates/ordini/body.php b/templates/ordini/body.php index ca0d20305..b08443521 100644 --- a/templates/ordini/body.php +++ b/templates/ordini/body.php @@ -89,7 +89,7 @@ foreach ($righe as $riga) { // Seriali $seriali = $riga->serials; if (!empty($seriali)) { - $text = tr('SN').': '.implode($seriali, ', '); + $text = tr('SN').': '.implode(', ', $seriali); echo '
'.$text.'';