add discount input on customer form

This commit is contained in:
Manuel Raynaud
2014-04-28 10:51:24 +02:00
parent 7b826796f1
commit c4320f0ada
4 changed files with 25 additions and 2 deletions

View File

@@ -143,6 +143,15 @@ class Customer extends BaseCustomer implements UserInterface
->findOne();
}
public function setRef($v)
{
if (null !== $v) {
parent::setRef($v);
}
return $this;
}
/**
* create hash for plain password and set it in Customer object
*