Dushan
8770343384
Cldc 1220 better logging status discrepancies ( #620 )
...
* Fix spec description
* add test and code for logging old id of status discrepancies
* add test and code for logging all case logs with status discrepancies
* lint fixes
* fix spec descriptions
2 years ago
Stéphane Meny
9241a53818
Fixes import and export for tenant code ( #617 )
2 years ago
kosiakkatrina
88cffcc386
CLDC-1277: no route matches bug ( #615 )
...
* don't display the save and go to the next incomplete section button if it errors 🤷♀️
* use 2022/23c fixture for in the test
2 years ago
Stéphane Meny
b834e0eeb1
Avoid variable number of columns during CSV export ( #614 )
2 years ago
Stéphane Meny
e0385abad1
Updates exported fields based on May 25th feedback ( #613 )
2 years ago
Stéphane Meny
4047176299
CLDC-1258: Handle invalid void date during import ( #604 )
...
* Now we raise an exception if a non-existing organisation is referenced by a case log
* The void date is not imported if it is after the tenancy start date
2 years ago
Stéphane Meny
135bae2f58
Add support for CSV export ( #598 )
2 years ago
Stéphane Meny
f31c2be851
CLDC-1118: Implement data export structure (CDS) ( #587 )
...
Co-authored-by: Dushan Despotovic <dushan@madetech.com>
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
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
e6f1672fe4
Add sheltered accom field ( #568 )
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
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
Ted
d762f4ac05
derive if ethnic has been refused from ethnic group
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
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
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
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
baarkerlounger
e212612ee6
Add table
3 years ago
baarkerlounger
f8d16bf098
Import data
3 years ago
baarkerlounger
80363d3c19
Add spec fixture
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
2b9cb6f257
Fix financial validation ( #465 )
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
f1a0931b9f
Time bombing your own specs is a bad time
3 years ago
baarkerlounger
be1417307c
CLDC-649: Export provider type from owning organisation ( #436 )
...
* Export provider type from owning org
* Export DB value rather than string
3 years ago
baarkerlounger
2776c061b6
CLDC-1063: Key Contacts ( #435 )
...
* Add data field
* Add field to views
* Only data coordinators can change role, dpo, keycontact
* Import key contact field
* Rubocop
* Import data accessors
* Handle non-unqiue email imports
3 years ago
kosiakkatrina
6c5391ad1c
Cldc 1065 soft validations ( #434 )
...
* change get_question form method to prioritise the routed to questions
* Add soft validation and interruption screen for basic rent
* get previous page that was routed to and display the same error for both soft validations
* Separate max and min error screens
* add a test for getting the previous page
* Update content and add more tests for previous page
3 years ago
kosiakkatrina
c43e730254
Cldc 657 full postcodes ( #421 )
...
* Rename full postcode columns
* Normalise the postcodes
* Fix test
3 years ago
baarkerlounger
41d6822606
Data protection confirmations import ( #412 )
...
* Failing test
* Import
* Cop fixes
* Preserve created at date
* Rubocop
* Time zones are hard
3 years ago
Dushan
b72eb9f3fc
CLDC-667 newprop derived variable ( #426 )
...
* Update keys of rsnvac for first lets
Making it match with what is in the data dictionary. It was a wuick enough
fix to be included in this branch since it pairs well with the newprop derived
variable implementation
* add newprop derived variable and tests
* fixes
* use ternary statement for newprop derivation
3 years ago
baarkerlounger
dec350e6f1
Relat data type ( #423 )
3 years ago
baarkerlounger
910f13d507
Household member validations ( #420 )
...
* Add missing ecstat validation
* Add compound validation errors to all involved fields
* Update ecstat values
* Update values in validations and tests
* Update rent rant values
* Add some helper methods for readability
3 years ago
Dushan
a23ddc6070
CLDC-651 refused derived variable ( #396 )
...
* refused derived variable
* add helper methods
* update schema
* fix failing spec
3 years ago