Also for edit user.
This commit is contained in:
parent
ce247432ee
commit
4bb524d55d
@ -2018,23 +2018,20 @@ else
|
|||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
// Accountancy code
|
// Accountancy code
|
||||||
if (! empty($conf->global->USER_ENABLE_ACCOUNTANCY_CODE)) // For the moment field is not used so must not appeared.
|
print "<tr>";
|
||||||
{
|
print '<td valign="top">'.$langs->trans("AccountancyCode").'</td>';
|
||||||
print "<tr>";
|
print '<td>';
|
||||||
print '<td valign="top">'.$langs->trans("AccountancyCode").'</td>';
|
if ($caneditfield)
|
||||||
print '<td>';
|
{
|
||||||
if ($caneditfield)
|
print '<input size="30" type="text" class="flat" name="accountancy_code" value="'.$object->accountancy_code.'">';
|
||||||
{
|
}
|
||||||
print '<input size="30" type="text" class="flat" name="accountancy_code" value="'.$object->accountancy_code.'">';
|
else
|
||||||
}
|
{
|
||||||
else
|
print '<input type="hidden" name="accountancy_code" value="'.$object->accountancy_code.'">';
|
||||||
{
|
print $object->accountancy_code;
|
||||||
print '<input type="hidden" name="accountancy_code" value="'.$object->accountancy_code.'">';
|
}
|
||||||
print $object->accountancy_code;
|
print '</td>';
|
||||||
}
|
print "</tr>";
|
||||||
print '</td>';
|
|
||||||
print "</tr>";
|
|
||||||
}
|
|
||||||
|
|
||||||
// User color
|
// User color
|
||||||
if (! empty($conf->agenda->enabled))
|
if (! empty($conf->agenda->enabled))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user