diff --git a/htdocs/compta/deplacement/list.php b/htdocs/compta/deplacement/list.php
index 195bf9023b4..89df2428ca9 100644
--- a/htdocs/compta/deplacement/list.php
+++ b/htdocs/compta/deplacement/list.php
@@ -56,6 +56,7 @@ $search_ref=GETPOST('search_ref','alpha');
*/
$tripandexpense_static=new Deplacement($db);
+$userstatic = new User($db);
llxHeader();
@@ -132,12 +133,23 @@ if ($resql)
$var=!$var;
print '
';
+ // Id
print '| '.img_object($langs->trans("ShowTrip"),"trip").' '.$obj->rowid.' | ';
+ // Type
print ''.$langs->trans($obj->type).' | ';
+ // Date
print ''.dol_print_date($db->jdate($obj->dd),'day').' | ';
- print ''.img_object($langs->trans("ShowUser"),"user").' '.$obj->firstname.' '.$obj->name.' | ';
+ // User
+ print '';
+ $userstatic->id = $obj->rowid;
+ $userstatic->lastname = $obj->lastname;
+ $userstatic->firstname = $obj->firstname;
+ print $userstatic->getNomUrl(1);
+ print ' | ';
+
if ($obj->socid) print ''.$soc->getNomUrl(1).' | ';
else print ' | ';
+
print ''.$obj->km.' | ';
$tripandexpense_static->statut=$obj->fk_statut;