mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
Fix a problem when we have an extrafield on the line (#31104)
This commit is contained in:
committed by
GitHub
parent
2f773e9326
commit
6de574bf5c
@@ -1713,7 +1713,7 @@ if ($action == 'create') {
|
||||
$line = new ContratLigne($db);
|
||||
$line->id = $objp->rowid;
|
||||
$line->fetch_optionals();
|
||||
print $line->showOptionals($extrafields, 'view', array('class'=>'oddeven', 'style'=>$moreparam, 'colspan'=>$colspan), '', '', 1);
|
||||
print $line->showOptionals($extrafields, 'view', array('class'=>'oddeven', 'style'=>$moreparam, 'colspan'=>$colspan, 'tdclass' => 'notitlefieldcreate'), '', '', 1);
|
||||
}
|
||||
} else {
|
||||
// Line in mode update
|
||||
@@ -1817,7 +1817,7 @@ if ($action == 'create') {
|
||||
$line = new ContratLigne($db);
|
||||
$line->id = $objp->rowid;
|
||||
$line->fetch_optionals();
|
||||
print $line->showOptionals($extrafields, 'edit', array('style'=>'class="oddeven"', 'colspan'=>$colspan), '', '', 1);
|
||||
print $line->showOptionals($extrafields, 'edit', array('style'=>'class="oddeven"', 'colspan'=>$colspan, 'tdclass' => 'notitlefieldcreate'), '', '', 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user