From db23472c7b7bfc9958627aafa5f8a721ff9d657a Mon Sep 17 00:00:00 2001 From: valentina Date: Thu, 7 Nov 2024 11:44:07 +0100 Subject: [PATCH] fix: stampa ordine con note --- templates/ordini/body.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/ordini/body.php b/templates/ordini/body.php index bca5f03f0..653a288a9 100755 --- a/templates/ordini/body.php +++ b/templates/ordini/body.php @@ -49,7 +49,7 @@ $has_image = $righe->search(fn ($item) => !empty($item->articolo->immagine)) !== if ($has_image) { ++$columns; - $char_number = $options['pricing'] ? 26 : 63; + } if ($documento->direzione == 'uscita') { @@ -60,7 +60,7 @@ $columns = $options['pricing'] ? $columns : $columns - 3; // Creazione righe fantasma $autofill = new Util\Autofill($columns); -$autofill->setRows(30, 0, 34); +$autofill->setRows(27, 0, 31); // Intestazione tabella per righe echo " @@ -408,5 +408,5 @@ if (!empty($documento['note'])) { echo '

'.tr('Note', [], ['upper' => true]).':

-

'.nl2br((string) $documento['note']).'

'; +

'.nl2br((string) $documento['note']).'

'; }