added new invoice fields, improved invoice templates (#1258)

This commit is contained in:
Kevin Papst
2019-11-18 12:01:26 +01:00
committed by GitHub
parent 2287c9951c
commit 47bd8b0ce7
50 changed files with 1530 additions and 1222 deletions

View File

@@ -56,6 +56,14 @@ class InvoiceTemplate
*/
private $company;
/**
* @var string
*
* @ORM\Column(name="vat_id", type="string", length=50, nullable=true)
* @Assert\Length(max=50)
*/
private $vatId;
/**
* @var string
*
@@ -63,6 +71,13 @@ class InvoiceTemplate
*/
private $address;
/**
* @var string
*
* @ORM\Column(name="contact", type="text", nullable=true)
*/
private $contact;
/**
* @var int
*
@@ -109,6 +124,13 @@ class InvoiceTemplate
*/
private $paymentTerms;
/**
* @var string
*
* @ORM\Column(name="payment_details", type="text", nullable=true)
*/
private $paymentDetails;
public function getId(): ?int
{
return $this->id;
@@ -234,6 +256,42 @@ class InvoiceTemplate
return $this;
}
public function getVatId(): ?string
{
return $this->vatId;
}
public function setVatId(?string $vatId): InvoiceTemplate
{
$this->vatId = $vatId;
return $this;
}
public function getContact(): ?string
{
return $this->contact;
}
public function setContact(?string $contact): InvoiceTemplate
{
$this->contact = $contact;
return $this;
}
public function getPaymentDetails(): ?string
{
return $this->paymentDetails;
}
public function setPaymentDetails(?string $paymentDetails): InvoiceTemplate
{
$this->paymentDetails = $paymentDetails;
return $this;
}
/**
* @return string
*/