kosiakkatrina
d9a57ec1cb
CLDC-1627 Enable multiple inferred answers ( #1077 )
...
* Enable multiple inferred check answers values
* lint and add new conditions to check answers for age1
* Rename method
* Refactor inferred answer value
* rebase update
* update inferred_check_answers_value after rebase
* Move the method to private
* Add a missing test
* rebase changes
* Add prefers not to say as the displayed value for all household members
* update [0] to .first
* replace [0] with .first
2 years ago
kosiakkatrina
266bf3fda5
Cldc 1627 update age in check answers and put persons on different check answers cards ( #1068 )
...
* Display person 2, 3, 4 age question if their details are known
* Infer check answers value for age questions as 'Not known'
* Hide age known question in check answers if it is answered yes or no
* Add card numbers to household characteristics question
* Update gender identity depends on
* lint
* Add a field to completed sales log in factory
* Update person 1 gender identity to depend on the people count
* Do not show buyer 2 questions if it is not a joint purchase
2 years ago
kosiakkatrina
b22c6c961a
Cldc 1503 lead nationality ( #909 )
...
* Add nationality and other nationality questions
* Add nationality page
* Add national columns
* Add hidden_in_check_answers
* Update conditional question controller to work with both log types
* update tests
* lint
* Remove console.log
* tests and migration
* typo
* tests
* tests
* feat: update schema and tests
* Add nationality and other nationality questions
* Add nationality page
* Add national columns
* Add hidden_in_check_answers
* Update conditional question controller to work with both log types
* update tests
* lint
* Remove console.log
* tests and migration
* typo
* tests
* feat: update schema and tests
* tests: update tests
* feat: update schema.rb
Co-authored-by: natdeanlewissoftwire <nat.dean-lewis@softwire.com>
2 years ago
Jack S
cc93afa486
[CLDC-1484] Add prefer not to say to Age 1 question ( #910 )
2 years ago
kosiakkatrina
2698ea1f4a
Cldc 1485 lead tenant gender ( #902 )
...
* Add gender 1 question
* Add gender identity 1 page
* rename files
* Add specs, add page to subsection
* Add sex1 column
* Add answer options to the gender question
* update tests, add depends on for subsection
* remove buyer_1_age from setup
* Change quotes to apostrophes
* Tests
2 years ago
bibblobcode
3b2b207c71
[CLDC-1484] Add Buyer 1 age question ( #898 )
...
* [CLDC-1484] Add buyer 1 questions to Sales form
* [CLDC-1484] Add Age1 page and sections
* [CLDC-1484] Enable rspec --only-failures
* Rubocop lint
2 years ago
kosiakkatrina
67286125fb
Outright sale type ( #884 )
...
* Add outright sale question and page
* Add other type column
* Add a conditional OtherOwnershipType question
* Fix hash
2 years ago
Ted-U
38aa770c9d
CLDC 1478 add joint purchase question ( #883 )
...
* add joint purchase question
* lint
* add test for joint purchase question
* fix and add tests
* Delete created_by.rb
* merge conflict
* lint
2 years ago
James Rose
d3075e4e43
Revert to f4e6d6d6bb
( #887 )
2 years ago
natdeanlewissoftwire
f162f880ae
Revert "Merge remote-tracking branch 'origin/main' into CLDC-1429-output-la-code"
...
This reverts commit 626e2bd1a6
, reversing
changes made to f86e13cea7
.
2 years ago
baarkerlounger
1664493287
Refactor form namespacing ( #873 )
...
* Refactor form namespacing
* Extract common questions
2 years ago
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
3 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>
3 years ago