2
0
forked from Wavyzz/dolibarr

Debug module accountancy expert

This commit is contained in:
Laurent Destailleur
2016-10-06 19:59:33 +02:00
parent 0cfb0ff7b7
commit 28e4c17730
8 changed files with 135 additions and 51 deletions

View File

@@ -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)) {