feat: render additional info to teamer invoice

This commit is contained in:
Björn Fromme
2025-02-28 15:15:02 +01:00
parent 901b2c7104
commit cdd0666837
14 changed files with 233 additions and 13 deletions
+30
View File
@@ -72,6 +72,12 @@ class Upload implements BlameableEntityInterface, TimestampableEntityInterface
#[ORM\Column(nullable: true)]
private ?string $downloadedBy = null;
#[ORM\Column(type: Types::DATE_IMMUTABLE, nullable: true)]
private ?\DateTimeImmutable $approvedAt = null;
#[ORM\Column(nullable: true)]
private ?string $approvedBy = null;
public function __construct()
{
$this->uuid = Uuid::v4();
@@ -284,4 +290,28 @@ class Upload implements BlameableEntityInterface, TimestampableEntityInterface
return $this;
}
public function getApprovedAt(): ?\DateTimeImmutable
{
return $this->approvedAt;
}
public function setApprovedAt(?\DateTimeImmutable $approvedAt): static
{
$this->approvedAt = $approvedAt;
return $this;
}
public function getApprovedBy(): ?string
{
return $this->approvedBy;
}
public function setApprovedBy(?string $approvedBy): static
{
$this->approvedBy = $approvedBy;
return $this;
}
}