Phil Lee
21d1531aa1
add allocations system to bulk upload
4 years ago
Phil Lee
186b35c6df
add reasonable preferences to bulk upload
4 years ago
Phil Lee
3919e75f10
add previous postcode to bulk upload
4 years ago
Phil Lee
8ec19824f4
add homeless to bulk upload
4 years ago
Phil Lee
2d2059355b
add prevten to bulk upload
4 years ago
Phil Lee
0820088023
add reason to bulk upload
4 years ago
Phil Lee
06dcf3fc8a
add waityear to bulk upload
4 years ago
Phil Lee
9a3e356926
add layear to bulk upload
4 years ago
Phil Lee
00aaf670b0
add illness to bulk upload
4 years ago
Phil Lee
897a7c332f
add preg_occ to bulk upload
4 years ago
Phil Lee
ed8237fdf6
add military related fields to bulk upload
4 years ago
Phil Lee
fbfd2a21b9
add ecstat1 to bulk upload
4 years ago
Phil Lee
9384ad5c55
add national to bulk upload
4 years ago
Phil Lee
0d70751495
add ethnic_group and ethnic to bulk upload
4 years ago
Phil Lee
212d94d252
add sex1 to bulk upload
4 years ago
Phil Lee
b14b24921d
add ages to bulk upload
4 years ago
Kat
3636dba7c8
Add age1 and age1_known to bulk upload
4 years ago
Kat
3a410a8007
Add declaration to the bulk upload
4 years ago
Kat
c70e0f220b
Add tenancy for bulk upload
4 years ago
Kat
fcaec0aea9
Add startertenancy to the bulk upload
4 years ago
Kat
505324ccc1
Add joint to bulk upload
4 years ago
Kat
49705f8a86
Add beds to bulk upload
4 years ago
Kat
f4bc2e8609
add wchair to bulk upload
4 years ago
Kat
e7402df5a3
Fix null error setting and add builtype
4 years ago
Kat
d9f38f5f81
Add unittype question
4 years ago
Kat
a687fd0a55
Refactor error mappings for row parser
4 years ago
Phil Lee
427415e3b0
add postcode validation
4 years ago
Phil Lee
028d235c4d
csv upload validates first form section
4 years ago
Phil Lee
992814ea25
row parser has access to bulk upload
4 years ago
Phil Lee
969d60db6e
validate null for startdate
4 years ago
Phil Lee
cc5b04cb92
validate nulls based on form question
4 years ago
Phil Lee
a62cc6e96e
convert field_mapping to array of hashes
4 years ago
Phil Lee
d915265f76
pending tests for field_4
4 years ago
Phil Lee
ed198c6fcd
add validation for field_4
4 years ago
Phil Lee
c0a4c04550
add validations for field_1
4 years ago
Phil Lee
737702c1af
move validation from parser to model
4 years ago
Phil Lee
6cdd852f1b
populate purchaser_code for bulk upload errors
...
- when log type is sales
4 years ago
Phil Lee
204201924d
able to parse sales bulk uploads
4 years ago
Phil Lee
395da5fe5b
shim in sales validator
4 years ago
Phil Lee
c7c4f2bf62
delete bulk upload from disk after processing
4 years ago
Phil Lee
a8407c1b5a
remove rubocop violation
4 years ago
Phil Lee
df7c7c5955
fix test
4 years ago
Phil Lee
6ef73b33b7
add job to process bulk uploads
4 years ago
Phil Lee
660cda289f
improve namespacing of classes
4 years ago
Phil Lee
dc73d5e19a
appease linter
4 years ago
Phil Lee
4351729477
call service correctly in test
4 years ago
Phil Lee
76948fd4bd
fix linting
4 years ago
Phil Lee
cfb3fddaaf
able to view lettings bulk upload errors
4 years ago
Phil Lee
9de00a805c
validate radio values are possible
4 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>
4 years ago