add Logging

This commit is contained in:
Marko 2024-08-01 09:33:09 +02:00
parent 7b3282d49b
commit b279dd058f
No known key found for this signature in database

View File

@ -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) {