Parent Directory | Revision Log | Patch
revision 1.7 by rodolphe, Tue May 10 13:42:00 2005 UTC | revision 1.8 by rodolphe, Tue Aug 9 13:14:21 2005 UTC | |
---|---|---|
# | Line 122 class ProcessGraphClients | Line 122 class ProcessGraphClients |
122 | ||
123 | if ($graphgain->total_cout > 0) | if ($graphgain->total_cout > 0) |
124 | { | { |
125 | $marge = ( $graphgain->total_gain / $graphgain->total_cout * 100); | $marge = ( $graphgain->total_gain / $graphgain->total_ca * 100); |
126 | } | } |
127 | ||
128 | $sql = "INSERT INTO ".MAIN_DB_PREFIX."telephonie_client_stats (fk_client_comm, gain, ca, cout, marge)"; | $sql = "INSERT INTO ".MAIN_DB_PREFIX."telephonie_client_stats (fk_client_comm, gain, ca, cout, marge)"; |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |