diff --git a/htdocs/compta/charges/index.php b/htdocs/compta/charges/index.php
index f0188c5ed94..2f5802da185 100644
--- a/htdocs/compta/charges/index.php
+++ b/htdocs/compta/charges/index.php
@@ -183,7 +183,7 @@ if (! empty($conf->tax->enabled) && $user->rights->tax->charges->lire)
print $socialcontrib->getNomUrl(1,'20');
print '';
// Type
- print '
'.$obj->lib.' | ';
+ print ''.$obj->lib.' | ';
// Expected to pay
print ''.price($obj->total).' | ';
// Ref payment
diff --git a/htdocs/compta/sociales/card.php b/htdocs/compta/sociales/card.php
index 6a0d53d6987..672b9003805 100644
--- a/htdocs/compta/sociales/card.php
+++ b/htdocs/compta/sociales/card.php
@@ -121,7 +121,7 @@ if ($action == 'confirm_delete' && $confirm == 'yes')
$result=$object->delete($user);
if ($result > 0)
{
- header("Location: index.php");
+ header("Location: list.php");
exit;
}
else
diff --git a/htdocs/compta/sociales/list.php b/htdocs/compta/sociales/list.php
index be3e7ea5791..9b7dcbbe120 100644
--- a/htdocs/compta/sociales/list.php
+++ b/htdocs/compta/sociales/list.php
@@ -168,7 +168,7 @@ if ($resql)
if ($year)
{
- $center=($year?"".img_previous()." ".$langs->trans("Year")." $year ".img_next()."":"");
+ $center=($year?"".img_previous()." ".$langs->trans("Year")." $year ".img_next()."":"");
print_barre_liste($langs->trans("SocialContributions"), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $center, $num, $totalnboflines, 'title_accountancy.png', 0, $newcardbutton, '', $limit);
}
else
@@ -258,7 +258,7 @@ if ($resql)
print '';
if ($obj->periode)
{
- print 'jdate($obj->periode)).'">'.dol_print_date($db->jdate($obj->periode),'day').'';
+ print 'jdate($obj->periode)).'">'.dol_print_date($db->jdate($obj->periode),'day').'';
}
else
{
diff --git a/htdocs/compta/sociales/payments.php b/htdocs/compta/sociales/payments.php
index 936c2c9c0f2..4025f86ff01 100644
--- a/htdocs/compta/sociales/payments.php
+++ b/htdocs/compta/sociales/payments.php
@@ -90,7 +90,7 @@ print '';
if ($mode != 'sconly')
{
- $center=($year?''.img_previous($langs->trans("Previous"), 'class="valignbottom"')." ".$langs->trans("Year").' '.$year.' '.img_next($langs->trans("Next"), 'class="valignbottom"')."":"");
+ $center=($year?''.img_previous($langs->trans("Previous"), 'class="valignbottom"')." ".$langs->trans("Year").' '.$year.' '.img_next($langs->trans("Next"), 'class="valignbottom"')."":"");
print_barre_liste($title,$page,$_SERVER["PHP_SELF"],$param,$sortfield,$sortorder,$center,$num,$totalnboflines, 'title_accountancy', 0, '', '', $limit, 1);
}
else
@@ -181,7 +181,7 @@ if (! empty($conf->tax->enabled) && $user->rights->tax->charges->lire)
print $socialcontrib->getNomUrl(1,'20');
print ' | ';
// Type
- print ''.$obj->lib.' | ';
+ print ''.$obj->lib.' | ';
// Date
$date=$obj->periode;
if (empty($date)) $date=$obj->date_ech;