Skip to content

Commit

Permalink
HOCS-6860: Update MPAM summary lists (#1019)
Browse files Browse the repository at this point in the history
* HOCS-6860: Update MPAM summary lists

* HOCS-6860: Remove debug text
  • Loading branch information
JosephRogerson authored Feb 7, 2024
1 parent a8f2fcb commit c8cc140
Show file tree
Hide file tree
Showing 2 changed files with 168 additions and 22 deletions.
114 changes: 94 additions & 20 deletions src/main/resources/config/details/stages/MPAM.json
Original file line number Diff line number Diff line change
Expand Up @@ -459,42 +459,42 @@
"conditionChoices": [
{
"choices": "MPAM_ENQUIRY_REASONS_PER",
"conditionPropertyName": "tempEnquirySubject",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Person_Specific"
},
{
"choices": "MPAM_ENQUIRY_REASONS_GUI",
"conditionPropertyName": "tempEnquirySubject",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Guidance_Policy"
},
{
"choices": "MPAM_ENQUIRY_REASONS_DOC",
"conditionPropertyName": "tempEnquirySubject",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Documentation"
},
{
"choices": "MPAM_ENQUIRY_REASONS_TECH",
"conditionPropertyName": "tempEnquirySubject",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Technical"
},
{
"choices": "MPAM_ENQUIRY_REASONS_DET",
"conditionPropertyName": "tempEnquirySubject",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Detention"
},
{
"choices": "MPAM_ENQUIRY_REASONS_HMPO",
"conditionPropertyName": "tempEnquirySubject",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "HMPO_Specific"
},
{
"choices": "MPAM_ENQUIRY_REASONS_OTHER",
"conditionPropertyName": "tempEnquirySubject",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Other"
}
]
},
"name": "tempEnquiryReason",
"name": "EnquiryReason",
"label": "Enquiry reason"
},
{
Expand Down Expand Up @@ -658,14 +658,6 @@
"name": "EnquirySubject",
"label": "Enquiry subject"
},
{
"component": "mapped-text",
"props": {
"choices": "MPAM_ENQUIRY_REASONS_ALL"
},
"name": "EnquiryReason",
"label": "Enquiry reason"
},
{
"component": "radio",
"props": {
Expand Down Expand Up @@ -963,17 +955,99 @@
"label": "Enquiry subject"
},
{
"component": "mapped-text",
"component": "dropdown",
"props": {
"choices": "MPAM_ENQUIRY_REASONS_ALL"
"conditionChoices": [
{
"choices": "MPAM_ENQUIRY_REASONS_PER",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Person_Specific"
},
{
"choices": "MPAM_ENQUIRY_REASONS_GUI",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Guidance_Policy"
},
{
"choices": "MPAM_ENQUIRY_REASONS_DOC",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Documentation"
},
{
"choices": "MPAM_ENQUIRY_REASONS_TECH",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Technical"
},
{
"choices": "MPAM_ENQUIRY_REASONS_DET",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Detention"
},
{
"choices": "MPAM_ENQUIRY_REASONS_HMPO",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "HMPO_Specific"
},
{
"choices": "MPAM_ENQUIRY_REASONS_OTHER",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Other"
}
]
},
"name": "EnquiryReason",
"label": "Enquiry reason"
},
{
"component": "mapped-text",
"component": "dropdown",
"props": {
"choices": "S_MPAM_BUS_UNITS_ALL"
"hideConditions": [
{
"conditionPropertyName": "BusArea",
"conditionPropertyValue": "TransferToOgd"
},
{
"conditionPropertyName": "BusArea",
"conditionPropertyValue": "TransferToOther"
}
],
"conditionChoices": [
{
"choices": "S_MPAM_BUS_UNITS_1",
"conditionPropertyName": "BusArea",
"conditionPropertyValue": "UKVI"
},
{
"choices": "S_MPAM_BUS_UNITS_2",
"conditionPropertyName": "BusArea",
"conditionPropertyValue": "BF"
},
{
"choices": "S_MPAM_BUS_UNITS_3",
"conditionPropertyName": "BusArea",
"conditionPropertyValue": "IE"
},
{
"choices": "S_MPAM_BUS_UNITS_4",
"conditionPropertyName": "BusArea",
"conditionPropertyValue": "EUSS"
},
{
"choices": "S_MPAM_BUS_UNITS_5",
"conditionPropertyName": "BusArea",
"conditionPropertyValue": "HMPO"
},
{
"choices": "S_MPAM_BUS_UNITS_6",
"conditionPropertyName": "BusArea",
"conditionPropertyValue": "Windrush"
},
{
"choices": "S_MPAM_BUS_UNITS_7",
"conditionPropertyName": "BusArea",
"conditionPropertyValue": "Coronavirus"
}
]
},
"name": "BusUnit",
"label": "Business unit"
Expand Down
76 changes: 74 additions & 2 deletions src/main/resources/config/summary/MPAM.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,84 @@
"label": "Enquiry subject"
},
{
"choices": "MPAM_ENQUIRY_REASONS_ALL",
"conditionChoices": [
{
"choices": "MPAM_ENQUIRY_REASONS_PER",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Person_Specific"
},
{
"choices": "MPAM_ENQUIRY_REASONS_GUI",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Guidance_Policy"
},
{
"choices": "MPAM_ENQUIRY_REASONS_DOC",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Documentation"
},
{
"choices": "MPAM_ENQUIRY_REASONS_TECH",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Technical"
},
{
"choices": "MPAM_ENQUIRY_REASONS_DET",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Detention"
},
{
"choices": "MPAM_ENQUIRY_REASONS_HMPO",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "HMPO_Specific"
},
{
"choices": "MPAM_ENQUIRY_REASONS_OTHER",
"conditionPropertyName": "EnquirySubject",
"conditionPropertyValue": "Other"
}
],
"name": "EnquiryReason",
"label": "Enquiry reason"
},
{
"choices": "S_MPAM_BUS_UNITS_ALL",
"conditionChoices": [
{
"choices": "S_MPAM_BUS_UNITS_1",
"conditionPropertyName": "BusArea",
"conditionPropertyValue": "UKVI"
},
{
"choices": "S_MPAM_BUS_UNITS_2",
"conditionPropertyName": "BusArea",
"conditionPropertyValue": "BF"
},
{
"choices": "S_MPAM_BUS_UNITS_3",
"conditionPropertyName": "BusArea",
"conditionPropertyValue": "IE"
},
{
"choices": "S_MPAM_BUS_UNITS_4",
"conditionPropertyName": "BusArea",
"conditionPropertyValue": "EUSS"
},
{
"choices": "S_MPAM_BUS_UNITS_5",
"conditionPropertyName": "BusArea",
"conditionPropertyValue": "HMPO"
},
{
"choices": "S_MPAM_BUS_UNITS_6",
"conditionPropertyName": "BusArea",
"conditionPropertyValue": "Windrush"
},
{
"choices": "S_MPAM_BUS_UNITS_7",
"conditionPropertyName": "BusArea",
"conditionPropertyValue": "Coronavirus"
}
],
"name": "BusUnit",
"label": "Business unit"
},
Expand Down

0 comments on commit c8cc140

Please sign in to comment.