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 |
|
|