voodoorai2000
29f5268e42
Display polls for current booth
...
Polls that were not votable by a user were not being displayed in the officing interface. Creating a confusing situation for officers.
With this commit polls that are not votable by a user will be displayed, with the corresponding message explaining that that poll can only be voted by residents of a certain geozone.
2019-05-24 15:20:54 +02:00
Bertocq
dbe404d9ad
Fix Officer final recount access without voting shift
2019-05-21 13:26:44 +02:00
María Checa
394177213c
Adds Ballot Sheet model and business logic
2019-04-10 16:04:39 +02:00
María Checa
ccf8d3a8e2
Adds ballot sheets controller and main views
2019-04-10 16:03:47 +02:00
Javi Martín
f7f9fc15a5
Move todays_booths_for_officer to the model
...
This way we can easily add a test which will fail if by accident we
change the method to use `Date.today`. Until now using `Date.today`
would only fail if we ran specs in a time zone with a different date.
2019-03-28 15:49:17 +01:00
Bertocq
69bcd8ec9a
Set booth and officer assignments to Poll Voter on officing panel
2019-03-28 15:47:52 +01:00
Bertocq
80a9ba8aa7
Enable and fix booth selection back
2019-03-28 15:47:52 +01:00
Bertocq
77930d3275
Enable officing panel booth selection back
2019-03-28 15:47:52 +01:00
rgarcia
4761ac91bd
Displays officing booth in layout
2019-03-28 15:47:52 +01:00
rgarcia
9c59c8b68e
displays booth location instead of booth name
2019-03-28 15:47:52 +01:00
rgarcia
0286ca4c59
displays single booth for any number of polls
2019-03-28 15:47:52 +01:00
rgarcia
74706027cb
fixes specs
2019-03-28 15:47:52 +01:00
rgarcia
b4499321d3
stores officer booth on sign in
2019-03-28 15:47:52 +01:00
rgarcia
5835d12694
stores the officer that allowed a voter to vote in a physical booth
2019-03-28 15:47:52 +01:00
rgarcia
cc4eed3500
fixes specs
2019-03-28 15:47:52 +01:00
Julian Herrero
d24376f6ad
Use double quotes in controllers/
2019-03-13 22:19:49 +01:00
decabeza
573961a321
avoids admin access to officing panel
2017-10-21 17:37:14 +02:00
BertoCQ
c6d683083f
Merge pull request #2073 from consul/feature/2072#remove_question_valid_answers
...
Remove valid answers usage
2017-10-18 11:52:14 +02:00
Bertocq
e9294f2a22
Switch from valid_answers to question_answers usage for Poll Questions
2017-10-18 01:32:15 +02:00
Bertocq
ce03251c72
Filter officing results officer assigments to current date
2017-10-17 23:15:26 +02:00
Bertocq
04910fea5b
Remove officing results date picker for current date
2017-10-17 21:00:19 +02:00
Bertocq
24ef7984a3
Include the answerable by user scope back on Poll list for officer voting panel
2017-10-04 17:05:25 +02:00
Bertocq
2900104a07
Show only active polls from the shifts assigned to officer on vote panel
2017-10-04 13:11:13 +02:00
Bertocq
e928eb38ac
Add Officer relationship to Poll Voter
2017-10-04 00:39:31 +02:00
Bertocq
45831a0b68
Include last day of poll in range for recount and scrutiny on officing panel
2017-10-03 18:56:27 +02:00
Raimond Garcia
a743b6b823
Merge branch 'master' into polls-voting
2017-10-02 17:11:21 +02:00
rgarcia
085991c624
allows voting only in one origin: booth or web
2017-10-02 16:22:31 +02:00
Bertocq
b5cf28cb35
Swap Poll White/Null/Total usage for Poll Recount
2017-10-02 15:46:49 +02:00
Bertocq
5129fc83a8
Use next to go for next iteration instead than surrounding if
2017-09-25 22:47:03 +02:00
Bertocq
03ee43bfee
Use weeks instead of week for more than one
2017-09-20 16:07:53 +02:00
Bertocq
7be1f0315e
Update Officing Polls final condition up to 2 weeks after poll ending
2017-09-15 12:37:42 +02:00
Bertocq
e8d748a881
Add Poll Total recount to officing and admin
2017-09-14 15:33:58 +02:00
Bertocq
f7568a394f
Remove officing final recounts controller, spec and view
2017-09-14 13:39:21 +02:00
Bertocq
27d56ad104
Refactor officing polls #final method to be cleaner
2017-09-14 12:57:04 +02:00
Bertocq
c40294e931
Remove officing recount feature
2017-07-23 23:28:38 +02:00
Bertocq
69f4e1c683
Fix all rubocop Metrics/LineLength issues (140+)
2017-07-10 13:22:49 +02:00
Bertocq
78efccc197
Fix all Layout/EmptyLinesAroundAccessModifier rubocop issues and remove files from rubocop_todo list
2017-06-25 15:46:46 +02:00
Bertocq
b79df113cd
Switch all Time.curren.to_date for Date.current, same result but better syntax
2017-06-11 10:41:09 +02:00
Juanjo Bazán
4a195e07c4
improves notice/alert messages on poll recounting
2017-02-18 13:23:29 +01:00
Juanjo Bazán
58b1ad950a
fix bug storing null results as white results
2017-02-18 12:11:49 +01:00
kikito
8ca4cc22b0
Adds specs for creating failed officing census calls
2017-02-12 14:22:46 +01:00
Juanjo Bazán
2a902c68eb
adds creation of null and white results by poll officers
2017-02-03 19:11:04 +01:00
Juanjo Bazán
b88de40ebe
restricts access to residence validations to assigned officers
2017-02-03 10:43:03 +01:00
Juanjo Bazán
de4a7a6b39
Merge pull request #1389 from consul/polls-answerable-by
...
Adds specs for Poll.answerable_by, fixing issue with SQL join
2017-02-02 17:13:11 +01:00
kikito
9c1a5847de
uses answerable_by instead of current in voters controller
2017-02-02 16:53:57 +01:00
Juanjo Bazán
eed03d0e0e
show existing results also on creation error
2017-02-02 16:11:15 +01:00
Juanjo Bazán
ec8d45f3cd
adds index view for poll results in officing
2017-02-02 16:10:40 +01:00
Juanjo Bazán
592fdffe4e
adds results creation by poll officers
2017-02-02 14:44:44 +01:00
Juanjo Bazán
594ad3df7b
adds basic new view for officing results
2017-02-02 11:53:57 +01:00
rgarcia
2bc4649aa7
uses year of birth instead of date of birth
2017-02-01 11:13:59 +01:00