baarkerlounger
93a10b40ef
Fix organisation filter ( #582 )
...
* Filter values correctly
* Remove filter value if hidden
* Return empty string rather than nil for accessible autocomplete
* Additional test for accessible automcomplete defaulting
2 years ago
baarkerlounger
9f738b53e5
CLDC-1224: Tenancy type and tenancy length ( #578 )
...
* Fix value mapping for tenancy type 22/23
* Update secure helper
* Null safe
* Spec update
* Update mandatory
* Use helper
2 years ago
baarkerlounger
91a9137c75
CLDC-1101: Case log filter by organisation ( #522 )
...
* Rename org filter
* Ensure filters work when ID is passed
* UI init
* Lint
* Fix filter nesting
* Reduce width
* Set checked status of filters correctly
* Test filter presence
* Add filter test
* Rubocop
* Tweak styles for autocomplete within filter
Co-authored-by: Paul Robert Lloyd <me+git@paulrobertlloyd.com>
2 years ago
Dushan
41757a8998
remove letting_in_sheltered_accomodation field ( #577 )
...
* remove letting_in_sheltered_accomodation field
This field is now duplicated by the shelteredaccom field
* lint fixes
* fix all failing specs
2 years ago
Ted-U
970c9afcf7
Cldc 1217 retirement soft validation ( #570 )
...
* Interruption screen refactor
* Add test for retirement_age_for_person
Co-authored-by: Stéphane Meny <smeny@users.noreply.github.com>
* Rubocop
* update 22-23 form
* fix failures
* lint fixes
* remove whitespace
* remove commented code
* make spec file use translations instead of content
* update content
* lint fixes
* fix typo
* fix question wording
* fix failing spec
* add full stop
Co-authored-by: Stéphane Meny <smeny@users.noreply.github.com>
Co-authored-by: Dushan Despotovic <dushan@madetech.com>
2 years ago
baarkerlounger
e374aadd16
Remove needs type question until we support supported housing logs ( #569 )
2 years ago
baarkerlounger
85b4ae81e3
Make tshortfall optional based on hidden tshortfall_known question ( #563 )
...
* Make tshortfall optional based on hidden tshortfall_known question
* Add test for optional
* Add test for JSON derived and dependent on false options
* Test routing
* Fix optionality
2 years ago
baarkerlounger
a06a5f5896
Referral can be internal for homeless ( #561 )
2 years ago
Dushan
26c0107779
add check to prevent error on hhmemb if joint is nil ( #560 )
...
* add failing spec
* add check to prevent error on hhmemb if joint is nil
2 years ago
baarkerlounger
6139866565
Improve DB seeding ( #556 )
...
* Improve DB seeding
* Don't seed LA Rent Ranges in test
2 years ago
Dushan
69bdfb2e5b
CLDC-744-joint-tenancy-validation ( #549 )
...
* add joint tenancy validation
* fix validation and spec
* improvements
* updates
* lint fixes
* fix typo
* change message displayed on hhmemb page
2 years ago
baarkerlounger
6f0f9ab95c
Dry depends on evaluation
2 years ago
baarkerlounger
048db88d47
Refactor ecstat age check
2 years ago
baarkerlounger
0383e27821
Enable dynamically dependent answer options
2 years ago
baarkerlounger
deb74f97c9
Make case log status rely on subsection status so they can't get out of sync
2 years ago
Ted
d762f4ac05
derive if ethnic has been refused from ethnic group
3 years ago
Ted
23fe2bb219
Log old id
3 years ago
Ted
780f0892c4
Fix other reason for leaving last settled validation
3 years ago
Dushan Despotovic
6818a51180
Fix all failing specs
...
This commit fixes the tests that failed as a result of the introduction
of the created_by column in the case log table. The tests were failing as
it is now necessary to have a created_by for a case log
3 years ago
kosiakkatrina
e70627bcf4
make previous_la_known dynamically optional ( #527 )
3 years ago
Stéphane Meny
1443e2dc0e
* Introduce created_by field
...
* Handles deactivated/deleted users at import
* Links case logs created_by with user
3 years ago
Paul Robert Lloyd
ab2412514d
Update value shown for data protection agreement
3 years ago
baarkerlounger
bf4733679a
Reset checkbox answer option answers when the question has been invalidated by other answers
3 years ago
Stéphane Meny
2643e707ae
Update hbrentshortfall values and import corrections ( #514 )
3 years ago
kosiakkatrina
06adfbaf6d
remove la_known ( #505 )
...
* remove la_known
* lint
3 years ago
Paul Robert Lloyd
2d2da174fe
Refactor check answers row to use components
3 years ago
kosiakkatrina
5b2f8ce8c3
Loop the subsections on the last subsection instead of declaration ( #497 )
3 years ago
kosiakkatrina
51a1c2c7e3
Cldc 1163 next incomplete section ( #496 )
...
* Remove Save and go to submit
* Update hidden_in_check_answers
* Add la_known to dynamically not required questions if postcode_known is yes or not filled in
* infer the correct field value and remove irrelevant dynamically not required line
3 years ago
kosiakkatrina
0d262bab51
Remove submit lettings log button ( #494 )
3 years ago
baarkerlounger
19d7e7f984
Postcode may not be set
3 years ago
baarkerlounger
13cbb13d8c
Postcode format
3 years ago
baarkerlounger
f4de4e35a3
Add error to postcode for LA validation
3 years ago
Stéphane Meny
217ce62a82
Reduce differences between imported values and saved values ( #486 )
...
* Compare imported values and saved values
* Remove London validations
* 2021-2022 form fixes
* Code review changes
3 years ago
baarkerlounger
e6e2c00abd
Add validation
3 years ago
baarkerlounger
58f4431dd7
Default to dislpaying all
3 years ago
baarkerlounger
1e335f4948
Display Org rent periods
3 years ago
Dushan
2e93dd5e2b
Move privacy notice add final review ( #469 )
...
* WIP
* Unpleasant but works
* Alias is maybe better?
* WIP
* remove unneeded partial
* error and success when submitting
* add request specs for review page
* delete unneeded feature spec
* WIP
* Unpleasant but works
* Alias is maybe better?
* WIP
* remove unneeded partial
* error and success when submitting
* add request specs for review page
* delete unneeded feature spec
* 🤏 fixes
* display when log is completed
Co-authored-by: baarkerlounger <db@slothlife.xyz>
Co-authored-by: Kat <katrina@madetech.com>
Co-authored-by: kosiakkatrina <54268893+kosiakkatrina@users.noreply.github.com>
3 years ago
baarkerlounger
e212612ee6
Add table
3 years ago
baarkerlounger
6f985f3b1d
Indentation
3 years ago
baarkerlounger
4ef43c8738
Add validation
3 years ago
baarkerlounger
829e199478
Move LA validation to LA validation file
3 years ago
baarkerlounger
6f6496ceaa
Unit test
3 years ago
baarkerlounger
d55a028719
Have form handler class decide the current form
3 years ago
baarkerlounger
d9883c13a4
Display LA name rather than code
3 years ago
baarkerlounger
5b4dc5a16c
Format bullet lists
3 years ago
baarkerlounger
f8d16bf098
Import data
3 years ago
baarkerlounger
09eb55b0ca
Create org la relation
3 years ago
Stéphane Meny
ed9a32a7fb
Correct weekly income calculation based on a given yearly income ( #483 )
3 years ago
Stéphane Meny
b8d60a86ea
Import changes ( #470 )
3 years ago
Dushan
33aa4a226f
Fix check answers bugs ( #474 )
...
* fix issues with check answers
* lint fixes
3 years ago