From 4584ce848909078af37083fced6b8aae95a07ad8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Mar 2004 20:34:05 +0000 Subject: [PATCH] =?UTF-8?q?Les=20liens=20ann=E9e=20dans=20le=20r=E9sum=E9?= =?UTF-8?q?=20annuel=20ouvre=20directement=20le=20livre=20journal=20de=20l?= =?UTF-8?q?'ann=E9e=20cliqu=E9e.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/caisse/annuel.php | 4 ++-- htdocs/compta/caisse/index.php | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/htdocs/compta/caisse/annuel.php b/htdocs/compta/caisse/annuel.php index 6c33cbe36d7..ef020a78e26 100644 --- a/htdocs/compta/caisse/annuel.php +++ b/htdocs/compta/caisse/annuel.php @@ -103,7 +103,7 @@ else for ($annee = $year_start ; $annee <= $year_end ; $annee++) { - print ''.$annee.''; + print ''.$annee.''; } print ''; print ''; @@ -118,7 +118,7 @@ for ($mois = 1 ; $mois < 13 ; $mois++) { $var=!$var; print ''; - print "".strftime("%B",mktime(1,1,1,$mois,1,$annee)).""; + print "".strftime("%B",mktime(1,1,1,$mois,1,$annee)).""; for ($annee = $year_start ; $annee <= $year_end ; $annee++) { print ' '; diff --git a/htdocs/compta/caisse/index.php b/htdocs/compta/caisse/index.php index fcf3b046ca2..e4f6311a162 100644 --- a/htdocs/compta/caisse/index.php +++ b/htdocs/compta/caisse/index.php @@ -28,8 +28,8 @@ require("./pre.inc.php"); llxHeader(); -$mois=$_GET["mois"]; -$annee=$_GET["annee"]; +$mois=$_GET["month"]; +$annee=$_GET["year"]; /* * Sécurité accés client @@ -41,8 +41,9 @@ if ($user->societe_id > 0) if (!$mois) { - $mois = strftime("%m", time()); + $mois = strftime("%m", time()); } +if ($mois == 'all') { $mois=0; } if (!$annee) {