/[dolibarr]/dolibarr/htdocs/telephonie/script/facturation-verif.php
ViewVC logotype

Diff of /dolibarr/htdocs/telephonie/script/facturation-verif.php

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

revision 1.6 by rodolphe, Tue Jun 7 09:22:06 2005 UTC revision 1.7 by rodolphe, Tue Nov 8 13:42:45 2005 UTC
# Line 84  if ( $resql ) Line 84  if ( $resql )
84          }                  }        
85    
86        /* Recherche du tarif */        /* Recherche du tarif */
87          
88        if (! $tarif_achat->cout($numero, $x, $y, $z))        /* Numéros spéciaux */
89          if (substr($numero,4,1) == 8)
90          {          {
91            print "\nTarif achat manquant pour $numero\n";  
           exit(1);  
92          }          }
93                else
       if (! $tarif_vente->cout($numero, $x, $y, $z))  
94          {          {
95            print "\nTarif vente manquant pour $numero\n";            if (! $tarif_achat->cout($numero, $x, $y, $z))
96            exit(1);              {
97                  print "\nTarif achat manquant pour $numero\n";
98                  exit(1);
99                }
100              
101              if (! $tarif_vente->cout($numero, $x, $y, $z))
102                {
103                  print "\nTarif vente manquant pour $numero\n";
104                  exit(1);
105                }
106          }          }
107          
108        print ".";        print ".";
109        $i++;        $i++;
110      }      }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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