diff --git a/htdocs/accountancy/journal/variousjournal.php b/htdocs/accountancy/journal/variousjournal.php
index cf652a29345..621683ea4cb 100644
--- a/htdocs/accountancy/journal/variousjournal.php
+++ b/htdocs/accountancy/journal/variousjournal.php
@@ -272,9 +272,10 @@ $object_label = $langs->trans("ObjectsRef");
if ($object->nature == 2 || $object->nature == 3) $object_label = $langs->trans("InvoiceRef");
if ($object->nature == 5) $object_label = $langs->trans("ExpenseReportRef");
-/*
- * Show result array
- */
+
+// Show result array
+$i = 0;
+
print '
';
print '
';
@@ -304,11 +305,21 @@ if (is_array($journal_data) && !empty($journal_data)) {
print '
' . $line['debit'] . ' | ';
print '' . $line['credit'] . ' | ';
print '';
+
+ $i++;
}
}
}
}
+if (!$i) {
+ $colspan = 7;
+ if ($object->nature == 4) {
+ $colspan++;
+ }
+ print '| '.$langs->trans("NoRecordFound").' |
';
+}
+
print '';
print '';
diff --git a/htdocs/projet/index.php b/htdocs/projet/index.php
index 6e39b629347..d78e3c47f0a 100644
--- a/htdocs/projet/index.php
+++ b/htdocs/projet/index.php
@@ -394,7 +394,7 @@ if ($resql) {
if ($othernb) {
print '';
print '| ';
- print '...';
+ print ''.$langs->trans("More").'...';
print ' | ';
print '';
print $othernb;
|