Les liens année dans le résumé annuel ouvre directement le livre journal de l'année cliquée.
This commit is contained in:
parent
050e845a48
commit
4584ce8489
@ -103,7 +103,7 @@ else
|
|||||||
|
|
||||||
for ($annee = $year_start ; $annee <= $year_end ; $annee++)
|
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>';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
@ -118,7 +118,7 @@ for ($mois = 1 ; $mois < 13 ; $mois++)
|
|||||||
{
|
{
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<tr '.$bc[$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++)
|
for ($annee = $year_start ; $annee <= $year_end ; $annee++)
|
||||||
{
|
{
|
||||||
print '<td align="right" width="10%"> ';
|
print '<td align="right" width="10%"> ';
|
||||||
|
|||||||
@ -28,8 +28,8 @@ require("./pre.inc.php");
|
|||||||
|
|
||||||
llxHeader();
|
llxHeader();
|
||||||
|
|
||||||
$mois=$_GET["mois"];
|
$mois=$_GET["month"];
|
||||||
$annee=$_GET["annee"];
|
$annee=$_GET["year"];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sécurité accés client
|
* Sécurité accés client
|
||||||
@ -41,8 +41,9 @@ if ($user->societe_id > 0)
|
|||||||
|
|
||||||
if (!$mois)
|
if (!$mois)
|
||||||
{
|
{
|
||||||
$mois = strftime("%m", time());
|
$mois = strftime("%m", time());
|
||||||
}
|
}
|
||||||
|
if ($mois == 'all') { $mois=0; }
|
||||||
|
|
||||||
if (!$annee)
|
if (!$annee)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user