diff --git a/htdocs/compta/journal/purchasesjournal.php b/htdocs/compta/journal/purchasesjournal.php
index 687c31de036..db69324d5e5 100644
--- a/htdocs/compta/journal/purchasesjournal.php
+++ b/htdocs/compta/journal/purchasesjournal.php
@@ -182,7 +182,7 @@ print "
";
print "| ".$langs->trans("Date")." | ";
print "".$langs->trans("Piece").' ('.$langs->trans("InvoiceRef").") | ";
print "".$langs->trans("Account")." | ";
-print "".$langs->trans("Type")." | ".$langs->trans("Debit")." | ".$langs->trans("Credit")." | ";
+print "".$langs->trans("Type")." | ".$langs->trans("Debit")." | ".$langs->trans("Credit")." | ";
print "
\n";
@@ -236,13 +236,13 @@ foreach ($tabfac as $key => $val)
if (isset($line['inv']))
{
- print ''.($mt<0?price(-$mt):'')." | ";
- print ''.($mt>=0?price($mt):'')." | ";
+ print ''.($mt<0?price(-$mt):'')." | ";
+ print ''.($mt>=0?price($mt):'')." | ";
}
else
{
- print ''.($mt>=0?price($mt):'')." | ";
- print ''.($mt<0?price(-$mt):'')." | ";
+ print ''.($mt>=0?price($mt):'')." | ";
+ print ''.($mt<0?price(-$mt):'')." | ";
}
print "";
diff --git a/htdocs/compta/journal/sellsjournal.php b/htdocs/compta/journal/sellsjournal.php
index fcd53a58ea3..ea5f54639a1 100644
--- a/htdocs/compta/journal/sellsjournal.php
+++ b/htdocs/compta/journal/sellsjournal.php
@@ -211,7 +211,7 @@ print '';
//print "| ".$langs->trans("JournalNum")." | ";
print ''.$langs->trans('Date').' | '.$langs->trans('Piece').' ('.$langs->trans('InvoiceRef').') | ';
print ''.$langs->trans('Account').' | ';
-print ''.$langs->trans('Type').' | '.$langs->trans('Debit').' | '.$langs->trans('Credit').' | ';
+print ''.$langs->trans('Type').' | '.$langs->trans('Debit').' | '.$langs->trans('Credit').' | ';
print "
\n";
@@ -266,13 +266,13 @@ foreach ($tabfac as $key => $val)
if (isset($line['inv']))
{
- print ''.($mt>=0?price($mt):'')." | ";
- print ''.($mt<0?price(-$mt):'')." | ";
+ print ''.($mt>=0?price($mt):'')." | ";
+ print ''.($mt<0?price(-$mt):'')." | ";
}
else
{
- print ''.($mt<0?price(-$mt):'')." | ";
- print ''.($mt>=0?price($mt):'')." | ";
+ print ''.($mt<0?price(-$mt):'')." | ";
+ print ''.($mt>=0?price($mt):'')." | ";
}
print "";