From c2c79eff017046f44745484e5a59543fe391963f Mon Sep 17 00:00:00 2001 From: Juanjo Menent Date: Thu, 5 Feb 2009 09:11:08 +0000 Subject: [PATCH] Creating tiers particulier enhanced --- htdocs/soc.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/htdocs/soc.php b/htdocs/soc.php index ed7fc88e2ee..cfd5dde3e00 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -373,19 +373,22 @@ $_GET["action"] == 'create' || $_POST["action"] == 'create') if ($modCodeClient->code_auto || $modCodeFournisseur->code_auto) print ''; print ''; - - print ''; - print ''; - + if ($soc->particulier) { + print ''; + print ''; print ''; print ''; - print ''; print ''; } + else + { + print ''; + print ''; + } // Client / Prospect print '
'.$langs->trans('Name').''.$langs->trans('Prefix').'
'.$langs->trans('LastName').''.$langs->trans('Prefix').'
'.$langs->trans('FirstName').' 
'.$langs->trans("UserTitle").''; print $formcompany->select_civilite($contact->civilite_id).' 
'.$langs->trans('Name').''.$langs->trans('Prefix').'
'.$langs->trans('ProspectCustomer').'