Kat
e7402df5a3
Fix null error setting and add builtype
3 years ago
Kat
d9f38f5f81
Add unittype question
3 years ago
Kat
a687fd0a55
Refactor error mappings for row parser
3 years ago
Phil Lee
427415e3b0
add postcode validation
3 years ago
Phil Lee
028d235c4d
csv upload validates first form section
3 years ago
Phil Lee
992814ea25
row parser has access to bulk upload
3 years ago
Phil Lee
969d60db6e
validate null for startdate
3 years ago
Phil Lee
4e86f4e6f0
actually load forms when toggling between forms
3 years ago
Phil Lee
cc5b04cb92
validate nulls based on form question
3 years ago
Phil Lee
a62cc6e96e
convert field_mapping to array of hashes
3 years ago
Phil Lee
d915265f76
pending tests for field_4
3 years ago
Phil Lee
ed198c6fcd
add validation for field_4
3 years ago
Phil Lee
c0a4c04550
add validations for field_1
3 years ago
Phil Lee
737702c1af
move validation from parser to model
3 years ago
Phil Lee
fed071ac1e
remove superfluous private method
3 years ago
Phil Lee
6cdd852f1b
populate purchaser_code for bulk upload errors
...
- when log type is sales
3 years ago
Phil Lee
7484c48a27
bulk upload error component renders purchaser code
...
- when a sales log
3 years ago
Phil Lee
d720096010
change migration to add purchase_code to errors
3 years ago
Phil Lee
204201924d
able to parse sales bulk uploads
3 years ago
Phil Lee
395da5fe5b
shim in sales validator
3 years ago
Phil Lee
8faae83bc2
update error message with something meaningful
3 years ago
Phil Lee
dda7f71e1d
populate errors with cell, row + metadata
3 years ago
Phil Lee
c7c4f2bf62
delete bulk upload from disk after processing
3 years ago
Phil Lee
a8407c1b5a
remove rubocop violation
3 years ago
Phil Lee
f944487f6a
use test active job queue adapter for test env
3 years ago
Phil Lee
5e4f037840
use inline active job queue_adapter for dev
3 years ago
Phil Lee
df7c7c5955
fix test
3 years ago
Phil Lee
e6084f6c2b
use local disk storage for dev file upload
3 years ago
Phil Lee
6ef73b33b7
add job to process bulk uploads
3 years ago
Phil Lee
660cda289f
improve namespacing of classes
3 years ago
Phil Lee
b69b4c30c2
use local disk for bulk upload for dev env
...
- this saves the need to connect to S3 to play with bulk upload in dev
environment
3 years ago
Phil Lee
588beefae2
bulk upload error shows correct question
...
- depending on log type it will show relevant question for the field
concerned
3 years ago
Phil Lee
dc73d5e19a
appease linter
3 years ago
Phil Lee
e96d364a1a
add bulk upload sales questions mapping
3 years ago
Phil Lee
4351729477
call service correctly in test
3 years ago
Phil Lee
76948fd4bd
fix linting
3 years ago
Phil Lee
e45492960d
scope lettings and sales bulk upload results
3 years ago
Phil Lee
c9bd147843
able to view bulk upload sales results
3 years ago
Phil Lee
6fd3c09937
group bulk upload errors by row on results
3 years ago
Phil Lee
95239c2cbe
coverage for bulk upload filename on results
3 years ago
Phil Lee
9e1be87813
add error count to bulk upload results
3 years ago
Phil Lee
cfb3fddaaf
able to view lettings bulk upload errors
3 years ago
Phil Lee
6fecb2e5f8
lockdown bulk upload routes
3 years ago
Phil Lee
9de00a805c
validate radio values are possible
3 years ago
Jack
143ff51acf
[CLDC-1738] use OPTIONAL_FIELDS in optional_fields ( #1151 )
3 years ago
kosiakkatrina
3bdfd6db73
Refactor details known to reuse pages and questions ( #1099 )
...
* Refactor details known to reuse pages and questions
* Refactor page_depends_on
* Use field_for_person
* feat: tweak person_known behaviour to only show for people 2-4, and ask person_known regardless of answer to previous person_known questions. Also remove redundant personx_known files
* test: update tests
* feat: add person 1 known page back in
Co-authored-by: natdeanlewissoftwire <nat.dean-lewis@softwire.com>
3 years ago
natdeanlewissoftwire
7e950564ae
feat: respond to PR comments ( #1138 )
...
* feat: respond to PR comments
* test: update tests
3 years ago
kosiakkatrina
f0ff0fec2f
Cldc 1543 mortgage used ( #1139 )
...
* Add sale_information section
* Switch the order of sales log sections
* Add mortgageused column
* Add mortgageused page and question
* Add mortgageused page to subsections
* derive deposit
* tests
3 years ago
kosiakkatrina
316276fe15
Cldc 1517 housing benefits ( #1096 )
...
* Add housing benefits column
* Add housing benefits questions and pages
* Add page to the section
* Remove card number and fix tests
* rebase tests
3 years ago
kosiakkatrina
09e4a55bbb
Cldc 855 savings validation ( #1102 )
...
* Add savings soft validation page and question
* Add savings saof validation page to the income subsection
* add savings_over_soft_max? soft validation
* Add deposit value check soft validation page and question
* Add deposit soft validation page to the income and benefits subsection
* Add deposit, savings and deposit value check fields to the db
* Add deposit over soft max validation
* Add the value check to the new sections
3 years ago