Acces au graph N-1
This commit is contained in:
parent
cca2f14603
commit
374ff46c31
@ -114,9 +114,17 @@ if ($result)
|
|||||||
print "</table>";
|
print "</table>";
|
||||||
|
|
||||||
print '<br />';
|
print '<br />';
|
||||||
$url=DOL_URL_ROOT.'/viewimage.php?modulepart=graph_stock&file=entrepot.png';
|
|
||||||
|
|
||||||
print '<img src="'.$url.'">';
|
$year = strftime("%Y",time());
|
||||||
|
$url=DOL_URL_ROOT.'/viewimage.php?modulepart=graph_stock&file=entrepot-'.$year.'.png';
|
||||||
|
print '<img src="'.$url.'" alt="Valorisation du stock année '.($year).'">';
|
||||||
|
|
||||||
|
if (file_exists(DOL_DATA_ROOT.'/graph/entrepot/entrepot-'.($year-1).'.png'))
|
||||||
|
{
|
||||||
|
$url=DOL_URL_ROOT.'/viewimage.php?modulepart=graph_stock&file=entrepot-'.($year-1).'.png';
|
||||||
|
print '<br /><img src="'.$url.'" alt="Valorisation du stock année '.($year-1).'">';
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user