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
3 years ago
baarkerlounger
a6d9370972
Map joint tenancy field ( #565 )
3 years ago
baarkerlounger
501fcd91e0
Inactive users ( #564 )
...
* Allow users to be marked as inactive
* Import inactive users
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
ad12b8e4dc
Set case log ID offset at export ( #562 )
3 years ago
baarkerlounger
a06a5f5896
Referral can be internal for homeless ( #561 )
3 years ago
baarkerlounger
66621eac50
Spec nav bar highlighting from user perspective
3 years ago
baarkerlounger
055f23723e
Refactor for testability
3 years ago
baarkerlounger
5737ab2f2d
Works but helper is hard to test
3 years ago
baarkerlounger
940012d31e
Fix specs and linters
3 years ago
Paul Robert Lloyd
96497cdff8
Add navigation items helper
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
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
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
3 years ago
baarkerlounger
233f54997b
Allow illness type to be refused ( #553 )
3 years ago
kosiakkatrina
4c4f52f021
Save correct la if postcode is invalid ( #551 )
3 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
3 years ago
baarkerlounger
0383e27821
Enable dynamically dependent answer options
3 years ago
Dushan
f4401869de
Age known believe import fixes ( #545 )
...
* amend fixture to make test fail
* fix failing test
* lint fixes
3 years ago
kosiakkatrina
1637661314
don't route to hbrentshortfall if hb is 7 ( #544 )
3 years ago
baarkerlounger
21eac97e31
Fix complete case log fixture
3 years ago
kosiakkatrina
df3b8371ef
map tshortfall value ( #543 )
3 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>
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
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
kosiakkatrina
c13fef82be
Compare partial URLs to highlight navigation items ( #493 )
...
* Compare partial URLs to highlight navigation items
* fix tests
* Extract method and add tests
3 years ago
Stéphane Meny
ff0bf5319f
Add case logs import rake type ( #495 )
3 years ago
kosiakkatrina
0d262bab51
Remove submit lettings log button ( #494 )
3 years ago
baarkerlounger
5865c1b8b0
Spec
3 years ago