diff --git a/htdocs/soc.php b/htdocs/soc.php index 6b3e97407db..4d6097a73fe 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -271,7 +271,7 @@ elseif ($_GET["action"] == 'edit') print ''.$langs->trans('Phone').''; print ''.$langs->trans('Fax').''; - print ''.$langs->trans('CustomerCode').''; + print ''.$langs->trans('CustomerCode').''; if ($soc->codeclient_modifiable == 1) { @@ -281,6 +281,9 @@ elseif ($_GET["action"] == 'edit') { print $soc->code_client; } + + print 'Type'; + $form->select_array("typent_id",$soc->typent_array(), $soc->typent_id); print ''; print ''.$langs->trans('Web').''; @@ -416,7 +419,7 @@ else print ''.$langs->trans('Fax').''.dolibarr_print_phone($soc->fax).''; print ''; - print $langs->trans('CustomerCode').''; + print $langs->trans('CustomerCode').''; print $soc->code_client; if ($soc->check_codeclient() <> 0) { @@ -457,13 +460,19 @@ else print '
'; + + print ''.$langs->trans("Edit").''; print ''.$langs->trans("AddContact").''; if ($user->rights->societe->supprimer) { - print ''.$langs->trans("Delete").''; + + print 'Maison mère'; + + print ''.$langs->trans("Delete").''; + } print '
'; }