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
c339ffda1f
Cleanup the form ( #1166 )
...
* Remove empty descriptions from pages
* remove empty headers from pages
* Remove redundant subsection assignment from pages
* Remove redundant page assignement from questions
* Remove redundant section assignment from subsections
* Remove redundant form assignments from sections
* Remove empty hint texts from questions
* lint
2 years ago
kosiakkatrina
7d02752d82
Cldc 1440 household situation section ( #1132 )
...
* feat: add question page and subsection (#1120 )
* feat: add question page and subsection
* refactor: linting
* feat: remove schema rows from other branch
* feat: slight refactor, fix tag behaviour and add section tests
* test: update and add tests
* feat: update status behaviour
* feat: update subsection status tag
* refactor: linting
* [CLDC-857] Add household wheelchair check (#1122 )
* [CLDC-857] Add household wheelchair check
* Hide only if answered
* Cldc 1497 ever served armed forces (#1124 )
* feat: add question and page
* test: update tests
* refactor: linting and slight test updates
* test: fix tests
* Cldc 1498 still serving armed forces (#1123 )
* feat: new question and tests
* test: update subsection spec
* test: update tests
* feat: (future) conflict resolving
* feat: more conflict resolution
* feat: update db field
* test: update id
* test: updates
* Cldc 1488 last accomodation (#1125 )
* Add postcode fields
* Add previous postcode page and questions
* Add last accommodation page to household situation subsection
* add previous la known to the db
* infer correct location fields
* styling
* Reorder disability questions (#1127 )
* [CLDC-1487] Add buyer1 previous tenure question (#1133 )
* use collection_start_year instead of the startdate (#1128 )
* [CLDC-1487] Add buyer 1 previous tenure
Co-authored-by: kosiakkatrina <54268893+kosiakkatrina@users.noreply.github.com>
* feat: fix routing (#1141 )
* Add last accommodation la question (#1142 )
* move hint text (#1146 )
Co-authored-by: natdeanlewissoftwire <94526761+natdeanlewissoftwire@users.noreply.github.com>
Co-authored-by: Jack S <113976590+bibblobcode@users.noreply.github.com>
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
Dushan
ae349cd68f
add changes for buyer 2 age ( #916 )
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
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
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