diff --git a/htdocs/accountancy/bookkeeping/balance.php b/htdocs/accountancy/bookkeeping/balance.php
index 6a323121a6e..df593d3e274 100644
--- a/htdocs/accountancy/bookkeeping/balance.php
+++ b/htdocs/accountancy/bookkeeping/balance.php
@@ -235,7 +235,7 @@ if ($action != 'export_csv')
print $langs->trans('to');
print $formaccounting->select_account($search_accountancy_code_end, 'search_accountancy_code_end', 1, array(), 1, 1, '');
print '';
- print '
';
+ print ' | ';
$searchpicto=$form->showFilterAndCheckAddButtons(0);
print $searchpicto;
print ' | ';
@@ -245,9 +245,9 @@ if ($action != 'export_csv')
print '';
print_liste_field_titre("AccountAccounting", $_SERVER['PHP_SELF'], "t.numero_compte", "", $param, "", $sortfield, $sortorder);
print_liste_field_titre("Label", $_SERVER['PHP_SELF'], "t.label_operation", "", $param, "", $sortfield, $sortorder);
- print_liste_field_titre("Debit", $_SERVER['PHP_SELF'], "t.debit", "", $param, 'align="right"', $sortfield, $sortorder);
- print_liste_field_titre("Credit", $_SERVER['PHP_SELF'], "t.credit", "", $param, 'align="right"', $sortfield, $sortorder);
- print_liste_field_titre("Balance", $_SERVER["PHP_SELF"], "", $param, "", 'align="right"', $sortfield, $sortorder);
+ print_liste_field_titre("Debit", $_SERVER['PHP_SELF'], "t.debit", "", $param, 'class="right"', $sortfield, $sortorder);
+ print_liste_field_titre("Credit", $_SERVER['PHP_SELF'], "t.credit", "", $param, 'class="right"', $sortfield, $sortorder);
+ print_liste_field_titre("Balance", $_SERVER["PHP_SELF"], "", $param, "", 'class="right"', $sortfield, $sortorder);
print_liste_field_titre('', $_SERVER["PHP_SELF"], "", $param, "", 'width="60" align="center"', $sortfield, $sortorder);
print "
\n";
@@ -274,7 +274,7 @@ if ($action != 'export_csv')
{
// Affiche un Sous-Total par compte comptable
if ($displayed_account != "") {
- print '| ' . $langs->trans("SubTotal") . ': | ' . price($sous_total_debit) . ' | ' . price($sous_total_credit) . ' | ' . price(price2num($sous_total_credit - $sous_total_debit)) . ' | ';
+ print '
| ' . $langs->trans("SubTotal") . ': | ' . price($sous_total_debit) . ' | ' . price($sous_total_credit) . ' | ' . price(price2num($sous_total_credit - $sous_total_debit)) . ' | ';
print " | \n";
print '
';
}
@@ -305,11 +305,11 @@ if ($action != 'export_csv')
$sous_total_credit += $line->credit;
}
- print '| ' . $langs->trans("SubTotal") . ': | ' . price($sous_total_debit) . ' | ' . price($sous_total_credit) . ' | ' . price(price2num($sous_total_credit - $sous_total_debit)) . ' | ';
+ print '
| ' . $langs->trans("SubTotal") . ': | ' . price($sous_total_debit) . ' | ' . price($sous_total_credit) . ' | ' . price(price2num($sous_total_credit - $sous_total_debit)) . ' | ';
print " | \n";
print '
';
- print '| ' . $langs->trans("AccountBalance") . ': | ' . price($total_debit) . ' | ' . price($total_credit) . ' | ' . price(price2num($total_credit - $total_debit)) . ' | ';
+ print '
| ' . $langs->trans("AccountBalance") . ': | ' . price($total_debit) . ' | ' . price($total_credit) . ' | ' . price(price2num($total_credit - $total_debit)) . ' | ';
print " | \n";
print '
';