diff options
author | Bradley M. Kuhn <bkuhn@ebb.org> | 2012-09-07 14:27:47 -0400 |
---|---|---|
committer | Bradley M. Kuhn <bkuhn@ebb.org> | 2012-09-07 14:27:47 -0400 |
commit | 8900ba05033024c5c05b6012b83081a80fc44676 (patch) | |
tree | 8b18f60d0ec96e9141c7c874ebf902c0088056fc /contrib/non-profit-audit-reports/general-ledger-report.plx | |
parent | 5aea0446e104b35441a270cd024b179a6fa1e231 (diff) | |
parent | 65e0c266bed3dd49be687471bb63b3072ad54bb7 (diff) | |
download | fork-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-x | contrib/non-profit-audit-reports/general-ledger-report.plx | 3 |
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: $!"; |