@@ -28,6 +28,8 @@ export const CippAddVacationModeDrawer = ({
2828 PolicyId : null ,
2929 startDate : null ,
3030 endDate : null ,
31+ reference : null ,
32+ postExecution : [ ] ,
3133 excludeLocationAuditAlerts : false ,
3234 } ,
3335 } ) ;
@@ -85,6 +87,8 @@ export const CippAddVacationModeDrawer = ({
8587 PolicyId : null ,
8688 startDate : null ,
8789 endDate : null ,
90+ reference : null ,
91+ postExecution : [ ] ,
8892 excludeLocationAuditAlerts : false ,
8993 } ) ;
9094 }
@@ -105,6 +109,8 @@ export const CippAddVacationModeDrawer = ({
105109 StartDate : formData . startDate ,
106110 EndDate : formData . endDate ,
107111 vacation : true ,
112+ reference : formData . reference || null ,
113+ postExecution : formData . postExecution || [ ] ,
108114 excludeLocationAuditAlerts : formData . excludeLocationAuditAlerts || false ,
109115 } ;
110116
@@ -124,6 +130,8 @@ export const CippAddVacationModeDrawer = ({
124130 PolicyId : null ,
125131 startDate : null ,
126132 endDate : null ,
133+ reference : null ,
134+ postExecution : [ ] ,
127135 } ) ;
128136 } ;
129137
@@ -295,6 +303,33 @@ export const CippAddVacationModeDrawer = ({
295303 } }
296304 />
297305 </ Grid >
306+
307+ { /* Post Execution Actions */ }
308+ < Grid size = { { md : 12 , xs : 12 } } >
309+ < CippFormComponent
310+ type = "autoComplete"
311+ name = "postExecution"
312+ label = "Post Execution Actions"
313+ formControl = { formControl }
314+ multiple
315+ creatable = { false }
316+ options = { [
317+ { label : "Webhook" , value : "Webhook" } ,
318+ { label : "Email" , value : "Email" } ,
319+ { label : "PSA" , value : "PSA" } ,
320+ ] }
321+ />
322+ </ Grid >
323+
324+ < Grid size = { { xs : 12 } } >
325+ < CippFormComponent
326+ type = "textField"
327+ label = "Reference"
328+ name = "reference"
329+ formControl = { formControl }
330+ placeholder = "Optional note to help identify this vacation schedule, this is also added to notification titles."
331+ />
332+ </ Grid >
298333 { policyHasLocationTarget && (
299334 < Grid size = { { xs : 12 } } >
300335 < CippFormComponent
0 commit comments