We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e2388ff + 499897a commit f36d7a0Copy full SHA for f36d7a0
2 files changed
src/Generator/Invoic/Item.php
@@ -11,6 +11,7 @@
11
* Class Item
12
* @package EDI\Generator\Invoic
13
*/
14
+#[\AllowDynamicProperties]
15
class Item extends Base
16
{
17
use ItemTrait;
src/Generator/Traits/NameAndAddress.php
@@ -694,7 +694,8 @@ public function setInvoiceAddress(
694
$zipCode = '',
695
$city = '',
696
$countryCode = 'DE',
697
- $managingOrganisation = 'ZZZ'
+ $managingOrganisation = 'ZZZ',
698
+ $sender = null
699
) {
700
$this->invoiceAddress = $this->addNameAndAddress(
701
$name1,
@@ -705,7 +706,8 @@ public function setInvoiceAddress(
705
706
$city,
707
$countryCode,
708
$managingOrganisation,
- 'IV'
709
+ 'IV',
710
+ $sender ?? ''
711
);
712
return $this;
713
}
0 commit comments