Dushan
804a6bd00c
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
3 years ago
baarkerlounger
6569a1547e
Hide inactive users and allow support users to view all users ( #576 )
...
* Hide inactive users and allow support users to view all users
* Enable support users to invite users to any organisation
* Add pagination to user views
3 years ago
Ted-U
5a4275abcc
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>
3 years ago
Paul Robert Lloyd
8e85e890f4
Make logs link less ambiguous
3 years ago
baarkerlounger
fc706ab6a6
Remove needs type question until we support supported housing logs ( #569 )
3 years ago
baarkerlounger
95ab1da8d8
Add sheltered accom field ( #568 )
3 years ago
baarkerlounger
9ef97dcc45
Use rake task to send onboarding emails ( #566 )
...
* Use rake task to send onboarding emails
* Wrap host lookup so it's easily stubbable
* Rake task can be called outside the rails environment so need to pass host in
* Not part of the usual app flow so contain to rake task
* Including routes helper in a rake task is a rabbit hole
* Use ENV var rather than param for host
3 years ago
baarkerlounger
5d9586a127
Map joint tenancy field ( #565 )
3 years ago
baarkerlounger
8f45419240
Inactive users ( #564 )
...
* Allow users to be marked as inactive
* Import inactive users
3 years ago
baarkerlounger
e64cd6f926
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
f1f6c2123e
Set case log ID offset at export ( #562 )
3 years ago
baarkerlounger
cf0239137c
Referral can be internal for homeless ( #561 )
3 years ago
baarkerlounger
717c4e57c3
Spec nav bar highlighting from user perspective
3 years ago
baarkerlounger
10af437cec
Refactor for testability
3 years ago
Dushan
d6cf9bf892
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
a5b407facf
Works but helper is hard to test
3 years ago
baarkerlounger
46bf83df84
Fix specs and linters
3 years ago
Paul Robert Lloyd
5362cf0687
Add navigation items helper
3 years ago
Dushan
6e9d4a8b87
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
Ted-U
1e096b2ff4
Radio button on log filter is now preset to "All" ( #552 )
...
* Radio button on log filter is now preset to "All"
* lint fixes
* removed instance @ variable
3 years ago
baarkerlounger
9cbbd127c0
Allow illness type to be refused ( #553 )
3 years ago
kosiakkatrina
15065bcd90
Save correct la if postcode is invalid ( #551 )
3 years ago
kosiakkatrina
b428fa8c5d
Set tshortfall to 0 if it should exists but is not provided ( #550 )
...
* Set tshortfall to 0 if it should exists but is not provided
* check if tshortfall is overridden
3 years ago
baarkerlounger
8f90333a3f
Enable dynamically dependent answer options
3 years ago
Dushan
66fdb93dd1
Age known believe import fixes ( #545 )
...
* amend fixture to make test fail
* fix failing test
* lint fixes
3 years ago
kosiakkatrina
1a6b3be1e3
don't route to hbrentshortfall if hb is 7 ( #544 )
3 years ago
baarkerlounger
d9e0526a59
Fix complete case log fixture
3 years ago
kosiakkatrina
99630f7425
map tshortfall value ( #543 )
3 years ago
kosiakkatrina
df1790631a
Set hhmemb to totadult and tchild sum if hhmemb is not given ( #540 )
...
* Set hhmemb to totadult and tchild sum if hhmemb is not given
Co-authored-by: Ted <tedbooton@gmail.com>
Co-authored-by: Dushan <dushan@madetech.com>
* lint
* update method
* calculate hhmemb from details provided
Co-authored-by: Ted <tedbooton@gmail.com>
Co-authored-by: Dushan <dushan@madetech.com>
3 years ago
baarkerlounger
edbee5582f
Lint
3 years ago
baarkerlounger
cc6d7d2882
Add test for support user log view
3 years ago
Ted
d762f4ac05
derive if ethnic has been refused from ethnic group
3 years ago
Ted
780f0892c4
Fix other reason for leaving last settled validation
3 years ago
Ted-U
06bb64d20e
fixed total charge bug ( #529 )
...
* fixed total charge bug, when maximum value is exceeded the total will now continue to work
* Remove binding.pry left accidentally
3 years ago
kiddhustle
aa21c20546
CLDC-1185: now wrap label in div
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
kosiakkatrina
e70627bcf4
make previous_la_known dynamically optional ( #527 )
3 years ago
Dushan Despotovic
8c42d3201b
fix failing spec
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
3ecd1f2c6d
Make user names bold in users table
3 years ago
Paul Robert Lloyd
5de141f829
Update tests for DetailsTableHelper
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
Stéphane Meny
beedcf2d56
Fix errors during import process ( #507 )
3 years ago
baarkerlounger
64a40d3725
Update error message label 2
3 years ago
kosiakkatrina
06adfbaf6d
remove la_known ( #505 )
...
* remove la_known
* lint
3 years ago
Stéphane Meny
bf972143a1
Import fixes and add update capabilities ( #500 )
3 years ago