{
	"name_fi": "grid/local/person/employee/capacity_grid.json",
	"column": [
		{
			"field": "per.person_id",
			"width": 40,
			"name_fi": "Henkilö"
		},
		{
			"field": "per.full_name",
			"width": 100,
			"name_fi": "Nimi"
		},
		{
			"name_fi": "Alkaa",
			"width": 180,
			"editable": true,
			"variable": "start_time"
		},
		{
			"name_fi": "Loppuu",
			"width": 180,
			"editable": true,
			"variable": "end_time"
		},
		{
			"width": 35,
			"style-": {
				"text-align": "left"
			},
			"variable": "day_number",
			"name_fi": "Päivä",
			"show_table": "rec.day_name_short"
		},
		{
			"width": 100,
			"name_fi": "Vuoron nimi",
			"variable": "shift_name"
		},
		{
			"width": 30,
			"name_fi": "Vuoro",
			"variable": "shift_number"
		},
		{
			"width": 80,
			"cellEditorParams": {
				"dropdown_field": "value",
				"values": "dropdown.record_type",
				"set_dropdown_show_field-": "ordr.description"
			},
			"variable": "record_type",
			"name_fi": "Tyyppi",
			"cellClassRules": {
				"lightgrey-bg": "!x",
				"green": "x == 'holiday'",
				"grey": "x == 'default'",
				"brown": "x > 'checked'",
				"black": "x == 'planned'",
				"blue": "x == 'actual'"
			}
		},
		{
			"width": 45,
			"name_fi": "Solu/kry",
			"variable": "resource_id"
		},
		{
			"width": 35,
			"variable": "hours",
			"format": "%'.2f",
			"name_fi": "Tuntia",
			"cellClassRules": {
				"": "x < 0",
				"grey": "x == 0",
				"blue": "x > 0"
			}
		},
		{
			"format": "%'.2f",
			"width": 35,
			"name_fi": "Kerroin",
			"variable": "multiplier"
		},
		{
			"width": 55,
			"variable": "capacity",
			"format": "%'.2f",
			"name_fi": "Kapasiteetti",
			"cellClassRules": {
				"": "x < 0",
				"grey": "x == 0",
				"blue": "x > 0"
			}
		},
		{
			"name_fi": "Lisätietoja",
			"width": 100,
			"editable": true,
			"variable": "info"
		}
	],
	"option": {
		"grid_option": []
	}
}
