From: Iain Patterson Date: Mon, 13 May 2013 08:47:06 +0000 (-0400) Subject: Use get_order_summary() in Contact display. X-Git-Tag: 2013-05-13~14 X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=4d4c971953ee3da8282ff748c15241f85d984dab;p=readifood.git Use get_order_summary() in Contact display. Use the new get_order_summary() function when showing a Contact's order history. --- diff --git a/lib/contact.php b/lib/contact.php index 2dd65ab..874c918 100644 --- a/lib/contact.php +++ b/lib/contact.php @@ -191,9 +191,9 @@ echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; foreach ($orders as $order) { - echo " Order " . $order->getStrongLink($order->getId()) . ": " . get_order_displayname($order) . "
\n"; + echo " " . get_order_summary($order) . "
\n"; } echo " \n"; echo "\n";