Ajout d'un graphique
This commit is contained in:
parent
a2881dced9
commit
a320dbb6db
@ -37,6 +37,7 @@ $account = $_GET["id"];
|
|||||||
|
|
||||||
if ($account > 0)
|
if ($account > 0)
|
||||||
{
|
{
|
||||||
|
|
||||||
$datetime = time();
|
$datetime = time();
|
||||||
$month = strftime("%m", $datetime);
|
$month = strftime("%m", $datetime);
|
||||||
$year = strftime("%Y", $datetime);
|
$year = strftime("%Y", $datetime);
|
||||||
@ -46,12 +47,11 @@ if ($account > 0)
|
|||||||
|
|
||||||
print_fiche_titre("Journal de trésorerie du compte : " .$acct->label,$mesg);
|
print_fiche_titre("Journal de trésorerie du compte : " .$acct->label,$mesg);
|
||||||
|
|
||||||
|
|
||||||
print '<table class="notopnoleftnoright" width="100%">';
|
print '<table class="notopnoleftnoright" width="100%">';
|
||||||
|
|
||||||
print '<tr><td>';
|
print '<tr><td>';
|
||||||
|
|
||||||
$file = "solde.$account.$year.png";
|
$file = "solde.$account.$year.png";
|
||||||
|
|
||||||
|
/* Bug
|
||||||
if (! file_exists($file))
|
if (! file_exists($file))
|
||||||
{
|
{
|
||||||
print "Pour générer ou regénérer les graphiques, lancer le script scripts/banque/graph-solde.php en ligne de commande.<br>";
|
print "Pour générer ou regénérer les graphiques, lancer le script scripts/banque/graph-solde.php en ligne de commande.<br>";
|
||||||
@ -61,6 +61,15 @@ if ($account > 0)
|
|||||||
{
|
{
|
||||||
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=bank&file='.$file.'" alt="" title="">';
|
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=bank&file='.$file.'" alt="" title="">';
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=bank&file='.$file.'" alt="" title="">';
|
||||||
|
print '</td></tr><tr><td>';
|
||||||
|
|
||||||
|
$file = "mouvement.$account.$year.png";
|
||||||
|
|
||||||
|
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=bank&file='.$file.'" alt="" title="">';
|
||||||
|
|
||||||
|
|
||||||
print '</td></tr><tr><td>';
|
print '</td></tr><tr><td>';
|
||||||
|
|
||||||
$file = "solde.$account.png";
|
$file = "solde.$account.png";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user