diff --git a/htdocs/accountancy/customer/lines.php b/htdocs/accountancy/customer/lines.php
index 9b9daf3d07b..54d164532f6 100644
--- a/htdocs/accountancy/customer/lines.php
+++ b/htdocs/accountancy/customer/lines.php
@@ -24,8 +24,8 @@
* \ingroup Accountancy (Double entries)
* \brief Page of detail of the lines of ventilation of invoices customers
*/
-require '../../main.inc.php';
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formaccounting.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php';
@@ -554,11 +554,12 @@ if ($result) {
print '
'.dol_escape_htmltag($objp->tva_intra).' | ';
- print '';
- print $accountingaccountstatic->getNomUrl(0, 1, 1, '', 1);
- print ' ';
+ print ' | ';
+ print '';
print img_edit();
- print ' | ';
+ print ' ';
+ print $accountingaccountstatic->getNomUrl(0, 1, 1, '', 1);
+ print '';
print ' | ';
diff --git a/htdocs/accountancy/expensereport/lines.php b/htdocs/accountancy/expensereport/lines.php
index cb0317d5c01..c23cb2f5e88 100644
--- a/htdocs/accountancy/expensereport/lines.php
+++ b/htdocs/accountancy/expensereport/lines.php
@@ -433,11 +433,13 @@ if ($result) {
print ''.vatrate($objp->tva_tx.($objp->vat_src_code ? ' ('.$objp->vat_src_code.')' : '')).' | ';
// Accounting account affected
- print '';
- print $accountingaccountstatic->getNomUrl(0, 1, 1, '', 1);
- print ' ';
+ print ' | ';
+ print '';
print img_edit();
- print ' | ';
+ print ' ';
+ print $accountingaccountstatic->getNomUrl(0, 1, 1, '', 1);
+ print '';
+
print ' | ';
print "";
diff --git a/htdocs/accountancy/supplier/lines.php b/htdocs/accountancy/supplier/lines.php
index 6dd160ed9b9..938b5c699c9 100644
--- a/htdocs/accountancy/supplier/lines.php
+++ b/htdocs/accountancy/supplier/lines.php
@@ -559,11 +559,13 @@ if ($result) {
print ''.dol_escape_htmltag($objp->tva_intra).' | ';
- print '';
- print $accountingaccountstatic->getNomUrl(0, 1, 1, '', 1);
- print ' ';
+ print ' | ';
+ print '';
print img_edit();
- print ' | ';
+ print ' ';
+ print $accountingaccountstatic->getNomUrl(0, 1, 1, '', 1);
+ print '';
+
print ' | ';
print '';