summaryrefslogtreecommitdiff
path: root/contrib/non-profit-audit-reports/general-ledger-report.plx
diff options
context:
space:
mode:
authorTom Marble <tmarble@info9.net>2012-09-07 13:24:26 -0500
committerTom Marble <tmarble@info9.net>2012-09-07 13:24:26 -0500
commit65e0c266bed3dd49be687471bb63b3072ad54bb7 (patch)
treeabb90909f0f764e75dfdffbe86d895ac5c50c0cf /contrib/non-profit-audit-reports/general-ledger-report.plx
parentca77b08fccd82f16096f6b8e1faa9ff0f4263748 (diff)
downloadfork-ledger-65e0c266bed3dd49be687471bb63b3072ad54bb7.tar.gz
fork-ledger-65e0c266bed3dd49be687471bb63b3072ad54bb7.tar.bz2
fork-ledger-65e0c266bed3dd49be687471bb63b3072ad54bb7.zip
Changed general-ledger-report.plx to use tags for Receipt and Invoice (was %N)
Added sample PDF artifacts for the example (see README)
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: $!";