Categories ordrering in the catalog

This commit is contained in:
franck
2013-08-09 10:18:08 +02:00
parent 376471db04
commit c46a708346
23 changed files with 7875 additions and 94 deletions

View File

@@ -30,7 +30,7 @@ class CategoryDeletionForm extends BaseForm {
protected function buildForm()
{
$this->formBuilder
->add("id", "integer", array(
->add("category_id", "integer", array(
"constraints" => array(
new NotBlank()
)

View File

@@ -33,7 +33,8 @@ class CustomerCreation extends BaseForm
protected function buildForm()
{
$this->formBuilder
->add("firstname", "text", array(
->add("auto_login", "boolean")
->add("firstname", "text", array(
"constraints" => array(
new Constraints\NotBlank()
),

View File

@@ -53,6 +53,7 @@ class CustomerModification extends BaseForm {
{
$this->formBuilder
->add('update_logged_in_user', 'boolean') // In a front office context, update the in-memory logged-in user data
->add("firstname", "text", array(
"constraints" => array(
new Constraints\NotBlank()