git://git.iain.cx/iain
/
readifood.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
94ef7ca
)
Compact delivery details.
2020-08-31
author
Iain Patterson
<me@iain.cx>
Mon, 31 Aug 2020 12:44:11 +0000
(08:44 -0400)
committer
Iain Patterson
<me@iain.cx>
Mon, 31 Aug 2020 12:44:11 +0000
(08:44 -0400)
lib/delivery.php
patch
|
blob
|
history
diff --git
a/lib/delivery.php
b/lib/delivery.php
index
9cdd338
..
6d7643b
100644
(file)
--- a/
lib/delivery.php
+++ b/
lib/delivery.php
@@
-154,12
+154,11
@@
}
$area = get_address_area($address);
}
$area = get_address_area($address);
- echo " in " . htmlspecialchars($area->getName()) . " at:
<br>
";
+ echo " in " . htmlspecialchars($area->getName()) . " at:";
$city = get_area_city($area);
$city = get_area_city($area);
- echo "\n<br>" . htmlspecialchars($address->getLine());
- echo "\n<br>" . htmlspecialchars($city->getName());
- echo "\n<br>" . htmlspecialchars($address->getPostcode());
- if (count($phones)) echo "\n<br><br>Telephone <strong>" . implode(" or ", $phones) . "</strong>";
+ echo "\n" . htmlspecialchars($address->getLine());
+ echo ",\n" . htmlspecialchars($address->getPostcode());
+ if (count($phones)) echo ";\nTelephone <strong>" . implode(" or ", $phones) . "</strong>";
echo "</p>\n";
$notes = $order->getNotes();
echo "</p>\n";
$notes = $order->getNotes();