Merge branch '16a12_assets_code' of https://github.com/aspangaro/dolibarr into 16a12_assets_code
This commit is contained in:
commit
1cc8428f53
@ -1002,7 +1002,8 @@ class AccountingJournal extends CommonObject
|
|||||||
* @param string $account Accounting account number
|
* @param string $account Accounting account number
|
||||||
* @return array Accounting account infos
|
* @return array Accounting account infos
|
||||||
*/
|
*/
|
||||||
function getAccountingAccountInfos($account) {
|
function getAccountingAccountInfos($account)
|
||||||
|
{
|
||||||
if (!isset(self::$accounting_account_cached[$account])) {
|
if (!isset(self::$accounting_account_cached[$account])) {
|
||||||
require_once DOL_DOCUMENT_ROOT . '/core/lib/accounting.lib.php';
|
require_once DOL_DOCUMENT_ROOT . '/core/lib/accounting.lib.php';
|
||||||
require_once DOL_DOCUMENT_ROOT . '/accountancy/class/accountingaccount.class.php';
|
require_once DOL_DOCUMENT_ROOT . '/accountancy/class/accountingaccount.class.php';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user