kosiakkatrina
ac16c74303
CLDC-3179 Update routing for previous postcode ( #2207 )
...
* Update routing for previous postcode
* Infer ppostcode_full for discounted sales
* Escape characters
* Update previous la routing
* Set prevloc
* Move postcode inferance
* Remove validation for 2024
* Update postgres in dockerfile
9 months ago
kosiakkatrina
ea1a7b7f54
CLDC-3176 Make deposit dynamically optional ( #2210 )
...
* Update optional hint text for deposit in 24/25
* Make deposit dynamically optional, update BU
* Refactor conditional page
* Add validation
9 months ago
natdeanlewissoftwire
39b6c4ddd8
CLDC-3135 Infer beds for 24/25 bedsits ( #2167 )
...
* feat: for 24/25 onwards, infer beds = 1 for bedsits, change hint text and remove validation
* feat: add tests
* feat: update bulk upload inferral
* feat: update tests
* refactor: rename file
* refactor: nest 2024 changes for future DRYness
* refactor: lint
9 months ago
kosiakkatrina
46aae6e774
Validate non staircasing mortgage value ( #2223 )
9 months ago
kosiakkatrina
140e55d313
CLDC-3184 Add value/discount validation ( #2222 )
...
* Add value/discount validation
* fix postcode field
9 months ago
kosiakkatrina
a3fb5313c0
CLDC-3175 Add max stairbought validation ( #2204 )
...
* Add max stairbought validation
* refactor tests
9 months ago
kosiakkatrina
5bcd677961
CLDC-3178 Update grant validation type ( #2209 )
...
* Remove soft grant validation for 2024 onwards
* Validate grant amount for 24/25 onwards
* Only run the hard validation for Social HomeBuy and RTA
* Fix soft validation
9 months ago
kosiakkatrina
5302889417
CLDC-3173 Add equity and staircase validation ( #2201 )
...
* Add equity and staircase validation
* Update BU tests
9 months ago
kosiakkatrina
44abe22ea9
CLDC-3183 Validate previous tenure for discounted sales ( #2206 )
...
* Validate previous tenure for discounted sales
* typo
9 months ago
kosiakkatrina
869bb45438
CLDC-3174 Validate stairowned is not equal stairbought ( #2198 )
...
* Validate stairowned is not equal stairbought
* Update BU tests
* Update error message
9 months ago
kosiakkatrina
8f5acc55ce
CLDC-3164 Change discounted ownership value to hard validation ( #2176 )
...
* Move soft validation to hard for 2024
* Update a date on a test
* Update validation message
* Deduplicate validations
9 months ago
kosiakkatrina
b791d7be85
CLDC-3165 Update shared ownership validation ( #2184 )
...
* Do not trigger soft validation for 2024
* Add hard shared ownership deposit validation
* Remove irrelevant test
* Update validation message content
9 months ago
natdeanlewissoftwire
7dcbfb1341
CLDC-3228 Age validation update ( #2197 )
...
* feat: unrelated nil safe notifications tweak
* feat: update under 16 validations and copy
* feat: include person_num in error text
* feaT: update copy for relat
* feat: update tests
9 months ago
kosiakkatrina
b50f7899f6
Only trigger savings validation if mortgage used ( #2180 )
9 months ago
Rachael Booth
c5e3680b27
CLDC-3110: Base income validations on all tenants for lettings logs ( #2136 )
...
* CLDC-3110: Update hard max income for ecstat 8 to 2000
* CLDC-3110: Update hard max income for ecstat 10 to match new highest max
* CLDC-3110: Base income validations on all tenants for lettings logs
* CLDC-3110: Tweak validation messages
* CLDC-3110: Use prefer not to say values when tenant ecstat is not specified
9 months ago
kosiakkatrina
38ecb50276
CLDC-3127 Amend renewal question wording for 2024 ( #2147 )
...
* Amend renewal question wording for 2024
* refactor and fix page tests
* Disable collection year validations on review apps
* Fix flaky test
10 months ago
kosiakkatrina
3eacbcb0d8
CLDC-2951 Display postcodes error on ownership type ( #2111 )
...
* Display postcodes error on ownership type
* Add error to uprn
10 months ago
natdeanlewissoftwire
7a3c79d41d
CLDC-2996 Add correct availability details to merged schemes and locations ( #2081 )
...
* feat: use latest merge date/start date where available for availability text for schemes and locations
* feat: add tests for availability text
* feat: use startdate instead to track merges on schemes and locations
* feat: test startdates are set correctly on merged schemes and locations
* feat: add migration file
* feat: add scheme activating soon tests
* feat: add activating soon to scheme filtering
* feat: update scheme active_status
* feat: update tests
* refactor: lint
* feat: move merge orgs validation after orgs validation
* feat: update schema
11 months ago
kosiakkatrina
8251d72d8e
CLDC-2969 Move dpo user when merging ( #2056 )
...
* wip
* skip_dpo_validation when merging orgs
11 months ago
kosiakkatrina
4923b08bdd
CLDC-2997 Validate organisation before schemes ( #2057 )
...
* Validate organisation before schemes
* Remove redundant validation
11 months ago
kosiakkatrina
8f1b3f39e0
CLDC-3000 Display available from date in the error message ( #2058 )
...
* Display available from date in the error message
* update created at in tests
11 months ago
kosiakkatrina
e778771690
Add frequency to ecstat error ( #2046 )
12 months ago
natdeanlewissoftwire
283917bb83
Revert "CLDC-3031 Put merge validations behind feature toggle ( #2029 )" ( #2041 )
...
This reverts commit d30ade5e84
.
12 months ago
natdeanlewissoftwire
d30ade5e84
CLDC-3031 Put merge validations behind feature toggle ( #2029 )
...
* feat: put merge validations behind feature toggle
* feat: put merge validations behind feature toggle for sales
* refactor: lint
12 months ago
kosiakkatrina
126c47be6b
CLDC-2891 Allow refuge to be selected with internal transfer ( #2001 )
...
* Allow refuge to be selected with internal transfer
* Update comment
1 year ago
kosiakkatrina
b6ad02bca0
Validate using correct deactivation periods ( #2009 )
1 year ago
natdeanlewissoftwire
5e9f01db7d
CLDC-2805 Updates charge hard validation error messages ( #1995 )
...
* feat: make error message dynamic
* recator: lint
* feat: update tests
* feat: update tests
* refactor: lint
* feat: simplify method call in validations
* Update error message
---------
Co-authored-by: Kat <katrina@kosiak.co.uk>
1 year ago
kosiakkatrina
4de6003f5f
CLCD-2836 Use available from date for absorbing organisations validations ( #2000 )
...
* Use available from date for absorbing organisations validations
* Update sales validations
* typo
* Display correct date in the error message
1 year ago
kosiakkatrina
c897d600f5
Add layear and prevloc validation for 2023 ( #1965 )
1 year ago
kosiakkatrina
f4bb3e2610
Correctly map equity ranges ( #1964 )
1 year ago
natdeanlewissoftwire
647f9fbc59
Update internal transfer validation ( #1924 )
...
* feat: remove residential care home from internal transfer validation
* feat: update tests
* feat: update tests
* feat: update tests
1 year ago
kosiakkatrina
2f986fe111
CLDC-2795 Update charges validations ( #1912 )
...
* Update charges hard maximums
* Add charges value check fields
* Add 2023 charges value check pages and questions
* add scharge_over_soft_max method
* add LA cases
* Add pscharge_over_soft_max method
* Add supcharg_over_soft_max method
* Add pages to subsections (2023) and update content
* Confirm soft validations when importing
* csv tests
* Fix copy for 2022
1 year ago
natdeanlewissoftwire
213a4bf229
Blank invalid combined income and proplen values on migration ( #1907 )
...
* feat: clear invalid combine incomes
* feat: clear out of range proplen values
1 year ago
natdeanlewissoftwire
e5e6e1e21a
Enforce offered as integer ( #1897 )
...
* feat: ensure offered is an integer (decimal 0 was triggering validation errors)
* feat: allow decimals but clear when not integer equivalent as per new requirements
1 year ago
kosiakkatrina
9ae32ac266
remove validate_years_living_in_property_before_purchase ( #1878 )
1 year ago
kosiakkatrina
3b53e3e696
Remove homelessness validation ( #1877 )
1 year ago
kosiakkatrina
fae4b04cef
CLDC-2662 Add incomplete locations validation ( #1867 )
...
* Add incomplete location validation
* Clear incomplete locations on import
* tests
* Update copy
1 year ago
kosiakkatrina
1ffe8a4b8b
CLDC-2109 Add merged org validations to sales log ( #1826 )
...
* Add merged orgs sale dat validations
* Add organisation validation to sales log
* Adjust dates
* Update error message
1 year ago
kosiakkatrina
325540f70e
CLDC 2107 Add merged org/startdate validations ( #1824 )
...
* Add start date validations for merging orgs
* Add errors for merged orgs
* tests
* don't run validations unless the date exists
* Adjust the dates in validations
1 year ago
kosiakkatrina
bd300cae04
CLDC-2592 Clear import fields ( #1810 )
...
* Clear brent below absolute minimum
* Clear beds over the max for the number of tenants
1 year ago
natdeanlewissoftwire
ed33eec44a
CLDC-2571 Add absorbed org relationship ( #1789 )
...
* feat: add absorbing_organisation relationship to orgs
* feat: wip absorbed orgs visibility work
* feat: add absorbed orgs to filter options, make unique
* refactor: simplify
* feat: add test
* feat: update schema
* feat: add absorbed org to user relations
* feat: be more explicit about org scopes
* feat: update log org question selections
* feat: add org question to sales for all users (to be specified again in later ticket)
* feat: revert previous and handle in separate ticket
* feat: update validation and tests
* feat: reload org to populate associations
* feat: check for holding own stock in stock owner question, add schema
* feat: add/update org filter tests
* feat: update test
* feat: update created by id pages
1 year ago
kosiakkatrina
1fbd3c90dd
Update allowed lead tenants age in foster care validation ( #1786 )
1 year ago
natdeanlewissoftwire
22b31dce6a
CLDC-1770 Activating soon locations validations ( #1739 )
...
* feat: update locations and schemes displayed
* feat: update tenancy/scheme/location validations
* feat: replace case block with hash lookpu
* feat: update tests
* feat: add tests for displayed_answer_options
* feat: update validation messages
* feat: update validation messages
* feat: update tests
* feat: tech review updates
1 year ago
Jack
a1095f9526
CLDC-2490 Tidy up DSA model ( #1766 )
...
* Remove new_data_protection_confirmation? flag
* Update schema
- drop index
- add org and user data to dpc table
* Persist org and user data at import
* Do not show invalid emails
* Persist user and org data while signing agreement
* Add migration to persist org and user data on DPC
* Rebase fix
* fix typo
1 year ago
kosiakkatrina
f0a93e0855
CLDC-2459 Update end date for new logs creation ( #1716 )
...
* Renme end_date to new_logs_end_date
* Display change buttons in CYA if the collection is still open for editing
* Allow navigating to question if the collection is still open for editing
* Allow logs to be edited if the date is before edit end date
* Update sales validation to allow editing existing logs
* update tests
* Update edit_end_date
* Update some test wording
* Update new logs end date
* tests
1 year ago
Aaron Spencer
2dcafc8ecd
CLDC 2454: add answer option to q90 depending on q78 ( #1717 )
...
* CDLC-2545: Wip
* CLDC-2545: answers dependant on staircase ownership, tests written.
* CLDC-2545: linting
* CLDC-2545: Mortgage used validation condition
* CLDC-2545: lint and type removal.
* CLDC-2454: lint and type removal.
1 year ago
natdeanlewissoftwire
759dccda31
CLDC-2455 Add soft validation on percentage owned ( #1722 )
...
* feat: add soft validation page with dynamic copy
* feat: add migration
* feat: add specs
* feat: update test
1 year ago
Jack
7279587491
CLDC-2321 Add Data Protection Confirmation validation on log change ( #1694 )
...
* Add Data Protection Confirmation on log change
* Validate managing and owning org DPC presence
* Add missing translation
1 year ago
natdeanlewissoftwire
258e7cc81e
CLDC-1908 Update lettings compound validation ( #1682 )
...
* feat: add second half of age/relat/ecstat validation to lettings logs
* feat: add tests
* feat: add ecstat refused option
* feat: update tests
* refactor: typo
* feat: add extra test, typos
1 year ago
kosiakkatrina
d3d457d501
CLDC-2385 Increase soft maximum for care home charges ( #1651 )
...
* Increase soft maximum for carehome charges
* import test
1 year ago