{
	"name": "form/nc/nc-print/nc-print.json",
	"layout": {
		"component": "nc-form",
		"attribute": {
			"id": "nc_print"
		},
		"element": [
			{
				"component": "nc-row",
				"attribute": {
					"class": ["nc-margin-top", "nc-align-top"]
				},
				"element": [
					{
						"component": "nc-col",
						"attribute": {
							"width": "2/4",
							"class": ["nc-no-print"]
						},
						"element": [
							{
								"component": "nc-row",
								"element": [
									{
										"component": "nc-label-dropdown",
										"text": "Reports",
										"attribute": {
											"model": "rec.dropdown"
										}
									}
								]
							},
							{
								"component": "nc-row",
								"element": [
									{
										"component": "nc-grid",
										"attribute": {
											"id": "report_list",
											"height": "calc(100vh - 50em)",
											"model": "grid.report_list"
										}
									},
									{
										"component": "nc-row",
										"element": [
											{
												"component": "nc-col",
												"attribute": {
													"width": "auto"
												},
												"element": [
													{
														"component": "nc-dropdown",
														"attribute": {}
													}
												]
											},
											{
												"component": "nc-col",
												"attribute": {
													"width": "auto"
												},
												"element": [
													{
														"component": "nc-dropdown",
														"attribute": {}
													}
												]
											},
											{
												"component": "nc-col",
												"attribute": {
													"width": "auto"
												},
												"element": [
													{
														"component": "nc-input",
														"attribute": {
															"style": "width: 100%;"
														}
													}
												]
											},
											{
												"component": "nc-col",
												"attribute": {
													"class": ["nc-center-v", "nc-center-h"]
												},
												"element": [
													{
														"component": "nc-label",
														"text": "–"
													}
												]
											},
											{
												"component": "nc-col",
												"attribute": {
													"width": "auto"
												},
												"element": [
													{
														"component": "nc-input",
														"attribute": {
															"style": "width: 100%;"
														}
													}
												]
											},
											{
												"component": "nc-col",
												"attribute": {
													"width": "auto"
												},
												"element": [
													{
														"component": "nc-dropdown",
														"attribute": {}
													}
												]
											},
											{
												"component": "nc-col",
												"attribute": {
													"class": ["nc-center-h"],
													"width": "3em"
												},
												"element": [
													{
														"component": "nc-button",
														"attribute": {
															"icon": "minus",
															"color": "success",
															"class": ["basic", "small", "circular"],
															"style": "width: 34px !important; min-width: 34px !important; padding-left: 12px;"
														}
													}
												]
											},
											{
												"component": "nc-col",
												"attribute": {
													"class": ["nc-center-h"],
													"width": "3em"
												},
												"element": [
													{
														"component": "nc-button",
														"attribute": {
															"icon": "plus",
															"color": "red",
															"class": ["basic", "small", "circular"],
															"style": "width: 34px !important; min-width: 34px !important; padding-left: 12px;"
														}
													}
												]
											},
											{
												"component": "nc-col",
												"attribute": {
													"width": "auto"
												},
												"element": [
													{
														"component": "nc-dropdown",
														"attribute": {}
													}
												]
											},
											{
												"component": "nc-col",
												"attribute": {},
												"element": [
													{
														"component": "nc-button",
														"text": "Search",
														"attribute": {
															"id": "query",
															"class": ["nc-margin-right"],
															"v-on:click": "query(null)"
														}
													},
													{
														"component": "nc-button",
														"text": "All",
														"attribute": {
															"id": "query-all",
															"style": "margin-right: 0;",
															"v-on:click": "query(null, 'all')"
														}
													}
												]
											}
										]
									}
								]
							}
						]
					},
					{
						"component": "nc-col",
						"attribute": {
							"width": "1em",
							"class": ["nc-margin-left"]
						},
						"element": [
							{
								"component": "nc-line-v",
								"attribute": {
									"height": "calc(100vh - 7em)"
								}
							}
						]
					},
					{
						"component": "nc-col",
						"attribute": {
							"width": "auto"
						},
						"element": [
							{
								"component": "nc-row",
								"element": [
									{
										"component": "nc-row",
										"element": [
											{
												"component": "nc-col",
												"attribute": {
													"width": "auto"
												},
												"element": [
													{
														"component": "nc-tab",
														"attribute": {
															"model": "rec.tab",
															"v-on:change": "tabChanged('tab')"
														}
													}
												]
											},
											{
												"component": "nc-col",
												"attribute": {
													"class": ["nc-margin-left", "nc-end-h"]
												},
												"element": [
													{
														"component": "nc-button",
														"attributes": {
															"class": ["nc-button-wide"],
															"v-on:click": "printPDF()",
															"model": "rec.pdf_print"
														},
														"element": [
															{
																"component": "nc-icon",
																"attribute": {
																	"icon": "print"
																}
															},
															{
																"component": "nc-translate",
																"text": "Print PDF",
																"attribute": {
																	"model": "hdr.pdf.print"
																}
															}
														]
													}
												]
											}
										]
									},
									{
										"component": "nc-row",
										"attribute": {},
										"element": [
											{
												"component": "nc-pdf-viewer",
												"attribute": {
													"model": "rec.pdf_viewer",
													"style": "height: calc(100vh - 10em);",
													"class": ["nc-margin-left"]
												}
											}
										]
									}
								]
							}
						]
					}
				]
			}
		]
	}
}
