117 |
print '</td><td width="50%" valign="top" align="center">'; |
print '</td><td width="50%" valign="top" align="center">'; |
118 |
|
|
119 |
$file = $img_root.$contrat->id."/graphgain.png"; |
$file = $img_root.$contrat->id."/graphgain.png"; |
120 |
if (file_exists($file)) |
|
121 |
|
if (file_exists($file) && $user->rights->telephonie->ligne->gain) |
122 |
{ |
{ |
123 |
print '<img src="'.DOL_URL_ROOT.'/telephonie/showgraph.php?graph='.$file.'" alt="CA Mensuel">'; |
print '<img src="'.DOL_URL_ROOT.'/telephonie/showgraph.php?graph='.$file.'" alt="CA Mensuel">'; |
124 |
} |
} |