1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-07-01 20:08:39 -04:00

Add years_income.lua report

This commit is contained in:
2017-02-22 08:26:21 -05:00
parent db7a60b292
commit 4536db030e
2 changed files with 48 additions and 2 deletions

View File

@ -18,7 +18,7 @@ function account_series_map(accounts, report)
end
end
error("Accounts nested more than 100 levels deep")
error("Accounts nested (at least) 100 levels deep")
end
function generate()
@ -31,7 +31,6 @@ function generate()
series_map = account_series_map(accounts, r)
for month=1,12 do
balance = nil
begin_date = date.new(year, month, 1)
end_date = date.new(year, month+1, 1)