add float to amount
This commit is contained in:
parent
2a5a125aa2
commit
fd2fc4d821
@ -16,7 +16,7 @@ when@prod:
|
|||||||
handlers:
|
handlers:
|
||||||
sentry:
|
sentry:
|
||||||
type: sentry
|
type: sentry
|
||||||
level: !php/const Monolog\Logger::INFO
|
level: !php/const Monolog\Logger::ERROR
|
||||||
hub_id: Sentry\State\HubInterface
|
hub_id: Sentry\State\HubInterface
|
||||||
|
|
||||||
# Uncomment these lines to register a log message processor that resolves PSR-3 placeholders
|
# Uncomment these lines to register a log message processor that resolves PSR-3 placeholders
|
||||||
|
@ -139,7 +139,7 @@ class Hiltes
|
|||||||
|
|
||||||
$arr['SaleList'][] = array(
|
$arr['SaleList'][] = array(
|
||||||
"OrderNumber" => $tA['externOrderId'], #X
|
"OrderNumber" => $tA['externOrderId'], #X
|
||||||
"SalesLabel" => 'Ean',#$v['sku'],#X
|
"SalesLabel" => 1,#$v['sku'],#X
|
||||||
"SalesLabelNumber" => $SalesNumber,#X
|
"SalesLabelNumber" => $SalesNumber,#X
|
||||||
"SalesGoodsGroupNumber" => $SalesGoodsGroupNumber,
|
"SalesGoodsGroupNumber" => $SalesGoodsGroupNumber,
|
||||||
#"SizeDescription" => '',#"string",
|
#"SizeDescription" => '',#"string",
|
||||||
@ -148,12 +148,12 @@ class Hiltes
|
|||||||
"Amount" => floatval($v['menge']),#X
|
"Amount" => floatval($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" => 1, #X die Vorgangsart Sale=Verkauf Exchange=Umtausch / Storno
|
||||||
"ReceiptNumber" => substr($order->getOrderId(), 3), #Die Belegnummer
|
"ReceiptNumber" => substr($order->getOrderId(), 3), #Die Belegnummer
|
||||||
"DateOfSale" => $tA['orderdate'],#X das Verkaufsdatum mit Verkaufszeit
|
"DateOfSale" => $tA['orderdate'],#X das Verkaufsdatum mit Verkaufszeit
|
||||||
"PaymentMethod" => 'Invoice',#X "CreditCard",
|
"PaymentMethod" => 2,#X "CreditCard",
|
||||||
"Currency" => 'EUR',#X "string",
|
"Currency" => 'EUR',#X "string",
|
||||||
"Unit" => "Piece",#X
|
"Unit" => 0,#X
|
||||||
"DistributionChannel" => 5
|
"DistributionChannel" => 5
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user