Arthur Campbell
5696e4b81e
Cldc 3452 remove dont know option from mortgage used when invalid ( #2470 )
...
* initial spec file refactor
remove create for build, extract form to own variable, remove non-valuable tests
run time from 0.29s to0.11s
* refactor to ensure that the questions ownershipsch instance variable and the value of ownershipsch on the log is the same in tests
* delete page test file which is not testing anything meaningful
* add error messages to the I18n yml
* update tests for the validations
* update validation logic
* update tests for the mortgage used question
* update the mortgage used question displayed answer options
* update bulk upload specs to reflect error message updates
* make use of brackets consistent within validation method
5 months ago
Robert Sullivan
2e7cb56c70
CLDC-3351: Clear deposit in situations where it is no longer derived ( #2354 )
...
* CLDC-3351: Clear deposit in situations where it is no longer derived
7 months ago
kosiakkatrina
6717eb6275
CLDC-3181 Update question numbers for 2024 ( #2252 )
...
* Update question numbers for 2024
* Stub form in tests
* Stub form start_date for pages
* Add a default question number
* Fix a typo
* Update rebase test
* Refactor default question number
* Refactor person question numbers
* Display managing org for sales correctly in CYA
* Rebase fix
* More tweaks
8 months ago
natdeanlewissoftwire
92769036bd
feat: add answer option and test ( #2190 )
9 months ago
Aaron Spencer
2dcafc8ecd
CLDC 2454: add answer option to q90 depending on q78 ( #1717 )
...
* CDLC-2545: Wip
* CLDC-2545: answers dependant on staircase ownership, tests written.
* CLDC-2545: linting
* CLDC-2545: Mortgage used validation condition
* CLDC-2545: lint and type removal.
* CLDC-2454: lint and type removal.
1 year ago
natdeanlewissoftwire
c862423adf
CLDC-1864 single log numbering ( #1381 )
...
* feat: add initial question number behaviour
* feat: add initial CYA behaviour
* feat: number sales setup section
* refactor: lint
* feat: property information numbering
* feat: household characteristics section and typo fix
* feat: household characteristics numbering
* feat: household situation numbering
* feat: other household info numbering
* feat: income, benefits and outgoings numbering
* feat: shared ownership scheme numbering
* feat: shared, discount and outright numbering
* feat: fix income duplication bug, add numbers to other questions
* feat: typo fix
* feat: add lettings setup numbering
* feat: add property info numbering
* feat: add household char numbering
* feat: add household needs numbering
* feat: add household situ numbering
* feat: add income numbering
* feat: update tests
* refactor: cleanup and disable on 2022 and before logs
* feat: add test for q numbers in 23/24 year only
* refactor: highlight multiplication in brackets
* feat: show rent and charge questions individually on cya
* feat: number new previous tenure q
* feat: delete old prevten file
* feat: update card numbers after merge
* feat: add q60 ands 61 sales
* refactor: delete empty files
---------
Co-authored-by: Kat <katrina@kosiak.co.uk>
2 years ago
kosiakkatrina
6db3b06d8f
Add don't know options ( #1356 )
...
* Add don't know options
* Add mortgage length known question
* Update mortgage known question options
* Display fewer answer options
* Add don't know undisplayed answer option to mortgage used
* Run validations even if mortgageused is don't know
* Remove unconfirmed changes
* Add a hidden pregblank option to buyers_organisations
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
f0ff0fec2f
Cldc 1543 mortgage used ( #1139 )
...
* Add sale_information section
* Switch the order of sales log sections
* Add mortgageused column
* Add mortgageused page and question
* Add mortgageused page to subsections
* derive deposit
* tests
2 years ago
kosiakkatrina
d7336a6639
Cldc 1519 previous ownership ( #1054 )
...
* Add previous ownership to the db
* Add previous ownership question
* Add previous ownership page and update subsection
* Reset schema and tests
* migrate
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
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
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