From: Iain Patterson Date: Mon, 13 May 2013 08:43:08 +0000 (-0400) Subject: Order history formatting. X-Git-Tag: 2013-05-13~16 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=5707529d8056238ba42e16f55b23b15a5e8c4d9b;hp=c5fb790a7fa53100d2c3373603c82812265c7a6a;p=readifood.git Order history formatting. Use a paragraph with the history class to format the order history. --- diff --git a/lib/order.php b/lib/order.php index e9aaeda..95d96bb 100644 --- a/lib/order.php +++ b/lib/order.php @@ -532,6 +532,7 @@ if (! count($order_states)) return; echo "

Order history

\n"; + echo "

\n"; foreach ($order_states as $order_state) { $date = $order_state->getUpdated(); @@ -552,10 +553,11 @@ } } #$state = $states[$order_state->getState()]; - echo "

$username changed order to state $state"; + echo "$username changed order to state $state"; if ($driver) echo " for driver " . $driver->getDisplayname(); - echo " on $date.

\n"; + echo " on $date.
\n"; } + echo "

\n"; } function show_order(&$id = null) {