{
	"component": "nc-form",
	"attribute": {
		"v-cloak": "v-cloak",
		"v-nc-init": "{\"call\": \"dialog/project_material\", \"param\": {\"parameter\": {\"session_id\": nc.searchParameter(\"id\")}}, \"callback\": loadGrid}"
	},
	"children": [
		{
			"children": [
				{
					"attribute": {
						"width": "2/12"
					},
					"children": [
						{
							"attribute": {
								"model": "hdr.project_material.project"
							},
							"component": "nc-label",
							"content": "Project"
						}
					],
					"component": "nc-col"
				},
				{
					"attribute": {
						"class": ["nc-padding-right"],
						"width": "2/12"
					},
					"children": [
						{
							"attribute": {
								"model": "rec.project"
							},
							"component": "nc-input"
						}
					],
					"component": "nc-col"
				},
				{
					"attribute": {
						"class": ["nc-end-h"],
						"width": "1/12"
					},
					"children": [
						{
							"attribute": {
								"primary": "primary",
								"v-on:click.native": "clickButton(\"update\")"
							},
							"children": [
								{
									"attribute": {
										"class": ["far", "fa-search"]
									},
									"component": "i"
								},
								{
									"attribute": {
										"model": "hdr.project_material.update"
									},
									"component": "nc-translate",
									"content": "Update"
								}
							],
							"component": "nc-button"
						}
					],
					"component": "nc-col"
				},
				{
					"attribute": {
						"class": ["nc-end-h"],
						"width": "7/12"
					},
					"children": [
						{
							"attribute": {
								"v-on:click.native": "clickButton(\"add_order\")"
							},
							"children": [
								{
									"attribute": {
										"class": ["far", "fa-check"]
									},
									"component": "i"
								},
								{
									"attribute": {
										"model": "hdr.project_material.add_order"
									},
									"component": "nc-translate",
									"content": "Add order"
								}
							],
							"component": "nc-button"
						}
					],
					"component": "nc-col"
				}
			],
			"comment": "nc-col(width='7/12').nc-end-h\n    nc-button(v-on:click.native='clickButton(\"save\")')\n      i.far.fa-check\n      nc-translate(model='hdr.project_material.save') Save\n    \n",
			"component": "nc-row"
		},
		{
			"attribute": {
				"style": ["height: 0.5em"]
			},
			"component": "nc-row"
		},
		{
			"children": [
				{
					"attribute": {
						"id": "project_material",
						"model": "grid.project_material",
						"style": ["width: 100%", "height: calc(100vh - 10em)"]
					},
					"component": "nc-grid"
				}
			],
			"component": "nc-row"
		}
	]
}
