natdeanlewissoftwire
65b1533aba
CLDC-1464 Add completion date validations ( #1232 )
...
* feat: add 22/23 year validation
* feat: wip commit
* feat: update i18n
* feat: add one year gap exchange/completion validations
* tests: add tests for new validations
* test: add setup validations tests
* test: update factory to pass saledate validation
* feat: update seeds
* feat: update tests to reflect sales logs shouldn't exist in new service before 2022
* feat: merge with main, improve date behaviour
* refactor: cleanup
* feat: update tests
* feat: enforce saledate not after 22/23 collection year end
2 years ago
natdeanlewissoftwire
2c01612937
feat: update copy
2 years ago
kosiakkatrina
2787815a9d
CLDC-878 Validate basic monthly rent ( #1228 )
...
* Validate basic monthly rent
* Make the test description clearer
2 years ago
kosiakkatrina
4659a3efcf
CLDC-1899 Add discounted ownership value validation ( #1229 )
...
* Add validation for discounted ownership value
* Fix tests
* Update validations to work with different routing
* update error message
2 years ago
natdeanlewissoftwire
d67e4710c8
CLDC-861 Add length of stay validations ( #1218 )
...
* faet: add validation and tests
* refactor: linting
* feat: respond to PR comments
2 years ago
Jack
56a9cb4bdf
CLDC-864 Add contract exchange date validations ( #1231 )
...
* CLDC-864 Add exdate validations
* Raise missing translation errors
* Fix missing translation
* Remove unused method
* Remove redundant check
2 years ago
kosiakkatrina
8ca9cbfb49
Change numeric validation to display prefixes in error message ( #1227 )
...
* change numeric validation
* Fix test, add delimiter and suffix to the numeric error mesage
2 years ago
kosiakkatrina
1bf8373a74
CLDC-867 Add previous bedrooms validations ( #1219 )
...
* Add previous property bedsit validations
* Add min and max for frombeds
2 years ago
Jack
d4e8e64c28
CLDC-863 Add practical completion/handover date validations ( #1198 )
...
* [CLDC-863] Add hard validation for hodate
* Add soft validation
2 years ago
Jack
45710ed661
CLDC 911 add hard validation to cash deposit ( #1186 )
...
* Tidy up test file
* Add hard validation to cash deposit
* Load validations
2 years ago