Removed footer and updated bartender sql for lodner 3er.
This commit is contained in:
+20
-9
@@ -5,11 +5,16 @@
|
|||||||
## SQL
|
## SQL
|
||||||
Query to get all articles with their variants and corresponding setting values.
|
Query to get all articles with their variants and corresponding setting values.
|
||||||
|
|
||||||
COALESCE to select between two values where one is not null, if both are null first value is used.
|
COALESCE to select between two values where one is not null, if both are not null first value is used.
|
||||||
With this default values are overridden.
|
With this default values are overridden.
|
||||||
|
|
||||||
|
## Lodner 3er Etikett
|
||||||
|
|
||||||
|
### SQL Abfrage
|
||||||
```SQL
|
```SQL
|
||||||
SELECT a.name AS product,
|
SELECT
|
||||||
|
a.name AS product,
|
||||||
|
CONCAT(a.topm_id, v.topm_row) AS aritcle_number,
|
||||||
COALESCE(v.name, a.name) AS name,
|
COALESCE(v.name, a.name) AS 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,
|
||||||
@@ -38,45 +43,51 @@ FROM article AS a
|
|||||||
INNER JOIN settings AS s ON v.article_id = v.article_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 unit AS u ON v.unit_id = u.id
|
||||||
INNER JOIN label AS l ON v.label_id = l.id
|
INNER JOIN label AS l ON v.label_id = l.id
|
||||||
|
WHERE v.label_id = 1
|
||||||
ORDER BY a.name, v.weight ASC
|
ORDER BY a.name, v.weight ASC
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### HTML settings for label
|
#### HTML settings for label
|
||||||
|
|
||||||
### Product title
|
##### Product title
|
||||||
```html
|
```html
|
||||||
<p style="text-align: center; font-size: 13pt; font-family: Arial;"><b>
|
<p style="text-align: center; font-size: 13pt; font-family: Arial;"><b>
|
||||||
</b></p>
|
</b></p>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Product title Siegel
|
##### Product title Siegel
|
||||||
```html
|
```html
|
||||||
<p style="text-align: center; font-size: 10pt; font-family: Arial;"><b>
|
<p style="text-align: center; font-size: 10pt; font-family: Arial;"><b>
|
||||||
</b></p>
|
</b></p>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Description
|
##### Description
|
||||||
```html
|
```html
|
||||||
<p style="text-align: center; font-size: 8px; font-family: Arial;"><b>
|
<p style="text-align: center; font-size: 8px; font-family: Arial;"><b>
|
||||||
</p></body></html>
|
</p></body></html>
|
||||||
```
|
```
|
||||||
|
|
||||||
### 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;">
|
<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>
|
</p></body></html>
|
||||||
```
|
```
|
||||||
|
|
||||||
### 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;">
|
<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>
|
</p></body></html>
|
||||||
```
|
```
|
||||||
|
|
||||||
### 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;">
|
<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>
|
</p></body></html>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Lodner kleines Etikett
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
<NotificationBaseComponent/>
|
<NotificationBaseComponent/>
|
||||||
|
|
||||||
<CustomFooter/>
|
<!-- <CustomFooter/>-->
|
||||||
|
|
||||||
</v-layout>
|
</v-layout>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user