本文整理汇总了PHP中orders::eanPrintedSet方法的典型用法代码示例。如果您正苦于以下问题:PHP orders::eanPrintedSet方法的具体用法?PHP orders::eanPrintedSet怎么用?PHP orders::eanPrintedSet使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类orders
的用法示例。
在下文中一共展示了orders::eanPrintedSet方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: orders
$order = $class_jo->retrieveDetail($item['jng_sp_orders_id']);
$spid = $order['jng_sp_id'];
$pid = $item['products_id'];
$aid = $item['products_articles_id'];
$ean = $item['products_ean'];
$qty = $item['order_quantity'];
$ean_printed = $item['ean_printed'];
$barcode_id = "SP-{$oiid}";
break;
case 'JG':
use_class('orders');
$class_o = new orders();
$item = $class_o->retrieveProductDetail($oiid);
if ($counter_on || is_null($item['ean_printed']) || $item['ean_printed'] == '') {
$class_o->printConfirmAdd($oiid);
$class_o->eanPrintedSet($order['orders_id']);
}
$pid = $item['products_id'];
$aid = $item['products_articles_id'];
$ean = $class_ean->getEAN($pid, $aid);
$qty = $item['products_quantity'];
$ean_printed = $item['ean_printed'];
$barcode_id = "JG-{$oiid}";
break;
case 'DP':
use_class('depot_orders');
$class_do = new depot_orders();
$item = $class_do->retrieveDetail($oiid);
if ($counter_on || is_null($item['ean_printed']) || $item['ean_printed'] == '') {
$class_do->printConfirmAdd($oiid);
$class_do->eanPrintedSet($oiid);
示例2: orders
case 'SP':
use_class('jng_sp_orders');
$class_jo = new jng_sp_orders();
$item = $class_jo->retrieveItemDetail($oiid);
if (isset($item['jng_sp_orders_items_id']) && $item['jng_sp_orders_items_id'] != '') {
$class_jo->printConfirmAdd($oiid);
$class_jo->eanPrintedSet($oiid);
}
break;
case 'JG':
use_class('orders');
$class_o = new orders();
$item = $class_o->retrieveProductDetail($oiid);
if (isset($item['orders_products_id']) && $item['orders_products_id'] != '') {
$class_o->printConfirmAdd($oiid);
$class_o->eanPrintedSet($oiid);
}
break;
case 'DP':
use_class('depot_orders');
$class_do = new depot_orders();
$item = $class_do->retrieveDetail($oiid);
if (isset($item['depot_orders_id']) && $item['depot_orders_id'] != '') {
$class_do->printConfirmAdd($oiid);
$class_do->eanPrintedSet($oiid);
}
break;
}
$result['status'] = 'SUCCESS';
}
//ajaxReturn($result);