fb64badfd4 
								
									
								
							
								 
							
						 
						
							
							
								
								Add care home charges minimum validation ( #700 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								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> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								bf8587e9fb 
								
									
								
							
								 
							
						 
						
							
							
								
								Add care home charges validation ( #682 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								4fa32a1619 
								
									
								
							
								 
							
						 
						
							
							
								
								CLDC-1304: Export changes needed by CDS ( #650 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								4d96381dd7 
								
									
								
							
								 
							
						 
						
							
							
								
								CLDC-1285: Setting pregnancy to yes is allowed if a tenant's age is unknown ( #638 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								d406acd136 
								
									
								
							
								 
							
						 
						
							
							
								
								Remove organisation LAs since validation is no longer required ( #637 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								88fec8e5ab 
								
							
								 
							
						 
						
							
							
								
								Cldc 1223 pregnancy soft validations ( #602 )  
							
							... 
							
							
 
							
							* update hard validation limits for pregnancy age, remove hard validation if there are no females at all
* Add soft validations for pregnancy
* make the error message consistent
* Only check the values for the members with details known in the household
* Show interruption screen when resident details are updated
* Route back to check answers after an interruption screen and back to previous page if no is selected on the interruption screen
Co-authored-by: baarkerlounger  <baarkerlounger@users.noreply.github.com>
* update validation messages
* fix a test
* fix a typo
Co-authored-by: baarkerlounger  <baarkerlounger@users.noreply.github.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								
								baarkerlounger 
							
						 
						
							
							
								490ebee4f6 
								
							
								 
							
						 
						
							
							
								
								Enable better other field validation labels  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								116a1b12f4 
								
							
								 
							
						 
						
							
							
								
								CLDC-1217: Retirement soft validation ( #586 )  
							
							... 
							
							
 
							
							* Don't trigger soft validation if tenant prefers not to say
* Update gender content
* Fix spec description 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								9f738b53e5 
								
							
								 
							
						 
						
							
							
								
								CLDC-1224: Tenancy type and tenancy length ( #578 )  
							
							... 
							
							
 
							
							* Fix value mapping for tenancy type 22/23
* Update secure helper
* Null safe
* Spec update
* Update mandatory
* Use helper 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								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> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								a06a5f5896 
								
							
								 
							
						 
						
							
							
								
								Referral can be internal for homeless ( #561 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								26c0107779 
								
							
								 
							
						 
						
							
							
								
								add check to prevent error on hhmemb if joint is nil ( #560 )  
							
							... 
							
							
 
							
							* add failing spec
* add check to prevent error on hhmemb if joint is nil 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								69bdfb2e5b 
								
							
								 
							
						 
						
							
							
								
								CLDC-744-joint-tenancy-validation ( #549 )  
							
							... 
							
							
 
							
							* add joint tenancy validation
* fix validation and spec
* improvements
* updates
* lint fixes
* fix typo
* change message displayed on hhmemb page 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								780f0892c4 
								
							
								 
							
						 
						
							
							
								
								Fix other reason for leaving last settled validation  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e2b36ddae5 
								
							
								 
							
						 
						
							
							
								
								Include full stops in hint text  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e51fede8e2 
								
							
								 
							
						 
						
							
							
								
								Use smart quotes  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2643e707ae 
								
									
								
							
								 
							
						 
						
							
							
								
								Update hbrentshortfall values and import corrections ( #514 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								06adfbaf6d 
								
									
								
							
								 
							
						 
						
							
							
								
								remove la_known ( #505 )  
							
							... 
							
							
 
							
							* remove la_known
* lint 
							
						 
						
							4 years ago  
				
					
						
							
							
								
								baarkerlounger 
							
						 
						
							
							
								13cbb13d8c 
								
							
								 
							
						 
						
							
							
								
								Postcode format  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								
								baarkerlounger 
							
						 
						
							
							
								f4de4e35a3 
								
							
								 
							
						 
						
							
							
								
								Add error to postcode for LA validation  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							4 years ago  
				
					
						
							
							
								
								baarkerlounger 
							
						 
						
							
							
								e6e2c00abd 
								
							
								 
							
						 
						
							
							
								
								Add validation  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								
								baarkerlounger 
							
						 
						
							
							
								4ef43c8738 
								
							
								 
							
						 
						
							
							
								
								Add validation  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								
								baarkerlounger 
							
						 
						
							
							
								829e199478 
								
							
								 
							
						 
						
							
							
								
								Move LA validation to LA validation file  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b8d60a86ea 
								
									
								
							
								 
							
						 
						
							
							
								
								Import changes ( #470 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2b9cb6f257 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix financial validation ( #465 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								258626d5a9 
								
									
								
							
								 
							
						 
						
							
							
								
								Add local housing authority referral validation ( #456 )  
							
							... 
							
							
 
							
							* Add local housing authority referral validation
* Update validation message 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								0d9520daed 
								
									
								
							
								 
							
						 
						
							
							
								
								Cldc 489 referral validation ( #427 )  
							
							... 
							
							
 
							
							* Only add errors if charges exist
* Add referral validations
* Switch order in if statement
* rubocop
* fix test 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c43e730254 
								
									
								
							
								 
							
						 
						
							
							
								
								Cldc 657 full postcodes ( #421 )  
							
							... 
							
							
 
							
							* Rename full postcode columns
* Normalise the postcodes
* Fix test 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								dec350e6f1 
								
									
								
							
								 
							
						 
						
							
							
								
								Relat data type ( #423 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								612b29122b 
								
									
								
							
								 
							
						 
						
							
							
								
								Cldc 491 rent and charges validations ( #411 )  
							
							... 
							
							
 
							
							* Add rent ranges table and basic hard range validation
Co-authored-by: baarkerlounger  <baarkerlounger@users.noreply.github.com>
* Add import rent ranges rake task
Co-authored-by: baarkerlounger  <baarkerlounger@users.noreply.github.com>
* Update the rent range validation to validate all related fields and check for the correct collection year
* Add ranges data
* add error messages
* Add readme step
* extract get collection year method
* rename method
* create instead of find and create laRentRange record
Co-authored-by: baarkerlounger  <baarkerlounger@users.noreply.github.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c2c49924a3 
								
									
								
							
								 
							
						 
						
							
							
								
								Cldc 491 rent and charges validations (part 1) ( #388 )  
							
							... 
							
							
 
							
							* move age validation tests to shared validation spec
* Add brent/tshortfall validation
* update period mappings
* Add scharge validation
* update num of weeks from period mapping
* fix test
* change period mappings in test
* Add tests for floats
* change error message content
* add supported housing scharge validation
* add other landlord validations
* refactor
* refactor validation and tests
* Add supcharg validations and refactor
* add total charge calculations
* move constants
* Fix tests and add missing validation messages 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8d861f4d20 
								
									
								
							
								 
							
						 
						
							
							
								
								CLDC-812 rent type validation ( #391 )  
							
							... 
							
							
 
							
							* intermediate_rent_product_name validation
* add wrapper method
* include in case log
* review changes 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e56830cb9c 
								
									
								
							
								 
							
						 
						
							
							
								
								CLDC-815-long-term-vision-validation ( #387 )  
							
							... 
							
							
 
							
							* add validation for condition_effects
* fixes
* review changes
* lint fixes
* update wrapper method 
							
						 
						
							4 years ago  
				
					
						
							
							
								
								baarkerlounger 
							
						 
						
							
							
								b9a5ac80c3 
								
							
								 
							
						 
						
							
							
								
								Update london postcode validation error message  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ea6122fe99 
								
									
								
							
								 
							
						 
						
							
							
								
								CLDC-663: Weekly total shortfall derived variable ( #385 )  
							
							... 
							
							
 
							
							* Update HB value mappings
* Derive Weekly shortfall value
* Reset weekly total shortfall when not applicable 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								02cb31947e 
								
									
								
							
								 
							
						 
						
							
							
								
								Compare as float ( #384 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7d3a31d4cd 
								
									
								
							
								 
							
						 
						
							
							
								
								CLDC-902: London location validation ( #378 )  
							
							... 
							
							
 
							
							* Also add london borough error message to postcode field
* Rubocop
* Test timeout rescue 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ac8d41b4ba 
								
									
								
							
								 
							
						 
						
							
							
								
								Add reason and referral validations ( #376 )  
							
							... 
							
							
 
							
							* Add reason and referral validations
* extract method 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								1cb5fd43b1 
								
									
								
							
								 
							
						 
						
							
							
								
								Add prevten validations ( #374 )  
							
							... 
							
							
 
							
							* Add prevten validations
* Fix indentation and extract a case_log method
* extract refuge method 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								3488d96713 
								
									
								
							
								 
							
						 
						
							
							
								
								remove tenancy/referral validations ( #375 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2ae94b01d7 
								
									
								
							
								 
							
						 
						
							
							
								
								Generically validate all numeric question min and maxes ( #362 )  
							
							... 
							
							
 
							
							* Generically validate all numeric question min and maxes
* Update error message 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								526553d2cd 
								
									
								
							
								 
							
						 
						
							
							
								
								Update more reasonpref values and error message content ( #346 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								87143fe13a 
								
									
								
							
								 
							
						 
						
							
							
								
								Change the numbering for the rest of homeless methods ( #342 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								34ae256695 
								
									
								
							
								 
							
						 
						
							
							
								
								Update validation and db mapping for homeless ( #341 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e7f57315a5 
								
									
								
							
								 
							
						 
						
							
							
								
								Update referral validation numbers and clearing of the answers ( #339 )  
							
							... 
							
							
 
							
							* Update referral validation numbers and clearing of the answers
* refactor is_internal_transfer 
							
						 
						
							4 years ago