Dushan
d338d277bf
CLDC-456-start-date-validations ( #683 )
...
* start date validations
* remove condition
* move code
* lint fixes
* updates
* content update
* remove unneeded validations
* validations
* review changes
* Update app/models/validations/date_validations.rb
Co-authored-by: baarkerlounger <5101747+baarkerlounger@users.noreply.github.com>
* update error messages
* lint fixes
* fix specs
Co-authored-by: baarkerlounger <5101747+baarkerlounger@users.noreply.github.com>
2 years ago
Stéphane Meny
b8d60a86ea
Import changes ( #470 )
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
0f1f03aa8f
Refactor enums ( #321 )
...
* Remove enums
* Add some convenience methods to make validations more readable
* Gender chars instead of ints
* Remove incorrect API doc info for now
* More convenience methods
* Rename label from value method
* Wrapper hbrentshortfall
* Please the cop
3 years ago
baarkerlounger
ac52864a03
Start date validation ( #299 )
...
* Start date validation
* Derive collection windows from form definitions
3 years ago
Stéphane Meny
7a9ad40a43
CLDC-913: Export validation messages into i18n language file ( #218 )
3 years ago
Paul Robert Lloyd
3ddbf9d8ac
Content and design audit 1
3 years ago
Kat
53ebdc586e
Update validation error message content
3 years ago
Kat
752a7c8f13
Fix a typo
3 years ago
baarkerlounger
96d9e948a3
Move model modules to models ( #137 )
3 years ago
Dushan
9f332bcecd
CLDC-494 key dates validation ( #115 )
...
* Add major repairs dates validation
* Add more key dates validations
* Add remaining validations
Co-authored-by: Dushan <dushan-madetech@users.noreply.github.com>
* Move validation tests from feature to model spec
Co-authored-by: Dushan <dushan-madetech@users.noreply.github.com>
* Fix dates for validation in complete case log fixture
Co-authored-by: Dushan <dushan-madetech@users.noreply.github.com>
* schema fix
* fix all tests 🙌
* lint fixes 😎
* recactor out a conditional method
Co-authored-by: Kat <katrina@madetech.com>
Co-authored-by: Dushan <dushan-madetech@users.noreply.github.com>
3 years ago
Kat
04b823ff77
Fix validation name
3 years ago
kosiakkatrina
26e423aaf7
CLDC-700: date validation ( #97 )
...
* Add date validation for mrc date
* validate the rest of the date fields
3 years ago