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
6d7643b
..
574094a
100644
(file)
--- a/
lib/delivery.php
+++ b/
lib/delivery.php
@@
-122,15
+122,17
@@
}
if ($count > 1) {
}
if ($count > 1) {
- echo "<
div class=\"sortable\">\n
";
+ echo "<
h4>$count orders</h4>
";
echo "<p class=\"noprint\">Drag delivery details to reorder the schedule.</p>\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 "<
span>\n
";
+ echo "<
div class=\"delivery\">
";
$phones = array();
$area = get_contact_area($contact);
$phones = array();
$area = get_contact_area($contact);
@@
-169,7
+171,7
@@
}
echo "<hr>\n";
}
echo "<hr>\n";
- echo "</
span
>\n\n";
+ echo "</
div
>\n\n";
}
if ($count > 1) echo "</div>\n";
}
if ($count > 1) echo "</div>\n";