natdeanlewissoftwire
0ba16fc307
Cldc 1528 person relationship to buyer 1 ( #1150 )
...
* feat: add person relationship to buyer 1 page and tests
* refactor: linting
* tests: update tests
* feat: refactor out person classes and update tests
* test: update tests
* refactor: linting
* feat: update db
* feat: update db
* feat: update db
2 years ago
kosiakkatrina
9e288a7c3b
Refactor out person classes ( #1094 )
...
* Refactor working situation to take in person index
* Refactor age to take in person index
* Remove unused methods
* Cleanup
* Change person_index to a named argument
* extract details_known_question_id
* Fix answer options
* Add field_for_person methods
2 years ago
kosiakkatrina
2f7fd7640c
Refactor age to reuse pages and questions ( #1092 )
...
* Refactor age to reuse pages and questions
* lint
2 years ago
kosiakkatrina
51be31a5c3
Cldc 1530 working situation ( #1089 )
...
* Add person1 working situation question
* Add ecstat3 column to the sales log
* migration
* Add the rest of ecstat questions
* Update schema
* tests
* Reuse pages and questions
* Reuse the same page
* refactor indexes
* Add other ecstat columns
* Extract person methods to parent class
2 years ago
kosiakkatrina
c994e67e69
Use dynamic ids for pages ( #1085 )
...
* Add income1_value_check column
* Use dynamic ids for pages
* Display Buyer1IncomeValueCheck twice
* Use id argument and pass in full IDs
* Remove accidental migration
2 years ago
natdeanlewissoftwire
6a15c51133
Cldc 1537 details for person 1 ( #1083 )
...
* feat: add details_known_1 and use to test question display
* refactor: remove redundant line
* test: add tests
* test: update tests
2 years ago
kosiakkatrina
dedad2f093
Cldc 1536 gender identity ( #1058 )
...
* Add gender identity 3 comumn to the sales table
* Add gender identity for person 1
* Add gender identity for person 1 when there is only 1 buyer
* Add person 1 gender identity page to subsection
* Rename questions and pages
* fix tests
2 years ago
kosiakkatrina
ecf1fa1a28
Update enabled method ( #990 )
...
* Change enabled? subsection method to check depends on using log questions and methods instead of a subsection status
* Update sales subsections
* Update rent validation tests to check all the affected fields
* Update setup_completed? to check all the setup sections
2 years ago
natdeanlewissoftwire
97ba0ccb29
Cldc 1537 details for person x ( #944 )
...
* feat: add question with dynamic header
* feat: remove question dynamic behaviour
* feat: add more age questions
* feat: add new ages
* feat: add extra person known pages
* feat: add person 4 known question
* feat: add routing behaviour
* tests: update old tests to pass
* tests: add new tests
* refactor: pass linting
* refactor: remove redundant routing
* feat: respond to pr comments
* test: pass tests
* refactor: linting
2 years ago
natdeanlewissoftwire
67435e9fa6
Cldc 1529 add more ages ( #943 )
...
* feat: add person2_age
* feat: add person2_age
* feat: add all 4 additional people ages
* tests: add tests and make old tests pass
2 years ago
natdeanlewissoftwire
72dfcbf8db
Cldc 1529 person 1 age ( #939 )
...
* feat: add person 1 age question
* feat: add new tests and fix old tests
* feat: linting
2 years ago
natdeanlewissoftwire
8dc808a7db
Cldc 1527 others in property ( #934 )
...
* feat: add functionality and make tests pass
* tests: add new tests
* refactor: appease linting
* feat: update schema
* feat: update test
2 years ago
Sam
c34f922d76
CLDC-1505 Buyer 1 working situation ( #932 )
...
* CLDC-1505 Buyer 1 working situation
* Update sales log factory
2 years ago
natdeanlewissoftwire
9a0629004d
Cldc 1574 privacy notice ( #931 )
...
* feat: core functionality
* feat: update schema.rb
* feat: add link for privacy notice, refactor to separate tenant/buyer
* feat: make privacy notices open in new tab
* test: make previous tests pass
* test: add new tests
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
natdeanlewissoftwire
3ef5408451
Cldc 1525 buyer2 working situation ( #930 )
...
* feat: add functionality
* tests: make tests pass
* tests: add new tests
* feat: update schema
* tests: update tests
* feat: fix order of pages
* feat: fix order of pages
2 years ago
natdeanlewissoftwire
23c086d5da
Cldc 1525 buyer2 working situation ( #929 )
...
* feat: add functionality
* tests: make tests pass
* tests: add new tests
* feat: update schema
* tests: update tests
2 years ago
natdeanlewissoftwire
83e1469b4f
Cldc 1526 buyer 2 live in ( #928 )
...
* feat: add functionality
* tests: make existing tests pass
* tests: add new tests
2 years ago
natdeanlewissoftwire
0981ce7c4a
Cldc 1480 buyer interview ( #927 )
...
* feat: add functionality
* test: make old tests pass
* test: add new tests
* [CLDC-1524] Add buyer 2 gender question (#926 )
* changes for buyer 2 gender
* Rubocop
Co-authored-by: Jack S <jacopo.scotti@softwire.com>
* feat: add updated schema post rebase
* refactor: remove blank line
* test: update tests
Co-authored-by: Dushan <47317567+dushan-madetech@users.noreply.github.com>
Co-authored-by: Jack S <jacopo.scotti@softwire.com>
2 years ago
Dushan
04c2e7b638
[CLDC-1524] Add buyer 2 gender question ( #926 )
...
* changes for buyer 2 gender
* Rubocop
Co-authored-by: Jack S <jacopo.scotti@softwire.com>
2 years ago
Jack S
43b9c44c00
[CLDC-1486] Add ethnic group and background questions ( #922 )
...
* Add derived variables to sales log
* Add ethnic background question
* Add inferred question response
* Test inferred check questions of lettings logs
2 years ago
natdeanlewissoftwire
7309768e08
Cldc 1522 buyer 2 relationship ( #919 )
...
* feat: add buyer 2-1 relationship question and page (migration and schema to come in next commit)
* feat: add buyer 2-1 migration and schema
* feat: update schema
* feat: add depends_on and tests
* feat: add hint text
* tests: add new tests
* refactor: lint appeasing
2 years ago
Dushan
ae349cd68f
add changes for buyer 2 age ( #916 )
2 years ago
baarkerlounger
bcf9132004
CLDC-1511: Add "Will buyer 1 live in the property?" question ( #905 )
...
* Add "Will buyer 1 live in the property?" question
* Factory
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