diff --git a/core/lib/Thelia/Form/CustomerUpdateForm.php b/core/lib/Thelia/Form/CustomerUpdateForm.php index 9c83fc354..6f4411113 100644 --- a/core/lib/Thelia/Form/CustomerUpdateForm.php +++ b/core/lib/Thelia/Form/CustomerUpdateForm.php @@ -123,13 +123,15 @@ class CustomerUpdateForm extends BaseForm "label" => Translator::getInstance()->trans("Phone"), "label_attr" => array( "for" => "phone" - ) + ), + "required" => false )) ->add("cellphone", "text", array( "label" => Translator::getInstance()->trans("Cellphone"), "label_attr" => array( "for" => "cellphone" - ) + ), + "required" => false )) ->add("zipcode", "text", array( "constraints" => array( diff --git a/templates/backOffice/default/customer-edit.html b/templates/backOffice/default/customer-edit.html index 9747c935c..37d007cf4 100644 --- a/templates/backOffice/default/customer-edit.html +++ b/templates/backOffice/default/customer-edit.html @@ -146,6 +146,20 @@ {/form_field} + {form_field form=$form field='phone'} +
+ + +
+ {/form_field} + + {form_field form=$form field='cellphone'} +
+ + +
+ {/form_field} + {/loop}