kosiakkatrina
794f3f0c7c
Set providertype before save ( #334 )
3 years ago
Paul Robert Lloyd
ffcd0ed0d9
Update logs summary page
3 years ago
Paul Robert Lloyd
7e7b7b0d9e
Widen layout
3 years ago
Paul Robert Lloyd
461eb0fe42
Remove ‘your’ when mentioning logs
3 years ago
kosiakkatrina
b934bc1ef4
remove nullifying resonpref ( #347 )
3 years ago
kosiakkatrina
526553d2cd
Update more reasonpref values and error message content ( #346 )
3 years ago
kiddhustle
7c228417a8
CLDC-959: add multiple tenant flow
3 years ago
kosiakkatrina
87143fe13a
Change the numbering for the rest of homeless methods ( #342 )
3 years ago
kosiakkatrina
34ae256695
Update validation and db mapping for homeless ( #341 )
3 years ago
kosiakkatrina
e7f57315a5
Update referral validation numbers and clearing of the answers ( #339 )
...
* Update referral validation numbers and clearing of the answers
* refactor is_internal_transfer
3 years ago
kosiakkatrina
8ac58aed3a
Add max beds validation ( #337 )
3 years ago
baarkerlounger
fbad7d837f
More tests
3 years ago
baarkerlounger
288d1655c6
Handle invalid VCAP config ( #336 )
...
* Handle invalid VCAP config
* Rubocop
3 years ago
baarkerlounger
78345e7cb7
Fix check that imported users are unique ( #335 )
...
* Match imported users on id and org
* Rubocop
3 years ago
baarkerlounger
0f1f03aa8f
Refactor enums ( #321 )
...
* Remove enums
* Add some convenience methods to make validations more readable
* Gender chars instead of ints
* Remove incorrect API doc info for now
* More convenience methods
* Rename label from value method
* Wrapper hbrentshortfall
* Please the cop
3 years ago
kosiakkatrina
e22fb262ec
Do not reset text field values ( #333 )
3 years ago
kosiakkatrina
3f9cd65365
Household situation fixes ( #332 )
...
* content changes and prevloc validation
* add la validation to the property information section
* Fix the tests
3 years ago
kosiakkatrina
ec8a905dbb
Display number of bedrooms validations on bedroom questions and add validation for negative number of bedrooms ( #331 )
3 years ago
kosiakkatrina
b60fbde4bb
add more financial validations ( #329 )
3 years ago
Dushan
aea12947eb
CLDC-630: Household needs section ( #311 )
...
* household needs section change
* update enums
* fix specs
* spec fixes
* content updates to form
* fix failing spec
* remove hint text
* Update config/forms/2021_2022.json
Co-authored-by: Paul Robert Lloyd <paulrobertlloyd@users.noreply.github.com>
Co-authored-by: Paul Robert Lloyd <paulrobertlloyd@users.noreply.github.com>
3 years ago
kosiakkatrina
79781b5a79
Reset more values ( #328 )
...
* Reset more values
* rubocop
* Add a spec
3 years ago
kosiakkatrina
0a235dbc69
Household situation content ( #327 )
...
* update content
* add a different error message for homeless validation
3 years ago
kosiakkatrina
abdae7f86c
check if answer options are present ( #326 )
3 years ago
kosiakkatrina
b47c7a5d91
Cldc 810 outside of the uk addresses ( #323 )
...
* Move previous_la into conditional question for la_known, add a hing and reset la if la_known is not Yes"
* update location json
* Update previous la known separately
3 years ago
kosiakkatrina
02e5c2132d
Change how we're reseting answers ( #322 )
...
* Reset values for dependant derived questions (only layear)
* do not reset questions that have selected answer options
* Fix test and assign nil to dependent
* rubocop
* update dependencies
3 years ago
kosiakkatrina
cd882d322f
add homelessness validation ( #319 )
3 years ago
kosiakkatrina
ab1a16fb58
Cldc 465 tenancy type validation ( #312 )
...
* Validate internal referrals and secure tenancy
* Fix referral validations and move referral validation from local_authority to household
* Move validation
* Add more error messages
* lint
* fix typo in test
* Check that the methods get called
* Fix lint
3 years ago
baarkerlounger
bbae370bda
Fix sending reset email for admins ( #313 )
...
* Fix sending reset email for admins
* Reset does not let you bypass 2FA
* Trigger SMS on admin password reset
* Update flash message for 2FA
* Update Admin Login header
* Rubocop
* 422
* Revert unused view
3 years ago
Paul Robert Lloyd
fd2ab86723
Update case log constants to match JSON form config
3 years ago
Stéphane Meny
9545122114
Replaces enum text values in export by related numbers ( #310 )
3 years ago
baarkerlounger
62a685336c
Set minimum password length ( #309 )
3 years ago
kosiakkatrina
2bc2df84fb
Cldc 629 household situation renewal ( #308 )
...
* Add routing for renewals
* Fix inferring postcode (it works 🤷♀️ )
* Infer remaining renewal variables
* update check answer labels
* Route to the next page if the first one is not routed to from tasklist
* Fix allocation unknown type and depends on for referrals
* add a test for and rename first_page_or_check_answers'
3 years ago
baarkerlounger
9d77a93859
Refactor validation specs ( #304 )
...
* Refactor other household member validation specs
* Remove dupes
* Tenancy type validation
* LA validations
* Benefits proportion validations
* Outstanding rent and shortfall validations
* Typo
* Net income hard validations
* First let vacancy reason validations
3 years ago
baarkerlounger
22e566e7ae
Refactor Reason for leaving last settled home validations ( #303 )
...
* Refactor other field validation
* Refactor reason for leaving last settled home validations
* Additional tests
* Remove dupe code
* Remove dupe validation
* Armed forces injured validations
* Armed forces
* Major repairs date validations
* Void date validations
3 years ago
Paul Robert Lloyd
7c0db49850
Update email address
3 years ago
baarkerlounger
7aff64d0a3
Ensure case log always returns a form
3 years ago
baarkerlounger
6b98cf354f
Fix page invalidation when no form set
3 years ago
baarkerlounger
49f27e6ccc
Ruby 3.1 syntax rubocop
3 years ago
baarkerlounger
ac52864a03
Start date validation ( #299 )
...
* Start date validation
* Derive collection windows from form definitions
3 years ago
baarkerlounger
ad8f99cabe
Refactor validation specs ( #297 )
...
* Unit tests
* Age validations
* Add todo
* Check all new records have correct validator
* Reasonable preference
* Pregnancy validations
* Spec
* Fix spec
3 years ago
kosiakkatrina
d77b1c3c05
Cldc 629 household situation ( #298 )
...
* Update household situation section questions #1
* fix typo
* update prevten content
* update homeless and benefitcap questions
* Add location questions to houshold situation
* Update reasonable preference and letting allocation questions
* Update depends on for postcode and referral
* fix content for non renewal household situation questions
* fix test
* update inferred conditions
* remove eval
3 years ago
MadeTech Dushan
0c020323b4
remove don't know option
3 years ago
baarkerlounger
3dff81393e
Fix tenancy validations ( #296 )
...
* Add compound tenancy validations to both fields
* Don't validate tenancy length if not answered yet
* Name subject
3 years ago
baarkerlounger
3d203649b0
Don't validate bedroom number if not answered yet ( #295 )
3 years ago
baarkerlounger
3912f920cc
Default charge values to 0 ( #294 )
3 years ago
kiddhustle
11f708d601
CLDC-835: support hint on radio/checkbox questions
...
amend JSON to support hint
CLDC-835: fix check your answers page and fixtures
CLDC-835: fix lint errors
CLDC-835: fix test
3 years ago
Stéphane Meny
55a29832a3
Case logs export ( #288 )
3 years ago
kosiakkatrina
f0f5070135
Renewal inferred variables ( #285 )
...
* Infer layear if it is a renewal
* Infer underoccupation_benefitcap if it is a renewal
* Infer homelessness if it is a renewal
3 years ago
baarkerlounger
8418e79426
CLDC-961: Model data versioning ( #277 )
...
* Replace Discard with Paper Trail
* Track who created or changed records via UI
* Track model updates by AdminUsers
3 years ago
kosiakkatrina
4fe1731705
CLDC-966-optional-setup-fields ( #282 )
...
* Add tenant_code and propcode as optional fields and consider subsection completed it they are not filled in'
3 years ago