Fix syntax error

This commit is contained in:
Laurent Destailleur 2021-01-16 16:06:49 +01:00
parent 04e669ec96
commit 2f69a380be
2 changed files with 6 additions and 7 deletions

View File

@ -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>';
}
}

View File

@ -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);