summaryrefslogtreecommitdiff
path: root/contrib/non-profit-audit-reports/general-ledger-report.plx
diff options
context:
space:
mode:
authorBradley M. Kuhn <bkuhn@ebb.org>2012-09-07 14:27:47 -0400
committerBradley M. Kuhn <bkuhn@ebb.org>2012-09-07 14:27:47 -0400
commit8900ba05033024c5c05b6012b83081a80fc44676 (patch)
tree8b18f60d0ec96e9141c7c874ebf902c0088056fc /contrib/non-profit-audit-reports/general-ledger-report.plx
parent5aea0446e104b35441a270cd024b179a6fa1e231 (diff)
parent65e0c266bed3dd49be687471bb63b3072ad54bb7 (diff)
downloadfork-ledger-8900ba05033024c5c05b6012b83081a80fc44676.tar.gz
fork-ledger-8900ba05033024c5c05b6012b83081a80fc44676.tar.bz2
fork-ledger-8900ba05033024c5c05b6012b83081a80fc44676.zip
Merge branch 'contrib-non-profit-annual-audit-reports' of gitorious.org:ledger/ledger into contrib-non-profit-annual-audit-reports
Diffstat (limited to 'contrib/non-profit-audit-reports/general-ledger-report.plx')
-rwxr-xr-xcontrib/non-profit-audit-reports/general-ledger-report.plx3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/non-profit-audit-reports/general-ledger-report.plx b/contrib/non-profit-audit-reports/general-ledger-report.plx
index d5bc1888..aead7c3d 100755
--- a/contrib/non-profit-audit-reports/general-ledger-report.plx
+++ b/contrib/non-profit-audit-reports/general-ledger-report.plx
@@ -108,8 +108,7 @@ foreach my $acct (@sortedAccounts) {
print GL_CSV_OUT "\n\"ACCOUNT:\",\"$acct\"\n\"PERIOD START:\",\"$beginDate\"\n\"PERIOD END:\",\"$formattedEndDate\"\n";
print GL_CSV_OUT '"DATE","CHECK NUM","NAME","MEMO","TRANSACTION AMT","RUNNING TOTAL"', "\n";
@acctLedgerOpts = ('-F',
- '"%(date)","%C","%P","%N","%t","%T"\n', '-w', '--sort', 'd',
- '-b', $beginDate, '-e', $endDate, @otherLedgerOpts, 'reg', $acct);
+ '"%(date)","%C","%P","%(tag(\'Receipt\'))","%(tag(\'Invoice\'))","%t","%T"\n', '-w', '--sort', 'd', '-b', $beginDate, '-e', $endDate, @otherLedgerOpts, 'reg', $acct);
open(GL_CSV_DATA, "-|", $LEDGER_CMD, @acctLedgerOpts)
or die "Unable to run $LEDGER_CMD @acctLedgerOpts: $!";