diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index bdd0eeddf13..fe26906b84d 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -3702,19 +3702,23 @@ else $soc->fetch($socid); } - print_barre_liste($langs->trans('BillsCustomers').' '.($socid?' '.$soc->nom:''),$page,'facture.php','&socid='.$socid,$sortfield,$sortorder,'',$num); + $param='&socid='.$socid; + if ($month) $param.='&month='.$month; + if ($year) $param.='&year=' .$year; + + print_barre_liste($langs->trans('BillsCustomers').' '.($socid?' '.$soc->nom:''),$page,'facture.php',$param,$sortfield,$sortorder,'',$num); $i = 0; print '