From f74450765411f342b69be25294d7fa68720f79ea Mon Sep 17 00:00:00 2001 From: Lars Kusch Date: Wed, 3 May 2023 16:38:42 +0200 Subject: [PATCH] Speed improvements --- app/Services/Invoice/EInvoice/ZugferdEInvoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Invoice/EInvoice/ZugferdEInvoice.php b/app/Services/Invoice/EInvoice/ZugferdEInvoice.php index 51d8791ab713..af01c174ea15 100644 --- a/app/Services/Invoice/EInvoice/ZugferdEInvoice.php +++ b/app/Services/Invoice/EInvoice/ZugferdEInvoice.php @@ -231,7 +231,7 @@ class ZugferdEInvoice extends AbstractService return $tax_type; } private function addtoTaxMap(string $taxtype, float $netamount, float $taxrate){ - $hash = hash("md5", $taxtype."-".$taxrate, true); + $hash = hash("md5", $taxtype."-".$taxrate); if (array_key_exists($hash, $this->tax_map)){ $this->tax_map[$hash]["net_amount"] += $netamount; }