diff --git a/htdocs/core/tpl/objectline_create.tpl.php b/htdocs/core/tpl/objectline_create.tpl.php index 83ba55e1140..e9695eb2d10 100644 --- a/htdocs/core/tpl/objectline_create.tpl.php +++ b/htdocs/core/tpl/objectline_create.tpl.php @@ -320,7 +320,9 @@ if ($nolinesbefore) { echo ''; } if (is_object($objectline)) { + print '
'; print $objectline->showOptionals($extrafields, 'edit', array(), '', '', 1); + print '
'; } echo ''; if ($object->element == 'supplier_proposal' || $object->element == 'order_supplier' || $object->element == 'invoice_supplier') // We must have same test in printObjectLines diff --git a/htdocs/core/tpl/objectline_edit.tpl.php b/htdocs/core/tpl/objectline_edit.tpl.php index ec187667729..3115e4e2f0c 100644 --- a/htdocs/core/tpl/objectline_edit.tpl.php +++ b/htdocs/core/tpl/objectline_edit.tpl.php @@ -128,7 +128,9 @@ $coldisplay++; //Line extrafield if (!empty($extrafields)) { + print '
'; print $line->showOptionals($extrafields, 'edit', array('class'=>'tredited'), '', '', 1); + print '
'; } // Show autofill date for recuring invoices