diff --git a/htdocs/accountancy/admin/journals_list.php b/htdocs/accountancy/admin/journals_list.php
index cac81bfbcae..78cd92f90e0 100644
--- a/htdocs/accountancy/admin/journals_list.php
+++ b/htdocs/accountancy/admin/journals_list.php
@@ -162,7 +162,7 @@ if (GETPOST('actionadd', 'alpha') || GETPOST('actionmodify', 'alpha'))
{
if ($fieldnamekey == 'libelle' || ($fieldnamekey == 'label')) $fieldnamekey='Label';
if ($fieldnamekey == 'code') $fieldnamekey = 'Code';
- if ($fieldnamekey == 'nature') $fieldnamekey = 'Nature';
+ if ($fieldnamekey == 'nature') $fieldnamekey = 'NatureOfJournal';
}
// Other checks
if (isset($_POST["code"]))
@@ -437,7 +437,7 @@ if ($id)
$valuetoshow=$langs->trans("Label");
}
if ($fieldlist[$field]=='nature') {
- $valuetoshow=$langs->trans("Nature");
+ $valuetoshow=$langs->trans("NatureOfJournal");
}
if ($valuetoshow != '') {
@@ -516,7 +516,7 @@ if ($id)
}
// Title line with search boxes
- print '
';
+ /*print '
';
print ' | ';
print ' | ';
print ' | ';
@@ -524,16 +524,14 @@ if ($id)
print ' | ';
print ' | ';
print '';
- if ($filterfound)
- {
- $searchpicto=$form->showFilterAndCheckAddButtons(0);
- print $searchpicto;
- }
+ $searchpicto=$form->showFilterButtons();
+ print $searchpicto;
print ' | ';
print '
';
-
+ */
+
// Title of lines
- print '';
+ print '
';
foreach ($fieldlist as $field => $value)
{
// Determine le nom du champ par rapport aux noms possibles
@@ -558,7 +556,7 @@ if ($id)
$valuetoshow=$langs->trans("Label");
}
if ($fieldlist[$field]=='nature') {
- $valuetoshow=$langs->trans("Nature");
+ $valuetoshow=$langs->trans("NatureOfJournal");
}
// Affiche nom du champ
diff --git a/htdocs/langs/en_US/accountancy.lang b/htdocs/langs/en_US/accountancy.lang
index 6dfe4fc8c4f..4b22f512826 100644
--- a/htdocs/langs/en_US/accountancy.lang
+++ b/htdocs/langs/en_US/accountancy.lang
@@ -265,7 +265,7 @@ AccountingJournals=Accounting journals
AccountingJournal=Accounting journal
NewAccountingJournal=New accounting journal
ShowAccoutingJournal=Show accounting journal
-Nature=Nature
+NatureOfJournal=Nature of Journal
AccountingJournalType1=Miscellaneous operations
AccountingJournalType2=Sales
AccountingJournalType3=Purchases