コード例 #1
0
 $class_o = new orders();
 $class_do = new depot_orders();
 $class_jo = new jng_sp_orders();
 $class_pm = new products_minierp();
 $class_es = new elements_stock();
 $class_ean = new products_ean();
 $elements_collection = array();
 $temp_order_date = array();
 $temp_jng_sp_id = array();
 $temp_import_timestamp = array();
 $otto_prepayment = strtoupper(PAYMENT_METHOD_PREPAYMENT);
 $oi_status_to_reset_stock_status = array('1', '2');
 //CLEAR IDLE BINS
 use_class('bins');
 $class_bin = new bins();
 $class_bin->clearIdleBins();
 //INIT FULL ORDERS VARIABLE
 $orders = array();
 $orders_type = array();
 $orders_total = array();
 $orders_id_col = array();
 $orders_allowed_to_override_booking = array();
 /* ORDER PRIORITY
  *
  * Array key is used to set the order type
  *
  * Priority is set by the value of the array.
  * Possible values are: A0 - Z9
  * First Characters = A-Z, 2nd Characters = 0-9
  * Below is priority sample list from higher to lower:
  * A0, A1, A2, A3, B1, B5, C5, C7, C8, C9, D4, D5, Z0, Z4