Modif gestion des numéros spéciaux
This commit is contained in:
parent
72739fe7f7
commit
bfb3641816
@ -85,16 +85,24 @@ if ( $resql )
|
|||||||
|
|
||||||
/* Recherche du tarif */
|
/* Recherche du tarif */
|
||||||
|
|
||||||
if (! $tarif_achat->cout($numero, $x, $y, $z))
|
/* Numéros spéciaux */
|
||||||
|
if (substr($numero,4,1) == 8)
|
||||||
{
|
{
|
||||||
print "\nTarif achat manquant pour $numero\n";
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (! $tarif_vente->cout($numero, $x, $y, $z))
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
print "\nTarif vente manquant pour $numero\n";
|
if (! $tarif_achat->cout($numero, $x, $y, $z))
|
||||||
exit(1);
|
{
|
||||||
|
print "\nTarif achat manquant pour $numero\n";
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (! $tarif_vente->cout($numero, $x, $y, $z))
|
||||||
|
{
|
||||||
|
print "\nTarif vente manquant pour $numero\n";
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
print ".";
|
print ".";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user