fix: Fatal error: Uncaught Error: Class 'AccountingAccount' not found in /home/httpd/vhosts/doliweb.com/httpdocs/expensereport/card.php on line 2099
This commit is contained in:
parent
19efa37e4b
commit
67b9244c6b
@ -2096,6 +2096,7 @@ if ($action == 'create') {
|
|||||||
|
|
||||||
$titlealt = '';
|
$titlealt = '';
|
||||||
if (!empty($conf->accounting->enabled)) {
|
if (!empty($conf->accounting->enabled)) {
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/accountancy/class/accountingaccount.class.php';
|
||||||
$accountingaccount = new AccountingAccount($db);
|
$accountingaccount = new AccountingAccount($db);
|
||||||
$resaccountingaccount = $accountingaccount->fetch(0, $line->type_fees_accountancy_code, 1);
|
$resaccountingaccount = $accountingaccount->fetch(0, $line->type_fees_accountancy_code, 1);
|
||||||
//$titlealt .= '<span class="opacitymedium">';
|
//$titlealt .= '<span class="opacitymedium">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user