little correction
This commit is contained in:
parent
8e61fc44fa
commit
6d92eb2e84
@ -484,7 +484,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
||||
}
|
||||
|
||||
// Traceability info
|
||||
if (!empty($conf->global->PRODUCT_LOT_ENABLE_TRACEABILITY)) {
|
||||
if ($conf->global->PRODUCT_LOT_ENABLE_TRACEABILITY) {
|
||||
print '<tr><td>'.$form->editfieldkey($langs->trans('EndOfLife'), 'eol_date', $object->eol_date, $object, $user->rights->stock->creer).'</td>';
|
||||
print '<td>'.$form->editfieldval($langs->trans('EndOfLife'), 'eol_date', $object->eol_date, $object, $user->rights->stock->creer, 'datepicker').'</td>';
|
||||
print '</tr>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user