Skip to content

Commit

Permalink
Tweak for issue #316
Browse files Browse the repository at this point in the history
  • Loading branch information
Al Brookbanks committed Mar 4, 2015
1 parent bc65ebf commit b2a6653
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions classes/cubecart.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,8 @@ private function _complete() {
}
$order[$key] = $GLOBALS['tax']->priceFormat($value);
}
$order['order_date_formatted'] = formatTime($order['order_date']);
$order['order_date_formatted'] = formatTime($order['order_date'], false, true);

$GLOBALS['smarty']->assign('SUM', $order);

switch ($order['status']) {
Expand Down Expand Up @@ -2179,7 +2180,8 @@ private function _orders() {
$order[$key] = $GLOBALS['tax']->priceFormat($order[$key], true);
}
$order['order_status'] = $GLOBALS['language']->order_state['name_'.$order['status']];
$order['order_date_formatted'] = formatTime($order['order_date']);
$order['order_date_formatted'] = formatTime($order['order_date'], false, true);


$GLOBALS['smarty']->assign('SUM', $order);
$GLOBALS['smarty']->assign('ORDER', $order);
Expand Down Expand Up @@ -2318,7 +2320,8 @@ private function _orders() {
$order[$key] = $GLOBALS['tax']->priceFormat($order[$key], true);
}
$order['order_status'] = $GLOBALS['language']->order_state['name_'.$order['status']];
$order['order_date_formatted'] = formatTime($order['order_date']);
$order['order_date_formatted'] = formatTime($order['order_date'], false, true);

$GLOBALS['smarty']->assign('SUM', $order);
$GLOBALS['smarty']->assign('ORDER', $order);
}
Expand Down

0 comments on commit b2a6653

Please sign in to comment.