Search ledger: filter on paid operation fails for some operations
This commit is contained in:
parent
41025501f0
commit
98f9d45b4d
1 changed files with 1 additions and 1 deletions
|
|
@ -658,7 +658,7 @@ class Acc_Ledger_Search
|
|||
$fil_paid="";
|
||||
break;
|
||||
case "paid":
|
||||
$fil_paid=$and."(jr_rapt is not null or jr_rapt = 'paid') and jr_valid = true ";
|
||||
$fil_paid=$and."(coalesce(jr_rapt,'') != '' or jr_rapt = 'paid') and jr_valid = true ";
|
||||
$and=" and ";
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue