Doc
This commit is contained in:
parent
866fc4d83e
commit
6c1c8058c1
@ -2414,7 +2414,8 @@ if ($action == 'create') {
|
|||||||
}
|
}
|
||||||
print "</tr>";
|
print "</tr>";
|
||||||
|
|
||||||
// Display lines extrafields
|
// Display lines extrafields.
|
||||||
|
// $line is a line of shipment
|
||||||
if (!empty($extrafields)) {
|
if (!empty($extrafields)) {
|
||||||
$colspan = 6;
|
$colspan = 6;
|
||||||
if ($origin && $origin_id > 0) {
|
if ($origin && $origin_id > 0) {
|
||||||
|
|||||||
@ -1238,7 +1238,9 @@ if ($action == 'create') {
|
|||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
$extralabelslines = $extrafields->attributes[$line->table_element];
|
$extralabelslines = $extrafields->attributes[$line->table_element];
|
||||||
//Display lines extrafields
|
|
||||||
|
// Display lines extrafields
|
||||||
|
// $line is a line of reception (so CommandeFournisseurDispatch)
|
||||||
if (is_array($extralabelslines) && count($extralabelslines) > 0) {
|
if (is_array($extralabelslines) && count($extralabelslines) > 0) {
|
||||||
$colspan = 5;
|
$colspan = 5;
|
||||||
if ($conf->productbatch->enabled) {
|
if ($conf->productbatch->enabled) {
|
||||||
@ -1260,7 +1262,7 @@ if ($action == 'create') {
|
|||||||
}
|
}
|
||||||
$line->array_options = array_merge($line->array_options, $srcLine->array_options);
|
$line->array_options = array_merge($line->array_options, $srcLine->array_options);
|
||||||
|
|
||||||
print $line->showOptionals($extrafields, 'edit', array('style'=>'class="oddeven"', 'colspan'=>$colspan), $indiceAsked);
|
print $line->showOptionals($extrafields, 'edit', array('style'=>'class="oddeven"', 'colspan'=>$colspan), $indiceAsked, '', 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
$indiceAsked++;
|
$indiceAsked++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user