Updated bartender html settings and sql.

This commit is contained in:
2026-02-25 19:52:07 +01:00
parent ce351328bf
commit dcbb38174d
+14 -13
View File
@@ -16,6 +16,7 @@ SELECT
a.name AS product, a.name AS product,
CONCAT(a.topm_id, v.topm_row) AS aritcle_number, CONCAT(a.topm_id, v.topm_row) AS aritcle_number,
COALESCE(v.name, a.name) AS name, COALESCE(v.name, a.name) AS name,
COALESCE(a.additional_name, COALESCE(v.name, a.name)) AS sigel_name,
CONCAT(CONCAT(v.weight, ' '), u.display) AS weight, CONCAT(CONCAT(v.weight, ' '), u.display) AS weight,
a.bio AS bio, a.bio AS bio,
v.ean AS ean, v.ean AS ean,
@@ -35,7 +36,7 @@ SELECT
ELSE 'ERROR' END ELSE 'ERROR' END
), ),
'Landwirtschaft' 'Landwirtschaft'
) AS "bio", ) AS "bio_text",
COALESCE(a.mhd, s.mhd) AS mhd, COALESCE(a.mhd, s.mhd) AS mhd,
COALESCE(a.allergens_text, s.allergens_text) AS "allergens info" COALESCE(a.allergens_text, s.allergens_text) AS "allergens info"
FROM article AS a FROM article AS a
@@ -53,38 +54,38 @@ ORDER BY a.name, v.weight ASC
##### Product title ##### Product title
```html ```html
<p style="text-align: center; font-size: 13pt; font-family: Arial;"><b> <div style="text-align: center; font-size: 13pt; font-family: Arial;"><b>
</b></p> </b></div>
``` ```
##### Product title Siegel ##### Product title Siegel
```html ```html
<p style="text-align: center; font-size: 10pt; font-family: Arial;"><b> <div style="text-align: center; font-size: 10pt; font-family: Arial;"><b>
</b></p> </b></div>
``` ```
##### Description ##### Description
```html ```html
<p style="text-align: center; font-size: 8px; font-family: Arial;"><b> <div style="text-align: center; font-size: 6pt; font-family: Arial;"><b>
</p></body></html> </b></div>
``` ```
##### Ingredients ##### Ingredients
```html ```html
<html><head><style type='text/css'>body {font-family: Arial; font-size: 5.5pt; text-align: center;}</style></head><body><p style="text-align: center; margin: 0; padding: 0;"> <div style="text-align: center; font-size: 6pt; font-family: Arial;">
</p></body></html> </div>
``` ```
##### Allergens info ##### Allergens info
```html ```html
<html><head><style type='text/css'>body {font-family: Arial; font-size: 5.5pt;}</style></head><body><p style="text-align: center; margin: 0; padding: 0;"> <div style="text-align: center; font-size: 5.5pt; font-family: Arial;">
</p></body></html> </div>
``` ```
##### BIO text ##### BIO text
```html ```html
<html><head><style type='text/css'>body {font-family: "Myriad Pro"; font-size: 7px;}</style></head><body><p style="margin: 0; padding: 0;"> <div style="text-align: left; font-size: 7px; font-family: Myriad Pro;">
</p></body></html> </div>
``` ```
--- ---