diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 4284b009019..1a9d52e4a9c 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -5040,7 +5040,7 @@ class Form
}
}
print $langs->trans($translationKey, price($amount, 0, $langs, 0, 0, -1, $conf->currency));
- if (empty($hidelist)) print ': ';
+ if (empty($hidelist)) print ' ';
print '';
if (empty($hidelist))
{
diff --git a/htdocs/core/tpl/object_discounts.tpl.php b/htdocs/core/tpl/object_discounts.tpl.php
index 293ea333682..dcbda148158 100644
--- a/htdocs/core/tpl/object_discounts.tpl.php
+++ b/htdocs/core/tpl/object_discounts.tpl.php
@@ -24,6 +24,8 @@
* $backtopage URL to come back to from discount modification pages
*/
+print ''."\n";
+
$objclassname = get_class($object);
$isInvoice = in_array($object->element, array('facture', 'invoice', 'facture_fourn', 'invoice_supplier'));
$isNewObject = empty($object->id) && empty($object->rowid);
@@ -109,3 +111,5 @@ if ($absolute_discount <= 0 && $absolute_creditnote <= 0) {
print ' ('.$addabsolutediscount.')';
}
}
+
+print '';
\ No newline at end of file
diff --git a/htdocs/core/tpl/objectline_create.tpl.php b/htdocs/core/tpl/objectline_create.tpl.php
index 6ce323433dd..cc74b02a29b 100644
--- a/htdocs/core/tpl/objectline_create.tpl.php
+++ b/htdocs/core/tpl/objectline_create.tpl.php
@@ -293,10 +293,10 @@ if ($nolinesbefore) {
}
}
if (!empty($conf->product->enabled) || !empty($conf->service->enabled)) {
+ echo '
';
if (!empty($conf->variants->enabled)) {
echo '