baarkerlounger
e374aadd16
Remove needs type question until we support supported housing logs ( #569 )
3 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
3 years ago
baarkerlounger
a06a5f5896
Referral can be internal for homeless ( #561 )
3 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
3 years ago
baarkerlounger
6139866565
Improve DB seeding ( #556 )
...
* Improve DB seeding
* Don't seed LA Rent Ranges in test
3 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
3 years ago
baarkerlounger
6f0f9ab95c
Dry depends on evaluation
3 years ago
baarkerlounger
048db88d47
Refactor ecstat age check
3 years ago
baarkerlounger
0383e27821
Enable dynamically dependent answer options
3 years ago
baarkerlounger
deb74f97c9
Make case log status rely on subsection status so they can't get out of sync
3 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
baarkerlounger
cbdcde2bcd
Hash syntax
3 years ago
kosiakkatrina
b9d8ba7933
Fix saving date ( #472 )
3 years ago
kosiakkatrina
919f25dd74
Add user filter ( #467 )
...
* Add user filter
* Add unit tests for user scope
3 years ago
baarkerlounger
392058c94d
Don't combine two separate ethnic questions
3 years ago
kosiakkatrina
9a765a6415
Add year filter ( #464 )
...
* add year filter
* update text and filter order
* fix typo
* extract partials
* add tests with 2 filters
* Allow OR filters within scope categories and AND filters across them
* Rubocop
* Remove some of the N+1 query madness by preloading required organisations
* Refactor scopes
* Fix new specs
* unticked checkboxes by deault
* fix test
Co-authored-by: baarkerlounger <db@slothlife.xyz>
Co-authored-by: baarkerlounger <5101747+baarkerlounger@users.noreply.github.com>
3 years ago