当前位置: 首页>>代码示例>>PHP>>正文


PHP orders::reprintNextBatchForPrintedUnscannedOrders方法代码示例

本文整理汇总了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&amp;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>';
开发者ID:blasiuscosa,项目名称:manobo-2008,代码行数:31,代码来源:orders-manage.php


注:本文中的orders::reprintNextBatchForPrintedUnscannedOrders方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。