@@ -46,21 +46,12 @@ const getFieldConfigForInformant = (informantType: InformantTypeKey) => {
4646 {
4747 ...commonConfigs ,
4848 conditionals : [ spouseDoesNotExist ( informantType ) ] ,
49- options : [
50- getInformantOption ( informantType ) ,
51- otherOption ,
52- printInAdvanceOption
53- ]
49+ options : [ getInformantOption ( informantType ) , otherOption ]
5450 } ,
5551 {
5652 ...commonConfigs ,
5753 conditionals : [ spouseExists ( informantType ) ] ,
58- options : [
59- getInformantOption ( informantType ) ,
60- spouseOption ,
61- otherOption ,
62- printInAdvanceOption
63- ]
54+ options : [ getInformantOption ( informantType ) , spouseOption , otherOption ]
6455 }
6556 ]
6657}
@@ -99,15 +90,6 @@ const otherOption = {
9990 value : CollectorType . SOMEONE_ELSE
10091}
10192
102- const printInAdvanceOption = {
103- label : {
104- id : 'event.death.action.certificate.form.section.requester.printInAdvance.label' ,
105- defaultMessage : 'Print in advance' ,
106- description : 'This is the label for the field'
107- } ,
108- value : 'PRINT_IN_ADVANCE'
109- }
110-
11193const requesterLabel = {
11294 defaultMessage : 'Requester' ,
11395 description : 'This is the label for the field' ,
@@ -125,11 +107,7 @@ export const printCertificateCollectors: FieldConfig[] = [
125107 {
126108 ...commonConfigs ,
127109 conditionals : [ spouseExists ( InformantType . SPOUSE ) ] ,
128- options : [
129- getInformantOption ( InformantType . SPOUSE ) ,
130- otherOption ,
131- printInAdvanceOption
132- ]
110+ options : [ getInformantOption ( InformantType . SPOUSE ) , otherOption ]
133111 } ,
134112 ...getFieldConfigForInformant ( InformantType . SON ) ,
135113 ...getFieldConfigForInformant ( InformantType . DAUGHTER ) ,
0 commit comments