diff --git a/htdocs/accountancy/bookkeeping/listbysubaccount.php b/htdocs/accountancy/bookkeeping/listbysubaccount.php
index 4800fb779c6..b7ef25fd821 100644
--- a/htdocs/accountancy/bookkeeping/listbysubaccount.php
+++ b/htdocs/accountancy/bookkeeping/listbysubaccount.php
@@ -695,14 +695,15 @@ while ($i < min($num, $limit)) {
print '
';
// Piece number
- if (!empty($arrayfields['t.piece_num']['checked']))
- {
+ if (!empty($arrayfields['t.piece_num']['checked'])) {
print '| ';
$object->id = $line->id;
$object->piece_num = $line->piece_num;
print $object->getNomUrl(1, '', 0, '', 1);
print ' | ';
- if (!$i) $totalarray['nbfield']++;
+ if (!$i) {
+ $totalarray['nbfield']++;
+ }
}
// Journal code
@@ -724,21 +725,6 @@ while ($i < min($num, $limit)) {
}
}
-<<<<<<< HEAD
- // Piece number
- if (!empty($arrayfields['t.piece_num']['checked'])) {
- print '';
- $object->id = $line->id;
- $object->piece_num = $line->piece_num;
- print $object->getNomUrl(1, '', 0, '', 1);
- print ' | ';
- if (!$i) {
- $totalarray['nbfield']++;
- }
- }
-
-=======
->>>>>>> branch '13.0' of git@github.com:Dolibarr/dolibarr.git
// Document ref
if (!empty($arrayfields['t.doc_ref']['checked'])) {
if ($line->doc_type == 'customer_invoice') {