BertoCQ
e990568895
Merge pull request #1721 from consul/feature/add_slugs_to_budget_related
...
Add slugs to budget related
2017-07-05 13:16:24 +02:00
Bertocq
e3d89261a6
Add Sluggable concern and unique validation to Budget, Group and Heading
...
* What: We need to generate slug on Budget, Group and Heading classes, validating its unique for its scope
* How: Adding a presence and unique validation using Budget always as scope.
2017-07-05 12:33:16 +02:00
Bertocq
2888c20489
Fix all Style/RedundantSelf rubocop issues
2017-07-05 11:55:52 +02:00
Bertocq
154cdac332
Add calculate_winners on Admin Budget controller, route and ability for admins
2017-06-25 15:47:04 +02:00
rgarcia
712e576e75
adds email delivery of selected and unselected investments
2017-05-12 13:57:31 +02:00
Juanjo Bazán
33e8ebf043
adds balloting_or_later? method to Budget
2017-05-09 17:27:58 +02:00
Juanjo Bazán
8654517743
changes budget name max length
2017-04-27 17:04:25 +02:00
Alberto Garcia Cabeza
8722699cd8
fixes typos and spec for budgets investments
2017-01-08 22:17:14 +01:00
kikito
248755a801
Modifies the investment orders shown by phase
2017-01-05 17:38:36 +01:00
kikito
9e4b2fda89
Adds phases to form
2017-01-01 15:03:58 +01:00
kikito
ecb3461a97
Renames Budget::VALID_PHASES to just PHASES
2017-01-01 13:16:22 +01:00
kikito
d80dedaad8
Adds sanitized descriptions for all phases to budget model
2017-01-01 12:51:17 +01:00
kikito
c17dcf1bab
replaces array of strings with %w
2017-01-01 12:50:40 +01:00
kikito
f6e4443437
Removes sanitizable from budget, replacing it by custom impl
2017-01-01 12:34:15 +01:00
kikito
cb4803f2f9
Replaces %w by %W
2017-01-01 12:33:43 +01:00
kikito
fa50e3f215
Adds new phases to budget and fixes specs
2016-12-30 18:43:15 +01:00
kikito
34ee8c1c48
Makes Budgets editable, and makes their description editable with html
2016-12-29 16:21:42 +01:00
kikito
316c0cff62
Adds missing method to budget
2016-12-16 17:59:03 +01:00
kikito
4434a601d3
Implements several helper methods for formatting amounts
2016-12-14 11:49:16 +01:00
kikito
d5065fe021
fixes typo: ammount -> amount
2016-12-14 11:11:06 +01:00
kikito
b3be1633af
Fixes all management bi issues except filtering by geozone
2016-12-07 16:35:27 +01:00
kikito
5538c70931
Introduces budget.translated_phase
2016-12-06 17:52:14 +01:00
kikito
703cc72953
Replace helper function by decorator methods
2016-12-05 17:28:30 +01:00
kikito
00cfb95913
Starts fixing management budget investments
2016-12-01 16:31:05 +01:00
Juanjo Bazán
0fc31b1259
adds budget/budget_investment indexes to valuators
2016-09-09 13:39:08 +02:00
rgarcia
c2c7cdb18d
Merge branch 'budget' into budget-public-controllers
2016-09-02 13:15:40 +02:00
Juanjo Bazán
9014de2693
adds budgets_helper
2016-07-29 13:34:11 +02:00
Juanjo Bazán
baddfdb3d1
adds phase scopes to budget
2016-07-28 12:35:22 +02:00
rgarcia
3c55d66591
fixes conflicts with budget
2016-07-27 11:41:46 +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
fa6f34bf5c
Adds basic Budget controller / views
2016-05-31 19:26:56 +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
fdc8636e12
Adds simple Budget specs
2016-05-24 14:33:30 +02:00
Juanjo Bazán
da769d8746
investment can not have many headings
2016-05-23 13:57:36 +02:00
kikito
9d195609f9
Adds models
2016-05-20 12:41:48 +02:00