From 3626777bd1503a4a89b564065982d370aa0326c2 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 26 Jun 2025 19:12:25 -0400 Subject: [PATCH] Fix Item name and Description Alignment in PDF Exports --- guest/guest_post.php | 10 ++++------ post/user/invoice.php | 5 ++--- post/user/quote.php | 5 ++--- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/guest/guest_post.php b/guest/guest_post.php index 88fccbaa..eebd873b 100644 --- a/guest/guest_post.php +++ b/guest/guest_post.php @@ -356,9 +356,8 @@ if (isset($_GET['export_quote_pdf'])) { $html .= ' - - ' . $name . '
- ' . nl2br($desc) . ' + ' . $name . ' +
' . nl2br($desc) . ' ' . number_format($qty, 2) . ' ' . numfmt_format_currency($currency_format, $price, $quote_currency_code) . ' @@ -576,9 +575,8 @@ if (isset($_GET['export_invoice_pdf'])) { $html .= ' - - ' . $name . '
- ' . nl2br($desc) . ' + ' . $name . ' +
' . nl2br($desc) . ' ' . number_format($qty, 2) . ' ' . numfmt_format_currency($currency_format, $price, $invoice_currency_code) . ' diff --git a/post/user/invoice.php b/post/user/invoice.php index 2cc535e9..5a7dbc3c 100644 --- a/post/user/invoice.php +++ b/post/user/invoice.php @@ -1983,9 +1983,8 @@ if (isset($_GET['export_invoice_pdf'])) { $html .= ' - - ' . $name . '
- ' . nl2br($desc) . ' + ' . $name . ' +
' . nl2br($desc) . ' ' . number_format($qty, 2) . ' ' . numfmt_format_currency($currency_format, $price, $invoice_currency_code) . ' diff --git a/post/user/quote.php b/post/user/quote.php index 96ecb4c1..84c3cea1 100644 --- a/post/user/quote.php +++ b/post/user/quote.php @@ -766,9 +766,8 @@ if (isset($_GET['export_quote_pdf'])) { $html .= ' - - ' . $name . '
- ' . nl2br($desc) . ' + ' . $name . ' +
' . nl2br($desc) . ' ' . number_format($qty, 2) . ' ' . numfmt_format_currency($currency_format, $price, $quote_currency_code) . '