/[dolibarr]/dolibarr/htdocs/telephonie/stats/factures/marge.php
ViewVC logotype

Diff of /dolibarr/htdocs/telephonie/stats/factures/marge.php

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

revision 1.1 by rodolphe, Tue Dec 6 09:58:26 2005 UTC revision 1.2 by rodolphe, Tue Dec 6 10:13:59 2005 UTC
# Line 38  if ($user->societe_id > 0) Line 38  if ($user->societe_id > 0)
38    $socidp = $user->societe_id;    $socidp = $user->societe_id;
39  }  }
40    
41    $year = strftime("%Y", time());
42    
43  $h = 0;  $h = 0;
44    
45  $head[$h][0] = DOL_URL_ROOT.'/telephonie/stats/factures/index.php';  $head[$h][0] = DOL_URL_ROOT.'/telephonie/stats/factures/index.php';
# Line 59  print '<table class="noborder" width="10 Line 61  print '<table class="noborder" width="10
61    
62  print '<tr><td valign="top">';  print '<tr><td valign="top">';
63    
64  print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/factures/gain_mensuel.png" alt="Marge mensuelle">';  print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/factures/gain_mensuel.'.$year.'.png" alt="Marge mensuelle">';
65    
66  print '</td></tr><tr><td valign="top">';  print '</td></tr><tr><td valign="top">';
67    
68  print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/factures/gain_moyen.png" alt="Marge moyenne">';  print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/factures/gain_moyen.'.$year.'.png" alt="Marge moyenne">';
69    
70  print '</td></tr><tr><td valign="top">';  print '</td></tr><tr><td valign="top">';
71    
72  print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/factures/nb_facture.png" alt="Nb de factures">';  print '<img src="'.DOL_URL_ROOT.'/showgraph.php?graph='.DOL_DATA_ROOT.'/graph/telephonie/factures/nb_facture.'.$year.'.png" alt="Nb de factures">';
73    
74  print '</td></tr>';  print '</td></tr>';
75    

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

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