/[dolibarr]/dolibarr/htdocs/telephonie/client/fiche.php
ViewVC logotype

Diff of /dolibarr/htdocs/telephonie/client/fiche.php

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

revision 1.9 by rodolphe, Tue Sep 6 21:56:20 2005 UTC revision 1.10 by rodolphe, Mon Oct 31 10:01:54 2005 UTC
# Line 66  if ($_GET["id"]) Line 66  if ($_GET["id"])
66            $head[$h][0] = DOL_URL_ROOT."/telephonie/client/stats.php?id=".$soc->id;            $head[$h][0] = DOL_URL_ROOT."/telephonie/client/stats.php?id=".$soc->id;
67            $head[$h][1] = $langs->trans("Stats");            $head[$h][1] = $langs->trans("Stats");
68            $h++;            $h++;
69                    
70              $sql = "SELECT count(*) FROM ".MAIN_DB_PREFIX."telephonie_tarif_client";
71              $sql .= " WHERE fk_client = '".$soc->id."';";
72              $resql = $db->query($sql);
73    
74              if ($resql)
75                {
76                  $row = $db->fetch_row($resql);
77                  $db->free($resql);
78                }
79    
80            $head[$h][0] = DOL_URL_ROOT."/telephonie/client/tarifs.php?id=".$soc->id;            $head[$h][0] = DOL_URL_ROOT."/telephonie/client/tarifs.php?id=".$soc->id;
81            $head[$h][1] = $langs->trans("Tarifs");            $head[$h][1] = $langs->trans("Tarifs (".$row[0].")");
82            $h++;            $h++;
83    
84            if ($soc->perm_perms)            if ($soc->perm_perms)

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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