error fixed in lease receipts client wise
This commit is contained in:
parent
f02c9e7b6c
commit
b6cd3316c4
@ -1,5 +1,5 @@
|
||||
SELECT gl.account,sum(gl.credit) as amount
|
||||
FROM `tabGL Entry` gl, `tabAccount` a
|
||||
WHERE gl.account=a.name and a.master_type='Customer' and gl.posting_date between '%(date)s' and '%(date1)s'
|
||||
WHERE gl.account=a.name and a.master_type='Customer' and gl.posting_date between '%(date)s' and '%(date1)s' and ifnull(gl.is_cancelled, 'No') = 'No'
|
||||
GROUP BY gl.account
|
||||
ORDER BY posting_date
|
||||
|
Loading…
x
Reference in New Issue
Block a user