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