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