浏览代码

Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Laurent Destailleur 3 年之前
父节点
当前提交
e3ff7b43ab
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      htdocs/accountancy/journal/sellsjournal.php

+ 3 - 0
htdocs/accountancy/journal/sellsjournal.php

@@ -422,6 +422,9 @@ if ($action == 'writebookkeeping') {
 						if ($k == getDolGlobalString('ACCOUNTING_ACCOUNT_CUSTOMER_DEPOSIT')) {
 							$bookkeeping->subledger_account = $tabcompany[$key]['code_compta'];
 							$bookkeeping->subledger_label = $tabcompany[$key]['name'];
+						} else {
+							$bookkeeping->subledger_account = '';
+							$bookkeeping->subledger_label = '';
 						}
 					} else {
 						$bookkeeping->subledger_account = '';