From b279dd058ff86fa11f563db26503d4aa11991f2d Mon Sep 17 00:00:00 2001 From: Marko <52066939+HeX87@users.noreply.github.com> Date: Thu, 1 Aug 2024 09:33:09 +0200 Subject: [PATCH] add Logging --- src/Helper/Hiltes.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Helper/Hiltes.php b/src/Helper/Hiltes.php index dce6697..3c09018 100644 --- a/src/Helper/Hiltes.php +++ b/src/Helper/Hiltes.php @@ -140,13 +140,13 @@ class Hiltes $arr['SaleList'][] = array( "OrderNumber" => $tA['externOrderId'], #X - "SalesLabel" => 'Ean',#$v['sku'],#X + "SalesLabel" => $v['sku'],#X "SalesLabelNumber" => $SalesNumber,#X "SalesGoodsGroupNumber" => $SalesGoodsGroupNumber, #"SizeDescription" => '',#"string", "CustomerNumber" => $tA['kundenummer'], #"TypeOfEstate" => 0, - "Amount" => $v['menge'],#X + "Amount" => (float)$v['menge'],#X "CalculatedSellingPrice" => $v['CalculatedSellingPrice'], #X kalkulierter Verkaufspreis "AchievedSalesPrice" => $v['AchievedSalesPrice'], #X erzielter Verkaufspreis "TransactionType" => "Sale", #X die Vorgangsart Sale=Verkauf Exchange=Umtausch / Storno @@ -389,7 +389,7 @@ class Hiltes try { //Status 4 für Fehler $order->setStatus(4); - //$order->setHiltes($t); + $order->setHiltes($t['Errors']); $this->orderRepository->update($order, true); } catch (\Exception $exception) {