modifié : htdocs/core/tpl/objectline_create.tpl.php

modifié :         htdocs/core/tpl/objectline_edit.tpl.php
This commit is contained in:
Florian HENRY 2020-12-22 22:00:51 +01:00
parent f469e9ca7d
commit 0c8939f46c
2 changed files with 4 additions and 0 deletions

View File

@ -320,7 +320,9 @@ if ($nolinesbefore) {
echo '</div>';
}
if (is_object($objectline)) {
print '<div style="padding-top: 10px" id="extrafield_lines_area_create" name="extrafield_lines_area_create">';
print $objectline->showOptionals($extrafields, 'edit', array(), '', '', 1);
print '</div>';
}
echo '</td>';
if ($object->element == 'supplier_proposal' || $object->element == 'order_supplier' || $object->element == 'invoice_supplier') // We must have same test in printObjectLines

View File

@ -128,7 +128,9 @@ $coldisplay++;
//Line extrafield
if (!empty($extrafields))
{
print '<div style="padding-top: 10px" id="extrafield_lines_area_edit" name="extrafield_lines_area_edit">';
print $line->showOptionals($extrafields, 'edit', array('class'=>'tredited'), '', '', 1);
print '</div>';
}
// Show autofill date for recuring invoices