diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php
index 61afd19ddd7..496faa13be4 100644
--- a/htdocs/compta/facture.php
+++ b/htdocs/compta/facture.php
@@ -3358,7 +3358,7 @@ else
print_liste_field_titre($langs->trans('AmountTTC'),$_SERVER['PHP_SELF'],'f.total_ttc','','&socid='.$socid.'&month='.$month.'&year=' . $year,'align="right"',$sortfield,$sortorder);
print_liste_field_titre($langs->trans('Received'),$_SERVER['PHP_SELF'],'am','','&socid='.$socid.'&month='.$month.'&year=' . $year,'align="right"',$sortfield,$sortorder);
print_liste_field_titre($langs->trans('Status'),$_SERVER['PHP_SELF'],'fk_statut,paye,am','','&socid='.$socid.'&month='.$month.'&year=' . $year,'align="right"',$sortfield,$sortorder);
- print '
| ';
+ //print ' | ';
print '';
// Lignes des champs de filtre
@@ -3367,14 +3367,12 @@ else
print '';
print '';
print ' | ';
- print $langs->trans('Month').': ';
- print ' '.$langs->trans('Year').': ';
+ print '';
+ //print ' '.$langs->trans('Year').': ';
$max_year = date("Y");
- $form = new Form($db);
$syear = $year;
- if($syear == '')
- $syear = date("Y");
- $form->select_year($syear,'year',1, '', $max_year);
+ //if ($syear == '') $syear = date("Y");
+ $html->select_year($syear,'year',1, '', $max_year);
print ' | ';
print '';
print '';
@@ -3383,10 +3381,10 @@ else
print ' | ';
print '';
print ' | ';
- print '';
+ print ' | ';
print ' ';
print ' | ';
- print '';
+ print ' | ';
print " | \n";
if ($num > 0)
@@ -3452,7 +3450,7 @@ else
print '';
print $facturestatic->LibStatut($objp->paye,$objp->fk_statut,5,$objp->am,$objp->type);
print " | ";
- print " | ";
+ //print " | ";
print "\n";
$total+=$objp->total;
$total_ttc+=$objp->total_ttc;