diff --git a/htdocs/expensereport/card.php b/htdocs/expensereport/card.php
index e6354c01105..0d008cea93d 100644
--- a/htdocs/expensereport/card.php
+++ b/htdocs/expensereport/card.php
@@ -2076,17 +2076,13 @@ else
if ($action != 'editline' || $line->rowid != GETPOST('rowid', 'int'))
{
print '
';
-
+ // Num
print '| ';
print $numline;
print ' | ';
-
- /*print '';
- print img_picto($langs->trans("Document"), "object_generic");
- print ' '.$piece_comptable.'';
- print ' | ';*/
-
+ // Date
print ''.dol_print_date($db->jdate($line->date), 'day').' | ';
+ // Project
if (! empty($conf->projet->enabled))
{
print '';
@@ -2094,21 +2090,26 @@ else
{
$projecttmp->id=$line->fk_project;
$projecttmp->ref=$line->projet_ref;
+ $projecttmp->title=$line->projet_title;
print $projecttmp->getNomUrl(1);
}
print ' | ';
}
+ // IK
if (!empty($conf->global->MAIN_USE_EXPENSE_IK))
{
print '';
print dol_getIdFromCode($db, $line->fk_c_exp_tax_cat, 'c_exp_tax_cat', 'rowid', 'label');
print ' | ';
}
+ // Type of fee
print '';
$labeltype = ($langs->trans(($line->type_fees_code)) == $line->type_fees_code ? $line->type_fees_libelle : $langs->trans($line->type_fees_code));
print $labeltype;
print ' | ';
+ // Comment
print ''.dol_nl2br($line->comments).' | ';
+ // VAT rate
print ''.vatrate($line->vatrate, true).' | ';
// Unit price HT
print '';
@@ -2716,9 +2717,6 @@ if ($action != 'create' && $action != 'edit')
print '';
-//$conf->global->DOL_URL_ROOT_DOCUMENT_PHP=dol_buildpath('/expensereport/documentwrapper.php',1);
-
-
// Select mail models is same action as presend
if (GETPOST('modelselected', 'alpha')) {
$action = 'presend';
|