diff --git a/src/Helper/Hiltes.php b/src/Helper/Hiltes.php index c535c08..dce6697 100644 --- a/src/Helper/Hiltes.php +++ b/src/Helper/Hiltes.php @@ -147,29 +147,27 @@ class Hiltes "CustomerNumber" => $tA['kundenummer'], #"TypeOfEstate" => 0, "Amount" => $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 + "CalculatedSellingPrice" => $v['CalculatedSellingPrice'], #X kalkulierter Verkaufspreis + "AchievedSalesPrice" => $v['AchievedSalesPrice'], #X erzielter Verkaufspreis + "TransactionType" => "Sale", #X die Vorgangsart Sale=Verkauf Exchange=Umtausch / Storno "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", "Currency" => 'EUR',#X "string", "Unit" => "Piece",#X - "DistributionChannel" => 5, + "DistributionChannel" => 5 ); - } } #*** Kunde ******************************* $arr['CustomerList'][] = array( - "CustomerNumber" => $tA['kundenummer'], # Fake Daten + "CustomerNumber" => $tA['kundenummer'], # string "Surname" => $tA['name'],#"string", "Forename" => $tA['vorname'],#"string", "AddressCity" => $tA['ort'],#"string", "AddressZipCode" => $tA['plz'], "string", "AddressStreet" => $tA['strasse'],#"string", - "AddressCountry" => substr($tA['land'], 0, 3),#"string", - + "AddressCountry" => substr($tA['land'], 0, 3) ); //$data = $this->createJson($arr);