From e2e804e37a6ad44dfbc1a7f7740afd176c40342f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 13 Nov 2015 00:30:10 +0100 Subject: [PATCH] Minor fix --- htdocs/margin/tabs/thirdpartyMargins.php | 7 ++++--- htdocs/societe/soc.php | 16 ++++++++-------- 2 files changed, 12 insertions(+), 11 deletions(-) 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 ''; @@ -2147,14 +2155,6 @@ else else print ' '; print ''; - print '
'.$langs->trans('JuridicalStatus').''.$object->forme_juridique.'
'; - - print '
'; - print '
'; - - print '
'; - print ''; - // Default language if (! empty($conf->global->MAIN_MULTILANGS)) {