feat: render additional info to teamer invoice
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user