Skip to content

Commit

Permalink
Fix: [ bug #272 ] Impossible afficher Créances-Dettes sur période
Browse files Browse the repository at this point in the history
d'analyse
choisie
  • Loading branch information
eldy committed Jan 14, 2012
1 parent a322056 commit 7e8b17f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions htdocs/compta/resultat/clientfourn.php
Expand Up @@ -89,7 +89,7 @@

// Define modecompta ('CREANCES-DETTES' or 'RECETTES-DEPENSES')
$modecompta = $conf->compta->mode;
if ($_GET["modecompta"]) $modecompta=$_GET["modecompta"];
if (GETPOST("modecompta")) $modecompta=GETPOST("modecompta");



Expand Down Expand Up @@ -122,7 +122,7 @@
$builddate=time();
//$exportlink=$langs->trans("NotYetAvailable");
}
report_header($nom,$nomlink,$period,$periodlink,$description,$builddate,$exportlink);
report_header($nom,$nomlink,$period,$periodlink,$description,$builddate,$exportlink,array('modecompta'=>$modecompta));

// Show report array
print '<table class="noborder" width="100%">';
Expand Down
4 changes: 2 additions & 2 deletions htdocs/compta/resultat/index.php
Expand Up @@ -46,7 +46,7 @@

// Define modecompta ('CREANCES-DETTES' or 'RECETTES-DEPENSES')
$modecompta = $conf->compta->mode;
if ($_GET["modecompta"]) $modecompta=$_GET["modecompta"];
if (GETPOST("modecompta")) $modecompta=GETPOST("modecompta");



Expand Down Expand Up @@ -78,7 +78,7 @@
$builddate=time();
//$exportlink=$langs->trans("NotYetAvailable");
}
report_header($nom,$nomlink,$period,$periodlink,$description,$builddate,$exportlink);
report_header($nom,$nomlink,$period,$periodlink,$description,$builddate,$exportlink,array('modecompta'=>$modecompta));


/*
Expand Down
4 changes: 3 additions & 1 deletion htdocs/compta/stats/index.php
Expand Up @@ -77,7 +77,9 @@
$builddate=time();
//$exportlink=$langs->trans("NotYetAvailable");
}
report_header($nom,$nomlink,$period,$periodlink,$description,$builddate,$exportlink);
$moreparam=array();
if (! empty($modecompta)) $moreparam['modecompta']=$modecompta;
report_header($nom,$nomlink,$period,$periodlink,$description,$builddate,$exportlink,$moreparam);


if ($modecompta == 'CREANCES-DETTES') {
Expand Down

0 comments on commit 7e8b17f

Please sign in to comment.