From d41269bbbebed1666e6728bc2a51505b17d188b2 Mon Sep 17 00:00:00 2001 From: Pau Navarro Date: Fri, 18 Nov 2022 11:58:46 +0100 Subject: [PATCH] Change fixtures so the provider is present in the label --- db/dump/fixtures.sql | 2 +- print/templates/reports/item-label/item-label.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/dump/fixtures.sql b/db/dump/fixtures.sql index 49cf639ef..d6f102f21 100644 --- a/db/dump/fixtures.sql +++ b/db/dump/fixtures.sql @@ -1206,7 +1206,7 @@ INSERT INTO `vn`.`tag`(`id`, `code`, `name`, `isFree`, `isQuantitatif`, `sourceT (7, NULL, 'Ancho de la base', 1, 1, NULL, 'mm',NULL, NULL), (23, 'stems', 'Tallos', 1, 1, NULL, NULL, NULL, 'stems'), (27, NULL, 'Longitud(cm)', 1, 1, NULL, 'cm', NULL, NULL), - (36, NULL, 'Proveedor', 1, 0, NULL, NULL, NULL, NULL), + (36, 'producer', 'Proveedor', 1, 0, NULL, NULL, NULL, 'producer'), (56, NULL, 'Genero', 1, 0, NULL, NULL, NULL, NULL), (58, NULL, 'Variedad', 1, 0, NULL, NULL, NULL, NULL), (67, 'category', 'Categoria', 1, 0, NULL, NULL, NULL, NULL), diff --git a/print/templates/reports/item-label/item-label.html b/print/templates/reports/item-label/item-label.html index b6b78fc81..49593f7dd 100644 --- a/print/templates/reports/item-label/item-label.html +++ b/print/templates/reports/item-label/item-label.html @@ -12,7 +12,7 @@
{{item.name}}
{{tags.color}}
-
{{tags.provider}}
+
{{tags.producer}}
{{packing()}}