added date and year in header of bills
tdd, added balance_data to bill model
added scope to filter bills by month pass in param
added scope to filter bills by month pass in param
finished balance_date method to get data for create balances
changes balancesdata method to get an array of hashes for each flat
added user_total in balancedata to make easier access to buid balances
created create_balances_users_per_flat to get an hash with balances of each user per flat
added make relation methode
fixed round accuracy in generate relation method
changed seeds to make the balances of 8 month ago
added condition in generate balances to not duplicate balances for the same month
change method to not create balance of the current month
added scope to balance model, to get the balance of the last month
added index view of balances with style
Merge pull request #1 from benja83/balances

Balances