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