little correction

This commit is contained in:
altairis-noe 2021-05-07 15:38:46 +02:00
parent 8e61fc44fa
commit 6d92eb2e84

View File

@ -484,7 +484,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
} }
// Traceability info // 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 '<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 '<td>'.$form->editfieldval($langs->trans('EndOfLife'), 'eol_date', $object->eol_date, $object, $user->rights->stock->creer, 'datepicker').'</td>';
print '</tr>'; print '</tr>';