summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-07-25 04:26:20 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-07-25 04:26:20 +0000
commit8494873357c05eab89439350a3eb3c816a28273f (patch)
tree3ce1247960ce83713124f85fa46df08c6af51ec2 /LedgerSMB
parent660d45346a48cabde5b42c3a933ebb3fb58fdfb3 (diff)
Implement 1694183 (General Ledger Report: Show account number AND name)
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1439 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rw-r--r--LedgerSMB/GL.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/LedgerSMB/GL.pm b/LedgerSMB/GL.pm
index 463ca556..0c747763 100644
--- a/LedgerSMB/GL.pm
+++ b/LedgerSMB/GL.pm
@@ -415,7 +415,7 @@ sub all_transactions {
g.description, ac.transdate, ac.source,
ac.amount, c.accno, c.gifi_accno, g.notes, c.link,
'' AS till, ac.cleared, d.description AS department,
- ac.memo
+ ac.memo, c.description AS accname
FROM gl AS g
JOIN acc_trans ac ON (g.id = ac.trans_id)
JOIN chart c ON (ac.chart_id = c.id)
@@ -428,7 +428,7 @@ sub all_transactions {
ct.name, ac.transdate, ac.source,
ac.amount, c.accno, c.gifi_accno, a.notes, c.link,
a.till, ac.cleared, d.description AS department,
- ac.memo
+ ac.memo, c.description AS accname
FROM ar a
JOIN acc_trans ac ON (a.id = ac.trans_id)
JOIN chart c ON (ac.chart_id = c.id)
@@ -442,7 +442,7 @@ sub all_transactions {
ct.name, ac.transdate, ac.source,
ac.amount, c.accno, c.gifi_accno, a.notes, c.link,
a.till, ac.cleared, d.description AS department,
- ac.memo
+ ac.memo, c.description AS accname
FROM ap a
JOIN acc_trans ac ON (a.id = ac.trans_id)
JOIN chart c ON (ac.chart_id = c.id)