Merge pull request #22398 from aspangaro/14p41
FIX Accountancy - Some manuals operations are displayed in subledger
This commit is contained in:
commit
9b33bd1b57
@ -891,10 +891,11 @@ class BookKeeping extends CommonObject
|
|||||||
}
|
}
|
||||||
// Affichage par compte comptable
|
// Affichage par compte comptable
|
||||||
if (!empty($option)) {
|
if (!empty($option)) {
|
||||||
$sql .= ' AND t.subledger_account IS NOT NULL';
|
$sql .= " AND t.subledger_account IS NOT NULL";
|
||||||
$sql .= ' ORDER BY t.subledger_account ASC';
|
$sql .= " AND t.subledger_account != ''";
|
||||||
|
$sql .= " ORDER BY t.subledger_account ASC";
|
||||||
} else {
|
} else {
|
||||||
$sql .= ' ORDER BY t.numero_compte ASC';
|
$sql .= " ORDER BY t.numero_compte ASC";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($sortfield)) {
|
if (!empty($sortfield)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user