Модуль:tableofchemicals
| Строка 52: | Строка 52: | ||
if firstProductId and p.chem[firstProductId] then | if firstProductId and p.chem[firstProductId] then | ||
templateArgs. | templateArgs.name = p.chem[firstProductId].name or firstProductId | ||
templateArgs.color = p.chem[firstProductId].color or "" | |||
templateArgs. | templateArgs.textColor = p.chem[firstProductId].textColor or "" | ||
templateArgs. | else | ||
templateArgs. | templateArgs.name = "" | ||
templateArgs. | templateArgs.color = "" | ||
templateArgs. | templateArgs.textColor = "" | ||
end | end | ||