From 1382549dea8a842b7187b6b7cb853c0fc930745d Mon Sep 17 00:00:00 2001 From: rdoppeltplus Date: Mon, 8 Jul 2024 12:11:21 +0200 Subject: [PATCH] Update Item.php shortening ALC (removing the starting empty field as the documentation said that A/C should be in the first data element (5463) --- src/Generator/Invoic/Item.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Generator/Invoic/Item.php b/src/Generator/Invoic/Item.php index 416ee2e..e4b95f5 100755 --- a/src/Generator/Invoic/Item.php +++ b/src/Generator/Invoic/Item.php @@ -120,7 +120,6 @@ public function addDiscount($value, $discountType = self::DISCOUNT_TYPE_PERCENT) $index = 'discount' . $this->discountIndex++; $this->{$index} = [ 'ALC', - '', floatval($value) > 0 ? 'C' : 'A', '', '',