Kat
939c4ec667
fix some tests
4 years ago
baarkerlounger
8f6ef06bb1
Rubocop
4 years ago
Kat
7b2f27e04d
Change more types
4 years ago
Kat
6cdec64783
update more field types
4 years ago
Matthew Phelan
1de53dae19
Reasonble preference displaying on check answers
4 years ago
Kat
14bcec356d
Change unittype_gn field type
4 years ago
Kat
077ae1dc15
Change landlord and rsnvac field types
4 years ago
Kat
2308b820dc
Change tenancy and tenancylength field types
4 years ago
Matthew Phelan
844ee206d2
cbl, chr, cap
4 years ago
Kat
07a63d8e41
display checkbox answers
4 years ago
Kat
05d7c1e670
Change illness field type
4 years ago
Kat
51e34926c2
change field type for housing needs
4 years ago
Kat
c746e669eb
Put db enums in one folder and add a few new field changes"
4 years ago
Kat
c16194d4ff
Change benefit cap field type
4 years ago
Kat
1b698b6a10
Change homeless field type
4 years ago
Kat
a4ddce394e
Change prevten field type
4 years ago
Kat
f11ecb3da8
change ecstat column types
4 years ago
Kat
496a7c6d5a
Change national and ethnic field types and map to correct enums
4 years ago
Kat
5469399095
change field names to lowercase and fix the tests
4 years ago
magicmilo
cff0083aec
move end
4 years ago
magicmilo
ebb564052a
remove end
4 years ago
magicmilo
0d82814fee
remove debug line and rubocop
4 years ago
magicmilo
acfe2622e0
remove debug lines
4 years ago
magicmilo
3b0efa5293
fixed broken test
4 years ago
magicmilo
de2ebc6aea
commit
4 years ago
Daniel Baark
0a9851b43e
CLDC-639: Active admin ( #75 )
...
* Install ActiveAdmin
* Tidy up dashboard
* Set time zone as per Gov UK recommendations
* Add chartkick for some basic admin dashboard charts
4 years ago
magicmilo
ca367d612d
switch test form
4 years ago
magicmilo
f14597bbbc
added aboutthislog test json
4 years ago
magicmilo
df90dde031
add columns to about form
4 years ago
Daniel Baark
81ff68bb11
CLDC-510: Income range soft validations ( #72 )
...
* Init
* Add some tests
* Add failing spec
* Move soft validations into a module
* Update test
* Rubocop
* Scope are auto created by enums
* Rename folder to validations
* No instance variable
* Commit both lines
* Add error indication
* Make partial slightly more generic
* Fix back link
* Write failing test
* All specs currently passing. Can this be real?
* Check page should have an override question
* Fix back button for check answers pages
* Don't really need a wrapper method for the validations
* We're really validating a page here not a question
* Dup variable
* Bit of a nasty hack but maybe better than deriving back link?
* Set a no cache header instead of reloading
* Move a teeny bit of logic out of the controller
* Rubocop
* Extract method
4 years ago
baarkerlounger
d92dd2d8b1
Rubocop
4 years ago
Matthew Phelan
ba9cdd31a2
Code review updates
4 years ago
magicmilo
ec130db9ac
add select box and pages, waiting for naming convetion meeting
4 years ago
magicmilo
6ca1fa1bc2
fix merge
4 years ago
magicmilo
a83a0c53fd
fix merge and move validation
4 years ago
magicmilo
31b594d51c
switched to between for range
4 years ago
magicmilo
654d4ae8e5
add select
4 years ago
magicmilo
ee2323a805
Switch to household number of other members
4 years ago
baarkerlounger
d240e299bd
Add some test for our validations
4 years ago
baarkerlounger
656c7bda26
Specs passing
4 years ago
Matthew Phelan
c3e1f07797
validate_other_household_members refactor
...
Co-authored-by: Daniel Baark <baarkerlounger@users.noreply.github.com>
4 years ago
Daniel Baark
fff5da304e
Refactor validations into modules ( #73 )
...
* Refactor validations into modules
* PropertyValidations
* Add financial and tenancy validations
* Shorten comment
* Simplify
4 years ago
Matthew Phelan
971c3909ee
validate_other_household_members
4 years ago
kosiakkatrina
c7cd48c2e8
CLDC-513: Refused income validation ( #71 )
...
* Add net income known field
* only require the income if it is known
* fix a typo
4 years ago
Daniel Baark
f372a4727e
Hard validation ( #69 )
4 years ago
magicmilo
2367ad16d5
tests and tweaks
4 years ago
kosiakkatrina
055cbf8fc5
CLDC-464: Other tenancy type validation ( #68 )
...
* Add other_tenancy_type conditional field
* Extract private validdate_other_field_method
* Implement other tenancy type validation
* Add missing migration file and update API doc
4 years ago
baarkerlounger
fba2474747
rubocop
4 years ago
magicmilo
073ccfe633
rubocop
4 years ago
magicmilo
1cf1197096
tests
4 years ago