FIX Accountancy - Some manuals operations are displayed in subledger

This commit is contained in:
Alexandre SPANGARO 2022-09-25 06:42:51 +02:00
parent cc10dd2944
commit ecb6814e89

View File

@ -892,6 +892,7 @@ class BookKeeping extends CommonObject
// Affichage par compte comptable
if (!empty($option)) {
$sql .= ' AND t.subledger_account IS NOT NULL';
$sql .= ' AND t.subledger_account != ""';
$sql .= ' ORDER BY t.subledger_account ASC';
} else {
$sql .= ' ORDER BY t.numero_compte ASC';