mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +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(
|
||||
distributor_name: self::DISTRIBUTOR_NAME,
|
||||
order_number: $json[0]['article_artnr'],
|
||||
prices: [
|
||||
new PriceDTO(1.0, $priceString, $currency, $this->includeVAT)
|
||||
] + $this->parseBatchPrices($dom, $currency),
|
||||
prices: array_merge(
|
||||
[new PriceDTO(1.0, $priceString, $currency, $this->includeVAT)]
|
||||
, $this->parseBatchPrices($dom, $currency)),
|
||||
product_url: $productPage
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue