From 176005fcdcf693237bdba7fe43937e1669cfd531 Mon Sep 17 00:00:00 2001 From: Pau Navarro Date: Thu, 12 Jan 2023 13:54:22 +0100 Subject: [PATCH] requested changes --- .../reports/previa-label/assets/css/style.css | 14 -------------- .../templates/reports/previa-label/sql/sector.sql | 12 +++++------- 2 files changed, 5 insertions(+), 21 deletions(-) diff --git a/print/templates/reports/previa-label/assets/css/style.css b/print/templates/reports/previa-label/assets/css/style.css index 113b2e66b..1c9074924 100644 --- a/print/templates/reports/previa-label/assets/css/style.css +++ b/print/templates/reports/previa-label/assets/css/style.css @@ -6,31 +6,25 @@ font-size: 1.2em; font-family: Arial, Helvetica, sans-serif; } - .barcode { float: left; width: 40%; } - .barcode h1 { text-align: center; font-size: 1.8em; margin: 0 0 10px 0 } - .barcode .image { text-align: center } - .barcode .image img { width: 170px } - .data { float: left; width: 60%; } - .data .header { background-color: #000; text-overflow: ellipsis; @@ -42,7 +36,6 @@ padding: 0.2em; color: #FFF } - .data .sector, .data .producer { text-transform: uppercase; @@ -52,7 +45,6 @@ white-space: nowrap; overflow: hidden; } - .data .sector-sm { text-transform: uppercase; text-align: right; @@ -61,33 +53,27 @@ white-space: nowrap; overflow: hidden; } - .data .producer { text-justify: inter-character; } - .data .details { border-top: 4px solid #000; padding-top: 2px; } - .data .details .package { padding-right: 5px; float: left; width: 50%; } - .package .packing, .package .dated, .package .labelNumber { text-align: right } - .package .packing { font-size: 1.8em; font-weight: 400 } - .data .details .size { background-color: #000; text-align: center; diff --git a/print/templates/reports/previa-label/sql/sector.sql b/print/templates/reports/previa-label/sql/sector.sql index 875874b0e..f86f90bdc 100644 --- a/print/templates/reports/previa-label/sql/sector.sql +++ b/print/templates/reports/previa-label/sql/sector.sql @@ -1,9 +1,7 @@ -select +SELECT `s`.`description` -from +FROM `vn`.`saleGroup` sg -join - `vn`.`sector` s -on - `sg`.`sectorFk` = `s`.`id` -where `sg`.`id` = ? \ No newline at end of file + JOIN `vn`.`sector` s ON `sg`.`sectorFk` = `s`.`id` +WHERE + `sg`.`id` = ? \ No newline at end of file