Merge pull request #154 from exciler/onlineshops

Re-add previous fix
This commit is contained in:
OpenXE-ERP 2024-09-11 09:56:45 +02:00 committed by GitHub
commit 0df7600eb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2197,7 +2197,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);