Stéphane Meny
9fee5c28b5
CLDC-1285: Additional fixes for import ( #640 )
...
* Clears referral answer if combined with a fixed-term or lifetime previous tenancy at import
* Handles a different value for age refused during import
2 years ago
baarkerlounger
d406acd136
Remove organisation LAs since validation is no longer required ( #637 )
2 years ago
Stéphane Meny
d5fdba59cd
Handles start date or void date missing ( #631 )
2 years ago
baarkerlounger
e8c7e444ef
Make sure we can log old id ( #630 )
2 years ago
baarkerlounger
15f23cb4f0
Major repairs question should be valid if void date question is ( #625 )
...
* Major repairs question should be valid if void date question is
* Add task to reimport major repairs answers
* Correct error message string
* Add logging
* Spec logging
2 years ago
Stéphane Meny
560d9061c7
CLDC-1261: Remove invalid referral answer during import ( #626 )
2 years ago
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
c9702d1f32
Rake task to fix empty tenant code ( #622 )
...
* Rake task to fix empty tenant code
* Rewrite test for clarity
* Refactor call to update
2 years ago
Stéphane Meny
9241a53818
Fixes import and export for tenant code ( #617 )
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
46a2783a4a
CLDC-1225: At import updates relationship to child when a person is under 16 ( #609 )
2 years ago
baarkerlounger
1fd74d10f0
Rubocop
2 years ago
baarkerlounger
d7d07b8b99
Add LA org mapping
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
ea2fd1b6c2
Removing gaps caused by empty exports ( #591 )
2 years ago
Stéphane Meny
7b8f996969
Attempt at fixing S3 error when saving Zip file ( #590 )
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
Ted-U
3c8959e4b2
Export improvements ( #581 )
...
* improved export - set start point for reference
* remove completed status from exports
* Added exception handling to export
* Improved tests, replaced rescue block with Sentry
Co-authored-by: Kat <katrina@madetech.com>
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
d17075fc44
CLDC-1218: Fix hbrentshortfall import ( #558 )
...
* Infer hbrentshortfall not known if tshortfall not provided and overridden
* Reorder import
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
a859d8b37d
Rubocop
2 years ago
baarkerlounger
aa9705cda7
Majorrepairs will never match
2 years ago
baarkerlounger
7bff1d100b
Set major repair date
2 years ago
baarkerlounger
92fd859ac8
Derive major repairs for import
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
baarkerlounger
9389d952ab
Fix Reason preference reason and lettings allocation answer option import
2 years ago
baarkerlounger
25fa0d4eff
Fix condition affects question (illness type)
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
23fe2bb219
Log old id
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
Stéphane Meny
17bb734b0a
Fixing previous postcode known
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
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
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
48ac937df7
Add import
3 years ago
baarkerlounger
2f73d250d1
Rubocop
3 years ago