+
+ /*
+ Only allow drag and drop if there's more than one order otherwise IE will
+ mess up the CSS.
+ */
+ $count = count($orders);
+ if ($count) {
+ foreach ($orders as $order) {
+ if (! get_contact_by_id($order->getBeneficiaryId())) $count--;
+ }
+ }
+
+ if ($count > 1) {
+ echo "<div class=\"sortable\">\n";
+ echo "<p class=\"noprint\">Drag delivery details to reorder the schedule.</p>\n";
+ }
+