Les liens anne dans le rsum annuel ouvre directement le livre journal de l'anne clique.
This commit is contained in:
parent
050e845a48
commit
4584ce8489
@ -103,7 +103,7 @@ else
|
||||
|
||||
for ($annee = $year_start ; $annee <= $year_end ; $annee++)
|
||||
{
|
||||
print '<td align="center" width="20%" colspan="2">'.$annee.'</td>';
|
||||
print '<td align="center" width="20%" colspan="2"><a href="index.php?year='.$annee.'&month=all">'.$annee.'</a></td>';
|
||||
}
|
||||
print '</tr>';
|
||||
print '<tr class="liste_titre">';
|
||||
@ -118,7 +118,7 @@ for ($mois = 1 ; $mois < 13 ; $mois++)
|
||||
{
|
||||
$var=!$var;
|
||||
print '<tr '.$bc[$var].'>';
|
||||
print "<td><a href=\"index.php?year=$year_current&mois=$mois\">".strftime("%B",mktime(1,1,1,$mois,1,$annee))."</a></td>";
|
||||
print "<td><a href=\"index.php?year=$year_current&month=$mois\">".strftime("%B",mktime(1,1,1,$mois,1,$annee))."</a></td>";
|
||||
for ($annee = $year_start ; $annee <= $year_end ; $annee++)
|
||||
{
|
||||
print '<td align="right" width="10%"> ';
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user