Finished PSE management for products with no combinations

This commit is contained in:
Franck Allimant
2013-10-24 16:39:22 +02:00
parent b9410bba59
commit 4f7e7660ca
7 changed files with 91 additions and 25 deletions

View File

@@ -28,4 +28,4 @@ class ProductDefaultSaleElementUpdateForm extends ProductSaleElementUpdateForm
{
return "thelia_product_default_sale_element_update_form";
}
}
}

View File

@@ -77,7 +77,7 @@ class ProductSaleElementUpdateForm extends BaseForm
"label_attr" => array("for" => "quantity_field")
))
->add("sale_price", "number", array(
"label" => Translator::getInstance()->trans("Sale price without taxes *"),
"label" => Translator::getInstance()->trans("Sale price without taxes"),
"label_attr" => array("for" => "price_with_tax_field")
))
->add("sale_price_with_tax", "number", array(
@@ -96,7 +96,7 @@ class ProductSaleElementUpdateForm extends BaseForm
"label" => Translator::getInstance()->trans("Is it the default product sale element ?"),
"label_attr" => array("for" => "isdefault_field")
))
->add("ean_code", "integer", array(
->add("ean_code", "text", array(
"label" => Translator::getInstance()->trans("EAN Code"),
"label_attr" => array("for" => "ean_code_field")
))