git://git.iain.cx/iain
/
readifood.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jQuery 3.6.1.
[readifood.git]
/
lib
/
delivery.php
diff --git
a/lib/delivery.php
b/lib/delivery.php
index
006112c
..
574094a
100644
(file)
--- a/
lib/delivery.php
+++ b/
lib/delivery.php
@@
-122,15
+122,17
@@
}
if ($count > 1) {
}
if ($count > 1) {
+ echo "<h4>$count orders</h4>";
echo "<p class=\"noprint\">Drag delivery details to reorder the schedule.</p>\n";
echo "<div class=\"sortable\">\n";
}
echo "<p class=\"noprint\">Drag delivery details to reorder the schedule.</p>\n";
echo "<div class=\"sortable\">\n";
}
+ else echo "<h4>1 order</h4>";
foreach ($orders as $order) {
$contact = get_contact_by_id($order->getBeneficiaryId());
if (! $contact) continue;
foreach ($orders as $order) {
$contact = get_contact_by_id($order->getBeneficiaryId());
if (! $contact) continue;
- echo "<div>";
+ echo "<div
class=\"delivery\"
>";
$phones = array();
$area = get_contact_area($contact);
$phones = array();
$area = get_contact_area($contact);