forked from Wavyzz/dolibarr
Debug module accountancy expert
This commit is contained in:
@@ -114,6 +114,8 @@ function length_accountg($account)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
if ($account < 0 || empty($account)) return 'NotDefined';
|
||||
|
||||
$g = $conf->global->ACCOUNTING_LENGTH_GACCOUNT;
|
||||
|
||||
if (! empty($g)) {
|
||||
@@ -145,8 +147,10 @@ function length_accountg($account)
|
||||
*/
|
||||
function length_accounta($accounta)
|
||||
{
|
||||
global $conf;
|
||||
global $conf, $langs;
|
||||
|
||||
if ($accounta < 0 || empty($accounta)) return 'NotDefined';
|
||||
|
||||
$a = $conf->global->ACCOUNTING_LENGTH_AACCOUNT;
|
||||
|
||||
if (! empty($a)) {
|
||||
|
||||
Reference in New Issue
Block a user