FIX If salaries subledger account not defined, put only in the general account

This commit is contained in:
Alexandre SPANGARO 2020-09-30 06:46:23 +02:00
parent fc62ca57b5
commit ed26f07783

View File

@ -237,7 +237,7 @@ if ($result) {
); );
// Set accountancy code for user // Set accountancy code for user
$compta_user = (!empty($obj->accountancy_code) ? $obj->accountancy_code : $account_employee); $compta_user = (!empty($obj->accountancy_code) ? $obj->accountancy_code : '');
$tabuser[$obj->rowid] = array( $tabuser[$obj->rowid] = array(
'id' => $obj->userid, 'id' => $obj->userid,