Skip to content
Snippets Groups Projects
Commit 74ce3fe7 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: rowspan

parent 30cd4aec
No related branches found
No related tags found
No related merge requests found
......@@ -1196,9 +1196,13 @@ else
print "</tr>\n";
// Accountancy code
print '<tr><td valign="top">'.$langs->trans("AccountancyCode").'</td>';
print '<td>'.$object->accountancy_code.'</td>';
if (! empty($conf->global->USER_ENABLE_ACCOUNTANCY_CODE)) // For the moment field is not used so must not appeared.
{
$rowspan++;
print '<tr><td valign="top">'.$langs->trans("AccountancyCode").'</td>';
print '<td>'.$object->accountancy_code.'</td>';
}
// Status
print '<tr><td valign="top">'.$langs->trans("Status").'</td>';
print '<td>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment