Drag delivery details to reorder the schedule.
\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);
@@ -154,12 +156,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();
@@ -170,7 +171,7 @@
}
echo "
\n";
- echo "\n\n";
+ echo "\n\n";
}
if ($count > 1) echo "