Javi Martín
27ed26d6f2
Remove unnecessary class names in relations
...
Just like we do in the Budget module, and in some places in the Poll and
Legislation modules, we don't need to specify the class name when the
name of the relation matches the name of a class in the same module.
2019-10-25 19:03:14 +02:00
Juanjo Bazán
7ab602175a
makes models inherit from ApplicationRecord
2019-04-17 17:40:56 +02:00
Julian Herrero
5f4a369606
Deleting a booth shift with recounts or partial results.
...
Show a flash message that it's not possible to delete booth shifts
when they have associated recounts or partial results. Before an
execption was raised.
2019-02-12 18:59:51 +01:00
iagirre
1077e25b2b
Shifts are destroyed when a booths is unassigned. An alert appears if there are shifts, but it doesn't if there aren't.
2017-10-30 12:36:07 +01:00
iagirre
89425f50ef
First steps to destroy shifts when booth_assignments are destroyed
2017-10-27 14:57:32 +02:00
Bertocq
b5cf28cb35
Swap Poll White/Null/Total usage for Poll Recount
2017-10-02 15:46:49 +02:00
Bertocq
a3bf69e78d
Remove final result usage on admin poll officer assignments results
2017-09-19 01:13:04 +02:00
Bertocq
1f867fb227
Add new model Poll Total Result with specs and relations
2017-09-14 13:51:27 +02:00
Bertocq
361e0efe00
Remove Poll Recount model and all usages
2017-07-23 23:29:24 +02:00
Juanjo Bazán
35540cdcf1
adds poll results to admin
...
simple page shows results by question, white and null results
2017-02-06 17:12:54 +01:00
Juanjo Bazán
592fdffe4e
adds results creation by poll officers
2017-02-02 14:44:44 +01:00
Juanjo Bazán
72ac75abeb
adds final recounting to poll officers' zone
2017-01-30 17:44:39 +01:00
Juanjo Bazán
2886d6d954
adds relations to officer/booth assignments
2017-01-03 22:20:22 +01:00
Juanjo Bazán
45d26f6dee
refactors poll::voter
...
now belongs_to booth_assignment instead of to booth
2016-12-06 20:20:18 +01:00
Juanjo Bazán
891516a0b9
changes officer assignments to polls via new model/relation
2016-12-06 14:33:06 +01:00
Juanjo Bazán
bd59ba3b82
adds poll/booth_assigments
2016-12-01 13:02:03 +01:00