/[dolibarr]/dolibarr/htdocs/compta/bank/graph.php
ViewVC logotype

Diff of /dolibarr/htdocs/compta/bank/graph.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by eldy, Sat Sep 17 00:14:36 2005 UTC revision 1.9 by rodolphe, Sun Nov 13 17:15:45 2005 UTC
# Line 37  $account = $_GET["id"]; Line 37  $account = $_GET["id"];
37    
38  if ($account > 0)  if ($account > 0)
39  {  {
40    
41      $datetime = time();      $datetime = time();
42      $month = strftime("%m", $datetime);      $month = strftime("%m", $datetime);
43      $year = strftime("%Y", $datetime);      $year = strftime("%Y", $datetime);
# Line 46  if ($account > 0) Line 47  if ($account > 0)
47            
48      print_fiche_titre("Journal de trésorerie du compte : " .$acct->label,$mesg);      print_fiche_titre("Journal de trésorerie du compte : " .$acct->label,$mesg);
49            
       
50      print '<table class="notopnoleftnoright" width="100%">';      print '<table class="notopnoleftnoright" width="100%">';
       
51      print '<tr><td>';      print '<tr><td>';
       
52      $file = "solde.$account.$year.png";      $file = "solde.$account.$year.png";
53    
54        /* Bug
55      if (! file_exists($file))      if (! file_exists($file))
56      {        {
57          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>";
58          print '<br>';        print '<br>';
59      }        }
60      else      else
61      {        {
62          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="">';
63      }        }
64        */
65        print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=bank&file='.$file.'" alt="" title="">';
66        print '</td></tr><tr><td>';
67        
68        $file = "mouvement.$account.$year.png";
69        
70        print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=bank&file='.$file.'" alt="" title="">';
71        
72    
73      print '</td></tr><tr><td>';      print '</td></tr><tr><td>';
74            
75      $file = "solde.$account.png";      $file = "solde.$account.png";
76            
77      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="">';
78            
79      print '</td></tr></table>';      print '</td></tr></table>';    
80  }  }
81  ?>  ?>

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26