Versandarten: Bugfix shipment_type not transmitted

This commit is contained in:
Andreas Palm 2023-02-01 15:42:03 +01:00
parent aafcb4130f
commit d84b20fafe
2 changed files with 2 additions and 2 deletions

View File

@ -395,7 +395,7 @@ abstract class Versanddienstleister
$this->app->ExitXentral();
}
$address['sendungsart'] = CustomsInfo::CUSTOMS_TYPE_GOODS;
$address['shipment_type'] = CustomsInfo::CUSTOMS_TYPE_GOODS;
$products = $this->GetShippingProducts();
$products = array_combine(array_column($products, 'Id'), $products);
$address['product'] = $products[0]->Id ?? '';

View File

@ -175,7 +175,7 @@
<tr>
<td>{|Sendungsart|}:</td>
<td>
<select v-model="form.sendungsart">
<select v-model="form.shipment_type">
<option v-for="(value, key) in customs_shipment_types" :value="key">{{value}}</option>
</select>
</td>