From 975f0ba049133e748860af8e6f62d710344645c7 Mon Sep 17 00:00:00 2001 From: Marko <52066939+HeX87@users.noreply.github.com> Date: Fri, 2 Aug 2024 10:05:47 +0200 Subject: [PATCH] add float to amount --- src/Helper/Hiltes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Helper/Hiltes.php b/src/Helper/Hiltes.php index e092780..e02f752 100644 --- a/src/Helper/Hiltes.php +++ b/src/Helper/Hiltes.php @@ -145,7 +145,7 @@ class Hiltes #"SizeDescription" => '',#"string", "CustomerNumber" => $tA['kundenummer'], #"TypeOfEstate" => 0, - "Amount" => (float)$v['menge'],#X + "Amount" => floatval($v['menge'].'.0'),#X "CalculatedSellingPrice" => $v['CalculatedSellingPrice'], #X kalkulierter Verkaufspreis "AchievedSalesPrice" => $v['AchievedSalesPrice'], #X erzielter Verkaufspreis "TransactionType" => "Sale", #X die Vorgangsart Sale=Verkauf Exchange=Umtausch / Storno