114 |
} |
} |
115 |
|
|
116 |
print '</td></tr>'; |
print '</td></tr>'; |
|
|
|
117 |
print '<tr><td width="50%" valign="top" align="center">'; |
print '<tr><td width="50%" valign="top" align="center">'; |
118 |
|
|
119 |
$file = $img_root.$soc->id."/graphappelsdureemoyenne.png"; |
$file = $img_root.$soc->id."/nb-minutes-mensuel.png"; |
120 |
|
|
121 |
if (file_exists($file)) |
if (file_exists($file)) |
122 |
{ |
{ |
139 |
{ |
{ |
140 |
print $mesg_no_graph; |
print $mesg_no_graph; |
141 |
} |
} |
142 |
|
print '</td></tr>'; |
143 |
|
print '<tr><td width="50%" valign="top" align="center">'; |
144 |
|
|
145 |
|
$file = $img_root.$soc->id."/graphappelsdureemoyenne.png"; |
146 |
|
|
147 |
|
if (file_exists($file)) |
148 |
|
{ |
149 |
|
print '<img src="'.DOL_URL_ROOT.'/telephonie/showgraph.php?graph='.$file.'" alt="Duree moyenne">'; |
150 |
|
} |
151 |
|
else |
152 |
|
{ |
153 |
|
print $mesg_no_graph; |
154 |
|
} |
155 |
|
|
156 |
|
print '</td><td width="50%" valign="top" align="center">'; |
157 |
|
|
158 |
|
$file = $img_root.$soc->id."/nb-comm-menTOTOsuel.png"; |
159 |
|
|
160 |
|
if (file_exists($file)) |
161 |
|
{ |
162 |
|
//print '<img src="'.DOL_URL_ROOT.'/telephonie/showgraph.php?graph='.$file.'" alt="CA Mensuel">'; |
163 |
|
} |
164 |
|
else |
165 |
|
{ |
166 |
|
//print $mesg_no_graph; |
167 |
|
} |
168 |
print '</td></tr></table>'; |
print '</td></tr></table>'; |
169 |
} |
} |
170 |
} |
} |