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  
				
					
						
							
							
								 
						
							
							
								e6f1672fe4 
								
							
								 
							
						 
						
							
							
								
								Add sheltered accom field ( #568 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								a6d9370972 
								
							
								 
							
						 
						
							
							
								
								Map joint tenancy field ( #565 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								501fcd91e0 
								
							
								 
							
						 
						
							
							
								
								Inactive users ( #564 )  
							
							... 
							
							
 
							
							* Allow users to be marked as inactive
* Import inactive users 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								233f54997b 
								
							
								 
							
						 
						
							
							
								
								Allow illness type to be refused ( #553 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								4c4f52f021 
								
							
								 
							
						 
						
							
							
								
								Save correct la if postcode is invalid ( #551 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							3 years ago  
				
					
						
							
							
								
								baarkerlounger 
							
						 
						
							
							
								0383e27821 
								
							
								 
							
						 
						
							
							
								
								Enable dynamically dependent answer options  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								f4401869de 
								
							
								 
							
						 
						
							
							
								
								Age known believe import fixes ( #545 )  
							
							... 
							
							
 
							
							* amend fixture to make test fail
* fix failing test
* lint fixes 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								1637661314 
								
							
								 
							
						 
						
							
							
								
								don't route to hbrentshortfall if hb is 7 ( #544 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								
								baarkerlounger 
							
						 
						
							
							
								21eac97e31 
								
							
								 
							
						 
						
							
							
								
								Fix complete case log fixture  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								df3b8371ef 
								
							
								 
							
						 
						
							
							
								
								map tshortfall value ( #543 )  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								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> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								d762f4ac05 
								
							
								 
							
						 
						
							
							
								
								derive if ethnic has been refused from ethnic group  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								06bb64d20e 
								
									
								
							
								 
							
						 
						
							
							
								
								fixed total charge bug ( #529 )  
							
							... 
							
							
 
							
							* fixed total charge bug, when maximum value is exceeded the total will now continue to work
* Remove binding.pry left accidentally 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e70627bcf4 
								
									
								
							
								 
							
						 
						
							
							
								
								make previous_la_known dynamically optional ( #527 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								
								baarkerlounger 
							
						 
						
							
							
								bf4733679a 
								
							
								 
							
						 
						
							
							
								
								Reset checkbox answer option answers when the question has been invalidated by other answers  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2643e707ae 
								
									
								
							
								 
							
						 
						
							
							
								
								Update hbrentshortfall values and import corrections ( #514 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								beedcf2d56 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix errors during import process ( #507 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								06adfbaf6d 
								
									
								
							
								 
							
						 
						
							
							
								
								remove la_known ( #505 )  
							
							... 
							
							
 
							
							* remove la_known
* lint 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								bf972143a1 
								
									
								
							
								 
							
						 
						
							
							
								
								Import fixes and add update capabilities ( #500 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								
								baarkerlounger 
							
						 
						
							
							
								e212612ee6 
								
							
								 
							
						 
						
							
							
								
								Add table  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								
								baarkerlounger 
							
						 
						
							
							
								f8d16bf098 
								
							
								 
							
						 
						
							
							
								
								Import data  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								
								baarkerlounger 
							
						 
						
							
							
								80363d3c19 
								
							
								 
							
						 
						
							
							
								
								Add spec fixture  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b8d60a86ea 
								
									
								
							
								 
							
						 
						
							
							
								
								Import changes ( #470 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								33aa4a226f 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix check answers bugs ( #474 )  
							
							... 
							
							
 
							
							* fix issues with check answers
* lint fixes 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2b9cb6f257 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix financial validation ( #465 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								00ebde0401 
								
									
								
							
								 
							
						 
						
							
							
								
								CLDC-1074: Derive landlord value from owning organisation provider type ( #447 )  
							
							... 
							
							
 
							
							* Derive landlord from owning org provider type
* Use valid charge values 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9dc7e574bf 
								
									
								
							
								 
							
						 
						
							
							
								
								CLDC-1116: Don't route to ecstat if age is under 16 ( #446 )  
							
							... 
							
							
 
							
							* Ecstat dependent on age
* Derive ecstat if age is under 16
* Test value label derivation
* Ensure derived option is still shown in check answers 
							
						 
						
							4 years ago  
				
					
						
							
							
								
								baarkerlounger 
							
						 
						
							
							
								f1a0931b9f 
								
							
								 
							
						 
						
							
							
								
								Time bombing your own specs is a bad time  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								be1417307c 
								
									
								
							
								 
							
						 
						
							
							
								
								CLDC-649: Export provider type from owning organisation ( #436 )  
							
							... 
							
							
 
							
							* Export provider type from owning org
* Export DB value rather than string 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2776c061b6 
								
									
								
							
								 
							
						 
						
							
							
								
								CLDC-1063: Key Contacts ( #435 )  
							
							... 
							
							
 
							
							* Add data field
* Add field to views
* Only data coordinators can change role, dpo, keycontact
* Import key contact field
* Rubocop
* Import data accessors
* Handle non-unqiue email imports 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								c43e730254 
								
									
								
							
								 
							
						 
						
							
							
								
								Cldc 657 full postcodes ( #421 )  
							
							... 
							
							
 
							
							* Rename full postcode columns
* Normalise the postcodes
* Fix test 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								41d6822606 
								
									
								
							
								 
							
						 
						
							
							
								
								Data protection confirmations import ( #412 )  
							
							... 
							
							
 
							
							* Failing test
* Import
* Cop fixes
* Preserve created at date
* Rubocop
* Time zones are hard 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								a23ddc6070 
								
									
								
							
								 
							
						 
						
							
							
								
								CLDC-651 refused derived variable ( #396 )  
							
							... 
							
							
 
							
							* refused derived variable
* add helper methods
* update schema
* fix failing spec 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e850ff06fd 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix invalid page clearing ( #416 )  
							
							... 
							
							
 
							
							* Need to check text/numeric questions separately
* add a test for not clearing text fields
Co-authored-by: baarkerlounger <db@slothlife.xyz> 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								3882461017 
								
									
								
							
								 
							
						 
						
							
							
								
								add wchchrg derived variable ( #413 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								994f45fb96 
								
									
								
							
								 
							
						 
						
							
							
								
								add vday, vmonth and vyear fields ( #403 )  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								719f43de2e 
								
									
								
							
								 
							
						 
						
							
							
								
								CLDC-656 housing needs derived variable ( #398 )  
							
							... 
							
							
 
							
							* add housing needs derived variable
* increase clarity 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								e56830cb9c 
								
									
								
							
								 
							
						 
						
							
							
								
								CLDC-815-long-term-vision-validation ( #387 )  
							
							... 
							
							
 
							
							* add validation for condition_effects
* fixes
* review changes
* lint fixes
* update wrapper method 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								bace6dd695 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix conditional field clearing condition ( #389 )  
							
							
 
							
						 
						
							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