Fix syntax error
This commit is contained in:
parent
04e669ec96
commit
2f69a380be
@ -131,7 +131,7 @@ $coldisplay++;
|
||||
$temps = $line->showOptionals($extrafields, 'edit', array('class'=>'tredited'), '', '', 1, 'line');
|
||||
if (!empty($temps)) {
|
||||
print '<div style="padding-top: 10px" id="extrafield_lines_area_edit" name="extrafield_lines_area_edit">';
|
||||
print $temps
|
||||
print $temps;
|
||||
print '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
@ -2230,11 +2230,9 @@ if ($action == 'create')
|
||||
}
|
||||
} else {
|
||||
if ($id > 0 || !empty($ref)) {
|
||||
/* *************************************************************************** */
|
||||
/* */
|
||||
/* Fiche en mode visu ou edition */
|
||||
/* */
|
||||
/* *************************************************************************** */
|
||||
//
|
||||
// View or edit mode
|
||||
//
|
||||
|
||||
$now = dol_now();
|
||||
|
||||
@ -3104,8 +3102,9 @@ if ($action == 'create')
|
||||
if (!empty($conf->global->SUPPLIER_INVOICE_WITH_PREDEFINED_PRICES_ONLY)) $senderissupplier = 1;
|
||||
|
||||
// Show object lines
|
||||
if (!empty($object->lines))
|
||||
if (!empty($object->lines)) {
|
||||
$ret = $object->printObjectLines($action, $societe, $mysoc, $lineid, 1);
|
||||
}
|
||||
|
||||
$num = count($object->lines);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user