add Logging
This commit is contained in:
parent
7b3282d49b
commit
b279dd058f
@ -140,13 +140,13 @@ class Hiltes
|
|||||||
|
|
||||||
$arr['SaleList'][] = array(
|
$arr['SaleList'][] = array(
|
||||||
"OrderNumber" => $tA['externOrderId'], #X
|
"OrderNumber" => $tA['externOrderId'], #X
|
||||||
"SalesLabel" => 'Ean',#$v['sku'],#X
|
"SalesLabel" => $v['sku'],#X
|
||||||
"SalesLabelNumber" => $SalesNumber,#X
|
"SalesLabelNumber" => $SalesNumber,#X
|
||||||
"SalesGoodsGroupNumber" => $SalesGoodsGroupNumber,
|
"SalesGoodsGroupNumber" => $SalesGoodsGroupNumber,
|
||||||
#"SizeDescription" => '',#"string",
|
#"SizeDescription" => '',#"string",
|
||||||
"CustomerNumber" => $tA['kundenummer'],
|
"CustomerNumber" => $tA['kundenummer'],
|
||||||
#"TypeOfEstate" => 0,
|
#"TypeOfEstate" => 0,
|
||||||
"Amount" => $v['menge'],#X
|
"Amount" => (float)$v['menge'],#X
|
||||||
"CalculatedSellingPrice" => $v['CalculatedSellingPrice'], #X kalkulierter Verkaufspreis
|
"CalculatedSellingPrice" => $v['CalculatedSellingPrice'], #X kalkulierter Verkaufspreis
|
||||||
"AchievedSalesPrice" => $v['AchievedSalesPrice'], #X erzielter Verkaufspreis
|
"AchievedSalesPrice" => $v['AchievedSalesPrice'], #X erzielter Verkaufspreis
|
||||||
"TransactionType" => "Sale", #X die Vorgangsart Sale=Verkauf Exchange=Umtausch / Storno
|
"TransactionType" => "Sale", #X die Vorgangsart Sale=Verkauf Exchange=Umtausch / Storno
|
||||||
@ -389,7 +389,7 @@ class Hiltes
|
|||||||
try {
|
try {
|
||||||
//Status 4 für Fehler
|
//Status 4 für Fehler
|
||||||
$order->setStatus(4);
|
$order->setStatus(4);
|
||||||
//$order->setHiltes($t);
|
$order->setHiltes($t['Errors']);
|
||||||
|
|
||||||
$this->orderRepository->update($order, true);
|
$this->orderRepository->update($order, true);
|
||||||
} catch (\Exception $exception) {
|
} catch (\Exception $exception) {
|
||||||
|
Loading…
Reference in New Issue
Block a user