mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
Merge pull request #152 from exciler/bugfix_shopimport
FIX Shopimport: Update shop orders without shipments
This commit is contained in:
commit
ec68922e7a
@ -14,17 +14,17 @@ class Shipment
|
||||
public int $id;
|
||||
|
||||
/**
|
||||
* @var string plain tracking number
|
||||
* @var ?string plain tracking number
|
||||
*/
|
||||
public string $trackingNumber;
|
||||
public ?string $trackingNumber;
|
||||
|
||||
/**
|
||||
* @var string URL to view tracking details
|
||||
* @var ?string URL to view tracking details
|
||||
*/
|
||||
public string $trackingUrl;
|
||||
public ?string $trackingUrl;
|
||||
|
||||
/**
|
||||
* @var string shipping method (after mapping to Shop domain)
|
||||
* @var ?string shipping method (after mapping to Shop domain)
|
||||
*/
|
||||
public string $shippingMethod;
|
||||
public ?string $shippingMethod;
|
||||
}
|
@ -2342,7 +2342,7 @@ class Remote
|
||||
vlp.versandpaket = v.id OR v.lieferschein_ohne_pos = l.id
|
||||
LEFT JOIN shopexport_versandarten sv ON
|
||||
sv.versandart_wawision = v.versandart AND sv.shop = $shopId
|
||||
WHERE a.id = $orderId OR a.teillieferungvon = $orderId
|
||||
WHERE (a.id = $orderId OR a.teillieferungvon = $orderId) AND v.id IS NOT NULL
|
||||
ORDER BY v.id";
|
||||
|
||||
$shipments = $this->app->DB->SelectArr($sql);
|
||||
|
Loading…
Reference in New Issue
Block a user