if (! count($order_states)) return;
echo "<h3>Order history</h3>\n";
+ echo "<p class=\"history\">\n";
foreach ($order_states as $order_state) {
$date = $order_state->getUpdated();
}
}
#$state = $states[$order_state->getState()];
- echo "<p><strong>$username</strong> changed order to state <strong>$state</strong>";
+ echo "<strong>$username</strong> changed order to state <strong>$state</strong>";
if ($driver) echo " for driver " . $driver->getDisplayname();
- echo " on $date.</p>\n";
+ echo " on $date.<br>\n";
}
+ echo "</p>\n";
}
function show_order(&$id = null) {