Commit Graph

368 Commits

Author SHA1 Message Date
Juanjo Bazán
4fcf138045 refactors investment adding to ballots 2016-06-14 14:03:21 +02:00
Juanjo Bazán
56a358a638 adds funds and feasibility validations to lines 2016-06-11 15:01:51 +02:00
Juanjo Bazán
ab008ed4e9 adds denormalization to budget::ballot::lines 2016-06-11 14:57:07 +02:00
Juanjo Bazán
b5a6828e41 adds Budget::Group model to group headings
many refactors through budget related models
2016-06-09 18:00:06 +02:00
kikito
1aa70bec94 Adds method Ballot#has_investment? 2016-06-07 11:10:42 +02:00
kikito
c6c3e22a40 Adds methods for investments in models 2016-06-03 18:44:34 +02:00
kikito
bb7f82a72f Fixes hidden bug when calculating amount_available 2016-05-27 15:12:54 +02:00
kikito
b6e47bc14a Adds missing scope to investments 2016-05-27 15:12:39 +02:00
kikito
3e39272b3b Fixes implementation of amount_available moving it to the ballot 2016-05-24 17:39:49 +02:00
kikito
673cfc8249 Implements some basic budget investment specs 2016-05-24 14:36:45 +02:00
kikito
60cf683a0b Adds valuator_assignments 2016-05-24 14:34:04 +02:00
Juanjo Bazán
57642075a7 adds ballot model spec 2016-05-24 13:04:12 +02:00
Juanjo Bazán
1cae255555 changes sps to investments in ballot relation 2016-05-24 13:04:12 +02:00
Juanjo Bazán
282553543f removes forum and delegated votes from investments 2016-05-24 13:04:12 +02:00
Juanjo Bazán
c48059594b removes belongs_to :heading relation from ballot 2016-05-24 13:04:12 +02:00
Juanjo Bazán
da769d8746 investment can not have many headings 2016-05-23 13:57:36 +02:00
kikito
ccffcf60b3 Replaces geozones by headings in the models 2016-05-20 14:06:50 +02:00
kikito
9d195609f9 Adds models 2016-05-20 12:41:48 +02:00