diff --git a/src/Entity/Customer.php b/src/Entity/Customer.php index 10a131ea..e35e3767 100644 --- a/src/Entity/Customer.php +++ b/src/Entity/Customer.php @@ -34,6 +34,11 @@ class Customer */ protected $last_name; + /** + * @ORM\Column(type="text", length=80) + */ + protected $customer_notes; + // mobile numbers linked to this customer /** * @ORM\OneToMany(targetEntity="MobileNumber", mappedBy="customer", cascade={"persist"}) @@ -99,6 +104,17 @@ class Customer return $this->last_name; } + public function setCustomerNotes($customer_notes) + { + $this->customer_notes = $customer_notes; + return $this; + } + + public function getCustomerNotes() + { + return $this->customer_notes; + } + public function addMobileNumber(MobileNumber $number) { $this->numbers->add($number); diff --git a/templates/customer/form.html.twig b/templates/customer/form.html.twig index cfb91216..8e916d07 100644 --- a/templates/customer/form.html.twig +++ b/templates/customer/form.html.twig @@ -62,7 +62,16 @@
- + +