mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Fixed problem that first batch price was not included
This commit is contained in:
parent
5e40519bc5
commit
d05c0579a2
1 changed files with 3 additions and 3 deletions
|
@ -156,9 +156,9 @@ class ReicheltProvider implements InfoProviderInterface
|
||||||
$purchaseInfo = new PurchaseInfoDTO(
|
$purchaseInfo = new PurchaseInfoDTO(
|
||||||
distributor_name: self::DISTRIBUTOR_NAME,
|
distributor_name: self::DISTRIBUTOR_NAME,
|
||||||
order_number: $json[0]['article_artnr'],
|
order_number: $json[0]['article_artnr'],
|
||||||
prices: [
|
prices: array_merge(
|
||||||
new PriceDTO(1.0, $priceString, $currency, $this->includeVAT)
|
[new PriceDTO(1.0, $priceString, $currency, $this->includeVAT)]
|
||||||
] + $this->parseBatchPrices($dom, $currency),
|
, $this->parseBatchPrices($dom, $currency)),
|
||||||
product_url: $productPage
|
product_url: $productPage
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue