From b17a5e528d1385b29076c1fbd2a5ab07bf9eea42 Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Fri, 12 Jul 2019 13:04:28 +0200 Subject: [PATCH] Fix minori --- templates/ddt/body.php | 2 +- templates/ddt/init.php | 2 ++ templates/ddt/settings.php | 2 +- templates/fatture/body.php | 2 +- templates/ordini/body.php | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) 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.'';