X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=lib%2Fdelivery.php;h=574094ada01704f4d684b03be6458c59e62225dd;hb=refs%2Ftags%2F2022-10-31;hp=6d7643bcd06f3a4d2b8d47a0eadc4188df8598ae;hpb=26341dfbe99a6109175181170e6ea56cb65cf502;p=readifood.git diff --git a/lib/delivery.php b/lib/delivery.php index 6d7643b..574094a 100644 --- a/lib/delivery.php +++ b/lib/delivery.php @@ -122,15 +122,17 @@ } if ($count > 1) { - echo "
\n"; + echo "

$count orders

"; echo "

Drag delivery details to reorder the schedule.

\n"; + echo "
\n"; } + else echo "

1 order

"; foreach ($orders as $order) { $contact = get_contact_by_id($order->getBeneficiaryId()); if (! $contact) continue; - echo "\n"; + echo "
"; $phones = array(); $area = get_contact_area($contact); @@ -169,7 +171,7 @@ } echo "
\n"; - echo "\n\n"; + echo "
\n\n"; } if ($count > 1) echo "
\n";