natdeanlewissoftwire
f758d598c4
CLDC-1917 Add Startdate Validation ( #1378 )
...
* feat: add validation with feature flag, typo fix and update tests
* feat: flip feature toggle
* feat: update feature toggle name
* feat: fix form handler inequality
* refactor: linting
* refactor: use between in form handler
* feat: remove feature toggle
* feat: add dynamic date to lettings log factory
* feat: fix log_summary_component_spec.rb tests
* feat: update lettings_log.rb and start fixing lettings_log_spec.rb
* feat: fix more tests
* feat: fix more tests
* feat: fix lettings log import service
* refactor: linting
* feat: fix checkboxes_spec.rb
* feat: fix interruption_screen_helper_spec.rb
* feat: fix check_answers_helper_spec.rb
* feat: fix page_routing_spec.rb
* feat: fix lettings_logs_field_import_service_spec.rb
* feat: fix lettings_log_spec.rb
* feat: fix question_spec.rb
* feat: fix lettings_logs_controller_spec.rb
* feat: fix check_answers_page_lettings_logs_spec.rb
* feat: fix tenancy_validations_spec.rb
* feat: fix validations_spec.rb
* feat: fix accessible_autocomplete_spec.rb
* feat: fix form_navigation_spec.rb
* feat: fix soft_validations_spec.rb
* feat: fix lettings_log_export_service_spec.rb
* feat: fix saving_data_spec.rb
* feat: fix page_spec.rb
* feat: fix form_controller_spec.rb
* refactor: linting
* feat: fix subsection_spec.rb
* feat: fix lettings_log_spec.rb
* feat: fix financial_validations_spec.rb
* feat: fix tasklist_page_spec.rb
* feat: fix conditional_questions_spec.rb
* feat: fix form_page_error_helper_spec.rb and log_summary_component_spec.rb
* feat: fix lettings_log_csv_service_spec.rb
* feat: fix tasklist_helper_spec.rb
* refactor: linting
* refactor: linting
* feat: fix lettings_log_spec.rb
* refactor: linting
* refactor: replace financial year with collection yaer
* feat: respond to PR comments pt. 1
* feat: respond to PR comments pt. 2
2 years ago
kosiakkatrina
297ba50e78
Validate the user belongs to either the managing or owning organisation ( #1055 )
...
* Validate that the user belongs to either the managing or owning organisation
* do not reset created_by and remove user_organisation_chosen?
* Do not default managing organisation to owning organisation
* validate user belongs to organisation
* update tests to specify created_by
* clear create_by for support users
* refactor
* typo
* rebase lint
* Add `updated_by` to logs to track who was the last person to update a log
- Reset `created_by` automatically when a form is updated and the owner does not belong to the managing or owning organisation
* move reset_invalidated_dependent_fields!, update schema file and fix tests
Co-authored-by: James Rose <james@jbpr.net>
2 years ago
kosiakkatrina
409a24b333
Cldc 1609 schemes and location validations ( #1022 )
...
* Add base errors for start date
* Add validation to location
* add validation to scheme id
* update error messages
* wip
* return dates for errors
* choose newest reactivation date
* Add validation to scheme_id
* Fix validations in tests
* add diferent error message
* fix some edge dates and add activating_soon schemes error
* fix error message
* move status_during_startdate into validations files
* rebase
* refactor
* rename method
* remove reverse and update ordering
* Extract scheme validation method
* Refactor validations
* Refactor status validations
2 years ago
Stéphane Meny
b8d60a86ea
Import changes ( #470 )
3 years ago
Dushan
8d861f4d20
CLDC-812 rent type validation ( #391 )
...
* intermediate_rent_product_name validation
* add wrapper method
* include in case log
* review changes
3 years ago