136 |
print '</td><td width="50%" valign="top" align="center">'; |
print '</td><td width="50%" valign="top" align="center">'; |
137 |
|
|
138 |
$file = $img_root.$ligne->id."/graphgain.png"; |
$file = $img_root.$ligne->id."/graphgain.png"; |
139 |
if (file_exists($file)) |
if (file_exists($file) && $user->rights->telephonie->ligne->gain) |
140 |
{ |
{ |
141 |
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">'; |
142 |
} |
} |