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

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

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

revision 1.8 by rodolphe, Tue Sep 6 21:56:20 2005 UTC revision 1.9 by rodolphe, Mon Oct 31 10:01:27 2005 UTC
# Line 64  if ($_GET["id"]) Line 64  if ($_GET["id"])
64            $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;
65            $head[$h][1] = $langs->trans("Stats");            $head[$h][1] = $langs->trans("Stats");
66            $h++;            $h++;
                   
           $head[$h][0] = DOL_URL_ROOT."/telephonie/client/tarifs.php?id=".$soc->id;  
           $head[$h][1] = $langs->trans("Tarifs");  
           $h++;  
67    
68              $sql = "SELECT count(*) FROM ".MAIN_DB_PREFIX."telephonie_tarif_client";
69              $sql .= " WHERE fk_client = '".$soc->id."';";
70              $resql = $db->query($sql);
71    
72              if ($resql)
73                {
74                  $row = $db->fetch_row($resql);
75                  $db->free($resql);
76                }
77    
78              $head[$h][0] = DOL_URL_ROOT."/telephonie/client/tarifs.php?id=".$soc->id;
79              $head[$h][1] = $langs->trans("Tarifs (".$row[0].")");        
80              $h++;
81                    
82            dolibarr_fiche_head($head, $hselected, 'Client : '.$soc->nom);            dolibarr_fiche_head($head, $hselected, 'Client : '.$soc->nom);
83    
84            print '<table class="border" cellpadding="3" cellspacing="0" width="100%">';            print '<table class="border" cellpadding="3" cellspacing="0" width="100%">';

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

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