summaryrefslogtreecommitdiff
path: root/contrib/non-profit-audit-reports/general-ledger-report.plx
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2013-07-19 16:41:56 -0700
committerCraig Earls <enderw88@gmail.com>2013-07-19 16:41:56 -0700
commit8b84aff855963b96c096e4338b4ff5cd6e2d2e68 (patch)
tree0c7213784df8e26ac220af0593edc179c5b14601 /contrib/non-profit-audit-reports/general-ledger-report.plx
parentf16a83a66c7114a78a022872ac4e6295dc0b3118 (diff)
parentc8f5661c2ce6aaa4ecd8fb046d49f3441a11cb99 (diff)
downloadfork-ledger-8b84aff855963b96c096e4338b4ff5cd6e2d2e68.tar.gz
fork-ledger-8b84aff855963b96c096e4338b4ff5cd6e2d2e68.tar.bz2
fork-ledger-8b84aff855963b96c096e4338b4ff5cd6e2d2e68.zip
Merge branch 'master' into ledger-mode-automatic-transactions
Diffstat (limited to 'contrib/non-profit-audit-reports/general-ledger-report.plx')
-rwxr-xr-xcontrib/non-profit-audit-reports/general-ledger-report.plx5
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/non-profit-audit-reports/general-ledger-report.plx b/contrib/non-profit-audit-reports/general-ledger-report.plx
index dce855b4..4a4f89cc 100755
--- a/contrib/non-profit-audit-reports/general-ledger-report.plx
+++ b/contrib/non-profit-audit-reports/general-ledger-report.plx
@@ -58,12 +58,11 @@ $formattedEndDate = $formattedEndDate->calc($oneDayLess);
$formattedEndDate = $formattedEndDate->printf("%Y/%m/%d");
my $formattedBeginDate = new Date::Manip::Date;
-die "badly formatted end date, $endDate" if $formattedBeginDate->parse($endDate);
+die "badly formatted end date, $beginDate" if $formattedBeginDate->parse($beginDate);
$formattedBeginDate = $formattedBeginDate->printf("%Y/%m/%d");
-my(@chartOfAccountsOpts) = ('-V', '-F', "%150A\n", '-w', '-s',
- '-b', $beginDate, '-e', $endDate, @otherLedgerOpts, 'reg');
+my(@chartOfAccountsOpts) = ('-b', $beginDate, '-e', $endDate, @otherLedgerOpts, 'accounts');
open(CHART_DATA, "-|", $LEDGER_CMD, @chartOfAccountsOpts)
or die "Unable to run $LEDGER_CMD @chartOfAccountsOpts: $!";