Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class CreditNote extends Entity
protected ?string $defaultReasonRemark;
protected bool $restock;
protected ?bool $addNotesFromOrder;
protected bool $checkComplianceWithInvoice;
protected ForbiddenItemTypes $forbiddenItemTypes;

public function getCodePrefix(): ?string
Expand Down Expand Up @@ -117,6 +118,17 @@ public function setAddNotesFromOrder(?bool $addNotesFromOrder): static
return $this;
}

public function isCheckComplianceWithInvoice(): bool
{
return $this->checkComplianceWithInvoice;
}

public function setCheckComplianceWithInvoice(bool $checkComplianceWithInvoice): static
{
$this->checkComplianceWithInvoice = $checkComplianceWithInvoice;
return $this;
}

public function getForbiddenItemTypes(): ForbiddenItemTypes
{
return $this->forbiddenItemTypes;
Expand Down
Loading