This repository has been archived by the owner on Nov 29, 2024. It is now read-only.
generated from communitiesuk/funding-service-design-TEMPLATE
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Created new configs file for COF25-EOI
- Loading branch information
1 parent
b69c9b6
commit 1e5f322
Showing
3 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
46 changes: 46 additions & 0 deletions
46
config/key_report_mappings/cof25_eoi_key_report_mapping.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
from config.key_report_mappings.model import extract_postcode | ||
from config.key_report_mappings.model import FormMappingItem | ||
from config.key_report_mappings.model import KeyReportMapping | ||
|
||
COF25_EOI_KEY_REPORT_MAPPING = KeyReportMapping( | ||
round_id="9104d809-0fb0-4144-b514-55e81cc2b6fa", | ||
mapping=[ | ||
FormMappingItem( | ||
form_name="organisation-details-25", | ||
form_name_cy="manylion-y-sefydliad", | ||
key="SMRWjl", | ||
return_field="organisation_name", | ||
), | ||
FormMappingItem( | ||
form_name="development-support-provider-25", | ||
form_name_cy="darparwr-cymorth-datblygu", | ||
key="xWnVof", | ||
return_field="lead_contact_name", | ||
), | ||
FormMappingItem( | ||
form_name="about-your-asset-25", | ||
form_name_cy="ynglyn-ach-ased", | ||
key="Ihjjyi", | ||
return_field="asset_type", | ||
), | ||
FormMappingItem( | ||
form_name="about-your-asset-25", | ||
form_name_cy="ynglyn-ach-ased", | ||
key="dnqIdW", | ||
return_field="geography", | ||
formatter=extract_postcode, | ||
), | ||
FormMappingItem( | ||
form_name="your-funding-request-25", | ||
form_name_cy="eich-cais-am-gyllid", | ||
key="fZAMFv", | ||
return_field="capital", | ||
), | ||
FormMappingItem( | ||
form_name="development-support-provider-25", | ||
form_name_cy="darparwr-cymorth-datblygu", | ||
key="NQoGIm", | ||
return_field="applicant_email", | ||
), | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters