{
	"name": "form/nc/report/form/product-label/product-label.json",
	"layout": {
		"component": "nc-col",
		"attribute": {
			"class": ["nc-margin-right", "nc-align-top"],
			"width": "auto"
		},
		"element": [
			{
				"component": "nc-row",
				"attribute": {
					"info": "152/204mm",
					"class": ["nc-align-top"],
					"height": "calc(100vh - 24em)",
					"style": "max-height: 50em;",
					"print-height": "100%",
					"print-width": "100%",
					"width": "50vw"
				},
				"element": [
					{
						"component": "nc-rect",
						"attribute": {
							"class": ["nc-align-top"]
						},
						"element": [
							{
								"component": "nc-row",
								"attribute": {
									"class": ["nc-align-top"]
								},
								"element": [
									{
										"component": "nc-col",
										"attribute": {
											"width": "64/100"
										},
										"element": [
											{
												"component": "nc-col",
												"attribute": {
													"width": "auto"
												},
												"element": [
													{
														"component": "nc-row",
														"attribute": [],
														"element": [
															{
																"component": "nc-label-textarea",
																"text": "Tuotetunnus",
																"attribute": {
																	"class": ["nc-overflow-auto"],
																	"input-style": "line-height:38px; font-size: 38px; text-align: center; padding:0",
																	"model": "rec.pr.product_id",
																	"rows": "1"
																}
															}
														]
													},
													{
														"component": "nc-row",
														"attribute": {
															"class": ["nc-center-h"]
														},
														"element": [
															{
																"component": "nc-barcode",
																"attribute": {
																	"format": "code128",
																	"code-width": "1",
																	"model": "rec.pr.product_id"
																}
															}
														]
													},
													{
														"component": "nc-line"
													},
													{
														"component": "nc-row",
														"element": [
															{
																"component": "nc-label-input",
																"text": "Piirustusnumero",
																"attribute": {
																	"input-style": "font-size: 32px; padding:0",
																	"model": "rec.pr.drawing_number"
																}
															},
															{
																"component": "nc-line"
															}
														]
													},
													{
														"component": "nc-row",
														"element": [
															{
																"component": "nc-col",
																"attribute": {
																	"width": "1/2"
																},
																"element": [
																	{
																		"component": "nc-label-input",
																		"text": "Valmistuserä",
																		"attribute": {
																			"input-style": "font-size: 32px; padding:0",
																			"model": "rec.production_order_id"
																		}
																	}
																]
															},
															{
																"component": "nc-line-v"
															},
															{
																"component": "nc-col",
																"attribute": {
																	"width": "auto"
																},
																"element": [
																	{
																		"component": "nc-label-input",
																		"text": "Count",
																		"attribute": {
																			"input-style": "font-size: 32px; padding:0; padding:0",
																			"model": "rec.product_label.label_count"
																		}
																	}
																]
															}
														]
													}
												]
											},
											{
												"component": "nc-line-v"
											}
										]
									},
									{
										"component": "nc-col",
										"attribute": {
											"class": ["nc-margin-right", "nc-align-top"],
											"width": "auto"
										},
										"element": [
											{
												"component": "nc-row",
												"attribute": {
													"class": ["nc-end-h"]
												},
												"element": [
													{
														"component": "nc-label",
														"attribute": {
															"model": "hdr.product_label.date"
														}
													}
												]
											},
											{
												"component": "nc-row",
												"attribute": {
													"class": ["nc-center-h"]
												},
												"element": [
													{
														"component": "nc-image",
														"attribute": {
															":src": "rec.logo_path_local",
															"height": "30px",
															"image-style": "object-fit:contain;",
															"width": "190px"
														}
													},
													{
														"component": "nc-line"
													}
												]
											},
											{
												"component": "nc-col",
												"attribute": {
													"height": "13em"
												},
												"element": [
													{
														"component": "nc-row",
														"attribute": {
															"style": "margin-left: 1.5em; margin-bottom: 1.5em; margin-top: 1em"
														},
														"element": [
															{
																"component": "nc-icon",
																"attribute": {
																	"icon": "times-square",
																	"class": ["fa-2x"]
																}
															},
															{
																"component": "nc-label",
																"text": "Not coated",
																"attribute": {
																	"model": "hdr.product_label.option1",
																	"style": "font-size: 24px"
																}
															}
														]
													},
													{
														"component": "nc-row",
														"attribute": {
															"style": "margin-left: 1.5em; margin-bottom: 1.5em"
														},
														"element": [
															{
																"component": "nc-icon",
																"attribute": {
																	"icon": "square",
																	"class": ["fa-2x"]
																}
															},
															{
																"component": "nc-label",
																"text": "(WC)",
																"attribute": {
																	"model": "hdr.product_label.option2",
																	"style": "font-size: 24px"
																}
															}
														]
													},
													{
														"component": "nc-row",
														"attribute": {
															"style": "margin-left: 1.5em; margin-bottom: 1.5em"
														},
														"element": [
															{
																"component": "nc-icon",
																"attribute": {
																	"icon": "square",
																	"class": ["fa-2x"]
																}
															},
															{
																"component": "nc-label",
																"text": "(EL)",
																"attribute": {
																	"model": "hdr.product_label.option3",
																	"style": "font-size: 24px"
																}
															}
														]
													},
													{
														"component": "nc-row",
														"attribute": {
															"style": "margin-left: 1.5em;"
														},
														"element": [
															{
																"component": "nc-icon",
																"attribute": {
																	"icon": "square",
																	"class": ["fa-2x"]
																}
															},
															{
																"component": "nc-label",
																"text": "(KOVAEL)",
																"attribute": {
																	"model": "hdr.product_label.option4",
																	"style": "font-size: 24px"
																}
															}
														]
													}
												]
											}
										]
									},
									{
										"component": "nc-line"
									}
								]
							},
							{
								"component": "nc-row",
								"attribute": {
									"class": ["nc-align-top"]
								},
								"element": [
									{
										"component": "nc-label-textarea",
										"text": "Name",
										"attribute": {
											"class": ["nc-overflow-auto"],
											"hdr": "hdr.product_label.name",
											"input-style": "font-size: 32px; padding:0",
											"model": "rec.pr.name",
											"rows": "3"
										}
									}
								]
							}
						]
					}
				]
			}
		]
	}
}
