Include credit card balances in the Liabilities list.
This commit is contained in:
parent
cba448b28b
commit
46b13e8e55
1 changed files with 3 additions and 1 deletions
|
|
@ -62,6 +62,7 @@ my %reportFields =
|
||||||
'Loans Receivable' => {args => [ '-e', $endDate, 'bal', '/^Accrued:Loans Receivable/' ]},
|
'Loans Receivable' => {args => [ '-e', $endDate, 'bal', '/^Accrued:Loans Receivable/' ]},
|
||||||
'Accounts Payable' => {args => [ '-e', $endDate, 'bal', '/^Accrued.*Accounts Payable/' ]},
|
'Accounts Payable' => {args => [ '-e', $endDate, 'bal', '/^Accrued.*Accounts Payable/' ]},
|
||||||
'Accrued Expenses' => {args => [ '-e', $endDate, 'bal', '/^Accrued.*Expenses/' ]},
|
'Accrued Expenses' => {args => [ '-e', $endDate, 'bal', '/^Accrued.*Expenses/' ]},
|
||||||
|
'Liabilities, Credit Cards' => {args => [ '-e', $endDate, 'bal', '/^Liabilities:Credit Card/' ]},
|
||||||
'Unearned Income, Conference Registration' => {args => [ '-e', $endDate, 'bal',
|
'Unearned Income, Conference Registration' => {args => [ '-e', $endDate, 'bal',
|
||||||
'/^Unearned Income.*Conf.*Reg/' ]},
|
'/^Unearned Income.*Conf.*Reg/' ]},
|
||||||
'Unearned Income, Other' => {args => [ '-e', $endDate, 'bal', '/^Unearned Income/', 'and', 'not',
|
'Unearned Income, Other' => {args => [ '-e', $endDate, 'bal', '/^Unearned Income/', 'and', 'not',
|
||||||
|
|
@ -125,7 +126,7 @@ foreach my $item ('Cash', 'Accounts Receivable', 'Loans Receivable') {
|
||||||
print ASSETS "\n", sprintf($formatStrTotal, "TOTAL ASSETS", Commify($tot)), "\n\nLIABILITIES\n\n";
|
print ASSETS "\n", sprintf($formatStrTotal, "TOTAL ASSETS", Commify($tot)), "\n\nLIABILITIES\n\n";
|
||||||
|
|
||||||
my $totLiabilities = $ZERO;
|
my $totLiabilities = $ZERO;
|
||||||
foreach my $item ('Accounts Payable', 'Accrued Expenses',
|
foreach my $item ('Accounts Payable', 'Liabilities, Credit Cards', 'Accrued Expenses',
|
||||||
'Unearned Income, Conference Registration', 'Unearned Income, Other') {
|
'Unearned Income, Conference Registration', 'Unearned Income, Other') {
|
||||||
next if $reportFields{$item}{total} == $ZERO;
|
next if $reportFields{$item}{total} == $ZERO;
|
||||||
print ASSETS sprintf($formatStr, "$item:", Commify($reportFields{$item}{total}));
|
print ASSETS sprintf($formatStr, "$item:", Commify($reportFields{$item}{total}));
|
||||||
|
|
@ -155,6 +156,7 @@ die "Cash+accounts receivable total does not equal net assets and liabilities to
|
||||||
$reportFields{'Accrued Expenses'}{total} +
|
$reportFields{'Accrued Expenses'}{total} +
|
||||||
$reportFields{'Unearned Income, Conference Registration'}{total} +
|
$reportFields{'Unearned Income, Conference Registration'}{total} +
|
||||||
$reportFields{'Unearned Income, Other'}{total} +
|
$reportFields{'Unearned Income, Other'}{total} +
|
||||||
|
$reportFields{'Liabilities, Credit Cards'}{total} +
|
||||||
$reportFields{'Total Net Assets'}{total}));
|
$reportFields{'Total Net Assets'}{total}));
|
||||||
|
|
||||||
die "Total net assets doesn't equal sum of restricted and unrestricted ones!"
|
die "Total net assets doesn't equal sum of restricted and unrestricted ones!"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue