kosiakkatrina
dc92466139
CLDC-3092 Update nationality question for 24/25 ( #2193 )
...
* Add new nationality columns
* Add nationality questions to lettings
* Add nationality questions to sales
* Infer nationality where appropriate
* Add synonyms
* Update csv exports
* Export nationality_all for 24/25
* Update prefers not to say value
* Set 24/25 nationality fields from BU
* Undo the export (there's a separate ticket)
* Correctly display answers
* Rebase fixes, tests and lint
* Set nationality from lettings BU 24/25
* Rename files, add synonyms and accents
* Fix sales csvs
* Extract constant
9 months ago
natdeanlewissoftwire
da218e073b
CLDC-2274 Fix buyer 2 nationality routing bug ( #1546 )
...
* feat: fix buyer 2 nationality routing, use helper methods everywhere
* feat: update tests and lint
* feat: update test
* refactor: lint
* feat: fix tests
2 years ago
Arthur Campbell
4916049e18
CLDC-2014 remove text field for buyer 1 nationality other ( #1388 )
...
* remove question no longer needed and associated test file
* amend page and the other question in that page that determined whether the deleted question should be shown
update associated test files
* createa a migration to remove the column for the deleted question
* update test broken by changes
* fix test broken by changes
2 years ago
kosiakkatrina
9518cadcb5
CLDC-1450 Update declaration question ( #1098 )
...
* Display the correct error for privacy notice and display the partial guidance at the top by default
* Always display privacy notice question
* Disable the rest of the housing characteristics questions until privacynotice is answered
* fix tests
* remove duplicate field
* Display the household questions if the buyers were not interviewed
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
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
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
38f897a843
Cldc 1479 joint buyers ( #885 )
...
* Add number joint buyers page and question
* Add jointmore column
* fix form tests
* Add in progress trait and status test for sales log
* Fix test
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
6ff7db39f1
Remove schemes feature flag ( #841 )
2 years ago
Stéphane Meny
805107c413
CLDC-1249 supported housing scheme ( #705 )
...
* Introduce scheme and location pages
* Derive single scheme location
* Reset location when a scheme is changed
Co-authored-by: Dushan Despotovic <dushan@madetech.com>
Co-authored-by: Katrina Kosiak <katrina@madetech.com>
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