{
	"name": "form/nc/erp-sync/ksef/column/session-status.json",
	"option": {
		"grid_option": {
			"cell_class_rules": {
				"nc-grid-cell-changed": "data.link_rec && colDef.change_compare !== false && recDataDifferent(data.link_rec, colDef, x)"
			},
			"row_class_rules": {
				"nc-grid-row-changed": "data.change_status == 'changed'",
				"nc-grid-row-deleted": "data.change_status == 'deleted'",
				"nc-grid-row-equal": "data.change_status == 'equal'",
				"nc-grid-row-new": "data.change_status == 'new'"
			}
		}
	},
	"column": [
		{
			"change_compare": false,
			"icon": "nc-link-icon",
			"link_field": "prf.name_id",
			"name": "Row",
			"record_type": "ksef",
			"variable": "idx"
		},
		{
			"export": false,
			"name": "Status",
			"variable": "change_status",
			"editable": false,
			"width": 65
		},
		{
			"change_compare": false,
			"field": "prf.json_data.reference_number",
			"name": "Reference",
			"width": 200
		},
		{
			"change_compare": false,
			"field": "prf.json_data.session_status",
			"name": "Status",
			"width": 100
		},
		{
			"change_compare": false,
			"field": "prf.json_data.processing_status",
			"name": "Processing",
			"width": 110
		},
		{
			"change_compare": false,
			"field": "prf.json_data.session_token",
			"name": "Token",
			"width": 150
		},
		{
			"change_compare": false,
			"field": "prf.json_data.open_timestamp",
			"type": "datetime",
			"name": "Opened",
			"width": 140
		},
		{
			"change_compare": false,
			"field": "prf.json_data.expiry_timestamp",
			"type": "datetime",
			"name": "Expires",
			"width": 140
		},
		{
			"change_compare": false,
			"import": false,
			"variable": "prf.json_data",
			"name": "Data",
			"width": 4000
		},
		{
			"change_compare": false,
			"field": "prf.record_id",
			"hide": true,
			"name": "Record id",
			"width": 110
		}
	]
}
