added new invoice fields, improved invoice templates (#1258)
This commit is contained in:
@@ -79,6 +79,14 @@ class Customer implements EntityWithMetaFields
|
||||
*/
|
||||
private $company;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
* @ORM\Column(name="vat_id", type="string", length=50, nullable=true)
|
||||
* @Assert\Length(max=50)
|
||||
*/
|
||||
private $vatId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*
|
||||
@@ -272,6 +280,18 @@ class Customer implements EntityWithMetaFields
|
||||
return $this->company;
|
||||
}
|
||||
|
||||
public function getVatId(): ?string
|
||||
{
|
||||
return $this->vatId;
|
||||
}
|
||||
|
||||
public function setVatId(?string $vatId): Customer
|
||||
{
|
||||
$this->vatId = $vatId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setContact(?string $contact): Customer
|
||||
{
|
||||
$this->contact = $contact;
|
||||
|
||||
Reference in New Issue
Block a user