| [ Index ] |
|
Code source de Dolibarr 2.0.1 |
1 <?php 2 /* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org> 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 * 18 * $Id: graph.php,v 1.9 2005/11/13 17:15:45 rodolphe Exp $ 19 * $Source: /cvsroot/dolibarr/dolibarr/htdocs/compta/bank/graph.php,v $ 20 */ 21 22 /** \file htdocs/compta/bank/graph.php 23 \ingroup banque 24 \brief Page de détail des transactions bancaires 25 \version $Revision: 1.9 $ 26 */ 27 28 require ("./pre.inc.php"); 29 30 if (!$user->rights->banque->lire) 31 accessforbidden(); 32 33 34 llxHeader(); 35 36 $account = $_GET["id"]; 37 38 if ($account > 0) 39 { 40 41 $datetime = time(); 42 $month = strftime("%m", $datetime); 43 $year = strftime("%Y", $datetime); 44 45 $acct = new Account($db); 46 $acct->fetch($account); 47 48 print_fiche_titre("Journal de trésorerie du compte : " .$acct->label,$mesg); 49 50 print '<table class="notopnoleftnoright" width="100%">'; 51 print '<tr><td>'; 52 $file = "solde.$account.$year.png"; 53 54 /* Bug 55 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>"; 58 print '<br>'; 59 } 60 else 61 { 62 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>'; 74 75 $file = "solde.$account.png"; 76 77 print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=bank&file='.$file.'" alt="" title="">'; 78 79 print '</td></tr></table>'; 80 } 81 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
| Généré le : Mon Nov 26 12:29:37 2007 | par Balluche grâce à PHPXref 0.7 |
|