diff --git a/htdocs/product/card.php b/htdocs/product/card.php
index 352256f5c42..58a177dddc4 100644
--- a/htdocs/product/card.php
+++ b/htdocs/product/card.php
@@ -1135,6 +1135,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
if ($type != 1 && !empty($conf->stock->enabled)) {
// Default warehouse
print '
';
print ' ';
print $form->selectDate($search_date_start?$search_date_start:-1, 'search_date_start', 0, 0, 1, '', 1, 0, 0, '', '', '', '', 1, '', $langs->trans('From'), 'tzuserrel');
@@ -1014,7 +1015,7 @@ if ($resql) {
print_liste_field_titre($arrayfields['m.rowid']['label'], $_SERVER["PHP_SELF"], 'm.rowid', '', $param, '', $sortfield, $sortorder);
}
if (!empty($arrayfields['m.datem']['checked'])) {
- print_liste_field_titre($arrayfields['m.datem']['label'], $_SERVER["PHP_SELF"], 'm.datem', '', $param, '', $sortfield, $sortorder);
+ print_liste_field_titre($arrayfields['m.datem']['label'], $_SERVER["PHP_SELF"], 'm.datem', '', $param, '', $sortfield, $sortorder, 'center ');
}
if (!empty($arrayfields['p.ref']['checked'])) {
print_liste_field_titre($arrayfields['p.ref']['label'], $_SERVER["PHP_SELF"], 'p.ref', '', $param, '', $sortfield, $sortorder);
@@ -1132,7 +1133,7 @@ if ($resql) {
}
if (!empty($arrayfields['m.datem']['checked'])) {
// Date
- print ' | '.dol_print_date($db->jdate($objp->datem), 'dayhour', 'tzuserrel').' | ';
+ print ''.dol_print_date($db->jdate($objp->datem), 'dayhour', 'tzuserrel').' | ';
}
if (!empty($arrayfields['p.ref']['checked'])) {
// Product ref