{
	"name": "form/nc/report/form/stock-location-barcode/stock-location-barcode.json",
	"layout": {
		"component": "nc-col",
		"attribute": {
			"id": "stock-location-barcode",
			"class": ["nc-margin-right", "nc-align-top"],
			"width": "auto"
		},
		"element": [
			{
				"component": "nc-header",
				"text": "Stock location barcode",
				"attribute": {
					"v-if": "!rec.printing",
					"size": "medium",
					"hdr": "hdr.stock_location_barcode"
				}
			},
			{
				"component": "nc-row",
				"attribute": {
					"print-height": "100%",
					"print-width": "100%"
				},
				"element": [
					{
						"component": "nc-col",
						"attribute": {
							"width": "1/3",
							"class": ["nc-align-top"]
						},
						"element": [
							{
								"component": "nc-barcode",
								"attribute": {
									"style": "margin-top: 1.5px;",
									"format": "qrcode",
									"scale-x": "3",
									"scale-y": "3",
									"model": "rec.product_id"
								}
							}
						]
					},
					{
						"component": "nc-col",
						"attribute": {
							"width": "2/3",
							"class": ["nc-align-top"]
						},
						"element": [
							{
								"component": "nc-row",
								"attribute": {
									"height": "1/5"
								},
								"element": [
									{
										"component": "nc-input",
										"attribute": {
											"model": "rec.product_id",
											"input-style": "font-size: 12px; padding: 0em; fit-text:fit;",
											"v-on:change": "rec.pdf_update_trigger++"
										}
									}
								]
							},
							{
								"component": "nc-row",
								"attribute": {
									"height": "1/5"
								},
								"element": [
									{
										"component": "nc-input",
										"attribute": {
											"model": "rec.json_data.supplier_product_code",
											"input-style": "font-size: 12px; padding: 0em; fit-text:fit;",
											"v-on:change": "rec.pdf_update_trigger++"
										}
									}
								]
							},
							{
								"component": "nc-row",
								"attribute": {
									"height": "1/5"
								},
								"element": [
									{
										"component": "nc-input",
										"attribute": {
											"model": "rec.subgroup",
											"input-style": "font-size: 12px; padding: 0em; fit-text:fit;",
											"v-on:change": "rec.pdf_update_trigger++"
										}
									}
								]
							},
							{
								"component": "nc-row",
								"attribute": {
									"height": "1/5"
								},
								"element": [
									{
										"component": "nc-input",
										"attribute": {
											"model": "rec.name",
											"input-style": "font-size: 12px; padding: 0em; fit-text:fit;",
											"v-on:change": "rec.pdf_update_trigger++"
										}
									}
								]
							},
							{
								"component": "nc-row",
								"attribute": {
									"height": "1/5"
								},
								"element": [
									{
										"component": "nc-input",
										"attribute": {
											"model": "rec.info",
											"input-style": "font-size: 12px; padding: 0em;",
											"v-on:change": "rec.pdf_update_trigger++"
										}
									}
								]
							}
						]
					}
				]
			}
		]
	}
}
