Renvoi vers la fiche fournisseur lors de la creation
This commit is contained in:
parent
fefa18507d
commit
1357aca327
@ -137,7 +137,14 @@ if ((! $_POST["getcustomercode"] && ! $_POST["getsuppliercode"])
|
|||||||
}
|
}
|
||||||
else
|
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;
|
exit;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user