/[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.2 by rodolphe, Mon Aug 1 08:48:59 2005 UTC revision 1.3 by rodolphe, Sat Aug 6 23:19:54 2005 UTC
# Line 73  if ($account > 0) Line 73  if ($account > 0)
73    
74    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="">';
75    
76      print '</td></tr><tr><td>';
77    
78      $month = $monthprev;
79      $year = $yearprev;
80    
81      if ($month == 1)
82        {
83          $monthprev = "12";
84          $yearprev = $year - 1;
85        }
86      else
87        {
88          $monthprev = substr("00".($month - 1), -2) ;
89          $yearprev = $year ;
90        }
91    
92    
93      $file = "solde.$account.$yearprev.$monthprev.png";
94    
95      print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=bank&file='.$file.'" alt="" title="">';
96    
97    print '</td></tr></table>';    print '</td></tr></table>';
98    
99    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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