requested changes
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Pau 2023-01-12 13:54:22 +01:00
parent dfd264ff82
commit 176005fcdc
2 changed files with 5 additions and 21 deletions

View File

@ -6,31 +6,25 @@
font-size: 1.2em; font-size: 1.2em;
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
} }
.barcode { .barcode {
float: left; float: left;
width: 40%; width: 40%;
} }
.barcode h1 { .barcode h1 {
text-align: center; text-align: center;
font-size: 1.8em; font-size: 1.8em;
margin: 0 0 10px 0 margin: 0 0 10px 0
} }
.barcode .image { .barcode .image {
text-align: center text-align: center
} }
.barcode .image img { .barcode .image img {
width: 170px width: 170px
} }
.data { .data {
float: left; float: left;
width: 60%; width: 60%;
} }
.data .header { .data .header {
background-color: #000; background-color: #000;
text-overflow: ellipsis; text-overflow: ellipsis;
@ -42,7 +36,6 @@
padding: 0.2em; padding: 0.2em;
color: #FFF color: #FFF
} }
.data .sector, .data .sector,
.data .producer { .data .producer {
text-transform: uppercase; text-transform: uppercase;
@ -52,7 +45,6 @@
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
} }
.data .sector-sm { .data .sector-sm {
text-transform: uppercase; text-transform: uppercase;
text-align: right; text-align: right;
@ -61,33 +53,27 @@
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
} }
.data .producer { .data .producer {
text-justify: inter-character; text-justify: inter-character;
} }
.data .details { .data .details {
border-top: 4px solid #000; border-top: 4px solid #000;
padding-top: 2px; padding-top: 2px;
} }
.data .details .package { .data .details .package {
padding-right: 5px; padding-right: 5px;
float: left; float: left;
width: 50%; width: 50%;
} }
.package .packing, .package .packing,
.package .dated, .package .dated,
.package .labelNumber { .package .labelNumber {
text-align: right text-align: right
} }
.package .packing { .package .packing {
font-size: 1.8em; font-size: 1.8em;
font-weight: 400 font-weight: 400
} }
.data .details .size { .data .details .size {
background-color: #000; background-color: #000;
text-align: center; text-align: center;

View File

@ -1,9 +1,7 @@
select SELECT
`s`.`description` `s`.`description`
from FROM
`vn`.`saleGroup` sg `vn`.`saleGroup` sg
join JOIN `vn`.`sector` s ON `sg`.`sectorFk` = `s`.`id`
`vn`.`sector` s WHERE
on `sg`.`id` = ?
`sg`.`sectorFk` = `s`.`id`
where `sg`.`id` = ?