Merge pull request #15512 from fappels/12_fix_transfer_expline_extrafield

Fix issue #15506 tansfer line extrafield order  to expedition
This commit is contained in:
Laurent Destailleur 2020-11-25 15:30:07 +01:00 committed by GitHub
commit c9371e9eb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1599,7 +1599,7 @@ if ($action == 'create')
$srcLine = new OrderLine($db);
$srcLine->id = $line->id;
$srcLine->fetch_optionals(); // fetch extrafields also available in orderline
$line->array_options = array_merge($line->array_options, $srcLine->array_options);
$expLine->array_options = array_merge($expLine->array_options, $srcLine->array_options);
print $expLine->showOptionals($extrafields, 'edit', array('style'=>'class="drag drop oddeven"', 'colspan'=>$colspan), $indiceAsked, '', 1);
}