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
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
baarkerlounger
bd88eadb35
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
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
Paul Robert Lloyd
48e0c63aa7
Make logs link less ambiguous
2 years ago
baarkerlounger
e374aadd16
Remove needs type question until we support supported housing logs ( #569 )
2 years ago
baarkerlounger
e6f1672fe4
Add sheltered accom field ( #568 )
2 years ago
baarkerlounger
1b80d0f88f
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
2 years ago
baarkerlounger
a6d9370972
Map joint tenancy field ( #565 )
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
ad12b8e4dc
Set case log ID offset at export ( #562 )
2 years ago
baarkerlounger
a06a5f5896
Referral can be internal for homeless ( #561 )
2 years ago
baarkerlounger
66621eac50
Spec nav bar highlighting from user perspective
2 years ago
baarkerlounger
055f23723e
Refactor for testability
2 years ago
baarkerlounger
5737ab2f2d
Works but helper is hard to test
2 years ago
baarkerlounger
940012d31e
Fix specs and linters
2 years ago
Paul Robert Lloyd
96497cdff8
Add navigation items helper
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
Ted-U
07e3bad429
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
2 years ago
baarkerlounger
233f54997b
Allow illness type to be refused ( #553 )
2 years ago
kosiakkatrina
4c4f52f021
Save correct la if postcode is invalid ( #551 )
2 years ago
kosiakkatrina
1ead78462b
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
2 years ago
baarkerlounger
0383e27821
Enable dynamically dependent answer options
2 years ago
Dushan
f4401869de
Age known believe import fixes ( #545 )
...
* amend fixture to make test fail
* fix failing test
* lint fixes
2 years ago
kosiakkatrina
1637661314
don't route to hbrentshortfall if hb is 7 ( #544 )
2 years ago
baarkerlounger
21eac97e31
Fix complete case log fixture
2 years ago
kosiakkatrina
df3b8371ef
map tshortfall value ( #543 )
2 years ago
kosiakkatrina
641d849ea2
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>
2 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