diff --git a/htdocs/accountancy/journal/bankjournal.php b/htdocs/accountancy/journal/bankjournal.php
index ccada3d1f81..c778c17bfc3 100644
--- a/htdocs/accountancy/journal/bankjournal.php
+++ b/htdocs/accountancy/journal/bankjournal.php
@@ -1277,7 +1277,7 @@ if (empty($action) || $action == 'view') {
print "
".$date." | ";
// Ref
- print "".dol_escape_htmltag($ref)." | ";
+ print ''.dol_escape_htmltag($ref)." | ";
// Ledger account
$accounttoshow = length_accountg($k);
@@ -1299,7 +1299,7 @@ if (empty($action) || $action == 'view') {
print "";
// Label operation
- print '';
+ print ' | ';
print $reflabel; // This is already html escaped content
print " | ";
@@ -1332,8 +1332,8 @@ if (empty($action) || $action == 'view') {
// Date
print "".$date." | ";
- // Ref
- print "".dol_escape_htmltag($ref)." | ";
+ // Ref / Piece
+ print ''.dol_escape_htmltag($ref)." | ";
// Ledger account
@@ -1421,11 +1421,14 @@ if (empty($action) || $action == 'view') {
$accounttoshowsubledger = '';
}
}
- print '';
+ print ' | ';
print $accounttoshowsubledger; // This is a html string
print " | ";
- print "".$reflabel." | ";
+ // Label operation
+ print '';
+ print $reflabel; // This is a html string
+ print " | ";
print ''.$val["type_payment"]." | ";