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