kosiakkatrina
88fec8e5ab
Cldc 1223 pregnancy soft validations ( #602 )
...
* update hard validation limits for pregnancy age, remove hard validation if there are no females at all
* Add soft validations for pregnancy
* make the error message consistent
* Only check the values for the members with details known in the household
* Show interruption screen when resident details are updated
* Route back to check answers after an interruption screen and back to previous page if no is selected on the interruption screen
Co-authored-by: baarkerlounger <baarkerlounger@users.noreply.github.com>
* update validation messages
* fix a test
* fix a typo
Co-authored-by: baarkerlounger <baarkerlounger@users.noreply.github.com>
3 years ago
Paul Robert Lloyd
921c1e0fcc
Use dash not hyphen in answer options
3 years ago
Paul Robert Lloyd
01cf11bf27
Add missing ‘or’ divider on joint tenancy question
3 years ago
baarkerlounger
4664716d39
Remove joint tenancy hitn text and add don't know option ( #579 )
3 years ago
baarkerlounger
9f738b53e5
CLDC-1224: Tenancy type and tenancy length ( #578 )
...
* Fix value mapping for tenancy type 22/23
* Update secure helper
* Null safe
* Spec update
* Update mandatory
* Use helper
3 years ago
Paul Robert Lloyd
204232c460
Add visiblly hidden change link text for details known questions
3 years ago
Dushan
41757a8998
remove letting_in_sheltered_accomodation field ( #577 )
...
* remove letting_in_sheltered_accomodation field
This field is now duplicated by the shelteredaccom field
* lint fixes
* fix all failing specs
3 years ago
Ted-U
970c9afcf7
Cldc 1217 retirement soft validation ( #570 )
...
* Interruption screen refactor
* Add test for retirement_age_for_person
Co-authored-by: Stéphane Meny <smeny@users.noreply.github.com>
* Rubocop
* update 22-23 form
* fix failures
* lint fixes
* remove whitespace
* remove commented code
* make spec file use translations instead of content
* update content
* lint fixes
* fix typo
* fix question wording
* fix failing spec
* add full stop
Co-authored-by: Stéphane Meny <smeny@users.noreply.github.com>
Co-authored-by: Dushan Despotovic <dushan@madetech.com>
3 years ago
baarkerlounger
3ba1596a1b
Fix routing for tshortfall ( #571 )
...
* Fix routing for tshortfall
* HB 7 and 8 don't exist in 22/23 anymore
3 years ago
baarkerlounger
e374aadd16
Remove needs type question until we support supported housing logs ( #569 )
3 years ago
baarkerlounger
85b4ae81e3
Make tshortfall optional based on hidden tshortfall_known question ( #563 )
...
* Make tshortfall optional based on hidden tshortfall_known question
* Add test for optional
* Add test for JSON derived and dependent on false options
* Test routing
* Fix optionality
3 years ago
Dushan
69bdfb2e5b
CLDC-744-joint-tenancy-validation ( #549 )
...
* add joint tenancy validation
* fix validation and spec
* improvements
* updates
* lint fixes
* fix typo
* change message displayed on hhmemb page
3 years ago
baarkerlounger
233f54997b
Allow illness type to be refused ( #553 )
3 years ago
baarkerlounger
8b3a2c9560
Add white other
3 years ago
baarkerlounger
0383e27821
Enable dynamically dependent answer options
3 years ago
kosiakkatrina
a3d32765d5
🤏 content fixes ( #539 )
3 years ago
baarkerlounger
5154b412b3
Fix form start/end date
3 years ago
Paul Robert Lloyd
7e29f533b9
Correct hint text for times offered (not social let)
3 years ago
Paul Robert Lloyd
e2b36ddae5
Include full stops in hint text
3 years ago
Paul Robert Lloyd
70c7b3604e
Add missing hint text for fixed-term tenancy
3 years ago
roobottom
2c4c90eaa9
manual changes to match #513
3 years ago
roobottom
2d9f6ebeb6
manual updates to match #518
3 years ago
roobottom
87f69cc4c0
fixup to match changes from #512 + hbrentshortfall
3 years ago
roobottom
66ab99e6c0
changed joint_tenancy to joint
3 years ago
roobottom
0b71e03ac9
hb depneds on values
3 years ago
roobottom
79ac6dd859
Updated housing_benefit
3 years ago
roobottom
78f1c7b1f2
updated homeless
3 years ago
roobottom
b92c38ea54
removed benifits cap question
3 years ago
roobottom
5ae8ef4d67
manually copied accross LA changes
3 years ago
roobottom
1519717f4a
Updated options for national
3 years ago
roobottom
102d0361df
Updated shelteredaccom
3 years ago
roobottom
ebc60133ad
update options on tenancy
3 years ago
roobottom
dbfeb091bc
updated label on joint tenancy
3 years ago
roobottom
85c3c77b19
merged in Kats changes from #496
3 years ago
roobottom
38d00e7c27
added "joint tenancy" question
3 years ago
kosiakkatrina
51a1c2c7e3
Cldc 1163 next incomplete section ( #496 )
...
* Remove Save and go to submit
* Update hidden_in_check_answers
* Add la_known to dynamically not required questions if postcode_known is yes or not filled in
* infer the correct field value and remove irrelevant dynamically not required line
3 years ago
baarkerlounger
9a754c2dd6
Time spent in LA can't be derived
3 years ago
baarkerlounger
be25e07f5f
Starter tenancy routing
3 years ago
Stéphane Meny
217ce62a82
Reduce differences between imported values and saved values ( #486 )
...
* Compare imported values and saved values
* Remove London validations
* 2021-2022 form fixes
* Code review changes
3 years ago
Dushan
2e93dd5e2b
Move privacy notice add final review ( #469 )
...
* WIP
* Unpleasant but works
* Alias is maybe better?
* WIP
* remove unneeded partial
* error and success when submitting
* add request specs for review page
* delete unneeded feature spec
* WIP
* Unpleasant but works
* Alias is maybe better?
* WIP
* remove unneeded partial
* error and success when submitting
* add request specs for review page
* delete unneeded feature spec
* 🤏 fixes
* display when log is completed
Co-authored-by: baarkerlounger <db@slothlife.xyz>
Co-authored-by: Kat <katrina@madetech.com>
Co-authored-by: kosiakkatrina <54268893+kosiakkatrina@users.noreply.github.com>
3 years ago
Stéphane Meny
4f1df84d36
Rename attribute irproduct_other in JSON ( #481 )
3 years ago
Stéphane Meny
b8d60a86ea
Import changes ( #470 )
3 years ago
Dushan
33aa4a226f
Fix check answers bugs ( #474 )
...
* fix issues with check answers
* lint fixes
3 years ago
kosiakkatrina
868de89234
Update soft rent validations messages ( #453 )
...
* Update soft rent validations messages
* fix suffix and to_s for check_answers symbol
* rubocop
3 years ago
baarkerlounger
50eeaa9101
Remove hint text from tenancy start date question
3 years ago
baarkerlounger
9dc7e574bf
CLDC-1116: Don't route to ecstat if age is under 16 ( #446 )
...
* Ecstat dependent on age
* Derive ecstat if age is under 16
* Test value label derivation
* Ensure derived option is still shown in check answers
3 years ago
kosiakkatrina
6c5391ad1c
Cldc 1065 soft validations ( #434 )
...
* change get_question form method to prioritise the routed to questions
* Add soft validation and interruption screen for basic rent
* get previous page that was routed to and display the same error for both soft validations
* Separate max and min error screens
* add a test for getting the previous page
* Update content and add more tests for previous page
3 years ago
baarkerlounger
49f2fbf75a
Remove org question as it doesn't apply to 1.0 ( #437 )
3 years ago
kosiakkatrina
c43e730254
Cldc 657 full postcodes ( #421 )
...
* Rename full postcode columns
* Normalise the postcodes
* Fix test
3 years ago
Dushan
b72eb9f3fc
CLDC-667 newprop derived variable ( #426 )
...
* Update keys of rsnvac for first lets
Making it match with what is in the data dictionary. It was a wuick enough
fix to be included in this branch since it pairs well with the newprop derived
variable implementation
* add newprop derived variable and tests
* fixes
* use ternary statement for newprop derivation
3 years ago