update customer general info

This commit is contained in:
Manuel Raynaud
2013-09-12 11:24:24 +02:00
parent 4b643a7a9e
commit 5d87e48ba0
6 changed files with 131 additions and 24 deletions

View File

@@ -58,6 +58,12 @@ class CustomerModification extends BaseForm
$this->formBuilder
->add('update_logged_in_user', 'integer') // In a front office context, update the in-memory logged-in user data
->add("company", "text", array(
"label" => Translator::getInstance()->trans("Company"),
"label_attr" => array(
"for" => "company"
)
))
->add("firstname", "text", array(
"constraints" => array(
new Constraints\NotBlank()