feat: add Accountancy code
This commit is contained in:
parent
91ee90ebeb
commit
1908acb131
@ -502,6 +502,12 @@ if ($action != 'edit' && $action != 'create') { // If not bank account yet, $ac
|
|||||||
print '</tr>';
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Accountancy code
|
||||||
|
if (!empty($conf->accounting->enabled)) {
|
||||||
|
print '<tr><td>'.$langs->trans("AccountancyCode").'</td>';
|
||||||
|
print '<td>'.$object->accountancy_code.'</td></tr>';
|
||||||
|
}
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
print '</div><div class="fichehalfright">';
|
print '</div><div class="fichehalfright">';
|
||||||
|
|||||||
@ -1577,10 +1577,10 @@ if ($action == 'create' || $action == 'adduserldap') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Accountancy code
|
// Accountancy code
|
||||||
if (!empty($conf->accounting->enabled)) {
|
//if (!empty($conf->accounting->enabled)) {
|
||||||
print '<tr><td>'.$langs->trans("AccountancyCode").'</td>';
|
// print '<tr><td>'.$langs->trans("AccountancyCode").'</td>';
|
||||||
print '<td>'.$object->accountancy_code.'</td></tr>';
|
// print '<td>'.$object->accountancy_code.'</td></tr>';
|
||||||
}
|
//}
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user