diff options
Diffstat (limited to 'sql/modules/Payment.sql')
-rw-r--r-- | sql/modules/Payment.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/modules/Payment.sql b/sql/modules/Payment.sql index afd4abcc..c39e6945 100644 --- a/sql/modules/Payment.sql +++ b/sql/modules/Payment.sql @@ -316,7 +316,7 @@ $$ DECLARE resultrow record; BEGIN FOR resultrow IN - SELECT curr FROM ar + SELECT curr AS curr FROM ar WHERE amount <> paid OR paid IS NULL AND in_account_class=2 |