From cd955234f7007ac9f6be0b8a822d1eb7215d1f16 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 27 May 2011 17:30:23 +0000 Subject: [PATCH] Fix: Show both year when accountancy year is on 2 years --- htdocs/compta/resultat/index.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/htdocs/compta/resultat/index.php b/htdocs/compta/resultat/index.php index 652226c1b3f..2ea637e3a2c 100644 --- a/htdocs/compta/resultat/index.php +++ b/htdocs/compta/resultat/index.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2010 Laurent Destailleur + * Copyright (C) 2004-2011 Laurent Destailleur * Copyright (C) 2005-2009 Regis Houssin * * This program is free software; you can redistribute it and/or modify @@ -428,7 +428,11 @@ print ''.$langs->trans("Month").''; for ($annee = $year_start ; $annee <= $year_end ; $annee++) { - print ''.$annee.''; + print ''; + print ''; + print $annee; + if ($conf->global->SOCIETE_FISCAL_MONTH_START > 1) print '-'.($annee+1); + print ''; } print ''; print '';