Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/Component/Entity/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class Invoice extends Entity
protected bool $vatPayer;
protected ?string $vatMode;
protected ?ProofPaymentsForInvoice $proofPayments;
protected ?bool $paid;

public function getCode(): string
{
Expand Down Expand Up @@ -312,4 +313,15 @@ public function setProofPayments(?ProofPaymentsForInvoice $proofPayments): stati
$this->proofPayments = $proofPayments;
return $this;
}

public function getPaid(): ?bool
{
return $this->paid;
}

public function setPaid(?bool $paid): static
{
$this->paid = $paid;
return $this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class Item extends Entity
protected ?TypeDateTimeNullable $changeTime;
protected ?TypeDateNullable $dueDate;
protected ?TypeDateNullable $taxDate;
protected ?bool $paid;

public function getCode(): string
{
Expand Down Expand Up @@ -155,4 +156,15 @@ public function setTaxDate(?TypeDateNullable $taxDate): static
$this->taxDate = $taxDate;
return $this;
}

public function getPaid(): ?bool
{
return $this->paid;
}

public function setPaid(?bool $paid): static
{
$this->paid = $paid;
return $this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class Item extends Entity
protected ?string $billFullName;
protected Price $price;
protected TypeDateTimeNullable $changeTime;
protected ?bool $paid;

public function getCode(): string
{
Expand Down Expand Up @@ -117,4 +118,15 @@ public function setChangeTime(TypeDateTimeNullable $changeTime): static
$this->changeTime = $changeTime;
return $this;
}

public function getPaid(): ?bool
{
return $this->paid;
}

public function setPaid(?bool $paid): static
{
$this->paid = $paid;
return $this;
}
}
Loading