Renvoi vers la fiche fournisseur lors de la creation

This commit is contained in:
Rodolphe Quiedeville 2007-01-15 11:53:25 +00:00
parent fefa18507d
commit 1357aca327

View File

@ -137,7 +137,14 @@ if ((! $_POST["getcustomercode"] && ! $_POST["getsuppliercode"])
}
else
{
Header("Location: soc.php?socid=".$soc->id);
if ( $soc->fournisseur == 1 )
{
Header("Location: fourn/fiche.php?socid=".$soc->id);
}
else
{
Header("Location: soc.php?socid=".$soc->id);
}
}
exit;
}