本文整理汇总了PHP中orders::reprintNextBatchForPrintedUnscannedOrders方法的典型用法代码示例。如果您正苦于以下问题:PHP orders::reprintNextBatchForPrintedUnscannedOrders方法的具体用法?PHP orders::reprintNextBatchForPrintedUnscannedOrders怎么用?PHP orders::reprintNextBatchForPrintedUnscannedOrders使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类orders
的用法示例。
在下文中一共展示了orders::reprintNextBatchForPrintedUnscannedOrders方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: statusName
$result['new_status'] = $new_status;
$result['new_status_name'] = statusName($new_status);
if ($new_status != '10') {
$result['msg_errors'] = oiErrorStatus($opid, $new_status, $old_status);
}
ajaxReturn($result);
exit;
} elseif ($_POST['me_action'] == 'REPRINTPI') {
$type = tep_db_prepare_input($_POST['type']);
$mode = tep_db_prepare_input($_POST['mode']);
if ($mode == 'ready-printed-unscanned') {
$target_url = 'http://' . $server . '/cron/print-pi.php';
$post_vars = array('type' => $type, 'mode' => $mode, 'excecuter' => $session_userinfo['username']);
doCURL($target_url, $post_vars);
} elseif ($mode == 'ready-printed-unscanned-next-batch') {
$class_o->reprintNextBatchForPrintedUnscannedOrders();
echo utf8_encode("ready-printed-unscanned-next-batch-OK");
}
exit;
}
}
$statusName = $class_o->productStatusNameShort();
$status_counter = $class_o->productStatusCounter($statusNameShow, $ean_list, $date_range_start, $date_range_end, $brand_id, $cat_id);
$main_link = '?open=orders-manage&products=';
$content .= '<div style="margin-bottom:20px;text-align:center;">';
$content .= '<input type="button" id="togglethumbs" value="Toggle Product Thumbnails" title="Show or hide product thumbnails for each products (if exist)" />';
$content .= '<input type="button" id="tabreload" value="Reload Tab" title="Reload Current Tab" />';
$content .= '<span><a href="?open=elements-picking-list&hidemenu=true" class="view_webpage"></a><input type="button" id="showpickinglist" value="Show Picking Lists" title="Show all elements that need to Sourcing for J&G and SP orders" /></span>';
$content .= '</div>';
$content .= '<div id="orders">';
$content .= '<ul>';