From 8d211445217c7f5e40368862d97233bbb073f376 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 24 Oct 2019 20:33:16 +0200 Subject: [PATCH] Beautify select of products in vendor record --- htdocs/core/class/html.form.class.php | 92 ++++++++++--------- htdocs/product/card.php | 2 +- .../product/class/html.formproduct.class.php | 4 +- 3 files changed, 51 insertions(+), 47 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index d1a52654c31..865e06a4478 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -2827,15 +2827,6 @@ class Form } } - $opt = '\n"; diff --git a/htdocs/product/card.php b/htdocs/product/card.php index 0ba41e651fc..fa131e1df6e 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -1836,7 +1836,7 @@ else print ''; } - //Parent product. + // Parent product. if (!empty($conf->variants->enabled) && ($object->isProduct() || $object->isService())) { $combination = new ProductCombination($db); diff --git a/htdocs/product/class/html.formproduct.class.php b/htdocs/product/class/html.formproduct.class.php index f93a1ef1758..72fd475e6ae 100644 --- a/htdocs/product/class/html.formproduct.class.php +++ b/htdocs/product/class/html.formproduct.class.php @@ -274,7 +274,7 @@ class FormProduct $out.='