Загрузка...
Поиск...
Не найдено
18 foreach($data as $item)
20 if(!isset($item[
"ORDER_ID"])
21 || !isset($item[
"ORDER_LINE_ITEM_ID"])
22 || !isset($item[
"DELIVERY_NAME"])
23 || !isset($item[
"TRACKING_NUMBER"])
26 throw new SystemException(
"Wrong structure of item in Shipment::convert()");
29 $result .=
"\t<Shipment>\n".
30 "\t\t<OrderID>".$item[
"ORDER_ID"].
"</OrderID>\n".
31 "\t\t<OrderLineItemID>".$item[
"ORDER_LINE_ITEM_ID"].
"</OrderLineItemID>\n".
33 "\t\t<ShipmentTracking>\n".
34 "\t\t\t<ShippingCarrier>".$item[
"DELIVERY_NAME"].
"</ShippingCarrier>\n".
35 "\t\t\t<TrackingNumber>".$item[
"TRACKING_NUMBER"].
"</TrackingNumber>\n".
36 "\t\t</ShipmentTracking>\n".