trial bal: added filter to select what to show(group/ledger/both) and optionto show/hide zero balance

This commit is contained in:
nabinhait
2011-06-22 12:48:51 +05:30
parent 3c48be9e60
commit 9bffdc95da
4 changed files with 50 additions and 40 deletions

View File

@@ -1 +0,0 @@
SELECT CONCAT( REPEAT(' ', COUNT(parent.name) - 1), node.name) AS name FROM tabAccount AS node,tabAccount AS parent WHERE node.lft BETWEEN parent.lft AND parent.rgt and node.company = '%(company)s' and node.docstatus != 2 GROUP BY node.name ORDER BY node.lft