fix merge

This commit is contained in:
Frédéric FRANCE 2021-01-14 14:48:41 +01:00 committed by GitHub
parent aaddda9a6e
commit 4f67f840bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -695,14 +695,15 @@ while ($i < min($num, $limit)) {
print '<tr class="oddeven">';
// Piece number
if (!empty($arrayfields['t.piece_num']['checked']))
{
if (!empty($arrayfields['t.piece_num']['checked'])) {
print '<td>';
$object->id = $line->id;
$object->piece_num = $line->piece_num;
print $object->getNomUrl(1, '', 0, '', 1);
print '</td>';
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 '<td>';
$object->id = $line->id;
$object->piece_num = $line->piece_num;
print $object->getNomUrl(1, '', 0, '', 1);
print '</td>';
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') {