Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
718bd490
Commit
718bd490
authored
Dec 7, 2005
by
Rodolphe Quiedeville
Browse files
Options
Downloads
Patches
Plain Diff
Ajout graph CA
parent
6d679117
No related branches found
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/telephonie/stats/distributeurs/distributeur.php
+30
-1
30 additions, 1 deletion
htdocs/telephonie/stats/distributeurs/distributeur.php
with
30 additions
and
1 deletion
htdocs/telephonie/stats/distributeurs/distributeur.php
+
30
−
1
View file @
718bd490
...
...
@@ -32,7 +32,6 @@ llxHeader('','Telephonie - Statistiques - Distributeur');
*
*/
$h
=
0
;
$head
[
$h
][
0
]
=
DOL_URL_ROOT
.
'/telephonie/stats/distributeurs/index.php'
;
...
...
@@ -177,6 +176,36 @@ if ($_GET["id"])
}
print '</table>';
print '</td></tr><tr><td valign="
top
" width="
70
%
">';
print '<img src="
'.DOL_URL_ROOT.'
/
viewimage
.
php
?
modulepart
=
telephoniegraph
&
file
=
distributeurs
/
'.$_GET["id"].'
/
ca
.
mensuel
.
png
" alt="
CA
" title="
CA
"><br /><br />'."
\n
";
print '</td><td valign="
top
" width="
30
%
">';
print '<table class="
border
" width="
100
%
" cellspacing="
0
" cellpadding="
4
">';
print '<tr class="
liste_titre
"><td>Mois</td><td align="
right
">CA</td></tr>';
$sql
= "
SELECT
valeur
,
legend
FROM
".MAIN_DB_PREFIX."
telephonie_stats
";
$sql
.= "
WHERE
graph
=
'distributeur.ca.mensuel.".$_GET["id"]."'
";
$sql
.= "
ORDER
BY
legend
DESC
";
$resql
=
$db->query
(
$sql
);
if (
$resql
)
{
while (
$row
=
$db->fetch_row
(
$resql
))
{
$var
=!
$var
;
print "
<
tr
$bc
[
$var
]
><
td
>
".
$row[1]
.'</td>';
print '<td align="
right
">'.price(
$row[0]
).'</td></tr>';
}
$db->free
();
}
else
{
print
$db->error
() . ' ' .
$sql
;
}
print '</table>';
print '</td></tr>';
print '</table>';
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment