diff --git a/htdocs/expensereport/list.php b/htdocs/expensereport/list.php
index c59b6d70e0f..c221baf7d65 100644
--- a/htdocs/expensereport/list.php
+++ b/htdocs/expensereport/list.php
@@ -556,16 +556,16 @@ if ($resql)
// Amount with no tax
if (! empty($arrayfields['d.total_ht']['checked']))
{
- print '
';
+ print ' ';
}
if (! empty($arrayfields['d.total_vat']['checked']))
{
- print ' ';
+ print ' ';
}
// Amount with all taxes
if (! empty($arrayfields['d.total_ttc']['checked']))
{
- print ' ';
+ print ' ';
}
// Extra fields
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_input.tpl.php';
@@ -589,12 +589,12 @@ if ($resql)
// Status
if (! empty($arrayfields['d.fk_statut']['checked']))
{
- print '';
+ print ' ';
select_expensereport_statut($search_status, 'search_status', 1, 1);
print ' ';
}
// Action column
- print '';
+ print ' ';
$searchpicto=$form->showFilterButtons();
print $searchpicto;
print ' ';
@@ -670,7 +670,7 @@ if ($resql)
print '';
}
print '';
- print '';
+ print ' ';
$filename=dol_sanitizeFileName($obj->ref);
$filedir=$conf->expensereport->dir_output . '/' . dol_sanitizeFileName($obj->ref);
$urlsource=$_SERVER['PHP_SELF'].'?id='.$obj->rowid;
@@ -696,28 +696,28 @@ if ($resql)
}
// Start date
if (! empty($arrayfields['d.date_debut']['checked'])) {
- print ' '.($obj->date_debut > 0 ? dol_print_date($db->jdate($obj->date_debut), 'day') : '').' ';
+ print ''.($obj->date_debut > 0 ? dol_print_date($db->jdate($obj->date_debut), 'day') : '').' ';
if (! $i) $totalarray['nbfield']++;
}
// End date
if (! empty($arrayfields['d.date_fin']['checked'])) {
- print ''.($obj->date_fin > 0 ? dol_print_date($db->jdate($obj->date_fin), 'day') : '').' ';
+ print ''.($obj->date_fin > 0 ? dol_print_date($db->jdate($obj->date_fin), 'day') : '').' ';
if (! $i) $totalarray['nbfield']++;
}
// Date validation
if (! empty($arrayfields['d.date_valid']['checked'])) {
- print ''.($obj->date_valid > 0 ? dol_print_date($db->jdate($obj->date_valid), 'day') : '').' ';
+ print ''.($obj->date_valid > 0 ? dol_print_date($db->jdate($obj->date_valid), 'day') : '').' ';
if (! $i) $totalarray['nbfield']++;
}
// Date approval
if (! empty($arrayfields['d.date_approve']['checked'])) {
- print ''.($obj->date_approve > 0 ? dol_print_date($db->jdate($obj->date_approve), 'day') : '').' ';
+ print ''.($obj->date_approve > 0 ? dol_print_date($db->jdate($obj->date_approve), 'day') : '').' ';
if (! $i) $totalarray['nbfield']++;
}
// Amount HT
if (! empty($arrayfields['d.total_ht']['checked']))
{
- print ''.price($obj->total_ht)." \n";
+ print ''.price($obj->total_ht)." \n";
if (! $i) $totalarray['nbfield']++;
if (! $i) $totalarray['totalhtfield']=$totalarray['nbfield'];
$totalarray['totalht'] += $obj->total_ht;
@@ -725,7 +725,7 @@ if ($resql)
// Amount VAT
if (! empty($arrayfields['d.total_vat']['checked']))
{
- print ''.price($obj->total_tva)." \n";
+ print ''.price($obj->total_tva)." \n";
if (! $i) $totalarray['nbfield']++;
if (! $i) $totalarray['totalvatfield']=$totalarray['nbfield'];
$totalarray['totalvat'] += $obj->total_tva;
@@ -733,7 +733,7 @@ if ($resql)
// Amount TTC
if (! empty($arrayfields['d.total_ttc']['checked']))
{
- print ''.price($obj->total_ttc)." \n";
+ print ''.price($obj->total_ttc)." \n";
if (! $i) $totalarray['nbfield']++;
if (! $i) $totalarray['totalttcfield']=$totalarray['nbfield'];
$totalarray['totalttc'] += $obj->total_ttc;
@@ -748,7 +748,7 @@ if ($resql)
// Date creation
if (! empty($arrayfields['d.date_create']['checked']))
{
- print '';
+ print ' ';
print dol_print_date($db->jdate($obj->date_create), 'dayhour');
print ' ';
if (! $i) $totalarray['nbfield']++;
@@ -756,7 +756,7 @@ if ($resql)
// Date modification
if (! empty($arrayfields['d.tms']['checked']))
{
- print '';
+ print ' ';
print dol_print_date($db->jdate($obj->date_modif), 'dayhour');
print ' ';
if (! $i) $totalarray['nbfield']++;
@@ -764,11 +764,11 @@ if ($resql)
// Status
if (! empty($arrayfields['d.fk_statut']['checked']))
{
- print ''.$expensereportstatic->getLibStatut(5).' ';
+ print ''.$expensereportstatic->getLibStatut(5).' ';
if (! $i) $totalarray['nbfield']++;
}
// Action column
- print '';
+ print ' ';
if ($massactionbutton || $massaction) // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
{
$selected=0;
@@ -808,9 +808,9 @@ if ($resql)
if ($num < $limit && empty($offset)) print ' '.$langs->trans("Total").' ';
else print ''.$langs->trans("Totalforthispage").' ';
}
- elseif ($totalarray['totalhtfield'] == $i) print ''.price($totalarray['totalht']).' ';
- elseif ($totalarray['totalvatfield'] == $i) print ''.price($totalarray['totalvat']).' ';
- elseif ($totalarray['totalttcfield'] == $i) print ''.price($totalarray['totalttc']).' ';
+ elseif ($totalarray['totalhtfield'] == $i) print ''.price($totalarray['totalht']).' ';
+ elseif ($totalarray['totalvatfield'] == $i) print ''.price($totalarray['totalvat']).' ';
+ elseif ($totalarray['totalttcfield'] == $i) print ''.price($totalarray['totalttc']).' ';
else print ' ';
}
print '';