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
Paul Robert Lloyd
9bb44a0ec2
Fix repeated use of Password in error summary (and use smart quotes)
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
501fcd91e0
Inactive users ( #564 )
...
* Allow users to be marked as inactive
* Import inactive users
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
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
0383e27821
Enable dynamically dependent answer options
2 years ago
Ted
780f0892c4
Fix other reason for leaving last settled validation
3 years ago
Paul Robert Lloyd
e2b36ddae5
Include full stops in hint text
3 years ago
Paul Robert Lloyd
e51fede8e2
Use smart quotes
3 years ago
Dushan Despotovic
10507fa5a8
lint fixes
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
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
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
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
baarkerlounger
e212612ee6
Add table
3 years ago
baarkerlounger
4ef43c8738
Add validation
3 years ago
baarkerlounger
829e199478
Move LA validation to LA validation file
3 years ago
baarkerlounger
809667c673
Rubocop
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
2f73d250d1
Rubocop
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
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
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
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
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