Fix planche generation issues
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
const params = {
|
||||
'dluo': 'DLUO',
|
||||
'lot': 'Nº de lot',
|
||||
'qty': 'Poids net (g)',
|
||||
'vol': 'Volume net (cL)',
|
||||
'q': 'Poids net (g)',
|
||||
'teneur': 'Teneur en fruits (%)',
|
||||
'fruit': 'Quantité de fruits pour 100g (g)',
|
||||
'f': 'Quantité de fruits pour 100g (g)',
|
||||
}
|
||||
|
||||
var tikats;
|
||||
@@ -26,7 +25,12 @@ function addProduct(tikette) {
|
||||
.toArray()
|
||||
.reduce((obj, el) => ({...obj, [el.name]: el.value}), {});
|
||||
const req = {
|
||||
sticker: zett.sticker,
|
||||
template: zett.prototempalte,
|
||||
designation: zett.designation,
|
||||
description: zett.description,
|
||||
ingredients: zett.ingredients,
|
||||
color: zett.color,
|
||||
AB: zett.ab, // mind the capitalization here
|
||||
subs,
|
||||
landscape: zett.landscape,
|
||||
};
|
||||
|
Reference in New Issue
Block a user