FIX: bookkeeping/export error when not reconciled option is checked (#33433)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
parent
e19b3ffd9e
commit
dc2a08bf07
1 changed files with 2 additions and 0 deletions
|
|
@ -1153,6 +1153,8 @@ class BookKeeping extends CommonObject
|
|||
} else {
|
||||
$sqlwhere[] = natural_search("t.code_journal", $value, 3, 1);
|
||||
}
|
||||
} elseif ($key == 't.reconciled_option') {
|
||||
$sqlwhere[] = 't.lettering_code IS NULL';
|
||||
} else {
|
||||
$sqlwhere[] = natural_search($key, $value, 0, 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue