add Logging
This commit is contained in:
parent
e6371751eb
commit
7b3282d49b
@ -147,29 +147,27 @@ class Hiltes
|
|||||||
"CustomerNumber" => $tA['kundenummer'],
|
"CustomerNumber" => $tA['kundenummer'],
|
||||||
#"TypeOfEstate" => 0,
|
#"TypeOfEstate" => 0,
|
||||||
"Amount" => $v['menge'],#X
|
"Amount" => $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
|
||||||
"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" => 'Invoice',#X "CreditCard",
|
||||||
"Currency" => 'EUR',#X "string",
|
"Currency" => 'EUR',#X "string",
|
||||||
"Unit" => "Piece",#X
|
"Unit" => "Piece",#X
|
||||||
"DistributionChannel" => 5,
|
"DistributionChannel" => 5
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#*** Kunde *******************************
|
#*** Kunde *******************************
|
||||||
$arr['CustomerList'][] = array(
|
$arr['CustomerList'][] = array(
|
||||||
"CustomerNumber" => $tA['kundenummer'], # Fake Daten
|
"CustomerNumber" => $tA['kundenummer'], # string
|
||||||
"Surname" => $tA['name'],#"string",
|
"Surname" => $tA['name'],#"string",
|
||||||
"Forename" => $tA['vorname'],#"string",
|
"Forename" => $tA['vorname'],#"string",
|
||||||
"AddressCity" => $tA['ort'],#"string",
|
"AddressCity" => $tA['ort'],#"string",
|
||||||
"AddressZipCode" => $tA['plz'], "string",
|
"AddressZipCode" => $tA['plz'], "string",
|
||||||
"AddressStreet" => $tA['strasse'],#"string",
|
"AddressStreet" => $tA['strasse'],#"string",
|
||||||
"AddressCountry" => substr($tA['land'], 0, 3),#"string",
|
"AddressCountry" => substr($tA['land'], 0, 3)
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
//$data = $this->createJson($arr);
|
//$data = $this->createJson($arr);
|
||||||
|
Loading…
Reference in New Issue
Block a user