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
kosiakkatrina
2b9cb6f257
Fix financial validation ( #465 )
3 years ago
baarkerlounger
30083933b9
Don't allow data coordinators to assign support role
3 years ago
kosiakkatrina
ce0752addb
Cldc 1010 filter ( #449 )
...
* Add a filter for status
* Add styling, separate filter tab into a file
* Add mobile styling
* use session instead of cookies
* Get statuses from case_log
* remove explicit builder set
* set filter from within get index
* style new log button
* refactor tests
3 years ago
baarkerlounger
0e9f7d12d2
CLDC-1100: Add a Customer Support user role ( #454 )
...
* A support role exists that can see all case logs
* Support role requires 2FA
* Support user sees 2FA code screen on login
* Use email for OTP code
* Ensure resend paths work
* Support user can see additional organisation columns on logs page
* Simpler test
* Remove spec description spaces
3 years ago
kosiakkatrina
258626d5a9
Add local housing authority referral validation ( #456 )
...
* Add local housing authority referral validation
* Update validation message
3 years ago
kosiakkatrina
868de89234
Update soft rent validations messages ( #453 )
...
* Update soft rent validations messages
* fix suffix and to_s for check_answers symbol
* rubocop
3 years ago
baarkerlounger
433748f5b6
Devise fields don't need versioning ( #455 )
3 years ago
Stéphane Meny
5af5088c15
CLDC-1118: Implement empty master manifest ( #450 )
...
CLDC-1118: Implement empty daily master manifest
3 years ago
baarkerlounger
00ebde0401
CLDC-1074: Derive landlord value from owning organisation provider type ( #447 )
...
* Derive landlord from owning org provider type
* Use valid charge values
3 years ago
baarkerlounger
9dc7e574bf
CLDC-1116: Don't route to ecstat if age is under 16 ( #446 )
...
* Ecstat dependent on age
* Derive ecstat if age is under 16
* Test value label derivation
* Ensure derived option is still shown in check answers
3 years ago
baarkerlounger
9387a743da
Remove unused methods ( #443 )
...
* Remove unused methods
* Spec setting data protection officer status
3 years ago