# planning

Name planning
Type panel
Version 1.0
Since 2020-01-01

# Prologue

This panel adds planning functionality to given step. If edit is true you will be able to plan FROM and TO dates. If edit is false panel only serves for displaying planned dates. To check if certain step is planned you can use _process.steps['step_name'].plannedTo in expression.

# Preview

# Configuration

planning:
	render: {width: 6}
	config:

		# Optional | Default - null => step in which panel is defined
		# Step for which edit/display planned dates
		step: step_to_be_planned

		# Optional | Default - true
		edit: false

		# Optional | Default null
		# Relative time computed from FROM date
		# Only works if edit is true
		duration: + 2 hours

		# Optional | Default - false
		# Only works if edit is true
		# Planning TO date also overwrites step expiration
		modify: false

		# Optional | Default - []
		# Adds buttons to datepicker with date shortcuts
		shortcuts:
			- {title: 'Tomorrow', date: '+1 day'}
			- {title: 'Yesterday', date: '-1 day'}

		ui:
			# Optional | Default - null
			# Panel title
			title: Schedule this task

			# Optional | Default - null
			# Panel description
			description: Description of the panel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35