From db055422869aae46e0859ca1d63e0918f3e7e9a5 Mon Sep 17 00:00:00 2001 From: Sinekhaya Date: Wed, 23 Oct 2024 14:43:24 +0200 Subject: [PATCH 1/2] Add dispositions --- .../zw/v1/CallTypeButtons.json | 50 ++++++++++++--- .../zw/v1/tabbedForms/CaseInformationTab.json | 63 +++++++++++++++++++ 2 files changed, 106 insertions(+), 7 deletions(-) diff --git a/hrm-form-definitions/form-definitions/zw/v1/CallTypeButtons.json b/hrm-form-definitions/form-definitions/zw/v1/CallTypeButtons.json index 65cae61e51..dc46f392da 100644 --- a/hrm-form-definitions/form-definitions/zw/v1/CallTypeButtons.json +++ b/hrm-form-definitions/form-definitions/zw/v1/CallTypeButtons.json @@ -12,26 +12,26 @@ "category": "data" }, { - "name": "silent", - "label": "Silent", + "name": "disconnected", + "label": "Disconnected Number", "type": "button", "category": "non-data" }, { - "name": "blank", - "label": "Blank", + "name": "noanswer", + "label": "No Answer", "type": "button", "category": "non-data" }, { - "name": "joke", - "label": "Joke", + "name": "droped", + "label": "Untentional Hangup", "type": "button", "category": "non-data" }, { "name": "hangup", - "label": "Hang up", + "label": "Intentional Hangup", "type": "button", "category": "non-data" }, @@ -46,5 +46,41 @@ "label": "Abusive", "type": "button", "category": "non-data" + }, + { + "name": "network", + "label": "Network Challenges", + "type": "button", + "category": "non-data" + }, + { + "name": "information", + "label": "Other Information", + "type": "button", + "category": "non-data" + }, + { + "name": "test", + "label": "Caller Testing Services", + "type": "button", + "category": "non-data" + }, + { + "name": "thanks", + "label": "Thank You Childline", + "type": "button", + "category": "non-data" + }, + { + "name": "playing", + "label": "Playing with Phone", + "type": "button", + "category": "non-data" + }, + { + "name": "silent", + "label": "Inaudible", + "type": "button", + "category": "non-data" } ] \ No newline at end of file diff --git a/hrm-form-definitions/form-definitions/zw/v1/tabbedForms/CaseInformationTab.json b/hrm-form-definitions/form-definitions/zw/v1/tabbedForms/CaseInformationTab.json index 0e04f72d58..bea0558ba7 100644 --- a/hrm-form-definitions/form-definitions/zw/v1/tabbedForms/CaseInformationTab.json +++ b/hrm-form-definitions/form-definitions/zw/v1/tabbedForms/CaseInformationTab.json @@ -19,6 +19,69 @@ "label": "Did you discuss rights with the child?", "type": "mixed-checkbox" }, + { + "name": "dispositions", + "label": "Project-specific Dispositions", + "type": "select", + "options": [ + { + "value": "", + "label": "" + }, + { + "value": "Centenary", + "label": "Centenary" + }, + { + "value": "Cowdry Park", + "label": "Cowdry Park (DCA1)" + }, + { + "value": "Old Magwegwe", + "label": "Old Magwegwe (DCA2)" + }, + { + "value": "Hopley", + "label": "Hopley" + }, + { + "value": "Mbare", + "label": "Mbare Call" + }, + { + "value": "Kuwadzana", + "label": "Kuwadzana (OAK)" + }, + { + "value": "Epworth", + "label": "Epworth (OAK1)" + }, + { + "value": "Dziravasekwa", + "label": "Dziravasekwa (OAK2)" + }, + { + "value": "Mtoko", + "label": "Mtoko etc (Plan)" + }, + { + "value": "Mangwe", + "label": "Mangwe (SAVE1)" + }, + { + "value": "Bulilima", + "label": "Bulilima (SAVE2)" + }, + { + "value": "Stone", + "label": "Stoneridge" + } + ], + "required": { + "value": true, + "message": "RequiredFieldError" + } + }, { "name": "department", "label": "Department", From 4a7177e07a2b806163ffdfa9991b7583012a0793 Mon Sep 17 00:00:00 2001 From: Sinekhaya Date: Wed, 23 Oct 2024 14:55:03 +0200 Subject: [PATCH 2/2] remove required --- .../zw/v1/tabbedForms/CaseInformationTab.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/hrm-form-definitions/form-definitions/zw/v1/tabbedForms/CaseInformationTab.json b/hrm-form-definitions/form-definitions/zw/v1/tabbedForms/CaseInformationTab.json index bea0558ba7..3af6dd66df 100644 --- a/hrm-form-definitions/form-definitions/zw/v1/tabbedForms/CaseInformationTab.json +++ b/hrm-form-definitions/form-definitions/zw/v1/tabbedForms/CaseInformationTab.json @@ -76,11 +76,7 @@ "value": "Stone", "label": "Stoneridge" } - ], - "required": { - "value": true, - "message": "RequiredFieldError" - } + ] }, { "name": "department",