本文整理汇总了PHP中orders::retrieveListOverview方法的典型用法代码示例。如果您正苦于以下问题:PHP orders::retrieveListOverview方法的具体用法?PHP orders::retrieveListOverview怎么用?PHP orders::retrieveListOverview使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类orders
的用法示例。
在下文中一共展示了orders::retrieveListOverview方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: FROM
$o['model'] = '<a href="?open=product-detail&products_id=' . $row['products_id'] . '" title="Manage Product Detail">' . $row['products_model'] . '</a>';
if ($row['products_orders_status'] == '11') {
$product_price = $row['products_quantity'] * $row['final_price'];
$o['status'] = number_format($product_price, 2, ',', '.') . ' ' . $row['currency'];
} else {
$o['status'] = $row['orders_status_name'];
}
$order_prob[] = $o;
}
}
$result = tep_draw_table('orders', $order_prob);
} else {
$result = '<h3 class="red">No Orders</h3>';
}
} else {
$result = $class_o->retrieveListOverview($status);
}
echo utf8_encode($result);
exit;
}
if (isset($_GET['me_action'])) {
if ($_GET['me_action'] == 'LEADTIMEAVGLOAD') {
//if (isset($_GET['me_action']) && $_GET['me_action']=='LEADTIMEAVGLOAD') {
$op_id = tep_db_prepare_input($_GET['orders_products_id']);
$q = " SELECT * FROM (";
$q .= " SELECT opsh.orders_products_id, op.leadtime_start_date, opsh.status, opsh.status_date";
$q .= " FROM orders_products op";
$q .= " INNER JOIN orders_products_status_history opsh ON opsh.orders_products_id = op.orders_products_id";
$q .= " WHERE op.status >= 1 AND op.orders_products_id = {$op_id}";
$q .= " UNION ALL";
$q .= " SELECT psh.orders_items_id AS orders_products_id, op.leadtime_start_date, CONCAT('4-',SUBSTR(psh.status,1,1)) status, psh.status_date";