/[dolibarr]/dolibarr/htdocs/telephonie/stats/graph/comm.nbminutes.class.php
ViewVC logotype

Diff of /dolibarr/htdocs/telephonie/stats/graph/comm.nbminutes.class.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by rodolphe, Wed Mar 16 16:41:16 2005 UTC revision 1.4 by rodolphe, Thu Oct 20 19:18:05 2005 UTC
# Line 46  class GraphCommNbMinutes extends GraphBa Line 46  class GraphCommNbMinutes extends GraphBa
46    Function Graph($datas='', $labels='')    Function Graph($datas='', $labels='')
47    {        {    
48      $this->GetDatas();      $this->GetDatas();
49        $this->width = 360;
50      if (sizeof($this->datas))      if (sizeof($this->datas))
51        {        {
52          $this->GraphDraw($this->file, $this->datas, $this->labels);          $this->GraphDraw($this->file, $this->datas, $this->labels);
# Line 88  class GraphCommNbMinutes extends GraphBa Line 88  class GraphCommNbMinutes extends GraphBa
88          $sql .= " GROUP BY date_format(td.date,'%Y%m') ASC ";          $sql .= " GROUP BY date_format(td.date,'%Y%m') ASC ";
89        }            }    
90    
   
91      if ($this->db->query($sql))      if ($this->db->query($sql))
92        {        {
93          $num = $this->db->num_rows();          $num = $this->db->num_rows();

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26