diff --git a/config/packages/sentry.yaml b/config/packages/sentry.yaml index 173ac9d..86faa51 100644 --- a/config/packages/sentry.yaml +++ b/config/packages/sentry.yaml @@ -16,7 +16,7 @@ when@prod: handlers: sentry: type: sentry - level: !php/const Monolog\Logger::INFO + level: !php/const Monolog\Logger::ERROR hub_id: Sentry\State\HubInterface # Uncomment these lines to register a log message processor that resolves PSR-3 placeholders diff --git a/src/Helper/Hiltes.php b/src/Helper/Hiltes.php index 8b25e4a..e4a2b18 100644 --- a/src/Helper/Hiltes.php +++ b/src/Helper/Hiltes.php @@ -139,7 +139,7 @@ class Hiltes $arr['SaleList'][] = array( "OrderNumber" => $tA['externOrderId'], #X - "SalesLabel" => 'Ean',#$v['sku'],#X + "SalesLabel" => 1,#$v['sku'],#X "SalesLabelNumber" => $SalesNumber,#X "SalesGoodsGroupNumber" => $SalesGoodsGroupNumber, #"SizeDescription" => '',#"string", @@ -148,12 +148,12 @@ class Hiltes "Amount" => floatval($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 + "TransactionType" => 1, #X die Vorgangsart Sale=Verkauf Exchange=Umtausch / Storno "ReceiptNumber" => substr($order->getOrderId(), 3), #Die Belegnummer "DateOfSale" => $tA['orderdate'],#X das Verkaufsdatum mit Verkaufszeit - "PaymentMethod" => 'Invoice',#X "CreditCard", + "PaymentMethod" => 2,#X "CreditCard", "Currency" => 'EUR',#X "string", - "Unit" => "Piece",#X + "Unit" => 0,#X "DistributionChannel" => 5 ); }