diff --git a/htdocs/compta/tva/index.php b/htdocs/compta/tva/index.php index 6b0c2875d42..fb3ee8b8b6d 100644 --- a/htdocs/compta/tva/index.php +++ b/htdocs/compta/tva/index.php @@ -39,6 +39,7 @@ $year=GETPOST("year","int"); if (empty($year)) { $year_current = strftime("%Y",dol_now()); + if($conf->global->SOCIETE_FISCAL_MONTH_START > date('m')) $year_current--; $year_start = $year_current; } else { $year_current = $year;