diff --git a/htdocs/margin/tabs/thirdpartyMargins.php b/htdocs/margin/tabs/thirdpartyMargins.php
index 9f2f745ad0c..147afc124fc 100644
--- a/htdocs/margin/tabs/thirdpartyMargins.php
+++ b/htdocs/margin/tabs/thirdpartyMargins.php
@@ -124,12 +124,13 @@ if ($socid > 0)
print "";
- dol_fiche_end();
-
print '';
print '
';
-
+ dol_fiche_end();
+
+ print '
';
+
$sql = "SELECT distinct s.nom, s.rowid as socid, s.code_client,";
$sql.= " f.rowid as facid, f.facnumber, f.total as total_ht,";
$sql.= " f.datef, f.paye, f.fk_statut as statut, f.type,";
diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php
index 8b640040b80..b7465abe85b 100644
--- a/htdocs/societe/soc.php
+++ b/htdocs/societe/soc.php
@@ -2138,6 +2138,14 @@ else
print '| '.$langs->trans("ThirdPartyType").' | '.$object->typent.' | ';
print '
| '.$langs->trans("Staff").' | '.$object->effectif.' |
';
+ print '';
+
+ print '';
+ print '';
+
+ print '
';
+ print '
';
+
// Legal
print '| '.$langs->trans('JuridicalStatus').' | '.$object->forme_juridique.' |
';
@@ -2147,14 +2155,6 @@ else
else print ' ';
print '';
- print '
';
-
- print '
';
- print '
';
-
- print '
';
- print '
';
-
// Default language
if (! empty($conf->global->MAIN_MULTILANGS))
{