Sendcloud: Fix for domestic parcels - use IsEU instead of IstEU :-/

This commit is contained in:
Andreas Palm 2023-03-31 22:30:35 +02:00
parent 03f51a548a
commit e79e2e24d2

View File

@ -107,7 +107,7 @@ class Versandart_sendcloud extends Versanddienstleister
$parcel->CountryState = $json->state;
$parcel->TotalInsuredValue = $json->total_insured_value;
$parcel->OrderNumber = $json->order_number;
if (!$this->app->erp->IstEU($json->country)) {
if (!$this->app->erp->IsEU($json->country)) {
$parcel->CustomsInvoiceNr = $json->invoice_number;
$parcel->CustomsShipmentType = $json->shipment_type;
foreach ($json->positions as $pos) {