/[dolibarr]/dolibarr/htdocs/telephonie/stats/commerciaux/commercial.ca.class.php
ViewVC logotype

Diff of /dolibarr/htdocs/telephonie/stats/commerciaux/commercial.ca.class.php

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

revision 1.3 by rodolphe, Thu Dec 1 15:02:19 2005 UTC revision 1.4 by rodolphe, Thu Dec 1 15:03:52 2005 UTC
# Line 46  class GraphCommercialChiffreAffaire exte Line 46  class GraphCommercialChiffreAffaire exte
46      if ($commercial > 0)      if ($commercial > 0)
47        {        {
48          $sql = "DELETE FROM ".MAIN_DB_PREFIX."telephonie_stats";              $sql = "DELETE FROM ".MAIN_DB_PREFIX."telephonie_stats";    
49          $sql .= " WHERE graph='commercial.ca.mensuel.".$commercial."';";          $sql .= " WHERE graph='commercial.ca.mensuel.".$commercial."'";
50          if ($this->year > 0)          if ($this->year > 0)
51            {            {
52              $sql .= " AND legend like '".$this->year."%'";              $sql .= " AND legend like '".$this->year."%'";

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