diff --git a/bartender/Käfer EIG Mantel.btw b/bartender/Käfer EIG Mantel.btw new file mode 100644 index 0000000..34b4db2 Binary files /dev/null and b/bartender/Käfer EIG Mantel.btw differ diff --git a/bartender/Käfer EIG Siegel.btw b/bartender/Käfer EIG Siegel.btw new file mode 100644 index 0000000..39a4c14 Binary files /dev/null and b/bartender/Käfer EIG Siegel.btw differ diff --git a/bartender/Käfer Karton Aufkleber.btw b/bartender/Käfer Karton Aufkleber.btw new file mode 100644 index 0000000..2ad4e06 Binary files /dev/null and b/bartender/Käfer Karton Aufkleber.btw differ diff --git a/bartender/README.md b/bartender/README.md index dcc6384..e60ec0c 100644 --- a/bartender/README.md +++ b/bartender/README.md @@ -92,3 +92,63 @@ ORDER BY a.name, v.weight ASC ## Lodner kleines Etikett +## Käfer Essen im Glas +### SQL Abfrage +```sql +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, + v.ean AS ean, + COALESCE(v.description, a.description) AS description, + CONCAT(COALESCE(v.ingredients, a.ingredients), + CASE + WHEN COALESCE(v.ingredients, a.ingredients) LIKE '%Zutaten:%' THEN CONCAT('
', s.bio_info) + ELSE '' END + ) AS ingredients, + COALESCE(a.mhd, s.mhd) AS mhd, + COALESCE(a.allergens_text, s.allergens_text) AS allergens_info, + CONCAT( + CONCAT(n.calorific_value_kj, ' kJ
'), + CONCAT(n.calorific_value_kcal, ' kcal') + ) AS energy, + n.fat, + n.saturated_fat, + n.carbohydrates, + n.sugar, + n.fibers, + n.protein, + n.salt +FROM article AS a + INNER JOIN variant AS v ON v.article_id = a.id + INNER JOIN settings AS s ON v.article_id = v.article_id + INNER JOIN unit AS u ON v.unit_id = u.id + INNER JOIN label AS l ON v.label_id = l.id + INNER JOIN nutrition AS n ON n.id = a.nutrition_id +WHERE v.label_id = 3 +ORDER BY a.name, v.weight ASC +``` + +### HTML settings for label + +#### Product title +```html +
+
- HANDGEMACHT -
+``` + +#### MHD +```html +
Ungeöffnet bei 4°C - 7°C mindestens haltbar bis: +
+``` + +#### Impressum +```html +
+
+``` + +