baarkerlounger
4a01afa6e4
Make user dependent form content request safe ( #686 )
...
* Fix heisenspec
* Always make it functional
* Remove references to current user
* Make it work for check answers
* Clean up
* Remove redundant check
2 years ago
Stéphane Meny
4fa32a1619
CLDC-1304: Export changes needed by CDS ( #650 )
2 years ago
baarkerlounger
7de5558295
Refactor log setup into code ( #672 )
...
* Refactor log setup into code
* Fix remaining tests
* Revert schema changes
* Add tests for setup section
Co-authored-by: baarkerlounger <baarkerlounger@users.noreply.github.com>
* rename spec
Co-authored-by: Kat <katrina@madetech.com>
Co-authored-by: baarkerlounger <baarkerlounger@users.noreply.github.com>
2 years ago
baarkerlounger
eb72bc6ffd
Refactor log setup into it's own form ( #663 )
...
* Refactor log setup into it's own form
* Use factory
* Run workflow on push to PR
* Array matcher on heisenspec
2 years ago
kosiakkatrina
88cffcc386
CLDC-1277: no route matches bug ( #615 )
...
* don't display the save and go to the next incomplete section button if it errors 🤷♀️
* use 2022/23c fixture for in the test
2 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
2 years ago
Paul Robert Lloyd
461eb0fe42
Remove ‘your’ when mentioning logs
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
baarkerlounger
ac52864a03
Start date validation ( #299 )
...
* Start date validation
* Derive collection windows from form definitions
3 years ago
kosiakkatrina
512c5fdad2
Cldc 972 submitting lettings log ( #279 )
...
* add validation for declaration on log submission
* Only present next incomplete section link if such section exists
3 years ago
baarkerlounger
c47a505f99
Rename renewal to match what's been sent to softwire ( #262 )
3 years ago
Paul Robert Lloyd
291fb188d3
Remove sales related questions from lettings form
3 years ago
Paul Robert Lloyd
9285b08c66
Rename ‘About this log‘ section
3 years ago
kosiakkatrina
57af5eef8a
Cldc 632 income and benefits section ( #213 )
...
* Update hb question options
* add has benefits field
* derive has_benefits
* update benefit question options
* Add nocharge field
* Add rent period question and check multiple condition sets for depends_on
* update rent period answer options
* Add carehome questions and move the remaining rent questions to income and benefits section
* Reset incfreq and incref and update rent routing based on periods
3 years ago
Paul Robert Lloyd
fdabb3b5ad
Always say lettings before sales
3 years ago
Paul Robert Lloyd
3ddbf9d8ac
Content and design audit 1
3 years ago
baarkerlounger
ed7679fdf9
Tenant's MUST be shown the privacy notice otherwise you can't complete the rest of the form ( #187 )
...
* Add failing spec
* About this log is only completed when privacy notice has been marked as shown
* Refactor special case into question
3 years ago
baarkerlounger
fc3b775827
Test for multiple forms
3 years ago