{
	"name": "form/nc/report/form/product-sticker/product-sticker.json",
	"layout": {
		"component": "nc-col",
		"attribute": {
			"id": "product-sticker",
			"class": ["nc-align-top"],
			"width": "auto"
		},
		"element": [
			{
				"component": "nc-header",
				"text": "Product sticker",
				"attribute": {
					"v-if": "!rec.printing",
					"size": "medium",
					"hdr": "hdr.product_sticker"
				}
			},
			{
				"component": "nc-row",
				"attribute": {
					"info": "25x75mm",
					"print-height": "100%",
					"print-width": "100%"
				},
				"element": [
					{
						"component": "nc-col",
						"attribute": { "height": "5/10", "width": "6.5/10" },
						"element": [
							{
								"component": "nc-image",
								"attribute": {
									":src": "rec.printing ? rec.logo_path_print : rec.logo_path_local",
									"image-style": "object-fit: contain;"
								}
							}
						]
					},
					{
						"component": "nc-col",
						"attribute": { "height": "5.8/10", "width": "3.5/10" },
						"element": [
							{
								"component": "nc-textarea",
								"attribute": {
									"model": "rec.text_address",
									"input-style": "font-size: 8px; font-weight: bold; line-height: 8px; margin-left: 4px; margin-top: -1.5px",
									"v-on:change": "rec.pdf_update_trigger++"
								}
							}
						]
					},
					{
						"component": "nc-row",
						"attribute": { "width": "6.5/10", "style": "margin-top: -0.5em" },
						"element": [
							{
								"component": "nc-col",
								"attribute": { "width": "4/10" }
							},
							{
								"component": "nc-col",
								"attribute": { "height": "0.4em", "width": "9.89em" },
								"element": [
									{
										"component": "nc-input",
										"attribute": {
											"model": "rec.website",
											"input-style": "font-size: 8.6px; text-align: right; margin-top: -0.4em",
											"v-on:change": "rec.pdf_update_trigger++"
										}
									}
								]
							}
						]
					},
					{
						"component": "nc-row",
						"attribute": { "height": "2.8/10" },
						"element": [
							{
								"component": "nc-span",
								"text": "{{ rec.pr.name }} - {{ rec.pr.json_data.supplier_product_code }}",
								"attribute": {
									"style": "font-size: 9px; font-weight: bold;"
								}
							}
						]
					},
					{
						"component": "nc-row",
						"attribute": {
							"height": "2/10"
						},
						"element": [
							{
								"component": "nc-col",
								"attribute": {
									"width": "2.4em"
								},
								"element": [
									{
										"component": "nc-span",
										"text": "Model: ",
										"attribute": {
											"style": "font-size: 9px; margin-top: -0.2em"
										}
									}
								]
							},
							{
								"component": "nc-col",
								"attribute": {
									"width": "5/10"
								},
								"element": [
									{
										"component": "nc-input",
										"attribute": {
											"model": "rec.pr.product_id",
											"input-style": "font-size: 9px; margin-top: -0.15em",
											"v-on:change": "rec.pdf_update_trigger++"
										}
									}
								]
							},
							{
								"component": "nc-col",
								"attribute": {
									"width": "2.3em"
								},
								"element": [
									{
										"component": "nc-span",
										"text": "Batch: ",
										"attribute": {
											"style": "font-size: 9px; margin-top: -0.2em"
										}
									}
								]
							},
							{
								"component": "nc-col",
								"attribute": {
									"width": "auto"
								},
								"element": [
									{
										"component": "nc-input",
										"attribute": {
											"model": "rec.production_order_id",
											"input-style": "font-size: 9px; margin-top: -0.15em",
											"v-on:change": "rec.pdf_update_trigger++"
										}
									}
								]
							}
						]
					}
				]
			}
		]
	}
}
