From eb1517e51ab8bebf76b2b91503580045b0d03175 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 31 Aug 2020 08:44:11 -0400 Subject: [PATCH] Compact delivery details. --- lib/delivery.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/delivery.php b/lib/delivery.php index 9cdd338..6d7643b 100644 --- a/lib/delivery.php +++ b/lib/delivery.php @@ -154,12 +154,11 @@ } $area = get_address_area($address); - echo " in " . htmlspecialchars($area->getName()) . " at:
"; + echo " in " . htmlspecialchars($area->getName()) . " at:"; $city = get_area_city($area); - echo "\n
" . htmlspecialchars($address->getLine()); - echo "\n
" . htmlspecialchars($city->getName()); - echo "\n
" . htmlspecialchars($address->getPostcode()); - if (count($phones)) echo "\n

Telephone " . implode(" or ", $phones) . ""; + echo "\n" . htmlspecialchars($address->getLine()); + echo ",\n" . htmlspecialchars($address->getPostcode()); + if (count($phones)) echo ";\nTelephone " . implode(" or ", $phones) . ""; echo "

\n"; $notes = $order->getNotes(); -- 2.7.4