Dbut ajout cration de particulier
This commit is contained in:
parent
ef339b8f29
commit
765be7283e
@ -14,6 +14,7 @@ MenuSocGroup=Groupes
|
||||
NewCompany=Nouvelle société (prospect, client, fournisseur)
|
||||
NewThirdParty=Nouveau tiers (prospect, client, fournisseur)
|
||||
NewSocGroup=Nouveau groupement de sociétés
|
||||
NewPrivateIndividual=Nouveau particulier (prospect, client)
|
||||
ProspectionArea=Espace prospection
|
||||
SocGroup=Groupement de sociétés
|
||||
IdCompany=Id société
|
||||
|
||||
@ -299,7 +299,14 @@ if ($_POST["getcustomercode"] || $_POST["getsuppliercode"] ||
|
||||
$soc->pays=$obj->libelle;
|
||||
}
|
||||
|
||||
print_titre($langs->trans("NewCompany"));
|
||||
if (!$soc->particulier)
|
||||
{
|
||||
print_titre($langs->trans("NewCompany"));
|
||||
}
|
||||
else
|
||||
{
|
||||
print_titre($langs->trans("NewPrivateIndividual"));
|
||||
}
|
||||
print "<br>\n";
|
||||
|
||||
if ($soc->error)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user