Invoice download via API (#5926)

This commit is contained in:
Kevin Papst
2026-04-27 17:08:38 +02:00
committed by GitHub
parent 20c7b03bd9
commit dabd63800f
5 changed files with 115 additions and 1 deletions

View File

@@ -124,6 +124,8 @@ class Invoice implements EntityWithMetaFields
#[ORM\Column(name: 'invoice_filename', type: Types::STRING, length: 150, nullable: false)]
#[Assert\NotNull]
#[Assert\Length(min: 1, max: 150)]
#[Serializer\Expose]
#[Serializer\Groups(['Default'])]
#[Exporter\Expose(label: 'file', type: 'string')]
private ?string $invoiceFilename = null;
private bool $localized = false;