From: Iain Patterson Date: Mon, 31 Aug 2020 12:44:11 +0000 (-0400) Subject: Compact delivery details. X-Git-Tag: uat-2020-08-31^0 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=eb1517e51ab8bebf76b2b91503580045b0d03175;p=readifood.git Compact delivery details. --- 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();