+ */
+class CustomerAddressEvent extends ActionEvent
+{
+ /**
+ * @var \Thelia\Model\Address
+ */
+ protected $address;
+
+ /**
+ * @param Address $address
+ */
+ public function __construct(Address $address)
+ {
+ $this->address = $address;
+ }
+
+ /**
+ * @param \Thelia\Model\Address $address
+ */
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+
+ /**
+ * @return \Thelia\Model\Address
+ */
+ public function getAddress()
+ {
+ return $this->address;
+ }
+
+}
\ No newline at end of file
diff --git a/core/lib/Thelia/Core/Event/TheliaEvents.php b/core/lib/Thelia/Core/Event/TheliaEvents.php
index 9ffe08bcb..4d724749a 100755
--- a/core/lib/Thelia/Core/Event/TheliaEvents.php
+++ b/core/lib/Thelia/Core/Event/TheliaEvents.php
@@ -76,6 +76,11 @@ final class TheliaEvents
*/
const CUSTOMER_DELETEACCOUNT = "action.deleteCustomer";
+ /**
+ * sent on customer address removal
+ */
+ const CUSTOMER_ADDRESS_DELETE = "action.customer.deleteAddress";
+
/**
* sent when a customer need a new password
*/
diff --git a/templates/admin/default/customer-edit.html b/templates/admin/default/customer-edit.html
index 9bcba75b9..9c9a88486 100644
--- a/templates/admin/default/customer-edit.html
+++ b/templates/admin/default/customer-edit.html
@@ -179,7 +179,7 @@
-
+
@@ -342,21 +342,21 @@
{form_field form=$form field='label'}
-
-
+
+
{/form_field}
{form_field form=$form field='company'}
-
-
+
+
{/form_field}
{form_field form=$form field='title'}