git://git.iain.cx/iain
/
readifood.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split get_contact_orders().
[readifood.git]
/
lib
/
order.php
diff --git
a/lib/order.php
b/lib/order.php
index
e9aaeda
..
95d96bb
100644
(file)
--- a/
lib/order.php
+++ b/
lib/order.php
@@
-532,6
+532,7
@@
if (! count($order_states)) return;
echo "<h3>Order history</h3>\n";
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();
foreach ($order_states as $order_state) {
$date = $order_state->getUpdated();
@@
-552,10
+553,11
@@
}
}
#$state = $states[$order_state->getState()];
}
}
#$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();
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) {
}
function show_order(&$id = null) {