Updated bartender html settings and sql.
This commit is contained in:
+14
-13
@@ -16,6 +16,7 @@ SELECT
|
||||
a.name AS product,
|
||||
CONCAT(a.topm_id, v.topm_row) AS aritcle_number,
|
||||
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,
|
||||
a.bio AS bio,
|
||||
v.ean AS ean,
|
||||
@@ -35,7 +36,7 @@ SELECT
|
||||
ELSE 'ERROR' END
|
||||
),
|
||||
'Landwirtschaft'
|
||||
) AS "bio",
|
||||
) AS "bio_text",
|
||||
COALESCE(a.mhd, s.mhd) AS mhd,
|
||||
COALESCE(a.allergens_text, s.allergens_text) AS "allergens info"
|
||||
FROM article AS a
|
||||
@@ -53,38 +54,38 @@ ORDER BY a.name, v.weight ASC
|
||||
|
||||
##### Product title
|
||||
```html
|
||||
<p style="text-align: center; font-size: 13pt; font-family: Arial;"><b>
|
||||
</b></p>
|
||||
<div style="text-align: center; font-size: 13pt; font-family: Arial;"><b>
|
||||
</b></div>
|
||||
```
|
||||
|
||||
##### Product title Siegel
|
||||
```html
|
||||
<p style="text-align: center; font-size: 10pt; font-family: Arial;"><b>
|
||||
</b></p>
|
||||
<div style="text-align: center; font-size: 10pt; font-family: Arial;"><b>
|
||||
</b></div>
|
||||
```
|
||||
|
||||
##### Description
|
||||
```html
|
||||
<p style="text-align: center; font-size: 8px; font-family: Arial;"><b>
|
||||
</p></body></html>
|
||||
<div style="text-align: center; font-size: 6pt; font-family: Arial;"><b>
|
||||
</b></div>
|
||||
```
|
||||
|
||||
##### Ingredients
|
||||
```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;">
|
||||
</p></body></html>
|
||||
<div style="text-align: center; font-size: 6pt; font-family: Arial;">
|
||||
</div>
|
||||
```
|
||||
|
||||
##### Allergens info
|
||||
```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;">
|
||||
</p></body></html>
|
||||
<div style="text-align: center; font-size: 5.5pt; font-family: Arial;">
|
||||
</div>
|
||||
```
|
||||
|
||||
##### BIO text
|
||||
```html
|
||||
<html><head><style type='text/css'>body {font-family: "Myriad Pro"; font-size: 7px;}</style></head><body><p style="margin: 0; padding: 0;">
|
||||
</p></body></html>
|
||||
<div style="text-align: left; font-size: 7px; font-family: Myriad Pro;">
|
||||
</div>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user